@dazhicheng/ui 1.5.1 → 1.5.4
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-button/index.d.ts +476 -476
- package/dist/components/tt-button/index.vue.d.ts +272 -272
- package/dist/components/tt-checkbox/index.d.ts +5 -5
- package/dist/components/tt-checkbox/index.vue.d.ts +2 -2
- package/dist/components/tt-drawer/index.d.ts +540 -540
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +297 -297
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +2 -2
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +118 -118
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +196 -196
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +98 -98
- package/dist/components/tt-icon/index.d.ts +3 -3
- package/dist/components/tt-icon/index.vue.d.ts +1 -1
- package/dist/components/tt-image/index.d.ts +5 -5
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +2 -2
- package/dist/components/tt-image/tt-image.d.ts +5 -5
- package/dist/components/tt-loading/index.d.ts +3 -3
- package/dist/components/tt-loading/src/loading.vue.d.ts +3 -3
- package/dist/components/tt-modal/index.d.ts +184 -184
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +101 -101
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +10 -10
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +33 -33
- package/dist/components/tt-part/index.d.ts +12 -12
- package/dist/components/tt-part/index.vue.d.ts +4 -4
- package/dist/components/tt-select/src/Select.vue.d.ts +89 -89
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +7 -7
- package/dist/components/tt-select/src/components/Table.vue.d.ts +9 -9
- package/dist/components/tt-table/src/Table.vue.d.ts +185 -179
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +1 -1
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +198 -228
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +1 -5
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +128 -128
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +7 -8
- package/dist/components/tt-table/src/props.d.ts +8 -5
- package/dist/components/tt-table/src/toolProps.d.ts +3 -21
- package/dist/components/tt-table/src/types/table.d.ts +8 -11
- package/dist/components/tt-table/src/types/tableTools.d.ts +2 -13
- package/dist/components/tt-text/index.d.ts +3 -3
- package/dist/components/tt-text/index.vue.d.ts +1 -1
- package/dist/components/tt-validate/src/Field.d.ts +4 -4
- package/dist/components/tt-validate/src/Form.d.ts +1 -1
- package/dist/components/tt-validate/src/utils/assertions.d.ts +1 -1
- package/dist/components/types.d.ts +10 -33
- package/dist/index.js +5942 -5976
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -103,16 +103,16 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
103
103
|
"update:modelValue": (val: boolean) => any;
|
|
104
104
|
"update:isExpand": (val: boolean) => any;
|
|
105
105
|
}, import('vue').PublicProps, {
|
|
106
|
-
type: string;
|
|
107
106
|
title: string;
|
|
108
107
|
modelValue: boolean;
|
|
108
|
+
type: string;
|
|
109
|
+
colSpan: number;
|
|
110
|
+
shadow: boolean;
|
|
109
111
|
labelWidth: string;
|
|
110
112
|
headerClass: string;
|
|
111
113
|
isExpand: boolean;
|
|
112
114
|
showExpand: boolean;
|
|
113
115
|
defaultExpand: boolean;
|
|
114
|
-
shadow: boolean;
|
|
115
|
-
colSpan: number;
|
|
116
116
|
colGap: number;
|
|
117
117
|
labelPosition: string;
|
|
118
118
|
segmentClass: string;
|
|
@@ -121,7 +121,7 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
121
121
|
iconType: string;
|
|
122
122
|
iconTextShow: boolean;
|
|
123
123
|
showBefore: boolean;
|
|
124
|
-
itemType: "
|
|
124
|
+
itemType: "border" | "default";
|
|
125
125
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
126
126
|
segmentRef: HTMLDivElement;
|
|
127
127
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -231,16 +231,16 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
231
231
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
232
232
|
"onUpdate:isExpand"?: ((val: boolean) => any) | undefined;
|
|
233
233
|
}>, {}, {}, {}, {}, {
|
|
234
|
-
type: string;
|
|
235
234
|
title: string;
|
|
236
235
|
modelValue: boolean;
|
|
236
|
+
type: string;
|
|
237
|
+
colSpan: number;
|
|
238
|
+
shadow: boolean;
|
|
237
239
|
labelWidth: string;
|
|
238
240
|
headerClass: string;
|
|
239
241
|
isExpand: boolean;
|
|
240
242
|
showExpand: boolean;
|
|
241
243
|
defaultExpand: boolean;
|
|
242
|
-
shadow: boolean;
|
|
243
|
-
colSpan: number;
|
|
244
244
|
colGap: number;
|
|
245
245
|
labelPosition: string;
|
|
246
246
|
segmentClass: string;
|
|
@@ -249,7 +249,7 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
249
249
|
iconType: string;
|
|
250
250
|
iconTextShow: boolean;
|
|
251
251
|
showBefore: boolean;
|
|
252
|
-
itemType: "
|
|
252
|
+
itemType: "border" | "default";
|
|
253
253
|
}>;
|
|
254
254
|
__isFragment?: never;
|
|
255
255
|
__isTeleport?: never;
|
|
@@ -357,16 +357,16 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
357
357
|
"update:modelValue": (val: boolean) => any;
|
|
358
358
|
"update:isExpand": (val: boolean) => any;
|
|
359
359
|
}, string, {
|
|
360
|
-
type: string;
|
|
361
360
|
title: string;
|
|
362
361
|
modelValue: boolean;
|
|
362
|
+
type: string;
|
|
363
|
+
colSpan: number;
|
|
364
|
+
shadow: boolean;
|
|
363
365
|
labelWidth: string;
|
|
364
366
|
headerClass: string;
|
|
365
367
|
isExpand: boolean;
|
|
366
368
|
showExpand: boolean;
|
|
367
369
|
defaultExpand: boolean;
|
|
368
|
-
shadow: boolean;
|
|
369
|
-
colSpan: number;
|
|
370
370
|
colGap: number;
|
|
371
371
|
labelPosition: string;
|
|
372
372
|
segmentClass: string;
|
|
@@ -375,7 +375,7 @@ export declare const TtPart: import('../../../../utils/src').SFCWithInstall<{
|
|
|
375
375
|
iconType: string;
|
|
376
376
|
iconTextShow: boolean;
|
|
377
377
|
showBefore: boolean;
|
|
378
|
-
itemType: "
|
|
378
|
+
itemType: "border" | "default";
|
|
379
379
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
380
380
|
$slots: Readonly<{
|
|
381
381
|
default: () => any;
|
|
@@ -222,16 +222,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
222
222
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
223
223
|
"onUpdate:isExpand"?: ((val: boolean) => any) | undefined;
|
|
224
224
|
}>, {
|
|
225
|
-
type: string;
|
|
226
225
|
title: string;
|
|
227
226
|
modelValue: boolean;
|
|
227
|
+
type: string;
|
|
228
|
+
colSpan: number;
|
|
229
|
+
shadow: boolean;
|
|
228
230
|
labelWidth: string;
|
|
229
231
|
headerClass: string;
|
|
230
232
|
isExpand: boolean;
|
|
231
233
|
showExpand: boolean;
|
|
232
234
|
defaultExpand: boolean;
|
|
233
|
-
shadow: boolean;
|
|
234
|
-
colSpan: number;
|
|
235
235
|
colGap: number;
|
|
236
236
|
labelPosition: string;
|
|
237
237
|
segmentClass: string;
|
|
@@ -240,7 +240,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
240
240
|
iconType: string;
|
|
241
241
|
iconTextShow: boolean;
|
|
242
242
|
showBefore: boolean;
|
|
243
|
-
itemType: "
|
|
243
|
+
itemType: "border" | "default";
|
|
244
244
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
245
245
|
segmentRef: HTMLDivElement;
|
|
246
246
|
}, HTMLDivElement>;
|
|
@@ -27,46 +27,46 @@ declare function __VLS_template(): {
|
|
|
27
27
|
$: import('vue').ComponentInternalInstance;
|
|
28
28
|
$data: {};
|
|
29
29
|
$props: Partial<{
|
|
30
|
-
|
|
30
|
+
list: Record<string, any>[];
|
|
31
31
|
loading: boolean;
|
|
32
|
+
showCheckbox: boolean;
|
|
33
|
+
showPager: boolean;
|
|
34
|
+
grid: import('./props').TtSelectGridProps;
|
|
32
35
|
multiple: boolean;
|
|
36
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
37
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
38
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
33
39
|
multipleLimit: number;
|
|
34
40
|
configProps: import('./types').TtSelectConfigProps;
|
|
35
41
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
36
|
-
list: Record<string, any>[];
|
|
37
|
-
showPager: boolean;
|
|
38
42
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
39
43
|
selectValue: TtSelectModelValueType;
|
|
40
44
|
selectWidth: number;
|
|
41
45
|
deleteField: string;
|
|
42
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
43
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
44
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
45
46
|
hasNextPage: boolean;
|
|
46
|
-
showCheckbox: boolean;
|
|
47
47
|
}> & Omit<{
|
|
48
|
-
readonly
|
|
48
|
+
readonly list: Record<string, any>[];
|
|
49
49
|
readonly loading: boolean;
|
|
50
|
+
readonly showCheckbox: boolean;
|
|
51
|
+
readonly showPager: boolean;
|
|
52
|
+
readonly grid: import('./props').TtSelectGridProps;
|
|
50
53
|
readonly multiple: boolean;
|
|
54
|
+
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
55
|
+
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
56
|
+
readonly reload: (bool?: boolean) => Promise<void>;
|
|
51
57
|
readonly multipleLimit: number;
|
|
52
58
|
readonly configProps: import('./types').TtSelectConfigProps;
|
|
53
59
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
54
|
-
readonly list: Record<string, any>[];
|
|
55
|
-
readonly showPager: boolean;
|
|
56
60
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
57
61
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
58
62
|
readonly selectWidth: number;
|
|
59
63
|
readonly deleteField: string;
|
|
60
|
-
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
61
|
-
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
62
|
-
readonly reload: (bool?: boolean) => Promise<void>;
|
|
63
64
|
readonly hasNextPage: boolean;
|
|
64
|
-
readonly showCheckbox: boolean;
|
|
65
65
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
68
67
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
69
|
-
|
|
68
|
+
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "list" | "loading" | "showCheckbox" | "showPager" | "grid" | "multiple" | "getPagination" | "setPagination" | "reload" | "multipleLimit" | "configProps" | "disableFn" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "hasNextPage">;
|
|
70
70
|
$attrs: {
|
|
71
71
|
[x: string]: unknown;
|
|
72
72
|
};
|
|
@@ -86,7 +86,7 @@ declare function __VLS_template(): {
|
|
|
86
86
|
$root: import('vue').ComponentPublicInstance | null;
|
|
87
87
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
88
88
|
$host: Element | null;
|
|
89
|
-
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "
|
|
89
|
+
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void);
|
|
90
90
|
$el: any;
|
|
91
91
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
92
92
|
configProps: {
|
|
@@ -159,9 +159,9 @@ declare function __VLS_template(): {
|
|
|
159
159
|
};
|
|
160
160
|
}>> & Readonly<{
|
|
161
161
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
162
|
-
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
163
162
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
164
163
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
166
|
clearCurrentRow: () => void;
|
|
167
167
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
@@ -189,27 +189,27 @@ declare function __VLS_template(): {
|
|
|
189
189
|
};
|
|
190
190
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
191
191
|
scroll: (...args: any[]) => void;
|
|
192
|
-
"radio-change": (...args: any[]) => void;
|
|
193
192
|
"checkbox-change": (...args: any[]) => void;
|
|
194
193
|
"checkbox-all": (...args: any[]) => void;
|
|
194
|
+
"radio-change": (...args: any[]) => void;
|
|
195
195
|
}, string, {
|
|
196
|
-
|
|
196
|
+
list: Record<string, any>[];
|
|
197
197
|
loading: boolean;
|
|
198
|
+
showCheckbox: boolean;
|
|
199
|
+
showPager: boolean;
|
|
200
|
+
grid: import('./props').TtSelectGridProps;
|
|
198
201
|
multiple: boolean;
|
|
202
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
203
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
204
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
199
205
|
multipleLimit: number;
|
|
200
206
|
configProps: import('./types').TtSelectConfigProps;
|
|
201
207
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
202
|
-
list: Record<string, any>[];
|
|
203
|
-
showPager: boolean;
|
|
204
208
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
205
209
|
selectValue: TtSelectModelValueType;
|
|
206
210
|
selectWidth: number;
|
|
207
211
|
deleteField: string;
|
|
208
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
209
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
210
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
211
212
|
hasNextPage: boolean;
|
|
212
|
-
showCheckbox: boolean;
|
|
213
213
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
214
214
|
beforeCreate?: (() => void) | (() => void)[];
|
|
215
215
|
created?: (() => void) | (() => void)[];
|
|
@@ -231,23 +231,23 @@ declare function __VLS_template(): {
|
|
|
231
231
|
$nextTick: typeof import('vue').nextTick;
|
|
232
232
|
$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;
|
|
233
233
|
} & Readonly<{
|
|
234
|
-
|
|
234
|
+
list: Record<string, any>[];
|
|
235
235
|
loading: boolean;
|
|
236
|
+
showCheckbox: boolean;
|
|
237
|
+
showPager: boolean;
|
|
238
|
+
grid: import('./props').TtSelectGridProps;
|
|
236
239
|
multiple: boolean;
|
|
240
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
241
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
242
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
237
243
|
multipleLimit: number;
|
|
238
244
|
configProps: import('./types').TtSelectConfigProps;
|
|
239
245
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
240
|
-
list: Record<string, any>[];
|
|
241
|
-
showPager: boolean;
|
|
242
246
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
243
247
|
selectValue: TtSelectModelValueType;
|
|
244
248
|
selectWidth: number;
|
|
245
249
|
deleteField: string;
|
|
246
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
247
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
248
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
249
250
|
hasNextPage: boolean;
|
|
250
|
-
showCheckbox: boolean;
|
|
251
251
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
252
252
|
configProps: {
|
|
253
253
|
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
@@ -319,10 +319,10 @@ declare function __VLS_template(): {
|
|
|
319
319
|
};
|
|
320
320
|
}>> & Readonly<{
|
|
321
321
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
322
|
-
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
323
322
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
324
323
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
325
|
-
|
|
324
|
+
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
}>, "scrollTo" | "getRowIndex" | "getData" | "setCheckboxRow" | "clearCheckboxRow" | "setCurrentRow" | "setRadioRow" | "clearCurrentRow" | "clearRadioRow" | "getCurrentRecord" | "scrollToRow" | "getGridInstance" | ("list" | "loading" | "showCheckbox" | "showPager" | "grid" | "multiple" | "getPagination" | "setPagination" | "reload" | "multipleLimit" | "configProps" | "disableFn" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "hasNextPage")> & import('vue').ShallowUnwrapRef<{
|
|
326
326
|
clearCurrentRow: () => void;
|
|
327
327
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
328
328
|
clearCheckboxRow: () => void;
|
|
@@ -420,17 +420,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
420
420
|
}>, {
|
|
421
421
|
[x: string]: any;
|
|
422
422
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
423
|
-
blur: () => any;
|
|
424
|
-
change: (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
425
|
-
focus: () => any;
|
|
426
|
-
scroll: (event: VxeGridDefines.ScrollEventParams<any>) => any;
|
|
427
|
-
clear: () => any;
|
|
428
|
-
"update:modelValue": (val: TtSelectModelValueType) => any;
|
|
429
423
|
"fetch-success": (options: TtSelectDataOptions[]) => any;
|
|
430
424
|
"fetch-error": (error: Record<string, any>) => any;
|
|
425
|
+
"update:modelValue": (val: TtSelectModelValueType) => any;
|
|
426
|
+
focus: () => any;
|
|
427
|
+
blur: () => any;
|
|
428
|
+
clear: () => any;
|
|
429
|
+
scroll: (event: VxeGridDefines.ScrollEventParams<any>) => any;
|
|
430
|
+
"scroll-boundary": (event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any;
|
|
431
|
+
change: (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
431
432
|
"visible-change": (visible: boolean) => any;
|
|
432
433
|
"remove-tag": (tagValue: TtSelectModelUnionType) => any;
|
|
433
|
-
"scroll-boundary": (event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any;
|
|
434
434
|
"select-change": (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
|
|
435
435
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
436
436
|
modelValue: {
|
|
@@ -490,78 +490,78 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
490
490
|
default: boolean;
|
|
491
491
|
};
|
|
492
492
|
}>> & Readonly<{
|
|
493
|
-
onBlur?: (() => any) | undefined;
|
|
494
|
-
onChange?: ((val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any) | undefined;
|
|
495
|
-
onFocus?: (() => any) | undefined;
|
|
496
|
-
onScroll?: ((event: VxeGridDefines.ScrollEventParams<any>) => any) | undefined;
|
|
497
|
-
onClear?: (() => any) | undefined;
|
|
498
|
-
"onUpdate:modelValue"?: ((val: TtSelectModelValueType) => any) | undefined;
|
|
499
493
|
"onFetch-success"?: ((options: TtSelectDataOptions[]) => any) | undefined;
|
|
500
494
|
"onFetch-error"?: ((error: Record<string, any>) => any) | undefined;
|
|
495
|
+
"onUpdate:modelValue"?: ((val: TtSelectModelValueType) => any) | undefined;
|
|
496
|
+
onFocus?: (() => any) | undefined;
|
|
497
|
+
onBlur?: (() => any) | undefined;
|
|
498
|
+
onClear?: (() => any) | undefined;
|
|
499
|
+
onScroll?: ((event: VxeGridDefines.ScrollEventParams<any>) => any) | undefined;
|
|
500
|
+
"onScroll-boundary"?: ((event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any) | undefined;
|
|
501
|
+
onChange?: ((val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any) | undefined;
|
|
501
502
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
502
503
|
"onRemove-tag"?: ((tagValue: TtSelectModelUnionType) => any) | undefined;
|
|
503
|
-
"onScroll-boundary"?: ((event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any) | undefined;
|
|
504
504
|
"onSelect-change"?: ((val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any) | undefined;
|
|
505
505
|
}>, {
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
border: boolean;
|
|
507
|
+
renderType: "table" | "grid" | "select" | "tree";
|
|
508
508
|
loading: boolean;
|
|
509
509
|
modelValue: TtSelectModelValueType;
|
|
510
|
-
|
|
510
|
+
disabled: boolean;
|
|
511
|
+
placeholder: string;
|
|
512
|
+
extra: Record<string, any>;
|
|
511
513
|
beforeChange: (val: TtSelectModelUnionType, oVal: TtSelectModelUnionType, option?: TtSelectDataOptions) => Promise<boolean>;
|
|
512
514
|
disabledTip: import('../../../directives/disabled-tip').TipConfig | import('../../../directives/disabled-tip').TipConfig[];
|
|
513
515
|
maxCollapseTags: number;
|
|
514
516
|
selectProps: Partial<Omit<SelectProps, "modelValue">>;
|
|
515
517
|
gridProps: import('./props').TtSelectGridProps;
|
|
516
|
-
renderType: "select" | "table" | "grid" | "tree";
|
|
517
518
|
configProps: import('./types').TtSelectConfigProps;
|
|
518
|
-
extra: Record<string, any>;
|
|
519
519
|
immediateEmitChange: boolean;
|
|
520
520
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
521
521
|
tableRef: ({
|
|
522
522
|
$: import('vue').ComponentInternalInstance;
|
|
523
523
|
$data: {};
|
|
524
524
|
$props: Partial<{
|
|
525
|
-
|
|
525
|
+
list: Record<string, any>[];
|
|
526
526
|
loading: boolean;
|
|
527
|
+
showCheckbox: boolean;
|
|
528
|
+
showPager: boolean;
|
|
529
|
+
grid: import('./props').TtSelectGridProps;
|
|
527
530
|
multiple: boolean;
|
|
531
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
532
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
533
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
528
534
|
multipleLimit: number;
|
|
529
535
|
configProps: import('./types').TtSelectConfigProps;
|
|
530
536
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
531
|
-
list: Record<string, any>[];
|
|
532
|
-
showPager: boolean;
|
|
533
537
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
534
538
|
selectValue: TtSelectModelValueType;
|
|
535
539
|
selectWidth: number;
|
|
536
540
|
deleteField: string;
|
|
537
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
538
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
539
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
540
541
|
hasNextPage: boolean;
|
|
541
|
-
showCheckbox: boolean;
|
|
542
542
|
}> & Omit<{
|
|
543
|
-
readonly
|
|
543
|
+
readonly list: Record<string, any>[];
|
|
544
544
|
readonly loading: boolean;
|
|
545
|
+
readonly showCheckbox: boolean;
|
|
546
|
+
readonly showPager: boolean;
|
|
547
|
+
readonly grid: import('./props').TtSelectGridProps;
|
|
545
548
|
readonly multiple: boolean;
|
|
549
|
+
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
550
|
+
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
551
|
+
readonly reload: (bool?: boolean) => Promise<void>;
|
|
546
552
|
readonly multipleLimit: number;
|
|
547
553
|
readonly configProps: import('./types').TtSelectConfigProps;
|
|
548
554
|
readonly disableFn: (value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean;
|
|
549
|
-
readonly list: Record<string, any>[];
|
|
550
|
-
readonly showPager: boolean;
|
|
551
555
|
readonly pagination: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
552
556
|
readonly selectValue: string | number | boolean | (string | number | boolean)[] | null;
|
|
553
557
|
readonly selectWidth: number;
|
|
554
558
|
readonly deleteField: string;
|
|
555
|
-
readonly setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
556
|
-
readonly getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
557
|
-
readonly reload: (bool?: boolean) => Promise<void>;
|
|
558
559
|
readonly hasNextPage: boolean;
|
|
559
|
-
readonly showCheckbox: boolean;
|
|
560
560
|
readonly onScroll?: ((...args: any[]) => any) | undefined;
|
|
561
|
-
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
562
561
|
readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
563
562
|
readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
564
|
-
|
|
563
|
+
readonly "onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
564
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "list" | "loading" | "showCheckbox" | "showPager" | "grid" | "multiple" | "getPagination" | "setPagination" | "reload" | "multipleLimit" | "configProps" | "disableFn" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "hasNextPage">;
|
|
565
565
|
$attrs: {
|
|
566
566
|
[x: string]: unknown;
|
|
567
567
|
};
|
|
@@ -581,7 +581,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
581
581
|
$root: import('vue').ComponentPublicInstance | null;
|
|
582
582
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
583
583
|
$host: Element | null;
|
|
584
|
-
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "
|
|
584
|
+
$emit: ((event: "scroll", ...args: any[]) => void) & ((event: "checkbox-change", ...args: any[]) => void) & ((event: "checkbox-all", ...args: any[]) => void) & ((event: "radio-change", ...args: any[]) => void);
|
|
585
585
|
$el: any;
|
|
586
586
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
587
587
|
configProps: {
|
|
@@ -654,9 +654,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
654
654
|
};
|
|
655
655
|
}>> & Readonly<{
|
|
656
656
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
657
|
-
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
658
657
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
659
658
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
659
|
+
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
660
660
|
}>, {
|
|
661
661
|
clearCurrentRow: () => void;
|
|
662
662
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
@@ -684,27 +684,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
684
684
|
};
|
|
685
685
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
686
686
|
scroll: (...args: any[]) => void;
|
|
687
|
-
"radio-change": (...args: any[]) => void;
|
|
688
687
|
"checkbox-change": (...args: any[]) => void;
|
|
689
688
|
"checkbox-all": (...args: any[]) => void;
|
|
689
|
+
"radio-change": (...args: any[]) => void;
|
|
690
690
|
}, string, {
|
|
691
|
-
|
|
691
|
+
list: Record<string, any>[];
|
|
692
692
|
loading: boolean;
|
|
693
|
+
showCheckbox: boolean;
|
|
694
|
+
showPager: boolean;
|
|
695
|
+
grid: import('./props').TtSelectGridProps;
|
|
693
696
|
multiple: boolean;
|
|
697
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
698
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
699
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
694
700
|
multipleLimit: number;
|
|
695
701
|
configProps: import('./types').TtSelectConfigProps;
|
|
696
702
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
697
|
-
list: Record<string, any>[];
|
|
698
|
-
showPager: boolean;
|
|
699
703
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
700
704
|
selectValue: TtSelectModelValueType;
|
|
701
705
|
selectWidth: number;
|
|
702
706
|
deleteField: string;
|
|
703
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
704
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
705
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
706
707
|
hasNextPage: boolean;
|
|
707
|
-
showCheckbox: boolean;
|
|
708
708
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
709
709
|
beforeCreate?: (() => void) | (() => void)[];
|
|
710
710
|
created?: (() => void) | (() => void)[];
|
|
@@ -726,23 +726,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
726
726
|
$nextTick: typeof import('vue').nextTick;
|
|
727
727
|
$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;
|
|
728
728
|
} & Readonly<{
|
|
729
|
-
|
|
729
|
+
list: Record<string, any>[];
|
|
730
730
|
loading: boolean;
|
|
731
|
+
showCheckbox: boolean;
|
|
732
|
+
showPager: boolean;
|
|
733
|
+
grid: import('./props').TtSelectGridProps;
|
|
731
734
|
multiple: boolean;
|
|
735
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
736
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
737
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
732
738
|
multipleLimit: number;
|
|
733
739
|
configProps: import('./types').TtSelectConfigProps;
|
|
734
740
|
disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
|
|
735
|
-
list: Record<string, any>[];
|
|
736
|
-
showPager: boolean;
|
|
737
741
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
738
742
|
selectValue: TtSelectModelValueType;
|
|
739
743
|
selectWidth: number;
|
|
740
744
|
deleteField: string;
|
|
741
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
742
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
743
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
744
745
|
hasNextPage: boolean;
|
|
745
|
-
showCheckbox: boolean;
|
|
746
746
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
747
747
|
configProps: {
|
|
748
748
|
type: import('vue').PropType<import('./props').TtSelectProps["configProps"]>;
|
|
@@ -814,10 +814,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
814
814
|
};
|
|
815
815
|
}>> & Readonly<{
|
|
816
816
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
817
|
-
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
818
817
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
819
818
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
820
|
-
|
|
819
|
+
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
820
|
+
}>, "scrollTo" | "getRowIndex" | "getData" | "setCheckboxRow" | "clearCheckboxRow" | "setCurrentRow" | "setRadioRow" | "clearCurrentRow" | "clearRadioRow" | "getCurrentRecord" | "scrollToRow" | "getGridInstance" | ("list" | "loading" | "showCheckbox" | "showPager" | "grid" | "multiple" | "getPagination" | "setPagination" | "reload" | "multipleLimit" | "configProps" | "disableFn" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "hasNextPage")> & import('vue').ShallowUnwrapRef<{
|
|
821
821
|
clearCurrentRow: () => void;
|
|
822
822
|
setCheckboxRow: (rows: any | any[], checked: boolean) => void;
|
|
823
823
|
clearCheckboxRow: () => void;
|
|
@@ -82,23 +82,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
82
|
}>, {
|
|
83
83
|
getGridInstance: typeof getGridInstance;
|
|
84
84
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
|
|
85
|
-
|
|
85
|
+
list: Record<string, any>[];
|
|
86
86
|
loading: boolean;
|
|
87
|
+
showCheckbox: boolean;
|
|
88
|
+
showPager: boolean;
|
|
89
|
+
grid: import('../props').TtSelectGridProps;
|
|
87
90
|
multiple: boolean;
|
|
91
|
+
getPagination: () => VxeGridProps["pagerConfig"];
|
|
92
|
+
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
93
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
88
94
|
multipleLimit: number;
|
|
89
95
|
configProps: import('../types').TtSelectConfigProps;
|
|
90
96
|
disableFn: ((value: any, modelValue?: import('../types').TtSelectModelValueType, option?: import('../types').TtSelectDataOptions) => boolean) | undefined;
|
|
91
|
-
list: Record<string, any>[];
|
|
92
|
-
showPager: boolean;
|
|
93
97
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
94
98
|
selectValue: import('../types').TtSelectModelValueType;
|
|
95
99
|
selectWidth: number;
|
|
96
100
|
deleteField: string;
|
|
97
|
-
setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
|
|
98
|
-
getPagination: () => VxeGridProps["pagerConfig"];
|
|
99
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
100
101
|
hasNextPage: boolean;
|
|
101
|
-
showCheckbox: boolean;
|
|
102
102
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
103
103
|
gridRef: any;
|
|
104
104
|
}, HTMLDivElement>;
|
|
@@ -138,9 +138,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
138
138
|
};
|
|
139
139
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
140
140
|
scroll: (...args: any[]) => void;
|
|
141
|
-
"radio-change": (...args: any[]) => void;
|
|
142
141
|
"checkbox-change": (...args: any[]) => void;
|
|
143
142
|
"checkbox-all": (...args: any[]) => void;
|
|
143
|
+
"radio-change": (...args: any[]) => void;
|
|
144
144
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
145
145
|
configProps: {
|
|
146
146
|
type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
|
|
@@ -212,27 +212,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
212
212
|
};
|
|
213
213
|
}>> & Readonly<{
|
|
214
214
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
216
215
|
"onCheckbox-change"?: ((...args: any[]) => any) | undefined;
|
|
217
216
|
"onCheckbox-all"?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
"onRadio-change"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
}>, {
|
|
219
|
-
|
|
219
|
+
list: Record<string, any>[];
|
|
220
220
|
loading: boolean;
|
|
221
|
+
showCheckbox: boolean;
|
|
222
|
+
showPager: boolean;
|
|
223
|
+
grid: import('../props').TtSelectGridProps;
|
|
221
224
|
multiple: boolean;
|
|
225
|
+
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
226
|
+
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
227
|
+
reload: (bool?: boolean) => Promise<void>;
|
|
222
228
|
multipleLimit: number;
|
|
223
229
|
configProps: import('../types').TtSelectConfigProps;
|
|
224
230
|
disableFn: ((value: any, modelValue?: import('../types').TtSelectModelValueType, option?: import('../types').TtSelectDataOptions) => boolean) | undefined;
|
|
225
|
-
list: Record<string, any>[];
|
|
226
|
-
showPager: boolean;
|
|
227
231
|
pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
228
232
|
selectValue: import('../types').TtSelectModelValueType;
|
|
229
233
|
selectWidth: number;
|
|
230
234
|
deleteField: string;
|
|
231
|
-
setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
|
|
232
|
-
getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
|
|
233
|
-
reload: (bool?: boolean) => Promise<void>;
|
|
234
235
|
hasNextPage: boolean;
|
|
235
|
-
showCheckbox: boolean;
|
|
236
236
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
237
237
|
vxelist: (import('vxe-pc-ui').VxeListMethods & {
|
|
238
238
|
$props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps;
|