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