tutor-pro-ui-vue 1.2.70-beta → 1.2.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/index.css +1 -1
- package/dist/index.css.gz +0 -0
- package/dist/index.js +17 -4
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +2 -2
- package/dist/src/components/CommonTabs/src/index.vue.d.ts +5 -5
- package/dist/src/components/CommonTabs/src/types.d.ts +8 -7
- package/package.json +1 -1
|
@@ -11,8 +11,8 @@ declare function __VLS_template(): {
|
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
13
|
activeName: {
|
|
14
|
-
type:
|
|
15
|
-
default: string;
|
|
14
|
+
type: import('vue').PropType<TabPaneName>;
|
|
15
|
+
default: () => string;
|
|
16
16
|
};
|
|
17
17
|
tabs: {
|
|
18
18
|
type: {
|
|
@@ -112,8 +112,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
112
112
|
edit: (...args: any[]) => void;
|
|
113
113
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
114
114
|
activeName: {
|
|
115
|
-
type:
|
|
116
|
-
default: string;
|
|
115
|
+
type: import('vue').PropType<TabPaneName>;
|
|
116
|
+
default: () => string;
|
|
117
117
|
};
|
|
118
118
|
tabs: {
|
|
119
119
|
type: {
|
|
@@ -214,7 +214,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
214
|
}>, {
|
|
215
215
|
type: "" | "card" | "border-card";
|
|
216
216
|
editable: boolean;
|
|
217
|
-
activeName:
|
|
217
|
+
activeName: TabPaneName;
|
|
218
218
|
tabs: {
|
|
219
219
|
label: string;
|
|
220
220
|
name: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { TabPaneName } from 'element-plus';
|
|
2
3
|
export declare const commonTabsProps: {
|
|
3
4
|
activeName: {
|
|
4
|
-
type:
|
|
5
|
-
default: string;
|
|
5
|
+
type: PropType<TabPaneName>;
|
|
6
|
+
default: () => string;
|
|
6
7
|
};
|
|
7
8
|
tabs: {
|
|
8
9
|
type: {
|
|
@@ -60,7 +61,7 @@ export declare const commonTabsProps: {
|
|
|
60
61
|
default: () => never[];
|
|
61
62
|
};
|
|
62
63
|
type: {
|
|
63
|
-
readonly type:
|
|
64
|
+
readonly type: PropType<"" | "card" | "border-card">;
|
|
64
65
|
readonly required: false;
|
|
65
66
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
67
|
__epPropKey: true;
|
|
@@ -70,14 +71,14 @@ export declare const commonTabsProps: {
|
|
|
70
71
|
closable: BooleanConstructor;
|
|
71
72
|
addable: BooleanConstructor;
|
|
72
73
|
modelValue: {
|
|
73
|
-
readonly type:
|
|
74
|
+
readonly type: PropType<string | number>;
|
|
74
75
|
readonly required: false;
|
|
75
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
77
|
__epPropKey: true;
|
|
77
78
|
};
|
|
78
79
|
editable: BooleanConstructor;
|
|
79
80
|
tabPosition: {
|
|
80
|
-
readonly type:
|
|
81
|
+
readonly type: PropType<"top" | "bottom" | "right" | "left">;
|
|
81
82
|
readonly required: false;
|
|
82
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
84
|
__epPropKey: true;
|
|
@@ -85,7 +86,7 @@ export declare const commonTabsProps: {
|
|
|
85
86
|
readonly default: "top";
|
|
86
87
|
};
|
|
87
88
|
beforeLeave: {
|
|
88
|
-
readonly type:
|
|
89
|
+
readonly type: PropType<(newName: TabPaneName, oldName: TabPaneName) => boolean | void | Promise<boolean | void>>;
|
|
89
90
|
readonly required: false;
|
|
90
91
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
92
|
__epPropKey: true;
|