@next-bricks/presentational-bricks 1.263.0 → 1.264.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.264.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.263.0...@next-bricks/presentational-bricks@1.264.0) (2022-08-31)
7
+
8
+
9
+ ### Features
10
+
11
+ * fix doms ([a07a5d0](https://github.com/easyops-cn/next-basics/commit/a07a5d0c48c834b7896150bfecf3de85146d584b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.263.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/presentational-bricks@1.262.1...@next-bricks/presentational-bricks@1.263.0) (2022-08-29)
7
18
 
8
19
 
@@ -1,211 +1,214 @@
1
1
  contracts:
2
2
  - type: brick
3
- brick: presentational-bricks.general-iframe
4
- version: 1.263.0
3
+ brick: presentational-bricks.brick-timeline
4
+ version: 1.264.0
5
+ - type: brick
6
+ brick: presentational-bricks.brick-descriptions
7
+ version: 1.264.0
5
8
  - type: brick
6
9
  brick: presentational-bricks.brick-tag
7
- version: 1.263.0
10
+ version: 1.264.0
8
11
  - type: brick
9
- brick: presentational-bricks.brick-timeline
10
- version: 1.263.0
12
+ brick: presentational-bricks.general-iframe
13
+ version: 1.264.0
11
14
  - type: brick
12
15
  brick: presentational-bricks.brick-tree
13
- version: 1.263.0
14
- - type: brick
15
- brick: presentational-bricks.brick-list
16
- version: 1.263.0
17
- - type: brick
18
- brick: presentational-bricks.brick-descriptions
19
- version: 1.263.0
16
+ version: 1.264.0
20
17
  - type: brick
21
18
  brick: presentational-bricks.brick-general-search
22
- version: 1.263.0
19
+ version: 1.264.0
23
20
  - type: brick
24
21
  brick: presentational-bricks.brick-button
25
- version: 1.263.0
22
+ version: 1.264.0
23
+ - type: brick
24
+ brick: presentational-bricks.brick-list
25
+ version: 1.264.0
26
26
  - type: brick
27
27
  brick: presentational-bricks.brick-table
28
- version: 1.263.0
28
+ version: 1.264.0
29
29
  - type: brick
30
- brick: presentational-bricks.brick-delete-confirm
31
- version: 1.263.0
30
+ brick: presentational-bricks.brick-link
31
+ version: 1.264.0
32
32
  - type: brick
33
33
  brick: presentational-bricks.brick-humanize-time
34
- version: 1.263.0
34
+ version: 1.264.0
35
35
  - type: brick
36
- brick: presentational-bricks.brick-input
37
- version: 1.263.0
36
+ brick: presentational-bricks.general-pagination
37
+ version: 1.264.0
38
38
  - type: brick
39
- brick: presentational-bricks.template-breadcrumb
40
- version: 1.263.0
39
+ brick: presentational-bricks.brick-delete-confirm
40
+ version: 1.264.0
41
41
  - type: brick
42
- brick: presentational-bricks.brick-link
43
- version: 1.263.0
42
+ brick: presentational-bricks.template-breadcrumb
43
+ version: 1.264.0
44
44
  - type: brick
45
- brick: presentational-bricks.general-pagination
46
- version: 1.263.0
45
+ brick: presentational-bricks.brick-input
46
+ version: 1.264.0
47
47
  - type: brick
48
48
  brick: presentational-bricks.brick-utils
49
- version: 1.263.0
49
+ version: 1.264.0
50
50
  - type: brick
51
- brick: presentational-bricks.brick-alert-level
52
- version: 1.263.0
51
+ brick: presentational-bricks.brick-value-mapping
52
+ version: 1.264.0
53
53
  - type: brick
54
54
  brick: presentational-bricks.brick-cluster-type
55
- version: 1.263.0
56
- - type: brick
57
- brick: presentational-bricks.brick-value-mapping
58
- version: 1.263.0
55
+ version: 1.264.0
59
56
  - type: brick
60
57
  brick: presentational-bricks.brick-alert-value
61
- version: 1.263.0
58
+ version: 1.264.0
59
+ - type: brick
60
+ brick: presentational-bricks.brick-alert-level
61
+ version: 1.264.0
62
62
  - type: brick
63
63
  brick: presentational-bricks.brick-display-structs
64
- version: 1.263.0
64
+ version: 1.264.0
65
+ - type: brick
66
+ brick: presentational-bricks.brick-user
67
+ version: 1.264.0
65
68
  - type: brick
66
69
  brick: presentational-bricks.brick-collection-instance-execution
67
- version: 1.263.0
70
+ version: 1.264.0
68
71
  - type: brick
69
- brick: presentational-bricks.brick-conditional-display
70
- version: 1.263.0
72
+ brick: presentational-bricks.brick-alert-number
73
+ version: 1.264.0
71
74
  - type: brick
72
- brick: presentational-bricks.brick-alert-status
73
- version: 1.263.0
75
+ brick: presentational-bricks.brick-conditional-display
76
+ version: 1.264.0
74
77
  - type: brick
75
78
  brick: presentational-bricks.cost-time
76
- version: 1.263.0
79
+ version: 1.264.0
77
80
  - type: brick
78
- brick: presentational-bricks.brick-user
79
- version: 1.263.0
81
+ brick: presentational-bricks.brick-alert-status
82
+ version: 1.264.0
80
83
  - type: brick
81
- brick: presentational-bricks.brick-alert-number
82
- version: 1.263.0
84
+ brick: presentational-bricks.datetime-selector
85
+ version: 1.264.0
83
86
  - type: brick
84
- brick: presentational-bricks.brick-result
85
- version: 1.263.0
87
+ brick: presentational-bricks.brick-alert
88
+ version: 1.264.0
86
89
  - type: brick
87
- brick: presentational-bricks.datetime-selector
88
- version: 1.263.0
90
+ brick: presentational-bricks.brick-result
91
+ version: 1.264.0
89
92
  - type: brick
90
93
  brick: presentational-bricks.dropdown-select
91
- version: 1.263.0
94
+ version: 1.264.0
92
95
  - type: brick
93
- brick: presentational-bricks.brick-alert
94
- version: 1.263.0
96
+ brick: presentational-bricks.button-wrapper
97
+ version: 1.264.0
95
98
  - type: brick
96
99
  brick: presentational-bricks.brick-quick-entries
97
- version: 1.263.0
98
- - type: brick
99
- brick: presentational-bricks.button-wrapper
100
- version: 1.263.0
100
+ version: 1.264.0
101
101
  - type: brick
102
102
  brick: presentational-bricks.general-list
103
- version: 1.263.0
103
+ version: 1.264.0
104
104
  - type: brick
105
105
  brick: presentational-bricks.collapsible-card-item
106
- version: 1.263.0
106
+ version: 1.264.0
107
107
  - type: brick
108
108
  brick: presentational-bricks.brick-placeholder
109
- version: 1.263.0
110
- - type: brick
111
- brick: presentational-bricks.agent-status
112
- version: 1.263.0
109
+ version: 1.264.0
113
110
  - type: brick
114
111
  brick: presentational-bricks.single-field-edit
115
- version: 1.263.0
112
+ version: 1.264.0
116
113
  - type: brick
117
114
  brick: presentational-bricks.general-carousel
118
- version: 1.263.0
115
+ version: 1.264.0
116
+ - type: brick
117
+ brick: presentational-bricks.agent-status
118
+ version: 1.264.0
119
119
  - type: brick
120
120
  brick: presentational-bricks.dynamic-content
121
- version: 1.263.0
121
+ version: 1.264.0
122
122
  - type: brick
123
123
  brick: presentational-bricks.entry-card-item
124
- version: 1.263.0
124
+ version: 1.264.0
125
125
  - type: brick
126
126
  brick: presentational-bricks.log-display
127
- version: 1.263.0
127
+ version: 1.264.0
128
128
  - type: brick
129
129
  brick: presentational-bricks.general-video
130
- version: 1.263.0
130
+ version: 1.264.0
131
131
  - type: brick
132
132
  brick: presentational-bricks.brick-divider
133
- version: 1.263.0
133
+ version: 1.264.0
134
134
  - type: brick
135
- brick: presentational-bricks.general-transfer
136
- version: 1.263.0
135
+ brick: presentational-bricks.general-label
136
+ version: 1.264.0
137
137
  - type: brick
138
138
  brick: presentational-bricks.general-tooltip
139
- version: 1.263.0
139
+ version: 1.264.0
140
140
  - type: brick
141
- brick: presentational-bricks.copyable-text
142
- version: 1.263.0
143
- - type: brick
144
- brick: presentational-bricks.general-label
145
- version: 1.263.0
141
+ brick: presentational-bricks.general-transfer
142
+ version: 1.264.0
146
143
  - type: brick
147
144
  brick: presentational-bricks.basic-progress
148
- version: 1.263.0
145
+ version: 1.264.0
146
+ - type: brick
147
+ brick: presentational-bricks.copyable-text
148
+ version: 1.264.0
149
149
  - type: brick
150
150
  brick: presentational-bricks.calendar
151
- version: 1.263.0
151
+ version: 1.264.0
152
+ - type: brick
153
+ brick: presentational-bricks.general-badge
154
+ version: 1.264.0
152
155
  - type: brick
153
156
  brick: presentational-bricks.avatar-upload
154
- version: 1.263.0
157
+ version: 1.264.0
155
158
  - type: brick
156
159
  brick: presentational-bricks.brick-illustration
157
- version: 1.263.0
158
- - type: brick
159
- brick: presentational-bricks.general-badge
160
- version: 1.263.0
161
- - type: brick
162
- brick: presentational-bricks.brick-rate
163
- version: 1.263.0
160
+ version: 1.264.0
164
161
  - type: brick
165
162
  brick: presentational-bricks.general-image
166
- version: 1.263.0
163
+ version: 1.264.0
164
+ - type: brick
165
+ brick: presentational-bricks.dynamic-grid-container
166
+ version: 1.264.0
167
167
  - type: brick
168
168
  brick: presentational-bricks.info-display-card-list
169
- version: 1.263.0
169
+ version: 1.264.0
170
170
  - type: brick
171
- brick: presentational-bricks.general-slider
172
- version: 1.263.0
171
+ brick: presentational-bricks.brick-rate
172
+ version: 1.264.0
173
173
  - type: brick
174
- brick: presentational-bricks.dynamic-grid-container
175
- version: 1.263.0
174
+ brick: presentational-bricks.general-slider
175
+ version: 1.264.0
176
176
  - type: brick
177
177
  brick: presentational-bricks.rank-table
178
- version: 1.263.0
178
+ version: 1.264.0
179
+ - type: brick
180
+ brick: presentational-bricks.basic-icon
181
+ version: 1.264.0
179
182
  - type: brick
180
183
  brick: presentational-bricks.dropdown-button
181
- version: 1.263.0
184
+ version: 1.264.0
182
185
  - type: brick
183
186
  brick: presentational-bricks.text-collapse
184
- version: 1.263.0
185
- - type: brick
186
- brick: presentational-bricks.basic-icon
187
- version: 1.263.0
187
+ version: 1.264.0
188
188
  - type: brick
189
189
  brick: presentational-bricks.table-transfer
190
- version: 1.263.0
190
+ version: 1.264.0
191
191
  - type: brick
192
192
  brick: presentational-bricks.code-editor
193
- version: 1.263.0
193
+ version: 1.264.0
194
194
  - type: brick
195
195
  brick: presentational-bricks.crontab-display
196
- version: 1.263.0
197
- - type: brick
198
- brick: presentational-bricks.card-item
199
- version: 1.263.0
196
+ version: 1.264.0
200
197
  - type: brick
201
198
  brick: presentational-bricks.brick-code-display
202
- version: 1.263.0
199
+ version: 1.264.0
200
+ - type: brick
201
+ brick: presentational-bricks.card-item
202
+ version: 1.264.0
203
203
  - type: brick
204
204
  brick: presentational-bricks.brick-collapse-card
205
- version: 1.263.0
205
+ version: 1.264.0
206
+ - type: brick
207
+ brick: presentational-bricks.statistic-card
208
+ version: 1.264.0
206
209
  - type: brick
207
210
  brick: presentational-bricks.brick-form
208
- version: 1.263.0
211
+ version: 1.264.0
209
212
  deps:
210
213
  - type: contract
211
214
  contract: easyops.api.cmdb.instance.PostSearch
@@ -215,17 +218,14 @@ contracts:
215
218
  version: '*'
216
219
  - type: brick
217
220
  brick: presentational-bricks.markdown-display
218
- version: 1.263.0
221
+ version: 1.264.0
219
222
  - type: brick
220
223
  brick: presentational-bricks.modal-confirm
221
- version: 1.263.0
224
+ version: 1.264.0
222
225
  - type: brick
223
226
  brick: presentational-bricks.markdown-editor
224
- version: 1.263.0
227
+ version: 1.264.0
225
228
  deps:
226
229
  - type: contract
227
230
  contract: easyops.api.object_store.object_store.PutObject
228
231
  version: '*'
229
- - type: brick
230
- brick: presentational-bricks.statistic-card
231
- version: 1.263.0
package/dist/bricks.json CHANGED
@@ -1,78 +1,78 @@
1
1
  {
2
2
  "bricks": [
3
- "presentational-bricks.general-iframe",
4
- "presentational-bricks.brick-tag",
5
3
  "presentational-bricks.brick-timeline",
6
- "presentational-bricks.brick-tree",
7
- "presentational-bricks.brick-list",
8
4
  "presentational-bricks.brick-descriptions",
5
+ "presentational-bricks.brick-tag",
6
+ "presentational-bricks.general-iframe",
7
+ "presentational-bricks.brick-tree",
9
8
  "presentational-bricks.brick-general-search",
10
9
  "presentational-bricks.brick-button",
10
+ "presentational-bricks.brick-list",
11
11
  "presentational-bricks.brick-table",
12
- "presentational-bricks.brick-delete-confirm",
13
- "presentational-bricks.brick-humanize-time",
14
- "presentational-bricks.brick-input",
15
- "presentational-bricks.template-breadcrumb",
16
12
  "presentational-bricks.brick-link",
13
+ "presentational-bricks.brick-humanize-time",
17
14
  "presentational-bricks.general-pagination",
15
+ "presentational-bricks.brick-delete-confirm",
16
+ "presentational-bricks.template-breadcrumb",
17
+ "presentational-bricks.brick-input",
18
18
  "presentational-bricks.brick-utils",
19
- "presentational-bricks.brick-alert-level",
20
- "presentational-bricks.brick-cluster-type",
21
19
  "presentational-bricks.brick-value-mapping",
20
+ "presentational-bricks.brick-cluster-type",
22
21
  "presentational-bricks.brick-alert-value",
22
+ "presentational-bricks.brick-alert-level",
23
23
  "presentational-bricks.brick-display-structs",
24
+ "presentational-bricks.brick-user",
24
25
  "presentational-bricks.brick-collection-instance-execution",
26
+ "presentational-bricks.brick-alert-number",
25
27
  "presentational-bricks.brick-conditional-display",
26
- "presentational-bricks.brick-alert-status",
27
28
  "presentational-bricks.cost-time",
28
- "presentational-bricks.brick-user",
29
- "presentational-bricks.brick-alert-number",
30
- "presentational-bricks.brick-result",
29
+ "presentational-bricks.brick-alert-status",
31
30
  "presentational-bricks.datetime-selector",
32
- "presentational-bricks.dropdown-select",
33
31
  "presentational-bricks.brick-alert",
34
- "presentational-bricks.brick-quick-entries",
32
+ "presentational-bricks.brick-result",
33
+ "presentational-bricks.dropdown-select",
35
34
  "presentational-bricks.button-wrapper",
35
+ "presentational-bricks.brick-quick-entries",
36
36
  "presentational-bricks.general-list",
37
37
  "presentational-bricks.collapsible-card-item",
38
38
  "presentational-bricks.brick-placeholder",
39
- "presentational-bricks.agent-status",
40
39
  "presentational-bricks.single-field-edit",
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
44
  "presentational-bricks.log-display",
45
45
  "presentational-bricks.general-video",
46
46
  "presentational-bricks.brick-divider",
47
- "presentational-bricks.general-transfer",
48
- "presentational-bricks.general-tooltip",
49
- "presentational-bricks.copyable-text",
50
47
  "presentational-bricks.general-label",
48
+ "presentational-bricks.general-tooltip",
49
+ "presentational-bricks.general-transfer",
51
50
  "presentational-bricks.basic-progress",
51
+ "presentational-bricks.copyable-text",
52
52
  "presentational-bricks.calendar",
53
+ "presentational-bricks.general-badge",
53
54
  "presentational-bricks.avatar-upload",
54
55
  "presentational-bricks.brick-illustration",
55
- "presentational-bricks.general-badge",
56
- "presentational-bricks.brick-rate",
57
56
  "presentational-bricks.general-image",
57
+ "presentational-bricks.dynamic-grid-container",
58
58
  "presentational-bricks.info-display-card-list",
59
+ "presentational-bricks.brick-rate",
59
60
  "presentational-bricks.general-slider",
60
- "presentational-bricks.dynamic-grid-container",
61
61
  "presentational-bricks.rank-table",
62
+ "presentational-bricks.basic-icon",
62
63
  "presentational-bricks.dropdown-button",
63
64
  "presentational-bricks.text-collapse",
64
- "presentational-bricks.basic-icon",
65
65
  "presentational-bricks.table-transfer",
66
66
  "presentational-bricks.code-editor",
67
67
  "presentational-bricks.crontab-display",
68
- "presentational-bricks.card-item",
69
68
  "presentational-bricks.brick-code-display",
69
+ "presentational-bricks.card-item",
70
70
  "presentational-bricks.brick-collapse-card",
71
+ "presentational-bricks.statistic-card",
71
72
  "presentational-bricks.brick-form",
72
73
  "presentational-bricks.markdown-display",
73
74
  "presentational-bricks.modal-confirm",
74
- "presentational-bricks.markdown-editor",
75
- "presentational-bricks.statistic-card"
75
+ "presentational-bricks.markdown-editor"
76
76
  ],
77
77
  "processors": [
78
78
  "presentationalBricks.flattenTreeDataListAndCalcRowSpan"
@@ -84,14 +84,14 @@
84
84
  ],
85
85
  "filePath": "bricks/presentational-bricks/dist/index.6eb15a69.js",
86
86
  "editors": [
87
- "presentational-bricks.brick-link--editor",
88
87
  "presentational-bricks.brick-table--editor",
89
88
  "presentational-bricks.statistic-card--editor",
90
89
  "presentational-bricks.brick-quick-entries--editor",
91
- "presentational-bricks.brick-result--editor",
90
+ "presentational-bricks.brick-link--editor",
92
91
  "presentational-bricks.brick-descriptions--editor",
93
- "presentational-bricks.brick-tree--editor",
94
- "presentational-bricks.brick-alert--editor"
92
+ "presentational-bricks.brick-alert--editor",
93
+ "presentational-bricks.brick-result--editor",
94
+ "presentational-bricks.brick-tree--editor"
95
95
  ],
96
96
  "editorsJsFilePath": "bricks/presentational-bricks/dist/editors/editors.0025c20e.js"
97
97
  }
package/dist/stories.json CHANGED
@@ -5017,23 +5017,54 @@
5017
5017
  "title": "操作",
5018
5018
  "key": "operate",
5019
5019
  "dataIndex": "operate",
5020
- "useBrick": {
5021
- "brick": "presentational-bricks.brick-link",
5022
- "properties": {
5023
- "dataSource": "<% DATA.rowData %>",
5024
- "notToJumpWhenEmpty": true,
5025
- "icon": {
5026
- "lib": "fa",
5027
- "icon": "tools",
5028
- "prefix": "fas"
5020
+ "useBrick": [
5021
+ {
5022
+ "brick": "presentational-bricks.brick-link",
5023
+ "properties": {
5024
+ "dataSource": "<% DATA.rowData %>",
5025
+ "notToJumpWhenEmpty": true,
5026
+ "label": "查看"
5027
+ },
5028
+ "events": {
5029
+ "link.click": {
5030
+ "action": "console.log"
5031
+ }
5029
5032
  }
5030
5033
  },
5031
- "events": {
5032
- "link.click": {
5033
- "action": "console.log"
5034
+ {
5035
+ "brick": "presentational-bricks.brick-link",
5036
+ "properties": {
5037
+ "dataSource": "<% DATA.rowData %>",
5038
+ "notToJumpWhenEmpty": true,
5039
+ "label": "订阅警报",
5040
+ "style": {
5041
+ "marginLeft": "8px"
5042
+ }
5043
+ },
5044
+ "events": {
5045
+ "link.click": {
5046
+ "action": "console.log"
5047
+ }
5048
+ }
5049
+ },
5050
+ {
5051
+ "brick": "presentational-bricks.brick-link",
5052
+ "properties": {
5053
+ "dataSource": "<% DATA.rowData %>",
5054
+ "notToJumpWhenEmpty": true,
5055
+ "label": "删除",
5056
+ "labelColor": "red",
5057
+ "style": {
5058
+ "marginLeft": "8px"
5059
+ }
5060
+ },
5061
+ "events": {
5062
+ "link.click": {
5063
+ "action": "console.log"
5064
+ }
5034
5065
  }
5035
5066
  }
5036
- }
5067
+ ]
5037
5068
  }
5038
5069
  ],
5039
5070
  "dataSource": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.263.0",
3
+ "version": "1.264.0",
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": "bb627551f23e70b0a68c5f24529c9457272089c4"
58
+ "gitHead": "539b3dc44a560c7a6f37b75a109126461410abcc"
59
59
  }