@next-core/brick-container 2.55.0 → 2.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist/{dll.0b8c8a12.js → dll.3956d584.js} +3 -3
- package/dist/{dll.0b8c8a12.js.map → dll.3956d584.js.map} +1 -1
- package/dist/icons--colored-common.17a0b402.js +2 -0
- package/dist/icons--colored-common.17a0b402.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/{main.50c2375f171a70704db4.js → main.1d60e46df61862efef0b.js} +2 -2
- package/dist/{main.50c2375f171a70704db4.js.map → main.1d60e46df61862efef0b.js.map} +1 -1
- package/dist/{main.6e380418c4090e16f436.css → main.9e536ffa78ccc42b561a.css} +86 -10
- package/dist/main.9e536ffa78ccc42b561a.css.map +1 -0
- package/package.json +8 -8
- package/dist/icons--colored-common.2f200010.js +0 -2
- package/dist/icons--colored-common.2f200010.js.map +0 -1
- package/dist/main.6e380418c4090e16f436.css.map +0 -1
|
@@ -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,EA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AOuI,cAAc,IAAIC,YAAY,gBAC7B,QAAR,EAAApD,SAAA,SAAUsD,SAASD,GACyB,cAArC,UAAAA,EAASlM,OAAOe,eAAhB,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.50c2375f171a70704db4.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 default Browser;\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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AAWF,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.1d60e46df61862efef0b.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 default Browser;\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":""}
|
|
@@ -265,7 +265,7 @@ html[data-theme="dark-v2"],
|
|
|
265
265
|
--color-success: var(--palette-green-6);
|
|
266
266
|
--color-success-hover: var(--palette-green-4);
|
|
267
267
|
--color-success-active: var(--palette-green-8);
|
|
268
|
-
--color-success-bg: var(--palette-green-
|
|
268
|
+
--color-success-bg: var(--palette-green-1);
|
|
269
269
|
--color-success-outline: var(--palette-green-3);
|
|
270
270
|
|
|
271
271
|
--color-info: var(--palette-blue-6);
|
|
@@ -280,13 +280,13 @@ html[data-theme="dark-v2"],
|
|
|
280
280
|
--color-warning: var(--palette-amber-6);
|
|
281
281
|
--color-warning-hover: var(--palette-amber-4);
|
|
282
282
|
--color-warning-active: var(--palette-amber-8);
|
|
283
|
-
--color-warning-bg: var(--palette-amber-
|
|
283
|
+
--color-warning-bg: var(--palette-amber-1);
|
|
284
284
|
--color-warning-outline: var(--palette-amber-3);
|
|
285
285
|
|
|
286
286
|
--color-error: var(--palette-red-6);
|
|
287
287
|
--color-error-hover: var(--palette-red-4);
|
|
288
288
|
--color-error-active: var(--palette-red-8);
|
|
289
|
-
--color-error-bg: var(--palette-red-
|
|
289
|
+
--color-error-bg: var(--palette-red-1);
|
|
290
290
|
--color-error-outline: var(--palette-red-3);
|
|
291
291
|
--color-white: #fff;
|
|
292
292
|
|
|
@@ -355,6 +355,7 @@ html[data-theme="dark-v2"],
|
|
|
355
355
|
--input-outline-hover: var(--palette-blue-6);
|
|
356
356
|
--input-outline-focus: var(--palette-blue-6);
|
|
357
357
|
--input-fill-bg: var(--palette-gray-3);
|
|
358
|
+
--input-outline-disabled: var(--palette-gray-3);
|
|
358
359
|
|
|
359
360
|
--chart-legend-font-size: 12px;
|
|
360
361
|
--chart-tooltips-font-size: 12px;
|
|
@@ -423,6 +424,12 @@ html[data-theme="dark-v2"],
|
|
|
423
424
|
--antd-checkbox-bg-hover: var(--checkbox-bg-hover);
|
|
424
425
|
--antd-checkbox-checked: var(--checkbox-bg-active);
|
|
425
426
|
--antd-checkbox-check-bg: var(--antd-component-background);
|
|
427
|
+
--antd-checkbox-custom-type-icon-color: var(--antd-heading-color);
|
|
428
|
+
--antd-checkbox-custom-type-color: var(--palette-gray-8);
|
|
429
|
+
--antd-checkbox-custom-type-item-border-color: var(--palette-gray-5);
|
|
430
|
+
--antd-checkbox-custom-type-item-hover-border-color: #65b2ff;
|
|
431
|
+
--antd-checkbox-custom-type-disabled-color: var(--color-disabled-text);
|
|
432
|
+
--antd-checkbox-custom-type-disabled-icon-color: var(--color-disabled-text);
|
|
426
433
|
|
|
427
434
|
/*** card ***/
|
|
428
435
|
--antd-card-background: var(--antd-component-background);
|
|
@@ -608,6 +615,27 @@ html[data-theme="dark-v2"],
|
|
|
608
615
|
--antd-tabs-panel-type-shadow: none;
|
|
609
616
|
--antd-tbas-panel-type-selected-color: var(--color-white);
|
|
610
617
|
--antd-tabs-panel-type-selected-bg: var(--antd-primary-color);
|
|
618
|
+
|
|
619
|
+
/*** inputNumber ***/
|
|
620
|
+
--antd-input-number-handler-wrap-bg: var(--palette-gray-3);
|
|
621
|
+
--antd-input-number-handler-wrap-icon: var(--antd-text-color-secondary);
|
|
622
|
+
--antd-input-number-handler-wrap-hover-bg: #ebf3fd;
|
|
623
|
+
|
|
624
|
+
/*** description ***/
|
|
625
|
+
--antd-description-title-color: var(--palette-gray-9);
|
|
626
|
+
--antd-description-item-label-color: var(--palette-gray-8);
|
|
627
|
+
--antd-description-item-content-color: var(--palette-gray-9);
|
|
628
|
+
|
|
629
|
+
/*** cmdb instance detail ***/
|
|
630
|
+
--cmdb-instance-detail-detail-description-item-label: rgba(0, 0, 0, 0.65);
|
|
631
|
+
--cmdb-instance-detail-detail-description-item-content: var(
|
|
632
|
+
--antd-heading-color
|
|
633
|
+
);
|
|
634
|
+
--cmdb-instance-detail-description-group-color: #404143;
|
|
635
|
+
--cmdb-instance-detail-group-label-bg: var(--palette-gray-3);
|
|
636
|
+
--cmdb-instance-detail-group-label-color: #333;
|
|
637
|
+
--cmdb-instance-detail-group-label-active-bg: #167be0;
|
|
638
|
+
--cmdb-instance-detail-group-label-active-color: var(--color-white);
|
|
611
639
|
}
|
|
612
640
|
|
|
613
641
|
html[data-theme="dark-v2"],
|
|
@@ -644,8 +672,15 @@ html[data-theme="dark-v2"],
|
|
|
644
672
|
--color-strong-text: var(--palette-gray-10);
|
|
645
673
|
--color-normal-text: var(--palette-gray-9);
|
|
646
674
|
--color-auxiliary-text: var(--palette-gray-9);
|
|
675
|
+
|
|
647
676
|
--color-info-bg: var(--palette-blue-2);
|
|
648
677
|
|
|
678
|
+
--color-success-bg: var(--palette-green-2);
|
|
679
|
+
|
|
680
|
+
--color-warning-bg: var(--palette-amber-2);
|
|
681
|
+
|
|
682
|
+
--color-error-bg: var(--palette-red-2);
|
|
683
|
+
|
|
649
684
|
--color-normal-icon: var(--palette-gray-10);
|
|
650
685
|
|
|
651
686
|
--mask-bg: rgba(23, 23, 26, 0.6);
|
|
@@ -738,6 +773,18 @@ html[data-theme="dark-v2"],
|
|
|
738
773
|
--antd-checkbox-bg-hover: var(--checkbox-bg-hover);
|
|
739
774
|
--antd-checkbox-checked: var(--checkbox-bg-active);
|
|
740
775
|
--antd-checkbox-check-bg: transparent;
|
|
776
|
+
--antd-checkbox-custom-type-icon-color: var(--color-strong-text);
|
|
777
|
+
--antd-checkbox-custom-type-color: var(--color-normal-text);
|
|
778
|
+
--antd-checkbox-custom-type-item-border-color: var(
|
|
779
|
+
--color-border-divider-line
|
|
780
|
+
);
|
|
781
|
+
--antd-checkbox-custom-type-item-hover-border-color: var(
|
|
782
|
+
--input-outline-focus
|
|
783
|
+
);
|
|
784
|
+
--antd-checkbox-custom-type-disabled-color: var(--color-disabled-text);
|
|
785
|
+
--antd-checkbox-custom-type-disabled-icon-color: var(
|
|
786
|
+
--input-outline-disabled
|
|
787
|
+
);
|
|
741
788
|
|
|
742
789
|
/*** card ***/
|
|
743
790
|
--antd-card-background: var(--color-fill-bg-container-1);
|
|
@@ -929,6 +976,31 @@ html[data-theme="dark-v2"],
|
|
|
929
976
|
--antd-tabs-panel-type-shadow: var(--base-shadow);
|
|
930
977
|
--antd-tbas-panel-type-selected-color: var(--color-normal-icon);
|
|
931
978
|
--antd-tabs-panel-type-selected-bg: var(--color-brand);
|
|
979
|
+
|
|
980
|
+
/*** inputNumber ***/
|
|
981
|
+
--antd-input-number-handler-wrap-bg: var(--color-fill-bg-base-1);
|
|
982
|
+
--antd-input-number-handler-wrap-icon: var(--color-auxiliary-text);
|
|
983
|
+
--antd-input-number-handler-wrap-hover-bg: var(--palette-blue-2);
|
|
984
|
+
|
|
985
|
+
/*** description ***/
|
|
986
|
+
--antd-description-title-color: var(--color-header-text);
|
|
987
|
+
--antd-description-item-label-color: var(--color-secondary-text);
|
|
988
|
+
--antd-description-item-content-color: var(--color-header-text);
|
|
989
|
+
|
|
990
|
+
/*** cmdb instance detail ***/
|
|
991
|
+
--cmdb-instance-detail-detail-description-item-label: var(
|
|
992
|
+
--color-secondary-text
|
|
993
|
+
);
|
|
994
|
+
--cmdb-instance-detail-detail-description-item-content: var(
|
|
995
|
+
--color-header-text
|
|
996
|
+
);
|
|
997
|
+
--cmdb-instance-detail-description-group-color: var(
|
|
998
|
+
--antd-description-title-color
|
|
999
|
+
);
|
|
1000
|
+
--cmdb-instance-detail-group-label-bg: var(--color-fill-bg-base-1);
|
|
1001
|
+
--cmdb-instance-detail-group-label-color: var(--color-normal-text);
|
|
1002
|
+
--cmdb-instance-detail-group-label-active-bg: var(--color-brand);
|
|
1003
|
+
--cmdb-instance-detail-group-label-active-color: var(--color-white);
|
|
932
1004
|
}
|
|
933
1005
|
|
|
934
1006
|
|
|
@@ -26469,7 +26541,7 @@ html[data-theme="dark"] .ant-tag-yellow {
|
|
|
26469
26541
|
background: var(--antd-checkbox-checked);
|
|
26470
26542
|
}
|
|
26471
26543
|
.ant-descriptions-title {
|
|
26472
|
-
color:
|
|
26544
|
+
color: var(--antd-description-title-color);
|
|
26473
26545
|
font-weight: normal;
|
|
26474
26546
|
font-size: 14px;
|
|
26475
26547
|
line-height: 20px;
|
|
@@ -26479,10 +26551,10 @@ html[data-theme="dark"] .ant-tag-yellow {
|
|
|
26479
26551
|
padding-right: 16px;
|
|
26480
26552
|
}
|
|
26481
26553
|
.ant-descriptions-item-label {
|
|
26482
|
-
color:
|
|
26554
|
+
color: var(--antd-description-item-label-color);
|
|
26483
26555
|
}
|
|
26484
26556
|
.ant-descriptions-item-content {
|
|
26485
|
-
color:
|
|
26557
|
+
color: var(--antd-description-item-content-color);
|
|
26486
26558
|
}
|
|
26487
26559
|
.ant-descriptions-row > td {
|
|
26488
26560
|
padding-bottom: 10px;
|
|
@@ -26491,7 +26563,7 @@ html[data-theme="dark"] .ant-tag-yellow {
|
|
|
26491
26563
|
padding-bottom: 0;
|
|
26492
26564
|
}
|
|
26493
26565
|
html[data-theme="dark"] .ant-descriptions-title {
|
|
26494
|
-
color: #
|
|
26566
|
+
color: #ffffff;
|
|
26495
26567
|
}
|
|
26496
26568
|
html[data-theme="dark"] .ant-descriptions-item-label {
|
|
26497
26569
|
color: rgba(255, 255, 255, 0.65);
|
|
@@ -26724,10 +26796,14 @@ body.layout-business .ant-select-single .ant-select-selector .ant-select-selecti
|
|
|
26724
26796
|
width: 20px;
|
|
26725
26797
|
border-left-color: transparent;
|
|
26726
26798
|
background-clip: content-box;
|
|
26727
|
-
background-color: var(--
|
|
26799
|
+
background-color: var(--antd-input-number-handler-wrap-bg);
|
|
26800
|
+
}
|
|
26801
|
+
.ant-input-number-handler-wrap-handler-up-inner,
|
|
26802
|
+
.ant-input-number-handler-wrap-handler-down-inner {
|
|
26803
|
+
color: var(--antd-input-number-handler-wrap-icon);
|
|
26728
26804
|
}
|
|
26729
26805
|
.ant-input-number-handler:hover {
|
|
26730
|
-
background-color: var(--
|
|
26806
|
+
background-color: var(--antd-input-number-handler-wrap-hover-bg);
|
|
26731
26807
|
}
|
|
26732
26808
|
.ant-input-number-handler-down {
|
|
26733
26809
|
border-top-color: transparent;
|
|
@@ -28092,4 +28168,4 @@ html[data-mode="dashboard"] body.has-sub-menu #main-mount-point {
|
|
|
28092
28168
|
}
|
|
28093
28169
|
|
|
28094
28170
|
|
|
28095
|
-
/*# sourceMappingURL=main.
|
|
28171
|
+
/*# sourceMappingURL=main.9e536ffa78ccc42b561a.css.map*/
|