@next-bricks/basic-bricks 1.155.4 → 1.156.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/deploy/contract.yaml +140 -0
- package/deploy/package.conf.yaml +1 -1
- package/dist/bricks.json +2 -1
- package/dist/editors/editors.13cf2643.js +2 -0
- package/dist/editors/editors.13cf2643.js.map +1 -0
- package/dist/index.b166374e.js +11 -0
- package/dist/index.b166374e.js.map +1 -0
- package/package.json +4 -4
- package/dist/editors/editors.fd61edf4.js +0 -2
- package/dist/editors/editors.fd61edf4.js.map +0 -1
- package/dist/index.9467a089.js +0 -11
- package/dist/index.9467a089.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.156.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/basic-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"test:ci": "cross-env NODE_ENV='test' CI=true jest"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@next-core/custom-antd-styles": "^1.8.
|
|
34
|
-
"@next-libs/basic-components": "^3.2.
|
|
33
|
+
"@next-core/custom-antd-styles": "^1.8.11",
|
|
34
|
+
"@next-libs/basic-components": "^3.2.5",
|
|
35
35
|
"@next-libs/storage": "^2.0.2",
|
|
36
36
|
"@next-sdk/air-admin-service-sdk": "^2.1.12",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"immutability-helper": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": true,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d42b0c72fefb1def359412f288a56bf39f6f9e3c"
|
|
43
43
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="bricks/basic-bricks/dist/editors/",n(n.s=28)}([function(e,t,n){e.exports=n(10)("q1tI")},function(e,t,n){e.exports=n(10)("WnDu")},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function l(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],d=n[c]||0,s="".concat(c," ").concat(d);n[c]=d+1;var u=l(s),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:s,updater:g(m,t),references:1}),r.push(s)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var s,u=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function m(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f=null,b=0;function g(e,t){var n,r,o;if(t.singleton){var a=b++;n=f||(f=d(t)),r=m.bind(null,n,a,!1),o=m.bind(null,n,a,!0)}else n=d(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);i[o].references--}for(var a=c(e,t),d=0;d<n.length;d++){var s=l(n[d]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(i=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}var i,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){e.exports=n(10)("A+yw")},function(e,t,n){e.exports=n(9)("RBnf")},function(e,t,n){e.exports=n(9)("TSYQ")},function(e,t,n){e.exports=n(10)("LvDl")},function(e,t,n){e.exports=n(10)("3tO9")},function(e,t){e.exports=dll},function(e,t){e.exports=DllOfEditorBricksHelper},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1PASiZud {\n border-radius: var(--editor-brick-border-radius);\n}\n\n.hasChildren--3EYql2CE {\n min-height: var(--editor-brick-base-height);\n}\n\n.hasChildren--3EYql2CE:not(.isExpandableTemplate--2xm6SDkS) {\n border: 1px solid var(--editor-brick-stroke-color);\n padding: var(--editor-brick-gap);\n}\n\n.hasChildren--3EYql2CE > * + * {\n margin-top: var(--editor-brick-gap);\n}\n\n.noChildren--1E6gYbtB {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 10px;\n height: var(--editor-brick-base-height);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--MXthQTeK {\n width: 20px;\n flex-shrink: 0;\n}\n\n.provider--rzPeYmLI > .icon--MXthQTeK {\n color: var(--theme-orange-color);\n}\n\n.template--2CDhuwvm > .icon--MXthQTeK {\n color: var(--theme-red-color);\n}\n\n.portal--MyXJclUm > .icon--MXthQTeK {\n color: var(--theme-purple-color);\n}\n\n.name--3DUQjprd {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.default--2bhRjrRb > .name--3DUQjprd {\n text-align: center;\n}\n",""]),o.locals={wrapper:"wrapper--1PASiZud",hasChildren:"hasChildren--3EYql2CE",isExpandableTemplate:"isExpandableTemplate--2xm6SDkS",noChildren:"noChildren--1E6gYbtB",icon:"icon--MXthQTeK",provider:"provider--rzPeYmLI",template:"template--2CDhuwvm",portal:"portal--MyXJclUm",name:"name--3DUQjprd",default:"default--2bhRjrRb"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--AEaEOJJM {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n padding: 0 10px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n}\n\n.icon--5LmcxSP3 {\n width: 20px;\n flex-shrink: 0;\n color: var(--theme-cyan-color);\n}\n\n.name--2nUeXqif {\n flex: 1;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n",""]),o.locals={wrapper:"wrapper--AEaEOJJM",icon:"icon--5LmcxSP3",name:"name--2nUeXqif"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".microViewHeader--3WPfXI35 {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.pageTitle--3dnhjTxY {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n}\n\n.untitled--27HU9IHE {\n color: rgba(0, 0, 0, 0.45);\n}\n\n.toolbar--2iKNGuRi {\n flex: 1;\n display: flex;\n justify-content: flex-end;\n}\n\n.minorSlots--SiinhMQc {\n margin-bottom: var(--page-title-margin-bottom);\n}\n\n.minorSlots--SiinhMQc > * + * {\n margin-top: var(--editor-brick-gap);\n }\n",""]),o.locals={microViewHeader:"microViewHeader--3WPfXI35",pageTitle:"pageTitle--3dnhjTxY",untitled:"untitled--27HU9IHE",toolbar:"toolbar--2iKNGuRi",minorSlots:"minorSlots--SiinhMQc"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".button--2RyfP6gc {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n}\n\n.primary--9bzhZ7GV {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n}\n\n.buttonName--2V0FptVX {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 0;\n}\n",""]),o.locals={button:"button--2RyfP6gc",primary:"primary--9bzhZ7GV",buttonName:"buttonName--2V0FptVX"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".card--2ZoIpk_a {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n background-color: #fff;\n}\n\n.cardHead--1opQ_wMh {\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 5px 12px;\n}\n\n.cardBody--EuXKIBy2 {\n padding: 20px;\n}\n",""]),o.locals={card:"card--2ZoIpk_a",cardHead:"cardHead--1opQ_wMh",cardBody:"cardBody--EuXKIBy2"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".drawer--3CLZm97_ {\n display: flex;\n flex-direction: column;\n min-height: 200px;\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.headerContainer--3jPgVDPa {\n display: flex;\n justify-content: center;\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.headerContainer--3jPgVDPa .title--30b64c5Z {\n flex: 1;\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.headerContainer--3jPgVDPa .leftHeaderSlot--4752iGrx,\n .headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n flex: 1;\n display: flex;\n align-items: center;\n }\n\n.headerContainer--3jPgVDPa .rightHeaderSlot--3yoklLNZ {\n justify-content: flex-end;\n }\n\n.contentSlot--1895SiPS {\n flex: 1;\n padding: var(--editor-brick-gap);\n}\n\n.footerSlot--35a_sSCk {\n flex-basis: var(--editor-brick-toolbar-height);\n display: flex;\n align-items: center;\n background-color: var(--editor-brick-footer-color);\n padding: 0 var(--editor-brick-gap);\n}\n",""]),o.locals={drawer:"drawer--3CLZm97_",headerContainer:"headerContainer--3jPgVDPa",title:"title--30b64c5Z",leftHeaderSlot:"leftHeaderSlot--4752iGrx",rightHeaderSlot:"rightHeaderSlot--3yoklLNZ",contentSlot:"contentSlot--1895SiPS",footerSlot:"footerSlot--35a_sSCk"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".modal--3I_ztyHH {\n border-radius: var(--editor-brick-border-radius);\n border: 1px solid var(--editor-brick-stroke-color);\n}\n\n.header--2RZJ7uGJ {\n height: var(--editor-brick-toolbar-height);\n border-bottom: 1px solid var(--editor-brick-stroke-color);\n padding: 0 15px;\n}\n\n.header--2RZJ7uGJ .title--3S29PFHS {\n line-height: var(--editor-brick-toolbar-height);\n font-size: 16px;\n }\n\n.modalBody--3QYs25zz {\n padding: var(--editor-brick-gap);\n min-height: 80px;\n}\n\n.footer--moybbK1H {\n display: flex;\n justify-content: flex-end;\n height: 55px;\n background-color: var(--editor-brick-footer-color);\n padding: 12px 30px;\n}\n\n.footer--moybbK1H .okBtn--2Vex5iP0,\n .footer--moybbK1H .cancelBtn--3h2xzAV8 {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 80px;\n }\n\n.footer--moybbK1H .okBtn--2Vex5iP0 {\n color: #fff;\n background: var(--bg-color-button-primary);\n border: 1px solid var(--bg-color-button-primary);\n }\n\n.footer--moybbK1H .cancelBtn--3h2xzAV8 {\n color: var(--bg-color-button-link);\n }\n",""]),o.locals={modal:"modal--3I_ztyHH",header:"header--2RZJ7uGJ",title:"title--3S29PFHS",modalBody:"modalBody--3QYs25zz",footer:"footer--moybbK1H",okBtn:"okBtn--2Vex5iP0",cancelBtn:"cancelBtn--3h2xzAV8"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".customContainer--134ar7vn {\n display: grid;\n grid-gap: 8px;\n grid-auto-flow: column;\n}\n\n.baseButton--xnwHXnC6 {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--editor-brick-base-height);\n border-radius: var(--editor-brick-border-radius);\n color: #595959;\n padding: 0px 20px;\n background: #fff;\n border: 1px solid #d9d9d9;\n overflow: hidden;\n white-space: nowrap;\n min-width: 75px;\n}\n\n.baseButton--xnwHXnC6.primary--37WjUTCT {\n color: #fff;\n background: #167be0;\n border-color: #167be0;\n }\n\n.baseButton--xnwHXnC6.danger--GtnR6VgW {\n color: #fff;\n background: #f0493c;\n border-color: #f0493c;\n }\n\n.baseButton--xnwHXnC6.link--2ySg8ZD_ {\n color: var(--antd-link-color);\n }\n\n.link--2ySg8ZD_.baseButton--xnwHXnC6 {\n border: none;\n }\n",""]),o.locals={customContainer:"customContainer--134ar7vn",baseButton:"baseButton--xnwHXnC6",primary:"primary--37WjUTCT",danger:"danger--GtnR6VgW",link:"link--2ySg8ZD_"},t.a=o},function(e,t,n){e.exports=n(9)("gdfu")},function(e,t,n){e.exports=n(9)("AE1K")},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".faIcon--2IYQpP5k.svg-inline--fa {\n width: 1em;\n}\n\n.roundSquareBg--1bgTDK6y {\n border-radius: 10%;\n}\n",""]),o.locals={faIcon:"faIcon--2IYQpP5k",roundSquareBg:"roundSquareBg--1bgTDK6y"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".wrapper--1wLRaw5X {\n min-height: 100%;\n}\n\n.wrapper--1wLRaw5X.empty--2g80dj0v,\n.areaContainer--2TzYFh35 {\n min-height: var(--editor-brick-base-height);\n}\n\n.wrapper--1wLRaw5X {\n display: grid;\n}\n\n.areaContainer--2TzYFh35 {\n position: relative;\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35 {\n border-radius: 4px;\n background-image: url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='4' ry='4' stroke='%23d9d9d9' stroke-width='2' stroke-dasharray='6%2c 6' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e\");\n}\n\n.outlineEnabled--2aeaDmr7 > .areaContainer--2TzYFh35.empty--2g80dj0v::before {\n content: attr(data-area-id);\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--stroke-color-default);\n font-size: 20px;\n }\n",""]),o.locals={wrapper:"wrapper--1wLRaw5X",empty:"empty--2g80dj0v",areaContainer:"areaContainer--2TzYFh35",outlineEnabled:"outlineEnabled--2aeaDmr7"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".pageTitle--3T00sVFq {\n flex: 1;\n font-size: 18px;\n line-height: 32px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.untitled--ZTPOLmwE {\n color: rgba(0, 0, 0, 0.45);\n}\n",""]),o.locals={pageTitle:"pageTitle--3T00sVFq",untitled:"untitled--ZTPOLmwE"},t.a=o},function(e,t,n){"use strict";var r=n(3),o=n.n(r)()(!1);o.push([e.i,".listContainer--38Cgc9lu {\n display: flex;\n grid-gap: 8px;\n gap: 8px;\n border: 1px solid var(--editor-brick-stroke-color);\n border-radius: var(--editor-brick-border-radius);\n padding: var(--editor-brick-gap);\n}\n\n .listContainer--38Cgc9lu .content--3IPE43Rx {\n flex: 1;\n height: 60px;\n border-radius: var(--editor-brick-border-radius);\n background: var(--editor-brick-skeleton-bg-light);\n }\n",""]),o.locals={listContainer:"listContainer--38Cgc9lu",content:"content--3IPE43Rx"},t.a=o},function(e,t,n){e.exports=n(9)("pVnL")},function(e,t,n){e.exports=n(9)("0Cfi")},function(e,t,n){e.exports=n(9)("IP2g")},function(e,t,n){"use strict";n.r(t);var r,o=n(0),a=n.n(o),i=n(5),l=n(6),c=n.n(l),d=n(1),s=n(2),u=n.n(s),m=n(11),p={insert:"head",singleton:!1},f=(u()(m.a,p),m.a.locals||{});!function(e){e.DEFAULT="default",e.PROVIDER="provider",e.TEMPLATE="template",e.PORTAL="portal"}(r||(r={})),customElements.define("basic-bricks.any-brick--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),l=r.DEFAULT;return"provider"===n.type||n.bg?(l=r.PROVIDER,t=a.a.createElement(i.DatabaseFilled,null)):"template"===n.type?(l=r.TEMPLATE,t=a.a.createElement(i.GoldenFilled,null)):n.portal&&(l=r.PORTAL,t=a.a.createElement(i.MessageFilled,null)),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(f.wrapper,f[l],o.length>0?f.hasChildren:f.noChildren,{[f.isExpandableTemplate]:n.$$isExpandableTemplate})},o.length>0?o.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t})):a.a.createElement(a.a.Fragment,null,t&&a.a.createElement("div",{className:f.icon},t),a.a.createElement("div",{className:f.name},n.alias))))})));var b=n(12),g={insert:"head",singleton:!1},h=(u()(b.a,g),b.a.locals||{});customElements.define("basic-bricks.any-route--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e});return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:h.wrapper},a.a.createElement("div",{className:h.icon},a.a.createElement(i.BranchesOutlined,null)),a.a.createElement("div",{className:h.name},t.alias)))}),{selfLayout:d.EditorSelfLayout.INLINE}));var y=n(4),v=n(13),E={insert:"head",singleton:!1},C=(u()(v.a,E),v.a.locals||{}),k=new Set(["titleBar","toolbar","content"]);function x({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),n=Object(d.useBuilderNodeMountPoints)({nodeUid:e}),{pageTitle:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),i=n.includes("titleBar"),l=n.filter(e=>!k.has(e));return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},l.length>0&&a.a.createElement("div",{className:C.minorSlots},l.map(t=>a.a.createElement(d.SlotContainer,{key:t,nodeUid:e,slotName:t}))),a.a.createElement("div",{className:C.microViewHeader},i?a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"titleBar",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE}):o?a.a.createElement("div",{className:C.pageTitle},o):a.a.createElement("div",{className:"".concat(C.pageTitle," ").concat(C.untitled)},"Untitled Page"),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"toolbar",slotContainerStyle:{flex:2},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}})),a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{flex:1},dropZoneStyle:{height:"100%",minHeight:"100%"}}))}customElements.define("basic-bricks.micro-view--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.micro-app--editor",Object(d.EditorElementFactory)(x,{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var S,N=n(14),w={insert:"head",singleton:!1},j=(u()(N.a,w),N.a.locals||{});!function(e){e.PRIMARY="primary"}(S||(S={})),customElements.define("basic-bricks.general-button--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{buttonName:n,buttonType:r}=t.$$parsedProperties,o=Object(y.smartDisplayForEvaluableString)(n,t.alias,t.alias);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:c()(j.button,{[j.primary]:r===S.PRIMARY})},a.a.createElement("div",{className:j.buttonName},o)))})));var T=n(15),O={insert:"head",singleton:!1},B=(u()(T.a,O),T.a.locals||{});customElements.define("basic-bricks.general-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{cardTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:B.card},r&&a.a.createElement("div",{className:B.cardHead},r),a.a.createElement("div",{className:B.cardBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content"}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER})),customElements.define("basic-bricks.grid-layout--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{columns:n}=t.$$parsedProperties;return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER,isTransparentContainer:!0},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"items",slotContentLayout:d.EditorSlotContentLayout.GRID,showOutlineIfEmpty:!0,dropZoneBodyStyle:"number"==typeof n?{gridTemplateColumns:"repeat(".concat(n,", 1fr)")}:void 0}))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var L=n(16),U={insert:"head",singleton:!1},I=(u()(L.a,U),L.a.locals||{});customElements.define("basic-bricks.general-drawer--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.CONTAINER},a.a.createElement("div",{className:I.drawer},a.a.createElement("div",{className:I.headerContainer},r&&a.a.createElement("div",{className:I.title},r),!r&&a.a.createElement("div",{className:I.leftHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerLeft",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE})),a.a.createElement("div",{className:I.rightHeaderSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"headerRight",slotContainerStyle:{flex:1},slotContentLayout:d.EditorSlotContentLayout.INLINE,dropZoneBodyStyle:{justifyContent:"flex-end"}}))),a.a.createElement("div",{className:I.contentSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContainerStyle:{height:"100%"},slotContentLayout:d.EditorSlotContentLayout.BLOCK,dropZoneStyle:{height:"100%"}})),a.a.createElement("div",{className:I.footerSlot},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"footer",slotContentLayout:d.EditorSlotContentLayout.INLINE,slotContainerStyle:{flex:1}}))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var P=n(17),R={insert:"head",singleton:!1},A=(u()(P.a,R),P.a.locals||{});customElements.define("basic-bricks.general-modal--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{modalTitle:n,okText:r="确认",cancelText:o="取消"}=t.$$parsedProperties,i=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>"),l=Object(y.smartDisplayForEvaluableString)(r,"","<% … %>"),c=Object(y.smartDisplayForEvaluableString)(o,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:A.modal},a.a.createElement("div",{className:A.header},i&&a.a.createElement("div",{className:A.title},i)),a.a.createElement("div",{className:A.modalBody},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",slotContentLayout:d.EditorSlotContentLayout.BLOCK})),a.a.createElement("div",{className:A.footer},a.a.createElement("div",{className:A.cancelBtn},c),a.a.createElement("div",{className:A.okBtn},l))))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var H=n(7);customElements.define("basic-bricks.multiple-columns-card--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{gridColumns:n}=t.$$parsedProperties,r=Object(H.castArray)(n).reduce((e,t)=>("string"==typeof t?e+="".concat(t," "):"number"==typeof t&&(e+="".concat(t,"fr ")),e),"")||"1fr";return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",null,a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:"content",showOutlineIfEmpty:!0,dropZoneBodyStyle:{display:"grid",gridTemplateColumns:r},slotContainerStyle:{padding:"20px"},slotContentLayout:d.EditorSlotContentLayout.GRID})))}),{selfLayout:d.EditorSelfLayout.CONTAINER}));var F,D=n(25),M=n.n(D),V=n(8),Z=n.n(V),z=n(26),X=n(19),K=n(27),Y=n(20);!function(e){e.green="green",e.red="red",e.blue="blue",e.orange="orange",e.cyan="cyan",e.purple="purple",e.geekblue="geekblue",e.gray="gray"}(F||(F={}));var $={[F.green]:{color:"var(--theme-green-color)",background:"var(--theme-green-background)",borderColor:"var(--theme-green-border-color)"},[F.red]:{color:"var(--theme-red-color)",background:"var(--theme-red-background)",borderColor:"var(--theme-red-border-color)"},[F.blue]:{color:"var(--theme-blue-color)",background:"var(--theme-blue-background)",borderColor:"var(--theme-blue-border-color)"},[F.orange]:{color:"var(--theme-orange-color)",background:"var(--theme-orange-background)",borderColor:"var(--theme-orange-border-color)"},[F.cyan]:{color:"var(--theme-cyan-color)",background:"var(--theme-cyan-background)",borderColor:"var(--theme-cyan-border-color)"},[F.purple]:{color:"var(--theme-purple-color)",background:"var(--theme-purple-background)",borderColor:"var(--theme-purple-border-color)"},[F.geekblue]:{color:"var(--theme-geekblue-color)",background:"var(--theme-geekblue-background)",borderColor:"var(--theme-geekblue-border-color)"},[F.gray]:{color:"var(--theme-gray-color)",background:"var(--theme-gray-background)",borderColor:"var(--theme-gray-border-color)"}};function _(e){var t;return null!==(t=$[e])&&void 0!==t?t:{color:e,background:e,borderColor:e}}var 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({icon:e,bg:t,size:n,shape:r,reverseBgColor:l,onClick:d,showEmptyIcon:s,style:u}){var m=function(e){var t=Object(o.useRef)(void 0);Object(H.isEqual)(t.current,e)||(t.current=e);return t.current}(e),p=e=>{var n;return null!=e&&e.color&&(n=J(e.color)?{color:"transparent"}:t?$[e.color]?l?{color:"#ffffff",backgroundColor:_(e.color).color}:_(e.color):{color:"#ffffff",backgroundColor:e.color}:{color:$[e.color]?_(e.color).color:e.color}),n},f=(e,t,o)=>{var l;return e?a.a.createElement(X.Avatar,{icon:s?a.a.createElement(i.default,{style:t,component:()=>a.a.createElement(Y.BrickIcon,{icon:"empty-icon",category:"common"}),onClick:d}):o,size:null!=n?n:"default",shape:null!==(l=r)&&void 0!==l?l:"circle",style:t,className:c()({[Q.roundSquareBg]:"round-square"===r})}):o};return Object(o.useMemo)(()=>{var e,o,l=a.a.createElement(a.a.Fragment,null),b=m;if("number"==typeof b||"string"==typeof b)return l;if(b||(b={}),"imgSrc"in b)l=a.a.createElement("img",{src:b.imgSrc,width:n,height:n,style:b.imgStyle,onClick:d});else{if(!("lib"in b))return f(t,p(b),l);var g,h;o=p(b),u&&(o?Object.assign(o,u):o=u);var y,v=Object(H.uniqueId)("generalIcon"),E=(null===(g=b)||void 0===g?void 0:g.icon)||(null===(h=b)||void 0===h?void 0:h.type);if(!b||!E&&s)return f(t,o,l);if("antd"===b.lib){var C=b.icon||b.type;l=a.a.createElement(z.Icon,{type:C,theme:b.theme,style:o,onClick:d,className:v,"data-icon":b.icon||b.type})}if("fa"===b.lib){var k=b.prefix?[b.prefix,b.icon]:b.icon;l=a.a.createElement(i.default,{style:Z()(Z()({},o),{},{verticalAlign:0}),component:()=>a.a.createElement(K.FontAwesomeIcon,{icon:k,className:Q.faIcon}),onClick:d,className:v,"data-icon":b.icon})}if("easyops"===b.lib&&(l=a.a.createElement(i.default,{style:o,component:()=>a.a.createElement(Y.BrickIcon,{icon:b.icon,category:b.category}),onClick:d,className:v,"data-icon":b.icon})),J(b.color)){var x;switch(null===(e=b.color)||void 0===e?void 0:e.direction){case"left-to-right":x={x1:"0",y1:"0",x2:"1",y2:"0"};break;case"top-to-bottom":default:x={x1:"0",y1:"0",x2:"0",y2:"1"}}l=a.a.createElement(a.a.Fragment,null,l,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)},x),"`",a.a.createElement("stop",{offset:"0%",stopColor:b.color.startColor}),a.a.createElement("stop",{offset:"100%",stopColor:b.color.endColor})))),a.a.createElement("style",null,".".concat(v," svg path {\n fill: url(#linearGradient-").concat(v,");\n }"))))}t&&(l=a.a.createElement(X.Avatar,{icon:l,size:null!=n?n:"default",shape:null!==(y=r)&&void 0!==y?y:"circle",style:Z()(Z()({},J(b.color)?{backgroundColor:"#fff"}:{}),o),className:c()({[Q.roundSquareBg]:"round-square"===r})}))}return l},[t,m,d,l,r,s,n,u])}var ee=n(18),te={insert:"head",singleton:!1},ne=(u()(ee.a,te),ee.a.locals||{});function re({type:e,children:t}){return a.a.createElement("div",{className:c()(ne.baseButton,ne[e])},t)}function oe({isMoreButton:e}){return a.a.createElement(a.a.Fragment,null,a.a.createElement(re,null,e?a.a.createElement(i.EllipsisOutlined,null):a.a.createElement(a.a.Fragment,null,a.a.createElement(i.SettingOutlined,{style:{marginRight:5}})," 管理"," ",a.a.createElement(i.DownOutlined,{style:{marginLeft:5}}))))}customElements.define("basic-bricks.general-custom-buttons--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{customButtons:n,isMoreButton:r,alignment:o="center"}=t.$$parsedProperties,i=Array.isArray(n)&&n.some(e=>e.isDropdown);return a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:ne.customContainer,style:{justifyContent:o}},Object(H.isEmpty)(n)?a.a.createElement(re,null,t.alias):Array.isArray(n)?n.filter(e=>!e.isDropdown).map((e,t)=>a.a.createElement(re,{key:t,type:e.buttonType},e.icon&&a.a.createElement(W,{icon:"string"==typeof e.icon?{lib:"antd",icon:e.icon}:e.icon,style:{marginRight:5}}),e.text)):a.a.createElement(re,null,"<% … %>"),i&&a.a.createElement(oe,{isMoreButton:r})))}),{selfLayout:d.EditorSelfLayout.BLOCK}));var ae=n(22),ie={insert:"head",singleton:!1},le=(u()(ae.a,ie),ae.a.locals||{});customElements.define("basic-bricks.easy-view--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t,n,r=Object(d.useBuilderNode)({nodeUid:e}),o=Object(d.useOutlineEnabled)(r.instanceId),{gridAreas:i,gridTemplateAreas:l,gridTemplateColumns:s,gridTemplateRows:u,containerStyle:m,styleByAreas:p}=r.$$parsedProperties,f=Object(d.useBuilderGroupedChildNodes)({nodeUid:e}),b=i?Object.keys(i):Array.from(new Set(null!==(t=null==l||null===(n=l.flat)||void 0===n?void 0:n.call(l))&&void 0!==t?t:[])).filter(e=>"."!==e),g=Object(H.pick)(m,["gap","gridGap"]);return a.a.createElement(d.EditorContainer,{nodeUid:e,type:d.EditorBrickType.TRANSPARENT_CONTAINER,editorContainerStyle:{height:"100%",minHeight:"100%"},editorBodyStyle:{height:"100%",minHeight:"100%",display:"flex",flexDirection:"column"}},a.a.createElement("div",{className:c()(le.wrapper,{[le.outlineEnabled]:o,[le.empty]:0===b.length}),style:Z()({gridTemplateAreas:null==l?void 0:l.map(e=>'"'.concat(e.join(" "),'"')).join(" "),gridTemplateColumns:Array.isArray(s)?s.join(" "):s,gridTemplateRows:Array.isArray(u)?u.join(" "):u},g)},b.map(t=>{var n;return a.a.createElement("div",{className:c()(le.areaContainer,{[le.empty]:!((null===(n=f.find(e=>e.mountPoint===t))||void 0===n?void 0:n.childNodes.length)>0)}),key:t,style:Z()({gridArea:i?i[t].join(" / "):t},null==p?void 0:p[t]),"data-area-id":t},a.a.createElement(d.SlotContainer,{nodeUid:e,slotName:t,slotContainerStyle:{height:"100%",minHeight:"100%"},dropZoneStyle:{height:"100%",minHeight:"100%"}}))})))}),{brickStyle:{height:"100%",minHeight:"100%"},selfLayout:d.EditorSelfLayout.CONTAINER}));var ce=n(23),de={insert:"head",singleton:!1},se=(u()(ce.a,de),ce.a.locals||{});customElements.define("basic-bricks.page-title--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){var t=Object(d.useBuilderNode)({nodeUid:e}),{pageTitle:n}=t.$$parsedProperties,r=Object(y.smartDisplayForEvaluableString)(n,"","<% … %>");return a.a.createElement(d.EditorContainer,{nodeUid:e},r?a.a.createElement("div",{className:se.pageTitle},r):a.a.createElement("div",{className:"".concat(se.pageTitle," ").concat(se.untitled)},"Untitled Page"))}),{selfLayout:d.EditorSelfLayout.INLINE}));var ue=n(24),me={insert:"head",singleton:!1},pe=(u()(ue.a,me),ue.a.locals||{});customElements.define("basic-bricks.list-container--editor",Object(d.EditorElementFactory)((function({nodeUid:e}){return Object(d.useBuilderNode)({nodeUid:e}),a.a.createElement(d.EditorContainer,{nodeUid:e},a.a.createElement("div",{className:pe.listContainer},Object(H.range)(0,3).map((e,t)=>a.a.createElement("div",{key:t,className:pe.content}))))}),{selfLayout:d.EditorSelfLayout.BLOCK}))}]);
|
|
2
|
-
//# sourceMappingURL=editors.fd61edf4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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/classnames/index.js from dll-reference dll","webpack:///delegated ./node_modules/lodash/lodash.js from dll-reference DllOfEditorBricksHelper","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:///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/any-brick/any-brick.editor.tsx","webpack:///./bricks/basic-bricks/src/editor-bricks/any-brick/any-brick.editor.module.css?4dae","webpack:///./bricks/basic-bricks/src/editor-bricks/any-route/any-route.editor.module.css?bd10","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?5851","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?51e4","webpack:///./bricks/basic-bricks/src/editor-bricks/general-card/general-card.editor.module.css?6fe2","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?9e5d","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?882d","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/dist/esm/utils/getColor.js","webpack:///./node_modules/@next-libs/basic-components/dist/esm/GeneralIcon.module.css?55f1","webpack:///./node_modules/@next-libs/basic-components/dist/esm/GeneralIcon.js","webpack:///./bricks/basic-bricks/src/editor-bricks/general-custom-buttons/general-custom-buttons.editor.module.css?d362","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?194c","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?5d5c","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?e1e1","webpack:///./bricks/basic-bricks/src/editor-bricks/list-container/list-container.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","useSourceMap","this","map","content","cssMapping","sourceMapping","base64","data","sourceURLs","sources","source","sourceRoot","cssWithMappingToString","mediaQuery","dedupe","alreadyImportedModules","dll","DllOfEditorBricksHelper","___CSS_LOADER_EXPORT___","locals","DisplayType","customElements","define","EditorElementFactory","nodeUid","icon","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","_COLORS_MAP","isGradientColor","startColor","endColor","GeneralIcon","_icon","size","shape","reverseBgColor","onClick","showEmptyIcon","memoizedIcon","ref","current","useDeepEqualMemo","getStyle","mergedStyle","backgroundColor","getDefaultIcon","iconNode","_ref","component","category","roundSquareBg","_icon$color","Fragment","src","imgSrc","width","imgStyle","_icon2","_icon3","assign","_ref2","generalIconId","iconType","lib","theme","faIcon","prefix","verticalAlign","gradientIconDirection","direction","x1","y1","x2","y2","position","focusable","offset","stopColor","BaseButton","children","baseButton","DropdownBtn","isMoreButton","marginRight","marginLeft","customButtons","alignment","hasDropdown","Array","isArray","some","isDropdown","customContainer","isEmpty","text","outlineEnabled","useOutlineEnabled","instanceId","gridAreas","gridTemplateAreas","gridTemplateRows","containerStyle","styleByAreas","childNodesByMountPoint","useBuilderGroupedChildNodes","areas","from","flat","area","pickedContainerStyle","pick","classnames","empty","row","areaContainer","find","group","gridArea","data-area-id","listContainer","range","_"],"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,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST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,WAAYC,mBAAiByD","file":"editors.fd61edf4.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 = \"bricks/basic-bricks/dist/editors/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 28);\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 (useSourceMap) {\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, useSourceMap);\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};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","module.exports = (__webpack_require__(10))(\"A+yw\");","module.exports = (__webpack_require__(9))(\"RBnf\");","module.exports = (__webpack_require__(9))(\"TSYQ\");","module.exports = (__webpack_require__(10))(\"LvDl\");","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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\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___(false);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".listContainer--38Cgc9lu {\\n display: flex;\\n grid-gap: 8px;\\n gap: 8px;\\n border: 1px solid var(--editor-brick-stroke-color);\\n border-radius: var(--editor-brick-border-radius);\\n padding: var(--editor-brick-gap);\\n}\\n\\n .listContainer--38Cgc9lu .content--3IPE43Rx {\\n flex: 1;\\n height: 60px;\\n border-radius: var(--editor-brick-border-radius);\\n background: var(--editor-brick-skeleton-bg-light);\\n }\\n\", \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"listContainer\": \"listContainer--38Cgc9lu\",\n\t\"content\": \"content--3IPE43Rx\"\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\");","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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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 var Colors;\n\n(function (Colors) {\n Colors[\"green\"] = \"green\";\n Colors[\"red\"] = \"red\";\n Colors[\"blue\"] = \"blue\";\n Colors[\"orange\"] = \"orange\";\n Colors[\"cyan\"] = \"cyan\";\n Colors[\"purple\"] = \"purple\";\n Colors[\"geekblue\"] = \"geekblue\";\n Colors[\"gray\"] = \"gray\";\n})(Colors || (Colors = {}));\n\nexport var COLORS_MAP = {\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 * 如果提供的颜色值是平台提供的规范颜色,则转换为使用平台规范的颜色定义,包括color、background、borderColor,不是的话则原样输出。\n * @param color {string} 颜色值\n * @return {color:string;background:string;borderColor:string;} 返回处理后的对应颜色值\n */\n\nexport function getColor(color) {\n var _COLORS_MAP;\n\n return (_COLORS_MAP = COLORS_MAP[color]) !== null && _COLORS_MAP !== void 0 ? _COLORS_MAP : {\n color,\n background: color,\n borderColor: color\n };\n}","import api from \"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../css-loader/dist/cjs.js??ref--13-1!../../../../postcss-loader/src/index.js??postcss!./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 _extends from \"@babel/runtime/helpers/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport React, { useMemo, useRef } from \"react\";\nimport { Icon as LegacyIcon } from \"@ant-design/compatible\";\nimport Icon from \"@ant-design/icons\";\nimport { Avatar } from \"antd\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { BrickIcon } from \"@next-core/brick-icons\";\nimport { COLORS_MAP, getColor } from \"./utils/getColor\";\nimport classnames from \"classnames\";\nimport cssStyle from \"./GeneralIcon.module.css\";\nimport { isEqual, uniqueId } from \"lodash\";\n\nfunction isGradientColor(color) {\n return color !== undefined && (color === null || color === void 0 ? void 0 : color.startColor) !== undefined && (color === null || color === void 0 ? void 0 : color.endColor) !== undefined;\n}\n\nexport function GeneralIcon({\n icon: _icon,\n bg,\n size,\n shape,\n reverseBgColor,\n onClick,\n showEmptyIcon,\n style\n}) {\n var memoizedIcon = useDeepEqualMemo(_icon);\n\n var getStyle = icon => {\n var mergedStyle;\n\n if (icon !== null && icon !== void 0 && icon.color) {\n if (!isGradientColor(icon.color)) {\n if (bg) {\n if (COLORS_MAP[icon.color]) {\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] ? getColor(icon.color).color : icon.color\n };\n }\n } else {\n mergedStyle = {\n color: \"transparent\"\n };\n }\n }\n\n return mergedStyle;\n };\n\n var getDefaultIcon = (bg, mergedStyle, iconNode) => {\n var _ref;\n\n return bg ? /*#__PURE__*/React.createElement(Avatar, {\n icon: showEmptyIcon ? /*#__PURE__*/React.createElement(Icon, {\n style: mergedStyle,\n component: () => /*#__PURE__*/React.createElement(BrickIcon, {\n icon: \"empty-icon\",\n category: \"common\"\n }),\n onClick: onClick\n }) : iconNode,\n size: size !== null && size !== void 0 ? size : \"default\",\n shape: (_ref = shape) !== null && _ref !== void 0 ? _ref : \"circle\",\n style: mergedStyle,\n className: classnames({\n [cssStyle.roundSquareBg]: shape === \"round-square\"\n })\n }) : iconNode;\n };\n\n return useMemo(() => {\n var _icon$color;\n\n var iconNode = /*#__PURE__*/React.createElement(React.Fragment, null);\n var icon = memoizedIcon;\n if (typeof icon === \"number\" || typeof icon === \"string\") return iconNode;\n if (!icon) icon = {};\n var mergedStyle;\n\n if (\"imgSrc\" in icon) {\n iconNode = /*#__PURE__*/React.createElement(\"img\", {\n src: icon.imgSrc,\n width: size,\n height: size,\n style: icon.imgStyle,\n onClick: onClick\n });\n } else if (\"lib\" in icon) {\n var _icon2, _icon3;\n\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 var generalIconId = uniqueId(\"generalIcon\");\n var iconType = ((_icon2 = icon) === null || _icon2 === void 0 ? void 0 : _icon2.icon) || ((_icon3 = icon) === null || _icon3 === void 0 ? void 0 : _icon3.type);\n\n if (!icon || !iconType && showEmptyIcon) {\n return getDefaultIcon(bg, mergedStyle, iconNode);\n }\n\n if (icon.lib === \"antd\") {\n var type = icon.icon || icon.type;\n iconNode = /*#__PURE__*/React.createElement(LegacyIcon, {\n type: type,\n theme: icon.theme,\n style: mergedStyle,\n onClick: onClick,\n className: generalIconId,\n \"data-icon\": icon.icon || icon.type\n });\n }\n\n if (icon.lib === \"fa\") {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n var faIcon = icon.prefix ? [icon.prefix, icon.icon] : icon.icon;\n iconNode = /*#__PURE__*/React.createElement(Icon, {\n style: _objectSpread(_objectSpread({}, mergedStyle), {}, {\n verticalAlign: 0\n }),\n component: () =>\n /*#__PURE__*/\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n React.createElement(FontAwesomeIcon, {\n icon: faIcon,\n className: cssStyle.faIcon\n }),\n onClick: onClick,\n className: generalIconId,\n \"data-icon\": icon.icon\n });\n }\n\n if (icon.lib === \"easyops\") {\n iconNode = /*#__PURE__*/React.createElement(Icon, {\n style: mergedStyle,\n component: () => /*#__PURE__*/React.createElement(BrickIcon, {\n icon: icon.icon,\n category: icon.category\n }),\n onClick: onClick,\n className: generalIconId,\n \"data-icon\": icon.icon\n });\n }\n\n if (isGradientColor(icon.color)) {\n var gradientIconDirection;\n\n switch ((_icon$color = icon.color) === null || _icon$color === void 0 ? void 0 : _icon$color.direction) {\n case \"left-to-right\":\n gradientIconDirection = {\n x1: \"0\",\n y1: \"0\",\n x2: \"1\",\n y2: \"0\"\n };\n break;\n\n case \"top-to-bottom\":\n default:\n gradientIconDirection = {\n x1: \"0\",\n y1: \"0\",\n x2: \"0\",\n y2: \"1\"\n };\n }\n\n iconNode = /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"div\", {\n style: {\n position: \"absolute\"\n }\n }, /*#__PURE__*/React.createElement(\"svg\", {\n width: \"0\",\n height: \"0\",\n \"aria-hidden\": true,\n focusable: false\n }, /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", _extends({\n id: \"linearGradient-\".concat(generalIconId)\n }, gradientIconDirection), \"`\", /*#__PURE__*/React.createElement(\"stop\", {\n offset: \"0%\",\n stopColor: icon.color.startColor\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: \"100%\",\n stopColor: icon.color.endColor\n })))), /*#__PURE__*/React.createElement(\"style\", null, \".\".concat(generalIconId, \" svg path {\\n fill: url(#linearGradient-\").concat(generalIconId, \");\\n }\"))));\n }\n\n if (bg) {\n var _ref2;\n\n iconNode = /*#__PURE__*/React.createElement(Avatar, {\n icon: iconNode,\n size: size !== null && size !== void 0 ? size : \"default\",\n shape: (_ref2 = shape) !== null && _ref2 !== void 0 ? _ref2 : \"circle\",\n style: _objectSpread(_objectSpread({}, isGradientColor(icon.color) ? {\n backgroundColor: \"#fff\"\n } : {}), mergedStyle),\n className: classnames({\n [cssStyle.roundSquareBg]: shape === \"round-square\"\n })\n });\n }\n } else {\n return getDefaultIcon(bg, getStyle(icon), iconNode);\n }\n\n return iconNode;\n }, [bg, memoizedIcon, onClick, reverseBgColor, shape, showEmptyIcon, size, style]);\n} // Use deepEqual to compare icons, to avoid flicker of easyops icon.\n\nfunction useDeepEqualMemo(value) {\n var ref = useRef(undefined);\n\n if (!isEqual(ref.current, value)) {\n ref.current = value;\n }\n\n return ref.current;\n}","import api from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ref--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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} 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 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 }}\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 />\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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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--13-1!../../../../../node_modules/postcss-loader/src/index.js??postcss!./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"],"sourceRoot":""}
|