Skip to content

@vtj


@vtj / ui / XPicker

Variable: XPicker

const XPicker: DefineComponent<ExtractPropTypes<{ append: { type: BooleanConstructor; }; beforeInit: { type: FunctionConstructor; }; columns: { type: PropType<PickerColumns>; }; data: { type: PropType<any>; }; dialogProps: { type: PropType<PickerDialogProps>; }; disabled: { type: BooleanConstructor; }; fields: { type: PropType<PickerFields>; }; formatter: { type: FunctionConstructor; }; formProps: { type: PropType<Record<string, any>>; }; gridProps: { type: PropType<PickerGridProps>; }; labelKey: { default: string; type: StringConstructor; }; loader: { type: PropType<PickerLoader>; }; model: { type: PropType<Record<string, any>>; }; modelValue: { type: (ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[]; }; multiple: { type: BooleanConstructor; }; preload: { type: BooleanConstructor; }; queryKey: { type: StringConstructor; }; raw: { type: BooleanConstructor; }; valueFormatter: { type: FunctionConstructor; }; valueKey: { default: string; type: StringConstructor; }; }>, { blur: () => void; current: Ref<any, any>; dialogRef: Ref<any, any>; disabled: ComputedRef<boolean>; focus: () => void; formModel: Ref<Record<string, any>, Record<string, any>>; options: Ref<object[], PickerOption[] | object[]>; setOptions: (rows, append?) => void; visible: Ref<boolean, boolean>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (value, data) => any; picked: (value, data) => any; update:modelValue: (value) => any; }, string, PublicProps, Readonly<ExtractPropTypes<{ append: { type: BooleanConstructor; }; beforeInit: { type: FunctionConstructor; }; columns: { type: PropType<PickerColumns>; }; data: { type: PropType<any>; }; dialogProps: { type: PropType<PickerDialogProps>; }; disabled: { type: BooleanConstructor; }; fields: { type: PropType<PickerFields>; }; formatter: { type: FunctionConstructor; }; formProps: { type: PropType<Record<string, any>>; }; gridProps: { type: PropType<PickerGridProps>; }; labelKey: { default: string; type: StringConstructor; }; loader: { type: PropType<PickerLoader>; }; model: { type: PropType<Record<string, any>>; }; modelValue: { type: (ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[]; }; multiple: { type: BooleanConstructor; }; preload: { type: BooleanConstructor; }; queryKey: { type: StringConstructor; }; raw: { type: BooleanConstructor; }; valueFormatter: { type: FunctionConstructor; }; valueKey: { default: string; type: StringConstructor; }; }>> & Readonly<{ onChange: (value, data) => any; onPicked: (value, data) => any; onUpdate:modelValue: (value) => any; }>, { append: boolean; disabled: boolean; labelKey: string; multiple: boolean; preload: boolean; raw: boolean; valueKey: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>

Defined in

packages/ui/types/components/picker/Picker.d.ts:3

Released under the MIT License.