tutor-pro-ui-vue 1.3.4-beta → 1.3.8-beta
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/index.css +1 -1
- package/dist/index.css.gz +0 -0
- package/dist/index.js +21598 -21208
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +40 -40
- package/dist/src/components/CommonCheckbox/src/index.vue.d.ts +2 -2
- package/dist/src/components/CommonCheckbox/src/types.d.ts +1 -1
- package/dist/src/components/CommonCheckboxGroup/src/index.vue.d.ts +13 -13
- package/dist/src/components/CommonCheckboxGroup/src/types.d.ts +6 -6
- package/dist/src/components/CommonDatePicker/src/index.vue.d.ts +3 -0
- package/dist/src/components/CommonDatePicker/src/types.d.ts +1 -0
- package/dist/src/components/CommonForm/fields/Cascader.vue.d.ts +4 -4
- package/dist/src/components/CommonForm/fields/TreeSelect.vue.d.ts +2 -2
- package/dist/src/components/CommonTable/src/index.vue.d.ts +4 -10
- package/dist/src/components/CommonTable/src/types.d.ts +6 -7
- package/package.json +2 -2
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
25
25
|
};
|
|
26
26
|
ariaControls: StringConstructor;
|
|
27
27
|
value: {
|
|
28
|
-
type: (ObjectConstructor |
|
|
28
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
29
29
|
default: undefined;
|
|
30
30
|
};
|
|
31
31
|
indeterminate: BooleanConstructor;
|
|
@@ -83,7 +83,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
83
83
|
};
|
|
84
84
|
ariaControls: StringConstructor;
|
|
85
85
|
value: {
|
|
86
|
-
type: (ObjectConstructor |
|
|
86
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
87
87
|
default: undefined;
|
|
88
88
|
};
|
|
89
89
|
indeterminate: BooleanConstructor;
|
|
@@ -18,7 +18,7 @@ export declare const commonCheckboxProps: {
|
|
|
18
18
|
};
|
|
19
19
|
ariaControls: StringConstructor;
|
|
20
20
|
value: {
|
|
21
|
-
type: (ObjectConstructor |
|
|
21
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
24
|
indeterminate: BooleanConstructor;
|
|
@@ -52,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
52
52
|
};
|
|
53
53
|
ariaControls: StringConstructor;
|
|
54
54
|
value: {
|
|
55
|
-
type: (ObjectConstructor |
|
|
55
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
56
56
|
default: undefined;
|
|
57
57
|
};
|
|
58
58
|
indeterminate: BooleanConstructor;
|
|
@@ -109,7 +109,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
109
109
|
};
|
|
110
110
|
ariaControls: StringConstructor;
|
|
111
111
|
value: {
|
|
112
|
-
type: (ObjectConstructor |
|
|
112
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
113
113
|
default: undefined;
|
|
114
114
|
};
|
|
115
115
|
indeterminate: BooleanConstructor;
|
|
@@ -165,7 +165,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
165
165
|
};
|
|
166
166
|
ariaControls: StringConstructor;
|
|
167
167
|
value: {
|
|
168
|
-
type: (ObjectConstructor |
|
|
168
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
169
169
|
default: undefined;
|
|
170
170
|
};
|
|
171
171
|
indeterminate: BooleanConstructor;
|
|
@@ -222,7 +222,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
222
222
|
};
|
|
223
223
|
ariaControls: StringConstructor;
|
|
224
224
|
value: {
|
|
225
|
-
type: (ObjectConstructor |
|
|
225
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
226
226
|
default: undefined;
|
|
227
227
|
};
|
|
228
228
|
indeterminate: BooleanConstructor;
|
|
@@ -279,7 +279,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
279
279
|
};
|
|
280
280
|
ariaControls: StringConstructor;
|
|
281
281
|
value: {
|
|
282
|
-
type: (ObjectConstructor |
|
|
282
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
283
283
|
default: undefined;
|
|
284
284
|
};
|
|
285
285
|
indeterminate: BooleanConstructor;
|
|
@@ -335,7 +335,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
335
335
|
};
|
|
336
336
|
ariaControls: StringConstructor;
|
|
337
337
|
value: {
|
|
338
|
-
type: (ObjectConstructor |
|
|
338
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
339
339
|
default: undefined;
|
|
340
340
|
};
|
|
341
341
|
indeterminate: BooleanConstructor;
|
|
@@ -477,7 +477,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
477
477
|
};
|
|
478
478
|
ariaControls: StringConstructor;
|
|
479
479
|
value: {
|
|
480
|
-
type: (ObjectConstructor |
|
|
480
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
481
481
|
default: undefined;
|
|
482
482
|
};
|
|
483
483
|
indeterminate: BooleanConstructor;
|
|
@@ -534,7 +534,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
534
534
|
};
|
|
535
535
|
ariaControls: StringConstructor;
|
|
536
536
|
value: {
|
|
537
|
-
type: (ObjectConstructor |
|
|
537
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
538
538
|
default: undefined;
|
|
539
539
|
};
|
|
540
540
|
indeterminate: BooleanConstructor;
|
|
@@ -590,7 +590,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
590
590
|
};
|
|
591
591
|
ariaControls: StringConstructor;
|
|
592
592
|
value: {
|
|
593
|
-
type: (ObjectConstructor |
|
|
593
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
594
594
|
default: undefined;
|
|
595
595
|
};
|
|
596
596
|
indeterminate: BooleanConstructor;
|
|
@@ -647,7 +647,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
647
647
|
};
|
|
648
648
|
ariaControls: StringConstructor;
|
|
649
649
|
value: {
|
|
650
|
-
type: (ObjectConstructor |
|
|
650
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
651
651
|
default: undefined;
|
|
652
652
|
};
|
|
653
653
|
indeterminate: BooleanConstructor;
|
|
@@ -704,7 +704,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
704
704
|
};
|
|
705
705
|
ariaControls: StringConstructor;
|
|
706
706
|
value: {
|
|
707
|
-
type: (ObjectConstructor |
|
|
707
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
708
708
|
default: undefined;
|
|
709
709
|
};
|
|
710
710
|
indeterminate: BooleanConstructor;
|
|
@@ -760,7 +760,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
760
760
|
};
|
|
761
761
|
ariaControls: StringConstructor;
|
|
762
762
|
value: {
|
|
763
|
-
type: (ObjectConstructor |
|
|
763
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
764
764
|
default: undefined;
|
|
765
765
|
};
|
|
766
766
|
indeterminate: BooleanConstructor;
|
|
@@ -879,7 +879,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
879
879
|
};
|
|
880
880
|
ariaControls: StringConstructor;
|
|
881
881
|
value: {
|
|
882
|
-
type: (ObjectConstructor |
|
|
882
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
883
883
|
default: undefined;
|
|
884
884
|
};
|
|
885
885
|
indeterminate: BooleanConstructor;
|
|
@@ -45,7 +45,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
ariaControls: StringConstructor;
|
|
47
47
|
value: {
|
|
48
|
-
type: (ObjectConstructor |
|
|
48
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
49
49
|
default: undefined;
|
|
50
50
|
};
|
|
51
51
|
indeterminate: BooleanConstructor;
|
|
@@ -102,7 +102,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
102
102
|
};
|
|
103
103
|
ariaControls: StringConstructor;
|
|
104
104
|
value: {
|
|
105
|
-
type: (ObjectConstructor |
|
|
105
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
106
106
|
default: undefined;
|
|
107
107
|
};
|
|
108
108
|
indeterminate: BooleanConstructor;
|
|
@@ -158,7 +158,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
158
158
|
};
|
|
159
159
|
ariaControls: StringConstructor;
|
|
160
160
|
value: {
|
|
161
|
-
type: (ObjectConstructor |
|
|
161
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
162
162
|
default: undefined;
|
|
163
163
|
};
|
|
164
164
|
indeterminate: BooleanConstructor;
|
|
@@ -215,7 +215,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
215
215
|
};
|
|
216
216
|
ariaControls: StringConstructor;
|
|
217
217
|
value: {
|
|
218
|
-
type: (ObjectConstructor |
|
|
218
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
219
219
|
default: undefined;
|
|
220
220
|
};
|
|
221
221
|
indeterminate: BooleanConstructor;
|
|
@@ -272,7 +272,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
272
272
|
};
|
|
273
273
|
ariaControls: StringConstructor;
|
|
274
274
|
value: {
|
|
275
|
-
type: (ObjectConstructor |
|
|
275
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
276
276
|
default: undefined;
|
|
277
277
|
};
|
|
278
278
|
indeterminate: BooleanConstructor;
|
|
@@ -328,7 +328,7 @@ export declare const commonCheckboxGroupProps: {
|
|
|
328
328
|
};
|
|
329
329
|
ariaControls: StringConstructor;
|
|
330
330
|
value: {
|
|
331
|
-
type: (ObjectConstructor |
|
|
331
|
+
type: (ObjectConstructor | BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
332
332
|
default: undefined;
|
|
333
333
|
};
|
|
334
334
|
indeterminate: BooleanConstructor;
|
|
@@ -49,6 +49,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
49
49
|
} & {
|
|
50
50
|
readonly default: true;
|
|
51
51
|
};
|
|
52
|
+
showWeekNumber: BooleanConstructor;
|
|
52
53
|
ariaLabel: StringConstructor;
|
|
53
54
|
emptyValues: ArrayConstructor;
|
|
54
55
|
valueOnClear: {
|
|
@@ -273,6 +274,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
273
274
|
} & {
|
|
274
275
|
readonly default: true;
|
|
275
276
|
};
|
|
277
|
+
showWeekNumber: BooleanConstructor;
|
|
276
278
|
ariaLabel: StringConstructor;
|
|
277
279
|
emptyValues: ArrayConstructor;
|
|
278
280
|
valueOnClear: {
|
|
@@ -466,6 +468,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
466
468
|
maxDate: string;
|
|
467
469
|
minDate: string;
|
|
468
470
|
showNow: boolean;
|
|
471
|
+
showWeekNumber: boolean;
|
|
469
472
|
valueOnClear: string | number | boolean | Function;
|
|
470
473
|
shortcuts: unknown[];
|
|
471
474
|
arrowControl: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FormItemProps } from 'element-plus';
|
|
2
2
|
declare let __VLS_typeProps: {
|
|
3
|
-
formKey
|
|
4
|
-
isSearch
|
|
5
|
-
formItemConfig
|
|
6
|
-
menuHeight
|
|
3
|
+
formKey?: string;
|
|
4
|
+
isSearch?: boolean;
|
|
5
|
+
formItemConfig?: Partial<FormItemProps>;
|
|
6
|
+
menuHeight?: number;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = {
|
|
9
9
|
modelValue?: any;
|
|
@@ -306,7 +306,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
306
306
|
readonly default: () => {
|
|
307
307
|
show: boolean;
|
|
308
308
|
title: string;
|
|
309
|
-
fixed: string;
|
|
310
309
|
};
|
|
311
310
|
};
|
|
312
311
|
readonly selectionConfig: {
|
|
@@ -314,6 +313,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
314
313
|
isSelection?: boolean;
|
|
315
314
|
key?: string;
|
|
316
315
|
isAcrossPage?: boolean;
|
|
316
|
+
fixed?: string;
|
|
317
317
|
}>;
|
|
318
318
|
readonly default: () => {
|
|
319
319
|
isSelection: boolean;
|
|
@@ -408,7 +408,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
408
408
|
readonly default: () => {
|
|
409
409
|
show: boolean;
|
|
410
410
|
title: string;
|
|
411
|
-
fixed: string;
|
|
412
411
|
};
|
|
413
412
|
};
|
|
414
413
|
readonly selectionConfig: {
|
|
@@ -416,6 +415,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
416
415
|
isSelection?: boolean;
|
|
417
416
|
key?: string;
|
|
418
417
|
isAcrossPage?: boolean;
|
|
418
|
+
fixed?: string;
|
|
419
419
|
}>;
|
|
420
420
|
readonly default: () => {
|
|
421
421
|
isSelection: boolean;
|
|
@@ -468,14 +468,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
468
468
|
readonly formState: Record<string, any>;
|
|
469
469
|
readonly showOverflowTooltip: boolean;
|
|
470
470
|
readonly selectable: (row: any, index?: number) => boolean;
|
|
471
|
-
readonly columns:
|
|
472
|
-
isHidden: () => boolean;
|
|
473
|
-
renderCell: ({ record }: {
|
|
474
|
-
record: any;
|
|
475
|
-
}) => import('vue').VNode | any;
|
|
476
|
-
headerTooltip?: string | import('vue').VNode;
|
|
477
|
-
columnChildren?: Partial<TableColumnCtx<any> & any>[] | undefined;
|
|
478
|
-
}>[];
|
|
471
|
+
readonly columns: import('./types').CommonTableColumn<any>[];
|
|
479
472
|
readonly formConfig: Partial<import('../../CommonForm').CommonFormProps>;
|
|
480
473
|
readonly indexConfig: {
|
|
481
474
|
show?: boolean;
|
|
@@ -487,6 +480,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
487
480
|
isSelection?: boolean;
|
|
488
481
|
key?: string;
|
|
489
482
|
isAcrossPage?: boolean;
|
|
483
|
+
fixed?: string;
|
|
490
484
|
};
|
|
491
485
|
readonly expandConfig: Partial<TableColumnCtx<any>>;
|
|
492
486
|
readonly selectData: any[];
|
|
@@ -2,14 +2,13 @@ import { default as CommonTable } from './index.vue';
|
|
|
2
2
|
import { CommonButtonProps, CommonFormProps, GroupBtn } from '../../types';
|
|
3
3
|
import { PaginationProps, TableColumnCtx } from 'element-plus';
|
|
4
4
|
import { ExtractPropTypes, PropType, VNode } from 'vue';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) => VNode | any;
|
|
5
|
+
import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults';
|
|
6
|
+
export type CommonTableColumn<T extends DefaultRow = any> = Partial<Omit<TableColumnCtx<T>, 'renderCell'>> & {
|
|
7
|
+
isHidden?: () => boolean;
|
|
8
|
+
renderCell?: (record: T) => VNode | any;
|
|
10
9
|
headerTooltip?: string | VNode;
|
|
11
10
|
columnChildren?: CommonTableColumn<T>[];
|
|
12
|
-
}
|
|
11
|
+
};
|
|
13
12
|
export type ToggleBtn = {
|
|
14
13
|
toggleText?: [string, string];
|
|
15
14
|
isToggle?: boolean;
|
|
@@ -59,7 +58,6 @@ export declare const tableProps: {
|
|
|
59
58
|
readonly default: () => {
|
|
60
59
|
show: boolean;
|
|
61
60
|
title: string;
|
|
62
|
-
fixed: string;
|
|
63
61
|
};
|
|
64
62
|
};
|
|
65
63
|
readonly selectionConfig: {
|
|
@@ -67,6 +65,7 @@ export declare const tableProps: {
|
|
|
67
65
|
isSelection?: boolean;
|
|
68
66
|
key?: string;
|
|
69
67
|
isAcrossPage?: boolean;
|
|
68
|
+
fixed?: string;
|
|
70
69
|
}>;
|
|
71
70
|
readonly default: () => {
|
|
72
71
|
isSelection: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tutor-pro-ui-vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.8-beta",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vueuse/core": "^12.2.0",
|
|
30
30
|
"axios": "^1.7.9",
|
|
31
31
|
"commitizen": "^4.3.1",
|
|
32
|
-
"element-plus": "^2.
|
|
32
|
+
"element-plus": "^2.10.4",
|
|
33
33
|
"husky": "^9.1.7",
|
|
34
34
|
"lodash": "^4.17.21",
|
|
35
35
|
"lunar-javascript": "^1.7.1",
|