UNPKG

lwx-test-ui

Version:

lwx-test-ui

405 lines (404 loc) 15.3 kB
declare function editRow(rowKey: string | number): void; declare function infoRow(rowKey: string | number): void; declare function deleteRow(rowKey: string | number): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: { search?(_: { formInline: Record<string, any>; }): any; add?(_: { addForm: any; }): any; add?(_: { addForm: any; }): any; }; refs: { searchFormRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: Partial<{ formInline: Record<string, any>; }> & Omit<{ readonly formInline: Record<string, any>; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{ formInline: { type: ObjectConstructor; default: () => {}; }; }>>, "formInline">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot<any> | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{ formInline: { type: ObjectConstructor; default: () => {}; }; }>>, { resetFields: () => void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { formInline: Record<string, any>; }, {}, string, {}> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Omit<Readonly<import('vue').ExtractPropTypes<{ formInline: { type: ObjectConstructor; default: () => {}; }; }>>, "resetFields"> & import('vue').ShallowUnwrapRef<{ resetFields: () => void; }> & {} & import('vue').ComponentCustomProperties & {} & { $slots: { search?(_: { formInline: Record<string, any>; }): any; default?(_: {}): any; }; }) | null; tableRef: unknown; addFormRef: unknown; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<{ readonly rowKey: { readonly type: StringConstructor; readonly default: "id"; }; readonly queryInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly queryInfoInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly saveInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly updateInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly deleteInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly columns: { readonly type: { (arrayLength: number): any[]; (...items: any[]): any[]; new (arrayLength: number): any[]; new (...items: any[]): any[]; isArray(arg: any): arg is any[]; readonly prototype: any[]; from<T>(arrayLike: ArrayLike<T>): T[]; from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]; from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; of<T>(...items: T[]): T[]; fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>; fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>; readonly [Symbol.species]: ArrayConstructor; }; readonly default: () => never[]; }; readonly formInline: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly addForm: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly operateType: { readonly type: StringConstructor; readonly default: "add"; }; readonly rules: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly labelWidth: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "90px"; }; readonly dialogWidth: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "35%"; }; readonly dialogTop: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "15vh"; }; readonly dialogTitle: { readonly type: ObjectConstructor; readonly default: () => { addTitle: string; editTitle: string; infoTitle: string; }; }; readonly showIndex: { readonly type: BooleanConstructor; readonly default: true; }; readonly showSelection: { readonly type: BooleanConstructor; readonly default: true; }; readonly isDefaultQuery: { readonly type: BooleanConstructor; readonly default: true; }; readonly showBatchDelBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly showPagination: { readonly type: BooleanConstructor; readonly default: true; }; readonly showAddBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly showFoldBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly dialogType: { readonly type: import('vue').PropType<"dialog" | "big-dialog">; readonly default: "dialog"; }; readonly treeProps: { readonly type: ObjectConstructor; readonly default: () => { children: string; hasChildren: string; }; }; readonly defaultExpandAll: { readonly type: BooleanConstructor; readonly default: true; }; readonly dialogVisible: { readonly type: BooleanConstructor; readonly default: false; }; }, { addFormRef: import('vue').Ref<any>; add: () => void; editRow: typeof editRow; infoRow: typeof infoRow; deleteRow: typeof deleteRow; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string | number | null | undefined) => void; "update:operateType": (value: string) => void; "update:dialogVisible": (value: any) => void; currentChange: (value: any, _oldValue: any) => void; rowDblclick: (_row: any, _column: any, _event: Event) => void; selectionChange: (_newSelection: any[]) => void; rowClick: (_row: any, _column: any, _event: Event) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly rowKey: { readonly type: StringConstructor; readonly default: "id"; }; readonly queryInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly queryInfoInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly saveInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly updateInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly deleteInterface: { readonly type: StringConstructor; readonly default: ""; }; readonly columns: { readonly type: { (arrayLength: number): any[]; (...items: any[]): any[]; new (arrayLength: number): any[]; new (...items: any[]): any[]; isArray(arg: any): arg is any[]; readonly prototype: any[]; from<T>(arrayLike: ArrayLike<T>): T[]; from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]; from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; of<T>(...items: T[]): T[]; fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>; fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>; readonly [Symbol.species]: ArrayConstructor; }; readonly default: () => never[]; }; readonly formInline: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly addForm: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly operateType: { readonly type: StringConstructor; readonly default: "add"; }; readonly rules: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly labelWidth: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "90px"; }; readonly dialogWidth: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "35%"; }; readonly dialogTop: { readonly type: [StringConstructor, NumberConstructor]; readonly default: "15vh"; }; readonly dialogTitle: { readonly type: ObjectConstructor; readonly default: () => { addTitle: string; editTitle: string; infoTitle: string; }; }; readonly showIndex: { readonly type: BooleanConstructor; readonly default: true; }; readonly showSelection: { readonly type: BooleanConstructor; readonly default: true; }; readonly isDefaultQuery: { readonly type: BooleanConstructor; readonly default: true; }; readonly showBatchDelBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly showPagination: { readonly type: BooleanConstructor; readonly default: true; }; readonly showAddBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly showFoldBtn: { readonly type: BooleanConstructor; readonly default: true; }; readonly dialogType: { readonly type: import('vue').PropType<"dialog" | "big-dialog">; readonly default: "dialog"; }; readonly treeProps: { readonly type: ObjectConstructor; readonly default: () => { children: string; hasChildren: string; }; }; readonly defaultExpandAll: { readonly type: BooleanConstructor; readonly default: true; }; readonly dialogVisible: { readonly type: BooleanConstructor; readonly default: false; }; }>> & { "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined; "onUpdate:operateType"?: ((value: string) => any) | undefined; "onUpdate:dialogVisible"?: ((value: any) => any) | undefined; onCurrentChange?: ((value: any, _oldValue: any) => any) | undefined; onRowDblclick?: ((_row: any, _column: any, _event: Event) => any) | undefined; onSelectionChange?: ((_newSelection: any[]) => any) | undefined; onRowClick?: ((_row: any, _column: any, _event: Event) => any) | undefined; }, { readonly labelWidth: string | number; readonly rules: Record<string, any>; readonly queryInterface: string; readonly dialogVisible: boolean; readonly treeProps: Record<string, any>; readonly formInline: Record<string, any>; readonly rowKey: string; readonly queryInfoInterface: string; readonly saveInterface: string; readonly updateInterface: string; readonly deleteInterface: string; readonly columns: any[]; readonly addForm: Record<string, any>; readonly operateType: string; readonly dialogWidth: string | number; readonly dialogTop: string | number; readonly dialogTitle: Record<string, any>; readonly showIndex: boolean; readonly showSelection: boolean; readonly isDefaultQuery: boolean; readonly showBatchDelBtn: boolean; readonly showPagination: boolean; readonly showAddBtn: boolean; readonly showFoldBtn: boolean; readonly dialogType: "big-dialog" | "dialog"; readonly defaultExpandAll: boolean; }, {}>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };