@next-bricks/form-platform 0.3.2 → 0.3.3
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/stories-assets/eo-user-or-user-group-select.e93652af1ee695a62988.svg +27 -0
- package/dist/stories-assets/eo-user-or-user-group-select[basic].516c14f6d72b88d2c480.svg +27 -0
- package/dist/stories-assets/eo-user-or-user-group-select[blank-list].2a756391861c8316c012.svg +21 -0
- package/dist/stories.json +86 -0
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="105px" height="55px" viewBox="0 0 105 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>forms.user-or-user-group-select</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<rect id="path-1" x="10" y="20" width="68" height="14" rx="1"></rect>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="lydia" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8
|
+
<g id="构件概览图二" transform="translate(-336.000000, -195.000000)">
|
|
9
|
+
<g id="forms.user-or-user-group-select" transform="translate(336.000000, 195.000000)">
|
|
10
|
+
<g id="编组-16">
|
|
11
|
+
<rect id="矩形" x="0" y="0" width="105" height="55" rx="4"></rect>
|
|
12
|
+
<rect id="矩形备份-4" fill="#D6DBEC" x="14" y="24" width="18" height="6" rx="1"></rect>
|
|
13
|
+
<rect id="矩形备份-5" fill="#D6DBEC" x="36" y="24" width="18" height="6" rx="1"></rect>
|
|
14
|
+
<g id="矩形备份-23">
|
|
15
|
+
<use stroke="#1A7AFF" stroke-width="2" xlink:href="#path-1"></use>
|
|
16
|
+
<rect stroke="#C6DEFF" stroke-width="1" x="9.5" y="19.5" width="69" height="15" rx="1"></rect>
|
|
17
|
+
</g>
|
|
18
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="79" y="20" width="17" height="17"></rect>
|
|
19
|
+
<path d="M93.382716,33 L89.617284,33 C89.2777778,33 89,32.775 89,32.5 C89,32.225 89.2777778,32 89.617284,32 L93.382716,32 C93.7222222,32 94,32.225 94,32.5 C94,32.775 93.7222222,33 93.382716,33 Z" id="路径" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
20
|
+
<path d="M92,30.617284 L92,34.382716 C92,34.7222222 91.775,35 91.5,35 C91.225,35 91,34.7222222 91,34.382716 L91,30.617284 C91,30.2777778 91.225,30 91.5,30 C91.775,30 92,30.2777778 92,30.617284 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
21
|
+
<path d="M88.5040102,22.1343805 C89.1306963,22.1343805 89.7212906,22.3758414 90.1642362,22.8133882 C90.6071819,23.2509349 90.8516223,23.8343306 90.8516223,24.4533782 C90.8516223,25.0724258 90.6071819,25.6558215 90.1642362,26.0933682 C89.7212906,26.530915 89.1306963,26.772376 88.5040102,26.772376 C87.8773241,26.772376 87.2867299,26.530915 86.8437842,26.0933682 C86.4008385,25.6558215 86.1563981,25.0724258 86.1563981,24.4533782 C86.1563981,23.8343306 86.4008385,23.2509349 86.8437842,22.8133882 C87.2867299,22.3758414 87.8773241,22.1343805 88.5040102,22.1343805 M88.5040102,21 C86.5730952,21 85.0080204,22.5459985 85.0080204,24.4533782 C85.0080204,26.3607579 86.5730952,27.9067564 88.5040102,27.9067564 C90.4349253,27.9067564 92,26.3607579 92,24.4533782 C92,22.5459985 90.4349253,21 88.5040102,21 Z M86.7847248,34 L83,34 L83.0902297,33.3550237 C83.1771783,32.7359761 83.3641998,32.136375 83.644732,31.5740464 C84.0647102,30.7297432 84.6913963,29.9826727 85.4542472,29.4187235 C86.502552,28.6408626 87.7542836,28.2292446 89.0765585,28.2292446 C89.9230769,28.2292446 90.7433467,28.3994016 91.5160408,28.7348542 C91.8064163,28.8612565 91.9376595,29.1950885 91.811338,29.4819247 C91.6833759,29.7687609 91.3454247,29.8984044 91.0550492,29.7736225 C90.4300036,29.5013712 89.7639446,29.3652456 89.0781991,29.3652456 C88.0069267,29.3652456 86.9930733,29.697457 86.1449143,30.3278484 C85.5247904,30.7864622 85.0178637,31.390925 84.6766314,32.0780354 C84.5486693,32.3324607 84.4453153,32.5966093 84.36821,32.8688606 L86.7863653,32.8688606 C87.1029894,32.8688606 87.3605541,33.123286 87.3605541,33.4360509 C87.3605541,33.7488158 87.1013489,34 86.7847248,34 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
22
|
+
</g>
|
|
23
|
+
<g id="编组-2" transform="translate(10.000000, 20.000000)"></g>
|
|
24
|
+
</g>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="105px" height="55px" viewBox="0 0 105 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>forms.user-or-user-group-select[basic]</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<rect id="path-1" x="10" y="20" width="68" height="14" rx="1"></rect>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="snippet截图" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8
|
+
<g id="snippet" transform="translate(-5693.000000, -818.000000)">
|
|
9
|
+
<g id="forms.user-or-user-group-select[basic]" transform="translate(5693.000000, 818.000000)">
|
|
10
|
+
<g id="编组-16">
|
|
11
|
+
<rect id="矩形" x="0" y="0" width="105" height="55" rx="4"></rect>
|
|
12
|
+
<rect id="矩形备份-4" fill="#D6DBEC" x="14" y="24" width="18" height="6" rx="1"></rect>
|
|
13
|
+
<rect id="矩形备份-5" fill="#D6DBEC" x="36" y="24" width="18" height="6" rx="1"></rect>
|
|
14
|
+
<g id="矩形备份-23">
|
|
15
|
+
<use stroke="#1A7AFF" stroke-width="2" xlink:href="#path-1"></use>
|
|
16
|
+
<rect stroke="#C6DEFF" stroke-width="1" x="9.5" y="19.5" width="69" height="15" rx="1"></rect>
|
|
17
|
+
</g>
|
|
18
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="79" y="20" width="17" height="17"></rect>
|
|
19
|
+
<path d="M93.382716,33 L89.617284,33 C89.2777778,33 89,32.775 89,32.5 C89,32.225 89.2777778,32 89.617284,32 L93.382716,32 C93.7222222,32 94,32.225 94,32.5 C94,32.775 93.7222222,33 93.382716,33 Z" id="路径" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
20
|
+
<path d="M92,30.617284 L92,34.382716 C92,34.7222222 91.775,35 91.5,35 C91.225,35 91,34.7222222 91,34.382716 L91,30.617284 C91,30.2777778 91.225,30 91.5,30 C91.775,30 92,30.2777778 92,30.617284 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
21
|
+
<path d="M88.5040102,22.1343805 C89.1306963,22.1343805 89.7212906,22.3758414 90.1642362,22.8133882 C90.6071819,23.2509349 90.8516223,23.8343306 90.8516223,24.4533782 C90.8516223,25.0724258 90.6071819,25.6558215 90.1642362,26.0933682 C89.7212906,26.530915 89.1306963,26.772376 88.5040102,26.772376 C87.8773241,26.772376 87.2867299,26.530915 86.8437842,26.0933682 C86.4008385,25.6558215 86.1563981,25.0724258 86.1563981,24.4533782 C86.1563981,23.8343306 86.4008385,23.2509349 86.8437842,22.8133882 C87.2867299,22.3758414 87.8773241,22.1343805 88.5040102,22.1343805 M88.5040102,21 C86.5730952,21 85.0080204,22.5459985 85.0080204,24.4533782 C85.0080204,26.3607579 86.5730952,27.9067564 88.5040102,27.9067564 C90.4349253,27.9067564 92,26.3607579 92,24.4533782 C92,22.5459985 90.4349253,21 88.5040102,21 Z M86.7847248,34 L83,34 L83.0902297,33.3550237 C83.1771783,32.7359761 83.3641998,32.136375 83.644732,31.5740464 C84.0647102,30.7297432 84.6913963,29.9826727 85.4542472,29.4187235 C86.502552,28.6408626 87.7542836,28.2292446 89.0765585,28.2292446 C89.9230769,28.2292446 90.7433467,28.3994016 91.5160408,28.7348542 C91.8064163,28.8612565 91.9376595,29.1950885 91.811338,29.4819247 C91.6833759,29.7687609 91.3454247,29.8984044 91.0550492,29.7736225 C90.4300036,29.5013712 89.7639446,29.3652456 89.0781991,29.3652456 C88.0069267,29.3652456 86.9930733,29.697457 86.1449143,30.3278484 C85.5247904,30.7864622 85.0178637,31.390925 84.6766314,32.0780354 C84.5486693,32.3324607 84.4453153,32.5966093 84.36821,32.8688606 L86.7863653,32.8688606 C87.1029894,32.8688606 87.3605541,33.123286 87.3605541,33.4360509 C87.3605541,33.7488158 87.1013489,34 86.7847248,34 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
22
|
+
</g>
|
|
23
|
+
<g id="编组-2" transform="translate(10.000000, 20.000000)"></g>
|
|
24
|
+
</g>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="105px" height="55px" viewBox="0 0 105 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>forms.user-or-user-group-select[blank-list]</title>
|
|
4
|
+
<g id="snippet截图" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="snippet" transform="translate(-5693.000000, -940.000000)">
|
|
6
|
+
<g id="forms.user-or-user-group-select[blank-list]" transform="translate(5693.000000, 940.000000)">
|
|
7
|
+
<g id="编组-16">
|
|
8
|
+
<rect id="矩形" x="0" y="0" width="105" height="55" rx="4"></rect>
|
|
9
|
+
<rect id="矩形备份-4" fill="#1A7AFF" fill-rule="nonzero" x="14" y="24" width="18" height="6" rx="1"></rect>
|
|
10
|
+
<rect id="矩形备份-5" fill="#D6DBEC" x="36" y="24" width="18" height="6" rx="1"></rect>
|
|
11
|
+
<rect id="矩形备份-23" stroke="#F4F5F9" x="9.5" y="19.5" width="69" height="15" rx="1"></rect>
|
|
12
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="79" y="20" width="17" height="17"></rect>
|
|
13
|
+
<path d="M93.382716,33 L89.617284,33 C89.2777778,33 89,32.775 89,32.5 C89,32.225 89.2777778,32 89.617284,32 L93.382716,32 C93.7222222,32 94,32.225 94,32.5 C94,32.775 93.7222222,33 93.382716,33 Z" id="路径" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
14
|
+
<path d="M92,30.617284 L92,34.382716 C92,34.7222222 91.775,35 91.5,35 C91.225,35 91,34.7222222 91,34.382716 L91,30.617284 C91,30.2777778 91.225,30 91.5,30 C91.775,30 92,30.2777778 92,30.617284 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
15
|
+
<path d="M88.5040102,22.1343805 C89.1306963,22.1343805 89.7212906,22.3758414 90.1642362,22.8133882 C90.6071819,23.2509349 90.8516223,23.8343306 90.8516223,24.4533782 C90.8516223,25.0724258 90.6071819,25.6558215 90.1642362,26.0933682 C89.7212906,26.530915 89.1306963,26.772376 88.5040102,26.772376 C87.8773241,26.772376 87.2867299,26.530915 86.8437842,26.0933682 C86.4008385,25.6558215 86.1563981,25.0724258 86.1563981,24.4533782 C86.1563981,23.8343306 86.4008385,23.2509349 86.8437842,22.8133882 C87.2867299,22.3758414 87.8773241,22.1343805 88.5040102,22.1343805 M88.5040102,21 C86.5730952,21 85.0080204,22.5459985 85.0080204,24.4533782 C85.0080204,26.3607579 86.5730952,27.9067564 88.5040102,27.9067564 C90.4349253,27.9067564 92,26.3607579 92,24.4533782 C92,22.5459985 90.4349253,21 88.5040102,21 Z M86.7847248,34 L83,34 L83.0902297,33.3550237 C83.1771783,32.7359761 83.3641998,32.136375 83.644732,31.5740464 C84.0647102,30.7297432 84.6913963,29.9826727 85.4542472,29.4187235 C86.502552,28.6408626 87.7542836,28.2292446 89.0765585,28.2292446 C89.9230769,28.2292446 90.7433467,28.3994016 91.5160408,28.7348542 C91.8064163,28.8612565 91.9376595,29.1950885 91.811338,29.4819247 C91.6833759,29.7687609 91.3454247,29.8984044 91.0550492,29.7736225 C90.4300036,29.5013712 89.7639446,29.3652456 89.0781991,29.3652456 C88.0069267,29.3652456 86.9930733,29.697457 86.1449143,30.3278484 C85.5247904,30.7864622 85.0178637,31.390925 84.6766314,32.0780354 C84.5486693,32.3324607 84.4453153,32.5966093 84.36821,32.8688606 L86.7863653,32.8688606 C87.1029894,32.8688606 87.3605541,33.123286 87.3605541,33.4360509 C87.3605541,33.7488158 87.1013489,34 86.7847248,34 Z" id="形状" fill="#1A7AFF" fill-rule="nonzero"></path>
|
|
16
|
+
</g>
|
|
17
|
+
<g id="编组-2" transform="translate(10.000000, 20.000000)"></g>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</svg>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"storyId": "eo-user-or-user-group-select",
|
|
4
|
+
"text": {
|
|
5
|
+
"en": "user-or-user-group-select",
|
|
6
|
+
"zh": "用户(组)选择器"
|
|
7
|
+
},
|
|
8
|
+
"description": {
|
|
9
|
+
"en": "support to select user or user group by modal or select",
|
|
10
|
+
"zh": "支持配置选择用户/用户组,下拉框/弹框选择等"
|
|
11
|
+
},
|
|
12
|
+
"icon": {
|
|
13
|
+
"imgSrc": "bricks/form-platform/dist/stories-assets/eo-user-or-user-group-select.e93652af1ee695a62988.svg"
|
|
14
|
+
},
|
|
15
|
+
"conf": [
|
|
16
|
+
{
|
|
17
|
+
"bricks": [
|
|
18
|
+
{
|
|
19
|
+
"description": {
|
|
20
|
+
"title": "基本用法"
|
|
21
|
+
},
|
|
22
|
+
"brick": "eo-user-or-user-group-select",
|
|
23
|
+
"events": {
|
|
24
|
+
"user.group.change": {
|
|
25
|
+
"action": "console.log"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"properties": {
|
|
29
|
+
"mergeUseAndUserGroup": true,
|
|
30
|
+
"name": "username",
|
|
31
|
+
"staticList": [
|
|
32
|
+
"easyops"
|
|
33
|
+
],
|
|
34
|
+
"style": {
|
|
35
|
+
"width": "500px"
|
|
36
|
+
},
|
|
37
|
+
"value": [
|
|
38
|
+
"easyops"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"snippetId": "eo-user-or-user-group-select[basic]",
|
|
44
|
+
"title": {
|
|
45
|
+
"en": "Basic User or User Group Select",
|
|
46
|
+
"zh": "基础用户(组)选择器"
|
|
47
|
+
},
|
|
48
|
+
"thumbnail": "bricks/form-platform/dist/stories-assets/eo-user-or-user-group-select[basic].516c14f6d72b88d2c480.svg"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"bricks": [
|
|
52
|
+
{
|
|
53
|
+
"description": {
|
|
54
|
+
"title": "支持白名单配置"
|
|
55
|
+
},
|
|
56
|
+
"brick": "eo-user-or-user-group-select",
|
|
57
|
+
"events": {
|
|
58
|
+
"user.group.change": {
|
|
59
|
+
"action": "console.log"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"properties": {
|
|
63
|
+
"mergeUseAndUserGroup": true,
|
|
64
|
+
"name": "username",
|
|
65
|
+
"staticList": [
|
|
66
|
+
"easyops"
|
|
67
|
+
],
|
|
68
|
+
"style": {
|
|
69
|
+
"width": "500px"
|
|
70
|
+
},
|
|
71
|
+
"value": [
|
|
72
|
+
"easyops"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"snippetId": "eo-user-or-user-group-select[blank-list]",
|
|
78
|
+
"title": {
|
|
79
|
+
"en": "User or User Group Select with Blank List",
|
|
80
|
+
"zh": "带白名单配置的基础用户(组)选择器"
|
|
81
|
+
},
|
|
82
|
+
"thumbnail": "bricks/form-platform/dist/stories-assets/eo-user-or-user-group-select[blank-list].2a756391861c8316c012.svg"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/form-platform",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form-platform",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@next-bricks/form": "*"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "beb302a90df42bdd8639d44d92972fa10e688458"
|
|
45
45
|
}
|