@opentiny/vue-design-smb 3.13.0-alpha.1 → 3.14.0
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/index.d.ts +109 -0
- package/index.js +7 -1
- package/package.json +2 -2
- package/src/action-menu/index.d.ts +4 -0
- package/src/alert/index.d.ts +16 -0
- package/src/drawer/index.d.ts +6 -0
- package/src/dropdown/index.d.ts +8 -0
- package/src/dropdown-item/index.d.ts +8 -0
- package/src/form/index.d.ts +10 -0
- package/src/pager/index.d.ts +8 -0
- package/src/popconfirm/index.d.ts +11 -0
- package/src/select/index.d.ts +18 -0
- package/src/tree-node/index.d.ts +11 -0
- package/src/upload-list/index.d.ts +13 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
version: string;
|
|
4
|
+
components: {
|
|
5
|
+
Alert: {
|
|
6
|
+
icons: {
|
|
7
|
+
warning: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
10
|
+
info: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
13
|
+
};
|
|
14
|
+
renderless: (props: any, hooks: any, { emit }: {
|
|
15
|
+
emit: any;
|
|
16
|
+
}, api: any) => {
|
|
17
|
+
close(): void;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
ActionMenu: {
|
|
21
|
+
icons: {};
|
|
22
|
+
};
|
|
23
|
+
Popconfirm: {
|
|
24
|
+
icons: {
|
|
25
|
+
warning: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
28
|
+
info: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
Drawer: {
|
|
34
|
+
state: {
|
|
35
|
+
btnOrderReversed: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
Dropdown: {
|
|
39
|
+
icons: {
|
|
40
|
+
dropdownIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
DropdownItem: {
|
|
46
|
+
icons: {
|
|
47
|
+
leftWardArrow: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
Form: {
|
|
53
|
+
icons: {
|
|
54
|
+
validateIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
57
|
+
};
|
|
58
|
+
messageType: string;
|
|
59
|
+
hideRequiredAsterisk: boolean;
|
|
60
|
+
};
|
|
61
|
+
Pager: {
|
|
62
|
+
state: {
|
|
63
|
+
showJumperSufix: boolean;
|
|
64
|
+
align: string;
|
|
65
|
+
totalFixedLeft: boolean;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
Select: {
|
|
69
|
+
icons: {
|
|
70
|
+
dropdownIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
73
|
+
};
|
|
74
|
+
state: {
|
|
75
|
+
sizeMap: {
|
|
76
|
+
default: number;
|
|
77
|
+
mini: number;
|
|
78
|
+
small: number;
|
|
79
|
+
medium: number;
|
|
80
|
+
};
|
|
81
|
+
spacingHeight: number;
|
|
82
|
+
initialInputHeight: number;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
TreeNode: {
|
|
86
|
+
icons: {
|
|
87
|
+
expanded: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
90
|
+
collapse: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
UploadList: {
|
|
96
|
+
state: {
|
|
97
|
+
progressType: string;
|
|
98
|
+
progressWidth: string;
|
|
99
|
+
progressStrokeWidth: number;
|
|
100
|
+
tooltipDisabled: boolean;
|
|
101
|
+
};
|
|
102
|
+
icons: {
|
|
103
|
+
closeComponent: string;
|
|
104
|
+
preViewComponent: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export default _default;
|
package/index.js
CHANGED
|
@@ -24,6 +24,11 @@ var Popconfirm = {
|
|
|
24
24
|
info: iconPromptExclamation()
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
+
var Drawer = {
|
|
28
|
+
state: {
|
|
29
|
+
btnOrderReversed: true
|
|
30
|
+
}
|
|
31
|
+
};
|
|
27
32
|
var Dropdown = {
|
|
28
33
|
icons: {
|
|
29
34
|
dropdownIcon: iconDownWard()
|
|
@@ -81,7 +86,7 @@ var UploadList = {
|
|
|
81
86
|
preViewComponent: "icon-fullscreen-left"
|
|
82
87
|
}
|
|
83
88
|
};
|
|
84
|
-
var version = "3.
|
|
89
|
+
var version = "3.14.0";
|
|
85
90
|
var index = {
|
|
86
91
|
name: "smb",
|
|
87
92
|
version,
|
|
@@ -89,6 +94,7 @@ var index = {
|
|
|
89
94
|
Alert,
|
|
90
95
|
ActionMenu,
|
|
91
96
|
Popconfirm,
|
|
97
|
+
Drawer,
|
|
92
98
|
Dropdown,
|
|
93
99
|
DropdownItem,
|
|
94
100
|
Form,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-design-smb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@opentiny/vue-icon": "3.
|
|
8
|
+
"@opentiny/vue-icon": "~3.14.0"
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"module": "./index.js",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
warning: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
info: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
9
|
+
};
|
|
10
|
+
renderless: (props: any, hooks: any, { emit }: {
|
|
11
|
+
emit: any;
|
|
12
|
+
}, api: any) => {
|
|
13
|
+
close(): void;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
dropdownIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
leftWardArrow: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
validateIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
};
|
|
7
|
+
messageType: string;
|
|
8
|
+
hideRequiredAsterisk: boolean;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
warning: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
info: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
dropdownIcon: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
};
|
|
7
|
+
state: {
|
|
8
|
+
sizeMap: {
|
|
9
|
+
default: number;
|
|
10
|
+
mini: number;
|
|
11
|
+
small: number;
|
|
12
|
+
medium: number;
|
|
13
|
+
};
|
|
14
|
+
spacingHeight: number;
|
|
15
|
+
initialInputHeight: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
icons: {
|
|
3
|
+
expanded: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
collapse: import("@vue/reactivity").Raw<import("vue/dist/vue.js").DefineComponent<{}, () => import("vue/dist/vue.js").VNode<import("vue/dist/vue.js").RendererNode, import("vue/dist/vue.js").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import("vue/dist/vue.js").ComponentOptionsMixin, import("vue/dist/vue.js").ComponentOptionsMixin, {}, string, import("vue/dist/vue.js").VNodeProps & import("vue/dist/vue.js").AllowedComponentProps & import("vue/dist/vue.js").ComponentCustomProps, Readonly<import("vue/dist/vue.js").ExtractPropTypes<{}>>, {}, {}>>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
state: {
|
|
3
|
+
progressType: string;
|
|
4
|
+
progressWidth: string;
|
|
5
|
+
progressStrokeWidth: number;
|
|
6
|
+
tooltipDisabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
icons: {
|
|
9
|
+
closeComponent: string;
|
|
10
|
+
preViewComponent: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|