UNPKG

tait-ui-components

Version:

Tait UI Component Library - Reusable Vue 3 components

79 lines (78 loc) 2.69 kB
import { TextTransformTypes } from '../../types/common'; interface Props { modelValue: Array<string>; label?: string; validator?: Record<string, any>; inputClass?: string; textTransform?: TextTransformTypes; showLabel?: boolean; containerClass?: string | string[]; disabled?: boolean; firstValidate?: boolean; disableListener?: boolean; validateFunction?: (text: string) => boolean; onSaveButtonClick?: () => void; } declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: () => never[]; label: string; validator: () => {}; inputClass: string; textTransform: string; showLabel: boolean; containerClass: string; disabled: boolean; firstValidate: boolean; disableListener: boolean; validateFunction: () => false; onSaveButtonClick: () => void; }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string[]) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: () => never[]; label: string; validator: () => {}; inputClass: string; textTransform: string; showLabel: boolean; containerClass: string; disabled: boolean; firstValidate: boolean; disableListener: boolean; validateFunction: () => false; onSaveButtonClick: () => void; }>>> & Readonly<{ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; }>, { label: string; containerClass: string | string[]; disabled: boolean; validator: Record<string, any>; inputClass: string; showLabel: boolean; firstValidate: boolean; onSaveButtonClick: () => void; disableListener: boolean; modelValue: Array<string>; textTransform: TextTransformTypes; validateFunction: (text: string) => boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {}; //# sourceMappingURL=DaChips.vue.d.ts.map