@opentiny/vue-design-smb 2.18.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 -104
- package/index.js +16 -135
- 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/time-spinner/index.d.ts +0 -5
- package/src/tree-node/index.d.ts +0 -7
- package/src/upload-list/index.d.ts +0 -13
package/index.d.ts
CHANGED
|
@@ -2,113 +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;
|
|
6
|
+
props: {
|
|
7
|
+
hideRequiredAsterisk: boolean;
|
|
50
8
|
};
|
|
51
|
-
minWidth: number;
|
|
52
|
-
treeConfig: {
|
|
53
|
-
renderIcon(h: any, { active }: {
|
|
54
|
-
active: any;
|
|
55
|
-
}): any;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
Guide: {
|
|
59
|
-
state: {
|
|
60
|
-
isUseModalOverlay: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
Pager: {
|
|
64
|
-
state: {
|
|
65
|
-
showJumperSufix: boolean;
|
|
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
|
-
TimeSpinner: {
|
|
92
|
-
showTimePickerButton: boolean;
|
|
93
|
-
itemMarginSpace: number;
|
|
94
9
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
};
|
|
99
|
-
BreadcrumbItem: {
|
|
100
|
-
separator: string;
|
|
101
|
-
};
|
|
102
|
-
UploadList: {
|
|
103
|
-
state: {
|
|
104
|
-
progressType: string;
|
|
105
|
-
progressWidth: string;
|
|
106
|
-
progressStrokeWidth: number;
|
|
107
|
-
tooltipDisabled: boolean;
|
|
108
|
-
};
|
|
109
|
-
icons: {
|
|
110
|
-
closeComponent: string;
|
|
111
|
-
preViewComponent: string;
|
|
10
|
+
Button: {
|
|
11
|
+
props: {
|
|
12
|
+
round: boolean;
|
|
112
13
|
};
|
|
113
14
|
};
|
|
114
15
|
};
|
package/index.js
CHANGED
|
@@ -1,141 +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 Time = {
|
|
98
|
-
// 控制time-picker组件button显示和样式
|
|
99
|
-
showTimePickerButton: true,
|
|
100
|
-
// smb规范下,时间选择器单个item的margin为12px.
|
|
101
|
-
itemMarginSpace: 12
|
|
102
|
-
};
|
|
103
|
-
var UploadList = {
|
|
104
|
-
state: {
|
|
105
|
-
progressType: "line",
|
|
106
|
-
progressWidth: "68",
|
|
107
|
-
progressStrokeWidth: 4,
|
|
108
|
-
tooltipDisabled: false
|
|
109
|
-
},
|
|
110
|
-
icons: {
|
|
111
|
-
closeComponent: "icon-del",
|
|
112
|
-
preViewComponent: "icon-fullscreen-left"
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
var BreadcrumbItem = {
|
|
116
|
-
separator: "/"
|
|
117
|
-
};
|
|
118
|
-
var version = "2.18.0";
|
|
1
|
+
var version = "2.20.0";
|
|
119
2
|
var index = {
|
|
120
|
-
name: "
|
|
3
|
+
name: "x-design",
|
|
4
|
+
// 设计规范名称
|
|
121
5
|
version,
|
|
6
|
+
// 设计规范版本号
|
|
122
7
|
components: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
TimeSpinner: Time,
|
|
136
|
-
Time,
|
|
137
|
-
BreadcrumbItem,
|
|
138
|
-
UploadList
|
|
8
|
+
Form: {
|
|
9
|
+
props: {
|
|
10
|
+
hideRequiredAsterisk: true
|
|
11
|
+
// 默认隐藏必填星号
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
Button: {
|
|
15
|
+
props: {
|
|
16
|
+
round: true
|
|
17
|
+
// 默认圆角
|
|
18
|
+
}
|
|
19
|
+
}
|
|
139
20
|
}
|
|
140
21
|
};
|
|
141
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;
|