@next-bricks/basic-bricks 1.201.0 → 1.202.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.
@@ -1,31 +1,31 @@
1
1
  contracts:
2
2
  - type: brick
3
3
  brick: basic-bricks.redirect-to
4
- version: 1.201.0
4
+ version: 1.202.0
5
5
  - type: brick
6
6
  brick: basic-bricks.home-redirect
7
- version: 1.201.0
7
+ version: 1.202.0
8
8
  - type: brick
9
9
  brick: basic-bricks.grid-layout
10
- version: 1.201.0
10
+ version: 1.202.0
11
11
  - type: brick
12
12
  brick: basic-bricks.transform-agent
13
- version: 1.201.0
13
+ version: 1.202.0
14
14
  - type: brick
15
15
  brick: basic-bricks.event-agent
16
- version: 1.201.0
16
+ version: 1.202.0
17
17
  - type: brick
18
18
  brick: basic-bricks.micro-view
19
- version: 1.201.0
19
+ version: 1.202.0
20
20
  - type: brick
21
21
  brick: basic-bricks.micro-app
22
- version: 1.201.0
22
+ version: 1.202.0
23
23
  - type: brick
24
24
  brick: basic-bricks.menu-bar
25
- version: 1.201.0
25
+ version: 1.202.0
26
26
  - type: brick
27
27
  brick: basic-bricks.app-bar
28
- version: 1.201.0
28
+ version: 1.202.0
29
29
  deps:
30
30
  - type: contract
31
31
  contract: easyops.api.air_admin_service.customer.GetExpiration
@@ -50,103 +50,103 @@ contracts:
50
50
  version: '*'
51
51
  - type: brick
52
52
  brick: basic-bricks.general-button
53
- version: 1.201.0
53
+ version: 1.202.0
54
54
  - type: brick
55
55
  brick: basic-bricks.page-not-found
56
- version: 1.201.0
56
+ version: 1.202.0
57
57
  - type: brick
58
58
  brick: basic-bricks.page-error
59
- version: 1.201.0
59
+ version: 1.202.0
60
60
  - type: brick
61
61
  brick: basic-bricks.loading-bar
62
- version: 1.201.0
62
+ version: 1.202.0
63
63
  - type: brick
64
64
  brick: basic-bricks.page-title
65
- version: 1.201.0
65
+ version: 1.202.0
66
66
  - type: brick
67
67
  brick: basic-bricks.index-card
68
- version: 1.201.0
68
+ version: 1.202.0
69
69
  - type: brick
70
70
  brick: basic-bricks.print-button
71
- version: 1.201.0
71
+ version: 1.202.0
72
72
  - type: brick
73
73
  brick: basic-bricks.general-card
74
- version: 1.201.0
74
+ version: 1.202.0
75
75
  - type: brick
76
76
  brick: basic-bricks.sub-menu
77
- version: 1.201.0
77
+ version: 1.202.0
78
78
  - type: brick
79
79
  brick: basic-bricks.general-modal
80
- version: 1.201.0
80
+ version: 1.202.0
81
81
  - type: brick
82
82
  brick: basic-bricks.general-drawer
83
- version: 1.201.0
83
+ version: 1.202.0
84
84
  - type: brick
85
85
  brick: basic-bricks.general-custom-buttons
86
- version: 1.201.0
86
+ version: 1.202.0
87
87
  - type: brick
88
88
  brick: basic-bricks.delete-confirm-modal
89
- version: 1.201.0
89
+ version: 1.202.0
90
90
  - type: brick
91
91
  brick: basic-bricks.multiple-columns-card
92
- version: 1.201.0
92
+ version: 1.202.0
93
93
  - type: brick
94
94
  brick: basic-bricks.list-container
95
- version: 1.201.0
95
+ version: 1.202.0
96
96
  - type: brick
97
97
  brick: basic-bricks.script-brick
98
- version: 1.201.0
98
+ version: 1.202.0
99
99
  - type: brick
100
100
  brick: basic-bricks.magic-brick
101
- version: 1.201.0
101
+ version: 1.202.0
102
102
  - type: brick
103
103
  brick: basic-bricks.popover-container
104
- version: 1.201.0
104
+ version: 1.202.0
105
105
  - type: brick
106
106
  brick: basic-bricks.fold-brick
107
- version: 1.201.0
107
+ version: 1.202.0
108
108
  - type: brick
109
109
  brick: basic-bricks.advanced-list-container
110
- version: 1.201.0
110
+ version: 1.202.0
111
111
  - type: brick
112
112
  brick: basic-bricks.advance-list-container
113
- version: 1.201.0
113
+ version: 1.202.0
114
114
  - type: brick
115
115
  brick: basic-bricks.fold-brick-v2
116
- version: 1.201.0
116
+ version: 1.202.0
117
117
  - type: brick
118
118
  brick: basic-bricks.sub-menu-filter
119
- version: 1.201.0
119
+ version: 1.202.0
120
120
  - type: brick
121
121
  brick: basic-bricks.general-notification
122
- version: 1.201.0
122
+ version: 1.202.0
123
123
  - type: brick
124
124
  brick: basic-bricks.general-hotkeys
125
- version: 1.201.0
125
+ version: 1.202.0
126
126
  - type: brick
127
127
  brick: basic-bricks.general-timer
128
- version: 1.201.0
128
+ version: 1.202.0
129
129
  - type: brick
130
130
  brick: basic-bricks.export-json-file
131
- version: 1.201.0
131
+ version: 1.202.0
132
132
  - type: brick
133
133
  brick: basic-bricks.brick-error
134
- version: 1.201.0
134
+ version: 1.202.0
135
135
  - type: brick
136
136
  brick: basic-bricks.easy-view
137
- version: 1.201.0
137
+ version: 1.202.0
138
138
  - type: brick
139
139
  brick: basic-bricks.header-bar
140
- version: 1.201.0
140
+ version: 1.202.0
141
141
  - type: brick
142
142
  brick: basic-bricks.general-anchor
143
- version: 1.201.0
143
+ version: 1.202.0
144
144
  - type: brick
145
145
  brick: basic-bricks.general-title
146
- version: 1.201.0
146
+ version: 1.202.0
147
147
  - type: brick
148
148
  brick: basic-bricks.launchpad-button
149
- version: 1.201.0
149
+ version: 1.202.0
150
150
  deps:
151
151
  - type: contract
152
152
  contract: easyops.api.user_service.launchpad.CreateCollection
@@ -162,32 +162,32 @@ contracts:
162
162
  version: 1.0.0
163
163
  - type: brick
164
164
  brick: basic-bricks.app-bar-breadcrumb
165
- version: 1.201.0
165
+ version: 1.202.0
166
166
  - type: brick
167
167
  brick: basic-bricks.app-bar-setting
168
- version: 1.201.0
168
+ version: 1.202.0
169
169
  deps:
170
170
  - type: contract
171
171
  contract: easyops.api.user_service.user_admin.GetUserInfoV2
172
172
  version: 1.1.0
173
173
  - type: brick
174
174
  brick: basic-bricks.resizable-box
175
- version: 1.201.0
175
+ version: 1.202.0
176
176
  - type: brick
177
177
  brick: basic-bricks.general-text
178
- version: 1.201.0
178
+ version: 1.202.0
179
179
  - type: brick
180
180
  brick: basic-bricks.app-document-link
181
- version: 1.201.0
181
+ version: 1.202.0
182
182
  - type: brick
183
183
  brick: basic-bricks.flex-layout
184
- version: 1.201.0
184
+ version: 1.202.0
185
185
  - type: brick
186
186
  brick: basic-bricks.general-popup
187
- version: 1.201.0
187
+ version: 1.202.0
188
188
  - type: brick
189
189
  brick: basic-bricks.app-bar-logo
190
- version: 1.201.0
190
+ version: 1.202.0
191
191
  - type: brick
192
192
  brick: basic-bricks.app-bar-wrapper
193
- version: 1.201.0
193
+ version: 1.202.0
@@ -2,7 +2,7 @@ install_path: /usr/local/easyops/bricks/basic-bricks-NB
2
2
  user: 'easyops:easyops'
3
3
  dependencies:
4
4
  - name: brick_next
5
- version: ^2.76.4
5
+ version: ^2.76.9
6
6
  local_deploy: true
7
7
  - name: user_service
8
8
  version: ^1.13.4
package/dist/bricks.json CHANGED
@@ -55,7 +55,7 @@
55
55
  "processors": [],
56
56
  "providers": [],
57
57
  "dll": [],
58
- "filePath": "bricks/basic-bricks/dist/index.721274e6.js",
58
+ "filePath": "bricks/basic-bricks/dist/index.67380d44.js",
59
59
  "editors": [
60
60
  "basic-bricks.any-brick--editor",
61
61
  "basic-bricks.any-route--editor",
@@ -73,5 +73,5 @@
73
73
  "basic-bricks.list-container--editor",
74
74
  "basic-bricks.fold-brick-v2--editor"
75
75
  ],
