tutor-pro-ui-vue 1.1.68-beta → 1.1.72-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/src/components/CommonButton/src/index.vue.d.ts +4 -78
- package/dist/src/components/CommonButton/src/types.d.ts +2 -32
- package/dist/src/components/CommonCheckbox/src/index.vue.d.ts +1 -1
- package/dist/src/components/CommonRadio/src/index.vue.d.ts +1 -1
- package/dist/src/components/CommonRadioButton/src/index.vue.d.ts +1 -1
- package/dist/src/components/CommonTable/src/hooks.d.ts +2 -2
- package/dist/src/components/CommonTable/src/index.vue.d.ts +9 -51
- package/package.json +1 -1
|
@@ -6,86 +6,12 @@ declare function __VLS_template(): {
|
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').
|
|
10
|
-
label: {
|
|
11
|
-
default: string;
|
|
12
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
13
|
-
};
|
|
14
|
-
debounce: {
|
|
15
|
-
default: number;
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
};
|
|
18
|
-
icon: {
|
|
19
|
-
default: string;
|
|
20
|
-
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
|
21
|
-
};
|
|
22
|
-
dialogConfig: {
|
|
23
|
-
default: undefined;
|
|
24
|
-
type: import('vue').PropType<import('../../../service').CommonDialogProps>;
|
|
25
|
-
};
|
|
26
|
-
modelValue: {
|
|
27
|
-
default: undefined;
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
};
|
|
30
|
-
isHidden: {
|
|
31
|
-
default: () => boolean;
|
|
32
|
-
type: FunctionConstructor;
|
|
33
|
-
};
|
|
34
|
-
click: {
|
|
35
|
-
default: undefined;
|
|
36
|
-
type: FunctionConstructor;
|
|
37
|
-
};
|
|
38
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
10
|
click: (...args: any[]) => void;
|
|
40
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
41
|
-
label: {
|
|
42
|
-
default: string;
|
|
43
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
44
|
-
};
|
|
45
|
-
debounce: {
|
|
46
|
-
default: number;
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
};
|
|
49
|
-
icon: {
|
|
50
|
-
default: string;
|
|
51
|
-
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
|
52
|
-
};
|
|
53
|
-
dialogConfig: {
|
|
54
|
-
default: undefined;
|
|
55
|
-
type: import('vue').PropType<import('../../../service').CommonDialogProps>;
|
|
56
|
-
};
|
|
57
|
-
modelValue: {
|
|
58
|
-
default: undefined;
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
};
|
|
61
|
-
isHidden: {
|
|
62
|
-
default: () => boolean;
|
|
63
|
-
type: FunctionConstructor;
|
|
64
|
-
};
|
|
65
|
-
click: {
|
|
66
|
-
default: undefined;
|
|
67
|
-
type: FunctionConstructor;
|
|
68
|
-
};
|
|
69
|
-
}>> & Readonly<{
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
70
12
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}>, {
|
|
72
|
-
|
|
73
|
-
label: string | Function;
|
|
74
|
-
debounce: number;
|
|
75
|
-
icon: string | Function | Record<string, any>;
|
|
76
|
-
dialogConfig: Partial<{
|
|
77
|
-
footer: boolean | Function;
|
|
78
|
-
hiddenSubmit: Function;
|
|
79
|
-
hiddenCancel: Function;
|
|
80
|
-
setSubmitDisabled: Function;
|
|
81
|
-
beforeOpen: () => Promise<boolean>;
|
|
82
|
-
} & {
|
|
83
|
-
content?: Function | undefined;
|
|
84
|
-
header?: Function | undefined;
|
|
85
|
-
submit?: Function | undefined;
|
|
86
|
-
} & Omit<import('element-plus').DialogProps, "modelValue">>;
|
|
87
|
-
isHidden: Function;
|
|
88
|
-
click: Function;
|
|
13
|
+
}>, {} | {
|
|
14
|
+
[x: string]: any;
|
|
89
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
90
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
17
|
export default _default;
|
|
@@ -1,36 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from 'element-plus';
|
|
2
|
-
import { ExtractPropTypes
|
|
3
|
-
|
|
4
|
-
export declare const commonButtonProps: {
|
|
5
|
-
label: {
|
|
6
|
-
default: string;
|
|
7
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
8
|
-
};
|
|
9
|
-
debounce: {
|
|
10
|
-
default: number;
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
};
|
|
13
|
-
icon: {
|
|
14
|
-
default: string;
|
|
15
|
-
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
|
16
|
-
};
|
|
17
|
-
dialogConfig: {
|
|
18
|
-
default: undefined;
|
|
19
|
-
type: PropType<CommonDialogProps>;
|
|
20
|
-
};
|
|
21
|
-
modelValue: {
|
|
22
|
-
default: undefined;
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
};
|
|
25
|
-
isHidden: {
|
|
26
|
-
default: () => boolean;
|
|
27
|
-
type: FunctionConstructor;
|
|
28
|
-
};
|
|
29
|
-
click: {
|
|
30
|
-
default: undefined;
|
|
31
|
-
type: FunctionConstructor;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
2
|
+
import { ExtractPropTypes } from 'vue';
|
|
3
|
+
export declare const commonButtonProps: any;
|
|
34
4
|
export type CommonButtonProps = Partial<ExtractPropTypes<typeof commonButtonProps> & ButtonProps & Omit<ButtonProps, 'icon'> & {
|
|
35
5
|
style?: object;
|
|
36
6
|
}>;
|
|
@@ -124,8 +124,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
124
124
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
}>, {
|
|
126
126
|
modelValue: string | number | boolean;
|
|
127
|
-
label: string | number | boolean;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
label: string | number | boolean;
|
|
129
129
|
name: string | number | boolean;
|
|
130
130
|
border: boolean;
|
|
131
131
|
value: string | number | boolean | Record<string, any>;
|
|
@@ -58,8 +58,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
58
58
|
value: import('element-plus/es/utils').EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
59
59
|
}>> & Readonly<{}>, {
|
|
60
60
|
modelValue: string | number | boolean;
|
|
61
|
-
label: string | number | boolean;
|
|
62
61
|
disabled: boolean;
|
|
62
|
+
label: string | number | boolean;
|
|
63
63
|
name: string | number | boolean;
|
|
64
64
|
border: boolean;
|
|
65
65
|
value: import('element-plus/es/utils').EpPropMergeType<(BooleanConstructor | NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
@@ -60,8 +60,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
62
|
modelValue: string | number | boolean;
|
|
63
|
-
label: string | number | boolean;
|
|
64
63
|
disabled: boolean;
|
|
64
|
+
label: string | number | boolean;
|
|
65
65
|
name: string | number | boolean;
|
|
66
66
|
value: import('element-plus/es/utils').EpPropMergeType<(BooleanConstructor | NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
67
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -598,8 +598,8 @@ export declare const useAutoSearch: (props: CommonTableProps, request: (isRestCu
|
|
|
598
598
|
readonly showMessage?: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
599
599
|
readonly required?: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
600
600
|
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
601
|
-
readonly label?: string | undefined;
|
|
602
601
|
readonly error?: string | undefined;
|
|
602
|
+
readonly label?: string | undefined;
|
|
603
603
|
readonly prop?: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp))[], unknown, unknown> | undefined;
|
|
604
604
|
readonly rules?: {
|
|
605
605
|
trigger?: import('element-plus/es/utils').Arrayable<string> | undefined;
|
|
@@ -1636,8 +1636,8 @@ export declare const useAutoSearch: (props: CommonTableProps, request: (isRestCu
|
|
|
1636
1636
|
readonly showMessage?: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1637
1637
|
readonly required?: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1638
1638
|
readonly size?: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1639
|
-
readonly label?: string | undefined;
|
|
1640
1639
|
readonly error?: string | undefined;
|
|
1640
|
+
readonly label?: string | undefined;
|
|
1641
1641
|
readonly prop?: import('element-plus/es/utils').EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import('element-plus').FormItemProp))[], unknown, unknown> | undefined;
|
|
1642
1642
|
readonly rules?: {
|
|
1643
1643
|
trigger?: import('element-plus/es/utils').Arrayable<string> | undefined;
|
|
@@ -326,24 +326,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
326
326
|
readonly rightBtns: boolean | import('../../CommonButtonGroup').GroupBtn[];
|
|
327
327
|
readonly selectable: (row: any, index: number) => boolean;
|
|
328
328
|
readonly searchBtn: Partial<{
|
|
329
|
-
|
|
330
|
-
debounce: number;
|
|
331
|
-
icon: string | Function | Record<string, any>;
|
|
332
|
-
isHidden: Function;
|
|
329
|
+
[x: string]: any;
|
|
333
330
|
} & {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
footer: boolean | Function;
|
|
337
|
-
hiddenSubmit: Function;
|
|
338
|
-
hiddenCancel: Function;
|
|
339
|
-
setSubmitDisabled: Function;
|
|
340
|
-
beforeOpen: () => Promise<boolean>;
|
|
341
|
-
} & {
|
|
342
|
-
content?: Function | undefined;
|
|
343
|
-
header?: Function | undefined;
|
|
344
|
-
submit?: Function | undefined;
|
|
345
|
-
} & Omit<import('element-plus').DialogProps, "modelValue">> | undefined;
|
|
346
|
-
click?: Function | undefined;
|
|
331
|
+
[x: number]: any;
|
|
332
|
+
[x: symbol]: any;
|
|
347
333
|
} & {
|
|
348
334
|
readonly type: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
349
335
|
readonly disabled: boolean;
|
|
@@ -368,24 +354,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
368
354
|
style?: object;
|
|
369
355
|
}>;
|
|
370
356
|
readonly resetBtn: Partial<{
|
|
371
|
-
|
|
372
|
-
debounce: number;
|
|
373
|
-
icon: string | Function | Record<string, any>;
|
|
374
|
-
isHidden: Function;
|
|
357
|
+
[x: string]: any;
|
|
375
358
|
} & {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
footer: boolean | Function;
|
|
379
|
-
hiddenSubmit: Function;
|
|
380
|
-
hiddenCancel: Function;
|
|
381
|
-
setSubmitDisabled: Function;
|
|
382
|
-
beforeOpen: () => Promise<boolean>;
|
|
383
|
-
} & {
|
|
384
|
-
content?: Function | undefined;
|
|
385
|
-
header?: Function | undefined;
|
|
386
|
-
submit?: Function | undefined;
|
|
387
|
-
} & Omit<import('element-plus').DialogProps, "modelValue">> | undefined;
|
|
388
|
-
click?: Function | undefined;
|
|
359
|
+
[x: number]: any;
|
|
360
|
+
[x: symbol]: any;
|
|
389
361
|
} & {
|
|
390
362
|
readonly type: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
391
363
|
readonly disabled: boolean;
|
|
@@ -410,24 +382,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
410
382
|
style?: object;
|
|
411
383
|
}>;
|
|
412
384
|
readonly toggleBtn: Partial<{
|
|
413
|
-
|
|
414
|
-
debounce: number;
|
|
415
|
-
icon: string | Function | Record<string, any>;
|
|
416
|
-
isHidden: Function;
|
|
385
|
+
[x: string]: any;
|
|
417
386
|
} & {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
footer: boolean | Function;
|
|
421
|
-
hiddenSubmit: Function;
|
|
422
|
-
hiddenCancel: Function;
|
|
423
|
-
setSubmitDisabled: Function;
|
|
424
|
-
beforeOpen: () => Promise<boolean>;
|
|
425
|
-
} & {
|
|
426
|
-
content?: Function | undefined;
|
|
427
|
-
header?: Function | undefined;
|
|
428
|
-
submit?: Function | undefined;
|
|
429
|
-
} & Omit<import('element-plus').DialogProps, "modelValue">> | undefined;
|
|
430
|
-
click?: Function | undefined;
|
|
387
|
+
[x: number]: any;
|
|
388
|
+
[x: symbol]: any;
|
|
431
389
|
} & {
|
|
432
390
|
readonly type: import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
433
391
|
readonly disabled: boolean;
|