@next-bricks/basic-bricks 1.143.1 → 1.147.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,365 +3,239 @@
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.143.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.143.0...@next-bricks/basic-bricks@1.143.1) (2021-09-17)
7
-
6
+ # [1.147.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.146.0...@next-bricks/basic-bricks@1.147.0) (2021-09-26)
8
7
 
9
- ### Bug Fixes
10
8
 
11
- * update @next-libs/* ([5815dd1](https://github.com/easyops-cn/next-basics/commit/5815dd1f6cbd4f38569e8c88d828fd51ce092d6f))
9
+ ### Features
12
10
 
11
+ * update dependencies and yarn.lock ([410d132](https://github.com/easyops-cn/next-basics/commit/410d1329081c33cc5a571cf937f0b50eb56129b4))
13
12
 
14
13
 
15
14
 
16
15
 
17
- # [1.143.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.142.0...@next-bricks/basic-bricks@1.143.0) (2021-09-17)
18
16
 
17
+ # [1.146.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.145.0...@next-bricks/basic-bricks@1.146.0) (2021-09-23)
19
18
 
20
19
  ### Features
21
20
 
22
- * **basic-bricks:** add descSuffixBrick property ([5c22197](https://github.com/easyops-cn/next-basics/commit/5c22197d9783ea3e73d079ba31fdac2f31275456))
23
-
21
+ - support widget doc and update denpencies ([d2b9375](https://github.com/easyops-cn/next-basics/commit/d2b937572004f3098af632bc7e1bc3d684e1be2e))
24
22
 
23
+ # [1.145.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.144.0...@next-bricks/basic-bricks@1.145.0) (2021-09-23)
25
24
 
25
+ ### Features
26
26
 
27
+ - update dependencies with @next-libs/basic-compomnents ([06c0be6](https://github.com/easyops-cn/next-basics/commit/06c0be620089d08ffc948393ca3ebad57eca022a))
27
28
 
28
- # [1.142.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.141.0...@next-bricks/basic-bricks@1.142.0) (2021-09-14)
29
-
29
+ # [1.144.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.143.1...@next-bricks/basic-bricks@1.144.0) (2021-09-23)
30
30
 
31
31
  ### Features
32
32
 
33
- * **basic-bricks:** drawer add mask、headerStyle、configProps properties ([53e046f](https://github.com/easyops-cn/next-basics/commit/53e046fb9c38b7739e3a1c8d737684876310a7dc))
33
+ - **general-custom-buttons:** add data-icon attribute ([aeca349](https://github.com/easyops-cn/next-basics/commit/aeca349f3dc035f06905baf9d0f026ddc030f0a9))
34
+
35
+ ## [1.143.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.143.0...@next-bricks/basic-bricks@1.143.1) (2021-09-17)
34
36
 
37
+ ### Bug Fixes
35
38
 
39
+ - update @next-libs/\* ([5815dd1](https://github.com/easyops-cn/next-basics/commit/5815dd1f6cbd4f38569e8c88d828fd51ce092d6f))
36
40
 
41
+ # [1.143.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.142.0...@next-bricks/basic-bricks@1.143.0) (2021-09-17)
37
42
 
43
+ ### Features
38
44
 
39
- # [1.141.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.140.1...@next-bricks/basic-bricks@1.141.0) (2021-09-01)
45
+ - **basic-bricks:** add descSuffixBrick property ([5c22197](https://github.com/easyops-cn/next-basics/commit/5c22197d9783ea3e73d079ba31fdac2f31275456))
40
46
 
47
+ # [1.142.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.141.0...@next-bricks/basic-bricks@1.142.0) (2021-09-14)
41
48
 
42
49
  ### Features
43
50
 
44
- * **basic-bricks:** dashboardMode支持更换logo ([c453a52](https://github.com/easyops-cn/next-basics/commit/c453a52741bf1c5809a2b0eda4d4a5faa77f2fd8))
45
-
51
+ - **basic-bricks:** drawer add mask、headerStyle、configProps properties ([53e046f](https://github.com/easyops-cn/next-basics/commit/53e046fb9c38b7739e3a1c8d737684876310a7dc))
46
52
 
53
+ # [1.141.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.140.1...@next-bricks/basic-bricks@1.141.0) (2021-09-01)
47
54
 
55
+ ### Features
48
56
 
57
+ - **basic-bricks:** dashboardMode 支持更换 logo ([c453a52](https://github.com/easyops-cn/next-basics/commit/c453a52741bf1c5809a2b0eda4d4a5faa77f2fd8))
49
58
 
50
59
  ## [1.140.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.140.0...@next-bricks/basic-bricks@1.140.1) (2021-08-23)
51
60
 
52
61
  **Note:** Version bump only for package @next-bricks/basic-bricks
53
62
 
54
-
55
-
56
-
57
-
58
63
  # [1.140.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.139.0...@next-bricks/basic-bricks@1.140.0) (2021-08-23)
59
64
 
60
-
61
65
  ### Features
62
66
 
63
- * add security_code_login_next_test refs EASY_CONF-25 ([afa0cb6](https://github.com/easyops-cn/next-basics/commit/afa0cb669842a92edf0d503a3f0f4167c8fad42f))
64
- * **basic-bricks:** add subTitle properties and doc ([cdc6c2f](https://github.com/easyops-cn/next-basics/commit/cdc6c2f3681ddeae16591963621cae9f4a36a5c1))
65
-
66
-
67
-
68
-
67
+ - add security_code_login_next_test refs EASY_CONF-25 ([afa0cb6](https://github.com/easyops-cn/next-basics/commit/afa0cb669842a92edf0d503a3f0f4167c8fad42f))
68
+ - **basic-bricks:** add subTitle properties and doc ([cdc6c2f](https://github.com/easyops-cn/next-basics/commit/cdc6c2f3681ddeae16591963621cae9f4a36a5c1))
69
69
 
70
70
  # [1.139.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.138.1...@next-bricks/basic-bricks@1.139.0) (2021-08-19)
71
71
 
72
-
73
72
  ### Features
74
73
 
75
- * **basic-bricks:** add general-title brick ([c8fccfb](https://github.com/easyops-cn/next-basics/commit/c8fccfb4893e08d33d65a19f10e73bdebcfead40))
76
-
77
-
78
-
79
-
74
+ - **basic-bricks:** add general-title brick ([c8fccfb](https://github.com/easyops-cn/next-basics/commit/c8fccfb4893e08d33d65a19f10e73bdebcfead40))
80
75
 
81
76
  ## [1.138.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.138.0...@next-bricks/basic-bricks@1.138.1) (2021-08-12)
82
77
 
83
-
84
78
  ### Bug Fixes
85
79
 
86
- * **basic-bricks:** add anchor doc and click events inoperative ([0546f51](https://github.com/easyops-cn/next-basics/commit/0546f51c92712f6d38be1fa8f005fe8186d64322))
87
-
88
-
89
-
90
-
80
+ - **basic-bricks:** add anchor doc and click events inoperative ([0546f51](https://github.com/easyops-cn/next-basics/commit/0546f51c92712f6d38be1fa8f005fe8186d64322))
91
81
 
92
82
  # [1.138.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.137.0...@next-bricks/basic-bricks@1.138.0) (2021-08-12)
93
83
 
94
-
95
84
  ### Features
96
85
 
97
- * **basic-bricks:** add anchor brick ([253f1ec](https://github.com/easyops-cn/next-basics/commit/253f1ec7e411d2dbed58ff2487cd16dfdadf2a08))
98
-
99
-
100
-
101
-
86
+ - **basic-bricks:** add anchor brick ([253f1ec](https://github.com/easyops-cn/next-basics/commit/253f1ec7e411d2dbed58ff2487cd16dfdadf2a08))
102
87
 
103
88
  # [1.137.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.136.1...@next-bricks/basic-bricks@1.137.0) (2021-08-02)
104
89
 
105
-
106
90
  ### Features
107
91
 
108
- * **easy-view:** add some snipeets to easy-view ([f77c502](https://github.com/easyops-cn/next-basics/commit/f77c502fdd341c6ec8582949ddf84919a51628a3)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
109
-
110
-
111
-
112
-
92
+ - **easy-view:** add some snipeets to easy-view ([f77c502](https://github.com/easyops-cn/next-basics/commit/f77c502fdd341c6ec8582949ddf84919a51628a3)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
113
93
 
114
94
  ## [1.136.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.136.0...@next-bricks/basic-bricks@1.136.1) (2021-08-02)
115
95
 
116
96
  **Note:** Version bump only for package @next-bricks/basic-bricks
117
97
 
118
-
119
-
120
-
121
-
122
98
  # [1.136.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.135.0...@next-bricks/basic-bricks@1.136.0) (2021-07-22)
123
99
 
124
-
125
100
  ### Features
126
101
 
127
- * add list-container editor ([ba0d86f](https://github.com/easyops-cn/next-basics/commit/ba0d86f78858f2ced2081047f186a60b0b4afa16))
128
-
129
-
130
-
131
-
102
+ - add list-container editor ([ba0d86f](https://github.com/easyops-cn/next-basics/commit/ba0d86f78858f2ced2081047f186a60b0b4afa16))
132
103
 
133
104
  # [1.135.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.134.1...@next-bricks/basic-bricks@1.135.0) (2021-07-21)
134
105
 
135
-
136
106
  ### Features
137
107
 
138
- * **easy-view:** add a snippet to easy-view ([ba8ff05](https://github.com/easyops-cn/next-basics/commit/ba8ff05ec9940642b9a807a4b3169de6691d2f13)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
139
-
140
-
141
-
142
-
108
+ - **easy-view:** add a snippet to easy-view ([ba8ff05](https://github.com/easyops-cn/next-basics/commit/ba8ff05ec9940642b9a807a4b3169de6691d2f13)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
143
109
 
144
110
  ## [1.134.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.134.0...@next-bricks/basic-bricks@1.134.1) (2021-07-19)
145
111
 
146
-
147
112
  ### Bug Fixes
148
113
 
149
- * **basic-components:** 折叠时,刷新页面菜单悬浮 ([bd99f3d](https://github.com/easyops-cn/next-basics/commit/bd99f3d59f5e59669dea55e5dc42ad859190599b))
150
-
151
-
152
-
153
-
114
+ - **basic-components:** 折叠时,刷新页面菜单悬浮 ([bd99f3d](https://github.com/easyops-cn/next-basics/commit/bd99f3d59f5e59669dea55e5dc42ad859190599b))
154
115
 
155
116
  # [1.134.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.133.2...@next-bricks/basic-bricks@1.134.0) (2021-07-15)
156
117
 
157
-
158
118
  ### Features
159
119
 
160
- * **easy-view:** add some snippets to easy-view ([9f50ab9](https://github.com/easyops-cn/next-basics/commit/9f50ab931128c0a7923e86b17ca2d7f6cf048f86)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
161
- * **easy-view:** add some snippets to easy-view ([6039dc8](https://github.com/easyops-cn/next-basics/commit/6039dc8aca3eacc649f84759ac96f607e25ac171)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
162
-
163
-
164
-
165
-
120
+ - **easy-view:** add some snippets to easy-view ([9f50ab9](https://github.com/easyops-cn/next-basics/commit/9f50ab931128c0a7923e86b17ca2d7f6cf048f86)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
121
+ - **easy-view:** add some snippets to easy-view ([6039dc8](https://github.com/easyops-cn/next-basics/commit/6039dc8aca3eacc649f84759ac96f607e25ac171)), closes [Refs#NEXT_BUILDER-876](https://github.com/Refs/issues/NEXT_BUILDER-876)
166
122
 
167
123
  ## [1.133.2](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.133.1...@next-bricks/basic-bricks@1.133.2) (2021-07-14)
168
124
 
169
-
170
125
  ### Bug Fixes
171
126
 
172
- * **any-brick--editor:** show no outline for expandable templates ([55a517c](https://github.com/easyops-cn/next-basics/commit/55a517c7f8712a8001dd72a25b97005833db6962))
173
-
174
-
175
-
176
-
127
+ - **any-brick--editor:** show no outline for expandable templates ([55a517c](https://github.com/easyops-cn/next-basics/commit/55a517c7f8712a8001dd72a25b97005833db6962))
177
128
 
178
129
  ## [1.133.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.133.0...@next-bricks/basic-bricks@1.133.1) (2021-07-13)
179
130
 
180
-
181
131
  ### Bug Fixes
182
132
 
183
- * add an editor brick of page-title ([0d25e74](https://github.com/easyops-cn/next-basics/commit/0d25e748201f20bd0979d02f6f29fce2374fc384))
184
- * **snippets:** add layer type ([283b52f](https://github.com/easyops-cn/next-basics/commit/283b52fc217308a0e5bbff64bb777305759b1aa3))
185
- * support building snippets in dev mode ([94fb620](https://github.com/easyops-cn/next-basics/commit/94fb62089e1dc1cba9d67e24d536be7b9b40f147))
186
-
187
-
188
-
189
-
133
+ - add an editor brick of page-title ([0d25e74](https://github.com/easyops-cn/next-basics/commit/0d25e748201f20bd0979d02f6f29fce2374fc384))
134
+ - **snippets:** add layer type ([283b52f](https://github.com/easyops-cn/next-basics/commit/283b52fc217308a0e5bbff64bb777305759b1aa3))
135
+ - support building snippets in dev mode ([94fb620](https://github.com/easyops-cn/next-basics/commit/94fb62089e1dc1cba9d67e24d536be7b9b40f147))
190
136
 
191
137
  # [1.133.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.132.0...@next-bricks/basic-bricks@1.133.0) (2021-06-24)
192
138
 
193
-
194
139
  ### Features
195
140
 
196
- * **basic-bricks:** add brick header-bar ([5692795](https://github.com/easyops-cn/next-basics/commit/5692795e240270cd556934551167d0704d871a13))
197
-
198
-
199
-
200
-
141
+ - **basic-bricks:** add brick header-bar ([5692795](https://github.com/easyops-cn/next-basics/commit/5692795e240270cd556934551167d0704d871a13))
201
142
 
202
143
  # [1.132.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.131.0...@next-bricks/basic-bricks@1.132.0) (2021-06-24)
203
144
 
204
-
205
145
  ### Features
206
146
 
207
- * **snippet:** add several snippets of page layout ([7b97c6b](https://github.com/easyops-cn/next-basics/commit/7b97c6b0ff4f80aefe6ada60f58a9bdab45a7346))
208
-
209
-
210
-
211
-
147
+ - **snippet:** add several snippets of page layout ([7b97c6b](https://github.com/easyops-cn/next-basics/commit/7b97c6b0ff4f80aefe6ada60f58a9bdab45a7346))
212
148
 
213
149
  # [1.131.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.130.0...@next-bricks/basic-bricks@1.131.0) (2021-06-24)
214
150
 
215
-
216
151
  ### Features
217
152
 
218
- * button add loading state ([591734f](https://github.com/easyops-cn/next-basics/commit/591734f002068fcec3c5e4c49ab066f784daff4c))
219
-
220
-
221
-
222
-
153
+ - button add loading state ([591734f](https://github.com/easyops-cn/next-basics/commit/591734f002068fcec3c5e4c49ab066f784daff4c))
223
154
 
224
155
  # [1.130.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.129.2...@next-bricks/basic-bricks@1.130.0) (2021-06-21)
225
156
 
226
-
227
157
  ### Bug Fixes
228
158
 
229
- * custom button editor style ([261c01a](https://github.com/easyops-cn/next-basics/commit/261c01a62fe93e8cece1fd08ac186cfb00426a35))
230
- * refine page title and i18n usage ([28627d8](https://github.com/easyops-cn/next-basics/commit/28627d86a6d100a413ea1b945e19b3debe40e8e2))
231
- * **easy-view:** use border-box in shadow css ([e42efca](https://github.com/easyops-cn/next-basics/commit/e42efcab8d736768422dea57175d5166666299d2))
232
- * **easy-view--editor:** show area id in background ([96b4821](https://github.com/easyops-cn/next-basics/commit/96b48212532284d37c7e6ebce604051235068362))
233
-
159
+ - custom button editor style ([261c01a](https://github.com/easyops-cn/next-basics/commit/261c01a62fe93e8cece1fd08ac186cfb00426a35))
160
+ - refine page title and i18n usage ([28627d8](https://github.com/easyops-cn/next-basics/commit/28627d86a6d100a413ea1b945e19b3debe40e8e2))
161
+ - **easy-view:** use border-box in shadow css ([e42efca](https://github.com/easyops-cn/next-basics/commit/e42efcab8d736768422dea57175d5166666299d2))
162
+ - **easy-view--editor:** show area id in background ([96b4821](https://github.com/easyops-cn/next-basics/commit/96b48212532284d37c7e6ebce604051235068362))
234
163
 
235
164
  ### Features
236
165
 
237
- * add snippets of easy-view and general-button ([95a6ad4](https://github.com/easyops-cn/next-basics/commit/95a6ad45589e5cda946fca45434277828c80e546))
238
-
239
-
240
-
241
-
166
+ - add snippets of easy-view and general-button ([95a6ad4](https://github.com/easyops-cn/next-basics/commit/95a6ad45589e5cda946fca45434277828c80e546))
242
167
 
243
168
  ## [1.129.2](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.129.1...@next-bricks/basic-bricks@1.129.2) (2021-06-15)
244
169
 
245
-
246
170
  ### Bug Fixes
247
171
 
248
- * **easy-view--editor:** set min-height to 100% ([d892a3e](https://github.com/easyops-cn/next-basics/commit/d892a3ec4f3ff8885ea66a333c0dde3aaa8e6584))
249
-
250
-
251
-
252
-
172
+ - **easy-view--editor:** set min-height to 100% ([d892a3e](https://github.com/easyops-cn/next-basics/commit/d892a3ec4f3ff8885ea66a333c0dde3aaa8e6584))
253
173
 
254
174
  ## [1.129.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.129.0...@next-bricks/basic-bricks@1.129.1) (2021-06-09)
255
175
 
256
176
  **Note:** Version bump only for package @next-bricks/basic-bricks
257
177
 
258
-
259
-
260
-
261
-
262
178
  # [1.129.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.128.1...@next-bricks/basic-bricks@1.129.0) (2021-06-09)
263
179
 
264
-
265
180
  ### Features
266
181
 
267
- * **general-timer:** timer suppert stop and reStart ([8cfac8a](https://github.com/easyops-cn/next-basics/commit/8cfac8aa69a2832003bf9311400f8e570fd70ae7))
268
- * add brick edtior ([1365227](https://github.com/easyops-cn/next-basics/commit/1365227ae508833eee530539662093952d8f07c2))
269
-
270
-
271
-
272
-
182
+ - **general-timer:** timer suppert stop and reStart ([8cfac8a](https://github.com/easyops-cn/next-basics/commit/8cfac8aa69a2832003bf9311400f8e570fd70ae7))
183
+ - add brick edtior ([1365227](https://github.com/easyops-cn/next-basics/commit/1365227ae508833eee530539662093952d8f07c2))
273
184
 
274
185
  ## [1.128.1](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.128.0...@next-bricks/basic-bricks@1.128.1) (2021-06-08)
275
186
 
276
-
277
187
  ### Bug Fixes
278
188
 
279
- * 最近访问信息区分 org 存储 ([183cc74](https://github.com/easyops-cn/next-basics/commit/183cc7407ed3d17a7c1bb5a87bbda6713eae0fce))
280
-
281
-
282
-
283
-
189
+ - 最近访问信息区分 org 存储 ([183cc74](https://github.com/easyops-cn/next-basics/commit/183cc7407ed3d17a7c1bb5a87bbda6713eae0fce))
284
190
 
285
191
  # [1.128.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.127.0...@next-bricks/basic-bricks@1.128.0) (2021-06-08)
286
192
 
287
-
288
193
  ### Bug Fixes
289
194
 
290
- * **editors:** refone easy-view editor style ([6976099](https://github.com/easyops-cn/next-basics/commit/697609946bcf6286a7975922ffd86cff435dc594))
291
- * **general-custom-buttons--editor:** support evaluate placeholder customButtons ([746963d](https://github.com/easyops-cn/next-basics/commit/746963d8b12c69f77f92c192f40ee213f2819a0e))
292
-
195
+ - **editors:** refone easy-view editor style ([6976099](https://github.com/easyops-cn/next-basics/commit/697609946bcf6286a7975922ffd86cff435dc594))
196
+ - **general-custom-buttons--editor:** support evaluate placeholder customButtons ([746963d](https://github.com/easyops-cn/next-basics/commit/746963d8b12c69f77f92c192f40ee213f2819a0e))
293
197
 
294
198
  ### Features
295
199
 
296
- * support to toggle outline ([a69b42a](https://github.com/easyops-cn/next-basics/commit/a69b42a049f3c14609baa0f515487cf0ea97cc11))
297
-
298
-
299
-
300
-
200
+ - support to toggle outline ([a69b42a](https://github.com/easyops-cn/next-basics/commit/a69b42a049f3c14609baa0f515487cf0ea97cc11))
301
201
 
302
202
  # [1.127.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.126.0...@next-bricks/basic-bricks@1.127.0) (2021-06-03)
303
203
 
304
-
305
204
  ### Features
306
205
 
307
- * easy-view ([42ec793](https://github.com/easyops-cn/next-basics/commit/42ec793d2053d5a9bcf7181b714ea240ccb374a2))
308
- * easy-view--editor ([bf9397d](https://github.com/easyops-cn/next-basics/commit/bf9397dacdbdd7c71fd207c40f04d03b605d4357))
309
-
310
-
311
-
312
-
206
+ - easy-view ([42ec793](https://github.com/easyops-cn/next-basics/commit/42ec793d2053d5a9bcf7181b714ea240ccb374a2))
207
+ - easy-view--editor ([bf9397d](https://github.com/easyops-cn/next-basics/commit/bf9397dacdbdd7c71fd207c40f04d03b605d4357))
313
208
 
314
209
  # [1.126.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.125.0...@next-bricks/basic-bricks@1.126.0) (2021-06-03)
315
210
 
316
-
317
211
  ### Features
318
212
 
319
- * general-drawer add loading props ([04b2d42](https://github.com/easyops-cn/next-basics/commit/04b2d42997e3aacf2110eec4d3c2a285a2553626))
320
-
321
-
322
-
323
-
213
+ - general-drawer add loading props ([04b2d42](https://github.com/easyops-cn/next-basics/commit/04b2d42997e3aacf2110eec4d3c2a285a2553626))
324
214
 
325
215
  # [1.125.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.124.0...@next-bricks/basic-bricks@1.125.0) (2021-06-02)
326
216
 
327
-
328
217
  ### Features
329
218
 
330
- * **sub-menu-filter:** 增加属性accordion ([ef59fe4](https://github.com/easyops-cn/next-basics/commit/ef59fe41be1694437fd3331a2b25d54589c94b33))
331
-
332
-
333
-
334
-
219
+ - **sub-menu-filter:** 增加属性 accordion ([ef59fe4](https://github.com/easyops-cn/next-basics/commit/ef59fe41be1694437fd3331a2b25d54589c94b33))
335
220
 
336
221
  # [1.124.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.123.0...@next-bricks/basic-bricks@1.124.0) (2021-06-01)
337
222
 
338
-
339
223
  ### Bug Fixes
340
224
 
341
- * **sub-menu-filter:** 过长文字省略用...显示 ([8c76e35](https://github.com/easyops-cn/next-basics/commit/8c76e35a59f273691b03b5c0165c75d25ed7fdcd))
342
-
225
+ - **sub-menu-filter:** 过长文字省略用...显示 ([8c76e35](https://github.com/easyops-cn/next-basics/commit/8c76e35a59f273691b03b5c0165c75d25ed7fdcd))
343
226
 
344
227
  ### Features
345
228
 
346
- * **sub-menu-filter:** 增加transparentBackground样式 ([5df22ba](https://github.com/easyops-cn/next-basics/commit/5df22bad981602dec5df48045eed109a2b5938cb))
347
- * add custom button editor ([763ddee](https://github.com/easyops-cn/next-basics/commit/763ddee7216ad41182dfd37b1fd6e1897602b1a9))
348
- * **sub-menu-filter:** add event subMenu.click ([e245392](https://github.com/easyops-cn/next-basics/commit/e245392a791341ccadfa638059d2058be266a1ea))
349
- * **sub-menu-filter:** 样式修改&新增属性inlineIndent ([0edfa8c](https://github.com/easyops-cn/next-basics/commit/0edfa8cc3274627a3d932d43aabfd8fef5d30efe))
350
-
351
-
352
-
353
-
229
+ - **sub-menu-filter:** 增加 transparentBackground 样式 ([5df22ba](https://github.com/easyops-cn/next-basics/commit/5df22bad981602dec5df48045eed109a2b5938cb))
230
+ - add custom button editor ([763ddee](https://github.com/easyops-cn/next-basics/commit/763ddee7216ad41182dfd37b1fd6e1897602b1a9))
231
+ - **sub-menu-filter:** add event subMenu.click ([e245392](https://github.com/easyops-cn/next-basics/commit/e245392a791341ccadfa638059d2058be266a1ea))
232
+ - **sub-menu-filter:** 样式修改&新增属性 inlineIndent ([0edfa8c](https://github.com/easyops-cn/next-basics/commit/0edfa8cc3274627a3d932d43aabfd8fef5d30efe))
354
233
 
355
234
  # [1.123.0](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.122.10...@next-bricks/basic-bricks@1.123.0) (2021-05-28)
356
235
 
357
-
358
236
  ### Features
359
237
 
360
- * multiple-columns-card editor ([3db4e68](https://github.com/easyops-cn/next-basics/commit/3db4e68956269e40f2d44f1d5b8e114a32321f6e))
361
-
362
-
363
-
364
-
238
+ - multiple-columns-card editor ([3db4e68](https://github.com/easyops-cn/next-basics/commit/3db4e68956269e40f2d44f1d5b8e114a32321f6e))
365
239
 
366
240
  ## [1.122.10](https://github.com/easyops-cn/next-basics/compare/@next-bricks/basic-bricks@1.122.9...@next-bricks/basic-bricks@1.122.10) (2021-05-28)
367
241
 
package/dist/bricks.json CHANGED
@@ -14,8 +14,8 @@
14
14
  "basic-bricks.loading-bar",
15
15
  "basic-bricks.page-title",
16
16
  "basic-bricks.index-card",
17
- "basic-bricks.print-button",
18
17
  "basic-bricks.general-card",
18
+ "basic-bricks.print-button",
19
19
  "basic-bricks.sub-menu",
20
20
  "basic-bricks.general-modal",
21
21
  "basic-bricks.general-drawer",
@@ -60,5 +60,5 @@
60
60
  "basic-bricks.page-title--editor",
61
61
  "basic-bricks.list-container--editor"
62
62
  ],
63
- "editorsJsFilePath": "bricks/basic-bricks/dist/editors/editors.95b605cf.js"
63
+ "editorsJsFilePath": "bricks/basic-bricks/dist/editors/editors.5eb88036.js"
64
64
  }
@@ -1,2 +1,2 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="bricks/basic-bricks/dist/editors/",n(n.s=28)}([function(e,t,n){e.exports=n(10)("q1tI")},function(e,t,n){e.exports=n(10)("WnDu")},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function l(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],d=n[c]||0,s="".concat(c," ").concat(d);n[c]=d+1;var u=l(s),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:s,updater:g(m,t),references:1}),r.push(s)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var s,u=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function m(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f=null,b=0;function g(e,t){var n,r,o;if(t.singleton){var a=b++;n=f||(f=d(t)),r=m.bind(null,n,a,!1),o=m.bind(null,n,a,!0)}else n=d(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);i[o].references--}for(var a=c(e,t),d=0;d<n.length;d++){var s=l(n[d]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(i=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}var i,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){e.exports=n(10)("A+yw")},function(e,t,n){e.exports=n(9)("RBnf")},function(e,t,n){e.exports=n(9)("TSYQ")},function(e,t,n){e.exports=n(10)("LvDl")},function(e,t,n){e.exports=n(10)("3tO9")},function(e,t){e.exports=dll},function(e,t){e.exports=DllOfEditorBricksHelper},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1PASiZud {\n border-radius: var(--editor-brick-border-radius);\n}\n\n.hasChildren--3EYql2CE {\n min-height: var(--editor-brick-base-height);\n}\n\n.hasChildren--3EYql2CE:not(.isExpandableTemplate--2xm6SDkS) {\n border: 1px solid var(--editor-brick-stroke-color);\n padding: var(--editor-brick-gap);\n}\n\n.hasChildren--3EYql2CE > * + * {\n margin-top: var(--editor-brick-gap);\n}\n\n.noChildren--1E6gYbtB {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 10px;\n height: var(--editor-brick-base-height);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--MXthQTeK {\n width: 20px;\n flex-shrink: 0;\n}\n\n.provider--rzPeYmLI > .icon--MXthQTeK {\n color: var(--theme-orange-color);\n}\n\n.template--2CDhuwvm > .icon--MXthQTeK {\n color: var(--theme-red-color);\n}\n\n.portal--MyXJclUm > .icon--MXthQTeK {\n color: var(--theme-purple-color);\n}\n\n.name--3DUQjprd {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.default--2bhRjrRb > .name--3DUQjprd {\n text-align: center;\n}\n",""]),o.locals={wrapper:"wrapper--1PASiZud",hasChildren:"hasChildren--3EYql2CE",isExpandableTemplate:"isExpandableTemplate--2xm6SDkS",noChildren:"noChildren--1E6gYbtB",icon:"icon--MXthQTeK",provider:"provider--rzPeYmLI",template:"template--2CDhuwvm",portal:"portal--MyXJclUm",name:"name--3DUQjprd",default:"default--2bhRjrRb"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--AEaEOJJM {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n padding: 0 10px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--5LmcxSP3 {\n width: 20px;\n flex-shrink: 0;\n color: var(--theme-cyan-color);\n}\n\n.name--2nUeXqif {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n",""]),o.locals={wrapper:"wrapper--AEaEOJJM",icon:"icon--5LmcxSP3",name:"name--2nUeXqif"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".microViewHeader--3WPfXI35 {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.pageTitle--3dnhjTxY {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n}\n\n.untitled--27HU9IHE {\n color: rgba(0, 0, 0, 0.45);\n}\n\n.toolbar--2iKNGuRi {\n flex: 1;\n display: flex;\n justify-content: flex-end;\n}\n\n.minorSlots--SiinhMQc {\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.minorSlots--SiinhMQc > * + * {\n margin-top: var(--editor-brick-gap);\n }\n",""]),o.locals={microViewHeader:"microViewHeader--3WPfXI35",pageTitle:"pageTitle--3dnhjTxY",untitled:"untitled--27HU9IHE",toolbar:"toolbar--2iKNGuRi",minorSlots:"minorSlots--SiinhMQc"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".button--2RyfP6gc {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n}\n\n.primary--9bzhZ7GV {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n}\n\n.buttonName--2V0FptVX {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n}\n",""]),o.locals={button:"button--2RyfP6gc",primary:"primary--9bzhZ7GV",buttonName:"buttonName--2V0FptVX"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".card--2ZoIpk_a {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n background-color: #fff;\n}\n\n.cardHead--1opQ_wMh {\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 5px 12px;\n}\n\n.cardBody--EuXKIBy2 {\n padding: 20px;\n}\n",""]),o.locals={card:"card--2ZoIpk_a",cardHead:"cardHead--1opQ_wMh",cardBody:"cardBody--EuXKIBy2"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".drawer--3CLZm97_ {\n display: flex;\n flex-direction: column;\n min-height: 200px;\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.headerContainer--3jPgVDPa {\n display: flex;\n justify-content: center;\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.headerContainer--3jPgVDPa .title--30b64c5Z {\n flex: 1;\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.headerContainer--3jPgVDPa .leftHeaderSlot--4752iGrx,\n .headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n flex: 1;\n display: flex;\n align-items: center;\n }\n\n.headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n justify-content: flex-end;\n }\n\n.contentSlot--1895SiPS {\n flex: 1;\n padding: var(--editor-brick-gap);\n}\n\n.footerSlot--35a_sSCk {\n flex-basis: var(--editor-brick-toolbar-height);\n display: flex;\n align-items: center;\n background-color: var(--editor-brick-footer-color);\n padding: 0 var(--editor-brick-gap);\n}\n",""]),o.locals={drawer:"drawer--3CLZm97_",headerContainer:"headerContainer--3jPgVDPa",title:"title--30b64c5Z",leftHeaderSlot:"leftHeaderSlot--4752iGrx",rightHeaderSlot:"rightHeaderSlot--3yoklLNZ",contentSlot:"contentSlot--1895SiPS",footerSlot:"footerSlot--35a_sSCk"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".modal--3I_ztyHH {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.header--2RZJ7uGJ {\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.header--2RZJ7uGJ .title--3S29PFHS {\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.modalBody--3QYs25zz {\n padding: var(--editor-brick-gap);\n min-height: 80px;\n}\n\n.footer--moybbK1H {\n display: flex;\n justify-content: flex-end;\n height: 55px;\n background-color: var(--editor-brick-footer-color);\n padding: 12px 30px;\n}\n\n.footer--moybbK1H .okBtn--2Vex5iP0,\n .footer--moybbK1H .cancelBtn--3h2xzAV8 {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 80px;\n }\n\n.footer--moybbK1H .okBtn--2Vex5iP0 {\n color: #fff;\n background: var(--bg-color-button-primary);\n border: 1px solid var(--bg-color-button-primary);\n }\n\n.footer--moybbK1H .cancelBtn--3h2xzAV8 {\n color: var(--bg-color-button-link);\n }\n",""]),o.locals={modal:"modal--3I_ztyHH",header:"header--2RZJ7uGJ",title:"title--3S29PFHS",modalBody:"modalBody--3QYs25zz",footer:"footer--moybbK1H",okBtn:"okBtn--2Vex5iP0",cancelBtn:"cancelBtn--3h2xzAV8"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".customContainer--134ar7vn {\n display: grid;\n grid-gap: 8px;\n grid-auto-flow: column;\n}\n\n.baseButton--xnwHXnC6 {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n padding: 0px 20px;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n white-space: nowrap;\n min-width: 75px;\n}\n\n.baseButton--xnwHXnC6.primary--37WjUTCT {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n }\n\n.baseButton--xnwHXnC6.danger--GtnR6VgW {\n color: #fff;\n background: #f0493c;\n border-color: #f0493c;\n }\n\n.baseButton--xnwHXnC6.link--2ySg8ZD_ {\n color: var(--antd-link-color);\n }\n\n.link--2ySg8ZD_.baseButton--xnwHXnC6 {\n border: none;\n }\n",""]),o.locals={customContainer:"customContainer--134ar7vn",baseButton:"baseButton--xnwHXnC6",primary:"primary--37WjUTCT",danger:"danger--GtnR6VgW",link:"link--2ySg8ZD_"},t.a=o},function(e,t,n){e.exports=n(9)("gdfu")},function(e,t,n){e.exports=n(9)("AE1K")},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".faIcon--2IYQpP5k.svg-inline--fa {\n width: 1em;\n}\n\n.roundSquareBg--1bgTDK6y {\n border-radius: 10%;\n}\n",""]),o.locals={faIcon:"faIcon--2IYQpP5k",roundSquareBg:"roundSquareBg--1bgTDK6y"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1wLRaw5X {\n min-height: 100%;\n}\n\n.wrapper--1wLRaw5X.empty--2g80dj0v,\n.areaContainer--2TzYFh35 {\n min-height: var(--editor-brick-base-height);\n}\n\n.wrapper--1wLRaw5X {\n display: grid;\n}\n\n.areaContainer--2TzYFh35 {\n position: relative;\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35 {\n border-radius: 4px;\n background-image: url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='4' ry='4' stroke='%23d9d9d9' stroke-width='2' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e\");\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35.empty--2g80dj0v::before {\n content: attr(data-area-id);\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--stroke-color-default);\n font-size: 20px;\n }\n",""]),o.locals={wrapper:"wrapper--1wLRaw5X",empty:"empty--2g80dj0v",areaContainer:"areaContainer--2TzYFh35",outlineEnabled:"outlineEnabled--2aeaDmr7"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".pageTitle--3T00sVFq {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.untitled--ZTPOLmwE {\n color: rgba(0, 0, 0, 0.45);\n}\n",""]),o.locals={pageTitle:"pageTitle--3T00sVFq",untitled:"untitled--ZTPOLmwE"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".listContainer--38Cgc9lu {\n display: flex;\n grid-gap: 8px;\n gap: 8px;\n border: 1px solid var(--editor-brick-stroke-color);\n border-radius: var(--editor-brick-border-radius);\n padding: var(--editor-brick-gap);\n}\n\n .listContainer--38Cgc9lu .content--3IPE43Rx {\n flex: 1;\n height: 60px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n }\n",""]),o.locals={listContainer:"listContainer--38Cgc9lu",content:"content--3IPE43Rx"},t.a=o},function(e,t,n){e.exports=n(9)("pVnL")},function(e,t,n){e.exports=n(9)("0Cfi")},function(e,t,n){e.exports=n(9)("IP2g")},function(e,t,n){"use strict";n.r(t);var r,o=n(0),a=n.n(o),i=n(5),l=n(6),c=n.n(l),d=n(1),s=n(2),u=n.n(s),m=n(11),p={insert:"head",singleton:!1},f=(u()(m.a,p),m.a.locals||{});!function(e){e.DEFAULT="default",e.PROVIDER="provider",e.TEMPLATE="template",e.PORTAL="portal"}(r||(r={})),customElements.define("basic-bricks.any-brick--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),l=r.DEFAULT;return"provider"===n.type||n.bg?(l=r.PROVIDER,t=a.a.createElement(i.DatabaseFilled,null)):"template"===n.type?(l=r.TEMPLATE,t=a.a.createElement(i.GoldenFilled,null)):n.portal&&(l=r.PORTAL,t=a.a.createElement(i.MessageFilled,null)),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(f.wrapper,f[l],o.length>0?f.hasChildren:f.noChildren,{[f.isExpandableTemplate]:n.$$isExpandableTemplate})},o.length>0?o.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t})):a.a.createElement(a.a.Fragment,null,t&&a.a.createElement("div",{className:f.icon},t),a.a.createElement("div",{className:f.name},n.alias))))})));var b=n(12),g={insert:"head",singleton:!1},h=(u()(b.a,g),b.a.locals||{});customElements.define("basic-bricks.any-route--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e});return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:h.wrapper},a.a.createElement("div",{className:h.icon},a.a.createElement(i.BranchesOutlined,null)),a.a.createElement("div",{className:h.name},t.alias)))}),{selfLayout:d.EditorSelfLayout.INLINE}));var y=n(4),v=n(13),E={insert:"head",singleton:!1},C=(u()(v.a,E),v.a.locals||{}),k=new Set(["titleBar","toolbar","content"]);function x({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),n=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),{pageTitle:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),i=n.includes("titleBar"),l=n.filter(e=>!k.has(e));return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},l.length>0&&a.a.createElement("div",{className:C.minorSlots},l.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t}))),a.a.createElement("div",{className:C.microViewHeader},i?a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"titleBar",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE}):o?a.a.createElement("div",{className:C.pageTitle},o):a.a.createElement("div",{className:"".concat(C.pageTitle," ").concat(C.untitled)},"Untitled Page"),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"toolbar",slotContainerStyle:{flex:2},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}})),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{flex:1},dropZoneStyle:{height:"100%",minHeight:"100%"}}))}customElements.define("basic-bricks.micro-view--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.micro-app--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var S,N=n(14),w={insert:"head",singleton:!1},j=(u()(N.a,w),N.a.locals||{});!function(e){e.PRIMARY="primary"}(S||(S={})),customElements.define("basic-bricks.general-button--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{buttonName:n,buttonType:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(n,t.alias,t.alias);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(j.button,{[j.primary]:r===S.PRIMARY})},a.a.createElement("div",{className:j.buttonName},o)))})));var T=n(15),O={insert:"head",singleton:!1},B=(u()(T.a,O),T.a.locals||{});customElements.define("basic-bricks.general-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{cardTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:B.card},r&&a.a.createElement("div",{className:B.cardHead},r),a.a.createElement("div",{className:B.cardBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content"}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.grid-layout--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{columns:n}=t.$$parsedProperties;return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER,isTransparentContainer:!0},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"items",slotContentLayout:d.EditorSlotContentLayout.GRID,showOutlineIfEmpty:!0,dropZoneBodyStyle:"number"==typeof n?{gridTemplateColumns:"repeat(".concat(n,", 1fr)")}:void 0}))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var L=n(16),U={insert:"head",singleton:!1},I=(u()(L.a,U),L.a.locals||{});customElements.define("basic-bricks.general-drawer--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:I.drawer},a.a.createElement("div",{className:I.headerContainer},r&&a.a.createElement("div",{className:I.title},r),!r&&a.a.createElement("div",{className:I.leftHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerLeft",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE})),a.a.createElement("div",{className:I.rightHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerRight",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}}))),a.a.createElement("div",{className:I.contentSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{height:"100%"},slotContentLayout:d.EditorSlotContentLayout.BLOCK,dropZoneStyle:{height:"100%"}})),a.a.createElement("div",{className:I.footerSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"footer",slotContentLayout:d.EditorSlotContentLayout.INLINE,slotContainerStyle:{flex:1}}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var P=n(17),R={insert:"head",singleton:!1},A=(u()(P.a,R),P.a.locals||{});customElements.define("basic-bricks.general-modal--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{modalTitle:n,okText:r="确认",cancelText:o="取消"}=t.$$parsedProperties,i=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>"),l=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),c=Object(y.smartDisplayForEvaluableString)(o,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:A.modal},a.a.createElement("div",{className:A.header},i&&a.a.createElement("div",{className:A.title},i)),a.a.createElement("div",{className:A.modalBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContentLayout:d.EditorSlotContentLayout.BLOCK})),a.a.createElement("div",{className:A.footer},a.a.createElement("div",{className:A.cancelBtn},c),a.a.createElement("div",{className:A.okBtn},l))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var H=n(7);customElements.define("basic-bricks.multiple-columns-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{gridColumns:n}=t.$$parsedProperties,r=Object(H.castArray)(n).reduce((e,t)=>("string"==typeof t?e+="".concat(t," "):"number"==typeof t&&(e+="".concat(t,"fr ")),e),"")||"1fr";return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",null,a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",showOutlineIfEmpty:!0,dropZoneBodyStyle:{display:"grid",gridTemplateColumns:r},slotContainerStyle:{padding:"20px"},slotContentLayout:d.EditorSlotContentLayout.GRID})))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var F,D=n(25),M=n.n(D),V=n(8),Z=n.n(V),z=n(26),X=n(19),K=n(27),Y=n(20);!function(e){e.green="green",e.red="red",e.blue="blue",e.orange="orange",e.cyan="cyan",e.purple="purple",e.geekblue="geekblue",e.gray="gray"}(F||(F={}));var $={[F.green]:{color:"var(--theme-green-color)",background:"var(--theme-green-background)",borderColor:"var(--theme-green-border-color)"},[F.red]:{color:"var(--theme-red-color)",background:"var(--theme-red-background)",borderColor:"var(--theme-red-border-color)"},[F.blue]:{color:"var(--theme-blue-color)",background:"var(--theme-blue-background)",borderColor:"var(--theme-blue-border-color)"},[F.orange]:{color:"var(--theme-orange-color)",background:"var(--theme-orange-background)",borderColor:"var(--theme-orange-border-color)"},[F.cyan]:{color:"var(--theme-cyan-color)",background:"var(--theme-cyan-background)",borderColor:"var(--theme-cyan-border-color)"},[F.purple]:{color:"var(--theme-purple-color)",background:"var(--theme-purple-background)",borderColor:"var(--theme-purple-border-color)"},[F.geekblue]:{color:"var(--theme-geekblue-color)",background:"var(--theme-geekblue-background)",borderColor:"var(--theme-geekblue-border-color)"},[F.gray]:{color:"var(--theme-gray-color)",background:"var(--theme-gray-background)",borderColor:"var(--theme-gray-border-color)"}};function _(e){var t;return null!==(t=$[e])&&void 0!==t?t:{color:e,background:e,borderColor:e}}var G=n(21),q={insert:"head",singleton:!1},Q=(u()(G.a,q),G.a.locals||{});function J(e){return void 0!==e&&void 0!==(null==e?void 0:e.startColor)&&void 0!==(null==e?void 0:e.endColor)}function W({icon:e,bg:t,size:n,shape:r,reverseBgColor:l,onClick:d,showEmptyIcon:s,style:u}){return Object(o.useMemo)(()=>{var o,m,p=a.a.createElement(a.a.Fragment,null);if(!e)return p;if("imgSrc"in e)p=a.a.createElement("img",{src:e.imgSrc,width:n,height:n,style:e.imgStyle,onClick:d});else if("lib"in e){null!=e&&e.color&&(m=J(e.color)?{color:"transparent"}:t?$[e.color]?l?{color:"#ffffff",backgroundColor:_(e.color).color}:_(e.color):{color:"#ffffff",backgroundColor:e.color}:{color:$[e.color]?_(e.color).color:e.color}),u&&(m?Object.assign(m,u):m=u);var f,b,g=Object(H.uniqueId)("generalIcon"),h=(null==e?void 0:e.icon)||(null==e?void 0:e.type);if(!e||!h&&s)return t?a.a.createElement(X.Avatar,{icon:s?a.a.createElement(i.default,{style:m,component:()=>a.a.createElement(Y.BrickIcon,{icon:"empty-icon",category:"common"}),onClick:d}):p,size:null!=n?n:"default",shape:null!==(f=r)&&void 0!==f?f:"circle",style:m,className:c()({[Q.roundSquareBg]:"round-square"===r})}):p;if("antd"===e.lib){var y=e.icon||e.type;p=a.a.createElement(z.Icon,{type:y,theme:e.theme,style:m,onClick:d,className:g})}if("fa"===e.lib){var v=e.prefix?[e.prefix,e.icon]:e.icon;p=a.a.createElement(i.default,{style:Z()(Z()({},m),{},{verticalAlign:0}),component:()=>a.a.createElement(K.FontAwesomeIcon,{icon:v,className:Q.faIcon}),onClick:d,className:g})}if("easyops"===e.lib&&(p=a.a.createElement(i.default,{style:m,component:()=>a.a.createElement(Y.BrickIcon,{icon:e.icon,category:e.category}),onClick:d,className:g})),J(e.color)){var E;switch(null===(o=e.color)||void 0===o?void 0:o.direction){case"left-to-right":E={x1:"0",y1:"0",x2:"1",y2:"0"};break;case"top-to-bottom":default:E={x1:"0",y1:"0",x2:"0",y2:"1"}}p=a.a.createElement(a.a.Fragment,null,p,a.a.createElement("div",{style:{position:"absolute"}},a.a.createElement("svg",{width:"0",height:"0","aria-hidden":!0,focusable:!1},a.a.createElement("defs",null,a.a.createElement("linearGradient",M()({id:"linearGradient-".concat(g)},E),"`",a.a.createElement("stop",{offset:"0%",stopColor:e.color.startColor}),a.a.createElement("stop",{offset:"100%",stopColor:e.color.endColor})))),a.a.createElement("style",null,".".concat(g," svg path {\n fill: url(#linearGradient-").concat(g,");\n }"))))}if(t)p=a.a.createElement(X.Avatar,{icon:p,size:null!=n?n:"default",shape:null!==(b=r)&&void 0!==b?b:"circle",style:Z()(Z()({},J(e.color)?{backgroundColor:"#fff"}:{}),m),className:c()({[Q.roundSquareBg]:"round-square"===r})})}return p},[t,e,d,l,r,s,n,u])}var ee=n(18),te={insert:"head",singleton:!1},ne=(u()(ee.a,te),ee.a.locals||{});function re({type:e,children:t}){return a.a.createElement("div",{className:c()(ne.baseButton,ne[e])},t)}function oe({isMoreButton:e}){return a.a.createElement(a.a.Fragment,null,a.a.createElement(re,null,e?a.a.createElement(i.EllipsisOutlined,null):a.a.createElement(a.a.Fragment,null,a.a.createElement(i.SettingOutlined,{style:{marginRight:5}})," 管理"," ",a.a.createElement(i.DownOutlined,{style:{marginLeft:5}}))))}customElements.define("basic-bricks.general-custom-buttons--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customButtons:n,isMoreButton:r,alignment:o="center"}=t.$$parsedProperties,i=Array.isArray(n)&&n.some(e=>e.isDropdown);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:ne.customContainer,style:{justifyContent:o}},Object(H.isEmpty)(n)?a.a.createElement(re,null,t.alias):Array.isArray(n)?n.filter(e=>!e.isDropdown).map((e,t)=>a.a.createElement(re,{key:t,type:e.buttonType},e.icon&&a.a.createElement(W,{icon:"string"==typeof e.icon?{lib:"antd",icon:e.icon}:e.icon,style:{marginRight:5}}),e.text)):a.a.createElement(re,null,"<% … %>"),i&&a.a.createElement(oe,{isMoreButton:r})))}),{selfLayout:d.EditorSelfLayout.BLOCK}));var ae=n(22),ie={insert:"head",singleton:!1},le=(u()(ae.a,ie),ae.a.locals||{});customElements.define("basic-bricks.easy-view--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n,r=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useOutlineEnabled)(r.instanceId),{gridAreas:i,gridTemplateAreas:l,gridTemplateColumns:s,gridTemplateRows:u,containerStyle:m,styleByAreas:p}=r.$$parsedProperties,f=Object(d.useBuilderGroupedChildNodes)({nodeUid:e}),b=i?Object.keys(i):Array.from(new Set(null!==(t=null==l||null===(n=l.flat)||void 0===n?void 0:n.call(l))&&void 0!==t?t:[])).filter(e=>"."!==e),g=Object(H.pick)(m,["gap","gridGap"]);return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},a.a.createElement("div",{className:c()(le.wrapper,{[le.outlineEnabled]:o,[le.empty]:0===b.length}),style:Z()({gridTemplateAreas:null==l?void 0:l.map(e=>'"'.concat(e.join(" "),'"')).join(" "),gridTemplateColumns:Array.isArray(s)?s.join(" "):s,gridTemplateRows:Array.isArray(u)?u.join(" "):u},g)},b.map(t=>{var n;return a.a.createElement("div",{className:c()(le.areaContainer,{[le.empty]:!((null===(n=f.find(e=>e.mountPoint===t))||void 0===n?void 0:n.childNodes.length)>0)}),key:t,style:Z()({gridArea:i?i[t].join(" / "):t},null==p?void 0:p[t]),"data-area-id":t},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:t,slotContainerStyle:{height:"100%",minHeight:"100%"},dropZoneStyle:{height:"100%",minHeight:"100%"}}))})))}),{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var ce=n(23),de={insert:"head",singleton:!1},se=(u()(ce.a,de),ce.a.locals||{});customElements.define("basic-bricks.page-title--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{pageTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},r?a.a.createElement("div",{className:se.pageTitle},r):a.a.createElement("div",{className:"".concat(se.pageTitle," ").concat(se.untitled)},"Untitled Page"))}),{selfLayout:d.EditorSelfLayout.INLINE}));var ue=n(24),me={insert:"head",singleton:!1},pe=(u()(ue.a,me),ue.a.locals||{});customElements.define("basic-bricks.list-container--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){return Object(d.useBuilderNode)({nodeUid:e}),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:pe.listContainer},Object(H.range)(0,3).map((e,t)=>a.a.createElement("div",{key:t,className:pe.content}))))}),{selfLayout:d.EditorSelfLayout.BLOCK}))}]);
2
- //# sourceMappingURL=editors.95b605cf.js.map
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="bricks/basic-bricks/dist/editors/",n(n.s=28)}([function(e,t,n){e.exports=n(10)("q1tI")},function(e,t,n){e.exports=n(10)("WnDu")},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function l(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],d=n[c]||0,s="".concat(c," ").concat(d);n[c]=d+1;var u=l(s),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:s,updater:g(m,t),references:1}),r.push(s)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var s,u=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function m(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f=null,b=0;function g(e,t){var n,r,o;if(t.singleton){var a=b++;n=f||(f=d(t)),r=m.bind(null,n,a,!1),o=m.bind(null,n,a,!0)}else n=d(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);i[o].references--}for(var a=c(e,t),d=0;d<n.length;d++){var s=l(n[d]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(i=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}var i,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){e.exports=n(10)("A+yw")},function(e,t,n){e.exports=n(9)("RBnf")},function(e,t,n){e.exports=n(9)("TSYQ")},function(e,t,n){e.exports=n(10)("LvDl")},function(e,t,n){e.exports=n(10)("3tO9")},function(e,t){e.exports=dll},function(e,t){e.exports=DllOfEditorBricksHelper},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1PASiZud {\n border-radius: var(--editor-brick-border-radius);\n}\n\n.hasChildren--3EYql2CE {\n min-height: var(--editor-brick-base-height);\n}\n\n.hasChildren--3EYql2CE:not(.isExpandableTemplate--2xm6SDkS) {\n border: 1px solid var(--editor-brick-stroke-color);\n padding: var(--editor-brick-gap);\n}\n\n.hasChildren--3EYql2CE > * + * {\n margin-top: var(--editor-brick-gap);\n}\n\n.noChildren--1E6gYbtB {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 10px;\n height: var(--editor-brick-base-height);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--MXthQTeK {\n width: 20px;\n flex-shrink: 0;\n}\n\n.provider--rzPeYmLI > .icon--MXthQTeK {\n color: var(--theme-orange-color);\n}\n\n.template--2CDhuwvm > .icon--MXthQTeK {\n color: var(--theme-red-color);\n}\n\n.portal--MyXJclUm > .icon--MXthQTeK {\n color: var(--theme-purple-color);\n}\n\n.name--3DUQjprd {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.default--2bhRjrRb > .name--3DUQjprd {\n text-align: center;\n}\n",""]),o.locals={wrapper:"wrapper--1PASiZud",hasChildren:"hasChildren--3EYql2CE",isExpandableTemplate:"isExpandableTemplate--2xm6SDkS",noChildren:"noChildren--1E6gYbtB",icon:"icon--MXthQTeK",provider:"provider--rzPeYmLI",template:"template--2CDhuwvm",portal:"portal--MyXJclUm",name:"name--3DUQjprd",default:"default--2bhRjrRb"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--AEaEOJJM {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n padding: 0 10px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--5LmcxSP3 {\n width: 20px;\n flex-shrink: 0;\n color: var(--theme-cyan-color);\n}\n\n.name--2nUeXqif {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n",""]),o.locals={wrapper:"wrapper--AEaEOJJM",icon:"icon--5LmcxSP3",name:"name--2nUeXqif"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".microViewHeader--3WPfXI35 {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.pageTitle--3dnhjTxY {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n}\n\n.untitled--27HU9IHE {\n color: rgba(0, 0, 0, 0.45);\n}\n\n.toolbar--2iKNGuRi {\n flex: 1;\n display: flex;\n justify-content: flex-end;\n}\n\n.minorSlots--SiinhMQc {\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.minorSlots--SiinhMQc > * + * {\n margin-top: var(--editor-brick-gap);\n }\n",""]),o.locals={microViewHeader:"microViewHeader--3WPfXI35",pageTitle:"pageTitle--3dnhjTxY",untitled:"untitled--27HU9IHE",toolbar:"toolbar--2iKNGuRi",minorSlots:"minorSlots--SiinhMQc"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".button--2RyfP6gc {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n}\n\n.primary--9bzhZ7GV {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n}\n\n.buttonName--2V0FptVX {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n}\n",""]),o.locals={button:"button--2RyfP6gc",primary:"primary--9bzhZ7GV",buttonName:"buttonName--2V0FptVX"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".card--2ZoIpk_a {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n background-color: #fff;\n}\n\n.cardHead--1opQ_wMh {\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 5px 12px;\n}\n\n.cardBody--EuXKIBy2 {\n padding: 20px;\n}\n",""]),o.locals={card:"card--2ZoIpk_a",cardHead:"cardHead--1opQ_wMh",cardBody:"cardBody--EuXKIBy2"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".drawer--3CLZm97_ {\n display: flex;\n flex-direction: column;\n min-height: 200px;\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.headerContainer--3jPgVDPa {\n display: flex;\n justify-content: center;\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.headerContainer--3jPgVDPa .title--30b64c5Z {\n flex: 1;\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.headerContainer--3jPgVDPa .leftHeaderSlot--4752iGrx,\n .headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n flex: 1;\n display: flex;\n align-items: center;\n }\n\n.headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n justify-content: flex-end;\n }\n\n.contentSlot--1895SiPS {\n flex: 1;\n padding: var(--editor-brick-gap);\n}\n\n.footerSlot--35a_sSCk {\n flex-basis: var(--editor-brick-toolbar-height);\n display: flex;\n align-items: center;\n background-color: var(--editor-brick-footer-color);\n padding: 0 var(--editor-brick-gap);\n}\n",""]),o.locals={drawer:"drawer--3CLZm97_",headerContainer:"headerContainer--3jPgVDPa",title:"title--30b64c5Z",leftHeaderSlot:"leftHeaderSlot--4752iGrx",rightHeaderSlot:"rightHeaderSlot--3yoklLNZ",contentSlot:"contentSlot--1895SiPS",footerSlot:"footerSlot--35a_sSCk"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".modal--3I_ztyHH {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.header--2RZJ7uGJ {\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.header--2RZJ7uGJ .title--3S29PFHS {\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.modalBody--3QYs25zz {\n padding: var(--editor-brick-gap);\n min-height: 80px;\n}\n\n.footer--moybbK1H {\n display: flex;\n justify-content: flex-end;\n height: 55px;\n background-color: var(--editor-brick-footer-color);\n padding: 12px 30px;\n}\n\n.footer--moybbK1H .okBtn--2Vex5iP0,\n .footer--moybbK1H .cancelBtn--3h2xzAV8 {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 80px;\n }\n\n.footer--moybbK1H .okBtn--2Vex5iP0 {\n color: #fff;\n background: var(--bg-color-button-primary);\n border: 1px solid var(--bg-color-button-primary);\n }\n\n.footer--moybbK1H .cancelBtn--3h2xzAV8 {\n color: var(--bg-color-button-link);\n }\n",""]),o.locals={modal:"modal--3I_ztyHH",header:"header--2RZJ7uGJ",title:"title--3S29PFHS",modalBody:"modalBody--3QYs25zz",footer:"footer--moybbK1H",okBtn:"okBtn--2Vex5iP0",cancelBtn:"cancelBtn--3h2xzAV8"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".customContainer--134ar7vn {\n display: grid;\n grid-gap: 8px;\n grid-auto-flow: column;\n}\n\n.baseButton--xnwHXnC6 {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n padding: 0px 20px;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n white-space: nowrap;\n min-width: 75px;\n}\n\n.baseButton--xnwHXnC6.primary--37WjUTCT {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n }\n\n.baseButton--xnwHXnC6.danger--GtnR6VgW {\n color: #fff;\n background: #f0493c;\n border-color: #f0493c;\n }\n\n.baseButton--xnwHXnC6.link--2ySg8ZD_ {\n color: var(--antd-link-color);\n }\n\n.link--2ySg8ZD_.baseButton--xnwHXnC6 {\n border: none;\n }\n",""]),o.locals={customContainer:"customContainer--134ar7vn",baseButton:"baseButton--xnwHXnC6",primary:"primary--37WjUTCT",danger:"danger--GtnR6VgW",link:"link--2ySg8ZD_"},t.a=o},function(e,t,n){e.exports=n(9)("gdfu")},function(e,t,n){e.exports=n(9)("AE1K")},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".faIcon--2IYQpP5k.svg-inline--fa {\n width: 1em;\n}\n\n.roundSquareBg--1bgTDK6y {\n border-radius: 10%;\n}\n",""]),o.locals={faIcon:"faIcon--2IYQpP5k",roundSquareBg:"roundSquareBg--1bgTDK6y"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1wLRaw5X {\n min-height: 100%;\n}\n\n.wrapper--1wLRaw5X.empty--2g80dj0v,\n.areaContainer--2TzYFh35 {\n min-height: var(--editor-brick-base-height);\n}\n\n.wrapper--1wLRaw5X {\n display: grid;\n}\n\n.areaContainer--2TzYFh35 {\n position: relative;\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35 {\n border-radius: 4px;\n background-image: url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='4' ry='4' stroke='%23d9d9d9' stroke-width='2' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e\");\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35.empty--2g80dj0v::before {\n content: attr(data-area-id);\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--stroke-color-default);\n font-size: 20px;\n }\n",""]),o.locals={wrapper:"wrapper--1wLRaw5X",empty:"empty--2g80dj0v",areaContainer:"areaContainer--2TzYFh35",outlineEnabled:"outlineEnabled--2aeaDmr7"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".pageTitle--3T00sVFq {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.untitled--ZTPOLmwE {\n color: rgba(0, 0, 0, 0.45);\n}\n",""]),o.locals={pageTitle:"pageTitle--3T00sVFq",untitled:"untitled--ZTPOLmwE"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".listContainer--38Cgc9lu {\n display: flex;\n grid-gap: 8px;\n gap: 8px;\n border: 1px solid var(--editor-brick-stroke-color);\n border-radius: var(--editor-brick-border-radius);\n padding: var(--editor-brick-gap);\n}\n\n .listContainer--38Cgc9lu .content--3IPE43Rx {\n flex: 1;\n height: 60px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n }\n",""]),o.locals={listContainer:"listContainer--38Cgc9lu",content:"content--3IPE43Rx"},t.a=o},function(e,t,n){e.exports=n(9)("pVnL")},function(e,t,n){e.exports=n(9)("0Cfi")},function(e,t,n){e.exports=n(9)("IP2g")},function(e,t,n){"use strict";n.r(t);var r,o=n(0),a=n.n(o),i=n(5),l=n(6),c=n.n(l),d=n(1),s=n(2),u=n.n(s),m=n(11),p={insert:"head",singleton:!1},f=(u()(m.a,p),m.a.locals||{});!function(e){e.DEFAULT="default",e.PROVIDER="provider",e.TEMPLATE="template",e.PORTAL="portal"}(r||(r={})),customElements.define("basic-bricks.any-brick--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),l=r.DEFAULT;return"provider"===n.type||n.bg?(l=r.PROVIDER,t=a.a.createElement(i.DatabaseFilled,null)):"template"===n.type?(l=r.TEMPLATE,t=a.a.createElement(i.GoldenFilled,null)):n.portal&&(l=r.PORTAL,t=a.a.createElement(i.MessageFilled,null)),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(f.wrapper,f[l],o.length>0?f.hasChildren:f.noChildren,{[f.isExpandableTemplate]:n.$$isExpandableTemplate})},o.length>0?o.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t})):a.a.createElement(a.a.Fragment,null,t&&a.a.createElement("div",{className:f.icon},t),a.a.createElement("div",{className:f.name},n.alias))))})));var b=n(12),g={insert:"head",singleton:!1},h=(u()(b.a,g),b.a.locals||{});customElements.define("basic-bricks.any-route--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e});return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:h.wrapper},a.a.createElement("div",{className:h.icon},a.a.createElement(i.BranchesOutlined,null)),a.a.createElement("div",{className:h.name},t.alias)))}),{selfLayout:d.EditorSelfLayout.INLINE}));var y=n(4),v=n(13),E={insert:"head",singleton:!1},C=(u()(v.a,E),v.a.locals||{}),k=new Set(["titleBar","toolbar","content"]);function x({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),n=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),{pageTitle:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),i=n.includes("titleBar"),l=n.filter(e=>!k.has(e));return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},l.length>0&&a.a.createElement("div",{className:C.minorSlots},l.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t}))),a.a.createElement("div",{className:C.microViewHeader},i?a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"titleBar",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE}):o?a.a.createElement("div",{className:C.pageTitle},o):a.a.createElement("div",{className:"".concat(C.pageTitle," ").concat(C.untitled)},"Untitled Page"),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"toolbar",slotContainerStyle:{flex:2},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}})),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{flex:1},dropZoneStyle:{height:"100%",minHeight:"100%"}}))}customElements.define("basic-bricks.micro-view--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.micro-app--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var S,N=n(14),w={insert:"head",singleton:!1},j=(u()(N.a,w),N.a.locals||{});!function(e){e.PRIMARY="primary"}(S||(S={})),customElements.define("basic-bricks.general-button--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{buttonName:n,buttonType:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(n,t.alias,t.alias);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(j.button,{[j.primary]:r===S.PRIMARY})},a.a.createElement("div",{className:j.buttonName},o)))})));var T=n(15),O={insert:"head",singleton:!1},B=(u()(T.a,O),T.a.locals||{});customElements.define("basic-bricks.general-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{cardTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:B.card},r&&a.a.createElement("div",{className:B.cardHead},r),a.a.createElement("div",{className:B.cardBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content"}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.grid-layout--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{columns:n}=t.$$parsedProperties;return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER,isTransparentContainer:!0},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"items",slotContentLayout:d.EditorSlotContentLayout.GRID,showOutlineIfEmpty:!0,dropZoneBodyStyle:"number"==typeof n?{gridTemplateColumns:"repeat(".concat(n,", 1fr)")}:void 0}))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var L=n(16),U={insert:"head",singleton:!1},I=(u()(L.a,U),L.a.locals||{});customElements.define("basic-bricks.general-drawer--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:I.drawer},a.a.createElement("div",{className:I.headerContainer},r&&a.a.createElement("div",{className:I.title},r),!r&&a.a.createElement("div",{className:I.leftHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerLeft",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE})),a.a.createElement("div",{className:I.rightHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerRight",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}}))),a.a.createElement("div",{className:I.contentSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{height:"100%"},slotContentLayout:d.EditorSlotContentLayout.BLOCK,dropZoneStyle:{height:"100%"}})),a.a.createElement("div",{className:I.footerSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"footer",slotContentLayout:d.EditorSlotContentLayout.INLINE,slotContainerStyle:{flex:1}}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var P=n(17),R={insert:"head",singleton:!1},A=(u()(P.a,R),P.a.locals||{});customElements.define("basic-bricks.general-modal--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{modalTitle:n,okText:r="确认",cancelText:o="取消"}=t.$$parsedProperties,i=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>"),l=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),c=Object(y.smartDisplayForEvaluableString)(o,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:A.modal},a.a.createElement("div",{className:A.header},i&&a.a.createElement("div",{className:A.title},i)),a.a.createElement("div",{className:A.modalBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContentLayout:d.EditorSlotContentLayout.BLOCK})),a.a.createElement("div",{className:A.footer},a.a.createElement("div",{className:A.cancelBtn},c),a.a.createElement("div",{className:A.okBtn},l))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var H=n(7);customElements.define("basic-bricks.multiple-columns-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{gridColumns:n}=t.$$parsedProperties,r=Object(H.castArray)(n).reduce((e,t)=>("string"==typeof t?e+="".concat(t," "):"number"==typeof t&&(e+="".concat(t,"fr ")),e),"")||"1fr";return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",null,a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",showOutlineIfEmpty:!0,dropZoneBodyStyle:{display:"grid",gridTemplateColumns:r},slotContainerStyle:{padding:"20px"},slotContentLayout:d.EditorSlotContentLayout.GRID})))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var F,D=n(25),M=n.n(D),V=n(8),Z=n.n(V),z=n(26),X=n(19),K=n(27),Y=n(20);!function(e){e.green="green",e.red="red",e.blue="blue",e.orange="orange",e.cyan="cyan",e.purple="purple",e.geekblue="geekblue",e.gray="gray"}(F||(F={}));var $={[F.green]:{color:"var(--theme-green-color)",background:"var(--theme-green-background)",borderColor:"var(--theme-green-border-color)"},[F.red]:{color:"var(--theme-red-color)",background:"var(--theme-red-background)",borderColor:"var(--theme-red-border-color)"},[F.blue]:{color:"var(--theme-blue-color)",background:"var(--theme-blue-background)",borderColor:"var(--theme-blue-border-color)"},[F.orange]:{color:"var(--theme-orange-color)",background:"var(--theme-orange-background)",borderColor:"var(--theme-orange-border-color)"},[F.cyan]:{color:"var(--theme-cyan-color)",background:"var(--theme-cyan-background)",borderColor:"var(--theme-cyan-border-color)"},[F.purple]:{color:"var(--theme-purple-color)",background:"var(--theme-purple-background)",borderColor:"var(--theme-purple-border-color)"},[F.geekblue]:{color:"var(--theme-geekblue-color)",background:"var(--theme-geekblue-background)",borderColor:"var(--theme-geekblue-border-color)"},[F.gray]:{color:"var(--theme-gray-color)",background:"var(--theme-gray-background)",borderColor:"var(--theme-gray-border-color)"}};function _(e){var t;return null!==(t=$[e])&&void 0!==t?t:{color:e,background:e,borderColor:e}}var G=n(21),q={insert:"head",singleton:!1},Q=(u()(G.a,q),G.a.locals||{});function J(e){return void 0!==e&&void 0!==(null==e?void 0:e.startColor)&&void 0!==(null==e?void 0:e.endColor)}function W({icon:e,bg:t,size:n,shape:r,reverseBgColor:l,onClick:d,showEmptyIcon:s,style:u}){var m=e=>{var n;return null!=e&&e.color&&(n=J(e.color)?{color:"transparent"}:t?$[e.color]?l?{color:"#ffffff",backgroundColor:_(e.color).color}:_(e.color):{color:"#ffffff",backgroundColor:e.color}:{color:$[e.color]?_(e.color).color:e.color}),n},p=(e,t,o)=>{var l;return e?a.a.createElement(X.Avatar,{icon:s?a.a.createElement(i.default,{style:t,component:()=>a.a.createElement(Y.BrickIcon,{icon:"empty-icon",category:"common"}),onClick:d}):o,size:null!=n?n:"default",shape:null!==(l=r)&&void 0!==l?l:"circle",style:t,className:c()({[Q.roundSquareBg]:"round-square"===r})}):o};return Object(o.useMemo)(()=>{var o,l,f=a.a.createElement(a.a.Fragment,null);if("number"==typeof e||"string"==typeof e)return f;if(e||(e={}),"imgSrc"in e)f=a.a.createElement("img",{src:e.imgSrc,width:n,height:n,style:e.imgStyle,onClick:d});else{if(!("lib"in e))return p(t,m(e),f);var b,g;l=m(e),u&&(l?Object.assign(l,u):l=u);var h,y=Object(H.uniqueId)("generalIcon"),v=(null===(b=e)||void 0===b?void 0:b.icon)||(null===(g=e)||void 0===g?void 0:g.type);if(!e||!v&&s)return p(t,l,f);if("antd"===e.lib){var E=e.icon||e.type;f=a.a.createElement(z.Icon,{type:E,theme:e.theme,style:l,onClick:d,className:y,"data-icon":e.icon||e.type})}if("fa"===e.lib){var C=e.prefix?[e.prefix,e.icon]:e.icon;f=a.a.createElement(i.default,{style:Z()(Z()({},l),{},{verticalAlign:0}),component:()=>a.a.createElement(K.FontAwesomeIcon,{icon:C,className:Q.faIcon}),onClick:d,className:y,"data-icon":e.icon})}if("easyops"===e.lib&&(f=a.a.createElement(i.default,{style:l,component:()=>a.a.createElement(Y.BrickIcon,{icon:e.icon,category:e.category}),onClick:d,className:y,"data-icon":e.icon})),J(e.color)){var k;switch(null===(o=e.color)||void 0===o?void 0:o.direction){case"left-to-right":k={x1:"0",y1:"0",x2:"1",y2:"0"};break;case"top-to-bottom":default:k={x1:"0",y1:"0",x2:"0",y2:"1"}}f=a.a.createElement(a.a.Fragment,null,f,a.a.createElement("div",{style:{position:"absolute"}},a.a.createElement("svg",{width:"0",height:"0","aria-hidden":!0,focusable:!1},a.a.createElement("defs",null,a.a.createElement("linearGradient",M()({id:"linearGradient-".concat(y)},k),"`",a.a.createElement("stop",{offset:"0%",stopColor:e.color.startColor}),a.a.createElement("stop",{offset:"100%",stopColor:e.color.endColor})))),a.a.createElement("style",null,".".concat(y," svg path {\n fill: url(#linearGradient-").concat(y,");\n }"))))}t&&(f=a.a.createElement(X.Avatar,{icon:f,size:null!=n?n:"default",shape:null!==(h=r)&&void 0!==h?h:"circle",style:Z()(Z()({},J(e.color)?{backgroundColor:"#fff"}:{}),l),className:c()({[Q.roundSquareBg]:"round-square"===r})}))}return f},[t,e,d,l,r,s,n,u])}var ee=n(18),te={insert:"head",singleton:!1},ne=(u()(ee.a,te),ee.a.locals||{});function re({type:e,children:t}){return a.a.createElement("div",{className:c()(ne.baseButton,ne[e])},t)}function oe({isMoreButton:e}){return a.a.createElement(a.a.Fragment,null,a.a.createElement(re,null,e?a.a.createElement(i.EllipsisOutlined,null):a.a.createElement(a.a.Fragment,null,a.a.createElement(i.SettingOutlined,{style:{marginRight:5}})," 管理"," ",a.a.createElement(i.DownOutlined,{style:{marginLeft:5}}))))}customElements.define("basic-bricks.general-custom-buttons--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customButtons:n,isMoreButton:r,alignment:o="center"}=t.$$parsedProperties,i=Array.isArray(n)&&n.some(e=>e.isDropdown);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:ne.customContainer,style:{justifyContent:o}},Object(H.isEmpty)(n)?a.a.createElement(re,null,t.alias):Array.isArray(n)?n.filter(e=>!e.isDropdown).map((e,t)=>a.a.createElement(re,{key:t,type:e.buttonType},e.icon&&a.a.createElement(W,{icon:"string"==typeof e.icon?{lib:"antd",icon:e.icon}:e.icon,style:{marginRight:5}}),e.text)):a.a.createElement(re,null,"<% … %>"),i&&a.a.createElement(oe,{isMoreButton:r})))}),{selfLayout:d.EditorSelfLayout.BLOCK}));var ae=n(22),ie={insert:"head",singleton:!1},le=(u()(ae.a,ie),ae.a.locals||{});customElements.define("basic-bricks.easy-view--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n,r=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useOutlineEnabled)(r.instanceId),{gridAreas:i,gridTemplateAreas:l,gridTemplateColumns:s,gridTemplateRows:u,containerStyle:m,styleByAreas:p}=r.$$parsedProperties,f=Object(d.useBuilderGroupedChildNodes)({nodeUid:e}),b=i?Object.keys(i):Array.from(new Set(null!==(t=null==l||null===(n=l.flat)||void 0===n?void 0:n.call(l))&&void 0!==t?t:[])).filter(e=>"."!==e),g=Object(H.pick)(m,["gap","gridGap"]);return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},a.a.createElement("div",{className:c()(le.wrapper,{[le.outlineEnabled]:o,[le.empty]:0===b.length}),style:Z()({gridTemplateAreas:null==l?void 0:l.map(e=>'"'.concat(e.join(" "),'"')).join(" "),gridTemplateColumns:Array.isArray(s)?s.join(" "):s,gridTemplateRows:Array.isArray(u)?u.join(" "):u},g)},b.map(t=>{var n;return a.a.createElement("div",{className:c()(le.areaContainer,{[le.empty]:!((null===(n=f.find(e=>e.mountPoint===t))||void 0===n?void 0:n.childNodes.length)>0)}),key:t,style:Z()({gridArea:i?i[t].join(" / "):t},null==p?void 0:p[t]),"data-area-id":t},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:t,slotContainerStyle:{height:"100%",minHeight:"100%"},dropZoneStyle:{height:"100%",minHeight:"100%"}}))})))}),{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var ce=n(23),de={insert:"head",singleton:!1},se=(u()(ce.a,de),ce.a.locals||{});customElements.define("basic-bricks.page-title--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{pageTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},r?a.a.createElement("div",{className:se.pageTitle},r):a.a.createElement("div",{className:"".concat(se.pageTitle," ").concat(se.untitled)},"Untitled Page"))}),{selfLayout:d.EditorSelfLayout.INLINE}));var ue=n(24),me={insert:"head",singleton:!1},pe=(u()(ue.a,me),ue.a.locals||{});customElements.define("basic-bricks.list-container--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){return Object(d.useBuilderNode)({nodeUid:e}),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:pe.listContainer},Object(H.range)(0,3).map((e,t)=>a.a.createElement("div",{key:t,className:pe.content}))))}),{selfLayout:d.EditorSelfLayout.BLOCK}))}]);
2
+ //# sourceMappingURL=editors.5eb88036.js.map