@next-bricks/presentational-bricks 1.245.0 → 1.245.1
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/CHANGELOG.md +8 -0
- package/deploy/contract.yaml +105 -105
- package/dist/bricks.json +22 -22
- package/dist/stories.json +181 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.245.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.245.0...@next-bricks/presentational-bricks@1.245.1) (2022-06-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @next-bricks/presentational-bricks
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [1.245.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.244.6...@next-bricks/presentational-bricks@1.245.0) (2022-06-10)
|
|
7
15
|
|
|
8
16
|
|
package/deploy/contract.yaml
CHANGED
|
@@ -1,211 +1,211 @@
|
|
|
1
1
|
contracts:
|
|
2
2
|
- type: brick
|
|
3
3
|
brick: presentational-bricks.general-iframe
|
|
4
|
-
version: 1.245.
|
|
4
|
+
version: 1.245.1
|
|
5
5
|
- type: brick
|
|
6
6
|
brick: presentational-bricks.brick-tag
|
|
7
|
-
version: 1.245.
|
|
7
|
+
version: 1.245.1
|
|
8
8
|
- type: brick
|
|
9
|
-
brick: presentational-bricks.brick-
|
|
10
|
-
version: 1.245.
|
|
9
|
+
brick: presentational-bricks.brick-tree
|
|
10
|
+
version: 1.245.1
|
|
11
11
|
- type: brick
|
|
12
12
|
brick: presentational-bricks.brick-descriptions
|
|
13
|
-
version: 1.245.
|
|
13
|
+
version: 1.245.1
|
|
14
14
|
- type: brick
|
|
15
|
-
brick: presentational-bricks.brick-
|
|
16
|
-
version: 1.245.
|
|
15
|
+
brick: presentational-bricks.brick-timeline
|
|
16
|
+
version: 1.245.1
|
|
17
17
|
- type: brick
|
|
18
|
-
brick: presentational-bricks.brick-
|
|
19
|
-
version: 1.245.
|
|
18
|
+
brick: presentational-bricks.brick-list
|
|
19
|
+
version: 1.245.1
|
|
20
20
|
- type: brick
|
|
21
|
-
brick: presentational-bricks.brick-
|
|
22
|
-
version: 1.245.
|
|
21
|
+
brick: presentational-bricks.brick-button
|
|
22
|
+
version: 1.245.1
|
|
23
23
|
- type: brick
|
|
24
24
|
brick: presentational-bricks.brick-table
|
|
25
|
-
version: 1.245.
|
|
26
|
-
- type: brick
|
|
27
|
-
brick: presentational-bricks.brick-button
|
|
28
|
-
version: 1.245.0
|
|
25
|
+
version: 1.245.1
|
|
29
26
|
- type: brick
|
|
30
27
|
brick: presentational-bricks.brick-delete-confirm
|
|
31
|
-
version: 1.245.
|
|
28
|
+
version: 1.245.1
|
|
29
|
+
- type: brick
|
|
30
|
+
brick: presentational-bricks.brick-general-search
|
|
31
|
+
version: 1.245.1
|
|
32
32
|
- type: brick
|
|
33
33
|
brick: presentational-bricks.brick-humanize-time
|
|
34
|
-
version: 1.245.
|
|
34
|
+
version: 1.245.1
|
|
35
35
|
- type: brick
|
|
36
36
|
brick: presentational-bricks.general-pagination
|
|
37
|
-
version: 1.245.
|
|
37
|
+
version: 1.245.1
|
|
38
38
|
- type: brick
|
|
39
39
|
brick: presentational-bricks.brick-link
|
|
40
|
-
version: 1.245.
|
|
41
|
-
- type: brick
|
|
42
|
-
brick: presentational-bricks.template-breadcrumb
|
|
43
|
-
version: 1.245.0
|
|
40
|
+
version: 1.245.1
|
|
44
41
|
- type: brick
|
|
45
42
|
brick: presentational-bricks.brick-utils
|
|
46
|
-
version: 1.245.
|
|
43
|
+
version: 1.245.1
|
|
44
|
+
- type: brick
|
|
45
|
+
brick: presentational-bricks.template-breadcrumb
|
|
46
|
+
version: 1.245.1
|
|
47
47
|
- type: brick
|
|
48
48
|
brick: presentational-bricks.brick-input
|
|
49
|
-
version: 1.245.
|
|
49
|
+
version: 1.245.1
|
|
50
50
|
- type: brick
|
|
51
51
|
brick: presentational-bricks.brick-alert-level
|
|
52
|
-
version: 1.245.
|
|
53
|
-
- type: brick
|
|
54
|
-
brick: presentational-bricks.brick-cluster-type
|
|
55
|
-
version: 1.245.0
|
|
52
|
+
version: 1.245.1
|
|
56
53
|
- type: brick
|
|
57
54
|
brick: presentational-bricks.brick-alert-value
|
|
58
|
-
version: 1.245.
|
|
55
|
+
version: 1.245.1
|
|
56
|
+
- type: brick
|
|
57
|
+
brick: presentational-bricks.brick-cluster-type
|
|
58
|
+
version: 1.245.1
|
|
59
59
|
- type: brick
|
|
60
60
|
brick: presentational-bricks.brick-value-mapping
|
|
61
|
-
version: 1.245.
|
|
61
|
+
version: 1.245.1
|
|
62
62
|
- type: brick
|
|
63
63
|
brick: presentational-bricks.brick-display-structs
|
|
64
|
-
version: 1.245.
|
|
65
|
-
- type: brick
|
|
66
|
-
brick: presentational-bricks.brick-collection-instance-execution
|
|
67
|
-
version: 1.245.0
|
|
64
|
+
version: 1.245.1
|
|
68
65
|
- type: brick
|
|
69
66
|
brick: presentational-bricks.brick-conditional-display
|
|
70
|
-
version: 1.245.
|
|
67
|
+
version: 1.245.1
|
|
68
|
+
- type: brick
|
|
69
|
+
brick: presentational-bricks.brick-collection-instance-execution
|
|
70
|
+
version: 1.245.1
|
|
71
71
|
- type: brick
|
|
72
72
|
brick: presentational-bricks.brick-alert-number
|
|
73
|
-
version: 1.245.
|
|
73
|
+
version: 1.245.1
|
|
74
74
|
- type: brick
|
|
75
75
|
brick: presentational-bricks.brick-user
|
|
76
|
-
version: 1.245.
|
|
76
|
+
version: 1.245.1
|
|
77
77
|
- type: brick
|
|
78
78
|
brick: presentational-bricks.brick-alert-status
|
|
79
|
-
version: 1.245.
|
|
79
|
+
version: 1.245.1
|
|
80
80
|
- type: brick
|
|
81
81
|
brick: presentational-bricks.cost-time
|
|
82
|
-
version: 1.245.
|
|
82
|
+
version: 1.245.1
|
|
83
83
|
- type: brick
|
|
84
84
|
brick: presentational-bricks.datetime-selector
|
|
85
|
-
version: 1.245.
|
|
85
|
+
version: 1.245.1
|
|
86
86
|
- type: brick
|
|
87
87
|
brick: presentational-bricks.brick-result
|
|
88
|
-
version: 1.245.
|
|
88
|
+
version: 1.245.1
|
|
89
89
|
- type: brick
|
|
90
|
-
brick: presentational-bricks.
|
|
91
|
-
version: 1.245.
|
|
90
|
+
brick: presentational-bricks.button-wrapper
|
|
91
|
+
version: 1.245.1
|
|
92
92
|
- type: brick
|
|
93
|
-
brick: presentational-bricks.
|
|
94
|
-
version: 1.245.
|
|
93
|
+
brick: presentational-bricks.brick-alert
|
|
94
|
+
version: 1.245.1
|
|
95
95
|
- type: brick
|
|
96
|
-
brick: presentational-bricks.
|
|
97
|
-
version: 1.245.
|
|
96
|
+
brick: presentational-bricks.general-list
|
|
97
|
+
version: 1.245.1
|
|
98
98
|
- type: brick
|
|
99
|
-
brick: presentational-bricks.
|
|
100
|
-
version: 1.245.
|
|
99
|
+
brick: presentational-bricks.dropdown-select
|
|
100
|
+
version: 1.245.1
|
|
101
101
|
- type: brick
|
|
102
102
|
brick: presentational-bricks.brick-quick-entries
|
|
103
|
-
version: 1.245.
|
|
103
|
+
version: 1.245.1
|
|
104
104
|
- type: brick
|
|
105
|
-
brick: presentational-bricks.
|
|
106
|
-
version: 1.245.
|
|
105
|
+
brick: presentational-bricks.collapsible-card-item
|
|
106
|
+
version: 1.245.1
|
|
107
107
|
- type: brick
|
|
108
108
|
brick: presentational-bricks.single-field-edit
|
|
109
|
-
version: 1.245.
|
|
109
|
+
version: 1.245.1
|
|
110
110
|
- type: brick
|
|
111
111
|
brick: presentational-bricks.brick-placeholder
|
|
112
|
-
version: 1.245.
|
|
113
|
-
- type: brick
|
|
114
|
-
brick: presentational-bricks.agent-status
|
|
115
|
-
version: 1.245.0
|
|
112
|
+
version: 1.245.1
|
|
116
113
|
- type: brick
|
|
117
114
|
brick: presentational-bricks.general-carousel
|
|
118
|
-
version: 1.245.
|
|
115
|
+
version: 1.245.1
|
|
116
|
+
- type: brick
|
|
117
|
+
brick: presentational-bricks.agent-status
|
|
118
|
+
version: 1.245.1
|
|
119
119
|
- type: brick
|
|
120
120
|
brick: presentational-bricks.dynamic-content
|
|
121
|
-
version: 1.245.
|
|
121
|
+
version: 1.245.1
|
|
122
122
|
- type: brick
|
|
123
123
|
brick: presentational-bricks.entry-card-item
|
|
124
|
-
version: 1.245.
|
|
124
|
+
version: 1.245.1
|
|
125
|
+
- type: brick
|
|
126
|
+
brick: presentational-bricks.general-video
|
|
127
|
+
version: 1.245.1
|
|
125
128
|
- type: brick
|
|
126
129
|
brick: presentational-bricks.brick-divider
|
|
127
|
-
version: 1.245.
|
|
130
|
+
version: 1.245.1
|
|
128
131
|
- type: brick
|
|
129
132
|
brick: presentational-bricks.log-display
|
|
130
|
-
version: 1.245.
|
|
131
|
-
- type: brick
|
|
132
|
-
brick: presentational-bricks.general-video
|
|
133
|
-
version: 1.245.0
|
|
133
|
+
version: 1.245.1
|
|
134
134
|
- type: brick
|
|
135
135
|
brick: presentational-bricks.general-tooltip
|
|
136
|
-
version: 1.245.
|
|
136
|
+
version: 1.245.1
|
|
137
137
|
- type: brick
|
|
138
138
|
brick: presentational-bricks.general-transfer
|
|
139
|
-
version: 1.245.
|
|
140
|
-
- type: brick
|
|
141
|
-
brick: presentational-bricks.basic-progress
|
|
142
|
-
version: 1.245.0
|
|
139
|
+
version: 1.245.1
|
|
143
140
|
- type: brick
|
|
144
141
|
brick: presentational-bricks.general-label
|
|
145
|
-
version: 1.245.
|
|
142
|
+
version: 1.245.1
|
|
143
|
+
- type: brick
|
|
144
|
+
brick: presentational-bricks.basic-progress
|
|
145
|
+
version: 1.245.1
|
|
146
146
|
- type: brick
|
|
147
147
|
brick: presentational-bricks.copyable-text
|
|
148
|
-
version: 1.245.
|
|
148
|
+
version: 1.245.1
|
|
149
149
|
- type: brick
|
|
150
150
|
brick: presentational-bricks.calendar
|
|
151
|
-
version: 1.245.
|
|
151
|
+
version: 1.245.1
|
|
152
152
|
- type: brick
|
|
153
153
|
brick: presentational-bricks.avatar-upload
|
|
154
|
-
version: 1.245.
|
|
154
|
+
version: 1.245.1
|
|
155
155
|
- type: brick
|
|
156
156
|
brick: presentational-bricks.general-badge
|
|
157
|
-
version: 1.245.
|
|
157
|
+
version: 1.245.1
|
|
158
158
|
- type: brick
|
|
159
159
|
brick: presentational-bricks.brick-illustration
|
|
160
|
-
version: 1.245.
|
|
161
|
-
- type: brick
|
|
162
|
-
brick: presentational-bricks.general-image
|
|
163
|
-
version: 1.245.0
|
|
160
|
+
version: 1.245.1
|
|
164
161
|
- type: brick
|
|
165
162
|
brick: presentational-bricks.brick-rate
|
|
166
|
-
version: 1.245.
|
|
163
|
+
version: 1.245.1
|
|
164
|
+
- type: brick
|
|
165
|
+
brick: presentational-bricks.general-image
|
|
166
|
+
version: 1.245.1
|
|
167
167
|
- type: brick
|
|
168
168
|
brick: presentational-bricks.dynamic-grid-container
|
|
169
|
-
version: 1.245.
|
|
169
|
+
version: 1.245.1
|
|
170
170
|
- type: brick
|
|
171
171
|
brick: presentational-bricks.info-display-card-list
|
|
172
|
-
version: 1.245.
|
|
172
|
+
version: 1.245.1
|
|
173
173
|
- type: brick
|
|
174
174
|
brick: presentational-bricks.general-slider
|
|
175
|
-
version: 1.245.
|
|
175
|
+
version: 1.245.1
|
|
176
176
|
- type: brick
|
|
177
177
|
brick: presentational-bricks.rank-table
|
|
178
|
-
version: 1.245.
|
|
179
|
-
- type: brick
|
|
180
|
-
brick: presentational-bricks.basic-icon
|
|
181
|
-
version: 1.245.0
|
|
178
|
+
version: 1.245.1
|
|
182
179
|
- type: brick
|
|
183
180
|
brick: presentational-bricks.text-collapse
|
|
184
|
-
version: 1.245.
|
|
181
|
+
version: 1.245.1
|
|
182
|
+
- type: brick
|
|
183
|
+
brick: presentational-bricks.basic-icon
|
|
184
|
+
version: 1.245.1
|
|
185
185
|
- type: brick
|
|
186
186
|
brick: presentational-bricks.dropdown-button
|
|
187
|
-
version: 1.245.
|
|
187
|
+
version: 1.245.1
|
|
188
188
|
- type: brick
|
|
189
189
|
brick: presentational-bricks.table-transfer
|
|
190
|
-
version: 1.245.
|
|
190
|
+
version: 1.245.1
|
|
191
191
|
- type: brick
|
|
192
192
|
brick: presentational-bricks.code-editor
|
|
193
|
-
version: 1.245.
|
|
194
|
-
- type: brick
|
|
195
|
-
brick: presentational-bricks.crontab-display
|
|
196
|
-
version: 1.245.0
|
|
193
|
+
version: 1.245.1
|
|
197
194
|
- type: brick
|
|
198
195
|
brick: presentational-bricks.brick-code-display
|
|
199
|
-
version: 1.245.
|
|
196
|
+
version: 1.245.1
|
|
200
197
|
- type: brick
|
|
201
|
-
brick: presentational-bricks.
|
|
202
|
-
version: 1.245.
|
|
198
|
+
brick: presentational-bricks.crontab-display
|
|
199
|
+
version: 1.245.1
|
|
203
200
|
- type: brick
|
|
204
201
|
brick: presentational-bricks.card-item
|
|
205
|
-
version: 1.245.
|
|
202
|
+
version: 1.245.1
|
|
203
|
+
- type: brick
|
|
204
|
+
brick: presentational-bricks.brick-collapse-card
|
|
205
|
+
version: 1.245.1
|
|
206
206
|
- type: brick
|
|
207
207
|
brick: presentational-bricks.brick-form
|
|
208
|
-
version: 1.245.
|
|
208
|
+
version: 1.245.1
|
|
209
209
|
deps:
|
|
210
210
|
- type: contract
|
|
211
211
|
contract: easyops.api.cmdb.instance.PostSearch
|
|
@@ -215,17 +215,17 @@ contracts:
|
|
|
215
215
|
version: '*'
|
|
216
216
|
- type: brick
|
|
217
217
|
brick: presentational-bricks.modal-confirm
|
|
218
|
-
version: 1.245.
|
|
218
|
+
version: 1.245.1
|
|
219
219
|
- type: brick
|
|
220
220
|
brick: presentational-bricks.markdown-display
|
|
221
|
-
version: 1.245.
|
|
222
|
-
- type: brick
|
|
223
|
-
brick: presentational-bricks.statistic-card
|
|
224
|
-
version: 1.245.0
|
|
221
|
+
version: 1.245.1
|
|
225
222
|
- type: brick
|
|
226
223
|
brick: presentational-bricks.markdown-editor
|
|
227
|
-
version: 1.245.
|
|
224
|
+
version: 1.245.1
|
|
228
225
|
deps:
|
|
229
226
|
- type: contract
|
|
230
227
|
contract: easyops.api.object_store.object_store.PutObject
|
|
231
228
|
version: '*'
|
|
229
|
+
- type: brick
|
|
230
|
+
brick: presentational-bricks.statistic-card
|
|
231
|
+
version: 1.245.1
|
package/dist/bricks.json
CHANGED
|
@@ -2,77 +2,77 @@
|
|
|
2
2
|
"bricks": [
|
|
3
3
|
"presentational-bricks.general-iframe",
|
|
4
4
|
"presentational-bricks.brick-tag",
|
|
5
|
-
"presentational-bricks.brick-
|
|
5
|
+
"presentational-bricks.brick-tree",
|
|
6
6
|
"presentational-bricks.brick-descriptions",
|
|
7
|
+
"presentational-bricks.brick-timeline",
|
|
7
8
|
"presentational-bricks.brick-list",
|
|
8
|
-
"presentational-bricks.brick-tree",
|
|
9
|
-
"presentational-bricks.brick-general-search",
|
|
10
|
-
"presentational-bricks.brick-table",
|
|
11
9
|
"presentational-bricks.brick-button",
|
|
10
|
+
"presentational-bricks.brick-table",
|
|
12
11
|
"presentational-bricks.brick-delete-confirm",
|
|
12
|
+
"presentational-bricks.brick-general-search",
|
|
13
13
|
"presentational-bricks.brick-humanize-time",
|
|
14
14
|
"presentational-bricks.general-pagination",
|
|
15
15
|
"presentational-bricks.brick-link",
|
|
16
|
-
"presentational-bricks.template-breadcrumb",
|
|
17
16
|
"presentational-bricks.brick-utils",
|
|
17
|
+
"presentational-bricks.template-breadcrumb",
|
|
18
18
|
"presentational-bricks.brick-input",
|
|
19
19
|
"presentational-bricks.brick-alert-level",
|
|
20
|
-
"presentational-bricks.brick-cluster-type",
|
|
21
20
|
"presentational-bricks.brick-alert-value",
|
|
21
|
+
"presentational-bricks.brick-cluster-type",
|
|
22
22
|
"presentational-bricks.brick-value-mapping",
|
|
23
23
|
"presentational-bricks.brick-display-structs",
|
|
24
|
-
"presentational-bricks.brick-collection-instance-execution",
|
|
25
24
|
"presentational-bricks.brick-conditional-display",
|
|
25
|
+
"presentational-bricks.brick-collection-instance-execution",
|
|
26
26
|
"presentational-bricks.brick-alert-number",
|
|
27
27
|
"presentational-bricks.brick-user",
|
|
28
28
|
"presentational-bricks.brick-alert-status",
|
|
29
29
|
"presentational-bricks.cost-time",
|
|
30
30
|
"presentational-bricks.datetime-selector",
|
|
31
31
|
"presentational-bricks.brick-result",
|
|
32
|
+
"presentational-bricks.button-wrapper",
|
|
32
33
|
"presentational-bricks.brick-alert",
|
|
34
|
+
"presentational-bricks.general-list",
|
|
33
35
|
"presentational-bricks.dropdown-select",
|
|
34
|
-
"presentational-bricks.button-wrapper",
|
|
35
|
-
"presentational-bricks.collapsible-card-item",
|
|
36
36
|
"presentational-bricks.brick-quick-entries",
|
|
37
|
-
"presentational-bricks.
|
|
37
|
+
"presentational-bricks.collapsible-card-item",
|
|
38
38
|
"presentational-bricks.single-field-edit",
|
|
39
39
|
"presentational-bricks.brick-placeholder",
|
|
40
|
-
"presentational-bricks.agent-status",
|
|
41
40
|
"presentational-bricks.general-carousel",
|
|
41
|
+
"presentational-bricks.agent-status",
|
|
42
42
|
"presentational-bricks.dynamic-content",
|
|
43
43
|
"presentational-bricks.entry-card-item",
|
|
44
|
+
"presentational-bricks.general-video",
|
|
44
45
|
"presentational-bricks.brick-divider",
|
|
45
46
|
"presentational-bricks.log-display",
|
|
46
|
-
"presentational-bricks.general-video",
|
|
47
47
|
"presentational-bricks.general-tooltip",
|
|
48
48
|
"presentational-bricks.general-transfer",
|
|
49
|
-
"presentational-bricks.basic-progress",
|
|
50
49
|
"presentational-bricks.general-label",
|
|
50
|
+
"presentational-bricks.basic-progress",
|
|
51
51
|
"presentational-bricks.copyable-text",
|
|
52
52
|
"presentational-bricks.calendar",
|
|
53
53
|
"presentational-bricks.avatar-upload",
|
|
54
54
|
"presentational-bricks.general-badge",
|
|
55
55
|
"presentational-bricks.brick-illustration",
|
|
56
|
-
"presentational-bricks.general-image",
|
|
57
56
|
"presentational-bricks.brick-rate",
|
|
57
|
+
"presentational-bricks.general-image",
|
|
58
58
|
"presentational-bricks.dynamic-grid-container",
|
|
59
59
|
"presentational-bricks.info-display-card-list",
|
|
60
60
|
"presentational-bricks.general-slider",
|
|
61
61
|
"presentational-bricks.rank-table",
|
|
62
|
-
"presentational-bricks.basic-icon",
|
|
63
62
|
"presentational-bricks.text-collapse",
|
|
63
|
+
"presentational-bricks.basic-icon",
|
|
64
64
|
"presentational-bricks.dropdown-button",
|
|
65
65
|
"presentational-bricks.table-transfer",
|
|
66
66
|
"presentational-bricks.code-editor",
|
|
67
|
-
"presentational-bricks.crontab-display",
|
|
68
67
|
"presentational-bricks.brick-code-display",
|
|
69
|
-
"presentational-bricks.
|
|
68
|
+
"presentational-bricks.crontab-display",
|
|
70
69
|
"presentational-bricks.card-item",
|
|
70
|
+
"presentational-bricks.brick-collapse-card",
|
|
71
71
|
"presentational-bricks.brick-form",
|
|
72
72
|
"presentational-bricks.modal-confirm",
|
|
73
73
|
"presentational-bricks.markdown-display",
|
|
74
|
-
"presentational-bricks.
|
|
75
|
-
"presentational-bricks.
|
|
74
|
+
"presentational-bricks.markdown-editor",
|
|
75
|
+
"presentational-bricks.statistic-card"
|
|
76
76
|
],
|
|
77
77
|
"processors": [
|
|
78
78
|
"presentationalBricks.flattenTreeDataListAndCalcRowSpan"
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"presentational-bricks.brick-table--editor",
|
|
89
89
|
"presentational-bricks.statistic-card--editor",
|
|
90
90
|
"presentational-bricks.brick-link--editor",
|
|
91
|
-
"presentational-bricks.brick-descriptions--editor",
|
|
92
|
-
"presentational-bricks.brick-result--editor",
|
|
93
91
|
"presentational-bricks.brick-alert--editor",
|
|
94
|
-
"presentational-bricks.brick-
|
|
92
|
+
"presentational-bricks.brick-descriptions--editor",
|
|
93
|
+
"presentational-bricks.brick-tree--editor",
|
|
94
|
+
"presentational-bricks.brick-result--editor"
|
|
95
95
|
],
|
|
96
96
|
"editorsJsFilePath": "bricks/presentational-bricks/dist/editors/editors.38198ded.js"
|
|
97
97
|
}
|
package/dist/stories.json
CHANGED
|
@@ -16928,5 +16928,186 @@
|
|
|
16928
16928
|
],
|
|
16929
16929
|
"interface": []
|
|
16930
16930
|
}
|
|
16931
|
+
},
|
|
16932
|
+
{
|
|
16933
|
+
"storyId": "presentational-bricks.table-transfer",
|
|
16934
|
+
"category": "layout",
|
|
16935
|
+
"type": "brick",
|
|
16936
|
+
"author": "ann",
|
|
16937
|
+
"text": {
|
|
16938
|
+
"en": "Table Transfer",
|
|
16939
|
+
"zh": "表格穿梭框"
|
|
16940
|
+
},
|
|
16941
|
+
"description": {
|
|
16942
|
+
"en": "table in transfer(support sort by dragging)",
|
|
16943
|
+
"zh": "表格穿梭选择框(支持拖拽排序)"
|
|
16944
|
+
},
|
|
16945
|
+
"icon": {
|
|
16946
|
+
"lib": "fa",
|
|
16947
|
+
"icon": "draw-polygon"
|
|
16948
|
+
},
|
|
16949
|
+
"conf": {
|
|
16950
|
+
"brick": "presentational-bricks.table-transfer",
|
|
16951
|
+
"properties": {
|
|
16952
|
+
"maxSelected": 3,
|
|
16953
|
+
"showSearch": true,
|
|
16954
|
+
"dragSortable": true,
|
|
16955
|
+
"dataSource": [
|
|
16956
|
+
{
|
|
16957
|
+
"key": "host.cpu_util.user",
|
|
16958
|
+
"title": "cpu user",
|
|
16959
|
+
"uselessKey1": "useless key 1",
|
|
16960
|
+
"uselessKey2": "useless key 2"
|
|
16961
|
+
},
|
|
16962
|
+
{
|
|
16963
|
+
"key": "host.cpu_util.system",
|
|
16964
|
+
"title": "cpu system",
|
|
16965
|
+
"uselessKey1": "useless key 1",
|
|
16966
|
+
"uselessKey2": "useless key 2"
|
|
16967
|
+
},
|
|
16968
|
+
{
|
|
16969
|
+
"key": "host.cpu_util.iowait",
|
|
16970
|
+
"title": "io wait",
|
|
16971
|
+
"uselessKey1": "useless key 1",
|
|
16972
|
+
"uselessKey2": "useless key 2"
|
|
16973
|
+
},
|
|
16974
|
+
{
|
|
16975
|
+
"key": "host.disk.total",
|
|
16976
|
+
"title": "disk total",
|
|
16977
|
+
"uselessKey1": "useless key 1",
|
|
16978
|
+
"uselessKey2": "useless key 2"
|
|
16979
|
+
},
|
|
16980
|
+
{
|
|
16981
|
+
"key": "host.network.bytes_in",
|
|
16982
|
+
"title": "bytes in",
|
|
16983
|
+
"uselessKey1": "useless key 1",
|
|
16984
|
+
"uselessKey2": "useless key 2"
|
|
16985
|
+
},
|
|
16986
|
+
{
|
|
16987
|
+
"key": "host.network.bytes_out",
|
|
16988
|
+
"title": "bytes out",
|
|
16989
|
+
"uselessKey1": "useless key 1",
|
|
16990
|
+
"uselessKey2": "useless key 2"
|
|
16991
|
+
}
|
|
16992
|
+
],
|
|
16993
|
+
"columns": [
|
|
16994
|
+
{
|
|
16995
|
+
"title": "title-left",
|
|
16996
|
+
"key": "title",
|
|
16997
|
+
"dataIndex": "title"
|
|
16998
|
+
},
|
|
16999
|
+
{
|
|
17000
|
+
"title": "uselessKey1",
|
|
17001
|
+
"key": "uselessKey1",
|
|
17002
|
+
"dataIndex": "uselessKey1"
|
|
17003
|
+
}
|
|
17004
|
+
],
|
|
17005
|
+
"targetKeys": [
|
|
17006
|
+
"host.network.bytes_out",
|
|
17007
|
+
"host.disk.total",
|
|
17008
|
+
"host.network.bytes_in"
|
|
17009
|
+
]
|
|
17010
|
+
},
|
|
17011
|
+
"events": {
|
|
17012
|
+
"table.transfer.change": {
|
|
17013
|
+
"action": "console.log"
|
|
17014
|
+
},
|
|
17015
|
+
"sort.change": {
|
|
17016
|
+
"action": "console.log"
|
|
17017
|
+
}
|
|
17018
|
+
}
|
|
17019
|
+
},
|
|
17020
|
+
"doc": {
|
|
17021
|
+
"id": "presentational-bricks.table-transfer",
|
|
17022
|
+
"author": "annzhang",
|
|
17023
|
+
"history": [
|
|
17024
|
+
{
|
|
17025
|
+
"version": "1.x.0",
|
|
17026
|
+
"change": " 新增构件 `presentational-bricks.table-transfer`"
|
|
17027
|
+
}
|
|
17028
|
+
],
|
|
17029
|
+
"dockind": "brick",
|
|
17030
|
+
"properties": [
|
|
17031
|
+
{
|
|
17032
|
+
"name": "dataSource",
|
|
17033
|
+
"type": "any[]",
|
|
17034
|
+
"default": "",
|
|
17035
|
+
"required": "true",
|
|
17036
|
+
"description": "数据源,其中的数据将会被渲染到左边一栏中,targetKeys 中指定的除外,必须有key字段作为唯一标识"
|
|
17037
|
+
},
|
|
17038
|
+
{
|
|
17039
|
+
"name": "columns",
|
|
17040
|
+
"type": "ColumnsType<Record<string, any>>",
|
|
17041
|
+
"default": "",
|
|
17042
|
+
"required": "true",
|
|
17043
|
+
"description": "表格column配置"
|
|
17044
|
+
},
|
|
17045
|
+
{
|
|
17046
|
+
"name": "targetKeys",
|
|
17047
|
+
"type": "string[]",
|
|
17048
|
+
"default": "",
|
|
17049
|
+
"required": "false",
|
|
17050
|
+
"description": "显示在右栏数据的 key 集合"
|
|
17051
|
+
},
|
|
17052
|
+
{
|
|
17053
|
+
"name": "selectedKeys",
|
|
17054
|
+
"type": "string[]",
|
|
17055
|
+
"default": "",
|
|
17056
|
+
"required": "false",
|
|
17057
|
+
"description": "设置哪些项被选中"
|
|
17058
|
+
},
|
|
17059
|
+
{
|
|
17060
|
+
"name": "disabled",
|
|
17061
|
+
"type": "boolean",
|
|
17062
|
+
"default": "`false`",
|
|
17063
|
+
"required": "false",
|
|
17064
|
+
"description": "是否禁用"
|
|
17065
|
+
},
|
|
17066
|
+
{
|
|
17067
|
+
"name": "dragSortable",
|
|
17068
|
+
"type": "boolean"
|
|
17069
|
+
},
|
|
17070
|
+
{
|
|
17071
|
+
"name": "sortTitle",
|
|
17072
|
+
"type": "string",
|
|
17073
|
+
"default": "`sort`",
|
|
17074
|
+
"required": "false",
|
|
17075
|
+
"description": "支持右栏表格排序时,排序列的title"
|
|
17076
|
+
},
|
|
17077
|
+
{
|
|
17078
|
+
"name": "maxSelected",
|
|
17079
|
+
"type": "number",
|
|
17080
|
+
"default": "",
|
|
17081
|
+
"required": "false",
|
|
17082
|
+
"description": "最大可选数量,当 dataSource 个数大于该值时,不显示全勾选框"
|
|
17083
|
+
},
|
|
17084
|
+
{
|
|
17085
|
+
"name": "listStyle",
|
|
17086
|
+
"type": "CSSProperties",
|
|
17087
|
+
"required": "false",
|
|
17088
|
+
"default": "-",
|
|
17089
|
+
"description": "两个穿梭框的自定义样式,常用来设置宽高"
|
|
17090
|
+
},
|
|
17091
|
+
{
|
|
17092
|
+
"name": "titles",
|
|
17093
|
+
"type": "[string, string]",
|
|
17094
|
+
"required": "false",
|
|
17095
|
+
"default": "-",
|
|
17096
|
+
"description": "标题集合,顺序从左至右",
|
|
17097
|
+
"group": "advanced"
|
|
17098
|
+
}
|
|
17099
|
+
],
|
|
17100
|
+
"events": [
|
|
17101
|
+
{
|
|
17102
|
+
"type": "sort.change",
|
|
17103
|
+
"detail": "",
|
|
17104
|
+
"description": "右栏表格拖拽排序发出的事件,event.detail是右栏表格排序后的key数组"
|
|
17105
|
+
},
|
|
17106
|
+
{
|
|
17107
|
+
"type": "table.transfer.change"
|
|
17108
|
+
}
|
|
17109
|
+
],
|
|
17110
|
+
"interface": []
|
|
17111
|
+
}
|
|
16931
17112
|
}
|
|
16932
17113
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.245.
|
|
3
|
+
"version": "1.245.1",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"@next-dll/ace": "*",
|
|
56
56
|
"@next-dll/react-dnd": "*"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e0065c7844e507438bca0f2a27525baec2d7f5dc"
|
|
59
59
|
}
|