asp-smart-ui-plus-test
Version:
A Component Library for Vue 3
85 lines (84 loc) • 2.79 kB
TypeScript
export interface Item {
[x: string]: any;
defaultCheckedKeys: any;
attributes: any;
type?: string;
label: string;
columnName: string;
formAttributes: Record<string, any>;
rules: Array<any>;
width?: string;
icon?: any;
complex?: any;
shortcuts?: any[];
cellClassName?: string;
firstDayOfWeek?: number;
disabledDate?: any;
onPick?: (dates: [Date, Date]) => void;
options?: any[];
optionsLabel?: string;
optionsValue?: string;
disabledFunc?: (obj: any) => boolean;
func?: (e: any) => void;
clearableFunc?: () => void;
visibleFun?: (item: Item, e: any) => void;
}
declare const _default: import("vue").DefineComponent<{
modelValue: {
type: (StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
required: true;
};
item: {
type: ObjectConstructor;
required: true;
};
model: {
type: ObjectConstructor;
required: false;
};
}, {
props: {
modelValue: string | number | Array<any> | object;
item: Item;
model?: object | undefined;
};
inputRef: import("vue").Ref<null>;
selectRef: import("vue").Ref<null>;
selectTreeRef: import("vue").Ref<null>;
radioGroupSelectRef: import("vue").Ref<null>;
datePickerRef: import("vue").Ref<null>;
radioGroupRef: import("vue").Ref<null>;
isInputType: (item: Item) => boolean;
emit: (event: "update:modelValue", ...args: any[]) => void;
iconClass: (item: Item) => any;
complexValue: (item: Item) => any;
selectDate: import("vue").Ref<string>;
disabledDate: (time: Date) => any;
onPick: (dates: [Date, Date]) => void;
handleSingleTreeSelectChange: (data: any) => void;
bindChange: (e: any) => void;
cusclearable: () => void;
datePickerChange: (val: any) => void;
isDisabled: (item: Item) => any;
doIcon: (item: Item) => any;
doComplex: (item: Item) => any;
doSelectOptions: () => any[] | undefined;
radioChange: (value: any) => void;
changeVisible: (e: any) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: (StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
required: true;
};
item: {
type: ObjectConstructor;
required: true;
};
model: {
type: ObjectConstructor;
required: false;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {}>;
export default _default;