@opentiny/vue-design-smb 2.17.0 → 2.20.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 +5 -96
- package/index.js +16 -127
- package/package.json +4 -4
- package/src/action-menu/index.d.ts +0 -4
- package/src/alert/index.d.ts +0 -12
- package/src/breadcrumb-item/index.d.ts +0 -4
- package/src/drawer/index.d.ts +0 -6
- package/src/dropdown/index.d.ts +0 -6
- package/src/dropdown-item/index.d.ts +0 -6
- package/src/form/index.d.ts +0 -8
- package/src/grid/index.d.ts +0 -12
- package/src/guide/index.d.ts +0 -6
- package/src/pager/index.d.ts +0 -8
- package/src/popconfirm/index.d.ts +0 -7
- package/src/select/index.d.ts +0 -16
- package/src/tree-node/index.d.ts +0 -7
- package/src/upload-list/index.d.ts +0 -13
package/index.d.ts
CHANGED
|
@@ -2,105 +2,14 @@ declare const _default: {
|
|
|
2
2
|
name: string;
|
|
3
3
|
version: string;
|
|
4
4
|
components: {
|
|
5
|
-
Alert: {
|
|
6
|
-
icons: {
|
|
7
|
-
warning: any;
|
|
8
|
-
info: any;
|
|
9
|
-
};
|
|
10
|
-
renderless: (props: any, hooks: any, { emit }: {
|
|
11
|
-
emit: any;
|
|
12
|
-
}, api: any) => {
|
|
13
|
-
close(): void;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
ActionMenu: {
|
|
17
|
-
icons: {};
|
|
18
|
-
};
|
|
19
|
-
Popconfirm: {
|
|
20
|
-
icons: {
|
|
21
|
-
warning: any;
|
|
22
|
-
info: any;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
Drawer: {
|
|
26
|
-
state: {
|
|
27
|
-
btnOrderReversed: boolean;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
Dropdown: {
|
|
31
|
-
icons: {
|
|
32
|
-
dropdownIcon: any;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
DropdownItem: {
|
|
36
|
-
icons: {
|
|
37
|
-
leftWardArrow: any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
5
|
Form: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
44
|
-
messageType: string;
|
|
45
|
-
hideRequiredAsterisk: boolean;
|
|
46
|
-
};
|
|
47
|
-
Grid: {
|
|
48
|
-
validConfig: {
|
|
49
|
-
icon: any;
|
|
50
|
-
};
|
|
51
|
-
minWidth: number;
|
|
52
|
-
treeConfig: {
|
|
53
|
-
renderIcon(h: any, { active }: {
|
|
54
|
-
active: any;
|
|
55
|
-
}): any;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
Guide: {
|
|
59
|
-
state: {
|
|
60
|
-
isUseModalOverlay: boolean;
|
|
6
|
+
props: {
|
|
7
|
+
hideRequiredAsterisk: boolean;
|
|
61
8
|
};
|
|
62
9
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
align: string;
|
|
67
|
-
totalFixedLeft: boolean;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
Select: {
|
|
71
|
-
icons: {
|
|
72
|
-
dropdownIcon: any;
|
|
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: any;
|
|
88
|
-
collapse: any;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
BreadcrumbItem: {
|
|
92
|
-
separator: string;
|
|
93
|
-
};
|
|
94
|
-
UploadList: {
|
|
95
|
-
state: {
|
|
96
|
-
progressType: string;
|
|
97
|
-
progressWidth: string;
|
|
98
|
-
progressStrokeWidth: number;
|
|
99
|
-
tooltipDisabled: boolean;
|
|
100
|
-
};
|
|
101
|
-
icons: {
|
|
102
|
-
closeComponent: string;
|
|
103
|
-
preViewComponent: string;
|
|
10
|
+
Button: {
|
|
11
|
+
props: {
|
|
12
|
+
round: boolean;
|
|
104
13
|
};
|
|
105
14
|
};
|
|
106
15
|
};
|
package/index.js
CHANGED
|
@@ -1,133 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var Alert = {
|
|
3
|
-
icons: {
|
|
4
|
-
warning: iconWarningTriangle(),
|
|
5
|
-
info: iconPromptExclamation()
|
|
6
|
-
},
|
|
7
|
-
renderless: function renderless(props, hooks, _ref, api) {
|
|
8
|
-
var emit = _ref.emit;
|
|
9
|
-
var state = api.state;
|
|
10
|
-
return {
|
|
11
|
-
close: function close() {
|
|
12
|
-
state.show = false;
|
|
13
|
-
emit("close");
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
var ActionMenu = {
|
|
19
|
-
icons: {}
|
|
20
|
-
};
|
|
21
|
-
var Popconfirm = {
|
|
22
|
-
icons: {
|
|
23
|
-
warning: iconWarningTriangle(),
|
|
24
|
-
info: iconPromptExclamation()
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
var Drawer = {
|
|
28
|
-
state: {
|
|
29
|
-
btnOrderReversed: true
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
var Dropdown = {
|
|
33
|
-
icons: {
|
|
34
|
-
dropdownIcon: iconDownWard()
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
var DropdownItem = {
|
|
38
|
-
icons: {
|
|
39
|
-
leftWardArrow: iconLeftWardArrow()
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
var Form = {
|
|
43
|
-
icons: {
|
|
44
|
-
validateIcon: iconError()
|
|
45
|
-
},
|
|
46
|
-
messageType: "block",
|
|
47
|
-
hideRequiredAsterisk: true
|
|
48
|
-
};
|
|
49
|
-
var Grid = {
|
|
50
|
-
validConfig: {
|
|
51
|
-
icon: iconError()
|
|
52
|
-
},
|
|
53
|
-
minWidth: 72,
|
|
54
|
-
treeConfig: {
|
|
55
|
-
renderIcon: function renderIcon(h, _ref2) {
|
|
56
|
-
var active = _ref2.active;
|
|
57
|
-
var IconExpand = iconExpand();
|
|
58
|
-
var IconPutAway = iconPutAway();
|
|
59
|
-
return active ? h(IconExpand) : h(IconPutAway);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
var Guide = {
|
|
64
|
-
state: {
|
|
65
|
-
isUseModalOverlay: true
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
var Pager = {
|
|
69
|
-
state: {
|
|
70
|
-
showJumperSufix: false,
|
|
71
|
-
align: "right",
|
|
72
|
-
totalFixedLeft: true
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
var Select = {
|
|
76
|
-
icons: {
|
|
77
|
-
dropdownIcon: iconDownWard()
|
|
78
|
-
},
|
|
79
|
-
state: {
|
|
80
|
-
sizeMap: {
|
|
81
|
-
default: 32,
|
|
82
|
-
mini: 24,
|
|
83
|
-
small: 36,
|
|
84
|
-
medium: 40
|
|
85
|
-
},
|
|
86
|
-
spacingHeight: 0,
|
|
87
|
-
initialInputHeight: 32
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
var TreeNode = {
|
|
91
|
-
icons: {
|
|
92
|
-
// 在 showLine=true时,才要切换的图标。 并不是设置正常模式下的图标
|
|
93
|
-
expanded: iconExpand(),
|
|
94
|
-
collapse: iconPutAway()
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
var UploadList = {
|
|
98
|
-
state: {
|
|
99
|
-
progressType: "line",
|
|
100
|
-
progressWidth: "68",
|
|
101
|
-
progressStrokeWidth: 4,
|
|
102
|
-
tooltipDisabled: false
|
|
103
|
-
},
|
|
104
|
-
icons: {
|
|
105
|
-
closeComponent: "icon-del",
|
|
106
|
-
preViewComponent: "icon-fullscreen-left"
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
var BreadcrumbItem = {
|
|
110
|
-
separator: "/"
|
|
111
|
-
};
|
|
112
|
-
var version = "2.17.0";
|
|
1
|
+
var version = "2.20.0";
|
|
113
2
|
var index = {
|
|
114
|
-
name: "
|
|
3
|
+
name: "x-design",
|
|
4
|
+
// 设计规范名称
|
|
115
5
|
version,
|
|
6
|
+
// 设计规范版本号
|
|
116
7
|
components: {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
BreadcrumbItem,
|
|
130
|
-
UploadList
|
|
8
|
+
Form: {
|
|
9
|
+
props: {
|
|
10
|
+
hideRequiredAsterisk: true
|
|
11
|
+
// 默认隐藏必填星号
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
Button: {
|
|
15
|
+
props: {
|
|
16
|
+
round: true
|
|
17
|
+
// 默认圆角
|
|
18
|
+
}
|
|
19
|
+
}
|
|
131
20
|
}
|
|
132
21
|
};
|
|
133
22
|
export {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-design-smb",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"sideEffects": false,
|
|
5
|
-
"type": "module",
|
|
3
|
+
"version": "2.20.0",
|
|
6
4
|
"main": "./index.js",
|
|
5
|
+
"sideEffects": false,
|
|
7
6
|
"dependencies": {
|
|
8
|
-
"@opentiny/vue-icon": "~2.
|
|
7
|
+
"@opentiny/vue-icon": "~2.20.0"
|
|
9
8
|
},
|
|
9
|
+
"type": "module",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"module": "./index.js",
|
|
12
12
|
"types": "index.d.ts"
|
package/src/alert/index.d.ts
DELETED
package/src/drawer/index.d.ts
DELETED
package/src/dropdown/index.d.ts
DELETED
package/src/form/index.d.ts
DELETED
package/src/grid/index.d.ts
DELETED
package/src/guide/index.d.ts
DELETED
package/src/pager/index.d.ts
DELETED
package/src/select/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
icons: {
|
|
3
|
-
dropdownIcon: any;
|
|
4
|
-
};
|
|
5
|
-
state: {
|
|
6
|
-
sizeMap: {
|
|
7
|
-
default: number;
|
|
8
|
-
mini: number;
|
|
9
|
-
small: number;
|
|
10
|
-
medium: number;
|
|
11
|
-
};
|
|
12
|
-
spacingHeight: number;
|
|
13
|
-
initialInputHeight: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
package/src/tree-node/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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;
|