UNPKG

tait-ui-components

Version:

Tait UI Component Library - Reusable Vue 3 components

123 lines 3.67 kB
interface MultiSelectProps<T = any> { modelValue?: Record<string, T>[]; label?: string; placeholder: string; validator?: Record<string, any>; inputClass?: string; loading?: boolean; fetchingError?: string; showLabel?: boolean; removeableChip?: boolean; optionLabel: string; chipLabel?: string; filter?: boolean; touched?: boolean; dataKey?: string; display?: 'chip' | 'comma'; displayCustom?: string; countSelected?: number; appendTo?: string; } declare function __VLS_template(): { chip?(_: any): any; dropdownicon?(_: {}): any; optiongroup?(_: { items: { option: any; index: number; }; }): any; option?(_: { option: any; index: number; }): any; header?(_: { value: any; options: any[]; }): any; }; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MultiSelectProps<any>>, { modelValue: () => never[]; label: string; validator: () => {}; inputClass: string; placeholder: string; fetchingError: string; showLabel: boolean; removeableChip: boolean; optionLabel: string; filter: boolean; dataKey: string; display: string; displayCustom: string; countSelected: number; appendTo: undefined; chipLabel: undefined; }>>, { multiSelectRef: import('vue').Ref<any, any>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: Record<string, unknown>[]) => void; refresh: () => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MultiSelectProps<any>>, { modelValue: () => never[]; label: string; validator: () => {}; inputClass: string; placeholder: string; fetchingError: string; showLabel: boolean; removeableChip: boolean; optionLabel: string; filter: boolean; dataKey: string; display: string; displayCustom: string; countSelected: number; appendTo: undefined; chipLabel: undefined; }>>> & Readonly<{ onRefresh?: (() => any) | undefined; "onUpdate:modelValue"?: ((value: Record<string, unknown>[]) => any) | undefined; }>, { label: string; filter: boolean; appendTo: string; dataKey: string; validator: Record<string, any>; inputClass: string; fetchingError: string; showLabel: boolean; placeholder: string; modelValue: Record<string, any>[]; optionLabel: string; removeableChip: boolean; chipLabel: string; display: "chip" | "comma"; displayCustom: string; countSelected: number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; 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]; } & {}; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=DaMultiSelect.vue.d.ts.map