UNPKG

hongluan-business-ui

Version:
117 lines (116 loc) 3.15 kB
import type { PropType } from 'vue'; import type { SearchbarSelectors, SelectorItem, SelectorItemOption } from './searchbar'; declare const _default: import("vue").DefineComponent<{ fill: { type: BooleanConstructor; default: boolean; }; searcher: { type: ObjectConstructor; default: () => {}; }; selector: { type: PropType<SearchbarSelectors>; default: () => { items: any[]; }; }; padding: { type: StringConstructor; default: string; }; gap: { type: StringConstructor; default: string; }; }, { colCount: import("vue").ComputedRef<string>; hasMoreButton: import("vue").Ref<boolean>; hlRow: import("vue").Ref<{ $el: HTMLElement; }>; showMore: import("vue").Ref<boolean>; toggle: () => void; searchValue: import("vue").Ref<string>; searchItems: import("vue").Ref<{ label?: string; span?: string; type: string; value: unknown; name: string; display?: () => string; prop?: { label: string; value: string; }; options: { [x: string]: unknown; }[]; }[]>; getKey: (item: SelectorItem, opt: SelectorItemOption) => unknown; getLabel: (item: SelectorItem, opt: SelectorItemOption) => unknown; isDatePicker: (type: string) => boolean; changeValue: () => void; getDateTimeProps: (item: SelectorItem) => { label?: string; type: string; name: string; display?: () => string; prop?: { label: string; value: string; }; options: SelectorItemOption[]; }; getInputProps: (item: SelectorItem) => { label?: string; type: string; name: string; display?: () => string; prop?: { label: string; value: string; }; options: SelectorItemOption[]; }; getSelectProps: (item: SelectorItem) => { label?: string; span?: string; type: string; name: string; display?: () => string; }; resetFields: (names?: string[]) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ fill: { type: BooleanConstructor; default: boolean; }; searcher: { type: ObjectConstructor; default: () => {}; }; selector: { type: PropType<SearchbarSelectors>; default: () => { items: any[]; }; }; padding: { type: StringConstructor; default: string; }; gap: { type: StringConstructor; default: string; }; }>> & { onChange?: (...args: any[]) => any; }, { fill: boolean; gap: string; padding: string; searcher: Record<string, any>; selector: SearchbarSelectors; }>; export default _default;