@dazhicheng/ui 1.6.24 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { Slot, nextTick } from 'vue';
|
|
1
|
+
import { Slot, nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, ExtractPropTypes, PropType, CSSProperties, MaybeRef, PublicProps } from 'vue';
|
|
2
2
|
import { TtModalExtendedModalApi } from '../../tt-modal';
|
|
3
3
|
import { Recordable } from '../../../../../utils/src';
|
|
4
4
|
import { TtTableProps } from './types/table';
|
|
5
5
|
import { TtTableExtendedTableFormApi, TtTableFormProps, TtTableSearchBeforeResult, TtTableSearchTrigger } from './types/tableForm';
|
|
6
|
+
import { OpenModalParams } from './components/TableColumnModal';
|
|
7
|
+
import { ModalRenderState, TtExtendedFormApi, TtColumnOptions, TtFormProps, TtTableToolsProps, TtTableMethods, TtTableRenderFormInstance, TtSelectRowKeysType } from '../../../index';
|
|
8
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
6
9
|
declare function __VLS_template(): {
|
|
7
10
|
attrs: Partial<{}>;
|
|
8
11
|
slots: Readonly<{
|
|
@@ -58,7 +61,7 @@ declare function __VLS_template(): {
|
|
|
58
61
|
};
|
|
59
62
|
refs: {
|
|
60
63
|
columnModalRef: ({
|
|
61
|
-
$:
|
|
64
|
+
$: ComponentInternalInstance;
|
|
62
65
|
$data: {};
|
|
63
66
|
$props: {
|
|
64
67
|
readonly openColumn?: ((boolean: boolean) => void) | undefined;
|
|
@@ -68,7 +71,7 @@ declare function __VLS_template(): {
|
|
|
68
71
|
modalApi: TtModalExtendedModalApi;
|
|
69
72
|
isExport: boolean;
|
|
70
73
|
}) => any) | undefined;
|
|
71
|
-
} &
|
|
74
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
72
75
|
$attrs: {
|
|
73
76
|
[x: string]: unknown;
|
|
74
77
|
};
|
|
@@ -78,8 +81,8 @@ declare function __VLS_template(): {
|
|
|
78
81
|
$slots: Readonly<{
|
|
79
82
|
[name: string]: Slot<any> | undefined;
|
|
80
83
|
}>;
|
|
81
|
-
$root:
|
|
82
|
-
$parent:
|
|
84
|
+
$root: ComponentPublicInstance | null;
|
|
85
|
+
$parent: ComponentPublicInstance | null;
|
|
83
86
|
$host: Element | null;
|
|
84
87
|
$emit: (event: "on-submit", val: {
|
|
85
88
|
checkedModel: string[];
|
|
@@ -87,7 +90,7 @@ declare function __VLS_template(): {
|
|
|
87
90
|
isExport: boolean;
|
|
88
91
|
}) => void;
|
|
89
92
|
$el: any;
|
|
90
|
-
$options:
|
|
93
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
91
94
|
openColumn?: (boolean: boolean) => void;
|
|
92
95
|
openExport?: (boolean: boolean) => void;
|
|
93
96
|
}> & Readonly<{
|
|
@@ -98,15 +101,15 @@ declare function __VLS_template(): {
|
|
|
98
101
|
}) => any) | undefined;
|
|
99
102
|
}>, {
|
|
100
103
|
handleSubmit: () => void;
|
|
101
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }:
|
|
102
|
-
setModalProps(modalProps:
|
|
103
|
-
}, {}, {}, {},
|
|
104
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
105
|
+
setModalProps(modalProps: ModalRenderState): void;
|
|
106
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
104
107
|
"on-submit": (val: {
|
|
105
108
|
checkedModel: string[];
|
|
106
109
|
modalApi: TtModalExtendedModalApi;
|
|
107
110
|
isExport: boolean;
|
|
108
111
|
}) => any;
|
|
109
|
-
}, string, {}, {}, string, {},
|
|
112
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
110
113
|
beforeCreate?: (() => void) | (() => void)[];
|
|
111
114
|
created?: (() => void) | (() => void)[];
|
|
112
115
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -119,13 +122,13 @@ declare function __VLS_template(): {
|
|
|
119
122
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
120
123
|
destroyed?: (() => void) | (() => void)[];
|
|
121
124
|
unmounted?: (() => void) | (() => void)[];
|
|
122
|
-
renderTracked?: ((e:
|
|
123
|
-
renderTriggered?: ((e:
|
|
124
|
-
errorCaptured?: ((err: unknown, instance:
|
|
125
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
126
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
127
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
125
128
|
};
|
|
126
129
|
$forceUpdate: () => void;
|
|
127
130
|
$nextTick: typeof nextTick;
|
|
128
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
131
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
129
132
|
} & Readonly<{}> & Omit<Readonly<{
|
|
130
133
|
openColumn?: (boolean: boolean) => void;
|
|
131
134
|
openExport?: (boolean: boolean) => void;
|
|
@@ -135,11 +138,11 @@ declare function __VLS_template(): {
|
|
|
135
138
|
modalApi: TtModalExtendedModalApi;
|
|
136
139
|
isExport: boolean;
|
|
137
140
|
}) => any) | undefined;
|
|
138
|
-
}>, "setModalProps" | "openModal" | "handleSubmit"> &
|
|
141
|
+
}>, "setModalProps" | "openModal" | "handleSubmit"> & ShallowUnwrapRef<{
|
|
139
142
|
handleSubmit: () => void;
|
|
140
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }:
|
|
141
|
-
setModalProps(modalProps:
|
|
142
|
-
}> & {} &
|
|
143
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
144
|
+
setModalProps(modalProps: ModalRenderState): void;
|
|
145
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
143
146
|
$slots: {
|
|
144
147
|
title?(_: {}): any;
|
|
145
148
|
beforeFooter?(_: {}): any;
|
|
@@ -149,9 +152,9 @@ declare function __VLS_template(): {
|
|
|
149
152
|
rootEl: HTMLDivElement;
|
|
150
153
|
};
|
|
151
154
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
152
|
-
declare const __VLS_component:
|
|
155
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
153
156
|
table: {
|
|
154
|
-
type:
|
|
157
|
+
type: PropType<Partial<TtTableProps>>;
|
|
155
158
|
default: () => {
|
|
156
159
|
autoHeight: boolean;
|
|
157
160
|
columnsKey: string;
|
|
@@ -159,11 +162,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
159
162
|
loading?: boolean;
|
|
160
163
|
emptyText?: string;
|
|
161
164
|
noSearchText?: string;
|
|
162
|
-
emptyImageStyle?:
|
|
165
|
+
emptyImageStyle?: CSSProperties;
|
|
163
166
|
emptyImageStatus?: "no-data" | "no-search";
|
|
164
167
|
showHeaderTooltip?: boolean;
|
|
165
168
|
showCellTooltip?: boolean;
|
|
166
|
-
formApi?: Partial<
|
|
169
|
+
formApi?: Partial< TtExtendedFormApi>;
|
|
167
170
|
showSetting?: boolean;
|
|
168
171
|
showSetColumn?: boolean;
|
|
169
172
|
leftSlotWidth?: number;
|
|
@@ -188,10 +191,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
188
191
|
userId: string | number;
|
|
189
192
|
id: string | number;
|
|
190
193
|
}) => Promise<any>;
|
|
191
|
-
customizeColumn?: ((column:
|
|
194
|
+
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
192
195
|
clearTreeExpand?: boolean;
|
|
193
|
-
data?:
|
|
194
|
-
columns?:
|
|
196
|
+
data?: MaybeRef<any[]> | undefined;
|
|
197
|
+
columns?: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
195
198
|
testId?: string;
|
|
196
199
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
197
200
|
id?: import("vxe-table").VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -319,11 +322,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
319
322
|
actionTitle?: string;
|
|
320
323
|
isCellResize?: boolean;
|
|
321
324
|
isCellSort?: boolean;
|
|
322
|
-
actionProps?:
|
|
323
|
-
indexColumnProps?:
|
|
324
|
-
checkboxColumnProps?:
|
|
325
|
-
expandColumnProps?:
|
|
326
|
-
radioColumnProps?:
|
|
325
|
+
actionProps?: TtColumnOptions<any> | undefined;
|
|
326
|
+
indexColumnProps?: TtColumnOptions<any> | undefined;
|
|
327
|
+
checkboxColumnProps?: TtColumnOptions<any> | undefined;
|
|
328
|
+
expandColumnProps?: TtColumnOptions<any> | undefined;
|
|
329
|
+
radioColumnProps?: TtColumnOptions<any> | undefined;
|
|
327
330
|
tableRowId?: string;
|
|
328
331
|
api?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
329
332
|
filterApi?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
@@ -342,23 +345,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
342
345
|
};
|
|
343
346
|
useSearchForm: any;
|
|
344
347
|
form: {
|
|
345
|
-
type:
|
|
348
|
+
type: PropType<Partial< TtFormProps>>;
|
|
346
349
|
default: () => {};
|
|
347
350
|
};
|
|
348
351
|
handleSearchInfoFn: {
|
|
349
|
-
type:
|
|
352
|
+
type: PropType<Fn>;
|
|
350
353
|
default: null;
|
|
351
354
|
};
|
|
352
355
|
tableRefreshBefore: {
|
|
353
|
-
type:
|
|
356
|
+
type: PropType<Fn>;
|
|
354
357
|
default: null;
|
|
355
358
|
};
|
|
356
359
|
tableSearchBefore: {
|
|
357
|
-
type:
|
|
360
|
+
type: PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
358
361
|
default: null;
|
|
359
362
|
};
|
|
360
363
|
toolConfig: {
|
|
361
|
-
type:
|
|
364
|
+
type: PropType<TtTableToolsProps>;
|
|
362
365
|
default: null;
|
|
363
366
|
};
|
|
364
367
|
testId: {
|
|
@@ -366,20 +369,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
366
369
|
default: undefined;
|
|
367
370
|
};
|
|
368
371
|
tableFormApi: {
|
|
369
|
-
type:
|
|
372
|
+
type: PropType<TtTableExtendedTableFormApi>;
|
|
370
373
|
};
|
|
371
374
|
}>, {
|
|
372
|
-
instance:
|
|
375
|
+
instance: ComponentInternalInstance | null;
|
|
373
376
|
setTableProps: (props: Partial<TtTableProps<any>>) => void;
|
|
374
|
-
setFormProps: (props: Partial<
|
|
375
|
-
tableMethods:
|
|
376
|
-
formMethods:
|
|
377
|
+
setFormProps: (props: Partial< TtFormProps<Record<string, any>>>) => void;
|
|
378
|
+
tableMethods: TtTableMethods<any>;
|
|
379
|
+
formMethods: TtTableRenderFormInstance<Record<string, any>>;
|
|
377
380
|
setProps: (props: Partial<TtTableFormProps<any, Record<string, any>>>) => void;
|
|
378
|
-
reload:
|
|
379
|
-
selectedKeys:
|
|
380
|
-
}, {}, {}, {},
|
|
381
|
+
reload: TtTableMethods<Row>["reload"];
|
|
382
|
+
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
383
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
381
384
|
table: {
|
|
382
|
-
type:
|
|
385
|
+
type: PropType<Partial<TtTableProps>>;
|
|
383
386
|
default: () => {
|
|
384
387
|
autoHeight: boolean;
|
|
385
388
|
columnsKey: string;
|
|
@@ -387,11 +390,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
387
390
|
loading?: boolean;
|
|
388
391
|
emptyText?: string;
|
|
389
392
|
noSearchText?: string;
|
|
390
|
-
emptyImageStyle?:
|
|
393
|
+
emptyImageStyle?: CSSProperties;
|
|
391
394
|
emptyImageStatus?: "no-data" | "no-search";
|
|
392
395
|
showHeaderTooltip?: boolean;
|
|
393
396
|
showCellTooltip?: boolean;
|
|
394
|
-
formApi?: Partial<
|
|
397
|
+
formApi?: Partial< TtExtendedFormApi>;
|
|
395
398
|
showSetting?: boolean;
|
|
396
399
|
showSetColumn?: boolean;
|
|
397
400
|
leftSlotWidth?: number;
|
|
@@ -416,10 +419,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
416
419
|
userId: string | number;
|
|
417
420
|
id: string | number;
|
|
418
421
|
}) => Promise<any>;
|
|
419
|
-
customizeColumn?: ((column:
|
|
422
|
+
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
420
423
|
clearTreeExpand?: boolean;
|
|
421
|
-
data?:
|
|
422
|
-
columns?:
|
|
424
|
+
data?: MaybeRef<any[]> | undefined;
|
|
425
|
+
columns?: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
423
426
|
testId?: string;
|
|
424
427
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
425
428
|
id?: import("vxe-table").VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -547,11 +550,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
547
550
|
actionTitle?: string;
|
|
548
551
|
isCellResize?: boolean;
|
|
549
552
|
isCellSort?: boolean;
|
|
550
|
-
actionProps?:
|
|
551
|
-
indexColumnProps?:
|
|
552
|
-
checkboxColumnProps?:
|
|
553
|
-
expandColumnProps?:
|
|
554
|
-
radioColumnProps?:
|
|
553
|
+
actionProps?: TtColumnOptions<any> | undefined;
|
|
554
|
+
indexColumnProps?: TtColumnOptions<any> | undefined;
|
|
555
|
+
checkboxColumnProps?: TtColumnOptions<any> | undefined;
|
|
556
|
+
expandColumnProps?: TtColumnOptions<any> | undefined;
|
|
557
|
+
radioColumnProps?: TtColumnOptions<any> | undefined;
|
|
555
558
|
tableRowId?: string;
|
|
556
559
|
api?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
557
560
|
filterApi?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
@@ -570,23 +573,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
570
573
|
};
|
|
571
574
|
useSearchForm: any;
|
|
572
575
|
form: {
|
|
573
|
-
type:
|
|
576
|
+
type: PropType<Partial< TtFormProps>>;
|
|
574
577
|
default: () => {};
|
|
575
578
|
};
|
|
576
579
|
handleSearchInfoFn: {
|
|
577
|
-
type:
|
|
580
|
+
type: PropType<Fn>;
|
|
578
581
|
default: null;
|
|
579
582
|
};
|
|
580
583
|
tableRefreshBefore: {
|
|
581
|
-
type:
|
|
584
|
+
type: PropType<Fn>;
|
|
582
585
|
default: null;
|
|
583
586
|
};
|
|
584
587
|
tableSearchBefore: {
|
|
585
|
-
type:
|
|
588
|
+
type: PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
586
589
|
default: null;
|
|
587
590
|
};
|
|
588
591
|
toolConfig: {
|
|
589
|
-
type:
|
|
592
|
+
type: PropType<TtTableToolsProps>;
|
|
590
593
|
default: null;
|
|
591
594
|
};
|
|
592
595
|
testId: {
|
|
@@ -594,20 +597,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
594
597
|
default: undefined;
|
|
595
598
|
};
|
|
596
599
|
tableFormApi: {
|
|
597
|
-
type:
|
|
600
|
+
type: PropType<TtTableExtendedTableFormApi>;
|
|
598
601
|
};
|
|
599
602
|
}>> & Readonly<{}>, {
|
|
600
|
-
form: Partial<
|
|
603
|
+
form: Partial< TtFormProps<Record<string, any>>>;
|
|
601
604
|
table: Partial<TtTableProps>;
|
|
602
605
|
useSearchForm: any;
|
|
603
606
|
testId: string;
|
|
604
607
|
handleSearchInfoFn: Fn<any, any>;
|
|
605
|
-
toolConfig:
|
|
608
|
+
toolConfig: TtTableToolsProps;
|
|
606
609
|
tableRefreshBefore: Fn<any, any>;
|
|
607
610
|
tableSearchBefore: (values: Record<string, any>, trigger: TtTableSearchTrigger) => TtTableSearchBeforeResult | Promise<TtTableSearchBeforeResult>;
|
|
608
|
-
}, {}, {}, {}, string,
|
|
611
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
609
612
|
columnModalRef: ({
|
|
610
|
-
$:
|
|
613
|
+
$: ComponentInternalInstance;
|
|
611
614
|
$data: {};
|
|
612
615
|
$props: {
|
|
613
616
|
readonly openColumn?: ((boolean: boolean) => void) | undefined;
|
|
@@ -617,7 +620,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
617
620
|
modalApi: TtModalExtendedModalApi;
|
|
618
621
|
isExport: boolean;
|
|
619
622
|
}) => any) | undefined;
|
|
620
|
-
} &
|
|
623
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
621
624
|
$attrs: {
|
|
622
625
|
[x: string]: unknown;
|
|
623
626
|
};
|
|
@@ -627,8 +630,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
627
630
|
$slots: Readonly<{
|
|
628
631
|
[name: string]: Slot<any> | undefined;
|
|
629
632
|
}>;
|
|
630
|
-
$root:
|
|
631
|
-
$parent:
|
|
633
|
+
$root: ComponentPublicInstance | null;
|
|
634
|
+
$parent: ComponentPublicInstance | null;
|
|
632
635
|
$host: Element | null;
|
|
633
636
|
$emit: (event: "on-submit", val: {
|
|
634
637
|
checkedModel: string[];
|
|
@@ -636,7 +639,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
636
639
|
isExport: boolean;
|
|
637
640
|
}) => void;
|
|
638
641
|
$el: any;
|
|
639
|
-
$options:
|
|
642
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
640
643
|
openColumn?: (boolean: boolean) => void;
|
|
641
644
|
openExport?: (boolean: boolean) => void;
|
|
642
645
|
}> & Readonly<{
|
|
@@ -647,15 +650,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
647
650
|
}) => any) | undefined;
|
|
648
651
|
}>, {
|
|
649
652
|
handleSubmit: () => void;
|
|
650
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }:
|
|
651
|
-
setModalProps(modalProps:
|
|
652
|
-
}, {}, {}, {},
|
|
653
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
654
|
+
setModalProps(modalProps: ModalRenderState): void;
|
|
655
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
653
656
|
"on-submit": (val: {
|
|
654
657
|
checkedModel: string[];
|
|
655
658
|
modalApi: TtModalExtendedModalApi;
|
|
656
659
|
isExport: boolean;
|
|
657
660
|
}) => any;
|
|
658
|
-
}, string, {}, {}, string, {},
|
|
661
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
659
662
|
beforeCreate?: (() => void) | (() => void)[];
|
|
660
663
|
created?: (() => void) | (() => void)[];
|
|
661
664
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -668,13 +671,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
668
671
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
669
672
|
destroyed?: (() => void) | (() => void)[];
|
|
670
673
|
unmounted?: (() => void) | (() => void)[];
|
|
671
|
-
renderTracked?: ((e:
|
|
672
|
-
renderTriggered?: ((e:
|
|
673
|
-
errorCaptured?: ((err: unknown, instance:
|
|
674
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
675
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
676
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
674
677
|
};
|
|
675
678
|
$forceUpdate: () => void;
|
|
676
679
|
$nextTick: typeof nextTick;
|
|
677
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
680
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
678
681
|
} & Readonly<{}> & Omit<Readonly<{
|
|
679
682
|
openColumn?: (boolean: boolean) => void;
|
|
680
683
|
openExport?: (boolean: boolean) => void;
|
|
@@ -684,11 +687,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
684
687
|
modalApi: TtModalExtendedModalApi;
|
|
685
688
|
isExport: boolean;
|
|
686
689
|
}) => any) | undefined;
|
|
687
|
-
}>, "setModalProps" | "openModal" | "handleSubmit"> &
|
|
690
|
+
}>, "setModalProps" | "openModal" | "handleSubmit"> & ShallowUnwrapRef<{
|
|
688
691
|
handleSubmit: () => void;
|
|
689
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }:
|
|
690
|
-
setModalProps(modalProps:
|
|
691
|
-
}> & {} &
|
|
692
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
693
|
+
setModalProps(modalProps: ModalRenderState): void;
|
|
694
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
692
695
|
$slots: {
|
|
693
696
|
title?(_: {}): any;
|
|
694
697
|
beforeFooter?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
1
|
+
import { ComputedRef, InjectionKey, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
/**
|
|
3
3
|
* 行上下文 Key - 用于 provide/inject 当前行索引
|
|
4
4
|
*/
|
|
@@ -7,18 +7,18 @@ export declare const ROW_INDEX_KEY: InjectionKey<ComputedRef<number>>;
|
|
|
7
7
|
* 行上下文包装组件
|
|
8
8
|
* 用于在渲染表格行时提供当前行索引给子组件
|
|
9
9
|
*/
|
|
10
|
-
export declare const RowContext:
|
|
10
|
+
export declare const RowContext: DefineComponent<ExtractPropTypes<{
|
|
11
11
|
/** 当前行索引 */
|
|
12
12
|
rowIndex: {
|
|
13
13
|
type: NumberConstructor;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
|
-
}>, () =>
|
|
16
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
17
17
|
[key: string]: any;
|
|
18
|
-
}>[] | undefined, {}, {}, {},
|
|
18
|
+
}>[] | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
19
19
|
/** 当前行索引 */
|
|
20
20
|
rowIndex: {
|
|
21
21
|
type: NumberConstructor;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
|
1
|
+
import { PropType, VNode, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { TtActionItem } from '../types/tableAction';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
rootEl: HTMLDivElement;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component:
|
|
16
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
17
17
|
/** 操作项 */
|
|
18
18
|
actions: {
|
|
19
19
|
type: PropType<TtActionItem[]>;
|
|
@@ -34,7 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
34
34
|
stopButtonPropagation: any;
|
|
35
35
|
/** 操作按钮在宽度不足时是否自动换行 */
|
|
36
36
|
wrap: any;
|
|
37
|
-
}>, {}, {}, {}, {},
|
|
37
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
38
38
|
/** 操作项 */
|
|
39
39
|
actions: {
|
|
40
40
|
type: PropType<TtActionItem[]>;
|
|
@@ -61,7 +61,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
61
|
actions: TtActionItem[];
|
|
62
62
|
slotContext: Record<string, any>;
|
|
63
63
|
stopButtonPropagation: any;
|
|
64
|
-
}, {}, {}, {}, string,
|
|
64
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
65
65
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
66
|
export default _default;
|
|
67
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, Directive, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { TtActionItem } from '../types/tableAction';
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
4
|
/** 按钮acitons */
|
|
5
5
|
actions: {
|
|
6
6
|
type: PropType<TtActionItem[]>;
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
10
|
divider: any;
|
|
11
11
|
/** 是否阻止默认行为 */
|
|
12
12
|
stopButtonPropagation: any;
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {},
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
14
14
|
/** 按钮acitons */
|
|
15
15
|
actions: {
|
|
16
16
|
type: PropType<TtActionItem[]>;
|
|
@@ -25,6 +25,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
25
|
stopButtonPropagation: any;
|
|
26
26
|
divider: any;
|
|
27
27
|
}, {}, {}, {
|
|
28
|
-
disabledTip:
|
|
29
|
-
}, string,
|
|
28
|
+
disabledTip: Directive;
|
|
29
|
+
}, string, ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
export default _default;
|
package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TtModalExtendedModalApi, ModalRenderState } from '../../../tt-modal';
|
|
2
2
|
import { VxeTableDefines } from 'vxe-table';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
export interface OpenModalParams {
|
|
4
5
|
columns: VxeTableDefines.ColumnOptions[];
|
|
5
6
|
displayFields?: string[];
|
|
@@ -25,25 +26,25 @@ declare function __VLS_template(): {
|
|
|
25
26
|
rootEl: any;
|
|
26
27
|
};
|
|
27
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
-
declare const __VLS_component:
|
|
29
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
29
30
|
handleSubmit: typeof handleSubmit;
|
|
30
31
|
openModal: typeof openModal;
|
|
31
32
|
setModalProps(modalProps: ModalRenderState): void;
|
|
32
|
-
}, {}, {}, {},
|
|
33
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
34
|
"on-submit": (val: {
|
|
34
35
|
checkedModel: string[];
|
|
35
36
|
modalApi: TtModalExtendedModalApi;
|
|
36
37
|
/** 是否调用保存接口 */
|
|
37
38
|
isExport: boolean;
|
|
38
39
|
}) => any;
|
|
39
|
-
}, string,
|
|
40
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
41
|
"onOn-submit"?: ((val: {
|
|
41
42
|
checkedModel: string[];
|
|
42
43
|
modalApi: TtModalExtendedModalApi;
|
|
43
44
|
/** 是否调用保存接口 */
|
|
44
45
|
isExport: boolean;
|
|
45
46
|
}) => any) | undefined;
|
|
46
|
-
}>, {}, {}, {}, {}, string,
|
|
47
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
47
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
49
|
export default _default;
|
|
49
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Recordable } from '../../../../../../utils/src';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
4
|
attrs: Partial<{}>;
|
|
4
5
|
slots: Readonly<{
|
|
@@ -14,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
14
15
|
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component:
|
|
18
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
18
19
|
showSetting: {
|
|
19
20
|
type: BooleanConstructor;
|
|
20
21
|
default: boolean;
|
|
@@ -32,14 +33,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
32
33
|
default: boolean;
|
|
33
34
|
};
|
|
34
35
|
columnsKey: {
|
|
35
|
-
type:
|
|
36
|
+
type: PropType<string | (() => string)>;
|
|
36
37
|
default: string;
|
|
37
38
|
};
|
|
38
|
-
}>, {}, {}, {}, {},
|
|
39
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
40
|
"on-refresh": () => any;
|
|
40
41
|
"on-columns-setting": () => any;
|
|
41
42
|
"on-export": () => any;
|
|
42
|
-
}, string,
|
|
43
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
43
44
|
showSetting: {
|
|
44
45
|
type: BooleanConstructor;
|
|
45
46
|
default: boolean;
|
|
@@ -57,7 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
57
58
|
default: boolean;
|
|
58
59
|
};
|
|
59
60
|
columnsKey: {
|
|
60
|
-
type:
|
|
61
|
+
type: PropType<string | (() => string)>;
|
|
61
62
|
default: string;
|
|
62
63
|
};
|
|
63
64
|
}>> & Readonly<{
|
|
@@ -70,7 +71,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
70
71
|
showExport: boolean;
|
|
71
72
|
columnsKey: string | (() => string);
|
|
72
73
|
showSetColumn: boolean;
|
|
73
|
-
}, {}, {}, {}, string,
|
|
74
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
74
75
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
75
76
|
export default _default;
|
|
76
77
|
type __VLS_WithTemplateSlots<T, S> = T & {
|