@next-core/brick-container 2.71.3 → 2.71.6
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 +27 -0
- package/dist/{dll.a8996120.js → dll.877d5e61.js} +4 -4
- package/dist/{dll.a8996120.js.map → dll.877d5e61.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.89889f1963d587de2d01.js → main.88d0cea179ea4b0e8ae3.js} +2 -2
- package/dist/{main.89889f1963d587de2d01.js.map → main.88d0cea179ea4b0e8ae3.js.map} +1 -1
- package/package.json +9 -9
- package/serve/getEnv.js +35 -3
- package/serve/getProxies.js +9 -6
- package/serve/serve.js +20 -16
- package/serve/serveLocal.js +3 -4
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"><title>DevOps 管理专家</title><base href="<!--# echo var='base_href' default='/' -->"><link rel="shortcut icon" type="image/png" href="<!--# echo var='core_root' default='' -->assets/favicon.png"/><script>(!("documentMode" in document)&&CSS.supports("display","grid")&&window.customElements)||(location.href="<!--# echo var='base_href' default='/' -->browse-happy.html")</script><script>window.MOCK_DATE="<!--# echo var='mock_date' default='' -->";window.PUBLIC_ROOT=window.CORE_ROOT=window.PUBLIC_CDN="<!--# echo var='public_cdn' default='' -->";</script><link href="<!--# echo var='core_root' default='' -->main.ff879573b246ce8c2273.css" rel="stylesheet"></head><body><div id="root-layout"><nav id="menu-bar-mount-point" class="print-hide"></nav><div id="root-content"><header id="app-bar-mount-point" class="print-hide"></header><div id="main-mount-point"></div><div id="legacy-iframe-mount-point"></div></div><div id="loading-bar-mount-point"><div class="global-loading-bar initial-loading-bar"><div></div></div></div></div><div id="bg-mount-point"></div><div id="portal-mount-point"></div><script src="<!--# echo var='core_root' default='' -->dll.
|
|
1
|
+
<!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"><title>DevOps 管理专家</title><base href="<!--# echo var='base_href' default='/' -->"><link rel="shortcut icon" type="image/png" href="<!--# echo var='core_root' default='' -->assets/favicon.png"/><script>(!("documentMode" in document)&&CSS.supports("display","grid")&&window.customElements)||(location.href="<!--# echo var='base_href' default='/' -->browse-happy.html")</script><script>window.MOCK_DATE="<!--# echo var='mock_date' default='' -->";window.PUBLIC_ROOT=window.CORE_ROOT=window.PUBLIC_CDN="<!--# echo var='public_cdn' default='' -->";</script><link href="<!--# echo var='core_root' default='' -->main.ff879573b246ce8c2273.css" rel="stylesheet"></head><body><div id="root-layout"><nav id="menu-bar-mount-point" class="print-hide"></nav><div id="root-content"><header id="app-bar-mount-point" class="print-hide"></header><div id="main-mount-point"></div><div id="legacy-iframe-mount-point"></div></div><div id="loading-bar-mount-point"><div class="global-loading-bar initial-loading-bar"><div></div></div></div></div><div id="bg-mount-point"></div><div id="portal-mount-point"></div><script src="<!--# echo var='core_root' default='' -->dll.877d5e61.js"></script><script src="<!--# echo var='core_root' default='' -->polyfill.f257e611b86e1c02a39d.js"></script><script src="<!--# echo var='core_root' default='' -->main.88d0cea179ea4b0e8ae3.js"></script></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e){function t(t){for(var o,r,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&c.push(n[r][0]),n[r]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(s&&s(t);c.length;)c.shift()()}var o={},n={0:0};function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],o=n[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((function(t,r){o=n[e]=[t,r]}));t.push(o[2]=i);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.src=function(e){return r.p+""+({1:"mockdate"}[e]||e)+"."+{1:"59f45d37e8dce0f31118"}[e]+".js"}(e);var s=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(c);var o=n[e];if(0!==o){if(o){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,o[1](s)}n[e]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},r.m=e,r.c=o,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var s=a;r(r.s="GR0M")}({"1OyB":function(e,t,o){e.exports=o("XuQu")("1OyB")},"3tO9":function(e,t,o){e.exports=o("XuQu")("3tO9")},"9RIe":function(e,t,o){e.exports=o("XuQu")("9RIe")},"9kay":function(e,t,o){e.exports=o("XuQu")("9kay")},GR0M:function(e,t,o){"use strict";o.r(t);var n=o("yXPU"),r=o.n(n),i=o("3tO9"),a=o.n(i),u=o("wd/R"),s=o.n(u),c=(o("XDpg"),o("q1tI")),l=o.n(c),d=o("i8i4"),p=o.n(d),f=o("gdfu"),g=o("tYg3"),h=o("JxWY"),v=o("9RIe"),m=o("vA6H");f.message.config({top:40});var w=o("XzT5"),y=o("9kay"),k=o("1OyB"),b=o("vuIU"),S=[],x=S.forEach,O=S.slice;function E(e){return x.call(O.call(arguments,1),(function(t){if(t)for(var o in t)void 0===e[o]&&(e[o]=t[o])})),e}var I=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,R=function(e,t,o){var n=o||{};n.path=n.path||"/";var r=e+"="+encodeURIComponent(t);if(n.maxAge>0){var i=n.maxAge-0;if(isNaN(i))throw new Error("maxAge should be a Number");r+="; Max-Age="+Math.floor(i)}if(n.domain){if(!I.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain="+n.domain}if(n.path){if(!I.test(n.path))throw new TypeError("option path is invalid");r+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r},T=function(e,t,o,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};o&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*o*1e3)),n&&(r.domain=n),document.cookie=R(e,encodeURIComponent(t),r)},A=function(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},L={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var o=A(e.lookupCookie);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&T(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},P={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(o=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=o.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");if(i>0)n[r].substring(0,i)===e.lookupQuerystring&&(t=n[r].substring(i+1))}}return t}},C=null,X=function(){if(null!==C)return C;try{C="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){C=!1}return C},j={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&X()){var o=window.localStorage.getItem(e.lookupLocalStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&X()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},D=null,_=function(){if(null!==D)return D;try{D="undefined"!==window&&null!==window.sessionStorage;window.sessionStorage.setItem("i18next.translate.boo","foo"),window.sessionStorage.removeItem("i18next.translate.boo")}catch(e){D=!1}return D},B={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&_()){var o=window.sessionStorage.getItem(e.lookupSessionStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&_()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},U={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var o=0;o<navigator.languages.length;o++)t.push(navigator.languages[o]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Q={name:"htmlTag",lookup:function(e){var t,o=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return o&&"function"==typeof o.getAttribute&&(t=o.getAttribute("lang")),t}},q={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(o instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof o[e.lookupFromPathIndex])return;t=o[e.lookupFromPathIndex].replace("/","")}else t=o[0].replace("/","")}return t}},M={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);o instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?o[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):o[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var F=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(k.default)(this,e),this.type="languageDetector",this.detectors={},this.init(t,o)}return Object(b.default)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=E(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(L),this.addDetector(P),this.addDetector(j),this.addDetector(B),this.addDetector(U),this.addDetector(Q),this.addDetector(q),this.addDetector(M)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var o=[];return e.forEach((function(e){if(t.detectors[e]){var n=t.detectors[e].lookup(t.options);n&&"string"==typeof n&&(n=[n]),n&&(o=o.concat(n))}})),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var o=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){o.detectors[t]&&o.detectors[t].cacheUserLanguage(e,o.options)})))}}]),e}();F.type="languageDetector";var N;!function(e){e.BOOTSTRAP_ERROR="BOOTSTRAP_ERROR"}(N||(N={}));var z={[N.BOOTSTRAP_ERROR]:"Bootstrap Error"},H={[N.BOOTSTRAP_ERROR]:"启动错误"};w.default.on("languageChanged",(function(e){s.a.locale(e)})),w.default.use(F).use(y.initReactI18next).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{en:{"brick-container":z},zh:{"brick-container":H}}}),Object(g.initI18n)();var J=w.default;Object(v.initializeLibrary)(),window.DLL_PATH={ace:"dll-of-ace.1d453681.js",d3:"dll-of-d3.1991969b.js",echarts:"dll-of-echarts.d885e687.js","editor-bricks-helper":"dll-of-editor-bricks-helper.920e826d.js","react-dnd":"dll-of-react-dnd.0ca00465.js"},window.BRICK_NEXT_VERSIONS={"brick-container":"2.71.3","brick-dll":"2.33.8","brick-kit":"2.127.3","brick-utils":"2.38.1"},window.BRICK_NEXT_FEATURES=["edit-evaluations-and-transformations-in-devtools"];var Y,K=document.body,W=Object(g.createRuntime)(),G={menuBar:K.querySelector("#menu-bar-mount-point"),appBar:K.querySelector("#app-bar-mount-point"),loadingBar:K.querySelector("#loading-bar-mount-point"),main:K.querySelector("#main-mount-point"),bg:K.querySelector("#bg-mount-point"),portal:K.querySelector("#portal-mount-point")};if(!window.STANDALONE_MICRO_APPS){var V="".concat(W.getBasePath(),"api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat");Y=m.apiAnalyzer.create({api:V})}h.http.interceptors.request.use((function(e){var t,o=new Headers((null===(t=e.options)||void 0===t?void 0:t.headers)||{});o.set("lang",J.resolvedLanguage);var n=Object(g.getMockInfo)(e.url,e.method);return n&&(e.url=n.url,o.set("easyops-mock-id",n.mockId)),a()(a()({},e),{},{options:a()(a()({},e.options),{},{headers:o})})})),h.http.interceptors.request.use((function(e){var t,o;if(Y){var{userInstanceId:n,username:r}=Object(g.getAuth)(),i=Date.now();e.meta={st:i,time:Math.round(i/1e3),uid:n,username:r}}return null!==(t=e.options)&&void 0!==t&&null!==(o=t.interceptorParams)&&void 0!==o&&o.ignoreLoadingBar||window.dispatchEvent(new CustomEvent("request.start")),e})),h.http.interceptors.response.use((function(e){var t,o;return window.dispatchEvent(new CustomEvent("request.end")),null===(t=Y)||void 0===t||t.analyses(e),"response"===(null===(o=e.config.options)||void 0===o?void 0:o.observe)?e:e.data}),(function(e){var t;return null===(t=Y)||void 0===t||t.analyses(e),window.dispatchEvent(new CustomEvent("request.end")),Promise.reject(e.error)}));var $,Z,ee="loading",te=!1;function oe(){return ne.apply(this,arguments)}function ne(){return(ne=r()((function*(){if(!te&&"ok"===ee&&$){te=!0;var e=/^https?:\/\/localhost(?:$|:)/,t=$===location.origin||e.test($)||e.test(location.origin);if(!t){var{allowedPreviewFromOrigins:o}=W.getMiscSettings();Array.isArray(o)&&(t=o.some(e=>e===$)),t||console.error("Preview is disallowed, from origin: ".concat($,", while allowing: ").concat(JSON.stringify(o)))}if(t){if(yield g.developHelper.loadDynamicBricksInBrickConf({brick:"next-previewer.preview-helper"}),customElements.get("next-previewer.preview-helper"))document.createElement("next-previewer.preview-helper").start($,Z)}}}))).apply(this,arguments)}if(window.parent){var re=function(){var e=r()((function*(e){var{data:t,origin:o}=e;t&&"preview-container"===t.sender&&"start-preview"===t.type&&(window.removeEventListener("message",re),$=o,Z=t.options,h.http.enableCache(!0),h.http.on("match-api-cache",e=>{window.parent.postMessage({type:"match-api-cache",sender:"previewer",forwardedFor:"builder",num:e},o)}),oe())}));return function(t){return e.apply(this,arguments)}}();window.addEventListener("message",re)}function ie(){return(ie=r()((function*(){try{if(window.MOCK_DATE){var{set:e}=yield o.e(1).then(o.t.bind(null,"xKHS",7));e(window.MOCK_DATE)}yield W.bootstrap(G),ee="ok"}catch(e){ee="failed",console.error(e),document.body.classList.add("bootstrap-error","bars-hidden"),p.a.render(l.a.createElement(f.Result,{status:"error",title:J.t("".concat("brick-container",":").concat(N.BOOTSTRAP_ERROR)),subTitle:Object(g.httpErrorToString)(e)}),G.main)}oe()}))).apply(this,arguments)}!function(){ie.apply(this,arguments)}()},JxWY:function(e,t,o){e.exports=o("XuQu")("JxWY")},XDpg:function(e,t,o){e.exports=o("XuQu")("XDpg")},XuQu:function(e,t){e.exports=dll},XzT5:function(e,t,o){e.exports=o("XuQu")("XzT5")},gdfu:function(e,t,o){e.exports=o("XuQu")("gdfu")},i8i4:function(e,t,o){e.exports=o("XuQu")("i8i4")},q1tI:function(e,t,o){e.exports=o("XuQu")("q1tI")},tYg3:function(e,t,o){e.exports=o("XuQu")("tYg3")},vA6H:function(e,t,o){e.exports=o("XuQu")("vA6H")},vuIU:function(e,t,o){e.exports=o("XuQu")("vuIU")},"wd/R":function(e,t,o){e.exports=o("XuQu")("wd/R")},yXPU:function(e,t,o){e.exports=o("XuQu")("yXPU")}});
|
|
2
|
-
//# sourceMappingURL=main.
|
|
1
|
+
!function(e){function t(t){for(var o,r,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&c.push(n[r][0]),n[r]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(s&&s(t);c.length;)c.shift()()}var o={},n={0:0};function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],o=n[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((function(t,r){o=n[e]=[t,r]}));t.push(o[2]=i);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.src=function(e){return r.p+""+({1:"mockdate"}[e]||e)+"."+{1:"59f45d37e8dce0f31118"}[e]+".js"}(e);var s=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(c);var o=n[e];if(0!==o){if(o){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,o[1](s)}n[e]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},r.m=e,r.c=o,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var s=a;r(r.s="GR0M")}({"1OyB":function(e,t,o){e.exports=o("XuQu")("1OyB")},"3tO9":function(e,t,o){e.exports=o("XuQu")("3tO9")},"9RIe":function(e,t,o){e.exports=o("XuQu")("9RIe")},"9kay":function(e,t,o){e.exports=o("XuQu")("9kay")},GR0M:function(e,t,o){"use strict";o.r(t);var n=o("yXPU"),r=o.n(n),i=o("3tO9"),a=o.n(i),u=o("wd/R"),s=o.n(u),c=(o("XDpg"),o("q1tI")),l=o.n(c),d=o("i8i4"),p=o.n(d),f=o("gdfu"),g=o("tYg3"),h=o("JxWY"),v=o("9RIe"),m=o("vA6H");f.message.config({top:40});var w=o("XzT5"),y=o("9kay"),k=o("1OyB"),b=o("vuIU"),S=[],x=S.forEach,O=S.slice;function E(e){return x.call(O.call(arguments,1),(function(t){if(t)for(var o in t)void 0===e[o]&&(e[o]=t[o])})),e}var I=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,R=function(e,t,o){var n=o||{};n.path=n.path||"/";var r=e+"="+encodeURIComponent(t);if(n.maxAge>0){var i=n.maxAge-0;if(isNaN(i))throw new Error("maxAge should be a Number");r+="; Max-Age="+Math.floor(i)}if(n.domain){if(!I.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain="+n.domain}if(n.path){if(!I.test(n.path))throw new TypeError("option path is invalid");r+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r},T=function(e,t,o,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};o&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*o*1e3)),n&&(r.domain=n),document.cookie=R(e,encodeURIComponent(t),r)},A=function(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var r=o[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return null},L={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var o=A(e.lookupCookie);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&T(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},P={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(o=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=o.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");if(i>0)n[r].substring(0,i)===e.lookupQuerystring&&(t=n[r].substring(i+1))}}return t}},C=null,X=function(){if(null!==C)return C;try{C="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){C=!1}return C},j={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&X()){var o=window.localStorage.getItem(e.lookupLocalStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&X()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},D=null,_=function(){if(null!==D)return D;try{D="undefined"!==window&&null!==window.sessionStorage;window.sessionStorage.setItem("i18next.translate.boo","foo"),window.sessionStorage.removeItem("i18next.translate.boo")}catch(e){D=!1}return D},B={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&_()){var o=window.sessionStorage.getItem(e.lookupSessionStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&_()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},U={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var o=0;o<navigator.languages.length;o++)t.push(navigator.languages[o]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Q={name:"htmlTag",lookup:function(e){var t,o=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return o&&"function"==typeof o.getAttribute&&(t=o.getAttribute("lang")),t}},q={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(o instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof o[e.lookupFromPathIndex])return;t=o[e.lookupFromPathIndex].replace("/","")}else t=o[0].replace("/","")}return t}},M={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var o=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);o instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?o[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):o[0].replace("http://","").replace("https://","").replace(".",""))}return t}};var F=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(k.default)(this,e),this.type="languageDetector",this.detectors={},this.init(t,o)}return Object(b.default)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=E(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(L),this.addDetector(P),this.addDetector(j),this.addDetector(B),this.addDetector(U),this.addDetector(Q),this.addDetector(q),this.addDetector(M)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var o=[];return e.forEach((function(e){if(t.detectors[e]){var n=t.detectors[e].lookup(t.options);n&&"string"==typeof n&&(n=[n]),n&&(o=o.concat(n))}})),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var o=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){o.detectors[t]&&o.detectors[t].cacheUserLanguage(e,o.options)})))}}]),e}();F.type="languageDetector";var N;!function(e){e.BOOTSTRAP_ERROR="BOOTSTRAP_ERROR"}(N||(N={}));var z={[N.BOOTSTRAP_ERROR]:"Bootstrap Error"},H={[N.BOOTSTRAP_ERROR]:"启动错误"};w.default.on("languageChanged",(function(e){s.a.locale(e)})),w.default.use(F).use(y.initReactI18next).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{en:{"brick-container":z},zh:{"brick-container":H}}}),Object(g.initI18n)();var J=w.default;Object(v.initializeLibrary)(),window.DLL_PATH={ace:"dll-of-ace.1d453681.js",d3:"dll-of-d3.1991969b.js",echarts:"dll-of-echarts.d885e687.js","editor-bricks-helper":"dll-of-editor-bricks-helper.920e826d.js","react-dnd":"dll-of-react-dnd.0ca00465.js"},window.BRICK_NEXT_VERSIONS={"brick-container":"2.71.6","brick-dll":"2.33.11","brick-kit":"2.128.1","brick-utils":"2.38.1"},window.BRICK_NEXT_FEATURES=["edit-evaluations-and-transformations-in-devtools"];var Y,K=document.body,W=Object(g.createRuntime)(),G={menuBar:K.querySelector("#menu-bar-mount-point"),appBar:K.querySelector("#app-bar-mount-point"),loadingBar:K.querySelector("#loading-bar-mount-point"),main:K.querySelector("#main-mount-point"),bg:K.querySelector("#bg-mount-point"),portal:K.querySelector("#portal-mount-point")};if(!window.STANDALONE_MICRO_APPS){var V="".concat(W.getBasePath(),"api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat");Y=m.apiAnalyzer.create({api:V})}h.http.interceptors.request.use((function(e){var t,o=new Headers((null===(t=e.options)||void 0===t?void 0:t.headers)||{});o.set("lang",J.resolvedLanguage);var n=Object(g.getMockInfo)(e.url,e.method);return n&&(e.url=n.url,o.set("easyops-mock-id",n.mockId)),a()(a()({},e),{},{options:a()(a()({},e.options),{},{headers:o})})})),h.http.interceptors.request.use((function(e){var t,o;if(Y){var{userInstanceId:n,username:r}=Object(g.getAuth)(),i=Date.now();e.meta={st:i,time:Math.round(i/1e3),uid:n,username:r}}return null!==(t=e.options)&&void 0!==t&&null!==(o=t.interceptorParams)&&void 0!==o&&o.ignoreLoadingBar||window.dispatchEvent(new CustomEvent("request.start")),e})),h.http.interceptors.response.use((function(e){var t,o;return window.dispatchEvent(new CustomEvent("request.end")),null===(t=Y)||void 0===t||t.analyses(e),"response"===(null===(o=e.config.options)||void 0===o?void 0:o.observe)?e:e.data}),(function(e){var t;return null===(t=Y)||void 0===t||t.analyses(e),window.dispatchEvent(new CustomEvent("request.end")),Promise.reject(e.error)}));var $,Z,ee="loading",te=!1;function oe(){return ne.apply(this,arguments)}function ne(){return(ne=r()((function*(){if(!te&&"ok"===ee&&$){te=!0;var e=/^https?:\/\/localhost(?:$|:)/,t=$===location.origin||e.test($)||e.test(location.origin);if(!t){var{allowedPreviewFromOrigins:o}=W.getMiscSettings();Array.isArray(o)&&(t=o.some(e=>e===$)),t||console.error("Preview is disallowed, from origin: ".concat($,", while allowing: ").concat(JSON.stringify(o)))}if(t){if(yield g.developHelper.loadDynamicBricksInBrickConf({brick:"next-previewer.preview-helper"}),customElements.get("next-previewer.preview-helper"))document.createElement("next-previewer.preview-helper").start($,Z)}}}))).apply(this,arguments)}if(window.parent){var re=function(){var e=r()((function*(e){var{data:t,origin:o}=e;t&&"preview-container"===t.sender&&"start-preview"===t.type&&(window.removeEventListener("message",re),$=o,Z=t.options,h.http.enableCache(!0),h.http.on("match-api-cache",e=>{window.parent.postMessage({type:"match-api-cache",sender:"previewer",forwardedFor:"builder",num:e},o)}),oe())}));return function(t){return e.apply(this,arguments)}}();window.addEventListener("message",re)}function ie(){return(ie=r()((function*(){try{if(window.MOCK_DATE){var{set:e}=yield o.e(1).then(o.t.bind(null,"xKHS",7));e(window.MOCK_DATE)}yield W.bootstrap(G),ee="ok"}catch(e){ee="failed",console.error(e),document.body.classList.add("bootstrap-error","bars-hidden"),p.a.render(l.a.createElement(f.Result,{status:"error",title:J.t("".concat("brick-container",":").concat(N.BOOTSTRAP_ERROR)),subTitle:Object(g.httpErrorToString)(e)}),G.main)}oe()}))).apply(this,arguments)}!function(){ie.apply(this,arguments)}()},JxWY:function(e,t,o){e.exports=o("XuQu")("JxWY")},XDpg:function(e,t,o){e.exports=o("XuQu")("XDpg")},XuQu:function(e,t){e.exports=dll},XzT5:function(e,t,o){e.exports=o("XuQu")("XzT5")},gdfu:function(e,t,o){e.exports=o("XuQu")("gdfu")},i8i4:function(e,t,o){e.exports=o("XuQu")("i8i4")},q1tI:function(e,t,o){e.exports=o("XuQu")("q1tI")},tYg3:function(e,t,o){e.exports=o("XuQu")("tYg3")},vA6H:function(e,t,o){e.exports=o("XuQu")("vA6H")},vuIU:function(e,t,o){e.exports=o("XuQu")("vuIU")},"wd/R":function(e,t,o){e.exports=o("XuQu")("wd/R")},yXPU:function(e,t,o){e.exports=o("XuQu")("yXPU")}});
|
|
2
|
+
//# sourceMappingURL=main.88d0cea179ea4b0e8ae3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/objectSpread2.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/fontawesome-library/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/react-i18next/dist/es/index.js from dll-reference dll","webpack:///./packages/brick-container/src/antd.ts","webpack:///./node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js","webpack:///./packages/brick-container/src/i18n/constants.ts","webpack:///./packages/brick-container/src/i18n/locales/en.ts","webpack:///./packages/brick-container/src/i18n/locales/zh.ts","webpack:///./packages/brick-container/src/i18n/index.ts","webpack:///./packages/brick-container/src/index.tsx","webpack:///delegated ./node_modules/@next-core/brick-http/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/moment/locale/zh-cn.js from dll-reference dll","webpack:///external \"dll\"","webpack:///delegated ./node_modules/i18next/dist/esm/i18next.js from dll-reference dll","webpack:///delegated ./node_modules/antd/es/index.js from dll-reference dll","webpack:///delegated ./node_modules/react-dom/index.js from dll-reference dll","webpack:///delegated ./node_modules/react/index.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/brick-kit/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/easyops-analytics/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/esm/createClass.js from dll-reference dll","webpack:///delegated ./node_modules/moment/moment.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/asyncToGenerator.js from dll-reference dll"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","0","__webpack_require__","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","s","config","top","arr","each","forEach","defaults","obj","arguments","source","prop","fieldContentRegExp","serializeCookie","val","options","opt","path","str","encodeURIComponent","maxAge","isNaN","Math","floor","domain","test","TypeError","expires","toUTCString","httpOnly","secure","sameSite","toLowerCase","cookie","minutes","cookieOptions","Date","setTime","getTime","nameEQ","ca","split","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","setItem","removeItem","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","href","lookupFromSubdomainIndex","Browser","services","this","detectors","init","i18nOptions","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","concat","languageUtils","getBestMatchFromCodes","_this2","cacheName","K","locale","BOOTSTRAP_ERROR","i18n","on","moment","use","LanguageDetector","initReactI18next","fallbackLng","debug","process","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","en","zh","initI18n","initializeLibrary","DLL_PATH","BRICK_NEXT_VERSIONS","BRICK_NEXT_FEATURES","analyzer","root","body","runtime","createRuntime","mountPoints","menuBar","querySelector","appBar","loadingBar","main","bg","portal","STANDALONE_MICRO_APPS","api","getBasePath","apiAnalyzer","http","interceptors","headers","Headers","set","resolvedLanguage","mockInfo","getMockInfo","url","method","mockId","userInstanceId","uid","username","getAuth","date","now","meta","st","time","round","interceptorParams","ignoreLoadingBar","dispatchEvent","CustomEvent","response","analyses","observe","previewFromOrigin","previewOptions","bootstrapStatus","previewStarted","startPreview","localhostRegExp","previewAllowed","origin","allowedPreviewFromOrigins","getMiscSettings","isArray","some","JSON","stringify","developHelper","loadDynamicBricksInBrickConf","brick","customElements","start","parent","listener","sender","removeEventListener","enableCache","num","postMessage","forwardedFor","addEventListener","MOCK_DATE","bootstrap","classList","add","ReactDOM","render","status","title","subTitle","httpErrorToString","dll"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GAKAK,EAAI,EAAGC,EAAW,GACpCD,EAAIF,EAASI,OAAQF,IACzBH,EAAUC,EAASE,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBV,IAAYU,EAAgBV,IACpFI,EAASO,KAAKD,EAAgBV,GAAS,IAExCU,EAAgBV,GAAW,EAE5B,IAAID,KAAYG,EACZI,OAAOC,UA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BAAiB,UAAWP,I,6BAGrC,YACE,IACE,GAAI1M,OAAOkN,UAAW,CAEpB,IAAM,IAAEpD,SAAc,qCAItBA,EAAI9J,OAAOkN,iBAGPtE,EAAQuE,UAAUrE,GACxB0C,GAAkB,KAClB,MAAOvP,GACPuP,GAAkB,SAElB1L,QAAQ3C,MAAMlB,GAGdS,SAASiM,KAAKyE,UAAUC,IAAI,kBAAmB,eAE/CC,IAASC,OACP,kBAAC,SAAD,CACEC,OAAO,QACPC,MAAOxG,EAAK/H,EAAL,UJ9NmB,kBI8NnB,YAAgC4H,EAAEE,kBACzC0G,SAAUC,4BAAkB1R,KAE9B6M,EAAYK,MAIhBuC,S,2DAGFyB,I,qBCxOApR,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,mBCA/CE,EAAOD,QAAU8R,K,qBCAjB7R,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,uBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B","file":"main.89889f1963d587de2d01.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + ({\"1\":\"mockdate\"}[chunkId]||chunkId) + \".\" + {\"1\":\"59f45d37e8dce0f31118\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"GR0M\");\n","module.exports = (__webpack_require__(\"XuQu\"))(\"1OyB\");","module.exports = (__webpack_require__(\"XuQu\"))(\"3tO9\");","module.exports = (__webpack_require__(\"XuQu\"))(\"9RIe\");","module.exports = (__webpack_require__(\"XuQu\"))(\"9kay\");","// antd component global configuration\nimport { message } from \"antd\";\n\nmessage.config({\n top: 40\n});\n","import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = name + '=' + value;\n\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n\n case 'lax':\n str += '; SameSite=Lax';\n break;\n\n case 'strict':\n str += '; SameSite=Strict';\n break;\n\n case 'none':\n str += '; SameSite=None';\n break;\n\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n};\n\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = name + '=';\n var ca = document.cookie.split(';');\n\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n\n var query = search.substring(1);\n var params = query.split('&');\n\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\n\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n\n return hasLocalStorageSupport;\n};\n\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\n\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n\n return hasSessionStorageSupport;\n};\n\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var language = window.location.href.match(/(?:http[s]*\\:\\/\\/)*(.*?)\\.(?=[^\\/]*\\..{2,5})/gi);\n\n if (language instanceof Array) {\n if (typeof options.lookupFromSubdomainIndex === 'number') {\n found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');\n } else {\n found = language[0].replace('http://', '').replace('https://', '').replace('.', '');\n }\n }\n }\n\n return found;\n }\n};\n\nfunction getDefaults() {\n return {\n order: ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'] //cookieMinutes: 10,\n //cookieDomain: 'myDomain'\n\n };\n}\n\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Browser);\n\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n\n _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services;\n this.options = defaults(options, this.options || {}, getDefaults()); // backwards compatibility\n\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n\n return Browser;\n}();\n\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n","export const NS_BRICK_CONTAINER = \"brick-container\";\n\nexport enum K {\n BOOTSTRAP_ERROR = \"BOOTSTRAP_ERROR\",\n}\n\nexport type Locale = { [key in K]: string };\n","import { Locale, K } from \"../constants\";\n\nconst locale: Locale = {\n [K.BOOTSTRAP_ERROR]: \"Bootstrap Error\",\n};\n\nexport default locale;\n","import { Locale, K } from \"../constants\";\n\nconst locale: Locale = {\n [K.BOOTSTRAP_ERROR]: \"启动错误\",\n};\n\nexport default locale;\n","import i18n from \"i18next\";\nimport { initReactI18next } from \"react-i18next\";\nimport moment from \"moment\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nimport { initI18n } from \"@next-core/brick-kit\";\n\nimport { NS_BRICK_CONTAINER } from \"./constants\";\nimport en from \"./locales/en\";\nimport zh from \"./locales/zh\";\n\n// I18next is synchronously initialized now,\n// so we listen on language change before initialization.\ni18n.on(\"languageChanged\", function (lng) {\n moment.locale(lng);\n});\n\ni18n\n // learn more: https://github.com/i18next/i18next-xhr-backend\n // .use(Backend)\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(LanguageDetector)\n .use(initReactI18next)\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n fallbackLng: \"zh\",\n /*global process*/\n debug: process.env.NODE_ENV === \"development\",\n supportedLngs: [\"zh\", \"en\"],\n nonExplicitSupportedLngs: true,\n interpolation: {\n escapeValue: false, // not needed for react as it escapes by default\n },\n react: {\n useSuspense: false,\n },\n compatibilityJSON: \"v3\",\n resources: {\n en: {\n [NS_BRICK_CONTAINER]: en,\n },\n zh: {\n [NS_BRICK_CONTAINER]: zh,\n },\n },\n });\n\ninitI18n();\n\nexport default i18n;\n","import \"moment\";\nimport \"moment/locale/zh-cn\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Result } from \"antd\";\nimport {\n createRuntime,\n getAuth,\n httpErrorToString,\n getMockInfo,\n developHelper,\n} from \"@next-core/brick-kit\";\nimport {\n http,\n HttpRequestConfig,\n HttpResponse,\n HttpError,\n} from \"@next-core/brick-http\";\nimport { initializeLibrary } from \"@next-core/fontawesome-library\";\nimport { apiAnalyzer } from \"@next-core/easyops-analytics\";\nimport \"./antd\";\nimport \"./styles/theme/index.css\";\nimport \"./styles/variables.css\";\nimport \"./styles/business-variables.css\";\nimport \"./styles/editor-bricks-variables.css\";\nimport \"./styles/antd.less\";\nimport \"./styles/antd-compatible.less\";\nimport \"./styles/default.css\";\nimport \"@next-core/brick-icons/dist/styles/index.css\";\nimport i18n from \"./i18n\";\nimport { K, NS_BRICK_CONTAINER } from \"./i18n/constants\";\n\ninitializeLibrary();\n\n// These constants bellow are defined by `webpack.DefinePlugin`.\n// eslint-disable-next-line\n// @ts-ignore\nwindow.DLL_PATH = DLL_PATH;\n// eslint-disable-next-line\n// @ts-ignore\nwindow.BRICK_NEXT_VERSIONS = BRICK_NEXT_VERSIONS;\n// eslint-disable-next-line\n// @ts-ignore\nwindow.BRICK_NEXT_FEATURES = BRICK_NEXT_FEATURES;\n\nconst root = document.body;\n\nconst runtime = createRuntime();\n\nconst mountPoints = {\n menuBar: root.querySelector<HTMLElement>(\"#menu-bar-mount-point\"),\n appBar: root.querySelector<HTMLElement>(\"#app-bar-mount-point\"),\n loadingBar: root.querySelector<HTMLElement>(\"#loading-bar-mount-point\"),\n main: root.querySelector<HTMLElement>(\"#main-mount-point\"),\n bg: root.querySelector<HTMLElement>(\"#bg-mount-point\"),\n portal: root.querySelector<HTMLElement>(\"#portal-mount-point\"),\n};\n\nlet analyzer: ReturnType<typeof apiAnalyzer.create>;\n\n// Disable API stats for standalone micro-apps.\nif (!window.STANDALONE_MICRO_APPS) {\n const api = `${runtime.getBasePath()}api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat`;\n analyzer = apiAnalyzer.create({\n api,\n });\n}\n\nhttp.interceptors.request.use(function (config: HttpRequestConfig) {\n const headers = new Headers(config.options?.headers || {});\n headers.set(\"lang\", i18n.resolvedLanguage);\n const mockInfo = getMockInfo(config.url, config.method);\n if (mockInfo) {\n config.url = mockInfo.url;\n headers.set(\"easyops-mock-id\", mockInfo.mockId);\n }\n return {\n ...config,\n options: {\n ...config.options,\n headers,\n },\n };\n});\n\nhttp.interceptors.request.use(function (config: HttpRequestConfig) {\n if (analyzer) {\n const { userInstanceId: uid, username } = getAuth();\n const date = Date.now();\n config.meta = {\n st: date,\n time: Math.round(date / 1000),\n uid,\n username,\n };\n }\n if (!config.options?.interceptorParams?.ignoreLoadingBar) {\n window.dispatchEvent(new CustomEvent(\"request.start\"));\n }\n return config;\n});\n\nhttp.interceptors.response.use(\n function (response: HttpResponse) {\n window.dispatchEvent(new CustomEvent(\"request.end\"));\n analyzer?.analyses(response);\n return response.config.options?.observe === \"response\"\n ? response\n : response.data;\n },\n function (error: HttpError) {\n analyzer?.analyses(error);\n window.dispatchEvent(new CustomEvent(\"request.end\"));\n return Promise.reject(error.error);\n }\n);\n\nlet bootstrapStatus: \"loading\" | \"ok\" | \"failed\" = \"loading\";\nlet previewStarted = false;\nlet previewFromOrigin: string;\nlet previewOptions: PreviewStartOptions;\n\nasync function startPreview(): Promise<void> {\n // Start preview once bootstrap is ok and preview message has also been arrived.\n if (previewStarted || bootstrapStatus !== \"ok\" || !previewFromOrigin) {\n return;\n }\n previewStarted = true;\n const localhostRegExp = /^https?:\\/\\/localhost(?:$|:)/;\n // Make sure preview from the expected origins.\n let previewAllowed =\n previewFromOrigin === location.origin ||\n localhostRegExp.test(previewFromOrigin) ||\n localhostRegExp.test(location.origin);\n if (!previewAllowed) {\n const { allowedPreviewFromOrigins } = runtime.getMiscSettings() as {\n allowedPreviewFromOrigins?: string[];\n };\n if (Array.isArray(allowedPreviewFromOrigins)) {\n previewAllowed = allowedPreviewFromOrigins.some(\n (origin) => origin === previewFromOrigin\n );\n }\n if (!previewAllowed) {\n // eslint-disable-next-line\n console.error(\n `Preview is disallowed, from origin: ${previewFromOrigin}, while allowing: ${JSON.stringify(\n allowedPreviewFromOrigins\n )}`\n );\n }\n }\n if (previewAllowed) {\n const helperBrickName = \"next-previewer.preview-helper\";\n await developHelper.loadDynamicBricksInBrickConf({\n brick: helperBrickName,\n });\n if (customElements.get(helperBrickName)) {\n const helper = document.createElement(\n helperBrickName\n ) as unknown as PreviewHelperBrick;\n helper.start(previewFromOrigin, previewOptions);\n }\n }\n}\n\nif (window.parent) {\n const listener = async ({\n data,\n origin,\n }: MessageEvent<PreviewMessageContainerStartPreview>): Promise<void> => {\n if (\n data &&\n data.sender === \"preview-container\" &&\n data.type === \"start-preview\"\n ) {\n window.removeEventListener(\"message\", listener);\n previewFromOrigin = origin;\n previewOptions = data.options;\n http.enableCache(true);\n http.on(\"match-api-cache\", (num: number) => {\n window.parent.postMessage(\n {\n type: \"match-api-cache\",\n sender: \"previewer\",\n forwardedFor: \"builder\",\n num,\n },\n origin\n );\n });\n\n startPreview();\n }\n };\n window.addEventListener(\"message\", listener);\n}\n\nasync function bootstrap(): Promise<void> {\n try {\n if (window.MOCK_DATE) {\n // For rare scenarios only, so load it on demand.\n const { set } = await import(\n /* webpackChunkName: \"mockdate\" */\n \"mockdate\"\n );\n set(window.MOCK_DATE);\n }\n\n await runtime.bootstrap(mountPoints);\n bootstrapStatus = \"ok\";\n } catch (e) {\n bootstrapStatus = \"failed\";\n // eslint-disable-next-line no-console\n console.error(e);\n\n // `.bootstrap-error` makes loading-bar invisible.\n document.body.classList.add(\"bootstrap-error\", \"bars-hidden\");\n\n ReactDOM.render(\n <Result\n status=\"error\"\n title={i18n.t(`${NS_BRICK_CONTAINER}:${K.BOOTSTRAP_ERROR}`)}\n subTitle={httpErrorToString(e)}\n />,\n mountPoints.main\n );\n }\n\n startPreview();\n}\n\nbootstrap();\n\nexport interface PreviewHelperBrick {\n start(previewFromOrigin: string, options?: PreviewStartOptions): void;\n}\n\nexport interface PreviewMessageContainerStartPreview {\n sender: \"preview-container\";\n type: \"start-preview\";\n options?: PreviewStartOptions;\n}\n\nexport interface PreviewStartOptions {\n appId: string;\n templateId: string;\n settings?: {\n properties?: Record<string, unknown>;\n };\n}\n","module.exports = (__webpack_require__(\"XuQu\"))(\"JxWY\");","module.exports = (__webpack_require__(\"XuQu\"))(\"XDpg\");","module.exports = dll;","module.exports = (__webpack_require__(\"XuQu\"))(\"XzT5\");","module.exports = (__webpack_require__(\"XuQu\"))(\"gdfu\");","module.exports = (__webpack_require__(\"XuQu\"))(\"i8i4\");","module.exports = (__webpack_require__(\"XuQu\"))(\"q1tI\");","module.exports = (__webpack_require__(\"XuQu\"))(\"tYg3\");","module.exports = (__webpack_require__(\"XuQu\"))(\"vA6H\");","module.exports = (__webpack_require__(\"XuQu\"))(\"vuIU\");","module.exports = (__webpack_require__(\"XuQu\"))(\"wd/R\");","module.exports = (__webpack_require__(\"XuQu\"))(\"yXPU\");"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///delegated ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/objectSpread2.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/fontawesome-library/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/react-i18next/dist/es/index.js from dll-reference dll","webpack:///./packages/brick-container/src/antd.ts","webpack:///./node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js","webpack:///./packages/brick-container/src/i18n/constants.ts","webpack:///./packages/brick-container/src/i18n/locales/en.ts","webpack:///./packages/brick-container/src/i18n/locales/zh.ts","webpack:///./packages/brick-container/src/i18n/index.ts","webpack:///./packages/brick-container/src/index.tsx","webpack:///delegated ./node_modules/@next-core/brick-http/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/moment/locale/zh-cn.js from dll-reference dll","webpack:///external \"dll\"","webpack:///delegated ./node_modules/i18next/dist/esm/i18next.js from dll-reference dll","webpack:///delegated ./node_modules/antd/es/index.js from dll-reference dll","webpack:///delegated ./node_modules/react-dom/index.js from dll-reference dll","webpack:///delegated ./node_modules/react/index.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/brick-kit/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/@next-core/easyops-analytics/dist/index.esm.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/esm/createClass.js from dll-reference dll","webpack:///delegated ./node_modules/moment/moment.js from dll-reference dll","webpack:///delegated ./node_modules/@babel/runtime/helpers/asyncToGenerator.js from dll-reference dll"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","0","__webpack_require__","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","s","config","top","arr","each","forEach","defaults","obj","arguments","source","prop","fieldContentRegExp","serializeCookie","val","options","opt","path","str","encodeURIComponent","maxAge","isNaN","Math","floor","domain","test","TypeError","expires","toUTCString","httpOnly","secure","sameSite","toLowerCase","cookie","minutes","cookieOptions","Date","setTime","getTime","nameEQ","ca","split","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","setItem","removeItem","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","href","lookupFromSubdomainIndex","Browser","services","this","detectors","init","i18nOptions","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","concat","languageUtils","getBestMatchFromCodes","_this2","cacheName","K","locale","BOOTSTRAP_ERROR","i18n","on","moment","use","LanguageDetector","initReactI18next","fallbackLng","debug","process","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","en","zh","initI18n","initializeLibrary","DLL_PATH","BRICK_NEXT_VERSIONS","BRICK_NEXT_FEATURES","analyzer","root","body","runtime","createRuntime","mountPoints","menuBar","querySelector","appBar","loadingBar","main","bg","portal","STANDALONE_MICRO_APPS","api","getBasePath","apiAnalyzer","http","interceptors","headers","Headers","set","resolvedLanguage","mockInfo","getMockInfo","url","method","mockId","userInstanceId","uid","username","getAuth","date","now","meta","st","time","round","interceptorParams","ignoreLoadingBar","dispatchEvent","CustomEvent","response","analyses","observe","previewFromOrigin","previewOptions","bootstrapStatus","previewStarted","startPreview","localhostRegExp","previewAllowed","origin","allowedPreviewFromOrigins","getMiscSettings","isArray","some","JSON","stringify","developHelper","loadDynamicBricksInBrickConf","brick","customElements","start","parent","listener","sender","removeEventListener","enableCache","num","postMessage","forwardedFor","addEventListener","MOCK_DATE","bootstrap","classList","add","Re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A8B,S,uBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B,S,qBCA/CE,EAAOD,QAAWD,EAAoB,OAArB,CAA8B","file":"main.88d0cea179ea4b0e8ae3.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + ({\"1\":\"mockdate\"}[chunkId]||chunkId) + \".\" + {\"1\":\"59f45d37e8dce0f31118\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"GR0M\");\n","module.exports = (__webpack_require__(\"XuQu\"))(\"1OyB\");","module.exports = (__webpack_require__(\"XuQu\"))(\"3tO9\");","module.exports = (__webpack_require__(\"XuQu\"))(\"9RIe\");","module.exports = (__webpack_require__(\"XuQu\"))(\"9kay\");","// antd component global configuration\nimport { message } from \"antd\";\n\nmessage.config({\n top: 40\n});\n","import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = name + '=' + value;\n\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n\n case 'lax':\n str += '; SameSite=Lax';\n break;\n\n case 'strict':\n str += '; SameSite=Strict';\n break;\n\n case 'none':\n str += '; SameSite=None';\n break;\n\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n};\n\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = name + '=';\n var ca = document.cookie.split(';');\n\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n\n var query = search.substring(1);\n var params = query.split('&');\n\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\n\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n\n return hasLocalStorageSupport;\n};\n\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\n\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n\n return hasSessionStorageSupport;\n};\n\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n var found;\n\n if (typeof window !== 'undefined') {\n var language = window.location.href.match(/(?:http[s]*\\:\\/\\/)*(.*?)\\.(?=[^\\/]*\\..{2,5})/gi);\n\n if (language instanceof Array) {\n if (typeof options.lookupFromSubdomainIndex === 'number') {\n found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');\n } else {\n found = language[0].replace('http://', '').replace('https://', '').replace('.', '');\n }\n }\n }\n\n return found;\n }\n};\n\nfunction getDefaults() {\n return {\n order: ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'] //cookieMinutes: 10,\n //cookieDomain: 'myDomain'\n\n };\n}\n\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Browser);\n\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n\n _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services;\n this.options = defaults(options, this.options || {}, getDefaults()); // backwards compatibility\n\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n\n return Browser;\n}();\n\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n","export const NS_BRICK_CONTAINER = \"brick-container\";\n\nexport enum K {\n BOOTSTRAP_ERROR = \"BOOTSTRAP_ERROR\",\n}\n\nexport type Locale = { [key in K]: string };\n","import { Locale, K } from \"../constants\";\n\nconst locale: Locale = {\n [K.BOOTSTRAP_ERROR]: \"Bootstrap Error\",\n};\n\nexport default locale;\n","import { Locale, K } from \"../constants\";\n\nconst locale: Locale = {\n [K.BOOTSTRAP_ERROR]: \"启动错误\",\n};\n\nexport default locale;\n","import i18n from \"i18next\";\nimport { initReactI18next } from \"react-i18next\";\nimport moment from \"moment\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nimport { initI18n } from \"@next-core/brick-kit\";\n\nimport { NS_BRICK_CONTAINER } from \"./constants\";\nimport en from \"./locales/en\";\nimport zh from \"./locales/zh\";\n\n// I18next is synchronously initialized now,\n// so we listen on language change before initialization.\ni18n.on(\"languageChanged\", function (lng) {\n moment.locale(lng);\n});\n\ni18n\n // learn more: https://github.com/i18next/i18next-xhr-backend\n // .use(Backend)\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(LanguageDetector)\n .use(initReactI18next)\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n fallbackLng: \"zh\",\n /*global process*/\n debug: process.env.NODE_ENV === \"development\",\n supportedLngs: [\"zh\", \"en\"],\n nonExplicitSupportedLngs: true,\n interpolation: {\n escapeValue: false, // not needed for react as it escapes by default\n },\n react: {\n useSuspense: false,\n },\n compatibilityJSON: \"v3\",\n resources: {\n en: {\n [NS_BRICK_CONTAINER]: en,\n },\n zh: {\n [NS_BRICK_CONTAINER]: zh,\n },\n },\n });\n\ninitI18n();\n\nexport default i18n;\n","import \"moment\";\nimport \"moment/locale/zh-cn\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Result } from \"antd\";\nimport {\n createRuntime,\n getAuth,\n httpErrorToString,\n getMockInfo,\n developHelper,\n} from \"@next-core/brick-kit\";\nimport {\n http,\n HttpRequestConfig,\n HttpResponse,\n HttpError,\n} from \"@next-core/brick-http\";\nimport { initializeLibrary } from \"@next-core/fontawesome-library\";\nimport { apiAnalyzer } from \"@next-core/easyops-analytics\";\nimport \"./antd\";\nimport \"./styles/theme/index.css\";\nimport \"./styles/variables.css\";\nimport \"./styles/business-variables.css\";\nimport \"./styles/editor-bricks-variables.css\";\nimport \"./styles/antd.less\";\nimport \"./styles/antd-compatible.less\";\nimport \"./styles/default.css\";\nimport \"@next-core/brick-icons/dist/styles/index.css\";\nimport i18n from \"./i18n\";\nimport { K, NS_BRICK_CONTAINER } from \"./i18n/constants\";\n\ninitializeLibrary();\n\n// These constants bellow are defined by `webpack.DefinePlugin`.\n// eslint-disable-next-line\n// @ts-ignore\nwindow.DLL_PATH = DLL_PATH;\n// eslint-disable-next-line\n// @ts-ignore\nwindow.BRICK_NEXT_VERSIONS = BRICK_NEXT_VERSIONS;\n// eslint-disable-next-line\n// @ts-ignore\nwindow.BRICK_NEXT_FEATURES = BRICK_NEXT_FEATURES;\n\nconst root = document.body;\n\nconst runtime = createRuntime();\n\nconst mountPoints = {\n menuBar: root.querySelector<HTMLElement>(\"#menu-bar-mount-point\"),\n appBar: root.querySelector<HTMLElement>(\"#app-bar-mount-point\"),\n loadingBar: root.querySelector<HTMLElement>(\"#loading-bar-mount-point\"),\n main: root.querySelector<HTMLElement>(\"#main-mount-point\"),\n bg: root.querySelector<HTMLElement>(\"#bg-mount-point\"),\n portal: root.querySelector<HTMLElement>(\"#portal-mount-point\"),\n};\n\nlet analyzer: ReturnType<typeof apiAnalyzer.create>;\n\n// Disable API stats for standalone micro-apps.\nif (!window.STANDALONE_MICRO_APPS) {\n const api = `${runtime.getBasePath()}api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat`;\n analyzer = apiAnalyzer.create({\n api,\n });\n}\n\nhttp.interceptors.request.use(function (config: HttpRequestConfig) {\n const headers = new Headers(config.options?.headers || {});\n headers.set(\"lang\", i18n.resolvedLanguage);\n const mockInfo = getMockInfo(config.url, config.method);\n if (mockInfo) {\n config.url = mockInfo.url;\n headers.set(\"easyops-mock-id\", mockInfo.mockId);\n }\n return {\n ...config,\n options: {\n ...config.options,\n headers,\n },\n };\n});\n\nhttp.interceptors.request.use(function (config: HttpRequestConfig) {\n if (analyzer) {\n const { userInstanceId: uid, username } = getAuth();\n const date = Date.now();\n config.meta = {\n st: date,\n time: Math.round(date / 1000),\n uid,\n username,\n };\n }\n if (!config.options?.interceptorParams?.ignoreLoadingBar) {\n window.dispatchEvent(new CustomEvent(\"request.start\"));\n }\n return config;\n});\n\nhttp.interceptors.response.use(\n function (response: HttpResponse) {\n window.dispatchEvent(new CustomEvent(\"request.end\"));\n analyzer?.analyses(response);\n return response.config.options?.observe === \"response\"\n ? response\n : response.data;\n },\n function (error: HttpError) {\n analyzer?.analyses(error);\n window.dispatchEvent(new CustomEvent(\"request.end\"));\n return Promise.reject(error.error);\n }\n);\n\nlet bootstrapStatus: \"loading\" | \"ok\" | \"failed\" = \"loading\";\nlet previewStarted = false;\nlet previewFromOrigin: string;\nlet previewOptions: PreviewStartOptions;\n\nasync function startPreview(): Promise<void> {\n // Start preview once bootstrap is ok and preview message has also been arrived.\n if (previewStarted || bootstrapStatus !== \"ok\" || !previewFromOrigin) {\n return;\n }\n previewStarted = true;\n const localhostRegExp = /^https?:\\/\\/localhost(?:$|:)/;\n // Make sure preview from the expected origins.\n let previewAllowed =\n previewFromOrigin === location.origin ||\n localhostRegExp.test(previewFromOrigin) ||\n localhostRegExp.test(location.origin);\n if (!previewAllowed) {\n const { allowedPreviewFromOrigins } = runtime.getMiscSettings() as {\n allowedPreviewFromOrigins?: string[];\n };\n if (Array.isArray(allowedPreviewFromOrigins)) {\n previewAllowed = allowedPreviewFromOrigins.some(\n (origin) => origin === previewFromOrigin\n );\n }\n if (!previewAllowed) {\n // eslint-disable-next-line\n console.error(\n `Preview is disallowed, from origin: ${previewFromOrigin}, while allowing: ${JSON.stringify(\n allowedPreviewFromOrigins\n )}`\n );\n }\n }\n if (previewAllowed) {\n const helperBrickName = \"next-previewer.preview-helper\";\n await developHelper.loadDynamicBricksInBrickConf({\n brick: helperBrickName,\n });\n if (customElements.get(helperBrickName)) {\n const helper = document.createElement(\n helperBrickName\n ) as unknown as PreviewHelperBrick;\n helper.start(previewFromOrigin, previewOptions);\n }\n }\n}\n\nif (window.parent) {\n const listener = async ({\n data,\n origin,\n }: MessageEvent<PreviewMessageContainerStartPreview>): Promise<void> => {\n if (\n data &&\n data.sender === \"preview-container\" &&\n data.type === \"start-preview\"\n ) {\n window.removeEventListener(\"message\", listener);\n previewFromOrigin = origin;\n previewOptions = data.options;\n http.enableCache(true);\n http.on(\"match-api-cache\", (num: number) => {\n window.parent.postMessage(\n {\n type: \"match-api-cache\",\n sender: \"previewer\",\n forwardedFor: \"builder\",\n num,\n },\n origin\n );\n });\n\n startPreview();\n }\n };\n window.addEventListener(\"message\", listener);\n}\n\nasync function bootstrap(): Promise<void> {\n try {\n if (window.MOCK_DATE) {\n // For rare scenarios only, so load it on demand.\n const { set } = await import(\n /* webpackChunkName: \"mockdate\" */\n \"mockdate\"\n );\n set(window.MOCK_DATE);\n }\n\n await runtime.bootstrap(mountPoints);\n bootstrapStatus = \"ok\";\n } catch (e) {\n bootstrapStatus = \"failed\";\n // eslint-disable-next-line no-console\n console.error(e);\n\n // `.bootstrap-error` makes loading-bar invisible.\n document.body.classList.add(\"bootstrap-error\", \"bars-hidden\");\n\n ReactDOM.render(\n <Result\n status=\"error\"\n title={i18n.t(`${NS_BRICK_CONTAINER}:${K.BOOTSTRAP_ERROR}`)}\n subTitle={httpErrorToString(e)}\n />,\n mountPoints.main\n );\n }\n\n startPreview();\n}\n\nbootstrap();\n\nexport interface PreviewHelperBrick {\n start(previewFromOrigin: string, options?: PreviewStartOptions): void;\n}\n\nexport interface PreviewMessageContainerStartPreview {\n sender: \"preview-container\";\n type: \"start-preview\";\n options?: PreviewStartOptions;\n}\n\nexport interface PreviewStartOptions {\n appId: string;\n templateId: string;\n settings?: {\n properties?: Record<string, unknown>;\n };\n}\n","module.exports = (__webpack_require__(\"XuQu\"))(\"JxWY\");","module.exports = (__webpack_require__(\"XuQu\"))(\"XDpg\");","module.exports = dll;","module.exports = (__webpack_require__(\"XuQu\"))(\"XzT5\");","module.exports = (__webpack_require__(\"XuQu\"))(\"gdfu\");","module.exports = (__webpack_require__(\"XuQu\"))(\"i8i4\");","module.exports = (__webpack_require__(\"XuQu\"))(\"q1tI\");","module.exports = (__webpack_require__(\"XuQu\"))(\"tYg3\");","module.exports = (__webpack_require__(\"XuQu\"))(\"vA6H\");","module.exports = (__webpack_require__(\"XuQu\"))(\"vuIU\");","module.exports = (__webpack_require__(\"XuQu\"))(\"wd/R\");","module.exports = (__webpack_require__(\"XuQu\"))(\"yXPU\");"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-container",
|
|
3
|
-
"version": "2.71.
|
|
3
|
+
"version": "2.71.6",
|
|
4
4
|
"description": "Brick Container Server",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-container",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"ws": "^8.8.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@next-core/brick-dll": "^2.33.
|
|
45
|
+
"@next-core/brick-dll": "^2.33.11",
|
|
46
46
|
"@next-core/brick-icons": "^2.26.55",
|
|
47
47
|
"@next-core/color-theme": "^0.4.3",
|
|
48
48
|
"@next-core/custom-antd-styles": "^1.24.12",
|
|
49
49
|
"@next-core/illustrations": "^0.9.6",
|
|
50
50
|
"@next-core/less-plugin-css-variables": "^0.2.4",
|
|
51
|
-
"@next-core/webpack-config-factory": "^2.
|
|
52
|
-
"@next-dll/ace": "^2.0.
|
|
53
|
-
"@next-dll/d3": "^2.0.
|
|
54
|
-
"@next-dll/echarts": "^2.0.
|
|
55
|
-
"@next-dll/editor-bricks-helper": "^0.28.
|
|
56
|
-
"@next-dll/react-dnd": "^0.1.
|
|
51
|
+
"@next-core/webpack-config-factory": "^2.18.0",
|
|
52
|
+
"@next-dll/ace": "^2.0.439",
|
|
53
|
+
"@next-dll/d3": "^2.0.68",
|
|
54
|
+
"@next-dll/echarts": "^2.0.69",
|
|
55
|
+
"@next-dll/editor-bricks-helper": "^0.28.96",
|
|
56
|
+
"@next-dll/react-dnd": "^0.1.377",
|
|
57
57
|
"babel-loader": "^8.2.5",
|
|
58
58
|
"clean-webpack-plugin": "^4.0.0",
|
|
59
59
|
"copy-webpack-plugin": "^6.4.1",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"webpack-dev-server": "^4.9.3",
|
|
74
74
|
"webpack-merge": "^5.8.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "30f5d41f803b9b12e3a66854faf518832559d07a"
|
|
77
77
|
}
|
package/serve/getEnv.js
CHANGED
|
@@ -101,6 +101,9 @@ module.exports = (runtimeFlags) => {
|
|
|
101
101
|
server: {
|
|
102
102
|
type: "string",
|
|
103
103
|
},
|
|
104
|
+
legacyConsole: {
|
|
105
|
+
type: "boolean",
|
|
106
|
+
},
|
|
104
107
|
consoleServer: {
|
|
105
108
|
type: "string",
|
|
106
109
|
},
|
|
@@ -118,6 +121,7 @@ module.exports = (runtimeFlags) => {
|
|
|
118
121
|
standalone: {
|
|
119
122
|
type: "boolean",
|
|
120
123
|
},
|
|
124
|
+
// <!-- Options for standalone micro-apps started.
|
|
121
125
|
standaloneMicroApps: {
|
|
122
126
|
type: "boolean",
|
|
123
127
|
},
|
|
@@ -125,6 +129,17 @@ module.exports = (runtimeFlags) => {
|
|
|
125
129
|
type: "string",
|
|
126
130
|
default: "",
|
|
127
131
|
},
|
|
132
|
+
standaloneAppRoot: {
|
|
133
|
+
type: "string",
|
|
134
|
+
},
|
|
135
|
+
bootstrapHash: {
|
|
136
|
+
type: "string",
|
|
137
|
+
default: "hash",
|
|
138
|
+
},
|
|
139
|
+
setSubdir: {
|
|
140
|
+
type: "string",
|
|
141
|
+
},
|
|
142
|
+
// --> Options for standalone micro-apps ended.
|
|
128
143
|
legacyBootstrap: {
|
|
129
144
|
type: "boolean",
|
|
130
145
|
},
|
|
@@ -157,7 +172,7 @@ module.exports = (runtimeFlags) => {
|
|
|
157
172
|
--console-server Set remote console server address, defaults to remote server address
|
|
158
173
|
--subdir Set base href to "/next/" instead of "/"
|
|
159
174
|
--local-bricks Specify local brick packages to be used in remote mode
|
|
160
|
-
--legacy-bootstrap
|
|
175
|
+
--legacy-bootstrap Use legacy bootstrap provider
|
|
161
176
|
--local-editors Specify local editor packages to be used in remote mode
|
|
162
177
|
--local-snippets Specify local snippet packages to be used in remote mode
|
|
163
178
|
--local-micro-apps Specify local micro apps to be used in remote mode
|
|
@@ -178,6 +193,7 @@ module.exports = (runtimeFlags) => {
|
|
|
178
193
|
--mock-date Setting mock date (for sandbox demo website only)
|
|
179
194
|
--public-cdn Setting public cdn site
|
|
180
195
|
--as-cdn Serve as cdn site
|
|
196
|
+
--legacy-console Enable legacy console proxy
|
|
181
197
|
--help Show help message
|
|
182
198
|
--version Show brick container version
|
|
183
199
|
`,
|
|
@@ -212,7 +228,11 @@ module.exports = (runtimeFlags) => {
|
|
|
212
228
|
const standalone = confStandalone || _standalone;
|
|
213
229
|
|
|
214
230
|
const useOffline = flags.offline || process.env.OFFLINE === "true";
|
|
215
|
-
const useSubdir =
|
|
231
|
+
const useSubdir =
|
|
232
|
+
flags.subdir ||
|
|
233
|
+
!!flags.setSubdir ||
|
|
234
|
+
process.env.SUBDIR === "true" ||
|
|
235
|
+
!!process.env.SET_SUBDIR;
|
|
216
236
|
const useRemote =
|
|
217
237
|
flags.remote === undefined
|
|
218
238
|
? process.env.NO_REMOTE !== "true"
|
|
@@ -220,9 +240,15 @@ module.exports = (runtimeFlags) => {
|
|
|
220
240
|
const useAutoRemote = flags.autoRemote || process.env.AUTO_REMOTE === "true";
|
|
221
241
|
const useLegacyBootstrap =
|
|
222
242
|
flags.legacyBootstrap || process.env.LEGACY_BOOTSTRAP === "true";
|
|
223
|
-
const baseHref =
|
|
243
|
+
const baseHref = flags.setSubdir
|
|
244
|
+
? `/${flags.setSubdir.replace(/^\/|\/$/, "")}/`
|
|
245
|
+
: useSubdir
|
|
246
|
+
? "/next/"
|
|
247
|
+
: "/";
|
|
224
248
|
const server = getServerPath(flags.server || process.env.SERVER);
|
|
225
249
|
let consoleServer = flags.consoleServer || process.env.CONSOLE_SERVER;
|
|
250
|
+
const legacyConsole =
|
|
251
|
+
consoleServer || flags.legacyConsole || process.env.LEGACY_CONSOLE;
|
|
226
252
|
consoleServer = consoleServer ? getServerPath(consoleServer) : server;
|
|
227
253
|
|
|
228
254
|
const localBrickPackages = flags.localBricks
|
|
@@ -334,12 +360,17 @@ module.exports = (runtimeFlags) => {
|
|
|
334
360
|
navbarJsonPath,
|
|
335
361
|
standaloneMicroApps: flags.standaloneMicroApps,
|
|
336
362
|
standaloneAppDir: flags.standaloneAppDir,
|
|
363
|
+
standaloneAppRoot: flags.standaloneMicroApps
|
|
364
|
+
? flags.standaloneAppRoot || `${baseHref}${flags.standaloneAppDir}`
|
|
365
|
+
: "",
|
|
366
|
+
bootstrapHash: flags.bootstrapHash,
|
|
337
367
|
host: flags.host,
|
|
338
368
|
port: Number(flags.port),
|
|
339
369
|
wsPort: Number(flags.wsPort),
|
|
340
370
|
https: flags.https,
|
|
341
371
|
cookieSameSiteNone: flags.cookieSameSiteNone,
|
|
342
372
|
server,
|
|
373
|
+
legacyConsole,
|
|
343
374
|
consoleServer,
|
|
344
375
|
appConfig,
|
|
345
376
|
verbose: flags.verbose || process.env.VERBOSE === "true",
|
|
@@ -435,6 +466,7 @@ module.exports = (runtimeFlags) => {
|
|
|
435
466
|
|
|
436
467
|
if (env.standaloneMicroApps) {
|
|
437
468
|
console.log(chalk.bold.cyan("app dir:"), env.standaloneAppDir);
|
|
469
|
+
console.log(chalk.bold.cyan("app root:"), env.standaloneAppRoot);
|
|
438
470
|
}
|
|
439
471
|
|
|
440
472
|
console.log(
|
package/serve/getProxies.js
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = (env) => {
|
|
|
35
35
|
alternativeBrickPackagesDir,
|
|
36
36
|
useLegacyBootstrap,
|
|
37
37
|
standaloneMicroApps,
|
|
38
|
-
|
|
38
|
+
standaloneAppRoot,
|
|
39
39
|
} = env;
|
|
40
40
|
|
|
41
41
|
const pathRewriteFactory = (seg) =>
|
|
@@ -54,10 +54,11 @@ module.exports = (env) => {
|
|
|
54
54
|
},
|
|
55
55
|
};
|
|
56
56
|
if (useRemote) {
|
|
57
|
-
const assetRoot = standaloneMicroApps ? `${
|
|
57
|
+
const assetRoot = standaloneMicroApps ? `${standaloneAppRoot}-/` : "";
|
|
58
58
|
if (standaloneMicroApps) {
|
|
59
59
|
// 在「独立应用」模式中,静态资源路径在 `your-app/-/` 目录下。
|
|
60
60
|
proxyPaths.push(assetRoot);
|
|
61
|
+
proxyPaths.push(`${standaloneAppRoot}conf.yaml`);
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
const assetPaths = ["bricks", "micro-apps", "templates"];
|
|
@@ -75,7 +76,7 @@ module.exports = (env) => {
|
|
|
75
76
|
new RegExp(
|
|
76
77
|
`^${escapeRegExp(
|
|
77
78
|
// 匹配 `/next/your-app/-/bootstrap.[hash].json`
|
|
78
|
-
|
|
79
|
+
`${standaloneAppRoot}-/bootstrap.`
|
|
79
80
|
)}[^.]+\\.json$`
|
|
80
81
|
).test(req.path))
|
|
81
82
|
) {
|
|
@@ -301,12 +302,14 @@ module.exports = (env) => {
|
|
|
301
302
|
!(
|
|
302
303
|
res.statusCode === 200 &&
|
|
303
304
|
res.get("content-type") === "text/html" &&
|
|
304
|
-
raw.includes(
|
|
305
|
+
raw.includes(`${baseHref}browse-happy.html`)
|
|
305
306
|
)
|
|
306
307
|
) {
|
|
307
308
|
return raw;
|
|
308
309
|
}
|
|
309
|
-
const content = useSubdir
|
|
310
|
+
const content = useSubdir
|
|
311
|
+
? raw
|
|
312
|
+
: raw.replace(new RegExp(escapeRegExp(baseHref), "g"), "/");
|
|
310
313
|
return env.liveReload
|
|
311
314
|
? appendLiveReloadScript(content, env)
|
|
312
315
|
: content;
|
|
@@ -353,7 +356,7 @@ module.exports = (env) => {
|
|
|
353
356
|
}
|
|
354
357
|
: {}),
|
|
355
358
|
...proxyPaths.reduce((acc, seg) => {
|
|
356
|
-
acc[`${baseHref}${seg}`] = {
|
|
359
|
+
acc[seg.startsWith("/") ? seg : `${baseHref}${seg}`] = {
|
|
357
360
|
target: server,
|
|
358
361
|
secure: false,
|
|
359
362
|
changeOrigin: true,
|