@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,16 @@
|
|
|
1
|
+
import { SFCWithInstall, Recordable } from '../../../../utils/src';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, VNode, DefineComponent, Directive, CSSProperties, ComputedRef, MaybeRef, ComponentInternalInstance, StyleValue, Slot, ComponentPublicInstance, Ref, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import { TtActionItem, TtTableProps, TtColumnOptions, TtTableExtendedTableApi, FetchParams, TtSelectRowKeysType, TtSelectRowsType } from '.';
|
|
4
|
+
import { VxeComponentSizeType } from 'vxe-pc-ui';
|
|
5
|
+
import { TtExtendedFormApi } from '../tt-form';
|
|
6
|
+
import { VxeGridInstance, VxeGridMethods, VxeGridProps, VxeGridEventProps, VxeGridSlots } from 'vxe-table';
|
|
7
|
+
import { ScrollbarDirection, ScrollbarProps } from 'element-plus';
|
|
8
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
1
9
|
/** 操作列按钮组件(用于插槽) */
|
|
2
|
-
export declare const TtTableAction:
|
|
3
|
-
new (...args: any[]):
|
|
10
|
+
export declare const TtTableAction: SFCWithInstall<{
|
|
11
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
12
|
actions: {
|
|
5
|
-
type:
|
|
13
|
+
type: PropType< TtActionItem[]>;
|
|
6
14
|
default: () => never[];
|
|
7
15
|
};
|
|
8
16
|
rowIndex: {
|
|
@@ -10,27 +18,27 @@ export declare const TtTableAction: import('../../../../utils/src').SFCWithInsta
|
|
|
10
18
|
default: undefined;
|
|
11
19
|
};
|
|
12
20
|
slotContext: {
|
|
13
|
-
type:
|
|
21
|
+
type: PropType<Record<string, any>>;
|
|
14
22
|
default: undefined;
|
|
15
23
|
};
|
|
16
24
|
stopButtonPropagation: any;
|
|
17
25
|
wrap: any;
|
|
18
|
-
}>> & Readonly<{}>, {}, {}, {}, {},
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
19
27
|
wrap: any;
|
|
20
28
|
rowIndex: number;
|
|
21
|
-
actions:
|
|
29
|
+
actions: TtActionItem[];
|
|
22
30
|
slotContext: Record<string, any>;
|
|
23
31
|
stopButtonPropagation: any;
|
|
24
|
-
}, true, {}, {},
|
|
32
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
25
33
|
P: {};
|
|
26
34
|
B: {};
|
|
27
35
|
D: {};
|
|
28
36
|
C: {};
|
|
29
37
|
M: {};
|
|
30
38
|
Defaults: {};
|
|
31
|
-
}, Readonly<
|
|
39
|
+
}, Readonly< ExtractPropTypes<{
|
|
32
40
|
actions: {
|
|
33
|
-
type:
|
|
41
|
+
type: PropType< TtActionItem[]>;
|
|
34
42
|
default: () => never[];
|
|
35
43
|
};
|
|
36
44
|
rowIndex: {
|
|
@@ -38,7 +46,7 @@ export declare const TtTableAction: import('../../../../utils/src').SFCWithInsta
|
|
|
38
46
|
default: undefined;
|
|
39
47
|
};
|
|
40
48
|
slotContext: {
|
|
41
|
-
type:
|
|
49
|
+
type: PropType<Record<string, any>>;
|
|
42
50
|
default: undefined;
|
|
43
51
|
};
|
|
44
52
|
stopButtonPropagation: any;
|
|
@@ -46,16 +54,16 @@ export declare const TtTableAction: import('../../../../utils/src').SFCWithInsta
|
|
|
46
54
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
47
55
|
wrap: any;
|
|
48
56
|
rowIndex: number;
|
|
49
|
-
actions:
|
|
57
|
+
actions: TtActionItem[];
|
|
50
58
|
slotContext: Record<string, any>;
|
|
51
59
|
stopButtonPropagation: any;
|
|
52
60
|
}>;
|
|
53
61
|
__isFragment?: never;
|
|
54
62
|
__isTeleport?: never;
|
|
55
63
|
__isSuspense?: never;
|
|
56
|
-
} &
|
|
64
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
57
65
|
actions: {
|
|
58
|
-
type:
|
|
66
|
+
type: PropType< TtActionItem[]>;
|
|
59
67
|
default: () => never[];
|
|
60
68
|
};
|
|
61
69
|
rowIndex: {
|
|
@@ -63,96 +71,96 @@ export declare const TtTableAction: import('../../../../utils/src').SFCWithInsta
|
|
|
63
71
|
default: undefined;
|
|
64
72
|
};
|
|
65
73
|
slotContext: {
|
|
66
|
-
type:
|
|
74
|
+
type: PropType<Record<string, any>>;
|
|
67
75
|
default: undefined;
|
|
68
76
|
};
|
|
69
77
|
stopButtonPropagation: any;
|
|
70
78
|
wrap: any;
|
|
71
|
-
}>> & Readonly<{}>, {}, {}, {}, {},
|
|
79
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
72
80
|
wrap: any;
|
|
73
81
|
rowIndex: number;
|
|
74
|
-
actions:
|
|
82
|
+
actions: TtActionItem[];
|
|
75
83
|
slotContext: Record<string, any>;
|
|
76
84
|
stopButtonPropagation: any;
|
|
77
|
-
}, {}, string, {},
|
|
85
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
78
86
|
$slots: Readonly<{
|
|
79
|
-
[slotName: string]: (props: any) =>
|
|
80
|
-
default: () =>
|
|
87
|
+
[slotName: string]: (props: any) => VNode;
|
|
88
|
+
default: () => VNode;
|
|
81
89
|
}> & {
|
|
82
|
-
[slotName: string]: (props: any) =>
|
|
83
|
-
default: () =>
|
|
90
|
+
[slotName: string]: (props: any) => VNode;
|
|
91
|
+
default: () => VNode;
|
|
84
92
|
};
|
|
85
93
|
})> & Record<string, any>;
|
|
86
94
|
/** 工具栏按钮组件(用于插槽) */
|
|
87
|
-
export declare const TtTableButton:
|
|
95
|
+
export declare const TtTableButton: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
88
96
|
actions: {
|
|
89
|
-
type:
|
|
97
|
+
type: PropType< TtActionItem[]>;
|
|
90
98
|
default: () => never[];
|
|
91
99
|
};
|
|
92
100
|
divider: any;
|
|
93
101
|
stopButtonPropagation: any;
|
|
94
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {},
|
|
102
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
95
103
|
actions: {
|
|
96
|
-
type:
|
|
104
|
+
type: PropType< TtActionItem[]>;
|
|
97
105
|
default: () => never[];
|
|
98
106
|
};
|
|
99
107
|
divider: any;
|
|
100
108
|
stopButtonPropagation: any;
|
|
101
109
|
}>> & Readonly<{}>, {
|
|
102
|
-
actions:
|
|
110
|
+
actions: TtActionItem[];
|
|
103
111
|
stopButtonPropagation: any;
|
|
104
112
|
divider: any;
|
|
105
113
|
}, {}, {}, {
|
|
106
|
-
disabledTip:
|
|
107
|
-
}, string,
|
|
114
|
+
disabledTip: Directive;
|
|
115
|
+
}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
108
116
|
/** 表格组件 */
|
|
109
|
-
export declare const TtTable:
|
|
110
|
-
new (...args: any[]):
|
|
117
|
+
export declare const TtTable: SFCWithInstall<{
|
|
118
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
111
119
|
keyboardConfig: {
|
|
112
|
-
type:
|
|
120
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
113
121
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
114
122
|
};
|
|
115
123
|
mouseConfig: {
|
|
116
|
-
type:
|
|
124
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
117
125
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
118
126
|
};
|
|
119
127
|
checkboxConfig: {
|
|
120
|
-
type:
|
|
128
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
121
129
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<any> | undefined;
|
|
122
130
|
};
|
|
123
131
|
radioConfig: {
|
|
124
|
-
type:
|
|
132
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.RadioConfig>;
|
|
125
133
|
default: () => import("vxe-table").VxeTablePropTypes.RadioConfig<any> | undefined;
|
|
126
134
|
};
|
|
127
135
|
columns: {
|
|
128
|
-
type:
|
|
129
|
-
default: () =>
|
|
136
|
+
type: PropType< TtTableProps["columns"]>;
|
|
137
|
+
default: () => TtTableProps["columns"];
|
|
130
138
|
};
|
|
131
139
|
height: {
|
|
132
140
|
type: (NumberConstructor | StringConstructor)[];
|
|
133
141
|
default: () => import("vxe-table").VxeTablePropTypes.Height | undefined;
|
|
134
142
|
};
|
|
135
143
|
showOverflow: {
|
|
136
|
-
type:
|
|
144
|
+
type: PropType< TtTableProps["showOverflow"]>;
|
|
137
145
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
138
146
|
};
|
|
139
147
|
showHeaderOverflow: {
|
|
140
|
-
type:
|
|
148
|
+
type: PropType< TtTableProps["showHeaderOverflow"]>;
|
|
141
149
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
142
150
|
};
|
|
143
151
|
pagerConfig: {
|
|
144
|
-
type:
|
|
152
|
+
type: PropType< TtTableProps["pagerConfig"]>;
|
|
145
153
|
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
146
154
|
};
|
|
147
155
|
toolbarConfig: {
|
|
148
|
-
type:
|
|
156
|
+
type: PropType< TtTableProps["toolbarConfig"]>;
|
|
149
157
|
};
|
|
150
158
|
size: {
|
|
151
|
-
type:
|
|
152
|
-
default: () =>
|
|
159
|
+
type: PropType< TtTableProps["size"]>;
|
|
160
|
+
default: () => VxeComponentSizeType | undefined;
|
|
153
161
|
};
|
|
154
162
|
toolTipErrorPlacement: {
|
|
155
|
-
type:
|
|
163
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
156
164
|
default: string;
|
|
157
165
|
};
|
|
158
166
|
showToolbar: {
|
|
@@ -160,11 +168,11 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
160
168
|
default: () => boolean | undefined;
|
|
161
169
|
};
|
|
162
170
|
columnsFieldSort: {
|
|
163
|
-
type:
|
|
171
|
+
type: PropType<string[]>;
|
|
164
172
|
default: () => string[] | undefined;
|
|
165
173
|
};
|
|
166
174
|
columnsFieldNoSort: {
|
|
167
|
-
type:
|
|
175
|
+
type: PropType<string[]>;
|
|
168
176
|
default: () => string[] | undefined;
|
|
169
177
|
};
|
|
170
178
|
showRefresh: {
|
|
@@ -180,7 +188,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
180
188
|
default: () => boolean | undefined;
|
|
181
189
|
};
|
|
182
190
|
notSetColumnField: {
|
|
183
|
-
type:
|
|
191
|
+
type: PropType<string[]>;
|
|
184
192
|
default: () => string[] | undefined;
|
|
185
193
|
};
|
|
186
194
|
showTableAlert: {
|
|
@@ -188,7 +196,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
188
196
|
default: () => boolean | undefined;
|
|
189
197
|
};
|
|
190
198
|
api: {
|
|
191
|
-
type:
|
|
199
|
+
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
192
200
|
default: null;
|
|
193
201
|
};
|
|
194
202
|
searchInfo: {
|
|
@@ -200,20 +208,20 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
200
208
|
default: () => boolean | undefined;
|
|
201
209
|
};
|
|
202
210
|
afterFetch: {
|
|
203
|
-
type:
|
|
211
|
+
type: PropType< TtTableProps["afterFetch"]>;
|
|
204
212
|
default: null;
|
|
205
213
|
};
|
|
206
214
|
beforeFetch: {
|
|
207
|
-
type:
|
|
215
|
+
type: PropType< TtTableProps["beforeFetch"]>;
|
|
208
216
|
default: null;
|
|
209
217
|
};
|
|
210
218
|
beforePageChange: {
|
|
211
|
-
type:
|
|
219
|
+
type: PropType< TtTableProps["beforePageChange"]>;
|
|
212
220
|
default: null;
|
|
213
221
|
};
|
|
214
222
|
data: {
|
|
215
|
-
type:
|
|
216
|
-
default: () =>
|
|
223
|
+
type: PropType< TtTableProps["data"]>;
|
|
224
|
+
default: () => TtTableProps["data"];
|
|
217
225
|
};
|
|
218
226
|
isScrollFetch: {
|
|
219
227
|
type: BooleanConstructor;
|
|
@@ -260,31 +268,31 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
260
268
|
default: () => string | undefined;
|
|
261
269
|
};
|
|
262
270
|
actionProps: {
|
|
263
|
-
type:
|
|
264
|
-
default: () =>
|
|
271
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
272
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
265
273
|
};
|
|
266
274
|
indexColumnProps: {
|
|
267
|
-
type:
|
|
268
|
-
default: () =>
|
|
275
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
276
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
269
277
|
};
|
|
270
278
|
checkboxColumnProps: {
|
|
271
|
-
type:
|
|
272
|
-
default: () =>
|
|
279
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
280
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
273
281
|
};
|
|
274
282
|
expandColumnProps: {
|
|
275
|
-
type:
|
|
276
|
-
default: () =>
|
|
283
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
284
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
277
285
|
};
|
|
278
286
|
radioColumnProps: {
|
|
279
|
-
type:
|
|
280
|
-
default: () =>
|
|
287
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
288
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
281
289
|
};
|
|
282
290
|
tableRowId: {
|
|
283
291
|
type: StringConstructor;
|
|
284
292
|
default: () => string | undefined;
|
|
285
293
|
};
|
|
286
294
|
customizeColumn: {
|
|
287
|
-
type:
|
|
295
|
+
type: PropType< TtTableProps["customizeColumn"]>;
|
|
288
296
|
};
|
|
289
297
|
showPager: {
|
|
290
298
|
type: BooleanConstructor;
|
|
@@ -317,14 +325,14 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
317
325
|
};
|
|
318
326
|
emptyImageStyle: {
|
|
319
327
|
type: ObjectConstructor;
|
|
320
|
-
default: () =>
|
|
328
|
+
default: () => CSSProperties | undefined;
|
|
321
329
|
};
|
|
322
330
|
emptyText: {
|
|
323
331
|
type: StringConstructor;
|
|
324
332
|
default: () => string | undefined;
|
|
325
333
|
};
|
|
326
334
|
emptyImageStatus: {
|
|
327
|
-
type:
|
|
335
|
+
type: PropType<"no-data" | "no-search">;
|
|
328
336
|
default: () => "no-data" | "no-search" | undefined;
|
|
329
337
|
};
|
|
330
338
|
noSearchText: {
|
|
@@ -332,7 +340,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
332
340
|
default: () => string | undefined;
|
|
333
341
|
};
|
|
334
342
|
columnsKey: {
|
|
335
|
-
type:
|
|
343
|
+
type: PropType<string | (() => string)>;
|
|
336
344
|
default: string;
|
|
337
345
|
};
|
|
338
346
|
useHttpCache: {
|
|
@@ -340,7 +348,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
340
348
|
default: () => boolean | undefined;
|
|
341
349
|
};
|
|
342
350
|
defaultDisplayFields: {
|
|
343
|
-
type:
|
|
351
|
+
type: PropType<string[]>;
|
|
344
352
|
default: () => string[] | undefined;
|
|
345
353
|
};
|
|
346
354
|
clearTreeExpand: {
|
|
@@ -356,10 +364,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
356
364
|
default: () => boolean | undefined;
|
|
357
365
|
};
|
|
358
366
|
tableApi: {
|
|
359
|
-
type:
|
|
367
|
+
type: PropType<TtTableExtendedTableApi>;
|
|
360
368
|
};
|
|
361
369
|
formApi: {
|
|
362
|
-
type:
|
|
370
|
+
type: PropType<TtExtendedFormApi>;
|
|
363
371
|
};
|
|
364
372
|
useSearchForm: any;
|
|
365
373
|
testId: {
|
|
@@ -367,29 +375,29 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
367
375
|
default: undefined;
|
|
368
376
|
};
|
|
369
377
|
modelValue: {
|
|
370
|
-
type:
|
|
378
|
+
type: PropType< Recordable[]>;
|
|
371
379
|
};
|
|
372
380
|
}>> & Readonly<{
|
|
373
|
-
"onUpdate:modelValue"?: ((value:
|
|
381
|
+
"onUpdate:modelValue"?: ((value: Recordable[]) => any) | undefined;
|
|
374
382
|
}>, {
|
|
375
|
-
xGrid:
|
|
376
|
-
reload: (data?:
|
|
383
|
+
xGrid: ComputedRef<VxeGridInstance<Recordable>>;
|
|
384
|
+
reload: (data?: FetchParams) => Promise<void>;
|
|
377
385
|
redoHeight: (full?: boolean) => void;
|
|
378
|
-
setProps: (props: Partial<
|
|
386
|
+
setProps: (props: Partial< TtTableProps>) => void;
|
|
379
387
|
setLoading: (loading: boolean) => void;
|
|
380
|
-
getLoading?:
|
|
388
|
+
getLoading?: ComputedRef<boolean | undefined>;
|
|
381
389
|
setTableColumns: (columns: import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row>) => void;
|
|
382
390
|
getDataSource: () => import("vxe-table").VxeTablePropTypes.Row[];
|
|
383
391
|
setPagination: (props: Partial<import("vxe-table").VxeGridPropTypes.PagerConfig>) => void;
|
|
384
392
|
getPagination: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
385
|
-
getTableInstance: () =>
|
|
386
|
-
getSelectRowKeys: () =>
|
|
387
|
-
getSelectRows: () =>
|
|
393
|
+
getTableInstance: () => VxeGridMethods;
|
|
394
|
+
getSelectRowKeys: () => TtSelectRowKeysType;
|
|
395
|
+
getSelectRows: () => TtSelectRowsType;
|
|
388
396
|
getTableColumns: () => import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
389
|
-
setSelectedRowKeys: (rows:
|
|
397
|
+
setSelectedRowKeys: (rows: TtSelectRowsType, keys?: TtSelectRowKeysType) => void;
|
|
390
398
|
clearSelectedRowKeys: () => void;
|
|
391
|
-
selectedKeys:
|
|
392
|
-
selectedRows:
|
|
399
|
+
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
400
|
+
selectedRows: MaybeRef<TtSelectRowsType>;
|
|
393
401
|
insert: (records: any) => Promise<{
|
|
394
402
|
row: import("vxe-table").VxeTablePropTypes.Row;
|
|
395
403
|
rows: import("vxe-table").VxeTablePropTypes.Row[];
|
|
@@ -462,11 +470,11 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
462
470
|
reloadTreeExpand: (row: any) => Promise<any>;
|
|
463
471
|
validate: (isFull?: boolean) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
464
472
|
validateField: (row: import("vxe-table").VxeTablePropTypes.Row, field: string) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
465
|
-
}, {}, {}, {},
|
|
466
|
-
"update:modelValue": (value:
|
|
467
|
-
},
|
|
468
|
-
data:
|
|
469
|
-
size:
|
|
473
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
474
|
+
"update:modelValue": (value: Recordable[]) => void;
|
|
475
|
+
}, PublicProps, {
|
|
476
|
+
data: MaybeRef<any[]> | undefined;
|
|
477
|
+
size: VxeComponentSizeType | undefined;
|
|
470
478
|
immediate: boolean;
|
|
471
479
|
height: string | number;
|
|
472
480
|
pagerConfig: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
@@ -475,7 +483,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
475
483
|
showRadio: boolean;
|
|
476
484
|
radioConfig: import("vxe-table").VxeTablePropTypes.RadioConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
477
485
|
checkboxConfig: import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
478
|
-
columns:
|
|
486
|
+
columns: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
479
487
|
showOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
480
488
|
showHeaderOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
481
489
|
mouseConfig: import("vxe-table").VxeTablePropTypes.MouseConfig;
|
|
@@ -528,24 +536,24 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
528
536
|
afterFetch: ((data: any[], res: Recordable | Recordable[]) => Promise<any[]>) | undefined;
|
|
529
537
|
beforeFetch: ((params: Recordable) => Promise<Recordable>) | undefined;
|
|
530
538
|
beforePageChange: ((page: import("vxe-table").VxeGridPropTypes.PagerConfig) => boolean | Promise<boolean>) | undefined;
|
|
531
|
-
}, true, {}, {},
|
|
539
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
532
540
|
wrapRef: HTMLDivElement;
|
|
533
|
-
xGrid: (
|
|
534
|
-
$props:
|
|
535
|
-
$slots:
|
|
541
|
+
xGrid: ( VxeGridMethods<any> & {
|
|
542
|
+
$props: VxeGridProps<any> & VxeGridEventProps<any>;
|
|
543
|
+
$slots: VxeGridSlots<any>;
|
|
536
544
|
}) | null;
|
|
537
545
|
leftScrollbarRef: ({
|
|
538
|
-
$:
|
|
546
|
+
$: ComponentInternalInstance;
|
|
539
547
|
$data: {};
|
|
540
548
|
$props: {
|
|
541
549
|
readonly distance?: number | undefined;
|
|
542
550
|
readonly height?: number | string | undefined;
|
|
543
551
|
readonly maxHeight?: number | string | undefined;
|
|
544
552
|
readonly native?: boolean | undefined;
|
|
545
|
-
readonly wrapStyle?:
|
|
553
|
+
readonly wrapStyle?: StyleValue;
|
|
546
554
|
readonly wrapClass?: string | string[] | undefined;
|
|
547
555
|
readonly viewClass?: string | string[] | undefined;
|
|
548
|
-
readonly viewStyle?:
|
|
556
|
+
readonly viewStyle?: StyleValue;
|
|
549
557
|
readonly noresize?: boolean | undefined;
|
|
550
558
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
551
559
|
readonly always?: boolean | undefined;
|
|
@@ -559,8 +567,8 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
559
567
|
scrollTop: number;
|
|
560
568
|
scrollLeft: number;
|
|
561
569
|
}) => any) | undefined | undefined;
|
|
562
|
-
readonly "onEnd-reached"?: ((direction:
|
|
563
|
-
} &
|
|
570
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
571
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
564
572
|
$attrs: {
|
|
565
573
|
[x: string]: unknown;
|
|
566
574
|
};
|
|
@@ -568,24 +576,24 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
568
576
|
[x: string]: unknown;
|
|
569
577
|
};
|
|
570
578
|
$slots: Readonly<{
|
|
571
|
-
[name: string]:
|
|
579
|
+
[name: string]: Slot<any> | undefined;
|
|
572
580
|
}>;
|
|
573
|
-
$root:
|
|
574
|
-
$parent:
|
|
581
|
+
$root: ComponentPublicInstance | null;
|
|
582
|
+
$parent: ComponentPublicInstance | null;
|
|
575
583
|
$host: Element | null;
|
|
576
584
|
$emit: ((event: "scroll", args_0: {
|
|
577
585
|
scrollTop: number;
|
|
578
586
|
scrollLeft: number;
|
|
579
|
-
}) => void) & ((event: "end-reached", direction:
|
|
587
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
580
588
|
$el: any;
|
|
581
|
-
$options:
|
|
589
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
582
590
|
onScroll?: ((args_0: {
|
|
583
591
|
scrollTop: number;
|
|
584
592
|
scrollLeft: number;
|
|
585
593
|
}) => any) | undefined;
|
|
586
|
-
"onEnd-reached"?: ((direction:
|
|
594
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
587
595
|
}>, {
|
|
588
|
-
wrapRef:
|
|
596
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
589
597
|
update: () => void;
|
|
590
598
|
scrollTo: {
|
|
591
599
|
(xCord: number, yCord?: number): void;
|
|
@@ -594,24 +602,24 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
594
602
|
setScrollTop: (value: number) => void;
|
|
595
603
|
setScrollLeft: (value: number) => void;
|
|
596
604
|
handleScroll: () => void;
|
|
597
|
-
}, {}, {}, {},
|
|
605
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
598
606
|
scroll: (args_0: {
|
|
599
607
|
scrollTop: number;
|
|
600
608
|
scrollLeft: number;
|
|
601
609
|
}) => void;
|
|
602
|
-
"end-reached": (direction:
|
|
610
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
603
611
|
}, string, {
|
|
604
612
|
tabindex: number | string;
|
|
605
613
|
height: number | string;
|
|
606
614
|
maxHeight: number | string;
|
|
607
615
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
608
616
|
distance: number;
|
|
609
|
-
wrapStyle: string | false |
|
|
617
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
610
618
|
wrapClass: string | string[];
|
|
611
619
|
viewClass: string | string[];
|
|
612
|
-
viewStyle: string | false |
|
|
620
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
613
621
|
minSize: number;
|
|
614
|
-
}, {}, string, {},
|
|
622
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
615
623
|
beforeCreate?: (() => void) | (() => void)[];
|
|
616
624
|
created?: (() => void) | (() => void)[];
|
|
617
625
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -624,32 +632,32 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
624
632
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
625
633
|
destroyed?: (() => void) | (() => void)[];
|
|
626
634
|
unmounted?: (() => void) | (() => void)[];
|
|
627
|
-
renderTracked?: ((e:
|
|
628
|
-
renderTriggered?: ((e:
|
|
629
|
-
errorCaptured?: ((err: unknown, instance:
|
|
635
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
636
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
637
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
630
638
|
};
|
|
631
639
|
$forceUpdate: () => void;
|
|
632
|
-
$nextTick:
|
|
633
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
640
|
+
$nextTick: nextTick;
|
|
641
|
+
$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;
|
|
634
642
|
} & Readonly<{
|
|
635
643
|
tabindex: number | string;
|
|
636
644
|
height: number | string;
|
|
637
645
|
maxHeight: number | string;
|
|
638
646
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
639
647
|
distance: number;
|
|
640
|
-
wrapStyle: string | false |
|
|
648
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
641
649
|
wrapClass: string | string[];
|
|
642
650
|
viewClass: string | string[];
|
|
643
|
-
viewStyle: string | false |
|
|
651
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
644
652
|
minSize: number;
|
|
645
|
-
}> & Omit<Readonly<
|
|
653
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
646
654
|
onScroll?: ((args_0: {
|
|
647
655
|
scrollTop: number;
|
|
648
656
|
scrollLeft: number;
|
|
649
657
|
}) => any) | undefined;
|
|
650
|
-
"onEnd-reached"?: ((direction:
|
|
651
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
652
|
-
wrapRef:
|
|
658
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
659
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
660
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
653
661
|
update: () => void;
|
|
654
662
|
scrollTo: {
|
|
655
663
|
(xCord: number, yCord?: number): void;
|
|
@@ -658,23 +666,23 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
658
666
|
setScrollTop: (value: number) => void;
|
|
659
667
|
setScrollLeft: (value: number) => void;
|
|
660
668
|
handleScroll: () => void;
|
|
661
|
-
}> & {} &
|
|
669
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
662
670
|
$slots: {
|
|
663
671
|
default?: (props: {}) => any;
|
|
664
672
|
};
|
|
665
673
|
}) | null;
|
|
666
674
|
rightScrollbarRef: ({
|
|
667
|
-
$:
|
|
675
|
+
$: ComponentInternalInstance;
|
|
668
676
|
$data: {};
|
|
669
677
|
$props: {
|
|
670
678
|
readonly distance?: number | undefined;
|
|
671
679
|
readonly height?: number | string | undefined;
|
|
672
680
|
readonly maxHeight?: number | string | undefined;
|
|
673
681
|
readonly native?: boolean | undefined;
|
|
674
|
-
readonly wrapStyle?:
|
|
682
|
+
readonly wrapStyle?: StyleValue;
|
|
675
683
|
readonly wrapClass?: string | string[] | undefined;
|
|
676
684
|
readonly viewClass?: string | string[] | undefined;
|
|
677
|
-
readonly viewStyle?:
|
|
685
|
+
readonly viewStyle?: StyleValue;
|
|
678
686
|
readonly noresize?: boolean | undefined;
|
|
679
687
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
680
688
|
readonly always?: boolean | undefined;
|
|
@@ -688,8 +696,8 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
688
696
|
scrollTop: number;
|
|
689
697
|
scrollLeft: number;
|
|
690
698
|
}) => any) | undefined | undefined;
|
|
691
|
-
readonly "onEnd-reached"?: ((direction:
|
|
692
|
-
} &
|
|
699
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
700
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
693
701
|
$attrs: {
|
|
694
702
|
[x: string]: unknown;
|
|
695
703
|
};
|
|
@@ -697,24 +705,24 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
697
705
|
[x: string]: unknown;
|
|
698
706
|
};
|
|
699
707
|
$slots: Readonly<{
|
|
700
|
-
[name: string]:
|
|
708
|
+
[name: string]: Slot<any> | undefined;
|
|
701
709
|
}>;
|
|
702
|
-
$root:
|
|
703
|
-
$parent:
|
|
710
|
+
$root: ComponentPublicInstance | null;
|
|
711
|
+
$parent: ComponentPublicInstance | null;
|
|
704
712
|
$host: Element | null;
|
|
705
713
|
$emit: ((event: "scroll", args_0: {
|
|
706
714
|
scrollTop: number;
|
|
707
715
|
scrollLeft: number;
|
|
708
|
-
}) => void) & ((event: "end-reached", direction:
|
|
716
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
709
717
|
$el: any;
|
|
710
|
-
$options:
|
|
718
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
711
719
|
onScroll?: ((args_0: {
|
|
712
720
|
scrollTop: number;
|
|
713
721
|
scrollLeft: number;
|
|
714
722
|
}) => any) | undefined;
|
|
715
|
-
"onEnd-reached"?: ((direction:
|
|
723
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
716
724
|
}>, {
|
|
717
|
-
wrapRef:
|
|
725
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
718
726
|
update: () => void;
|
|
719
727
|
scrollTo: {
|
|
720
728
|
(xCord: number, yCord?: number): void;
|
|
@@ -723,24 +731,24 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
723
731
|
setScrollTop: (value: number) => void;
|
|
724
732
|
setScrollLeft: (value: number) => void;
|
|
725
733
|
handleScroll: () => void;
|
|
726
|
-
}, {}, {}, {},
|
|
734
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
727
735
|
scroll: (args_0: {
|
|
728
736
|
scrollTop: number;
|
|
729
737
|
scrollLeft: number;
|
|
730
738
|
}) => void;
|
|
731
|
-
"end-reached": (direction:
|
|
739
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
732
740
|
}, string, {
|
|
733
741
|
tabindex: number | string;
|
|
734
742
|
height: number | string;
|
|
735
743
|
maxHeight: number | string;
|
|
736
744
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
737
745
|
distance: number;
|
|
738
|
-
wrapStyle: string | false |
|
|
746
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
739
747
|
wrapClass: string | string[];
|
|
740
748
|
viewClass: string | string[];
|
|
741
|
-
viewStyle: string | false |
|
|
749
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
742
750
|
minSize: number;
|
|
743
|
-
}, {}, string, {},
|
|
751
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
744
752
|
beforeCreate?: (() => void) | (() => void)[];
|
|
745
753
|
created?: (() => void) | (() => void)[];
|
|
746
754
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -753,32 +761,32 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
753
761
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
754
762
|
destroyed?: (() => void) | (() => void)[];
|
|
755
763
|
unmounted?: (() => void) | (() => void)[];
|
|
756
|
-
renderTracked?: ((e:
|
|
757
|
-
renderTriggered?: ((e:
|
|
758
|
-
errorCaptured?: ((err: unknown, instance:
|
|
764
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
765
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
766
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
759
767
|
};
|
|
760
768
|
$forceUpdate: () => void;
|
|
761
|
-
$nextTick:
|
|
762
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
769
|
+
$nextTick: nextTick;
|
|
770
|
+
$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;
|
|
763
771
|
} & Readonly<{
|
|
764
772
|
tabindex: number | string;
|
|
765
773
|
height: number | string;
|
|
766
774
|
maxHeight: number | string;
|
|
767
775
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
768
776
|
distance: number;
|
|
769
|
-
wrapStyle: string | false |
|
|
777
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
770
778
|
wrapClass: string | string[];
|
|
771
779
|
viewClass: string | string[];
|
|
772
|
-
viewStyle: string | false |
|
|
780
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
773
781
|
minSize: number;
|
|
774
|
-
}> & Omit<Readonly<
|
|
782
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
775
783
|
onScroll?: ((args_0: {
|
|
776
784
|
scrollTop: number;
|
|
777
785
|
scrollLeft: number;
|
|
778
786
|
}) => any) | undefined;
|
|
779
|
-
"onEnd-reached"?: ((direction:
|
|
780
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
781
|
-
wrapRef:
|
|
787
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
788
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
789
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
782
790
|
update: () => void;
|
|
783
791
|
scrollTo: {
|
|
784
792
|
(xCord: number, yCord?: number): void;
|
|
@@ -787,64 +795,64 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
787
795
|
setScrollTop: (value: number) => void;
|
|
788
796
|
setScrollLeft: (value: number) => void;
|
|
789
797
|
handleScroll: () => void;
|
|
790
|
-
}> & {} &
|
|
798
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
791
799
|
$slots: {
|
|
792
800
|
default?: (props: {}) => any;
|
|
793
801
|
};
|
|
794
802
|
}) | null;
|
|
795
|
-
}, HTMLDivElement,
|
|
803
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
796
804
|
P: {};
|
|
797
805
|
B: {};
|
|
798
806
|
D: {};
|
|
799
807
|
C: {};
|
|
800
808
|
M: {};
|
|
801
809
|
Defaults: {};
|
|
802
|
-
}, Readonly<
|
|
810
|
+
}, Readonly< ExtractPropTypes<{
|
|
803
811
|
keyboardConfig: {
|
|
804
|
-
type:
|
|
812
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
805
813
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
806
814
|
};
|
|
807
815
|
mouseConfig: {
|
|
808
|
-
type:
|
|
816
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
809
817
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
810
818
|
};
|
|
811
819
|
checkboxConfig: {
|
|
812
|
-
type:
|
|
820
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
813
821
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<any> | undefined;
|
|
814
822
|
};
|
|
815
823
|
radioConfig: {
|
|
816
|
-
type:
|
|
824
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.RadioConfig>;
|
|
817
825
|
default: () => import("vxe-table").VxeTablePropTypes.RadioConfig<any> | undefined;
|
|
818
826
|
};
|
|
819
827
|
columns: {
|
|
820
|
-
type:
|
|
821
|
-
default: () =>
|
|
828
|
+
type: PropType< TtTableProps["columns"]>;
|
|
829
|
+
default: () => TtTableProps["columns"];
|
|
822
830
|
};
|
|
823
831
|
height: {
|
|
824
832
|
type: (NumberConstructor | StringConstructor)[];
|
|
825
833
|
default: () => import("vxe-table").VxeTablePropTypes.Height | undefined;
|
|
826
834
|
};
|
|
827
835
|
showOverflow: {
|
|
828
|
-
type:
|
|
836
|
+
type: PropType< TtTableProps["showOverflow"]>;
|
|
829
837
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
830
838
|
};
|
|
831
839
|
showHeaderOverflow: {
|
|
832
|
-
type:
|
|
840
|
+
type: PropType< TtTableProps["showHeaderOverflow"]>;
|
|
833
841
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
834
842
|
};
|
|
835
843
|
pagerConfig: {
|
|
836
|
-
type:
|
|
844
|
+
type: PropType< TtTableProps["pagerConfig"]>;
|
|
837
845
|
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
838
846
|
};
|
|
839
847
|
toolbarConfig: {
|
|
840
|
-
type:
|
|
848
|
+
type: PropType< TtTableProps["toolbarConfig"]>;
|
|
841
849
|
};
|
|
842
850
|
size: {
|
|
843
|
-
type:
|
|
844
|
-
default: () =>
|
|
851
|
+
type: PropType< TtTableProps["size"]>;
|
|
852
|
+
default: () => VxeComponentSizeType | undefined;
|
|
845
853
|
};
|
|
846
854
|
toolTipErrorPlacement: {
|
|
847
|
-
type:
|
|
855
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
848
856
|
default: string;
|
|
849
857
|
};
|
|
850
858
|
showToolbar: {
|
|
@@ -852,11 +860,11 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
852
860
|
default: () => boolean | undefined;
|
|
853
861
|
};
|
|
854
862
|
columnsFieldSort: {
|
|
855
|
-
type:
|
|
863
|
+
type: PropType<string[]>;
|
|
856
864
|
default: () => string[] | undefined;
|
|
857
865
|
};
|
|
858
866
|
columnsFieldNoSort: {
|
|
859
|
-
type:
|
|
867
|
+
type: PropType<string[]>;
|
|
860
868
|
default: () => string[] | undefined;
|
|
861
869
|
};
|
|
862
870
|
showRefresh: {
|
|
@@ -872,7 +880,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
872
880
|
default: () => boolean | undefined;
|
|
873
881
|
};
|
|
874
882
|
notSetColumnField: {
|
|
875
|
-
type:
|
|
883
|
+
type: PropType<string[]>;
|
|
876
884
|
default: () => string[] | undefined;
|
|
877
885
|
};
|
|
878
886
|
showTableAlert: {
|
|
@@ -880,7 +888,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
880
888
|
default: () => boolean | undefined;
|
|
881
889
|
};
|
|
882
890
|
api: {
|
|
883
|
-
type:
|
|
891
|
+
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
884
892
|
default: null;
|
|
885
893
|
};
|
|
886
894
|
searchInfo: {
|
|
@@ -892,20 +900,20 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
892
900
|
default: () => boolean | undefined;
|
|
893
901
|
};
|
|
894
902
|
afterFetch: {
|
|
895
|
-
type:
|
|
903
|
+
type: PropType< TtTableProps["afterFetch"]>;
|
|
896
904
|
default: null;
|
|
897
905
|
};
|
|
898
906
|
beforeFetch: {
|
|
899
|
-
type:
|
|
907
|
+
type: PropType< TtTableProps["beforeFetch"]>;
|
|
900
908
|
default: null;
|
|
901
909
|
};
|
|
902
910
|
beforePageChange: {
|
|
903
|
-
type:
|
|
911
|
+
type: PropType< TtTableProps["beforePageChange"]>;
|
|
904
912
|
default: null;
|
|
905
913
|
};
|
|
906
914
|
data: {
|
|
907
|
-
type:
|
|
908
|
-
default: () =>
|
|
915
|
+
type: PropType< TtTableProps["data"]>;
|
|
916
|
+
default: () => TtTableProps["data"];
|
|
909
917
|
};
|
|
910
918
|
isScrollFetch: {
|
|
911
919
|
type: BooleanConstructor;
|
|
@@ -952,31 +960,31 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
952
960
|
default: () => string | undefined;
|
|
953
961
|
};
|
|
954
962
|
actionProps: {
|
|
955
|
-
type:
|
|
956
|
-
default: () =>
|
|
963
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
964
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
957
965
|
};
|
|
958
966
|
indexColumnProps: {
|
|
959
|
-
type:
|
|
960
|
-
default: () =>
|
|
967
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
968
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
961
969
|
};
|
|
962
970
|
checkboxColumnProps: {
|
|
963
|
-
type:
|
|
964
|
-
default: () =>
|
|
971
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
972
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
965
973
|
};
|
|
966
974
|
expandColumnProps: {
|
|
967
|
-
type:
|
|
968
|
-
default: () =>
|
|
975
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
976
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
969
977
|
};
|
|
970
978
|
radioColumnProps: {
|
|
971
|
-
type:
|
|
972
|
-
default: () =>
|
|
979
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
980
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
973
981
|
};
|
|
974
982
|
tableRowId: {
|
|
975
983
|
type: StringConstructor;
|
|
976
984
|
default: () => string | undefined;
|
|
977
985
|
};
|
|
978
986
|
customizeColumn: {
|
|
979
|
-
type:
|
|
987
|
+
type: PropType< TtTableProps["customizeColumn"]>;
|
|
980
988
|
};
|
|
981
989
|
showPager: {
|
|
982
990
|
type: BooleanConstructor;
|
|
@@ -1009,14 +1017,14 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1009
1017
|
};
|
|
1010
1018
|
emptyImageStyle: {
|
|
1011
1019
|
type: ObjectConstructor;
|
|
1012
|
-
default: () =>
|
|
1020
|
+
default: () => CSSProperties | undefined;
|
|
1013
1021
|
};
|
|
1014
1022
|
emptyText: {
|
|
1015
1023
|
type: StringConstructor;
|
|
1016
1024
|
default: () => string | undefined;
|
|
1017
1025
|
};
|
|
1018
1026
|
emptyImageStatus: {
|
|
1019
|
-
type:
|
|
1027
|
+
type: PropType<"no-data" | "no-search">;
|
|
1020
1028
|
default: () => "no-data" | "no-search" | undefined;
|
|
1021
1029
|
};
|
|
1022
1030
|
noSearchText: {
|
|
@@ -1024,7 +1032,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1024
1032
|
default: () => string | undefined;
|
|
1025
1033
|
};
|
|
1026
1034
|
columnsKey: {
|
|
1027
|
-
type:
|
|
1035
|
+
type: PropType<string | (() => string)>;
|
|
1028
1036
|
default: string;
|
|
1029
1037
|
};
|
|
1030
1038
|
useHttpCache: {
|
|
@@ -1032,7 +1040,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1032
1040
|
default: () => boolean | undefined;
|
|
1033
1041
|
};
|
|
1034
1042
|
defaultDisplayFields: {
|
|
1035
|
-
type:
|
|
1043
|
+
type: PropType<string[]>;
|
|
1036
1044
|
default: () => string[] | undefined;
|
|
1037
1045
|
};
|
|
1038
1046
|
clearTreeExpand: {
|
|
@@ -1048,10 +1056,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1048
1056
|
default: () => boolean | undefined;
|
|
1049
1057
|
};
|
|
1050
1058
|
tableApi: {
|
|
1051
|
-
type:
|
|
1059
|
+
type: PropType<TtTableExtendedTableApi>;
|
|
1052
1060
|
};
|
|
1053
1061
|
formApi: {
|
|
1054
|
-
type:
|
|
1062
|
+
type: PropType<TtExtendedFormApi>;
|
|
1055
1063
|
};
|
|
1056
1064
|
useSearchForm: any;
|
|
1057
1065
|
testId: {
|
|
@@ -1059,29 +1067,29 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1059
1067
|
default: undefined;
|
|
1060
1068
|
};
|
|
1061
1069
|
modelValue: {
|
|
1062
|
-
type:
|
|
1070
|
+
type: PropType< Recordable[]>;
|
|
1063
1071
|
};
|
|
1064
1072
|
}>> & Readonly<{
|
|
1065
|
-
"onUpdate:modelValue"?: ((value:
|
|
1073
|
+
"onUpdate:modelValue"?: ((value: Recordable[]) => any) | undefined;
|
|
1066
1074
|
}>, {
|
|
1067
|
-
xGrid:
|
|
1068
|
-
reload: (data?:
|
|
1075
|
+
xGrid: ComputedRef<VxeGridInstance<Recordable>>;
|
|
1076
|
+
reload: (data?: FetchParams) => Promise<void>;
|
|
1069
1077
|
redoHeight: (full?: boolean) => void;
|
|
1070
|
-
setProps: (props: Partial<
|
|
1078
|
+
setProps: (props: Partial< TtTableProps>) => void;
|
|
1071
1079
|
setLoading: (loading: boolean) => void;
|
|
1072
|
-
getLoading?:
|
|
1080
|
+
getLoading?: ComputedRef<boolean | undefined>;
|
|
1073
1081
|
setTableColumns: (columns: import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row>) => void;
|
|
1074
1082
|
getDataSource: () => import("vxe-table").VxeTablePropTypes.Row[];
|
|
1075
1083
|
setPagination: (props: Partial<import("vxe-table").VxeGridPropTypes.PagerConfig>) => void;
|
|
1076
1084
|
getPagination: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
1077
|
-
getTableInstance: () =>
|
|
1078
|
-
getSelectRowKeys: () =>
|
|
1079
|
-
getSelectRows: () =>
|
|
1085
|
+
getTableInstance: () => VxeGridMethods;
|
|
1086
|
+
getSelectRowKeys: () => TtSelectRowKeysType;
|
|
1087
|
+
getSelectRows: () => TtSelectRowsType;
|
|
1080
1088
|
getTableColumns: () => import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
1081
|
-
setSelectedRowKeys: (rows:
|
|
1089
|
+
setSelectedRowKeys: (rows: TtSelectRowsType, keys?: TtSelectRowKeysType) => void;
|
|
1082
1090
|
clearSelectedRowKeys: () => void;
|
|
1083
|
-
selectedKeys:
|
|
1084
|
-
selectedRows:
|
|
1091
|
+
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
1092
|
+
selectedRows: MaybeRef<TtSelectRowsType>;
|
|
1085
1093
|
insert: (records: any) => Promise<{
|
|
1086
1094
|
row: import("vxe-table").VxeTablePropTypes.Row;
|
|
1087
1095
|
rows: import("vxe-table").VxeTablePropTypes.Row[];
|
|
@@ -1155,8 +1163,8 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1155
1163
|
validate: (isFull?: boolean) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
1156
1164
|
validateField: (row: import("vxe-table").VxeTablePropTypes.Row, field: string) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
1157
1165
|
}, {}, {}, {}, {
|
|
1158
|
-
data:
|
|
1159
|
-
size:
|
|
1166
|
+
data: MaybeRef<any[]> | undefined;
|
|
1167
|
+
size: VxeComponentSizeType | undefined;
|
|
1160
1168
|
immediate: boolean;
|
|
1161
1169
|
height: string | number;
|
|
1162
1170
|
pagerConfig: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
@@ -1165,7 +1173,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1165
1173
|
showRadio: boolean;
|
|
1166
1174
|
radioConfig: import("vxe-table").VxeTablePropTypes.RadioConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
1167
1175
|
checkboxConfig: import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
1168
|
-
columns:
|
|
1176
|
+
columns: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
1169
1177
|
showOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1170
1178
|
showHeaderOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1171
1179
|
mouseConfig: import("vxe-table").VxeTablePropTypes.MouseConfig;
|
|
@@ -1222,52 +1230,52 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1222
1230
|
__isFragment?: never;
|
|
1223
1231
|
__isTeleport?: never;
|
|
1224
1232
|
__isSuspense?: never;
|
|
1225
|
-
} &
|
|
1233
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1226
1234
|
keyboardConfig: {
|
|
1227
|
-
type:
|
|
1235
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
1228
1236
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
1229
1237
|
};
|
|
1230
1238
|
mouseConfig: {
|
|
1231
|
-
type:
|
|
1239
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
1232
1240
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
1233
1241
|
};
|
|
1234
1242
|
checkboxConfig: {
|
|
1235
|
-
type:
|
|
1243
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
1236
1244
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<any> | undefined;
|
|
1237
1245
|
};
|
|
1238
1246
|
radioConfig: {
|
|
1239
|
-
type:
|
|
1247
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.RadioConfig>;
|
|
1240
1248
|
default: () => import("vxe-table").VxeTablePropTypes.RadioConfig<any> | undefined;
|
|
1241
1249
|
};
|
|
1242
1250
|
columns: {
|
|
1243
|
-
type:
|
|
1244
|
-
default: () =>
|
|
1251
|
+
type: PropType< TtTableProps["columns"]>;
|
|
1252
|
+
default: () => TtTableProps["columns"];
|
|
1245
1253
|
};
|
|
1246
1254
|
height: {
|
|
1247
1255
|
type: (NumberConstructor | StringConstructor)[];
|
|
1248
1256
|
default: () => import("vxe-table").VxeTablePropTypes.Height | undefined;
|
|
1249
1257
|
};
|
|
1250
1258
|
showOverflow: {
|
|
1251
|
-
type:
|
|
1259
|
+
type: PropType< TtTableProps["showOverflow"]>;
|
|
1252
1260
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1253
1261
|
};
|
|
1254
1262
|
showHeaderOverflow: {
|
|
1255
|
-
type:
|
|
1263
|
+
type: PropType< TtTableProps["showHeaderOverflow"]>;
|
|
1256
1264
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1257
1265
|
};
|
|
1258
1266
|
pagerConfig: {
|
|
1259
|
-
type:
|
|
1267
|
+
type: PropType< TtTableProps["pagerConfig"]>;
|
|
1260
1268
|
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
1261
1269
|
};
|
|
1262
1270
|
toolbarConfig: {
|
|
1263
|
-
type:
|
|
1271
|
+
type: PropType< TtTableProps["toolbarConfig"]>;
|
|
1264
1272
|
};
|
|
1265
1273
|
size: {
|
|
1266
|
-
type:
|
|
1267
|
-
default: () =>
|
|
1274
|
+
type: PropType< TtTableProps["size"]>;
|
|
1275
|
+
default: () => VxeComponentSizeType | undefined;
|
|
1268
1276
|
};
|
|
1269
1277
|
toolTipErrorPlacement: {
|
|
1270
|
-
type:
|
|
1278
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
1271
1279
|
default: string;
|
|
1272
1280
|
};
|
|
1273
1281
|
showToolbar: {
|
|
@@ -1275,11 +1283,11 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1275
1283
|
default: () => boolean | undefined;
|
|
1276
1284
|
};
|
|
1277
1285
|
columnsFieldSort: {
|
|
1278
|
-
type:
|
|
1286
|
+
type: PropType<string[]>;
|
|
1279
1287
|
default: () => string[] | undefined;
|
|
1280
1288
|
};
|
|
1281
1289
|
columnsFieldNoSort: {
|
|
1282
|
-
type:
|
|
1290
|
+
type: PropType<string[]>;
|
|
1283
1291
|
default: () => string[] | undefined;
|
|
1284
1292
|
};
|
|
1285
1293
|
showRefresh: {
|
|
@@ -1295,7 +1303,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1295
1303
|
default: () => boolean | undefined;
|
|
1296
1304
|
};
|
|
1297
1305
|
notSetColumnField: {
|
|
1298
|
-
type:
|
|
1306
|
+
type: PropType<string[]>;
|
|
1299
1307
|
default: () => string[] | undefined;
|
|
1300
1308
|
};
|
|
1301
1309
|
showTableAlert: {
|
|
@@ -1303,7 +1311,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1303
1311
|
default: () => boolean | undefined;
|
|
1304
1312
|
};
|
|
1305
1313
|
api: {
|
|
1306
|
-
type:
|
|
1314
|
+
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
1307
1315
|
default: null;
|
|
1308
1316
|
};
|
|
1309
1317
|
searchInfo: {
|
|
@@ -1315,20 +1323,20 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1315
1323
|
default: () => boolean | undefined;
|
|
1316
1324
|
};
|
|
1317
1325
|
afterFetch: {
|
|
1318
|
-
type:
|
|
1326
|
+
type: PropType< TtTableProps["afterFetch"]>;
|
|
1319
1327
|
default: null;
|
|
1320
1328
|
};
|
|
1321
1329
|
beforeFetch: {
|
|
1322
|
-
type:
|
|
1330
|
+
type: PropType< TtTableProps["beforeFetch"]>;
|
|
1323
1331
|
default: null;
|
|
1324
1332
|
};
|
|
1325
1333
|
beforePageChange: {
|
|
1326
|
-
type:
|
|
1334
|
+
type: PropType< TtTableProps["beforePageChange"]>;
|
|
1327
1335
|
default: null;
|
|
1328
1336
|
};
|
|
1329
1337
|
data: {
|
|
1330
|
-
type:
|
|
1331
|
-
default: () =>
|
|
1338
|
+
type: PropType< TtTableProps["data"]>;
|
|
1339
|
+
default: () => TtTableProps["data"];
|
|
1332
1340
|
};
|
|
1333
1341
|
isScrollFetch: {
|
|
1334
1342
|
type: BooleanConstructor;
|
|
@@ -1375,31 +1383,31 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1375
1383
|
default: () => string | undefined;
|
|
1376
1384
|
};
|
|
1377
1385
|
actionProps: {
|
|
1378
|
-
type:
|
|
1379
|
-
default: () =>
|
|
1386
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
1387
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
1380
1388
|
};
|
|
1381
1389
|
indexColumnProps: {
|
|
1382
|
-
type:
|
|
1383
|
-
default: () =>
|
|
1390
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
1391
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
1384
1392
|
};
|
|
1385
1393
|
checkboxColumnProps: {
|
|
1386
|
-
type:
|
|
1387
|
-
default: () =>
|
|
1394
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
1395
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
1388
1396
|
};
|
|
1389
1397
|
expandColumnProps: {
|
|
1390
|
-
type:
|
|
1391
|
-
default: () =>
|
|
1398
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
1399
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
1392
1400
|
};
|
|
1393
1401
|
radioColumnProps: {
|
|
1394
|
-
type:
|
|
1395
|
-
default: () =>
|
|
1402
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
1403
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
1396
1404
|
};
|
|
1397
1405
|
tableRowId: {
|
|
1398
1406
|
type: StringConstructor;
|
|
1399
1407
|
default: () => string | undefined;
|
|
1400
1408
|
};
|
|
1401
1409
|
customizeColumn: {
|
|
1402
|
-
type:
|
|
1410
|
+
type: PropType< TtTableProps["customizeColumn"]>;
|
|
1403
1411
|
};
|
|
1404
1412
|
showPager: {
|
|
1405
1413
|
type: BooleanConstructor;
|
|
@@ -1432,14 +1440,14 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1432
1440
|
};
|
|
1433
1441
|
emptyImageStyle: {
|
|
1434
1442
|
type: ObjectConstructor;
|
|
1435
|
-
default: () =>
|
|
1443
|
+
default: () => CSSProperties | undefined;
|
|
1436
1444
|
};
|
|
1437
1445
|
emptyText: {
|
|
1438
1446
|
type: StringConstructor;
|
|
1439
1447
|
default: () => string | undefined;
|
|
1440
1448
|
};
|
|
1441
1449
|
emptyImageStatus: {
|
|
1442
|
-
type:
|
|
1450
|
+
type: PropType<"no-data" | "no-search">;
|
|
1443
1451
|
default: () => "no-data" | "no-search" | undefined;
|
|
1444
1452
|
};
|
|
1445
1453
|
noSearchText: {
|
|
@@ -1447,7 +1455,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1447
1455
|
default: () => string | undefined;
|
|
1448
1456
|
};
|
|
1449
1457
|
columnsKey: {
|
|
1450
|
-
type:
|
|
1458
|
+
type: PropType<string | (() => string)>;
|
|
1451
1459
|
default: string;
|
|
1452
1460
|
};
|
|
1453
1461
|
useHttpCache: {
|
|
@@ -1455,7 +1463,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1455
1463
|
default: () => boolean | undefined;
|
|
1456
1464
|
};
|
|
1457
1465
|
defaultDisplayFields: {
|
|
1458
|
-
type:
|
|
1466
|
+
type: PropType<string[]>;
|
|
1459
1467
|
default: () => string[] | undefined;
|
|
1460
1468
|
};
|
|
1461
1469
|
clearTreeExpand: {
|
|
@@ -1471,10 +1479,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1471
1479
|
default: () => boolean | undefined;
|
|
1472
1480
|
};
|
|
1473
1481
|
tableApi: {
|
|
1474
|
-
type:
|
|
1482
|
+
type: PropType<TtTableExtendedTableApi>;
|
|
1475
1483
|
};
|
|
1476
1484
|
formApi: {
|
|
1477
|
-
type:
|
|
1485
|
+
type: PropType<TtExtendedFormApi>;
|
|
1478
1486
|
};
|
|
1479
1487
|
useSearchForm: any;
|
|
1480
1488
|
testId: {
|
|
@@ -1482,29 +1490,29 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1482
1490
|
default: undefined;
|
|
1483
1491
|
};
|
|
1484
1492
|
modelValue: {
|
|
1485
|
-
type:
|
|
1493
|
+
type: PropType< Recordable[]>;
|
|
1486
1494
|
};
|
|
1487
1495
|
}>> & Readonly<{
|
|
1488
|
-
"onUpdate:modelValue"?: ((value:
|
|
1496
|
+
"onUpdate:modelValue"?: ((value: Recordable[]) => any) | undefined;
|
|
1489
1497
|
}>, {
|
|
1490
|
-
xGrid:
|
|
1491
|
-
reload: (data?:
|
|
1498
|
+
xGrid: ComputedRef<VxeGridInstance<Recordable>>;
|
|
1499
|
+
reload: (data?: FetchParams) => Promise<void>;
|
|
1492
1500
|
redoHeight: (full?: boolean) => void;
|
|
1493
|
-
setProps: (props: Partial<
|
|
1501
|
+
setProps: (props: Partial< TtTableProps>) => void;
|
|
1494
1502
|
setLoading: (loading: boolean) => void;
|
|
1495
|
-
getLoading?:
|
|
1503
|
+
getLoading?: ComputedRef<boolean | undefined>;
|
|
1496
1504
|
setTableColumns: (columns: import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row>) => void;
|
|
1497
1505
|
getDataSource: () => import("vxe-table").VxeTablePropTypes.Row[];
|
|
1498
1506
|
setPagination: (props: Partial<import("vxe-table").VxeGridPropTypes.PagerConfig>) => void;
|
|
1499
1507
|
getPagination: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
1500
|
-
getTableInstance: () =>
|
|
1501
|
-
getSelectRowKeys: () =>
|
|
1502
|
-
getSelectRows: () =>
|
|
1508
|
+
getTableInstance: () => VxeGridMethods;
|
|
1509
|
+
getSelectRowKeys: () => TtSelectRowKeysType;
|
|
1510
|
+
getSelectRows: () => TtSelectRowsType;
|
|
1503
1511
|
getTableColumns: () => import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
1504
|
-
setSelectedRowKeys: (rows:
|
|
1512
|
+
setSelectedRowKeys: (rows: TtSelectRowsType, keys?: TtSelectRowKeysType) => void;
|
|
1505
1513
|
clearSelectedRowKeys: () => void;
|
|
1506
|
-
selectedKeys:
|
|
1507
|
-
selectedRows:
|
|
1514
|
+
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
1515
|
+
selectedRows: MaybeRef<TtSelectRowsType>;
|
|
1508
1516
|
insert: (records: any) => Promise<{
|
|
1509
1517
|
row: import("vxe-table").VxeTablePropTypes.Row;
|
|
1510
1518
|
rows: import("vxe-table").VxeTablePropTypes.Row[];
|
|
@@ -1577,11 +1585,11 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1577
1585
|
reloadTreeExpand: (row: any) => Promise<any>;
|
|
1578
1586
|
validate: (isFull?: boolean) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
1579
1587
|
validateField: (row: import("vxe-table").VxeTablePropTypes.Row, field: string) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
1580
|
-
}, {}, {}, {},
|
|
1581
|
-
"update:modelValue": (value:
|
|
1588
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1589
|
+
"update:modelValue": (value: Recordable[]) => void;
|
|
1582
1590
|
}, string, {
|
|
1583
|
-
data:
|
|
1584
|
-
size:
|
|
1591
|
+
data: MaybeRef<any[]> | undefined;
|
|
1592
|
+
size: VxeComponentSizeType | undefined;
|
|
1585
1593
|
immediate: boolean;
|
|
1586
1594
|
height: string | number;
|
|
1587
1595
|
pagerConfig: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
@@ -1590,7 +1598,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1590
1598
|
showRadio: boolean;
|
|
1591
1599
|
radioConfig: import("vxe-table").VxeTablePropTypes.RadioConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
1592
1600
|
checkboxConfig: import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
1593
|
-
columns:
|
|
1601
|
+
columns: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
1594
1602
|
showOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1595
1603
|
showHeaderOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
1596
1604
|
mouseConfig: import("vxe-table").VxeTablePropTypes.MouseConfig;
|
|
@@ -1643,25 +1651,25 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1643
1651
|
afterFetch: ((data: any[], res: Recordable | Recordable[]) => Promise<any[]>) | undefined;
|
|
1644
1652
|
beforeFetch: ((params: Recordable) => Promise<Recordable>) | undefined;
|
|
1645
1653
|
beforePageChange: ((page: import("vxe-table").VxeGridPropTypes.PagerConfig) => boolean | Promise<boolean>) | undefined;
|
|
1646
|
-
}, {}, string, {},
|
|
1654
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1647
1655
|
$slots: Readonly<{
|
|
1648
|
-
[key: string]: (props:
|
|
1649
|
-
top_title: (props:
|
|
1650
|
-
toolbar_buttons: (props:
|
|
1651
|
-
toolbar_tools: (props:
|
|
1652
|
-
buttom_left: (props:
|
|
1653
|
-
pager_left: (props:
|
|
1654
|
-
empty: (props:
|
|
1655
|
-
default: (props:
|
|
1656
|
+
[key: string]: (props: Recordable) => void;
|
|
1657
|
+
top_title: (props: Recordable) => void;
|
|
1658
|
+
toolbar_buttons: (props: Recordable) => void;
|
|
1659
|
+
toolbar_tools: (props: Recordable) => void;
|
|
1660
|
+
buttom_left: (props: Recordable) => void;
|
|
1661
|
+
pager_left: (props: Recordable) => void;
|
|
1662
|
+
empty: (props: Recordable) => void;
|
|
1663
|
+
default: (props: Recordable) => void;
|
|
1656
1664
|
}> & {
|
|
1657
|
-
[key: string]: (props:
|
|
1658
|
-
top_title: (props:
|
|
1659
|
-
toolbar_buttons: (props:
|
|
1660
|
-
toolbar_tools: (props:
|
|
1661
|
-
buttom_left: (props:
|
|
1662
|
-
pager_left: (props:
|
|
1663
|
-
empty: (props:
|
|
1664
|
-
default: (props:
|
|
1665
|
+
[key: string]: (props: Recordable) => void;
|
|
1666
|
+
top_title: (props: Recordable) => void;
|
|
1667
|
+
toolbar_buttons: (props: Recordable) => void;
|
|
1668
|
+
toolbar_tools: (props: Recordable) => void;
|
|
1669
|
+
buttom_left: (props: Recordable) => void;
|
|
1670
|
+
pager_left: (props: Recordable) => void;
|
|
1671
|
+
empty: (props: Recordable) => void;
|
|
1672
|
+
default: (props: Recordable) => void;
|
|
1665
1673
|
};
|
|
1666
1674
|
})> & Record<string, any>;
|
|
1667
1675
|
/** hooks */
|