@dazhicheng/ui 1.6.23 → 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/useDataPermissionOptions.js +76 -72
- 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,6 +1,11 @@
|
|
|
1
1
|
import { SelectProps } from 'element-plus';
|
|
2
|
-
import { VxeGridDefines } from 'vxe-table';
|
|
3
|
-
import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions, TtSelectDataOptions } from './types';
|
|
2
|
+
import { VxeGridDefines, VxeGridProps } from 'vxe-table';
|
|
3
|
+
import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions, TtSelectDataOptions, TtSelectConfigProps } from './types';
|
|
4
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNode, DefineComponent, PublicProps } from 'vue';
|
|
5
|
+
import { TtSelectGridProps, TtSelectProps } from './props';
|
|
6
|
+
import { VxeListMethods, VxeListProps, VxeListEventProps, VxeListSlots } from 'vxe-pc-ui';
|
|
7
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
8
|
+
import { TipConfig } from '../../../directives/disabled-tip';
|
|
4
9
|
declare function __VLS_template(): {
|
|
5
10
|
attrs: Partial<{}>;
|
|
6
11
|
slots: Readonly<{
|
|
@@ -26,81 +31,81 @@ declare function __VLS_template(): {
|
|
|
26
31
|
};
|
|
27
32
|
refs: {
|
|
28
33
|
tableRef: ({
|
|
29
|
-
$:
|
|
34
|
+
$: ComponentInternalInstance;
|
|
30
35
|
$data: {};
|
|
31
36
|
$props: Partial<{
|
|
32
|
-
grid:
|
|
37
|
+
grid: TtSelectGridProps;
|
|
33
38
|
list: Record<string, any>[];
|
|
34
39
|
reload: (bool?: boolean) => Promise<void>;
|
|
35
40
|
loading: boolean;
|
|
36
41
|
multiple: boolean;
|
|
37
42
|
multipleLimit: number;
|
|
38
|
-
configProps:
|
|
43
|
+
configProps: TtSelectConfigProps;
|
|
39
44
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
40
45
|
showPager: boolean;
|
|
41
46
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
42
47
|
selectValue: TtSelectModelValueType;
|
|
43
48
|
selectWidth: number;
|
|
44
49
|
deleteField: string;
|
|
45
|
-
setPagination: (pagination:
|
|
46
|
-
getPagination: () =>
|
|
50
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
51
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
47
52
|
hasNextPage: boolean;
|
|
48
53
|
showCheckbox: boolean;
|
|
49
54
|
}> & Omit<{
|
|
50
|
-
readonly grid:
|
|
55
|
+
readonly grid: TtSelectGridProps;
|
|
51
56
|
readonly list: Record<string, any>[];
|
|
52
57
|
readonly reload: (bool?: boolean) => Promise<void>;
|
|
53
58
|
readonly loading: boolean;
|
|
54
59
|
readonly multiple: boolean;
|
|
55
60
|
readonly multipleLimit: number;
|
|
56
|
-
readonly configProps:
|
|
61
|
+
readonly configProps: TtSelectConfigProps;
|
|
57
62
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
58
63
|
readonly showPager: boolean;
|
|
59
64
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
60
65
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
61
66
|
readonly selectWidth: number;
|
|
62
67
|
readonly deleteField: string;
|
|
63
|
-
readonly setPagination: (pagination:
|
|
64
|
-
readonly getPagination: () =>
|
|
68
|
+
readonly setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
69
|
+
readonly getPagination: () => VxeGridProps["pagerConfig"];
|
|
65
70
|
readonly hasNextPage: boolean;
|
|
66
71
|
readonly showCheckbox: boolean;
|
|
67
72
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
68
73
|
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
69
74
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
70
75
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
} &
|
|
76
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
72
77
|
$attrs: {
|
|
73
78
|
[x: string]: unknown;
|
|
74
79
|
};
|
|
75
80
|
$refs: {
|
|
76
81
|
[x: string]: unknown;
|
|
77
82
|
} & {
|
|
78
|
-
vxelist: (
|
|
79
|
-
$props:
|
|
80
|
-
$slots:
|
|
83
|
+
vxelist: ( VxeListMethods<any> & {
|
|
84
|
+
$props: VxeListProps<any> & VxeListEventProps<any>;
|
|
85
|
+
$slots: VxeListSlots;
|
|
81
86
|
}) | null;
|
|
82
87
|
table: HTMLTableElement;
|
|
83
88
|
resizableBar: HTMLDivElement;
|
|
84
89
|
};
|
|
85
90
|
$slots: Readonly<{
|
|
86
|
-
[name: string]:
|
|
91
|
+
[name: string]: Slot<any> | undefined;
|
|
87
92
|
}>;
|
|
88
|
-
$root:
|
|
89
|
-
$parent:
|
|
93
|
+
$root: ComponentPublicInstance | null;
|
|
94
|
+
$parent: ComponentPublicInstance | null;
|
|
90
95
|
$host: Element | null;
|
|
91
96
|
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void);
|
|
92
97
|
$el: any;
|
|
93
|
-
$options:
|
|
98
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
94
99
|
configProps: {
|
|
95
|
-
type:
|
|
100
|
+
type: PropType< TtSelectProps["configProps"]>;
|
|
96
101
|
default: () => {};
|
|
97
102
|
};
|
|
98
103
|
grid: {
|
|
99
|
-
type:
|
|
104
|
+
type: PropType< TtSelectProps["gridProps"]>;
|
|
100
105
|
default: () => {};
|
|
101
106
|
};
|
|
102
107
|
list: {
|
|
103
|
-
type:
|
|
108
|
+
type: PropType<Record<string, any>[]>;
|
|
104
109
|
default: () => Record<string, any>[];
|
|
105
110
|
};
|
|
106
111
|
loading: {
|
|
@@ -112,7 +117,7 @@ declare function __VLS_template(): {
|
|
|
112
117
|
default: boolean;
|
|
113
118
|
};
|
|
114
119
|
pagination: {
|
|
115
|
-
type:
|
|
120
|
+
type: PropType< VxeGridProps["pagerConfig"]>;
|
|
116
121
|
default: () => {};
|
|
117
122
|
};
|
|
118
123
|
multiple: {
|
|
@@ -120,11 +125,11 @@ declare function __VLS_template(): {
|
|
|
120
125
|
default: boolean;
|
|
121
126
|
};
|
|
122
127
|
disableFn: {
|
|
123
|
-
type:
|
|
128
|
+
type: PropType< TtSelectConfigProps["disableFn"]>;
|
|
124
129
|
default: null;
|
|
125
130
|
};
|
|
126
131
|
selectValue: {
|
|
127
|
-
type:
|
|
132
|
+
type: PropType<TtSelectModelValueType>;
|
|
128
133
|
default: () => TtSelectModelValueType;
|
|
129
134
|
};
|
|
130
135
|
selectWidth: {
|
|
@@ -136,15 +141,15 @@ declare function __VLS_template(): {
|
|
|
136
141
|
default: string;
|
|
137
142
|
};
|
|
138
143
|
setPagination: {
|
|
139
|
-
type:
|
|
144
|
+
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
140
145
|
default: null;
|
|
141
146
|
};
|
|
142
147
|
getPagination: {
|
|
143
|
-
type:
|
|
148
|
+
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
144
149
|
default: null;
|
|
145
150
|
};
|
|
146
151
|
reload: {
|
|
147
|
-
type:
|
|
152
|
+
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
148
153
|
default: null;
|
|
149
154
|
};
|
|
150
155
|
hasNextPage: {
|
|
@@ -189,30 +194,30 @@ declare function __VLS_template(): {
|
|
|
189
194
|
setCurrentRow: (row: any) => void;
|
|
190
195
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
191
196
|
};
|
|
192
|
-
}, {}, {}, {},
|
|
197
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
193
198
|
scroll: (...args: any[]) => void;
|
|
194
199
|
"radio-change": (...args: any[]) => void;
|
|
195
200
|
"checkbox-change": (...args: any[]) => void;
|
|
196
201
|
"checkbox-all": (...args: any[]) => void;
|
|
197
202
|
}, string, {
|
|
198
|
-
grid:
|
|
203
|
+
grid: TtSelectGridProps;
|
|
199
204
|
list: Record<string, any>[];
|
|
200
205
|
reload: (bool?: boolean) => Promise<void>;
|
|
201
206
|
loading: boolean;
|
|
202
207
|
multiple: boolean;
|
|
203
208
|
multipleLimit: number;
|
|
204
|
-
configProps:
|
|
209
|
+
configProps: TtSelectConfigProps;
|
|
205
210
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
206
211
|
showPager: boolean;
|
|
207
212
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
208
213
|
selectValue: TtSelectModelValueType;
|
|
209
214
|
selectWidth: number;
|
|
210
215
|
deleteField: string;
|
|
211
|
-
setPagination: (pagination:
|
|
212
|
-
getPagination: () =>
|
|
216
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
217
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
213
218
|
hasNextPage: boolean;
|
|
214
219
|
showCheckbox: boolean;
|
|
215
|
-
}, {}, string, {},
|
|
220
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
216
221
|
beforeCreate?: (() => void) | (() => void)[];
|
|
217
222
|
created?: (() => void) | (() => void)[];
|
|
218
223
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -225,42 +230,42 @@ declare function __VLS_template(): {
|
|
|
225
230
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
226
231
|
destroyed?: (() => void) | (() => void)[];
|
|
227
232
|
unmounted?: (() => void) | (() => void)[];
|
|
228
|
-
renderTracked?: ((e:
|
|
229
|
-
renderTriggered?: ((e:
|
|
230
|
-
errorCaptured?: ((err: unknown, instance:
|
|
233
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
234
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
235
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
231
236
|
};
|
|
232
237
|
$forceUpdate: () => void;
|
|
233
|
-
$nextTick:
|
|
234
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
238
|
+
$nextTick: nextTick;
|
|
239
|
+
$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;
|
|
235
240
|
} & Readonly<{
|
|
236
|
-
grid:
|
|
241
|
+
grid: TtSelectGridProps;
|
|
237
242
|
list: Record<string, any>[];
|
|
238
243
|
reload: (bool?: boolean) => Promise<void>;
|
|
239
244
|
loading: boolean;
|
|
240
245
|
multiple: boolean;
|
|
241
246
|
multipleLimit: number;
|
|
242
|
-
configProps:
|
|
247
|
+
configProps: TtSelectConfigProps;
|
|
243
248
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
244
249
|
showPager: boolean;
|
|
245
250
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
246
251
|
selectValue: TtSelectModelValueType;
|
|
247
252
|
selectWidth: number;
|
|
248
253
|
deleteField: string;
|
|
249
|
-
setPagination: (pagination:
|
|
250
|
-
getPagination: () =>
|
|
254
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
255
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
251
256
|
hasNextPage: boolean;
|
|
252
257
|
showCheckbox: boolean;
|
|
253
|
-
}> & Omit<Readonly<
|
|
258
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
|
254
259
|
configProps: {
|
|
255
|
-
type:
|
|
260
|
+
type: PropType< TtSelectProps["configProps"]>;
|
|
256
261
|
default: () => {};
|
|
257
262
|
};
|
|
258
263
|
grid: {
|
|
259
|
-
type:
|
|
264
|
+
type: PropType< TtSelectProps["gridProps"]>;
|
|
260
265
|
default: () => {};
|
|
261
266
|
};
|
|
262
267
|
list: {
|
|
263
|
-
type:
|
|
268
|
+
type: PropType<Record<string, any>[]>;
|
|
264
269
|
default: () => Record<string, any>[];
|
|
265
270
|
};
|
|
266
271
|
loading: {
|
|
@@ -272,7 +277,7 @@ declare function __VLS_template(): {
|
|
|
272
277
|
default: boolean;
|
|
273
278
|
};
|
|
274
279
|
pagination: {
|
|
275
|
-
type:
|
|
280
|
+
type: PropType< VxeGridProps["pagerConfig"]>;
|
|
276
281
|
default: () => {};
|
|
277
282
|
};
|
|
278
283
|
multiple: {
|
|
@@ -280,11 +285,11 @@ declare function __VLS_template(): {
|
|
|
280
285
|
default: boolean;
|
|
281
286
|
};
|
|
282
287
|
disableFn: {
|
|
283
|
-
type:
|
|
288
|
+
type: PropType< TtSelectConfigProps["disableFn"]>;
|
|
284
289
|
default: null;
|
|
285
290
|
};
|
|
286
291
|
selectValue: {
|
|
287
|
-
type:
|
|
292
|
+
type: PropType<TtSelectModelValueType>;
|
|
288
293
|
default: () => TtSelectModelValueType;
|
|
289
294
|
};
|
|
290
295
|
selectWidth: {
|
|
@@ -296,15 +301,15 @@ declare function __VLS_template(): {
|
|
|
296
301
|
default: string;
|
|
297
302
|
};
|
|
298
303
|
setPagination: {
|
|
299
|
-
type:
|
|
304
|
+
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
300
305
|
default: null;
|
|
301
306
|
};
|
|
302
307
|
getPagination: {
|
|
303
|
-
type:
|
|
308
|
+
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
304
309
|
default: null;
|
|
305
310
|
};
|
|
306
311
|
reload: {
|
|
307
|
-
type:
|
|
312
|
+
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
308
313
|
default: null;
|
|
309
314
|
};
|
|
310
315
|
hasNextPage: {
|
|
@@ -324,7 +329,7 @@ declare function __VLS_template(): {
|
|
|
324
329
|
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
325
330
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
326
331
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
327
|
-
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> &
|
|
332
|
+
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & ShallowUnwrapRef<{
|
|
328
333
|
clearCurrentRow: () => void;
|
|
329
334
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
330
335
|
clearCheckboxRow: () => void;
|
|
@@ -349,46 +354,46 @@ declare function __VLS_template(): {
|
|
|
349
354
|
setCurrentRow: (row: any) => void;
|
|
350
355
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
351
356
|
};
|
|
352
|
-
}> & {} &
|
|
357
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
353
358
|
$slots: Readonly<{
|
|
354
|
-
[slotName: string]: (props: Record<string, any>) =>
|
|
355
|
-
empty: () =>
|
|
359
|
+
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
360
|
+
empty: () => VNode;
|
|
356
361
|
}> & {
|
|
357
|
-
[slotName: string]: (props: Record<string, any>) =>
|
|
358
|
-
empty: () =>
|
|
362
|
+
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
363
|
+
empty: () => VNode;
|
|
359
364
|
};
|
|
360
365
|
}) | null;
|
|
361
366
|
};
|
|
362
367
|
rootEl: any;
|
|
363
368
|
};
|
|
364
369
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
365
|
-
declare const __VLS_component:
|
|
370
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
366
371
|
modelValue: {
|
|
367
|
-
type:
|
|
372
|
+
type: PropType<TtSelectModelValueType>;
|
|
368
373
|
default: undefined;
|
|
369
374
|
};
|
|
370
375
|
selectProps: {
|
|
371
|
-
type:
|
|
376
|
+
type: PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
372
377
|
default: () => {};
|
|
373
378
|
};
|
|
374
379
|
gridProps: {
|
|
375
|
-
type:
|
|
380
|
+
type: PropType<TtSelectGridProps>;
|
|
376
381
|
default: () => {};
|
|
377
382
|
};
|
|
378
383
|
renderType: {
|
|
379
|
-
type:
|
|
384
|
+
type: PropType<"select" | "grid" | "tree" | "table">;
|
|
380
385
|
default: string;
|
|
381
386
|
};
|
|
382
387
|
configProps: {
|
|
383
|
-
type:
|
|
384
|
-
default: () =>
|
|
388
|
+
type: PropType<TtSelectConfigProps>;
|
|
389
|
+
default: () => TtSelectConfigProps;
|
|
385
390
|
};
|
|
386
391
|
extra: {
|
|
387
|
-
type:
|
|
392
|
+
type: PropType<Record<string, any>>;
|
|
388
393
|
default: () => {};
|
|
389
394
|
};
|
|
390
395
|
beforeChange: {
|
|
391
|
-
type:
|
|
396
|
+
type: PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
392
397
|
default: null;
|
|
393
398
|
};
|
|
394
399
|
loading: {
|
|
@@ -404,7 +409,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
404
409
|
default: string;
|
|
405
410
|
};
|
|
406
411
|
disabledTip: {
|
|
407
|
-
type:
|
|
412
|
+
type: PropType< TipConfig | TipConfig[]>;
|
|
408
413
|
default: undefined;
|
|
409
414
|
};
|
|
410
415
|
maxCollapseTags: {
|
|
@@ -421,7 +426,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
421
426
|
};
|
|
422
427
|
}>, {
|
|
423
428
|
[x: string]: any;
|
|
424
|
-
}, {}, {}, {},
|
|
429
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
425
430
|
blur: () => any;
|
|
426
431
|
change: (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
427
432
|
focus: () => any;
|
|
@@ -434,33 +439,33 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
434
439
|
"remove-tag": (tagValue: TtSelectModelUnionType) => any;
|
|
435
440
|
"scroll-boundary": (event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any;
|
|
436
441
|
"select-change": (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
437
|
-
}, string,
|
|
442
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
438
443
|
modelValue: {
|
|
439
|
-
type:
|
|
444
|
+
type: PropType<TtSelectModelValueType>;
|
|
440
445
|
default: undefined;
|
|
441
446
|
};
|
|
442
447
|
selectProps: {
|
|
443
|
-
type:
|
|
448
|
+
type: PropType<Partial<Omit<SelectProps, "modelValue">>>;
|
|
444
449
|
default: () => {};
|
|
445
450
|
};
|
|
446
451
|
gridProps: {
|
|
447
|
-
type:
|
|
452
|
+
type: PropType<TtSelectGridProps>;
|
|
448
453
|
default: () => {};
|
|
449
454
|
};
|
|
450
455
|
renderType: {
|
|
451
|
-
type:
|
|
456
|
+
type: PropType<"select" | "grid" | "tree" | "table">;
|
|
452
457
|
default: string;
|
|
453
458
|
};
|
|
454
459
|
configProps: {
|
|
455
|
-
type:
|
|
456
|
-
default: () =>
|
|
460
|
+
type: PropType<TtSelectConfigProps>;
|
|
461
|
+
default: () => TtSelectConfigProps;
|
|
457
462
|
};
|
|
458
463
|
extra: {
|
|
459
|
-
type:
|
|
464
|
+
type: PropType<Record<string, any>>;
|
|
460
465
|
default: () => {};
|
|
461
466
|
};
|
|
462
467
|
beforeChange: {
|
|
463
|
-
type:
|
|
468
|
+
type: PropType<(val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>>;
|
|
464
469
|
default: null;
|
|
465
470
|
};
|
|
466
471
|
loading: {
|
|
@@ -476,7 +481,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
476
481
|
default: string;
|
|
477
482
|
};
|
|
478
483
|
disabledTip: {
|
|
479
|
-
type:
|
|
484
|
+
type: PropType< TipConfig | TipConfig[]>;
|
|
480
485
|
default: undefined;
|
|
481
486
|
};
|
|
482
487
|
maxCollapseTags: {
|
|
@@ -511,91 +516,91 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
511
516
|
modelValue: TtSelectModelValueType;
|
|
512
517
|
border: boolean;
|
|
513
518
|
beforeChange: (val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>;
|
|
514
|
-
disabledTip:
|
|
519
|
+
disabledTip: TipConfig | TipConfig[];
|
|
515
520
|
maxCollapseTags: number;
|
|
516
521
|
selectProps: Partial<Omit<SelectProps, "modelValue">>;
|
|
517
|
-
gridProps:
|
|
522
|
+
gridProps: TtSelectGridProps;
|
|
518
523
|
renderType: "select" | "table" | "grid" | "tree";
|
|
519
|
-
configProps:
|
|
524
|
+
configProps: TtSelectConfigProps;
|
|
520
525
|
extra: Record<string, any>;
|
|
521
526
|
immediateEmitChange: boolean;
|
|
522
|
-
}, {}, {}, {}, string,
|
|
527
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
523
528
|
tableRef: ({
|
|
524
|
-
$:
|
|
529
|
+
$: ComponentInternalInstance;
|
|
525
530
|
$data: {};
|
|
526
531
|
$props: Partial<{
|
|
527
|
-
grid:
|
|
532
|
+
grid: TtSelectGridProps;
|
|
528
533
|
list: Record<string, any>[];
|
|
529
534
|
reload: (bool?: boolean) => Promise<void>;
|
|
530
535
|
loading: boolean;
|
|
531
536
|
multiple: boolean;
|
|
532
537
|
multipleLimit: number;
|
|
533
|
-
configProps:
|
|
538
|
+
configProps: TtSelectConfigProps;
|
|
534
539
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
535
540
|
showPager: boolean;
|
|
536
541
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
537
542
|
selectValue: TtSelectModelValueType;
|
|
538
543
|
selectWidth: number;
|
|
539
544
|
deleteField: string;
|
|
540
|
-
setPagination: (pagination:
|
|
541
|
-
getPagination: () =>
|
|
545
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
546
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
542
547
|
hasNextPage: boolean;
|
|
543
548
|
showCheckbox: boolean;
|
|
544
549
|
}> & Omit<{
|
|
545
|
-
readonly grid:
|
|
550
|
+
readonly grid: TtSelectGridProps;
|
|
546
551
|
readonly list: Record<string, any>[];
|
|
547
552
|
readonly reload: (bool?: boolean) => Promise<void>;
|
|
548
553
|
readonly loading: boolean;
|
|
549
554
|
readonly multiple: boolean;
|
|
550
555
|
readonly multipleLimit: number;
|
|
551
|
-
readonly configProps:
|
|
556
|
+
readonly configProps: TtSelectConfigProps;
|
|
552
557
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
553
558
|
readonly showPager: boolean;
|
|
554
559
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
555
560
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
556
561
|
readonly selectWidth: number;
|
|
557
562
|
readonly deleteField: string;
|
|
558
|
-
readonly setPagination: (pagination:
|
|
559
|
-
readonly getPagination: () =>
|
|
563
|
+
readonly setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
564
|
+
readonly getPagination: () => VxeGridProps["pagerConfig"];
|
|
560
565
|
readonly hasNextPage: boolean;
|
|
561
566
|
readonly showCheckbox: boolean;
|
|
562
567
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
563
568
|
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
564
569
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
565
570
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
566
|
-
} &
|
|
571
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
|
|
567
572
|
$attrs: {
|
|
568
573
|
[x: string]: unknown;
|
|
569
574
|
};
|
|
570
575
|
$refs: {
|
|
571
576
|
[x: string]: unknown;
|
|
572
577
|
} & {
|
|
573
|
-
vxelist: (
|
|
574
|
-
$props:
|
|
575
|
-
$slots:
|
|
578
|
+
vxelist: ( VxeListMethods<any> & {
|
|
579
|
+
$props: VxeListProps<any> & VxeListEventProps<any>;
|
|
580
|
+
$slots: VxeListSlots;
|
|
576
581
|
}) | null;
|
|
577
582
|
table: HTMLTableElement;
|
|
578
583
|
resizableBar: HTMLDivElement;
|
|
579
584
|
};
|
|
580
585
|
$slots: Readonly<{
|
|
581
|
-
[name: string]:
|
|
586
|
+
[name: string]: Slot<any> | undefined;
|
|
582
587
|
}>;
|
|
583
|
-
$root:
|
|
584
|
-
$parent:
|
|
588
|
+
$root: ComponentPublicInstance | null;
|
|
589
|
+
$parent: ComponentPublicInstance | null;
|
|
585
590
|
$host: Element | null;
|
|
586
591
|
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void);
|
|
587
592
|
$el: any;
|
|
588
|
-
$options:
|
|
593
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
589
594
|
configProps: {
|
|
590
|
-
type:
|
|
595
|
+
type: PropType< TtSelectProps["configProps"]>;
|
|
591
596
|
default: () => {};
|
|
592
597
|
};
|
|
593
598
|
grid: {
|
|
594
|
-
type:
|
|
599
|
+
type: PropType< TtSelectProps["gridProps"]>;
|
|
595
600
|
default: () => {};
|
|
596
601
|
};
|
|
597
602
|
list: {
|
|
598
|
-
type:
|
|
603
|
+
type: PropType<Record<string, any>[]>;
|
|
599
604
|
default: () => Record<string, any>[];
|
|
600
605
|
};
|
|
601
606
|
loading: {
|
|
@@ -607,7 +612,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
607
612
|
default: boolean;
|
|
608
613
|
};
|
|
609
614
|
pagination: {
|
|
610
|
-
type:
|
|
615
|
+
type: PropType< VxeGridProps["pagerConfig"]>;
|
|
611
616
|
default: () => {};
|
|
612
617
|
};
|
|
613
618
|
multiple: {
|
|
@@ -615,11 +620,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
615
620
|
default: boolean;
|
|
616
621
|
};
|
|
617
622
|
disableFn: {
|
|
618
|
-
type:
|
|
623
|
+
type: PropType< TtSelectConfigProps["disableFn"]>;
|
|
619
624
|
default: null;
|
|
620
625
|
};
|
|
621
626
|
selectValue: {
|
|
622
|
-
type:
|
|
627
|
+
type: PropType<TtSelectModelValueType>;
|
|
623
628
|
default: () => TtSelectModelValueType;
|
|
624
629
|
};
|
|
625
630
|
selectWidth: {
|
|
@@ -631,15 +636,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
631
636
|
default: string;
|
|
632
637
|
};
|
|
633
638
|
setPagination: {
|
|
634
|
-
type:
|
|
639
|
+
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
635
640
|
default: null;
|
|
636
641
|
};
|
|
637
642
|
getPagination: {
|
|
638
|
-
type:
|
|
643
|
+
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
639
644
|
default: null;
|
|
640
645
|
};
|
|
641
646
|
reload: {
|
|
642
|
-
type:
|
|
647
|
+
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
643
648
|
default: null;
|
|
644
649
|
};
|
|
645
650
|
hasNextPage: {
|
|
@@ -684,30 +689,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
684
689
|
setCurrentRow: (row: any) => void;
|
|
685
690
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
686
691
|
};
|
|
687
|
-
}, {}, {}, {},
|
|
692
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
688
693
|
scroll: (...args: any[]) => void;
|
|
689
694
|
"radio-change": (...args: any[]) => void;
|
|
690
695
|
"checkbox-change": (...args: any[]) => void;
|
|
691
696
|
"checkbox-all": (...args: any[]) => void;
|
|
692
697
|
}, string, {
|
|
693
|
-
grid:
|
|
698
|
+
grid: TtSelectGridProps;
|
|
694
699
|
list: Record<string, any>[];
|
|
695
700
|
reload: (bool?: boolean) => Promise<void>;
|
|
696
701
|
loading: boolean;
|
|
697
702
|
multiple: boolean;
|
|
698
703
|
multipleLimit: number;
|
|
699
|
-
configProps:
|
|
704
|
+
configProps: TtSelectConfigProps;
|
|
700
705
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
701
706
|
showPager: boolean;
|
|
702
707
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
703
708
|
selectValue: TtSelectModelValueType;
|
|
704
709
|
selectWidth: number;
|
|
705
710
|
deleteField: string;
|
|
706
|
-
setPagination: (pagination:
|
|
707
|
-
getPagination: () =>
|
|
711
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
712
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
708
713
|
hasNextPage: boolean;
|
|
709
714
|
showCheckbox: boolean;
|
|
710
|
-
}, {}, string, {},
|
|
715
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
711
716
|
beforeCreate?: (() => void) | (() => void)[];
|
|
712
717
|
created?: (() => void) | (() => void)[];
|
|
713
718
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -720,42 +725,42 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
720
725
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
721
726
|
destroyed?: (() => void) | (() => void)[];
|
|
722
727
|
unmounted?: (() => void) | (() => void)[];
|
|
723
|
-
renderTracked?: ((e:
|
|
724
|
-
renderTriggered?: ((e:
|
|
725
|
-
errorCaptured?: ((err: unknown, instance:
|
|
728
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
729
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
730
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
726
731
|
};
|
|
727
732
|
$forceUpdate: () => void;
|
|
728
|
-
$nextTick:
|
|
729
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
733
|
+
$nextTick: nextTick;
|
|
734
|
+
$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;
|
|
730
735
|
} & Readonly<{
|
|
731
|
-
grid:
|
|
736
|
+
grid: TtSelectGridProps;
|
|
732
737
|
list: Record<string, any>[];
|
|
733
738
|
reload: (bool?: boolean) => Promise<void>;
|
|
734
739
|
loading: boolean;
|
|
735
740
|
multiple: boolean;
|
|
736
741
|
multipleLimit: number;
|
|
737
|
-
configProps:
|
|
742
|
+
configProps: TtSelectConfigProps;
|
|
738
743
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
739
744
|
showPager: boolean;
|
|
740
745
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
741
746
|
selectValue: TtSelectModelValueType;
|
|
742
747
|
selectWidth: number;
|
|
743
748
|
deleteField: string;
|
|
744
|
-
setPagination: (pagination:
|
|
745
|
-
getPagination: () =>
|
|
749
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
750
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
746
751
|
hasNextPage: boolean;
|
|
747
752
|
showCheckbox: boolean;
|
|
748
|
-
}> & Omit<Readonly<
|
|
753
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
|
749
754
|
configProps: {
|
|
750
|
-
type:
|
|
755
|
+
type: PropType< TtSelectProps["configProps"]>;
|
|
751
756
|
default: () => {};
|
|
752
757
|
};
|
|
753
758
|
grid: {
|
|
754
|
-
type:
|
|
759
|
+
type: PropType< TtSelectProps["gridProps"]>;
|
|
755
760
|
default: () => {};
|
|
756
761
|
};
|
|
757
762
|
list: {
|
|
758
|
-
type:
|
|
763
|
+
type: PropType<Record<string, any>[]>;
|
|
759
764
|
default: () => Record<string, any>[];
|
|
760
765
|
};
|
|
761
766
|
loading: {
|
|
@@ -767,7 +772,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
767
772
|
default: boolean;
|
|
768
773
|
};
|
|
769
774
|
pagination: {
|
|
770
|
-
type:
|
|
775
|
+
type: PropType< VxeGridProps["pagerConfig"]>;
|
|
771
776
|
default: () => {};
|
|
772
777
|
};
|
|
773
778
|
multiple: {
|
|
@@ -775,11 +780,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
775
780
|
default: boolean;
|
|
776
781
|
};
|
|
777
782
|
disableFn: {
|
|
778
|
-
type:
|
|
783
|
+
type: PropType< TtSelectConfigProps["disableFn"]>;
|
|
779
784
|
default: null;
|
|
780
785
|
};
|
|
781
786
|
selectValue: {
|
|
782
|
-
type:
|
|
787
|
+
type: PropType<TtSelectModelValueType>;
|
|
783
788
|
default: () => TtSelectModelValueType;
|
|
784
789
|
};
|
|
785
790
|
selectWidth: {
|
|
@@ -791,15 +796,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
791
796
|
default: string;
|
|
792
797
|
};
|
|
793
798
|
setPagination: {
|
|
794
|
-
type:
|
|
799
|
+
type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
|
|
795
800
|
default: null;
|
|
796
801
|
};
|
|
797
802
|
getPagination: {
|
|
798
|
-
type:
|
|
803
|
+
type: PropType<() => VxeGridProps["pagerConfig"]>;
|
|
799
804
|
default: null;
|
|
800
805
|
};
|
|
801
806
|
reload: {
|
|
802
|
-
type:
|
|
807
|
+
type: PropType<(bool?: boolean) => Promise<void>>;
|
|
803
808
|
default: null;
|
|
804
809
|
};
|
|
805
810
|
hasNextPage: {
|
|
@@ -819,7 +824,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
819
824
|
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
820
825
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
821
826
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
822
|
-
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> &
|
|
827
|
+
}>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & ShallowUnwrapRef<{
|
|
823
828
|
clearCurrentRow: () => void;
|
|
824
829
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
825
830
|
clearCheckboxRow: () => void;
|
|
@@ -844,13 +849,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
844
849
|
setCurrentRow: (row: any) => void;
|
|
845
850
|
getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
|
|
846
851
|
};
|
|
847
|
-
}> & {} &
|
|
852
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
848
853
|
$slots: Readonly<{
|
|
849
|
-
[slotName: string]: (props: Record<string, any>) =>
|
|
850
|
-
empty: () =>
|
|
854
|
+
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
855
|
+
empty: () => VNode;
|
|
851
856
|
}> & {
|
|
852
|
-
[slotName: string]: (props: Record<string, any>) =>
|
|
853
|
-
empty: () =>
|
|
857
|
+
[slotName: string]: (props: Record<string, any>) => VNode;
|
|
858
|
+
empty: () => VNode;
|
|
854
859
|
};
|
|
855
860
|
}) | null;
|
|
856
861
|
}, any>;
|