UNPKG

eslink-ui-plus

Version:

vue3 component library, css framework

111 lines (110 loc) 3.51 kB
import { PropType } from "vue"; interface Styles { height?: string; maxHeight?: string; } declare const _default: import("vue").DefineComponent<{ modelValue: { type: PropType<import("../utils").sourceItemType[]>; default: () => never[]; }; keyConfig: { type: PropType<import("../utils").keyConfigType>; default: () => { labelKey: string; valueKey: string; disabledKey: string; childrenKey: string; }; }; height: (StringConstructor | NumberConstructor)[]; maxHeight: (StringConstructor | NumberConstructor)[]; styles: ObjectConstructor; type: { type: PropType<"align" | "vertical">; default: string; }; placeholder: { type: StringConstructor; default: string; }; iconStyle: { type: ObjectConstructor; default: () => {}; }; size: { type: PropType<"mini" | "common">; default: string; }; withDelete: { type: BooleanConstructor; default: boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; }, { noSource: import("vue").ComputedRef<boolean>; hasCustomItemRender: import("vue").ComputedRef<boolean>; alignType: import("vue").ComputedRef<string>; paddingValue: import("vue").ComputedRef<string>; fontSizeValue: import("vue").ComputedRef<string>; itemHeightValue: import("vue").ComputedRef<string>; list: import("vue").Ref<any[]>; clearIconDisplay: import("vue").ComputedRef<"none" | "block">; toggleIconDisplay: import("vue").ComputedRef<"none" | "block">; clearModelValue: () => void; iconClassName: import("vue").ComputedRef<any>; deleteItem: (index: number) => void; labelKey: string; valueKey: string; disabledKey?: string | undefined; childrenKey?: string | undefined; customStyle: import("vue").ComputedRef<Styles>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ modelValue?: unknown; keyConfig?: unknown; height?: unknown; maxHeight?: unknown; styles?: unknown; type?: unknown; placeholder?: unknown; iconStyle?: unknown; size?: unknown; withDelete?: unknown; clearable?: unknown; readonly?: unknown; } & { type: "align" | "vertical"; modelValue: import("../utils").sourceItemType[]; keyConfig: import("../utils").keyConfigType; clearable: boolean; size: "mini" | "common"; placeholder: string; readonly: boolean; iconStyle: Record<string, any>; withDelete: boolean; } & { styles?: Record<string, any> | undefined; height?: string | number | undefined; maxHeight?: string | number | undefined; }> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }, { type: "align" | "vertical"; modelValue: import("../utils").sourceItemType[]; keyConfig: import("../utils").keyConfigType; clearable: boolean; size: "mini" | "common"; placeholder: string; readonly: boolean; iconStyle: Record<string, any>; withDelete: boolean; }>; export default _default;