@dazhicheng/ui 1.4.20 → 1.4.22
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-table/src/Table.vue.d.ts +0 -27
- package/dist/components/tt-table/src/props.d.ts +0 -30
- package/dist/components/types.d.ts +19 -19
- package/dist/index.js +2965 -3004
- package/package.json +3 -3
|
@@ -564,26 +564,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
564
564
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
565
565
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
566
566
|
};
|
|
567
|
-
clipConfig: {
|
|
568
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.ClipConfig>;
|
|
569
|
-
default: () => import("vxe-table").VxeTablePropTypes.ClipConfig<any> | undefined;
|
|
570
|
-
};
|
|
571
567
|
menuConfig: {
|
|
572
568
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.MenuConfig>;
|
|
573
569
|
default: () => {};
|
|
574
570
|
};
|
|
575
|
-
fnrConfig: {
|
|
576
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.FnrConfig>;
|
|
577
|
-
default: () => {};
|
|
578
|
-
};
|
|
579
571
|
mouseConfig: {
|
|
580
572
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
581
573
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
582
574
|
};
|
|
583
|
-
areaConfig: {
|
|
584
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.AreaConfig>;
|
|
585
|
-
default: () => import("vxe-table").VxeTablePropTypes.AreaConfig<any> | undefined;
|
|
586
|
-
};
|
|
587
575
|
checkboxConfig: {
|
|
588
576
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
589
577
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
@@ -854,26 +842,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
854
842
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
855
843
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
856
844
|
};
|
|
857
|
-
clipConfig: {
|
|
858
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.ClipConfig>;
|
|
859
|
-
default: () => import("vxe-table").VxeTablePropTypes.ClipConfig<any> | undefined;
|
|
860
|
-
};
|
|
861
845
|
menuConfig: {
|
|
862
846
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.MenuConfig>;
|
|
863
847
|
default: () => {};
|
|
864
848
|
};
|
|
865
|
-
fnrConfig: {
|
|
866
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.FnrConfig>;
|
|
867
|
-
default: () => {};
|
|
868
|
-
};
|
|
869
849
|
mouseConfig: {
|
|
870
850
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
871
851
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
872
852
|
};
|
|
873
|
-
areaConfig: {
|
|
874
|
-
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.AreaConfig>;
|
|
875
|
-
default: () => import("vxe-table").VxeTablePropTypes.AreaConfig<any> | undefined;
|
|
876
|
-
};
|
|
877
853
|
checkboxConfig: {
|
|
878
854
|
type: import('vue').PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
879
855
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
@@ -1106,10 +1082,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1106
1082
|
checkboxConfig: import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
1107
1083
|
menuConfig: import("vxe-table").VxeTablePropTypes.MenuConfig<any>;
|
|
1108
1084
|
mouseConfig: import("vxe-table").VxeTablePropTypes.MouseConfig;
|
|
1109
|
-
areaConfig: import("vxe-table").VxeTablePropTypes.AreaConfig<any>;
|
|
1110
|
-
fnrConfig: import("vxe-table").VxeTablePropTypes.FnrConfig<any>;
|
|
1111
1085
|
keyboardConfig: import("vxe-table").VxeTablePropTypes.KeyboardConfig<any>;
|
|
1112
|
-
clipConfig: import("vxe-table").VxeTablePropTypes.ClipConfig<any>;
|
|
1113
1086
|
emptyText: string;
|
|
1114
1087
|
clearTreeExpand: any;
|
|
1115
1088
|
toolTipErrorPlacement: "top" | "bottom" | "left" | "right";
|
|
@@ -277,31 +277,16 @@ export declare const tableProProps: {
|
|
|
277
277
|
type: PropType<VxeTablePropTypes.KeyboardConfig>;
|
|
278
278
|
default: () => VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
279
279
|
};
|
|
280
|
-
/** 复制/粘贴配置项 */
|
|
281
|
-
clipConfig: {
|
|
282
|
-
type: PropType<VxeTablePropTypes.ClipConfig>;
|
|
283
|
-
default: () => VxeTablePropTypes.ClipConfig<any> | undefined;
|
|
284
|
-
};
|
|
285
280
|
/** 右键菜单配置项 */
|
|
286
281
|
menuConfig: {
|
|
287
282
|
type: PropType<VxeTablePropTypes.MenuConfig>;
|
|
288
283
|
default: () => {};
|
|
289
284
|
};
|
|
290
|
-
/** 查找/替换配置项 */
|
|
291
|
-
fnrConfig: {
|
|
292
|
-
type: PropType<VxeTablePropTypes.FnrConfig>;
|
|
293
|
-
default: () => {};
|
|
294
|
-
};
|
|
295
285
|
/** 鼠标配置项 */
|
|
296
286
|
mouseConfig: {
|
|
297
287
|
type: PropType<VxeTablePropTypes.MouseConfig>;
|
|
298
288
|
default: () => VxeTablePropTypes.MouseConfig | undefined;
|
|
299
289
|
};
|
|
300
|
-
/** 区域选取配置项 */
|
|
301
|
-
areaConfig: {
|
|
302
|
-
type: PropType<VxeTablePropTypes.AreaConfig>;
|
|
303
|
-
default: () => VxeTablePropTypes.AreaConfig<any> | undefined;
|
|
304
|
-
};
|
|
305
290
|
/** 复选框配置项 */
|
|
306
291
|
checkboxConfig: {
|
|
307
292
|
type: PropType<VxeTablePropTypes.CheckboxConfig>;
|
|
@@ -368,31 +353,16 @@ export declare const tableOtherProps: {
|
|
|
368
353
|
type: PropType<VxeTablePropTypes.KeyboardConfig>;
|
|
369
354
|
default: () => VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
370
355
|
};
|
|
371
|
-
/** 复制/粘贴配置项 */
|
|
372
|
-
clipConfig: {
|
|
373
|
-
type: PropType<VxeTablePropTypes.ClipConfig>;
|
|
374
|
-
default: () => VxeTablePropTypes.ClipConfig<any> | undefined;
|
|
375
|
-
};
|
|
376
356
|
/** 右键菜单配置项 */
|
|
377
357
|
menuConfig: {
|
|
378
358
|
type: PropType<VxeTablePropTypes.MenuConfig>;
|
|
379
359
|
default: () => {};
|
|
380
360
|
};
|
|
381
|
-
/** 查找/替换配置项 */
|
|
382
|
-
fnrConfig: {
|
|
383
|
-
type: PropType<VxeTablePropTypes.FnrConfig>;
|
|
384
|
-
default: () => {};
|
|
385
|
-
};
|
|
386
361
|
/** 鼠标配置项 */
|
|
387
362
|
mouseConfig: {
|
|
388
363
|
type: PropType<VxeTablePropTypes.MouseConfig>;
|
|
389
364
|
default: () => VxeTablePropTypes.MouseConfig | undefined;
|
|
390
365
|
};
|
|
391
|
-
/** 区域选取配置项 */
|
|
392
|
-
areaConfig: {
|
|
393
|
-
type: PropType<VxeTablePropTypes.AreaConfig>;
|
|
394
|
-
default: () => VxeTablePropTypes.AreaConfig<any> | undefined;
|
|
395
|
-
};
|
|
396
366
|
/** 复选框配置项 */
|
|
397
367
|
checkboxConfig: {
|
|
398
368
|
type: PropType<VxeTablePropTypes.CheckboxConfig>;
|
|
@@ -9,6 +9,25 @@ export type TtUiGlobalConfig = {
|
|
|
9
9
|
*/
|
|
10
10
|
userId?: string | number;
|
|
11
11
|
table?: {
|
|
12
|
+
/** 自定义列服务端配置接口 - 获取 */
|
|
13
|
+
getColumnsApi?: (params: {
|
|
14
|
+
columnsKey: string;
|
|
15
|
+
userId: string | number;
|
|
16
|
+
}) => Promise<{
|
|
17
|
+
data: any;
|
|
18
|
+
}>;
|
|
19
|
+
/** 自定义列服务端配置接口 - 当没有id值得时候 */
|
|
20
|
+
setColumnsApi?: (params: {
|
|
21
|
+
columnKey: string;
|
|
22
|
+
columns: string[];
|
|
23
|
+
userId: string | number;
|
|
24
|
+
}) => Promise<any>;
|
|
25
|
+
/** 自定义列服务端配置接口 - 当有id值得时候 */
|
|
26
|
+
updateColumnsApi?: (params: {
|
|
27
|
+
columnKey: string;
|
|
28
|
+
columns: string[];
|
|
29
|
+
userId: string | number;
|
|
30
|
+
}) => Promise<any>;
|
|
12
31
|
/**
|
|
13
32
|
* 是否开启服务端缓存
|
|
14
33
|
* @default-false
|
|
@@ -75,32 +94,13 @@ export type TtUiGlobalConfig = {
|
|
|
75
94
|
* @default { isClip: true }
|
|
76
95
|
*/
|
|
77
96
|
keyboardConfig?: VxeTablePropTypes.KeyboardConfig;
|
|
78
|
-
/**
|
|
79
|
-
* @default
|
|
80
|
-
* {
|
|
81
|
-
isPaste: false,
|
|
82
|
-
isCopy: true,
|
|
83
|
-
}
|
|
84
|
-
*/
|
|
85
|
-
clipConfig?: VxeTablePropTypes.ClipConfig;
|
|
86
97
|
/**
|
|
87
98
|
* @default
|
|
88
99
|
* {
|
|
89
100
|
selected: false,
|
|
90
|
-
area: true,
|
|
91
|
-
extension: true,
|
|
92
101
|
}
|
|
93
102
|
*/
|
|
94
103
|
mouseConfig?: VxeTablePropTypes.MouseConfig;
|
|
95
|
-
/**
|
|
96
|
-
* @default
|
|
97
|
-
* {
|
|
98
|
-
extendByCopy: false,
|
|
99
|
-
extendByCalc: false,
|
|
100
|
-
excludeFields: ['dragBtn'],
|
|
101
|
-
}
|
|
102
|
-
*/
|
|
103
|
-
areaConfig?: VxeTablePropTypes.AreaConfig;
|
|
104
104
|
/**
|
|
105
105
|
* @default
|
|
106
106
|
* {
|