76
- "editorsJsFilePath": "bricks/basic-bricks/dist/editors/editors.a3ba33a8.js"
76
+ "editorsJsFilePath": "bricks/basic-bricks/dist/editors/editors.e692094f.js"
77
77
  }
@@ -1,2 +1,2 @@
1
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="",n(n.s=30)}([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 b=null,f=0;function g(e,t){var n,r,o;if(t.singleton){var a=f++;n=b||(b=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=e(t);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(10)("LvDl")},function(e,t,n){e.exports=n(9)("TSYQ")},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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[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)()((function(e){return e[1]}));o.push([e.i,".listContainer--38Cgc9lu {\n display: flex;\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){"use strict";var r=n(3),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,".wrapper--2Ky7uX0D {\n /* Try to use pre-defined css variables like `var(--editor-...)` */\n /* See https://github.com/easyops-cn/next-core/blob/master/packages/brick-container/src/styles/editor-bricks-variables.css */\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.content--2ViV1rXI {\n}\n",""]),o.locals={wrapper:"wrapper--2Ky7uX0D",content:"content--2ViV1rXI"},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){var r;n.p="".concat(null!==(r=window.PUBLIC_ROOT)&&void 0!==r?r:"","bricks/basic-bricks/dist/editors/")},function(e,t,n){"use strict";n.r(t);n(29);var r,o=n(0),a=n.n(o),i=n(5),l=n(7),c=n.n(l),d=n(1),s=n(2),u=n.n(s),m=n(11),p={insert:"head",singleton:!1},b=(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(e){var t,{nodeUid:n}=e,o=Object(d.useBuilderNode)({nodeUid:n}),l=Object(d.useBuilderNodeMountPoints)({nodeUid:n}),s=r.DEFAULT;return"provider"===o.type||o.bg?(s=r.PROVIDER,t=a.a.createElement(i.DatabaseFilled,null)):"template"===o.type?(s=r.TEMPLATE,t=a.a.createElement(i.GoldenFilled,null)):o.portal&&(s=r.PORTAL,t=a.a.createElement(i.MessageFilled,null)),a.a.createElement(d.EditorContainer,{nodeUid:n},a.a.createElement("div",{className:c()(b.wrapper,b[s],l.length>0?b.hasChildren:b.noChildren,{[b.isExpandableTemplate]:o.$$isExpandableTemplate})},l.length>0?l.map(e=>a.a.createElement(d.SlotContainer,{key:e,nodeUid:n,slotName:e})):a.a.createElement(a.a.Fragment,null,t&&a.a.createElement("div",{className:b.icon},t),a.a.createElement("div",{className:b.name},o.alias))))})));var f=n(12),g={insert:"head",singleton:!1},h=(u()(f.a,g),f.a.locals||{});customElements.define("basic-bricks.any-route--editor",Object(d.EditorElementFactory)((function(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t});return a.a.createElement(d.EditorContainer,{nodeUid:t},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},n.alias)))}),{selfLayout:d.EditorSelfLayout.INLINE}));var y=n(4),v=n(13),E={insert:"head",singleton:!1},k=(u()(v.a,E),v.a.locals||{}),C=new Set(["titleBar","toolbar","content"]);function x(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),r=Object(d.useBuilderNodeMountPoints)({nodeUid:t}),{pageTitle:o}=n.$$parsedProperties,i=Object(y.smartDisplayForEvaluableString)(o,"","<% … %>"),l=r.includes("titleBar"),c=r.filter(e=>!C.has(e));return a.a.createElement(d.EditorContainer,{nodeUid:t,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},c.length>0&&a.a.createElement("div",{className:k.minorSlots},c.map(e=>a.a.createElement(d.SlotContainer,{key:e,nodeUid:t,slotName:e}))),a.a.createElement("div",{className:k.microViewHeader},l?a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"titleBar",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE}):i?a.a.createElement("div",{className:k.pageTitle},i):a.a.createElement("div",{className:"".concat(k.pageTitle," ").concat(k.untitled)},"Untitled Page"),a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"toolbar",slotContainerStyle:{flex:2},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}})),a.a.createElement(d.SlotContainer,{nodeUid:t,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(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{buttonName:r,buttonType:o}=n.$$parsedProperties,i=Object(y.smartDisplayForEvaluableString)(r,n.alias,n.alias);return a.a.createElement(d.EditorContainer,{nodeUid:t},a.a.createElement("div",{className:c()(j.button,{[j.primary]:o===S.PRIMARY})},a.a.createElement("div",{className:j.buttonName},i)))})));var O=n(15),T={insert:"head",singleton:!1},B=(u()(O.a,T),O.a.locals||{});customElements.define("basic-bricks.general-card--editor",Object(d.EditorElementFactory)((function(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{cardTitle:r}=n.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:t,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:B.card},o&&a.a.createElement("div",{className:B.cardHead},o),a.a.createElement("div",{className:B.cardBody},a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"content"}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.grid-layout--editor",Object(d.EditorElementFactory)((function(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{columns:r}=n.$$parsedProperties;return a.a.createElement(d.EditorContainer,{nodeUid:t,type:d.EditorBrickType.CONTAINER,isTransparentContainer:!0},a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"items",slotContentLayout:d.EditorSlotContentLayout.GRID,showOutlineIfEmpty:!0,dropZoneBodyStyle:"number"==typeof r?{gridTemplateColumns:"repeat(".concat(r,", 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(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{customTitle:r}=n.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:t,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:I.drawer},a.a.createElement("div",{className:I.headerContainer},o&&a.a.createElement("div",{className:I.title},o),!o&&a.a.createElement("div",{className:I.leftHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"headerLeft",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE})),a.a.createElement("div",{className:I.rightHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:t,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:t,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:t,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(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{modalTitle:r,okText:o="确认",cancelText:i="取消"}=n.$$parsedProperties,l=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),c=Object(y.smartDisplayForEvaluableString)(o,"","<% … %>"),s=Object(y.smartDisplayForEvaluableString)(i,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:t},a.a.createElement("div",{className:A.modal},a.a.createElement("div",{className:A.header},l&&a.a.createElement("div",{className:A.title},l)),a.a.createElement("div",{className:A.modalBody},a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"content",slotContentLayout:d.EditorSlotContentLayout.BLOCK})),a.a.createElement("div",{className:A.footer},a.a.createElement("div",{className:A.cancelBtn},s),a.a.createElement("div",{className:A.okBtn},c))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var H=n(6);customElements.define("basic-bricks.multiple-columns-card--editor",Object(d.EditorElementFactory)((function(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{gridColumns:r}=n.$$parsedProperties,o=Object(H.castArray)(r).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:t},a.a.createElement("div",null,a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"content",showOutlineIfEmpty:!0,dropZoneBodyStyle:{display:"grid",gridTemplateColumns:o},slotContainerStyle:{padding:"20px"},slotContentLayout:d.EditorSlotContentLayout.GRID})))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var D,F=n(26),M=n.n(F),V=n(8),X=n.n(V),Z=n(27),z=n(19),$=n(28),K=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"}(D||(D={}));var _={[D.green]:{color:"var(--theme-green-color)",background:"var(--theme-green-background)",borderColor:"var(--theme-green-border-color)"},[D.red]:{color:"var(--theme-red-color)",background:"var(--theme-red-background)",borderColor:"var(--theme-red-border-color)"},[D.blue]:{color:"var(--theme-blue-color)",background:"var(--theme-blue-background)",borderColor:"var(--theme-blue-border-color)"},[D.orange]:{color:"var(--theme-orange-color)",background:"var(--theme-orange-background)",borderColor:"var(--theme-orange-border-color)"},[D.cyan]:{color:"var(--theme-cyan-color)",background:"var(--theme-cyan-background)",borderColor:"var(--theme-cyan-border-color)"},[D.purple]:{color:"var(--theme-purple-color)",background:"var(--theme-purple-background)",borderColor:"var(--theme-purple-border-color)"},[D.geekblue]:{color:"var(--theme-geekblue-color)",background:"var(--theme-geekblue-background)",borderColor:"var(--theme-geekblue-border-color)"},[D.gray]:{color:"var(--theme-gray-color)",background:"var(--theme-gray-background)",borderColor:"var(--theme-gray-border-color)"}};function Y(e){var t;return null!==(t=_[e])&&void 0!==t?t:{color:e,background:e,borderColor:e}}var q=n(21),G={insert:"head",singleton:!1},Q=(u()(q.a,G),q.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(e){var{icon:t,bg:n,size:r,shape:l,reverseBgColor:d,onClick:s,showEmptyIcon:u,style:m}=e,p=function(e){var t=Object(o.useRef)(void 0);Object(H.isEqual)(t.current,e)||(t.current=e);return t.current}(t),b=e=>{var t;return null!=e&&e.color&&(t=J(e.color)?{color:"transparent"}:n?_[e.color]?d?{color:"#ffffff",backgroundColor:Y(e.color).color}:Y(e.color):{color:"#ffffff",backgroundColor:e.color}:{color:_[e.color]?Y(e.color).color:e.color}),t},f=(e,t,n)=>{var o;return e?a.a.createElement(z.Avatar,{icon:u?a.a.createElement(i.default,{style:Object(H.omit)(t,"background"),component:()=>a.a.createElement(K.BrickIcon,{icon:"empty-icon",category:"common"}),onClick:s}):n,size:null!=r?r:"default",shape:null!==(o=l)&&void 0!==o?o:"circle",style:t,className:c()({[Q.roundSquareBg]:"round-square"===l})}):n};return Object(o.useMemo)(()=>{var e,t,o=a.a.createElement(a.a.Fragment,null),d=p;if("number"==typeof d||"string"==typeof d)return o;if(d||(d={}),"imgSrc"in d){var g;o=a.a.createElement("img",{src:/^(?:https?|data):|^\//.test(d.imgSrc)?d.imgSrc:"".concat(null!==(g=window.PUBLIC_ROOT)&&void 0!==g?g:"").concat(d.imgSrc),width:r,height:r,style:d.imgStyle,onClick:s})}else{if(!("lib"in d))return f(n,b(d),o);var h,y;t=b(d),m&&(t?Object.assign(t,m):t=m);var v=Object(H.uniqueId)("generalIcon"),E=(null===(h=d)||void 0===h?void 0:h.icon)||(null===(y=d)||void 0===y?void 0:y.type);if(!d||!E&&u)return f(n,t,o);var k,C=n?Object(H.omit)(t,"background"):t;if("antd"===d.lib){var x=d.icon||d.type;o=a.a.createElement(Z.Icon,{type:x,theme:d.theme,style:C,onClick:s,className:v,"data-icon":d.icon||d.type})}if("fa"===d.lib){var S=d.prefix?[d.prefix,d.icon]:d.icon;o=a.a.createElement(i.default,{style:X()(X()({},C),{},{verticalAlign:0}),component:()=>a.a.createElement($.FontAwesomeIcon,{icon:S,className:Q.faIcon}),onClick:s,className:v,"data-icon":d.icon})}if("easyops"===d.lib&&(o=a.a.createElement(i.default,{style:C,component:()=>a.a.createElement(K.BrickIcon,{icon:d.icon,category:d.category}),onClick:s,className:v,"data-icon":d.icon})),J(d.color)){var N;switch(null===(e=d.color)||void 0===e?void 0:e.direction){case"left-to-right":N={x1:"0",y1:"0",x2:"1",y2:"0"};break;case"top-to-bottom":default:N={x1:"0",y1:"0",x2:"0",y2:"1"}}o=a.a.createElement(a.a.Fragment,null,o,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(v)},N),"`",a.a.createElement("stop",{offset:"0%",stopColor:d.color.startColor}),a.a.createElement("stop",{offset:"100%",stopColor:d.color.endColor})))),a.a.createElement("style",null,".".concat(v," svg path {\n fill: url(#linearGradient-").concat(v,");\n }"))))}n&&(o=a.a.createElement(z.Avatar,{icon:o,size:null!=r?r:"default",shape:null!==(k=l)&&void 0!==k?k:"circle",style:X()(X()({},J(d.color)?{backgroundColor:"#fff"}:{}),t),className:c()({[Q.roundSquareBg]:"round-square"===l})}))}return o},[n,p,s,d,l,u,r,m])}var ee=n(18),te={insert:"head",singleton:!1},ne=(u()(ee.a,te),ee.a.locals||{});function re(e){var{type:t,children:n}=e;return a.a.createElement("div",{className:c()(ne.baseButton,ne[t])},n)}function oe(e){var{isMoreButton:t}=e;return a.a.createElement(a.a.Fragment,null,a.a.createElement(re,null,t?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(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{customButtons:r,isMoreButton:o,alignment:i="center"}=n.$$parsedProperties,l=Array.isArray(r)&&r.some(e=>e.isDropdown);return a.a.createElement(d.EditorContainer,{nodeUid:t},a.a.createElement("div",{className:ne.customContainer,style:{justifyContent:i}},Object(H.isEmpty)(r)?a.a.createElement(re,null,n.alias):Array.isArray(r)?r.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,"<% … %>"),l&&a.a.createElement(oe,{isMoreButton:o})))}),{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(e){var t,n,{nodeUid:r}=e,o=Object(d.useBuilderNode)({nodeUid:r}),i=Object(d.useBuilderParentNode)(o.$$uid),l=!1;"wrapper"===(null==i?void 0:i.layoutType)&&(l=!0);var s=Object(d.useOutlineEnabled)(o.instanceId),{gridAreas:u,gridTemplateAreas:m,gridTemplateColumns:p,gridTemplateRows:b,containerStyle:f,styleByAreas:g}=o.$$parsedProperties,h=Object(d.useBuilderGroupedChildNodes)({nodeUid:r}),y=u?Object.keys(u):Array.from(new Set(null!==(t=null==m||null===(n=m.flat)||void 0===n?void 0:n.call(m))&&void 0!==t?t:[])).filter(e=>"."!==e),v=Object(H.pick)(f,["gap","gridGap"]);return a.a.createElement(d.EditorContainer,{nodeUid:r,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:X()({height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"},l?{minHeight:"calc(100vh - var(--editor-brick-overlay-padding) * 2 - var(--page-card-gap) * 4 - 20px - var(--editor-brick-toolbar-height))"}:{})},a.a.createElement("div",{className:c()(le.wrapper,{[le.outlineEnabled]:s,[le.empty]:0===y.length}),style:X()({gridTemplateAreas:null==m?void 0:m.map(e=>'"'.concat(e.join(" "),'"')).join(" "),gridTemplateColumns:Array.isArray(p)?p.join(" "):p,gridTemplateRows:Array.isArray(b)?b.join(" "):b},v)},y.map(e=>{var t;return a.a.createElement("div",{className:c()(le.areaContainer,{[le.empty]:!((null===(t=h.find(t=>t.mountPoint===e))||void 0===t?void 0:t.childNodes.length)>0)}),key:e,style:X()({gridArea:u?u[e].join(" / "):e},null==g?void 0:g[e]),"data-area-id":e},a.a.createElement(d.SlotContainer,{nodeUid:r,slotName:e,slotContainerStyle:{height:"100%",minHeight:"100%"},dropZoneStyle:{height:"100%",minHeight:"100%"},dropZoneBodyStyle:{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(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{pageTitle:r}=n.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:t},o?a.a.createElement("div",{className:se.pageTitle},o):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(e){var{nodeUid:t}=e;return Object(d.useBuilderNode)({nodeUid:t}),a.a.createElement(d.EditorContainer,{nodeUid:t},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}));var be=n(25),fe={insert:"head",singleton:!1},ge=(u()(be.a,fe),be.a.locals||{});customElements.define("basic-bricks.fold-brick-v2--editor",Object(d.EditorElementFactory)((function(e){var{nodeUid:t}=e,n=Object(d.useBuilderNode)({nodeUid:t}),{foldName:r}=n.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,n.alias,n.alias);return a.a.createElement(d.EditorContainer,{nodeUid:t},a.a.createElement("div",{className:ge.wrapper},o),a.a.createElement("div",{className:ge.content},a.a.createElement(d.SlotContainer,{nodeUid:t,slotName:"content"})))}),{selfLayout:d.EditorSelfLayout.INLINE}))}]);
2
- //# sourceMappingURL=editors.a3ba33a8.js.map
2
+ //# sourceMappingURL=editors.e692094f.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/react/index.js from dll-reference DllOfEditorBricksHelper","webpack:///delegated ./node_modules/@next-core/editor-bricks-helper/dist/index.esm.js from dll-reference DllOfEditorBricksHelper","webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///./node_modules/css-loader/dist/runtime/api.js","webpack:///delegated ./node_modules/@next-core/brick-utils/dist/index.esm.js from dll-reference DllOfEditorBricksHelper","webpack:///delegated ./node_modules/@ant-design/icons/es/index.js from dll-reference dll","webpack:///delegated ./node_modules/lodash/lodash.js from dll-reference DllOfEditorBricksHelper","webpack:///delegated ./node_modules/classnames/index.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/objectSpread2.js from dll-reference DllOfEditorBricksHelper","webpack:///external \"dll\"","webpack:///external \"DllOfEditorBricksHelper\"","webpack:///./bricks/basic-bricks/src/editor-bricks/any-brick/any-brick.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/any-route/any-route.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/micro-view/micro-view.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/general-button/general-button.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/general-card/general-card.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/general-drawer/general-drawer.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/general-modal/general-modal.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/general-custom-buttons/general-custom-buttons.editor.module.css","webpack:///delegated ./node_modules/antd/es/index.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/brick-icons/dist/index.esm.js from dll-reference dll","webpack:///./node_modules/@next-libs/basic-components/dist/esm/GeneralIcon.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/easy-view/easy-view.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/page-title/page-title.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/list-container/list-container.editor.module.css","webpack:///./bricks/basic-bricks/src/editor-bricks/fold-brick-v2/fold-brick-v2.editor.module.css","webpack:///delegated ./node_modules/@babel/runtime/helpers/extends.js from dll-reference dll","webpack:///delegated ./node_modules/@ant-design/compatible/es/index.js from dll-reference dll","webpack:///delegated ./node_modules/@fortawesome/react-fontawesome/index.es.js from dll-reference dll","webpack:///./bricks/basic-bricks/src/editor-bricks/_/public-path.js","webpack:///./bricks/basic-bricks/src/editor-bricks/any-brick/any-brick.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/any-brick/any-brick.editor.module.css?0ce8","webpack:///./bricks/basic-bricks/src/editor-bricks/any-route/any-route.editor.module.css?2173","webpack:///./bricks/basic-bricks/src/editor-bricks/any-route/any-route.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/micro-view/micro-view.editor.module.css?f8ac","webpack:///./bricks/basic-bricks/src/editor-bricks/micro-view/micro-view.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/general-button/general-button.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/general-button/general-button.editor.module.css?9aa6","webpack:///./bricks/basic-bricks/src/editor-bricks/general-card/general-card.editor.module.css?e31f","webpack:///./bricks/basic-bricks/src/editor-bricks/general-card/general-card.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/grid-layout/grid-layout.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/general-drawer/general-drawer.editor.module.css?d1cb","webpack:///./bricks/basic-bricks/src/editor-bricks/general-drawer/general-drawer.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/general-modal/general-modal.editor.module.css?2764","webpack:///./bricks/basic-bricks/src/editor-bricks/general-modal/general-modal.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/multiple-columns-card/multiple-columns-card.editor.tsx","webpack:///./node_modules/@next-libs/basic-components/src/utils/getColor.ts","webpack:///./node_modules/@next-libs/basic-components/dist/esm/GeneralIcon.module.css?b7cd","webpack:///./node_modules/@next-libs/basic-components/src/GeneralIcon.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/general-custom-buttons/general-custom-buttons.editor.module.css?4a80","webpack:///./bricks/basic-bricks/src/editor-bricks/general-custom-buttons/general-custom-buttons.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/easy-view/easy-view.editor.module.css?a0b3","webpack:///./bricks/basic-bricks/src/editor-bricks/easy-view/easy-view.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/page-title/page-title.editor.module.css?550b","webpack:///./bricks/basic-bricks/src/editor-bricks/page-title/page-title.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/list-container/list-container.editor.module.css?6ad2","webpack:///./bricks/basic-bricks/src/editor-bricks/list-container/list-container.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/fold-brick-v2/fold-brick-v2.editor.module.css?98d2","webpack:///./bricks/basic-bricks/src/editor-bricks/fold-brick-v2/fold-brick-v2.editor.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","memo","isOldIE","Boolean","window","document","all","atob","getTarget","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","stylesInDom","getIndexByIdentifier","identifier","result","length","modulesToDom","list","options","idCountMap","identifiers","item","id","base","count","concat","index","obj","css","media","sourceMap","references","updater","push","addStyle","insertStyleElement","style","createElement","attributes","nonce","keys","forEach","setAttribute","insert","Error","appendChild","textStore","replaceText","replacement","filter","join","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","singleton","singletonCounter","update","styleIndex","parentNode","removeStyleElement","newObj","lastIdentifiers","newList","toString","newLastIdentifiers","_i","_index","splice","cssWithMappingToString","this","map","content","mediaQuery","dedupe","alreadyImportedModules","dll","DllOfEditorBricksHelper","___CSS_LOADER_EXPORT___","locals","__webpack_public_path__","PUBLIC_ROOT","DisplayType","customElements","define","EditorElementFactory","icon","nodeUid","node","useBuilderNode","mountPoints","useBuilderNodeMountPoints","displayType","DEFAULT","type","bg","PROVIDER","TEMPLATE","portal","PORTAL","className","classNames","styles","wrapper","hasChildren","noChildren","isExpandableTemplate","$$isExpandableTemplate","mountPoint","slotName","alias","selfLayout","EditorSelfLayout","INLINE","majorSlots","Set","MicroViewEditor","pageTitle","$$parsedProperties","displayPageTitle","smartDisplayForEvaluableString","hasTitleBar","includes","minorSlots","has","EditorBrickType","TRANSPARENT_CONTAINER","editorContainerStyle","height","minHeight","editorBodyStyle","display","flexDirection","microViewHeader","slotContainerStyle","flex","slotContentLayout","EditorSlotContentLayout","untitled","dropZoneBodyStyle","justifyContent","dropZoneStyle","brickStyle","CONTAINER","GeneralButtonType","buttonName","buttonType","displayName","button","primary","PRIMARY","cardTitle","displayTitle","card","cardHead","cardBody","columns","isTransparentContainer","GRID","showOutlineIfEmpty","gridTemplateColumns","undefined","customTitle","drawer","headerContainer","title","leftHeaderSlot","rightHeaderSlot","contentSlot","BLOCK","footerSlot","modalTitle","okText","cancelText","displayOk","displayCancel","modal","header","modalBody","footer","cancelBtn","okBtn","gridColumns","castArray","reduce","str","padding","Colors","COLORS_MAP","green","color","background","borderColor","red","blue","orange","cyan","purple","geekblue","gray","getColor","isGradientColor","startColor","endColor","GeneralIcon","_icon","size","shape","reverseBgColor","onClick","showEmptyIcon","memoizedIcon","ref","useRef","isEqual","current","useDeepEqualMemo","getStyle","mergedStyle","backgroundColor","getDefaultIcon","iconNode","omit","component","category","classnames","cssStyle","roundSquareBg","useMemo","src","test","imgSrc","width","imgStyle","assign","generalIconId","uniqueId","iconType","mergedStyleByBg","lib","theme","data-icon","faIcon","prefix","verticalAlign","gradientIconDirection","direction","x1","y1","x2","y2","position","aria-hidden","focusable","offset","stopColor","BaseButton","children","baseButton","DropdownBtn","isMoreButton","marginRight","marginLeft","customButtons","alignment","hasDropdown","Array","isArray","some","isDropdown","customContainer","isEmpty","text","useBuilderParentNode","$$uid","isWrapper","layoutType","outlineEnabled","useOutlineEnabled","instanceId","gridAreas","gridTemplateAreas","gridTemplateRows","containerStyle","styleByAreas","childNodesByMountPoint","useBuilderGroupedChildNodes","areas","from","flat","area","pickedContainerStyle","pick","empty","row","areaContainer","find","group","gridArea","data-area-id","listContainer","range","_","foldName"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GA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AACe,QAASA,EAASsB,SAAS,gBAQR,CACtCE,WAAYC,mBAAiBC","file":"editors.e692094f.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 30);\n","module.exports = (__webpack_require__(10))(\"q1tI\");","module.exports = (__webpack_require__(10))(\"WnDu\");","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","module.exports = (__webpack_require__(10))(\"A+yw\");","module.exports = (__webpack_require__(9))(\"RBnf\");","module.exports = (__webpack_require__(10))(\"LvDl\");","module.exports = (__webpack_require__(9))(\"TSYQ\");","module.exports = (__webpack_require__(10))(\"3tO9\");","module.exports = dll;","module.exports = DllOfEditorBricksHelper;","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"wrapper--1PASiZud\",\n\t\"hasChildren\": \"hasChildren--3EYql2CE\",\n\t\"isExpandableTemplate\": \"isExpandableTemplate--2xm6SDkS\",\n\t\"noChildren\": \"noChildren--1E6gYbtB\",\n\t\"icon\": \"icon--MXthQTeK\",\n\t\"provider\": \"provider--rzPeYmLI\",\n\t\"template\": \"template--2CDhuwvm\",\n\t\"portal\": \"portal--MyXJclUm\",\n\t\"name\": \"name--3DUQjprd\",\n\t\"default\": \"default--2bhRjrRb\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"wrapper--AEaEOJJM\",\n\t\"icon\": \"icon--5LmcxSP3\",\n\t\"name\": \"name--2nUeXqif\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"microViewHeader\": \"microViewHeader--3WPfXI35\",\n\t\"pageTitle\": \"pageTitle--3dnhjTxY\",\n\t\"untitled\": \"untitled--27HU9IHE\",\n\t\"toolbar\": \"toolbar--2iKNGuRi\",\n\t\"minorSlots\": \"minorSlots--SiinhMQc\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"button\": \"button--2RyfP6gc\",\n\t\"primary\": \"primary--9bzhZ7GV\",\n\t\"buttonName\": \"buttonName--2V0FptVX\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"card\": \"card--2ZoIpk_a\",\n\t\"cardHead\": \"cardHead--1opQ_wMh\",\n\t\"cardBody\": \"cardBody--EuXKIBy2\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"drawer\": \"drawer--3CLZm97_\",\n\t\"headerContainer\": \"headerContainer--3jPgVDPa\",\n\t\"title\": \"title--30b64c5Z\",\n\t\"leftHeaderSlot\": \"leftHeaderSlot--4752iGrx\",\n\t\"rightHeaderSlot\": \"rightHeaderSlot--3yoklLNZ\",\n\t\"contentSlot\": \"contentSlot--1895SiPS\",\n\t\"footerSlot\": \"footerSlot--35a_sSCk\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"modal\": \"modal--3I_ztyHH\",\n\t\"header\": \"header--2RZJ7uGJ\",\n\t\"title\": \"title--3S29PFHS\",\n\t\"modalBody\": \"modalBody--3QYs25zz\",\n\t\"footer\": \"footer--moybbK1H\",\n\t\"okBtn\": \"okBtn--2Vex5iP0\",\n\t\"cancelBtn\": \"cancelBtn--3h2xzAV8\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"customContainer\": \"customContainer--134ar7vn\",\n\t\"baseButton\": \"baseButton--xnwHXnC6\",\n\t\"primary\": \"primary--37WjUTCT\",\n\t\"danger\": \"danger--GtnR6VgW\",\n\t\"link\": \"link--2ySg8ZD_\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","module.exports = (__webpack_require__(9))(\"gdfu\");","module.exports = (__webpack_require__(9))(\"AE1K\");","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".faIcon--2IYQpP5k.svg-inline--fa {\\n width: 1em;\\n}\\n\\n.roundSquareBg--1bgTDK6y {\\n border-radius: 10%;\\n}\\n\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"faIcon\": \"faIcon--2IYQpP5k\",\n\t\"roundSquareBg\": \"roundSquareBg--1bgTDK6y\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"wrapper--1wLRaw5X\",\n\t\"empty\": \"empty--2g80dj0v\",\n\t\"areaContainer\": \"areaContainer--2TzYFh35\",\n\t\"outlineEnabled\": \"outlineEnabled--2aeaDmr7\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"pageTitle\": \"pageTitle--3T00sVFq\",\n\t\"untitled\": \"untitled--ZTPOLmwE\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".listContainer--38Cgc9lu {\\n display: flex;\\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\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"listContainer\": \"listContainer--38Cgc9lu\",\n\t\"content\": \"content--3IPE43Rx\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".wrapper--2Ky7uX0D {\\n /* Try to use pre-defined css variables like `var(--editor-...)` */\\n /* See https://github.com/easyops-cn/next-core/blob/master/packages/brick-container/src/styles/editor-bricks-variables.css */\\n border-radius: var(--editor-brick-border-radius);\\n background: var(--editor-brick-skeleton-bg-light);\\n}\\n\\n.content--2ViV1rXI {\\n}\\n\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"wrapper--2Ky7uX0D\",\n\t\"content\": \"content--2ViV1rXI\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","module.exports = (__webpack_require__(9))(\"pVnL\");","module.exports = (__webpack_require__(9))(\"0Cfi\");","module.exports = (__webpack_require__(9))(\"IP2g\");","__webpack_public_path__ = `${window.PUBLIC_ROOT ?? \"\"}bricks/basic-bricks/dist/editors/`;","import React from \"react\";\nimport { DatabaseFilled, GoldenFilled, MessageFilled } from \"@ant-design/icons\";\nimport classNames from \"classnames\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n SlotContainer,\n useBuilderNode,\n useBuilderNodeMountPoints,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./any-brick.editor.module.css\";\n\nexport enum DisplayType {\n DEFAULT = \"default\",\n PROVIDER = \"provider\",\n TEMPLATE = \"template\",\n PORTAL = \"portal\",\n}\n\nexport function AnyBrickEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode({ nodeUid });\n const mountPoints = useBuilderNodeMountPoints({ nodeUid });\n\n let icon: JSX.Element;\n let displayType = DisplayType.DEFAULT;\n\n if (node.type === \"provider\" || node.bg) {\n displayType = DisplayType.PROVIDER;\n icon = <DatabaseFilled />;\n } else if (node.type === \"template\") {\n displayType = DisplayType.TEMPLATE;\n icon = <GoldenFilled />;\n } else if (node.portal) {\n displayType = DisplayType.PORTAL;\n icon = <MessageFilled />;\n }\n\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div\n className={classNames(\n styles.wrapper,\n styles[displayType],\n mountPoints.length > 0 ? styles.hasChildren : styles.noChildren,\n {\n [styles.isExpandableTemplate]: node.$$isExpandableTemplate,\n }\n )}\n >\n {mountPoints.length > 0 ? (\n mountPoints.map((mountPoint) => (\n <SlotContainer\n key={mountPoint}\n nodeUid={nodeUid}\n slotName={mountPoint}\n />\n ))\n ) : (\n <>\n {icon && <div className={styles.icon}>{icon}</div>}\n <div className={styles.name}>{node.alias}</div>\n </>\n )}\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.any-brick--editor\",\n EditorElementFactory(AnyBrickEditor)\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./any-brick.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./any-route.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport { BranchesOutlined } from \"@ant-design/icons\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./any-route.editor.module.css\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface AppRouteProperties {\n // someProps?: string;\n}\n\nexport function AnyRouteEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<AppRouteProperties>({ nodeUid });\n /**\n * 提示:使用构件的属性配置来呈现该构件的关键 UI 特征。\n * 例如:对于按钮构件,根据 `buttonType` 来显示对应的背景色。\n */\n // const { someProps } = node.$$parsedProperties;\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div className={styles.wrapper}>\n <div className={styles.icon}>\n <BranchesOutlined />\n </div>\n <div className={styles.name}>{node.alias}</div>\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.any-route--editor\",\n EditorElementFactory(AnyRouteEditor, {\n selfLayout: EditorSelfLayout.INLINE,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./micro-view.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n SlotContainer,\n EditorBrickType,\n EditorSelfLayout,\n EditorSlotContentLayout,\n useBuilderNode,\n useBuilderNodeMountPoints,\n} from \"@next-core/editor-bricks-helper\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\nimport styles from \"./micro-view.editor.module.css\";\n\ninterface MicroViewProperties {\n pageTitle?: string;\n}\n\nconst majorSlots = new Set([\"titleBar\", \"toolbar\", \"content\"]);\n\nexport function MicroViewEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<MicroViewProperties>({ nodeUid });\n const mountPoints = useBuilderNodeMountPoints({ nodeUid });\n\n const { pageTitle } = node.$$parsedProperties;\n const displayPageTitle = smartDisplayForEvaluableString(\n pageTitle,\n \"\",\n \"<% … %>\"\n );\n\n const hasTitleBar = mountPoints.includes(\"titleBar\");\n const minorSlots = mountPoints.filter(\n (mountPoint) => !majorSlots.has(mountPoint)\n );\n\n return (\n <EditorContainer\n nodeUid={nodeUid}\n type={EditorBrickType.TRANSPARENT_CONTAINER}\n editorContainerStyle={{\n height: \"100%\",\n minHeight: \"100%\",\n }}\n editorBodyStyle={{\n height: \"100%\",\n minHeight: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n }}\n >\n {minorSlots.length > 0 && (\n <div className={styles.minorSlots}>\n {minorSlots.map((slotName) => (\n <SlotContainer\n key={slotName}\n nodeUid={nodeUid}\n slotName={slotName}\n />\n ))}\n </div>\n )}\n <div className={styles.microViewHeader}>\n {hasTitleBar ? (\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"titleBar\"\n slotContainerStyle={{\n flex: 1,\n }}\n slotContentLayout={EditorSlotContentLayout.INLINE}\n />\n ) : displayPageTitle ? (\n <div className={styles.pageTitle}>{displayPageTitle}</div>\n ) : (\n <div className={`${styles.pageTitle} ${styles.untitled}`}>\n Untitled Page\n </div>\n )}\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"toolbar\"\n slotContainerStyle={{\n flex: 2,\n }}\n slotContentLayout={EditorSlotContentLayout.INLINE}\n dropZoneBodyStyle={{ justifyContent: \"flex-end\" }}\n />\n </div>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"content\"\n slotContainerStyle={{ flex: 1 }}\n dropZoneStyle={{ height: \"100%\", minHeight: \"100%\" }}\n />\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.micro-view--editor\",\n EditorElementFactory(MicroViewEditor, {\n brickStyle: {\n height: \"100%\",\n minHeight: \"100%\",\n },\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n\ncustomElements.define(\n \"basic-bricks.micro-app--editor\",\n EditorElementFactory(MicroViewEditor, {\n brickStyle: {\n height: \"100%\",\n minHeight: \"100%\",\n },\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\nimport styles from \"./general-button.editor.module.css\";\n\ninterface GeneralButtonProperties {\n buttonName?: string;\n buttonType?: GeneralButtonType;\n}\n\nenum GeneralButtonType {\n PRIMARY = \"primary\",\n}\n\nexport function GeneralButtonEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GeneralButtonProperties>({ nodeUid });\n const { buttonName, buttonType } = node.$$parsedProperties;\n const displayName = smartDisplayForEvaluableString(\n buttonName,\n node.alias,\n node.alias\n );\n\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div\n className={classNames(styles.button, {\n [styles.primary]: buttonType === GeneralButtonType.PRIMARY,\n })}\n >\n <div className={styles.buttonName}>{displayName}</div>\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.general-button--editor\",\n EditorElementFactory(GeneralButtonEditor)\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./general-button.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./general-card.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n SlotContainer,\n EditorBrickType,\n EditorSelfLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\nimport styles from \"./general-card.editor.module.css\";\n\ninterface GeneralCardProperties {\n cardTitle?: string;\n}\n\nexport function GeneralCardEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GeneralCardProperties>({ nodeUid });\n const { cardTitle } = node.$$parsedProperties;\n const displayTitle = smartDisplayForEvaluableString(cardTitle, \"\", \"<% … %>\");\n\n return (\n <EditorContainer nodeUid={nodeUid} type={EditorBrickType.CONTAINER}>\n <div className={styles.card}>\n {displayTitle && <div className={styles.cardHead}>{displayTitle}</div>}\n <div className={styles.cardBody}>\n <SlotContainer nodeUid={nodeUid} slotName=\"content\" />\n </div>\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.general-card--editor\",\n EditorElementFactory(GeneralCardEditor, {\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n SlotContainer,\n EditorBrickType,\n EditorSelfLayout,\n EditorSlotContentLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\n\ninterface GridLayoutProperties {\n columns?: string;\n}\n\nexport function GridLayoutEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GridLayoutProperties>({ nodeUid });\n const { columns } = node.$$parsedProperties;\n\n return (\n <EditorContainer\n nodeUid={nodeUid}\n type={EditorBrickType.CONTAINER}\n isTransparentContainer\n >\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"items\"\n slotContentLayout={EditorSlotContentLayout.GRID}\n showOutlineIfEmpty\n dropZoneBodyStyle={\n typeof columns === \"number\"\n ? {\n gridTemplateColumns: `repeat(${columns}, 1fr)`,\n }\n : undefined\n }\n />\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.grid-layout--editor\",\n EditorElementFactory(GridLayoutEditor, {\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./general-drawer.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n SlotContainer,\n EditorBrickType,\n EditorSlotContentLayout,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./general-drawer.editor.module.css\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface GeneralDrawerProperties {\n customTitle: string;\n}\n\nexport function GeneralDrawerEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GeneralDrawerProperties>({ nodeUid });\n\n const { customTitle } = node.$$parsedProperties;\n const displayTitle = smartDisplayForEvaluableString(\n customTitle,\n \"\",\n \"<% … %>\"\n );\n\n return (\n <EditorContainer nodeUid={nodeUid} type={EditorBrickType.CONTAINER}>\n <div className={styles.drawer}>\n <div className={styles.headerContainer}>\n {displayTitle && <div className={styles.title}>{displayTitle}</div>}\n {!displayTitle && (\n <div className={styles.leftHeaderSlot}>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"headerLeft\"\n slotContainerStyle={{ flex: 1 }}\n slotContentLayout={EditorSlotContentLayout.INLINE}\n />\n </div>\n )}\n <div className={styles.rightHeaderSlot}>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"headerRight\"\n slotContainerStyle={{ flex: 1 }}\n slotContentLayout={EditorSlotContentLayout.INLINE}\n dropZoneBodyStyle={{ justifyContent: \"flex-end\" }}\n />\n </div>\n </div>\n <div className={styles.contentSlot}>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"content\"\n slotContainerStyle={{ height: \"100%\" }}\n slotContentLayout={EditorSlotContentLayout.BLOCK}\n dropZoneStyle={{ height: \"100%\" }}\n />\n </div>\n <div className={styles.footerSlot}>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"footer\"\n slotContentLayout={EditorSlotContentLayout.INLINE}\n slotContainerStyle={{ flex: 1 }}\n />\n </div>\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.general-drawer--editor\",\n EditorElementFactory(GeneralDrawerEditor, {\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./general-modal.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n SlotContainer,\n EditorSlotContentLayout,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./general-modal.editor.module.css\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\ninterface GeneralModalProperties {\n modalTitle?: string;\n okText?: string;\n cancelText?: string;\n}\n\nexport function GeneralModalEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GeneralModalProperties>({ nodeUid });\n const {\n modalTitle,\n okText = \"确认\",\n cancelText = \"取消\",\n } = node.$$parsedProperties;\n const displayTitle = smartDisplayForEvaluableString(\n modalTitle,\n \"\",\n \"<% … %>\"\n );\n\n const displayOk = smartDisplayForEvaluableString(okText, \"\", \"<% … %>\");\n const displayCancel = smartDisplayForEvaluableString(\n cancelText,\n \"\",\n \"<% … %>\"\n );\n\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div className={styles.modal}>\n <div className={styles.header}>\n {displayTitle && <div className={styles.title}>{displayTitle}</div>}\n </div>\n\n <div className={styles.modalBody}>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"content\"\n slotContentLayout={EditorSlotContentLayout.BLOCK}\n />\n </div>\n\n <div className={styles.footer}>\n <div className={styles.cancelBtn}>{displayCancel}</div>\n <div className={styles.okBtn}>{displayOk}</div>\n </div>\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.general-modal--editor\",\n EditorElementFactory(GeneralModalEditor, {\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n SlotContainer,\n EditorSlotContentLayout,\n} from \"@next-core/editor-bricks-helper\";\nimport { castArray } from \"lodash\";\nimport styles from \"./multiple-columns-card.editor.module.css\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface MultipleColumnsCardProperties {\n gridColumns: Array<string | number>;\n}\n\nexport function MultipleColumnsCardEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<MultipleColumnsCardProperties>({ nodeUid });\n\n const { gridColumns } = node.$$parsedProperties;\n\n const columns =\n castArray(gridColumns).reduce((str, value) => {\n if (typeof value === \"string\") {\n str += `${value} `;\n } else if (typeof value === \"number\") {\n str += `${value}fr `;\n }\n return str;\n }, \"\") || \"1fr\";\n\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div>\n <SlotContainer\n nodeUid={nodeUid}\n slotName=\"content\"\n showOutlineIfEmpty\n dropZoneBodyStyle={{ display: \"grid\", gridTemplateColumns: columns }}\n slotContainerStyle={{ padding: \"20px\" }}\n slotContentLayout={EditorSlotContentLayout.GRID}\n />\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.multiple-columns-card--editor\",\n EditorElementFactory(MultipleColumnsCardEditor, {\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","export enum Colors {\n green = \"green\",\n red = \"red\",\n blue = \"blue\",\n orange = \"orange\",\n cyan = \"cyan\",\n purple = \"purple\",\n geekblue = \"geekblue\",\n gray = \"gray\",\n}\n\nexport const COLORS_MAP: Record<\n Colors,\n { color: string; background: string; borderColor: string }\n> = {\n [Colors.green]: {\n color: \"var(--theme-green-color)\",\n background: \"var(--theme-green-background)\",\n borderColor: \"var(--theme-green-border-color)\",\n },\n [Colors.red]: {\n color: \"var(--theme-red-color)\",\n background: \"var(--theme-red-background)\",\n borderColor: \"var(--theme-red-border-color)\",\n },\n [Colors.blue]: {\n color: \"var(--theme-blue-color)\",\n background: \"var(--theme-blue-background)\",\n borderColor: \"var(--theme-blue-border-color)\",\n },\n [Colors.orange]: {\n color: \"var(--theme-orange-color)\",\n background: \"var(--theme-orange-background)\",\n borderColor: \"var(--theme-orange-border-color)\",\n },\n [Colors.cyan]: {\n color: \"var(--theme-cyan-color)\",\n background: \"var(--theme-cyan-background)\",\n borderColor: \"var(--theme-cyan-border-color)\",\n },\n [Colors.purple]: {\n color: \"var(--theme-purple-color)\",\n background: \"var(--theme-purple-background)\",\n borderColor: \"var(--theme-purple-border-color)\",\n },\n [Colors.geekblue]: {\n color: \"var(--theme-geekblue-color)\",\n background: \"var(--theme-geekblue-background)\",\n borderColor: \"var(--theme-geekblue-border-color)\",\n },\n [Colors.gray]: {\n color: \"var(--theme-gray-color)\",\n background: \"var(--theme-gray-background)\",\n borderColor: \"var(--theme-gray-border-color)\",\n },\n};\n\n/**\n * 如果提供的颜色值是平台提供的规范颜色,则转换为使用平台规范的颜色定义,包括color、background、borderColor,不是的话则原样输出。\n * @param color {string} 颜色值\n * @return {color:string;background:string;borderColor:string;} 返回处理后的对应颜色值\n */\nexport function getColor(\n color: string\n): { color: string; background: string; borderColor: string } {\n return (\n COLORS_MAP[color as Colors] ?? {\n color,\n background: color,\n borderColor: color,\n }\n );\n}\n","import api from \"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../css-loader/dist/cjs.js??ref--15-1!../../../../postcss-loader/dist/cjs.js??ref--15-2!./GeneralIcon.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React, { useMemo, useRef } from \"react\";\nimport { Icon as LegacyIcon } from \"@ant-design/compatible\";\nimport Icon from \"@ant-design/icons\";\nimport { Avatar, AvatarProps } from \"antd\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n MenuIcon,\n RefinedAntdIcon,\n LegacyAntdIcon,\n FaIcon,\n EasyopsIcon,\n GradientColor,\n} from \"@next-core/brick-types\";\nimport { BrickIcon } from \"@next-core/brick-icons\";\nimport { Colors, COLORS_MAP, getColor } from \"./utils/getColor\";\nimport classnames from \"classnames\";\nimport cssStyle from \"./GeneralIcon.module.css\";\nimport { isEqual, omit, uniqueId } from \"lodash\";\n\ntype SrcIcon = {\n imgSrc?: string;\n imgStyle?: React.CSSProperties;\n};\n\ninterface MenuIconProps {\n icon: MenuIcon | SrcIcon;\n bg?: boolean;\n size?: number | \"large\" | \"small\" | \"default\";\n shape?: \"circle\" | \"square\" | \"round-square\";\n reverseBgColor?: boolean;\n style?: React.CSSProperties;\n onClick?(event: React.MouseEvent<HTMLElement, MouseEvent>): void;\n showEmptyIcon?: boolean;\n}\n\nfunction isGradientColor(\n color: string | GradientColor\n): color is GradientColor {\n return (\n color !== undefined &&\n (color as GradientColor)?.startColor !== undefined &&\n (color as GradientColor)?.endColor !== undefined\n );\n}\n\nexport function GeneralIcon({\n icon: _icon,\n bg,\n size,\n shape,\n reverseBgColor,\n onClick,\n showEmptyIcon,\n style,\n}: MenuIconProps): React.ReactElement {\n const memoizedIcon = useDeepEqualMemo(_icon);\n const getStyle = (icon: MenuIcon): React.CSSProperties => {\n let mergedStyle: React.CSSProperties;\n if (icon?.color) {\n if (!isGradientColor(icon.color)) {\n if (bg) {\n if (COLORS_MAP[icon.color as Colors]) {\n if (reverseBgColor) {\n mergedStyle = {\n color: \"#ffffff\",\n backgroundColor: getColor(icon.color).color,\n };\n } else {\n mergedStyle = getColor(icon.color);\n }\n } else {\n mergedStyle = {\n color: \"#ffffff\",\n backgroundColor: icon.color,\n };\n }\n } else {\n mergedStyle = {\n color: COLORS_MAP[icon.color as Colors]\n ? getColor(icon.color).color\n : icon.color,\n };\n }\n } else {\n mergedStyle = {\n color: \"transparent\",\n };\n }\n }\n return mergedStyle;\n };\n const getDefaultIcon = (\n bg: boolean,\n mergedStyle: React.CSSProperties,\n iconNode: JSX.Element\n ) => {\n return bg ? (\n <Avatar\n icon={\n showEmptyIcon ? (\n <Icon\n style={omit(mergedStyle, \"background\")}\n component={() => (\n <BrickIcon icon=\"empty-icon\" category=\"common\" />\n )}\n onClick={onClick}\n />\n ) : (\n iconNode\n )\n }\n size={size ?? \"default\"}\n shape={(shape as AvatarProps[\"shape\"]) ?? \"circle\"}\n style={mergedStyle}\n className={classnames({\n [cssStyle.roundSquareBg]: shape === \"round-square\",\n })}\n ></Avatar>\n ) : (\n iconNode\n );\n };\n\n return useMemo(() => {\n let iconNode = <></>;\n let icon = memoizedIcon;\n if (typeof icon === \"number\" || typeof icon === \"string\") return iconNode;\n if (!icon) icon = {};\n let mergedStyle: React.CSSProperties;\n\n if (\"imgSrc\" in icon) {\n iconNode = (\n <img\n src={\n /^(?:https?|data):|^\\//.test(icon.imgSrc)\n ? icon.imgSrc\n : `${(window as any).PUBLIC_ROOT ?? \"\"}${icon.imgSrc}`\n }\n width={size}\n height={size}\n style={icon.imgStyle}\n onClick={onClick}\n />\n );\n } else if (\"lib\" in icon) {\n mergedStyle = getStyle(icon);\n\n if (style) {\n if (mergedStyle) {\n Object.assign(mergedStyle, style);\n } else {\n mergedStyle = style;\n }\n }\n\n const generalIconId = uniqueId(\"generalIcon\");\n\n const iconType =\n (icon as RefinedAntdIcon | FaIcon | EasyopsIcon)?.icon ||\n (icon as LegacyAntdIcon)?.type;\n\n if (!icon || (!iconType && showEmptyIcon)) {\n return getDefaultIcon(bg, mergedStyle, iconNode);\n }\n\n const mergedStyleByBg = bg\n ? omit(mergedStyle, \"background\")\n : mergedStyle;\n\n if (icon.lib === \"antd\") {\n const type =\n (icon as RefinedAntdIcon).icon || (icon as LegacyAntdIcon).type;\n iconNode = (\n <LegacyIcon\n type={type}\n theme={icon.theme}\n style={mergedStyleByBg}\n onClick={onClick}\n className={generalIconId}\n data-icon={\n (icon as RefinedAntdIcon).icon || (icon as LegacyAntdIcon).type\n }\n />\n );\n }\n\n if (icon.lib === \"fa\") {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const faIcon = icon.prefix ? [icon.prefix, icon.icon] : icon.icon;\n\n iconNode = (\n <Icon\n style={{ ...mergedStyleByBg, verticalAlign: 0 }}\n component={() => (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n <FontAwesomeIcon icon={faIcon} className={cssStyle.faIcon} />\n )}\n onClick={onClick}\n className={generalIconId}\n data-icon={icon.icon}\n />\n );\n }\n\n if (icon.lib === \"easyops\") {\n iconNode = (\n <Icon\n style={mergedStyleByBg}\n component={() => (\n <BrickIcon\n icon={(icon as EasyopsIcon).icon}\n category={(icon as EasyopsIcon).category}\n />\n )}\n onClick={onClick}\n className={generalIconId}\n data-icon={icon.icon}\n />\n );\n }\n\n if (isGradientColor(icon.color)) {\n let gradientIconDirection;\n switch (icon.color?.direction) {\n case \"left-to-right\":\n gradientIconDirection = { x1: \"0\", y1: \"0\", x2: \"1\", y2: \"0\" };\n break;\n case \"top-to-bottom\":\n default:\n gradientIconDirection = { x1: \"0\", y1: \"0\", x2: \"0\", y2: \"1\" };\n }\n\n iconNode = (\n <>\n {iconNode}\n <div style={{ position: \"absolute\" }}>\n <svg width=\"0\" height=\"0\" aria-hidden={true} focusable={false}>\n <defs>\n <linearGradient\n id={`linearGradient-${generalIconId}`}\n {...gradientIconDirection}\n >\n `\n <stop offset=\"0%\" stopColor={icon.color.startColor} />\n <stop offset=\"100%\" stopColor={icon.color.endColor} />\n </linearGradient>\n </defs>\n </svg>\n <style>\n {`.${generalIconId} svg path {\n fill: url(#linearGradient-${generalIconId});\n }`}\n </style>\n </div>\n </>\n );\n }\n\n if (bg) {\n iconNode = (\n <Avatar\n icon={iconNode}\n size={size ?? \"default\"}\n shape={(shape as AvatarProps[\"shape\"]) ?? \"circle\"}\n style={{\n ...(isGradientColor(icon.color)\n ? { backgroundColor: \"#fff\" }\n : {}),\n ...mergedStyle,\n }}\n className={classnames({\n [cssStyle.roundSquareBg]: shape === \"round-square\",\n })}\n ></Avatar>\n );\n }\n } else {\n return getDefaultIcon(bg, getStyle(icon as MenuIcon), iconNode);\n }\n\n return iconNode;\n }, [\n bg,\n memoizedIcon,\n onClick,\n reverseBgColor,\n shape,\n showEmptyIcon,\n size,\n style,\n ]);\n}\n\n// Use deepEqual to compare icons, to avoid flicker of easyops icon.\nfunction useDeepEqualMemo<T>(value: T): T {\n const ref = useRef<T>(undefined);\n\n if (!isEqual(ref.current, value)) {\n ref.current = value;\n }\n\n return ref.current;\n}\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./general-custom-buttons.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React, { useCallback, useMemo } from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport {\n DownOutlined,\n EllipsisOutlined,\n SettingOutlined,\n} from \"@ant-design/icons\";\nimport { GeneralIcon } from \"@next-libs/basic-components\";\nimport classNames from \"classnames\";\nimport { GeneralButtonType } from \"../shared/intefaces\";\n\nimport styles from \"./general-custom-buttons.editor.module.css\";\nimport { isEmpty } from \"lodash\";\nimport { MenuIcon } from \"@next-core/brick-types\";\n\ninterface CustomButtonProps {\n buttonType?: GeneralButtonType;\n isDropdown?: boolean;\n icon: MenuIcon | string;\n text: string;\n}\n\ninterface GeneralCustomButtonsProperties {\n customButtons?: CustomButtonProps[] | string;\n isMoreButton: true;\n alignment: \"start\" | \"center\" | \"end\" | \"stretch\";\n}\n\ninterface BaseButtonProps {\n type?: GeneralButtonType;\n}\n\ninterface dropdownBtnProps {\n isMoreButton?: true;\n}\n\nexport function BaseButton({\n type,\n children,\n}: React.PropsWithChildren<BaseButtonProps>): React.ReactElement {\n return (\n <div className={classNames(styles.baseButton, styles[type])}>\n {children}\n </div>\n );\n}\n\nexport function DropdownBtn({\n isMoreButton,\n}: dropdownBtnProps): React.ReactElement {\n return (\n <>\n <BaseButton>\n {isMoreButton ? (\n <EllipsisOutlined />\n ) : (\n <>\n <SettingOutlined style={{ marginRight: 5 }} /> 管理{\" \"}\n <DownOutlined style={{ marginLeft: 5 }} />\n </>\n )}\n </BaseButton>\n </>\n );\n}\n\nexport function GeneralCustomButtonsEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<GeneralCustomButtonsProperties>({ nodeUid });\n\n const {\n customButtons,\n isMoreButton,\n alignment = \"center\",\n } = node.$$parsedProperties;\n const hasDropdown =\n Array.isArray(customButtons) &&\n customButtons.some((item) => item.isDropdown);\n\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div\n className={styles.customContainer}\n style={{ justifyContent: alignment }}\n >\n {isEmpty(customButtons) ? (\n <BaseButton>{node.alias}</BaseButton>\n ) : Array.isArray(customButtons) ? (\n customButtons\n .filter((item) => !item.isDropdown)\n .map((item, index) => (\n <BaseButton key={index} type={item.buttonType}>\n {item.icon && (\n <GeneralIcon\n icon={\n typeof item.icon === \"string\"\n ? { lib: \"antd\", icon: item.icon }\n : item.icon\n }\n style={{ marginRight: 5 }}\n />\n )}\n {item.text}\n </BaseButton>\n ))\n ) : (\n <BaseButton>{\"<% … %>\"}</BaseButton>\n )}\n {hasDropdown && <DropdownBtn isMoreButton={isMoreButton} />}\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.general-custom-buttons--editor\",\n EditorElementFactory(GeneralCustomButtonsEditor, {\n selfLayout: EditorSelfLayout.BLOCK,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./easy-view.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport { pick } from \"lodash\";\nimport classnames from \"classnames\";\nimport {\n EditorBrickType,\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n SlotContainer,\n useBuilderGroupedChildNodes,\n useBuilderNode,\n useOutlineEnabled,\n useBuilderParentNode,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./easy-view.editor.module.css\";\n\ninterface EasyViewProperties {\n gridAreas?: Record<string, (string | number)[]>;\n gridTemplateAreas?: string[][];\n gridTemplateColumns?: string | string[];\n gridTemplateRows?: string | string[];\n containerStyle?: React.CSSProperties;\n styleByAreas?: Record<string, React.CSSProperties>;\n}\n\nexport function EasyViewEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<EasyViewProperties>({ nodeUid });\n const parentNode = useBuilderParentNode(node.$$uid);\n let isWrapper = false;\n if (parentNode?.layoutType === \"wrapper\") {\n isWrapper = true;\n }\n const outlineEnabled = useOutlineEnabled(node.instanceId);\n const {\n gridAreas,\n gridTemplateAreas,\n gridTemplateColumns,\n gridTemplateRows,\n containerStyle,\n styleByAreas,\n } = node.$$parsedProperties;\n const childNodesByMountPoint = useBuilderGroupedChildNodes({ nodeUid });\n\n const areas = gridAreas\n ? Object.keys(gridAreas)\n : Array.from(new Set(gridTemplateAreas?.flat?.() ?? [])).filter(\n (area) => area !== \".\"\n );\n\n const pickedContainerStyle = pick(containerStyle, [\"gap\", \"gridGap\"]);\n\n return (\n <EditorContainer\n nodeUid={nodeUid}\n type={EditorBrickType.TRANSPARENT_CONTAINER}\n editorContainerStyle={{\n height: \"100%\",\n minHeight: \"100%\",\n }}\n editorBodyStyle={{\n height: \"100%\",\n minHeight: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n ...(isWrapper\n ? {\n minHeight: `calc(100vh - var(--editor-brick-overlay-padding) * 2 - var(--page-card-gap) * 4 - 20px - var(--editor-brick-toolbar-height))`,\n }\n : {}),\n }}\n >\n <div\n className={classnames(styles.wrapper, {\n [styles.outlineEnabled]: outlineEnabled,\n [styles.empty]: areas.length === 0,\n })}\n style={{\n gridTemplateAreas: gridTemplateAreas\n ?.map((row) => `\"${row.join(\" \")}\"`)\n .join(\" \"),\n gridTemplateColumns: Array.isArray(gridTemplateColumns)\n ? gridTemplateColumns.join(\" \")\n : gridTemplateColumns,\n gridTemplateRows: Array.isArray(gridTemplateRows)\n ? gridTemplateRows.join(\" \")\n : gridTemplateRows,\n ...pickedContainerStyle,\n }}\n >\n {areas.map((area) => (\n <div\n className={classnames(styles.areaContainer, {\n [styles.empty]: !(\n childNodesByMountPoint.find(\n (group) => group.mountPoint === area\n )?.childNodes.length > 0\n ),\n })}\n key={area}\n style={{\n gridArea: gridAreas ? gridAreas[area].join(\" / \") : area,\n ...styleByAreas?.[area],\n }}\n // This is used in css as `content: attr(data-area-id)`.\n data-area-id={area}\n >\n <SlotContainer\n nodeUid={nodeUid}\n slotName={area}\n slotContainerStyle={{ height: \"100%\", minHeight: \"100%\" }}\n dropZoneStyle={{ height: \"100%\", minHeight: \"100%\" }}\n dropZoneBodyStyle={{ height: \"100%\", minHeight: \"100%\" }}\n />\n </div>\n ))}\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.easy-view--editor\",\n EditorElementFactory(EasyViewEditor, {\n brickStyle: {\n height: \"100%\",\n minHeight: \"100%\",\n },\n selfLayout: EditorSelfLayout.CONTAINER,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./page-title.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\nimport styles from \"./page-title.editor.module.css\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface PageTitleProperties {\n pageTitle?: string;\n}\n\nexport function PageTitleEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<PageTitleProperties>({ nodeUid });\n const { pageTitle } = node.$$parsedProperties;\n const displayPageTitle = smartDisplayForEvaluableString(\n pageTitle,\n \"\",\n \"<% … %>\"\n );\n return (\n <EditorContainer nodeUid={nodeUid}>\n {displayPageTitle ? (\n <div className={styles.pageTitle}>{displayPageTitle}</div>\n ) : (\n <div className={`${styles.pageTitle} ${styles.untitled}`}>\n Untitled Page\n </div>\n )}\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.page-title--editor\",\n EditorElementFactory(PageTitleEditor, {\n selfLayout: EditorSelfLayout.INLINE,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./list-container.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport { range } from \"lodash\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./list-container.editor.module.css\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface ListContainerProperties {\n // someProps?: string;\n}\n\nexport function ListContainerEditor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<ListContainerProperties>({ nodeUid });\n /**\n * 提示:使用构件的属性配置来呈现该构件的关键 UI 特征。\n * 例如:对于按钮构件,根据 `buttonType` 来显示对应的背景色。\n */\n // const { someProps } = node.$$parsedProperties;\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div className={styles.listContainer}>\n {range(0, 3).map((_, index) => (\n <div key={index} className={styles.content}></div>\n ))}\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.list-container--editor\",\n EditorElementFactory(ListContainerEditor, {\n selfLayout: EditorSelfLayout.BLOCK,\n })\n);\n","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--15-1!../../../../../node_modules/postcss-loader/dist/cjs.js??ref--15-2!./fold-brick-v2.editor.module.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from \"react\";\nimport {\n EditorComponentProps,\n EditorContainer,\n EditorElementFactory,\n EditorSelfLayout,\n SlotContainer,\n useBuilderNode,\n} from \"@next-core/editor-bricks-helper\";\nimport styles from \"./fold-brick-v2.editor.module.css\";\nimport { smartDisplayForEvaluableString } from \"@next-core/brick-utils\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface FoldBrickV2Properties {\n // someProps?: string;\n foldName?: string;\n}\n\nexport function FoldBrickV2Editor({\n nodeUid,\n}: EditorComponentProps): React.ReactElement {\n const node = useBuilderNode<FoldBrickV2Properties>({ nodeUid });\n const { foldName } = node.$$parsedProperties;\n const displayName = smartDisplayForEvaluableString(\n foldName,\n node.alias,\n node.alias\n );\n /**\n * 提示:使用构件的属性配置来呈现该构件的关键 UI 特征。\n * 例如:对于按钮构件,根据 `buttonType` 来显示对应的背景色。\n */\n // const { someProps } = node.$$parsedProperties;\n return (\n <EditorContainer nodeUid={nodeUid}>\n <div className={styles.wrapper}>{displayName}</div>\n <div className={styles.content}>\n <SlotContainer nodeUid={nodeUid} slotName=\"content\" />\n </div>\n </EditorContainer>\n );\n}\n\ncustomElements.define(\n \"basic-bricks.fold-brick-v2--editor\",\n EditorElementFactory(FoldBrickV2Editor, {\n selfLayout: EditorSelfLayout.INLINE,\n })\n);\n"],"sourceRoot":""}