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.
@@ -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: StringConstructor;
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: StringConstructor;
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: string;
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: StringConstructor;
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: import('vue').PropType<"" | "card" | "border-card">;
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: import('vue').PropType<string | number>;
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: import('vue').PropType<"top" | "bottom" | "right" | "left">;
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: import('vue').PropType<(newName: import('element-plus').TabPaneName, oldName: import('element-plus').TabPaneName) => boolean | void | Promise<boolean | void>>;
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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tutor-pro-ui-vue",
3
3
  "private": false,
4
- "version": "1.2.70-beta",
4
+ "version": "1.2.72-beta",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",