@next-core/brick-container 2.63.27 → 2.63.31
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 +40 -0
- package/dist/{dll.74d4c9e4.js → dll.0bacb2bd.js} +3 -3
- package/dist/{dll.74d4c9e4.js.map → dll.0bacb2bd.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.1b8965f6cad1761e01d0.js → main.93305de2129d401f3fd9.js} +2 -2
- package/dist/{main.1b8965f6cad1761e01d0.js.map → main.93305de2129d401f3fd9.js.map} +1 -1
- package/dist/{main.f8f73f830b7e519cab2e.css → main.c0a4d1b0c6cf4a616125.css} +80 -8
- package/dist/main.c0a4d1b0c6cf4a616125.css.map +1 -0
- package/package.json +9 -9
- package/dist/main.f8f73f830b7e519cab2e.css.map +0 -1
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><link href="<!--# echo var='core_root' default='' -->main.
|
|
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><link href="<!--# echo var='core_root' default='' -->main.c0a4d1b0c6cf4a616125.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.0bacb2bd.js"></script><script src="<!--# echo var='core_root' default='' -->polyfill.f7f57156cbec5f35f85c.js"></script><script src="<!--# echo var='core_root' default='' -->main.93305de2129d401f3fd9.js"></script></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.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"),m=o("9RIe"),v=o("vA6H");f.message.config({top:40});var S=o("XzT5"),y=o("9kay"),w=o("1OyB"),k=o("vuIU"),b=[],x=b.forEach,O=b.slice;function I(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 R=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,T=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(!R.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain="+n.domain}if(n.path){if(!R.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},E=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=T(e,encodeURIComponent(t),r)},X=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=X(e.lookupCookie);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&E(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},A={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var o=window.location.search.substring(1).split("&"),n=0;n<o.length;n++){var r=o[n].indexOf("=");if(r>0)o[n].substring(0,r)===e.lookupQuerystring&&(t=o[n].substring(r+1))}return t}},P=null,C=function(){if(null!==P)return P;try{P="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){P=!1}return P},j={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&C()){var o=window.localStorage.getItem(e.lookupLocalStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&C()&&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},U={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)}},Q={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}},B={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}},F={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 M=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(w.default)(this,e),this.type="languageDetector",this.detectors={},this.init(t,o)}return Object(k.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=I(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(A),this.addDetector(j),this.addDetector(U),this.addDetector(Q),this.addDetector(B),this.addDetector(q),this.addDetector(F)}},{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}();M.type="languageDetector";var N;!function(e){e.BOOTSTRAP_ERROR="BOOTSTRAP_ERROR"}(N||(N={}));var z={[N.BOOTSTRAP_ERROR]:"Bootstrap Error"},H={[N.BOOTSTRAP_ERROR]:"启动错误"};S.default.use(M).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)(),S.default.on("languageChanged",(function(e){s.a.locale(e)}));var Y=S.default;Object(m.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.9191a5c1.js","react-dnd":"dll-of-react-dnd.0ca00465.js"},window.BRICK_NEXT_VERSIONS={"brick-container":"2.63.27","brick-dll":"2.29.7","brick-kit":"2.104.7","brick-utils":"2.34.1"},window.BRICK_NEXT_FEATURES=["edit-evaluations-and-transformations-in-devtools"];var J,W=document.body,G=Object(g.createRuntime)(),K={menuBar:W.querySelector("#menu-bar-mount-point"),appBar:W.querySelector("#app-bar-mount-point"),loadingBar:W.querySelector("#loading-bar-mount-point"),main:W.querySelector("#main-mount-point"),bg:W.querySelector("#bg-mount-point"),portal:W.querySelector("#portal-mount-point")};if(!window.STANDALONE_MICRO_APPS){var V="".concat(G.getBasePath(),"api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat");J=v.apiAnalyzer.create({api:V})}function Z(){return(Z=r()((function*(){try{yield G.bootstrap(K)}catch(e){console.error(e),document.body.classList.add("bootstrap-error","bars-hidden"),p.a.render(l.a.createElement(f.Result,{status:"error",title:Y.t("".concat("brick-container",":").concat(N.BOOTSTRAP_ERROR)),subTitle:Object(g.httpErrorToString)(e)}),K.main)}}))).apply(this,arguments)}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",Y.resolvedLanguage);var n=Object(g.getMockInfo)(e.url);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(J){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=J)||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=J)||void 0===t||t.analyses(e),window.dispatchEvent(new CustomEvent("request.end")),Promise.reject(e.error)})),function(){Z.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){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.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"),m=o("9RIe"),v=o("vA6H");f.message.config({top:40});var S=o("XzT5"),y=o("9kay"),w=o("1OyB"),k=o("vuIU"),b=[],x=b.forEach,O=b.slice;function I(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 R=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,T=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(!R.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain="+n.domain}if(n.path){if(!R.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},E=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=T(e,encodeURIComponent(t),r)},X=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=X(e.lookupCookie);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&E(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},A={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var o=window.location.search.substring(1).split("&"),n=0;n<o.length;n++){var r=o[n].indexOf("=");if(r>0)o[n].substring(0,r)===e.lookupQuerystring&&(t=o[n].substring(r+1))}return t}},P=null,C=function(){if(null!==P)return P;try{P="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){P=!1}return P},j={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&C()){var o=window.localStorage.getItem(e.lookupLocalStorage);o&&(t=o)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&C()&&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},U={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)}},Q={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}},B={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}},F={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 M=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(w.default)(this,e),this.type="languageDetector",this.detectors={},this.init(t,o)}return Object(k.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=I(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(A),this.addDetector(j),this.addDetector(U),this.addDetector(Q),this.addDetector(B),this.addDetector(q),this.addDetector(F)}},{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}();M.type="languageDetector";var N;!function(e){e.BOOTSTRAP_ERROR="BOOTSTRAP_ERROR"}(N||(N={}));var z={[N.BOOTSTRAP_ERROR]:"Bootstrap Error"},H={[N.BOOTSTRAP_ERROR]:"启动错误"};S.default.use(M).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)(),S.default.on("languageChanged",(function(e){s.a.locale(e)}));var Y=S.default;Object(m.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.9191a5c1.js","react-dnd":"dll-of-react-dnd.0ca00465.js"},window.BRICK_NEXT_VERSIONS={"brick-container":"2.63.31","brick-dll":"2.29.9","brick-kit":"2.105.1","brick-utils":"2.34.2"},window.BRICK_NEXT_FEATURES=["edit-evaluations-and-transformations-in-devtools"];var J,W=document.body,G=Object(g.createRuntime)(),K={menuBar:W.querySelector("#menu-bar-mount-point"),appBar:W.querySelector("#app-bar-mount-point"),loadingBar:W.querySelector("#loading-bar-mount-point"),main:W.querySelector("#main-mount-point"),bg:W.querySelector("#bg-mount-point"),portal:W.querySelector("#portal-mount-point")};if(!window.STANDALONE_MICRO_APPS){var V="".concat(G.getBasePath(),"api/gateway/data_exchange.store.ClickHouseInsertData/api/v1/data_exchange/frontend_stat");J=v.apiAnalyzer.create({api:V})}function Z(){return(Z=r()((function*(){try{yield G.bootstrap(K)}catch(e){console.error(e),document.body.classList.add("bootstrap-error","bars-hidden"),p.a.render(l.a.createElement(f.Result,{status:"error",title:Y.t("".concat("brick-container",":").concat(N.BOOTSTRAP_ERROR)),subTitle:Object(g.httpErrorToString)(e)}),K.main)}}))).apply(this,arguments)}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",Y.resolvedLanguage);var n=Object(g.getMockInfo)(e.url);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(J){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=J)||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=J)||void 0===t||t.analyses(e),window.dispatchEvent(new CustomEvent("request.end")),Promise.reject(e.error)})),function(){Z.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.93305de2129d401f3fd9.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":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","message","config","top","arr","each","forEach","slice","defaults","obj","arguments","source","prop","undefined","fieldContentRegExp","serializeCookie","val","options","opt","path","str","encodeURIComponent","maxAge","isNaN","Error","Math","floor","domain","test","TypeError","expires","toUTCString","httpOnly","secure","sameSite","toLowerCase","cookie","minutes","cookieOptions","length","Date","setTime","getTime","document","nameEQ","ca","split","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","params","location","search","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","href","lookupFromSubdomainIndex","Browser","services","this","type","detectors","init","i18nOptions","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","concat","languageUtils","getBestMatchFromCodes","_this2","cacheName","K","locale","BOOTSTRAP_ERROR","i18n","use","LanguageDetector","initReactI18next","fallbackLng","debug","process","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","en","zh","initI18n","on","moment","initializeLibrary","DLL_PATH","BRICK_NEXT_VERSIONS","BRICK_NEXT_FEATURES","analyzer","root","body","pluginRuntime","createRuntime","mountPoints","menuBar","querySelector","appBar","loadingBar","main","bg","portal","STANDALONE_MICRO_APPS","api","getBasePath","apiAnalyzer","bootstrap","console","error","classList","add","ReactDOM","render","status","title","subTitle","httpErrorToString","http","interceptors","request","headers","Headers","set","resolvedLanguage","mockInfo","getMockInfo","url","mockId","userInstanceId","uid","username","getAuth","date","now","meta","st","time","round","interceptorParams","ignoreLoadingBar","dispatchEvent","CustomEvent","response","analyses","observe","data","Promise","reject","dll"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,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AAhB,eAAyBqL,SAC5BF,EACAA,EAASG,QAEf,SAAUrC,GAAkB,MAG1B,OAFQ,QAAR,EAAAnB,SAAA,SAAUsD,SAASnC,GACnBvG,OAAOuI,cAAc,IAAIC,YAAY,gBAC9BK,QAAQC,OAAOvC,EAAMA,U,mCAyBhCF,I,qBCzIAhM,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,mBCA/CG,EAAOD,QAAU2O,K,qBCAjB1O,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,uBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B","file":"main.1b8965f6cad1761e01d0.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"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 query = window.location.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\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\ni18n.on(\"languageChanged\", function (lng) {\n moment.locale(lng);\n});\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} 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 pluginRuntime = 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 = `${pluginRuntime.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);\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\nasync function bootstrap(): Promise<void> {\n try {\n await pluginRuntime.bootstrap(mountPoints);\n } catch (e) {\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\nbootstrap();\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":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","message","config","top","arr","each","forEach","slice","defaults","obj","arguments","source","prop","undefined","fieldContentRegExp","serializeCookie","val","options","opt","path","str","encodeURIComponent","maxAge","isNaN","Error","Math","floor","domain","test","TypeError","expires","toUTCString","httpOnly","secure","sameSite","toLowerCase","cookie","minutes","cookieOptions","length","Date","setTime","getTime","document","nameEQ","ca","split","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","params","location","search","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","href","lookupFromSubdomainIndex","Browser","services","this","type","detectors","init","i18nOptions","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","concat","languageUtils","getBestMatchFromCodes","_this2","cacheName","K","locale","BOOTSTRAP_ERROR","i18n","use","LanguageDetector","initReactI18next","fallbackLng","debug","process","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","en","zh","initI18n","on","moment","initializeLibrary","DLL_PATH","BRICK_NEXT_VERSIONS","BRICK_NEXT_FEATURES","analyzer","root","body","pluginRuntime","createRuntime","mountPoints","menuBar","querySelector","appBar","loadingBar","main","bg","portal","STANDALONE_MICRO_APPS","api","getBasePath","apiAnalyzer","bootstrap","console","error","classList","add","ReactDOM","render","status","title","subTitle","httpErrorToString","http","interceptors","request","headers","Headers","set","resolvedLanguage","mockInfo","getMockInfo","url","mockId","userInstanceId","uid","username","getAuth","date","now","meta","st","time","round","interceptorParams","ignoreLoadingBar","dispatchEvent","CustomEvent","response","analyses","observe","data","Promise","reject","dll"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,G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OAArB,CAA8B,S,uBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B,S,qBCA/CG,EAAOD,QAAWF,EAAoB,OAArB,CAA8B","file":"main.93305de2129d401f3fd9.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"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 query = window.location.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\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\ni18n.on(\"languageChanged\", function (lng) {\n moment.locale(lng);\n});\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} 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 pluginRuntime = 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 = `${pluginRuntime.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);\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\nasync function bootstrap(): Promise<void> {\n try {\n await pluginRuntime.bootstrap(mountPoints);\n } catch (e) {\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\nbootstrap();\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":""}
|
|
@@ -428,7 +428,12 @@ html[data-theme="dark-v2"],
|
|
|
428
428
|
|
|
429
429
|
--menu-bg: #4e93ef;
|
|
430
430
|
--menu-item-selected-bg: var(--color-brand);
|
|
431
|
+
--menu-group-active-bg: var(--palette-blue-7);
|
|
432
|
+
--menu-collapse-bar-border-color: rgba(255, 255, 255, 0.08);
|
|
433
|
+
--menu-collapse-bar-bg: rgba(255, 255, 255, 0.08);
|
|
434
|
+
--menu-submenu-group-active-bg: var(--palette-gray-3);
|
|
431
435
|
--menu-item-hover: #3e86e6;
|
|
436
|
+
--menu-submenu-group-selected-bg: var(--palette-gray-3);
|
|
432
437
|
--menu-submenu-selected-bg: rgba(0, 99, 206, 0.2);
|
|
433
438
|
--menu-dropdown-bg: var(--palette-blue-1);
|
|
434
439
|
--app-submenu-active-bg: #e0eeff;
|
|
@@ -473,6 +478,9 @@ html[data-theme="dark-v2"],
|
|
|
473
478
|
--antd-icon-color-hover: rgba(0, 0, 0, 0.75);
|
|
474
479
|
--antd-error-color: #ff4d4f;
|
|
475
480
|
--antd-error-color-fade-20: rgba(242, 76, 37, 0.2);
|
|
481
|
+
--antd-link-color: var(--antd-primary-color);
|
|
482
|
+
--antd-link-hover-color: #2893f7;
|
|
483
|
+
--antd-link-active-color: #0058c4;
|
|
476
484
|
|
|
477
485
|
/*** menu ***/
|
|
478
486
|
--antd-menu-bg: #4e93ef;
|
|
@@ -881,6 +889,10 @@ html[data-theme="dark-v2"],
|
|
|
881
889
|
--antd-cascader-menu-item-border-width: var(--border-width-base);
|
|
882
890
|
--antd-cascader-menu-item-border-color: var(--color-border-divider-line);
|
|
883
891
|
|
|
892
|
+
/*** tabs ***/
|
|
893
|
+
--antd-tabs-highlight-color: var(--color-brand);
|
|
894
|
+
--antd-tabs-hover-color: var(--antd-link-hover-color);
|
|
895
|
+
|
|
884
896
|
/*** cmdb instances timeline ***/
|
|
885
897
|
--cmdb-instance-timeline-bg-color: var(--antd-card-background);
|
|
886
898
|
--cmdb-instance-timeline-top-month-font-weight: var(--font-weight-400);
|
|
@@ -921,6 +933,29 @@ html[data-theme="dark-v2"],
|
|
|
921
933
|
/*** hexagon-map-chart ***/
|
|
922
934
|
--hexagon-map-chart-polygon-hover-stroke: #2d99ff;
|
|
923
935
|
--hexagon-map-chart-fill-default-color: #d8d8d8;
|
|
936
|
+
|
|
937
|
+
/*** log-display ***/
|
|
938
|
+
--log-display-border-color: #292c33;
|
|
939
|
+
--log-display-bg: #2f333d;
|
|
940
|
+
--log-display-color: #c5c8c6;
|
|
941
|
+
|
|
942
|
+
/*** card-item ***/
|
|
943
|
+
--card-item-border-color: var(--stroke-color-default);
|
|
944
|
+
--card-item-border-radius: var(--card-inner-border-radius);
|
|
945
|
+
--card-item-bg: var(--antd-component-background);
|
|
946
|
+
--card-item-hover-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
|
|
947
|
+
|
|
948
|
+
/*** entry-card-item ***/
|
|
949
|
+
--entry-card-item-bg: var(--antd-card-background);
|
|
950
|
+
--entry-card-item-radius: var(--larger-border-radius);
|
|
951
|
+
--entry-card-item-color: var(--text-color-default);
|
|
952
|
+
--entry-card-item-hover-shadow: var(--antd-card-shadow);
|
|
953
|
+
--entry-card-item-highlight-hover-color: var(--text-color-link);
|
|
954
|
+
--entry-card-item-default-hover-color: #08132d;
|
|
955
|
+
|
|
956
|
+
/*** dropdown-select ***/
|
|
957
|
+
--dropdown-select-shape-type-trigger-shadow: 0px 2px 6px 0px #dcdcdc;
|
|
958
|
+
--dropdown-select-shape-type-disable-bg: #e5e5e5;
|
|
924
959
|
}
|
|
925
960
|
|
|
926
961
|
html[data-theme="dark-v2"],
|
|
@@ -974,6 +1009,12 @@ html[data-theme="dark-v2"],
|
|
|
974
1009
|
--color-normal-text: var(--palette-rgba-gray-9);
|
|
975
1010
|
--color-border-divider-line: #454547;
|
|
976
1011
|
|
|
1012
|
+
--stroke-color-default: var(--color-text-divider-line);
|
|
1013
|
+
--text-color-default: var(--color-normal-text);
|
|
1014
|
+
--text-color-title: var(--color-header-text);
|
|
1015
|
+
--text-color-secondary: var(--color-secondary-text);
|
|
1016
|
+
--text-color-link: var(--color-brand);
|
|
1017
|
+
|
|
977
1018
|
--color-info-bg: var(--palette-blue-2);
|
|
978
1019
|
|
|
979
1020
|
--color-success-bg: var(--palette-green-2);
|
|
@@ -1003,10 +1044,12 @@ html[data-theme="dark-v2"],
|
|
|
1003
1044
|
|
|
1004
1045
|
--menu-bg: var(--palette-gray-3);
|
|
1005
1046
|
--menu-item-selected-bg: var(--palette-blue-6);
|
|
1047
|
+
--menu-group-active-bg: var(--palette-gray-2);
|
|
1006
1048
|
--menu-collapse-bar-border-color: var(--palette-rgba-gray-3);
|
|
1007
1049
|
--menu-collapse-bar-bg: var(--palette-rgba-gray-3);
|
|
1008
1050
|
--menu-item-hover: var(--palette-rgba-gray-2);
|
|
1009
1051
|
--app-submenu-bg: var(--palette-rgba-gray-2);
|
|
1052
|
+
--menu-submenu-group-selected-bg: var(--palette-rgba-gray-3);
|
|
1010
1053
|
--menu-submenu-selected-bg: var(--palette-rgba-gray-3);
|
|
1011
1054
|
--menu-dropdown-bg: var(--palette-blue-1);
|
|
1012
1055
|
--app-submenu-active-bg: var(--palette-blue-1);
|
|
@@ -1049,6 +1092,10 @@ html[data-theme="dark-v2"],
|
|
|
1049
1092
|
--antd-error-color: var(--color-error);
|
|
1050
1093
|
--antd-error-color-fade-20: rgba(210, 69, 37, 0.2);
|
|
1051
1094
|
|
|
1095
|
+
--antd-link-color: var(--color-brand);
|
|
1096
|
+
--antd-link-hover-color: var(--color-brand-hover);
|
|
1097
|
+
--antd-link-active-color: var(--color-brand-active);
|
|
1098
|
+
|
|
1052
1099
|
/*** menu ***/
|
|
1053
1100
|
--antd-menu-bg: var(--menu-bg);
|
|
1054
1101
|
--antd-menu-color: var(--color-header-text);
|
|
@@ -1299,6 +1346,10 @@ html[data-theme="dark-v2"],
|
|
|
1299
1346
|
--antd-description-item-label-color: var(--color-secondary-text);
|
|
1300
1347
|
--antd-description-item-content-color: var(--color-header-text);
|
|
1301
1348
|
|
|
1349
|
+
/*** tabs ***/
|
|
1350
|
+
--antd-tabs-highlight-color: var(--color-brand);
|
|
1351
|
+
--antd-tabs-hover-color: var(--color-brand-hover);
|
|
1352
|
+
|
|
1302
1353
|
/*** cmdb instance detail ***/
|
|
1303
1354
|
--cmdb-instance-detail-detail-description-item-label: var(
|
|
1304
1355
|
--color-secondary-text
|
|
@@ -1518,6 +1569,30 @@ html[data-theme="dark-v2"],
|
|
|
1518
1569
|
/*** hexagon-map-chart ***/
|
|
1519
1570
|
--hexagon-map-chart-polygon-hover-stroke: #38a4f0;
|
|
1520
1571
|
--hexagon-map-chart-fill-default-color: #4c4c4d;
|
|
1572
|
+
|
|
1573
|
+
/*** log-display ***/
|
|
1574
|
+
--log-display-border-color: #323330;
|
|
1575
|
+
--log-display-bg: #1b1c19;
|
|
1576
|
+
--log-display-color: var(--color-normal-text);
|
|
1577
|
+
|
|
1578
|
+
/*** card-item ***/
|
|
1579
|
+
--card-item-border-color: var(--color-border-divider-line);
|
|
1580
|
+
--card-item-border-radius: var(--card-inner-border-radius);
|
|
1581
|
+
--card-item-bg: var(--color-fill-bg-container-1);
|
|
1582
|
+
--card-item-hover-shadow: var(--hover-shadow);
|
|
1583
|
+
|
|
1584
|
+
/*** entry-card-item ***/
|
|
1585
|
+
--entry-card-item-bg: var(--antd-card-background);
|
|
1586
|
+
--entry-card-item-radius: var(--larger-border-radius);
|
|
1587
|
+
--entry-card-item-color: var(--text-color-default);
|
|
1588
|
+
--entry-card-item-hover-shadow: var(--antd-card-shadow);
|
|
1589
|
+
--entry-card-item-highlight-hover-color: var(--color-brand);
|
|
1590
|
+
--entry-card-item-default-hover-color: var(--color-strong-text);
|
|
1591
|
+
|
|
1592
|
+
/*** dropdown-select ***/
|
|
1593
|
+
--dropdown-select-shape-type-trigger-shadow: 0px 2px 6px 0px
|
|
1594
|
+
rgba(0, 0, 0, 0.4);
|
|
1595
|
+
--dropdown-select-shape-type-disable-bg: var(--color-disabled-text);
|
|
1521
1596
|
}
|
|
1522
1597
|
|
|
1523
1598
|
|
|
@@ -1687,9 +1762,6 @@ html[data-theme="dark-v2"],
|
|
|
1687
1762
|
--antd-disabled-color-fade-10: rgba(191, 191, 191, 0.9);
|
|
1688
1763
|
--antd-modal-mask-bg-fade-10: rgba(0, 0, 0, 0.1);
|
|
1689
1764
|
|
|
1690
|
-
--antd-link-color: var(--antd-primary-color);
|
|
1691
|
-
--antd-link-hover-color: #2893f7;
|
|
1692
|
-
--antd-link-active-color: #0058c4;
|
|
1693
1765
|
--antd-text-color-secondary: rgba(0, 0, 0, 0.45);
|
|
1694
1766
|
|
|
1695
1767
|
/* antd components */
|
|
@@ -23724,7 +23796,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
|
23724
23796
|
}
|
|
23725
23797
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
|
|
23726
23798
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
|
|
23727
|
-
color:
|
|
23799
|
+
color: var(--antd-tabs-hover-color);
|
|
23728
23800
|
}
|
|
23729
23801
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
|
|
23730
23802
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
|
|
@@ -23786,10 +23858,10 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
|
|
|
23786
23858
|
color: var(--antd-heading-color);
|
|
23787
23859
|
}
|
|
23788
23860
|
.ant-tabs-tab:hover {
|
|
23789
|
-
color:
|
|
23861
|
+
color: var(--antd-tabs-hover-color);
|
|
23790
23862
|
}
|
|
23791
23863
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
23792
|
-
color:
|
|
23864
|
+
color: var(--antd-tabs-highlight-color);
|
|
23793
23865
|
font-weight: 500;
|
|
23794
23866
|
}
|
|
23795
23867
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
|
@@ -27374,7 +27446,7 @@ body.layout-business .ant-select-single .ant-select-selector .ant-select-selecti
|
|
|
27374
27446
|
background-color: var(--theme-blue-background);
|
|
27375
27447
|
}
|
|
27376
27448
|
.ant-input-group-addon {
|
|
27377
|
-
color:
|
|
27449
|
+
color: var(--color-normal-text);
|
|
27378
27450
|
background-color: var(--theme-gray-background);
|
|
27379
27451
|
}
|
|
27380
27452
|
.ant-input-group-addon:first-child {
|
|
@@ -28800,4 +28872,4 @@ html[data-mode="dashboard"] body.has-sub-menu #main-mount-point {
|
|
|
28800
28872
|
}
|
|
28801
28873
|
|
|
28802
28874
|
|
|
28803
|
-
/*# sourceMappingURL=main.
|
|
28875
|
+
/*# sourceMappingURL=main.c0a4d1b0c6cf4a616125.css.map*/
|