UNPKG

asp-smart-ui-plus-test

Version:

A Component Library for Vue 3

105 lines (104 loc) 4.05 kB
export interface ColType { width?: string; show?: boolean | ((column: ColType) => boolean); isParent?: boolean; color?: string | ((arg: any) => string); tooltip?: string | ((arg: any) => string); filterList?: any[]; filtered?: any[]; checkAll?: boolean; filterAllChange?: (arg: any) => void; filterChange?: (arg: any) => void; filterKey?: string; label?: string; inputFunc?: (arg: any) => void; changeFunc?: (arg: any) => void; sort?: boolean | string; key: string; fixed?: string; resizable?: boolean; showTooltip?: boolean; renderHeader?: (arg: any) => void; editType?: string; rules?: any[]; maxlength?: number; placeholder?: string; func?: (arg: any) => void; [x: string]: any; } export interface TagType { tag?: string | ((arg: any) => string); } declare const _default: import("vue").DefineComponent<{ col: { type: () => ColType; default: () => {}; }; }, { props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ col: { type: () => ColType; default: () => {}; }; }>> & { onFilterChange?: ((...args: any[]) => any) | undefined; onFilterConfirm?: ((...args: any[]) => any) | undefined; onFilterReset?: ((...args: any[]) => any) | undefined; }>>; col: import("vue").Ref<{ [x: string]: any; width?: string | undefined; show?: boolean | ((column: ColType) => boolean) | undefined; isParent?: boolean | undefined; color?: string | ((arg: any) => string) | undefined; tooltip?: string | ((arg: any) => string) | undefined; filterList?: any[] | undefined; filtered?: any[] | undefined; checkAll?: boolean | undefined; filterAllChange?: ((arg: any) => void) | undefined; filterChange?: ((arg: any) => void) | undefined; filterKey?: string | undefined; label?: string | undefined; inputFunc?: ((arg: any) => void) | undefined; changeFunc?: ((arg: any) => void) | undefined; sort?: string | boolean | undefined; key: string; fixed?: string | undefined; resizable?: boolean | undefined; showTooltip?: boolean | undefined; renderHeader?: ((arg: any) => void) | undefined; editType?: string | undefined; rules?: any[] | undefined; maxlength?: number | undefined; placeholder?: string | undefined; func?: ((arg: any) => void) | undefined; }>; emit: (event: "filterChange" | "filterConfirm" | "filterReset", ...args: any[]) => void; setColor: (col: ColType, row: any) => string | undefined; setToolTip: (col: ColType, row: any) => string | undefined; handleCommand: (btn: ColType, row: any) => void; handleIconCommand: (btn: ColType, row: any) => void; handleTag: (tag: TagType, row: any) => string | undefined; handleFormInput: (col: ColType, index: number, row: any) => void; handleFormChange: (col: ColType, index: number, row: any) => void; handleFilterRenderHeader: ({ column, $index, }: { column: any; $index: number; }) => void; filterChange: (val: any[]) => void; handleFilterAllChange: (val: any[]) => void; filterConfirm: () => void; filterReset: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("filterChange" | "filterConfirm" | "filterReset")[], "filterChange" | "filterConfirm" | "filterReset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ col: { type: () => ColType; default: () => {}; }; }>> & { onFilterChange?: ((...args: any[]) => any) | undefined; onFilterConfirm?: ((...args: any[]) => any) | undefined; onFilterReset?: ((...args: any[]) => any) | undefined; }, { col: ColType; }>; export default _default;