UNPKG

bootstrap-vue-wrapper

Version:

Bootstrap 5 components in Vue3 wrapper.

156 lines (155 loc) 3.6 kB
import { CustomValidatorMessages } from '@zemkogabor/vue-form-validator'; import { Ref, PropType } from 'vue'; declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ /** * Radio value */ value: { type: (StringConstructor | NumberConstructor)[]; default: null; }; /** * Value for v-model */ modelValue: { type: (StringConstructor | NumberConstructor | null)[]; default: null; }; /** * Html id */ id: { type: StringConstructor; required: true; }; /** * Label for input */ label: { type: StringConstructor; default: undefined; }; /** * Attribute hint */ hint: { type: StringConstructor; default: undefined; }; /** * Input container div class. */ classContainer: { type: StringConstructor; default: undefined; }; /** * Enable or disable validator */ validatorEnabled: { type: BooleanConstructor; default: boolean; }; /** * Custom validator messages, e.g. minlength validation with custom message */ customValidatorMessages: { type: PropType<CustomValidatorMessages>; default: undefined; }; }>, { inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>; validator: { onInvalid: (event: Event) => void; getInvalidMessage: () => string | null; setCustomError: (data: string) => void; }; }, {}, { /** * Radio is checked or not. */ isChecked(): boolean; }, { /** * Hint id is generated */ getHintId(): string; /** * On input event */ onInput(): void; /** * On invalid event * * @param event */ onInvalid(event: Event): void; }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ /** * Radio value */ value: { type: (StringConstructor | NumberConstructor)[]; default: null; }; /** * Value for v-model */ modelValue: { type: (StringConstructor | NumberConstructor | null)[]; default: null; }; /** * Html id */ id: { type: StringConstructor; required: true; }; /** * Label for input */ label: { type: StringConstructor; default: undefined; }; /** * Attribute hint */ hint: { type: StringConstructor; default: undefined; }; /** * Input container div class. */ classContainer: { type: StringConstructor; default: undefined; }; /** * Enable or disable validator */ validatorEnabled: { type: BooleanConstructor; default: boolean; }; /** * Custom validator messages, e.g. minlength validation with custom message */ customValidatorMessages: { type: PropType<CustomValidatorMessages>; default: undefined; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { label: string; value: string | number; modelValue: string | number | null; hint: string; validatorEnabled: boolean; customValidatorMessages: CustomValidatorMessages; classContainer: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;