@next-bricks/nav 1.20.4 → 1.20.5

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.
Files changed (76) hide show
  1. package/dist/bricks.json +33 -33
  2. package/dist/chunks/{2133.559b27f4.js → 2133.aef409c7.js} +2 -2
  3. package/dist/chunks/{2133.559b27f4.js.map → 2133.aef409c7.js.map} +1 -1
  4. package/dist/chunks/{2252.41e4ffe1.js → 2252.1f2ddd43.js} +3 -3
  5. package/dist/chunks/{2252.41e4ffe1.js.map → 2252.1f2ddd43.js.map} +1 -1
  6. package/dist/chunks/{3796.d842d92d.js → 3796.a67f6b8b.js} +3 -3
  7. package/dist/chunks/{3796.d842d92d.js.map → 3796.a67f6b8b.js.map} +1 -1
  8. package/dist/chunks/{4185.20553a3b.js → 4185.0c02786e.js} +3 -3
  9. package/dist/chunks/4185.0c02786e.js.map +1 -0
  10. package/dist/chunks/{4727.ad0cf061.js → 4727.f8d5254c.js} +2 -2
  11. package/dist/chunks/{4727.ad0cf061.js.map → 4727.f8d5254c.js.map} +1 -1
  12. package/dist/chunks/{4837.9ff6a495.js → 4837.4c653276.js} +2 -2
  13. package/dist/chunks/{4837.9ff6a495.js.map → 4837.4c653276.js.map} +1 -1
  14. package/dist/chunks/{6595.29578dae.js → 6595.b2dd96b5.js} +2 -2
  15. package/dist/chunks/{6595.29578dae.js.map → 6595.b2dd96b5.js.map} +1 -1
  16. package/dist/chunks/{7218.e7af0875.js → 7218.6c2c7ced.js} +2 -2
  17. package/dist/chunks/{7218.e7af0875.js.map → 7218.6c2c7ced.js.map} +1 -1
  18. package/dist/chunks/7505.cfc7935d.js +2 -0
  19. package/dist/chunks/{7505.23929a28.js.map → 7505.cfc7935d.js.map} +1 -1
  20. package/dist/chunks/{8274.f3eac0a0.js → 8274.d432bcf7.js} +3 -3
  21. package/dist/chunks/{8274.f3eac0a0.js.map → 8274.d432bcf7.js.map} +1 -1
  22. package/dist/chunks/{9149.6d7bbb31.js → 9149.ee32e2cf.js} +2 -2
  23. package/dist/chunks/{9149.6d7bbb31.js.map → 9149.ee32e2cf.js.map} +1 -1
  24. package/dist/chunks/{easyops-navbar-alerts.c422031d.js → easyops-navbar-alerts.5b1581a4.js} +2 -2
  25. package/dist/chunks/{easyops-navbar-alerts.c422031d.js.map → easyops-navbar-alerts.5b1581a4.js.map} +1 -1
  26. package/dist/chunks/{eo-directory-tree.4a6b5daf.js → eo-directory-tree.ee975134.js} +3 -3
  27. package/dist/chunks/{eo-directory-tree.4a6b5daf.js.map → eo-directory-tree.ee975134.js.map} +1 -1
  28. package/dist/chunks/{eo-directory.4fad406c.js → eo-directory.d6fc18cf.js} +3 -3
  29. package/dist/chunks/{eo-directory.4fad406c.js.map → eo-directory.d6fc18cf.js.map} +1 -1
  30. package/dist/chunks/{eo-frame-breadcrumb.ae790b2b.js → eo-frame-breadcrumb.5e0dd891.js} +2 -2
  31. package/dist/chunks/{eo-frame-breadcrumb.ae790b2b.js.map → eo-frame-breadcrumb.5e0dd891.js.map} +1 -1
  32. package/dist/chunks/{eo-launchpad-button-v2.64cf59ce.js → eo-launchpad-button-v2.4f8487f2.js} +3 -3
  33. package/dist/chunks/{eo-launchpad-button-v2.64cf59ce.js.map → eo-launchpad-button-v2.4f8487f2.js.map} +1 -1
  34. package/dist/chunks/{eo-nav-menu.95d97bec.js → eo-nav-menu.9b6796fc.js} +2 -2
  35. package/dist/chunks/{eo-nav-menu.95d97bec.js.map → eo-nav-menu.9b6796fc.js.map} +1 -1
  36. package/dist/chunks/{eo-sidebar-menu-group.5bb5c7c3.js → eo-sidebar-menu-group.ff0786e7.js} +3 -3
  37. package/dist/chunks/{eo-sidebar-menu-group.5bb5c7c3.js.map → eo-sidebar-menu-group.ff0786e7.js.map} +1 -1
  38. package/dist/chunks/{eo-sidebar-menu-submenu.15fad528.js → eo-sidebar-menu-submenu.b0bf87c3.js} +3 -3
  39. package/dist/chunks/{eo-sidebar-menu-submenu.15fad528.js.map → eo-sidebar-menu-submenu.b0bf87c3.js.map} +1 -1
  40. package/dist/chunks/{eo-sidebar-menu.3f7b4dc7.js → eo-sidebar-menu.7471c495.js} +2 -2
  41. package/dist/chunks/{eo-sidebar-menu.3f7b4dc7.js.map → eo-sidebar-menu.7471c495.js.map} +1 -1
  42. package/dist/chunks/{eo-sidebar-sub-menu.a809e015.js → eo-sidebar-sub-menu.b4b34ccd.js} +3 -3
  43. package/dist/chunks/{eo-sidebar-sub-menu.a809e015.js.map → eo-sidebar-sub-menu.b4b34ccd.js.map} +1 -1
  44. package/dist/chunks/{eo-sidebar.9a9a6054.js → eo-sidebar.6eaf5e26.js} +3 -3
  45. package/dist/chunks/{eo-sidebar.9a9a6054.js.map → eo-sidebar.6eaf5e26.js.map} +1 -1
  46. package/dist/chunks/{launchpad-config.479407f6.js → launchpad-config.e983ca1b.js} +3 -3
  47. package/dist/chunks/{launchpad-config.479407f6.js.map → launchpad-config.e983ca1b.js.map} +1 -1
  48. package/dist/chunks/main.c4f2045a.js +2 -0
  49. package/dist/chunks/{main.0231200e.js.map → main.c4f2045a.js.map} +1 -1
  50. package/dist/chunks/{nav-logo.3e0f52b3.js → nav-logo.b899f2ea.js} +2 -2
  51. package/dist/chunks/{nav-logo.3e0f52b3.js.map → nav-logo.b899f2ea.js.map} +1 -1
  52. package/dist/chunks/{poll-announce.66dcddef.js → poll-announce.2d383f61.js} +3 -3
  53. package/dist/chunks/{poll-announce.66dcddef.js.map → poll-announce.2d383f61.js.map} +1 -1
  54. package/dist/examples.json +9 -9
  55. package/dist/index.c8148736.js +2 -0
  56. package/dist/{index.0a520103.js.map → index.c8148736.js.map} +1 -1
  57. package/dist/manifest.json +102 -102
  58. package/dist/types.json +58 -58
  59. package/package.json +2 -2
  60. package/dist/chunks/4185.20553a3b.js.map +0 -1
  61. package/dist/chunks/7505.23929a28.js +0 -2
  62. package/dist/chunks/main.0231200e.js +0 -2
  63. package/dist/index.0a520103.js +0 -2
  64. /package/dist/chunks/{2252.41e4ffe1.js.LICENSE.txt → 2252.1f2ddd43.js.LICENSE.txt} +0 -0
  65. /package/dist/chunks/{3796.d842d92d.js.LICENSE.txt → 3796.a67f6b8b.js.LICENSE.txt} +0 -0
  66. /package/dist/chunks/{4185.20553a3b.js.LICENSE.txt → 4185.0c02786e.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{8274.f3eac0a0.js.LICENSE.txt → 8274.d432bcf7.js.LICENSE.txt} +0 -0
  68. /package/dist/chunks/{eo-directory-tree.4a6b5daf.js.LICENSE.txt → eo-directory-tree.ee975134.js.LICENSE.txt} +0 -0
  69. /package/dist/chunks/{eo-directory.4fad406c.js.LICENSE.txt → eo-directory.d6fc18cf.js.LICENSE.txt} +0 -0
  70. /package/dist/chunks/{eo-launchpad-button-v2.64cf59ce.js.LICENSE.txt → eo-launchpad-button-v2.4f8487f2.js.LICENSE.txt} +0 -0
  71. /package/dist/chunks/{eo-sidebar-menu-group.5bb5c7c3.js.LICENSE.txt → eo-sidebar-menu-group.ff0786e7.js.LICENSE.txt} +0 -0
  72. /package/dist/chunks/{eo-sidebar-menu-submenu.15fad528.js.LICENSE.txt → eo-sidebar-menu-submenu.b0bf87c3.js.LICENSE.txt} +0 -0
  73. /package/dist/chunks/{eo-sidebar-sub-menu.a809e015.js.LICENSE.txt → eo-sidebar-sub-menu.b4b34ccd.js.LICENSE.txt} +0 -0
  74. /package/dist/chunks/{eo-sidebar.9a9a6054.js.LICENSE.txt → eo-sidebar.6eaf5e26.js.LICENSE.txt} +0 -0
  75. /package/dist/chunks/{launchpad-config.479407f6.js.LICENSE.txt → launchpad-config.e983ca1b.js.LICENSE.txt} +0 -0
  76. /package/dist/chunks/{poll-announce.66dcddef.js.LICENSE.txt → poll-announce.2d383f61.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/poll-announce.66dcddef.js","mappings":";wKACe,SAASA,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,i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GAAA,CAAAA,EAAAY,KAAAuG,EAAAA,EAAAA,GAAArB,EAAA9F,EAAAY,IAAA,CAUrCwE,EAAM,CAAEyF,KAAM,sBAAsB,cAAA7K,IAAAkH,EAAAA,EAAAA,GAAAhB,EAAAlG,GAAA,CAAAA,EAAAY,KAAAuG,EAAAA,EAAAA,GAAAjB,EAAAlG,EAAAY,KAAA,GAAAoK,GAAA7E,EAAArI,KAAAiG,EAAAA,EAAAA,GAAAiH,KA/BZ3E,EAAAA,mBAAgBoE,mDC5CpC,MAAMlB,EAAoCtF,MAAOgH,EAAQxO,WAAiG,EAAAyH,KAAKpK,IAAI,+FAAgG,IACrQ2C,EACHwO,YACE9G,oDCHG,MAAM8E,EAA6B,CAAC9E,EAAM1H,IAAmF,EAAAyH,KAAKgH,KAAK,qFAAsF/G,EAAM1H","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///./src/poll-announce/notification.module.css","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2311.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js","webpack:///./src/poll-announce/notification.module.css?4226","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///./src/poll-announce/i18n.ts","webpack:///./src/poll-announce/styles.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.js","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/pollAnnounce.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///./src/poll-announce/index.tsx","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/listEffectiveAnnounce.js","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/ignoreAnnounce.js"],"sourcesContent":["import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.message--Fxvh9j9V{color:var(--color-normal-text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"message\": `message--Fxvh9j9V`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import _typeof from \"./typeof.js\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2311(e, t, n, r, o, i) {\n var a,\n c,\n u,\n s,\n f,\n l,\n p,\n d = Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"),\n m = Object.defineProperty,\n h = Object.create,\n y = [h(null), h(null)],\n v = t.length;\n function g(t, n, r) {\n return function (o, i) {\n n && (i = o, o = e);\n for (var a = 0; a < t.length; a++) i = t[a].apply(o, r ? [i] : []);\n return r ? i : o;\n };\n }\n function b(e, t, n, r) {\n if (\"function\" != typeof e && (r || void 0 !== e)) throw new TypeError(t + \" must \" + (n || \"be\") + \" a function\" + (r ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, n, r, o, i, u, s, f, l, p) {\n function d(e) {\n if (!p(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var h = [].concat(t[0]),\n v = t[3],\n w = !u,\n D = 1 === o,\n S = 3 === o,\n j = 4 === o,\n E = 2 === o;\n function I(t, n, r) {\n return function (o, i) {\n return n && (i = o, o = e), r && r(o), P[t].call(o, i);\n };\n }\n if (!w) {\n var P = {},\n k = [],\n F = S ? \"get\" : j || D ? \"set\" : \"value\";\n if (f ? (l || D ? P = {\n get: setFunctionName(function () {\n return v(this);\n }, r, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : P[F] = v, l || setFunctionName(P[F], r, E ? \"\" : F)) : l || (P = Object.getOwnPropertyDescriptor(e, r)), !l && !f) {\n if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error(\"Decorating two elements with the same name (\" + P[F].name + \") is not supported yet\");\n y[+s][r] = o < 3 ? 1 : o;\n }\n }\n for (var N = e, O = h.length - 1; O >= 0; O -= n ? 2 : 1) {\n var z = b(h[O], \"A decorator\", \"be\", !0),\n A = n ? h[O - 1] : void 0,\n H = {},\n K = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: r,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw Error(\"attempted to call addInitializer after decoration was finished\");\n b(t, \"An initializer\", \"be\", !0), i.push(t);\n }.bind(null, H)\n };\n if (w) c = z.call(A, N, K), H.v = 1, b(c, \"class decorators\", \"return\") && (N = c);else if (K[\"static\"] = s, K[\"private\"] = f, c = K.access = {\n has: f ? p.bind() : function (e) {\n return r in e;\n }\n }, j || (c.get = f ? E ? function (e) {\n return d(e), P.value;\n } : I(\"get\", 0, d) : function (e) {\n return e[r];\n }), E || S || (c.set = f ? I(\"set\", 0, d) : function (e, t) {\n e[r] = t;\n }), N = z.call(A, D ? {\n get: P.get,\n set: P.set\n } : P[F], K), H.v = 1, D) {\n if (\"object\" == _typeof(N) && N) (c = b(N.get, \"accessor.get\")) && (P.get = c), (c = b(N.set, \"accessor.set\")) && (P.set = c), (c = b(N.init, \"accessor.init\")) && k.unshift(c);else if (void 0 !== N) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or undefined\");\n } else b(N, (l ? \"field\" : \"method\") + \" decorators\", \"return\") && (l ? k.unshift(N) : P[F] = N);\n }\n return o < 2 && u.push(g(k, s, 1), g(i, s, 0)), l || w || (f ? D ? u.splice(-1, 0, I(\"get\", s), I(\"set\", s)) : u.push(E ? P[F] : b.call.bind(P[F])) : m(e, r, P)), N;\n }\n function w(e) {\n return m(e, d, {\n configurable: !0,\n enumerable: !0,\n value: a\n });\n }\n return void 0 !== i && (a = i[d]), a = h(null == a ? null : a), f = [], l = function l(e) {\n e && f.push(g(e));\n }, p = function p(t, r) {\n for (var i = 0; i < n.length; i++) {\n var a = n[i],\n c = a[1],\n l = 7 & c;\n if ((8 & c) == t && !l == r) {\n var p = a[2],\n d = !!a[3],\n m = 16 & c;\n applyDec(t ? e : e.prototype, a, m, d ? \"#\" + p : toPropertyKey(p), l, l < 2 ? [] : t ? s = s || [] : u = u || [], f, !!t, d, r, t && d ? function (t) {\n return checkInRHS(t) === e;\n } : o);\n }\n }\n }, p(8, 0), p(0, 0), p(8, 1), p(0, 1), l(u), l(s), c = f, v || w(e), {\n e: c,\n get c() {\n var n = [];\n return v && [w(e = applyDec(e, [t], r, e.name, 5, n)), g(n, 1)];\n }\n };\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateGetter(s, r, a) {\n return a(assertClassBrand(s, r));\n}","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./notification.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./notification.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","/* istanbul ignore file */\nexport enum K {\n VIEW_DETAILS = \"VIEW_DETAILS\",\n DISMISS = \"DISMISS\",\n}\n\nconst en: Locale = {\n VIEW_DETAILS: \"View details\",\n DISMISS: \"Dismiss\",\n};\n\nconst zh: Locale = {\n VIEW_DETAILS: \"查看详情\",\n DISMISS: \"忽略\",\n};\n\nexport const NS = \"bricks/nav/poll-announce\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [k in K]: string } & {\n [k in K as `${k}_plural`]?: string;\n};\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host{display:inline-block}:host([hidden]){display:none}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\n}","import { http } from \"@next-core/http\";\n/**\n * @description 获取实时公告,长链接\n * @endpoint GET /api/sys_setting/v1/announce/poll\n */\nexport const AnnounceApi_pollAnnounce = async options => /**! @contract easyops.api.sys_setting.announce.PollAnnounce@1.0.0 */(await http.get(\"api/gateway/sys_setting.announce.PollAnnounce/api/sys_setting/v1/announce/poll\", options)).data;\n//# sourceMappingURL=pollAnnounce.js.map","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","/* istanbul ignore file */\nimport React, { useEffect } from \"react\";\nimport { createDecorators, type EventEmitter } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport { httpErrorToString } from \"@next-core/runtime\";\nimport { unwrapProvider } from \"@next-core/utils/general\";\nimport \"@next-core/theme\";\nimport { i18n } from \"@next-core/i18n\";\nimport { initializeReactI18n } from \"@next-core/i18n/react\";\nimport type { showNotification as _showNotification } from \"@next-bricks/basic/data-providers/show-notification/show-notification\";\nimport {\n AnnounceApi_ignoreAnnounce,\n AnnounceApi_listEffectiveAnnounce,\n AnnounceApi_pollAnnounce,\n} from \"@next-api-sdk/sys-setting-sdk\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport styleText from \"./styles.shadow.css\";\nimport styles from \"./notification.module.css\";\n\ninitializeReactI18n(NS, locales);\n\nconst { defineElement, property, event } = createDecorators();\n\nconst showNotification = unwrapProvider<typeof _showNotification>(\n \"basic.show-notification\"\n);\n\nconst ignoredInstanceIds = new Set<string>();\n\nexport interface PollAnnounceProps {\n pollEnabled?: boolean;\n realTimeMessage?: Message;\n}\n\nexport interface Message {\n title: string;\n data: string;\n instanceId: string;\n}\n\n/**\n * 轮询获取通知消息并展示。\n *\n * 从 v2 构件 `nav-legacy.poll-announce` 迁移而来\n */\nexport\n@defineElement(\"nav.poll-announce\", {\n styleTexts: [styleText],\n})\nclass PollAnnounce extends ReactNextElement implements PollAnnounceProps {\n /**\n * 是否启用轮询\n *\n * - 启用时,将会不断轮询通知列表接口\n * - 未启用时,通过 `realTimeMessage` 属性传入实时通知消息\n *\n * 注意:v2 构件 `nav-legacy.poll-announce` 该属性名称为 `pollDisabled`,但其实际意义却是 `pollEnabled`,因此在迁移时进行了重命名。\n */\n @property({ type: Boolean })\n accessor pollEnabled: boolean | undefined;\n\n /**\n * 实时通知消息(通常通过 WebSocket 消息得到)\n */\n @property({ attribute: false })\n accessor realTimeMessage: Message | undefined;\n\n /**\n * 通知框关闭后,调用忽略通知接口完成后触发\n */\n @event({ type: \"notification.close\" })\n accessor #closeEvent!: EventEmitter<void>;\n\n #handleClose = () => {\n this.#closeEvent.emit();\n };\n\n /**\n * 轮询得到新的通知时触发。\n */\n @event({ type: \"notification.open\" })\n accessor #openEvent!: EventEmitter<void>;\n\n #handleOpen = () => {\n this.#openEvent.emit();\n };\n\n render() {\n return (\n <PollAnnounceComponent\n pollEnabled={this.pollEnabled}\n realTimeMessage={this.realTimeMessage}\n onOpen={this.#handleOpen}\n onClose={this.#handleClose}\n />\n );\n }\n}\n\nexport interface PollAnnounceComponentProps extends PollAnnounceProps {\n onOpen: () => void;\n onClose: () => void;\n}\n\nasync function openNotification(\n { title, data, instanceId }: Message,\n onClose: () => void\n) {\n const _data = data\n .replace(/<[^>]+>|&nbsp;/gim, \"\\r\\n\")\n .replace(/&ldquo;/gim, \"“\")\n .replace(/&rdquo;/gim, \"”\");\n\n const htmlMessage = _data.length > 100 ? _data.slice(0, 100) : _data;\n\n try {\n await showNotification({\n placement: \"topRight\",\n icon: {\n lib: \"antd\",\n theme: \"filled\",\n icon: \"sound\",\n style: {\n color: \"var(--theme-orange-color)\",\n },\n },\n title,\n htmlMessage: `<div class=\"${styles.message}\">${htmlMessage}</div>`,\n closable: true,\n showConfirm: true,\n confirmText: i18n.t(`${NS}:${K.VIEW_DETAILS}`),\n confirmLink: {\n url: `/announcement-management/announcement-front/content?instanceId=${instanceId}`,\n target: \"_blank\",\n },\n showCancel: true,\n cancelText: i18n.t(`${NS}:${K.DISMISS}`),\n });\n } catch {\n // ignore\n } finally {\n if (!ignoredInstanceIds.has(instanceId)) {\n ignoredInstanceIds.add(instanceId);\n try {\n await AnnounceApi_ignoreAnnounce({\n instanceIds: [instanceId],\n });\n onClose();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(\"ignore announce failed:\", e);\n }\n }\n }\n}\n\nexport function PollAnnounceComponent({\n pollEnabled,\n realTimeMessage,\n onOpen,\n onClose,\n}: PollAnnounceComponentProps) {\n useEffect(\n () => {\n const listEffectiveAnnounce = async (): Promise<void> => {\n const list = (await AnnounceApi_listEffectiveAnnounce({}))\n .list as (Message & { isPopup: boolean })[];\n if (list.length) {\n list\n .filter((item) => item.isPopup)\n .reverse()\n .forEach((item) => {\n openNotification(item, onClose);\n });\n }\n };\n listEffectiveAnnounce();\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n []\n );\n\n useEffect(() => {\n if (!pollEnabled && realTimeMessage) {\n openNotification(realTimeMessage, onClose);\n }\n }, [onClose, pollEnabled, realTimeMessage]);\n\n useEffect(() => {\n if (!pollEnabled) {\n return;\n }\n let ignored = false;\n const pollAnnounce = async (): Promise<void> => {\n if (ignored) {\n return;\n }\n try {\n const result = await AnnounceApi_pollAnnounce({\n interceptorParams: {\n ignoreLoadingBar: true,\n },\n });\n openNotification(result as Message, onClose);\n onOpen();\n pollAnnounce();\n } catch (error) {\n const err = httpErrorToString(error);\n if (err?.toLowerCase()?.includes(\"timeout\")) {\n pollAnnounce();\n }\n }\n };\n pollAnnounce();\n return () => {\n ignored = true;\n };\n }, [onClose, onOpen, pollEnabled]);\n\n return null;\n}\n","import { http } from \"@next-core/http\";\n/**\n * @description 查找当前用户的有效公告\n * @endpoint LIST /api/sys_setting/v1/announce/effective\n */\nexport const AnnounceApi_listEffectiveAnnounce = async (params, options) => /**! @contract easyops.api.sys_setting.announce.ListEffectiveAnnounce@1.0.1 */(await http.get(\"api/gateway/sys_setting.announce.ListEffectiveAnnounce/api/sys_setting/v1/announce/effective\", {\n ...options,\n params\n})).data;\n//# sourceMappingURL=listEffectiveAnnounce.js.map","import { http } from \"@next-core/http\";\n/**\n * @description 批量忽略公告\n * @endpoint POST /api/sys_setting/v1/announce/ignore\n */\nexport const AnnounceApi_ignoreAnnounce = (data, options) => /**! @contract easyops.api.sys_setting.announce.IgnoreAnnounce@1.0.1 */http.post(\"api/gateway/sys_setting.announce.IgnoreAnnounce/api/sys_setting/v1/announce/ignore\", data, options);\n//# sourceMappingURL=ignoreAnnounce.js.map"],"names":["_classPrivateFieldGet2","s","a","get","module","exports","styleElement","nonce","setAttribute","_classPrivateFieldInitSpec","obj","privateMap","value","set","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","toPropertyKey","t","e","Symbol","toPrimitive","call","r","TypeError","String","options","document","update","remove","insertStyleElement","css","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","___CSS_LOADER_EXPORT___","locals","_checkPrivateRedeclaration","privateCollection","has","_assertClassBrand","n","arguments","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","domAPI","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","setFunctionName","description","Object","defineProperty","configurable","applyDecs2311","o","c","u","f","l","p","d","metadata","m","h","create","y","v","g","b","applyDec","w","D","S","j","E","I","P","F","getOwnPropertyDescriptor","Error","name","N","O","z","A","H","K","kind","addInitializer","bind","access","init","unshift","enumerable","prototype","checkInRHS","element","createElement","setAttributes","attributes","insert","styleSheet","cssText","firstChild","appendChild","createTextNode","_classPrivateMethodInitSpec","privateSet","add","_classPrivateGetter","_classPrivateFieldSet2","NS","locales","en","VIEW_DETAILS","DISMISS","zh","_checkInRHS","AnnounceApi_pollAnnounce","async","http","data","_typeof","iterator","constructor","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","initializeReactI18n","defineElement","property","event","createDecorators","showNotification","unwrapProvider","ignoredInstanceIds","Set","_PollAnnounce","_A","WeakMap","_B","_C","_PollAnnounce_brand","WeakSet","_handleClose","_D","_handleOpen","PollAnnounce","ReactNextElement","_init_pollEnabled","_init_extra_pollEnabled","_init_realTimeMessage","_init_extra_realTimeMessage","_init_closeEvent","_init_extra_closeEvent","_get_closeEvent","emit","_init_openEvent","_init_extra_openEvent","_get_openEvent","pollEnabled","_classPrivateFieldGet","_classPrivateFieldSet","realTimeMessage","render","React","PollAnnounceComponent","onOpen","onClose","openNotification","_ref","title","instanceId","_data","replace","htmlMessage","slice","placement","icon","lib","theme","color","styles","message","closable","showConfirm","confirmText","i18n","confirmLink","url","showCancel","cancelText","AnnounceApi_ignoreAnnounce","instanceIds","console","error","_ref2","useEffect","AnnounceApi_listEffectiveAnnounce","filter","isPopup","reverse","forEach","listEffectiveAnnounce","ignored","pollAnnounce","interceptorParams","ignoreLoadingBar","_err$toLowerCase","err","httpErrorToString","toLowerCase","includes","_PollAnnounce2","_set_closeEvent","_set_openEvent","_initClass","_applyDecs","styleTexts","styleText","type","Boolean","attribute","_","params","post"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/poll-announce.2d383f61.js","mappings":";wKACe,SAASA,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,iBCMAE,EAAOC,QANP,SAAwCC,GACtC,IAAIC,EAAmD,KACnDA,GACFD,EAAaE,aAAa,QAASD,EAEvC,gDCPe,SAASE,EAA2BC,EAAKC,EAAYC,IAClE,OAA0BF,EAAKC,GAC/BA,EAAWE,IAAIH,EAAKE,EACtB,WCEAR,EAAOC,QAAU,SAAUS,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,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oDCHG,MAAM8E,EAA6B,CAAC9E,EAAM1H,IAAmF,EAAAyH,KAAKgH,KAAK,qFAAsF/G,EAAM1H","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///./src/poll-announce/notification.module.css","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2311.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js","webpack:///./src/poll-announce/notification.module.css?4226","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///./src/poll-announce/i18n.ts","webpack:///./src/poll-announce/styles.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.js","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/pollAnnounce.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///./src/poll-announce/index.tsx","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/listEffectiveAnnounce.js","webpack:///../../node_modules/@next-api-sdk/sys-setting-sdk/dist/esm/api/sys_setting/announce/ignoreAnnounce.js"],"sourcesContent":["import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.message--Fxvh9j9V{color:var(--color-normal-text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"message\": `message--Fxvh9j9V`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import _typeof from \"./typeof.js\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2311(e, t, n, r, o, i) {\n var a,\n c,\n u,\n s,\n f,\n l,\n p,\n d = Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"),\n m = Object.defineProperty,\n h = Object.create,\n y = [h(null), h(null)],\n v = t.length;\n function g(t, n, r) {\n return function (o, i) {\n n && (i = o, o = e);\n for (var a = 0; a < t.length; a++) i = t[a].apply(o, r ? [i] : []);\n return r ? i : o;\n };\n }\n function b(e, t, n, r) {\n if (\"function\" != typeof e && (r || void 0 !== e)) throw new TypeError(t + \" must \" + (n || \"be\") + \" a function\" + (r ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, n, r, o, i, u, s, f, l, p) {\n function d(e) {\n if (!p(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var h = [].concat(t[0]),\n v = t[3],\n w = !u,\n D = 1 === o,\n S = 3 === o,\n j = 4 === o,\n E = 2 === o;\n function I(t, n, r) {\n return function (o, i) {\n return n && (i = o, o = e), r && r(o), P[t].call(o, i);\n };\n }\n if (!w) {\n var P = {},\n k = [],\n F = S ? \"get\" : j || D ? \"set\" : \"value\";\n if (f ? (l || D ? P = {\n get: setFunctionName(function () {\n return v(this);\n }, r, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : P[F] = v, l || setFunctionName(P[F], r, E ? \"\" : F)) : l || (P = Object.getOwnPropertyDescriptor(e, r)), !l && !f) {\n if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error(\"Decorating two elements with the same name (\" + P[F].name + \") is not supported yet\");\n y[+s][r] = o < 3 ? 1 : o;\n }\n }\n for (var N = e, O = h.length - 1; O >= 0; O -= n ? 2 : 1) {\n var z = b(h[O], \"A decorator\", \"be\", !0),\n A = n ? h[O - 1] : void 0,\n H = {},\n K = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: r,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw Error(\"attempted to call addInitializer after decoration was finished\");\n b(t, \"An initializer\", \"be\", !0), i.push(t);\n }.bind(null, H)\n };\n if (w) c = z.call(A, N, K), H.v = 1, b(c, \"class decorators\", \"return\") && (N = c);else if (K[\"static\"] = s, K[\"private\"] = f, c = K.access = {\n has: f ? p.bind() : function (e) {\n return r in e;\n }\n }, j || (c.get = f ? E ? function (e) {\n return d(e), P.value;\n } : I(\"get\", 0, d) : function (e) {\n return e[r];\n }), E || S || (c.set = f ? I(\"set\", 0, d) : function (e, t) {\n e[r] = t;\n }), N = z.call(A, D ? {\n get: P.get,\n set: P.set\n } : P[F], K), H.v = 1, D) {\n if (\"object\" == _typeof(N) && N) (c = b(N.get, \"accessor.get\")) && (P.get = c), (c = b(N.set, \"accessor.set\")) && (P.set = c), (c = b(N.init, \"accessor.init\")) && k.unshift(c);else if (void 0 !== N) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or undefined\");\n } else b(N, (l ? \"field\" : \"method\") + \" decorators\", \"return\") && (l ? k.unshift(N) : P[F] = N);\n }\n return o < 2 && u.push(g(k, s, 1), g(i, s, 0)), l || w || (f ? D ? u.splice(-1, 0, I(\"get\", s), I(\"set\", s)) : u.push(E ? P[F] : b.call.bind(P[F])) : m(e, r, P)), N;\n }\n function w(e) {\n return m(e, d, {\n configurable: !0,\n enumerable: !0,\n value: a\n });\n }\n return void 0 !== i && (a = i[d]), a = h(null == a ? null : a), f = [], l = function l(e) {\n e && f.push(g(e));\n }, p = function p(t, r) {\n for (var i = 0; i < n.length; i++) {\n var a = n[i],\n c = a[1],\n l = 7 & c;\n if ((8 & c) == t && !l == r) {\n var p = a[2],\n d = !!a[3],\n m = 16 & c;\n applyDec(t ? e : e.prototype, a, m, d ? \"#\" + p : toPropertyKey(p), l, l < 2 ? [] : t ? s = s || [] : u = u || [], f, !!t, d, r, t && d ? function (t) {\n return checkInRHS(t) === e;\n } : o);\n }\n }\n }, p(8, 0), p(0, 0), p(8, 1), p(0, 1), l(u), l(s), c = f, v || w(e), {\n e: c,\n get c() {\n var n = [];\n return v && [w(e = applyDec(e, [t], r, e.name, 5, n)), g(n, 1)];\n }\n };\n}","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateGetter(s, r, a) {\n return a(assertClassBrand(s, r));\n}","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./notification.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./notification.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","/* istanbul ignore file */\nexport enum K {\n VIEW_DETAILS = \"VIEW_DETAILS\",\n DISMISS = \"DISMISS\",\n}\n\nconst en: Locale = {\n VIEW_DETAILS: \"View details\",\n DISMISS: \"Dismiss\",\n};\n\nconst zh: Locale = {\n VIEW_DETAILS: \"查看详情\",\n DISMISS: \"忽略\",\n};\n\nexport const NS = \"bricks/nav/poll-announce\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [k in K]: string } & {\n [k in K as `${k}_plural`]?: string;\n};\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host{display:inline-block}:host([hidden]){display:none}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\n}","import { http } from \"@next-core/http\";\n/**\n * @description 获取实时公告,长链接\n * @endpoint GET /api/sys_setting/v1/announce/poll\n */\nexport const AnnounceApi_pollAnnounce = async options => /**! @contract easyops.api.sys_setting.announce.PollAnnounce@1.0.0 */(await http.get(\"api/gateway/sys_setting.announce.PollAnnounce/api/sys_setting/v1/announce/poll\", options)).data;\n//# sourceMappingURL=pollAnnounce.js.map","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","/* istanbul ignore file */\nimport React, { useEffect } from \"react\";\nimport { createDecorators, type EventEmitter } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport { httpErrorToString } from \"@next-core/runtime\";\nimport { unwrapProvider } from \"@next-core/utils/general\";\nimport \"@next-core/theme\";\nimport { i18n } from \"@next-core/i18n\";\nimport { initializeReactI18n } from \"@next-core/i18n/react\";\nimport type { showNotification as _showNotification } from \"@next-bricks/basic/data-providers/show-notification/show-notification\";\nimport {\n AnnounceApi_ignoreAnnounce,\n AnnounceApi_listEffectiveAnnounce,\n AnnounceApi_pollAnnounce,\n} from \"@next-api-sdk/sys-setting-sdk\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport styleText from \"./styles.shadow.css\";\nimport styles from \"./notification.module.css\";\n\ninitializeReactI18n(NS, locales);\n\nconst { defineElement, property, event } = createDecorators();\n\nconst showNotification = unwrapProvider<typeof _showNotification>(\n \"basic.show-notification\"\n);\n\nconst ignoredInstanceIds = new Set<string>();\n\nexport interface PollAnnounceProps {\n pollEnabled?: boolean;\n realTimeMessage?: Message;\n}\n\nexport interface Message {\n title: string;\n data: string;\n instanceId: string;\n}\n\n/**\n * 轮询获取通知消息并展示。\n *\n * 从 v2 构件 `nav-legacy.poll-announce` 迁移而来\n */\nexport\n@defineElement(\"nav.poll-announce\", {\n styleTexts: [styleText],\n})\nclass PollAnnounce extends ReactNextElement implements PollAnnounceProps {\n /**\n * 是否启用轮询\n *\n * - 启用时,将会不断轮询通知列表接口\n * - 未启用时,通过 `realTimeMessage` 属性传入实时通知消息\n *\n * 注意:v2 构件 `nav-legacy.poll-announce` 该属性名称为 `pollDisabled`,但其实际意义却是 `pollEnabled`,因此在迁移时进行了重命名。\n */\n @property({ type: Boolean })\n accessor pollEnabled: boolean | undefined;\n\n /**\n * 实时通知消息(通常通过 WebSocket 消息得到)\n */\n @property({ attribute: false })\n accessor realTimeMessage: Message | undefined;\n\n /**\n * 通知框关闭后,调用忽略通知接口完成后触发\n */\n @event({ type: \"notification.close\" })\n accessor #closeEvent!: EventEmitter<void>;\n\n #handleClose = () => {\n this.#closeEvent.emit();\n };\n\n /**\n * 轮询得到新的通知时触发。\n */\n @event({ type: \"notification.open\" })\n accessor #openEvent!: EventEmitter<void>;\n\n #handleOpen = () => {\n this.#openEvent.emit();\n };\n\n render() {\n return (\n <PollAnnounceComponent\n pollEnabled={this.pollEnabled}\n realTimeMessage={this.realTimeMessage}\n onOpen={this.#handleOpen}\n onClose={this.#handleClose}\n />\n );\n }\n}\n\nexport interface PollAnnounceComponentProps extends PollAnnounceProps {\n onOpen: () => void;\n onClose: () => void;\n}\n\nasync function openNotification(\n { title, data, instanceId }: Message,\n onClose: () => void\n) {\n const _data = data\n .replace(/<[^>]+>|&nbsp;/gim, \"\\r\\n\")\n .replace(/&ldquo;/gim, \"“\")\n .replace(/&rdquo;/gim, \"”\");\n\n const htmlMessage = _data.length > 100 ? _data.slice(0, 100) : _data;\n\n try {\n await showNotification({\n placement: \"topRight\",\n icon: {\n lib: \"antd\",\n theme: \"filled\",\n icon: \"sound\",\n style: {\n color: \"var(--theme-orange-color)\",\n },\n },\n title,\n htmlMessage: `<div class=\"${styles.message}\">${htmlMessage}</div>`,\n closable: true,\n showConfirm: true,\n confirmText: i18n.t(`${NS}:${K.VIEW_DETAILS}`),\n confirmLink: {\n url: `/announcement-management/announcement-front/content?instanceId=${instanceId}`,\n target: \"_blank\",\n },\n showCancel: true,\n cancelText: i18n.t(`${NS}:${K.DISMISS}`),\n });\n } catch {\n // ignore\n } finally {\n if (!ignoredInstanceIds.has(instanceId)) {\n ignoredInstanceIds.add(instanceId);\n try {\n await AnnounceApi_ignoreAnnounce({\n instanceIds: [instanceId],\n });\n onClose();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(\"ignore announce failed:\", e);\n }\n }\n }\n}\n\nexport function PollAnnounceComponent({\n pollEnabled,\n realTimeMessage,\n onOpen,\n onClose,\n}: PollAnnounceComponentProps) {\n useEffect(\n () => {\n const listEffectiveAnnounce = async (): Promise<void> => {\n const list = (await AnnounceApi_listEffectiveAnnounce({}))\n .list as (Message & { isPopup: boolean })[];\n if (list.length) {\n list\n .filter((item) => item.isPopup)\n .reverse()\n .forEach((item) => {\n openNotification(item, onClose);\n });\n }\n };\n listEffectiveAnnounce();\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n []\n );\n\n useEffect(() => {\n if (!pollEnabled && realTimeMessage) {\n openNotification(realTimeMessage, onClose);\n }\n }, [onClose, pollEnabled, realTimeMessage]);\n\n useEffect(() => {\n if (!pollEnabled) {\n return;\n }\n let ignored = false;\n const pollAnnounce = async (): Promise<void> => {\n if (ignored) {\n return;\n }\n try {\n const result = await AnnounceApi_pollAnnounce({\n interceptorParams: {\n ignoreLoadingBar: true,\n },\n });\n openNotification(result as Message, onClose);\n onOpen();\n pollAnnounce();\n } catch (error) {\n const err = httpErrorToString(error);\n if (err?.toLowerCase()?.includes(\"timeout\")) {\n pollAnnounce();\n }\n }\n };\n pollAnnounce();\n return () => {\n ignored = true;\n };\n }, [onClose, onOpen, pollEnabled]);\n\n return null;\n}\n","import { http } from \"@next-core/http\";\n/**\n * @description 查找当前用户的有效公告\n * @endpoint LIST /api/sys_setting/v1/announce/effective\n */\nexport const AnnounceApi_listEffectiveAnnounce = async (params, options) => /**! @contract easyops.api.sys_setting.announce.ListEffectiveAnnounce@1.0.1 */(await http.get(\"api/gateway/sys_setting.announce.ListEffectiveAnnounce/api/sys_setting/v1/announce/effective\", {\n ...options,\n params\n})).data;\n//# sourceMappingURL=listEffectiveAnnounce.js.map","import { http } from \"@next-core/http\";\n/**\n * @description 批量忽略公告\n * @endpoint POST /api/sys_setting/v1/announce/ignore\n */\nexport const AnnounceApi_ignoreAnnounce = (data, options) => /**! @contract easyops.api.sys_setting.announce.IgnoreAnnounce@1.0.1 */http.post(\"api/gateway/sys_setting.announce.IgnoreAnnounce/api/sys_setting/v1/announce/ignore\", data, options);\n//# sourceMappingURL=ignoreAnnounce.js.map"],"names":["_classPrivateFieldGet2","s","a","get","module","exports","styleElement","nonce","setAttribute","_classPrivateFieldInitSpec","obj","privateMap","value","set","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","toPropertyKey","t","e","Symbol","toPrimitive","call","r","TypeError","String","options","document","update","remove","insertStyleElement","css","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","___CSS_LOADER_EXPORT___","locals","_checkPrivateRedeclaration","privateCollection","has","_assertClassBrand","n","arguments","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","domAPI","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","setFunctionName","description","Object","defineProperty","configurable","applyDecs2311","o","c","u","f","l","p","d","metadata","m","h","create","y","v","g","b","applyDec","w","D","S","j","E","I","P","F","getOwnPropertyDescriptor","Error","name","N","O","z","A","H","K","kind","addInitializer","bind","access","init","unshift","enumerable","prototype","checkInRHS","element","createElement","setAttributes","attributes","insert","styleSheet","cssText","firstChild","appendChild","createTextNode","_classPrivateMethodInitSpec","privateSet","add","_classPrivateGetter","_classPrivateFieldSet2","NS","locales","en","VIEW_DETAILS","DISMISS","zh","_checkInRHS","AnnounceApi_pollAnnounce","async","http","data","_typeof","iterator","constructor","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","initializeReactI18n","defineElement","property","event","createDecorators","showNotification","unwrapProvider","ignoredInstanceIds","Set","_PollAnnounce","_A","WeakMap","_B","_C","_PollAnnounce_brand","WeakSet","_handleClose","_D","_handleOpen","PollAnnounce","ReactNextElement","_init_pollEnabled","_init_extra_pollEnabled","_init_realTimeMessage","_init_extra_realTimeMessage","_init_closeEvent","_init_extra_closeEvent","_get_closeEvent","emit","_init_openEvent","_init_extra_openEvent","_get_openEvent","pollEnabled","_classPrivateFieldGet","_classPrivateFieldSet","realTimeMessage","render","React","PollAnnounceComponent","onOpen","onClose","openNotification","_ref","title","instanceId","_data","replace","htmlMessage","slice","placement","icon","lib","theme","color","styles","message","closable","showConfirm","confirmText","i18n","confirmLink","url","showCancel","cancelText","AnnounceApi_ignoreAnnounce","instanceIds","console","error","_ref2","useEffect","AnnounceApi_listEffectiveAnnounce","filter","isPopup","reverse","forEach","listEffectiveAnnounce","ignored","pollAnnounce","interceptorParams","ignoreLoadingBar","_err$toLowerCase","err","httpErrorToString","toLowerCase","includes","_PollAnnounce2","_set_closeEvent","_set_openEvent","_initClass","_applyDecs","styleTexts","styleText","type","Boolean","attribute","_","params","post"],"sourceRoot":""}
@@ -1,19 +1,19 @@
1
1
  {
2
- "eo-nav-menu": {
3
- "doc": "菜单构件\n\n## Examples\n\n### basic\n\n```yaml preview minHeight=\"300px\"\n- brick: eo-nav-menu\n properties:\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n- brick: div\n- brick: eo-nav-menu\n properties:\n mainMenuTitleStyle:\n color: purple\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu id=\"brick-1\"></eo-nav-menu>\n# <div></div>\n# <eo-nav-menu id=\"brick-2\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.mainMenuTitleStyle = {\n# color: \"purple\",\n# };\n# brick_2.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n\n### overflow\n\n```yaml preview minHeight=\"300px\"\nbrick: eo-nav-menu\nproperties:\n style:\n width: 100px\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu style=\"width: 100px\" id=\"brick-1\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n\n### 带网站地图的菜单\n\n```yaml preview minHeight=\"500px\"\nbrick: eo-nav-menu\nproperties:\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - title: 服务\n type: group\n groupId: resource\n childLayout: siteMap\n items:\n - type: group\n childLayout: default\n title: 计算\n items:\n - activeExcludes: []\n activeIncludes:\n - \"/computing-resource-monitor/local/host/:path+\"\n activeMatchSearch: false\n childLayout: default\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: host-second-menu\n lib: easyops\n instanceId: 6026b804c1a66\n sort: 10\n text: 主机(本地部署)\n to: /computing-resource-monitor/local/host\n type: default\n children: []\n key: 1.0.0\n - activeExcludes: []\n activeIncludes:\n - /computing-resource-monitor/kubernetes/guide\n - /computing-resource-monitor/kubernetes/activation\n - \"/computing-resource-monitor/kubernetes/activation/:path+\"\n activeMatchSearch: false\n childLayout: default\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: cluster-second-menu\n lib: easyops\n instanceId: 6026b804c1aca\n sort: 20\n text: 集群\n to: /computing-resource-monitor/kubernetes/cluster\n type: default\n children: []\n key: 1.0.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: pod-second-menu\n lib: easyops\n instanceId: 6026b804c1b2e\n sort: 30\n text: Pod\n to: /computing-resource-monitor/kubernetes/pod\n type: default\n children: []\n key: 1.0.2\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: node-second-menu\n lib: easyops\n instanceId: 6026b804c1b92\n sort: 40\n text: 节点\n to: /computing-resource-monitor/kubernetes/node\n type: default\n children: []\n key: 1.0.3\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: container-second-menu\n lib: easyops\n instanceId: 6026b804c1bf6\n sort: 50\n text: 容器\n to: /computing-resource-monitor/docker/container\n type: default\n children: []\n key: 1.0.4\n key: \"1.0\"\n - type: group\n title: 存储\n items:\n - activeExcludes: []\n activeIncludes:\n - \"/storage-resource-monitor/cbs/:path+\"\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: tencent-cloud-hard-disk-second-menu\n lib: easyops\n instanceId: 6026b6cf6bb56\n sort: 0\n text: 腾讯云・云磁盘CBS\n to: /storage-resource-monitor/cbs\n type: default\n children: []\n key: 1.1.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: container-second-menu\n lib: easyops\n instanceId: 6026b6cf6bbba\n sort: 0\n text: 腾讯云对象存储\n to: /storage-resource-monitor/cos\n type: default\n children: []\n key: 1.1.1\n key: \"1.1\"\n - type: group\n title: 网络\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: loadbalance-second-menu\n lib: easyops\n instanceId: 6026b7c20c8cf\n sort: 0\n text: 负载均衡策略\n to: /network-resource-monitor/loadbalance\n type: default\n children: []\n key: 1.2.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: alibaba-cloud-elastic-public-ip-second-menu\n lib: easyops\n instanceId: 6026b7c20c933\n sort: 0\n text: 阿里云・弹性公网IP\n to: /network-resource-monitor/ali-eip\n type: default\n children: []\n key: 1.2.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: tencent-cloud-nat-gateway-second-menu\n lib: easyops\n instanceId: 6026b7c20c997\n sort: 0\n text: 腾讯云 · NAT网关\n to: /network-resource-monitor/gateway\n type: default\n children: []\n key: 1.2.2\n key: \"1.2\"\n - type: group\n title: 网络设备\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e892\n sort: 10\n text: 交换机\n to: /network-device-resource-monitor/switch\n type: default\n children: []\n key: 1.3.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f6\n sort: 20\n text: 路由器\n to: /network-device-resource-monitor/router\n type: default\n children: []\n key: 1.3.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e95a\n sort: 30\n text: 防火墙\n to: /network-device-resource-monitor/firewall\n type: default\n children: []\n key: 1.3.2\n key: \"1.3\"\n - type: group\n title: 自定义监控\n groupFrom: monitor\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e892\n sort: 10\n text: 主机\n to: /network-device-resource-monitor/host\n type: default\n children: []\n key: 1.4.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f6\n sort: 20\n text: 报文\n to: /network-device-resource-monitor/message\n type: default\n children: []\n key: 1.4.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e891\n sort: 30\n text: EasyCore\n to: /network-device-resource-monitor/EasyCore\n type: default\n children: []\n key: 1.4.2\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f7\n sort: 40\n text: 视图\n to: /network-device-resource-monitor/view\n type: default\n children: []\n key: 1.4.3\n key: \"1.4\"\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu id=\"brick-1\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# title: \"服务\",\n# type: \"group\",\n# groupId: \"resource\",\n# childLayout: \"siteMap\",\n# items: [\n# {\n# type: \"group\",\n# childLayout: \"default\",\n# title: \"计算\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [\n# \"/computing-resource-monitor/local/host/:path+\",\n# ],\n# activeMatchSearch: false,\n# childLayout: \"default\",\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"host-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1a66\",\n# sort: 10,\n# text: \"主机(本地部署)\",\n# to: \"/computing-resource-monitor/local/host\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [\n# \"/computing-resource-monitor/kubernetes/guide\",\n# \"/computing-resource-monitor/kubernetes/activation\",\n# \"/computing-resource-monitor/kubernetes/activation/:path+\",\n# ],\n# activeMatchSearch: false,\n# childLayout: \"default\",\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"cluster-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1aca\",\n# sort: 20,\n# text: \"集群\",\n# to: \"/computing-resource-monitor/kubernetes/cluster\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"pod-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1b2e\",\n# sort: 30,\n# text: \"Pod\",\n# to: \"/computing-resource-monitor/kubernetes/pod\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.2\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"node-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1b92\",\n# sort: 40,\n# text: \"节点\",\n# to: \"/computing-resource-monitor/kubernetes/node\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.3\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"container-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1bf6\",\n# sort: 50,\n# text: \"容器\",\n# to: \"/computing-resource-monitor/docker/container\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.4\",\n# },\n# ],\n# key: \"1.0\",\n# },\n# {\n# type: \"group\",\n# title: \"存储\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [\"/storage-resource-monitor/cbs/:path+\"],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"tencent-cloud-hard-disk-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b6cf6bb56\",\n# sort: 0,\n# text: \"腾讯云・云磁盘CBS\",\n# to: \"/storage-resource-monitor/cbs\",\n# type: \"default\",\n# children: [],\n# key: \"1.1.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"container-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b6cf6bbba\",\n# sort: 0,\n# text: \"腾讯云对象存储\",\n# to: \"/storage-resource-monitor/cos\",\n# type: \"default\",\n# children: [],\n# key: \"1.1.1\",\n# },\n# ],\n# key: \"1.1\",\n# },\n# {\n# type: \"group\",\n# title: \"网络\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"loadbalance-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c8cf\",\n# sort: 0,\n# text: \"负载均衡策略\",\n# to: \"/network-resource-monitor/loadbalance\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"alibaba-cloud-elastic-public-ip-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c933\",\n# sort: 0,\n# text: \"阿里云・弹性公网IP\",\n# to: \"/network-resource-monitor/ali-eip\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"tencent-cloud-nat-gateway-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c997\",\n# sort: 0,\n# text: \"腾讯云 · NAT网关\",\n# to: \"/network-resource-monitor/gateway\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.2\",\n# },\n# ],\n# key: \"1.2\",\n# },\n# {\n# type: \"group\",\n# title: \"网络设备\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e892\",\n# sort: 10,\n# text: \"交换机\",\n# to: \"/network-device-resource-monitor/switch\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f6\",\n# sort: 20,\n# text: \"路由器\",\n# to: \"/network-device-resource-monitor/router\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e95a\",\n# sort: 30,\n# text: \"防火墙\",\n# to: \"/network-device-resource-monitor/firewall\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.2\",\n# },\n# ],\n# key: \"1.3\",\n# },\n# {\n# type: \"group\",\n# title: \"自定义监控\",\n# groupFrom: \"monitor\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e892\",\n# sort: 10,\n# text: \"主机\",\n# to: \"/network-device-resource-monitor/host\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f6\",\n# sort: 20,\n# text: \"报文\",\n# to: \"/network-device-resource-monitor/message\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e891\",\n# sort: 30,\n# text: \"EasyCore\",\n# to: \"/network-device-resource-monitor/EasyCore\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.2\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f7\",\n# sort: 40,\n# text: \"视图\",\n# to: \"/network-device-resource-monitor/view\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.3\",\n# },\n# ],\n# key: \"1.4\",\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n"
4
- },
5
2
  "eo-search-launchpad": {
6
3
  "doc": "launchpad 搜索\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: eo-search-launchpad\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-search-launchpad></eo-search-launchpad>\n# \n```\n"
7
4
  },
8
- "eo-app-bar-wrapper": {
9
- "doc": "构件 `eo-app-bar-wrapper`\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-app-bar-wrapper\n properties:\n position: static\n slots:\n left:\n bricks:\n - brick: div\n properties:\n textContent: Left Content\n type: bricks\n right:\n bricks:\n - brick: div\n properties:\n textContent: Right Content\n type: bricks\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-app-bar-wrapper position=\"static\">\n# <div slot=\"left\">Left Content</div>\n# <div slot=\"right\">Right Content</div>\n# </eo-app-bar-wrapper>\n# \n```\n\n### DisplayCenter\n\n```yaml preview\n- brick: eo-app-bar-wrapper\n properties:\n position: static\n displayCenter: true\n slots:\n left:\n bricks:\n - brick: div\n properties:\n textContent: Left Content\n type: bricks\n right:\n bricks:\n - brick: div\n properties:\n textContent: Right Content\n type: bricks\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-app-bar-wrapper position=\"static\" display-center>\n# <div slot=\"left\">Left Content</div>\n# <div slot=\"right\">Right Content</div>\n# </eo-app-bar-wrapper>\n# \n```\n"
10
- },
11
5
  "eo-frame-breadcrumb": {
12
6
  "doc": "面包屑\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: eo-frame-breadcrumb\nproperties:\n breadcrumb:\n - text: 事件中心\n - text: 告警规则\n - text: 编辑\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-frame-breadcrumb id=\"brick-1\"></eo-frame-breadcrumb>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.breadcrumb = [\n# {\n# text: \"事件中心\",\n# },\n# {\n# text: \"告警规则\",\n# },\n# {\n# text: \"编辑\",\n# },\n# ];\n# </script>\n# \n```\n"
13
7
  },
8
+ "eo-app-bar-wrapper": {
9
+ "doc": "构件 `eo-app-bar-wrapper`\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-app-bar-wrapper\n properties:\n position: static\n slots:\n left:\n bricks:\n - brick: div\n properties:\n textContent: Left Content\n type: bricks\n right:\n bricks:\n - brick: div\n properties:\n textContent: Right Content\n type: bricks\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-app-bar-wrapper position=\"static\">\n# <div slot=\"left\">Left Content</div>\n# <div slot=\"right\">Right Content</div>\n# </eo-app-bar-wrapper>\n# \n```\n\n### DisplayCenter\n\n```yaml preview\n- brick: eo-app-bar-wrapper\n properties:\n position: static\n displayCenter: true\n slots:\n left:\n bricks:\n - brick: div\n properties:\n textContent: Left Content\n type: bricks\n right:\n bricks:\n - brick: div\n properties:\n textContent: Right Content\n type: bricks\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-app-bar-wrapper position=\"static\" display-center>\n# <div slot=\"left\">Left Content</div>\n# <div slot=\"right\">Right Content</div>\n# </eo-app-bar-wrapper>\n# \n```\n"
10
+ },
14
11
  "eo-sidebar-menu-item": {
15
12
  "doc": "侧栏菜单项\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: eo-sidebar-menu-item\nproperties:\n style:\n width: 196px\n textContent: \"告警规则\"\n icon:\n lib: easyops\n category: second-menu\n icon: availability-zone-second-menu\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-sidebar-menu-item style=\"width: 196px\" id=\"brick-1\">\n# 告警规则\n# </eo-sidebar-menu-item>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"availability-zone-second-menu\",\n# };\n# </script>\n# \n```\n"
16
13
  },
14
+ "eo-nav-menu": {
15
+ "doc": "菜单构件\n\n## Examples\n\n### basic\n\n```yaml preview minHeight=\"300px\"\n- brick: eo-nav-menu\n properties:\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n- brick: div\n- brick: eo-nav-menu\n properties:\n mainMenuTitleStyle:\n color: purple\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu id=\"brick-1\"></eo-nav-menu>\n# <div></div>\n# <eo-nav-menu id=\"brick-2\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.mainMenuTitleStyle = {\n# color: \"purple\",\n# };\n# brick_2.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n\n### overflow\n\n```yaml preview minHeight=\"300px\"\nbrick: eo-nav-menu\nproperties:\n style:\n width: 100px\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - text: 文档中心\n href: \"http://www.baidu.com\"\n type: default\n - title: 接口与数据\n type: subMenu\n items:\n - text: Api Gateway\n to: /d\n type: default\n - title: 测试组\n type: group\n items:\n - text: 挂件\n to: /e\n type: default\n - text: 构件\n to: /f\n type: default\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu style=\"width: 100px\" id=\"brick-1\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# text: \"文档中心\",\n# href: \"http://www.baidu.com\",\n# type: \"default\",\n# },\n# {\n# title: \"接口与数据\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"Api Gateway\",\n# to: \"/d\",\n# type: \"default\",\n# },\n# {\n# title: \"测试组\",\n# type: \"group\",\n# items: [\n# {\n# text: \"挂件\",\n# to: \"/e\",\n# type: \"default\",\n# },\n# {\n# text: \"构件\",\n# to: \"/f\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n\n### 带网站地图的菜单\n\n```yaml preview minHeight=\"500px\"\nbrick: eo-nav-menu\nproperties:\n menu:\n title: mock data\n menuItems:\n - text: 创造\n to: /a\n type: default\n - title: 资源库\n type: subMenu\n items:\n - text: 构件库\n to: /b\n type: default\n - title: 契约中心\n to: /c\n type: subMenu\n items:\n - text: cmdb契约\n to: /cmdb\n type: default\n - title: devops契约\n type: subMenu\n items:\n - text: flow\n to: /flow\n type: default\n - text: tool\n to: /tool\n type: default\n - title: 服务\n type: group\n groupId: resource\n childLayout: siteMap\n items:\n - type: group\n childLayout: default\n title: 计算\n items:\n - activeExcludes: []\n activeIncludes:\n - \"/computing-resource-monitor/local/host/:path+\"\n activeMatchSearch: false\n childLayout: default\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: host-second-menu\n lib: easyops\n instanceId: 6026b804c1a66\n sort: 10\n text: 主机(本地部署)\n to: /computing-resource-monitor/local/host\n type: default\n children: []\n key: 1.0.0\n - activeExcludes: []\n activeIncludes:\n - /computing-resource-monitor/kubernetes/guide\n - /computing-resource-monitor/kubernetes/activation\n - \"/computing-resource-monitor/kubernetes/activation/:path+\"\n activeMatchSearch: false\n childLayout: default\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: cluster-second-menu\n lib: easyops\n instanceId: 6026b804c1aca\n sort: 20\n text: 集群\n to: /computing-resource-monitor/kubernetes/cluster\n type: default\n children: []\n key: 1.0.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: pod-second-menu\n lib: easyops\n instanceId: 6026b804c1b2e\n sort: 30\n text: Pod\n to: /computing-resource-monitor/kubernetes/pod\n type: default\n children: []\n key: 1.0.2\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: node-second-menu\n lib: easyops\n instanceId: 6026b804c1b92\n sort: 40\n text: 节点\n to: /computing-resource-monitor/kubernetes/node\n type: default\n children: []\n key: 1.0.3\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: container-second-menu\n lib: easyops\n instanceId: 6026b804c1bf6\n sort: 50\n text: 容器\n to: /computing-resource-monitor/docker/container\n type: default\n children: []\n key: 1.0.4\n key: \"1.0\"\n - type: group\n title: 存储\n items:\n - activeExcludes: []\n activeIncludes:\n - \"/storage-resource-monitor/cbs/:path+\"\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: tencent-cloud-hard-disk-second-menu\n lib: easyops\n instanceId: 6026b6cf6bb56\n sort: 0\n text: 腾讯云・云磁盘CBS\n to: /storage-resource-monitor/cbs\n type: default\n children: []\n key: 1.1.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: container-second-menu\n lib: easyops\n instanceId: 6026b6cf6bbba\n sort: 0\n text: 腾讯云对象存储\n to: /storage-resource-monitor/cos\n type: default\n children: []\n key: 1.1.1\n key: \"1.1\"\n - type: group\n title: 网络\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: loadbalance-second-menu\n lib: easyops\n instanceId: 6026b7c20c8cf\n sort: 0\n text: 负载均衡策略\n to: /network-resource-monitor/loadbalance\n type: default\n children: []\n key: 1.2.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: alibaba-cloud-elastic-public-ip-second-menu\n lib: easyops\n instanceId: 6026b7c20c933\n sort: 0\n text: 阿里云・弹性公网IP\n to: /network-resource-monitor/ali-eip\n type: default\n children: []\n key: 1.2.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n icon:\n category: second-menu\n icon: tencent-cloud-nat-gateway-second-menu\n lib: easyops\n instanceId: 6026b7c20c997\n sort: 0\n text: 腾讯云 · NAT网关\n to: /network-resource-monitor/gateway\n type: default\n children: []\n key: 1.2.2\n key: \"1.2\"\n - type: group\n title: 网络设备\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e892\n sort: 10\n text: 交换机\n to: /network-device-resource-monitor/switch\n type: default\n children: []\n key: 1.3.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f6\n sort: 20\n text: 路由器\n to: /network-device-resource-monitor/router\n type: default\n children: []\n key: 1.3.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e95a\n sort: 30\n text: 防火墙\n to: /network-device-resource-monitor/firewall\n type: default\n children: []\n key: 1.3.2\n key: \"1.3\"\n - type: group\n title: 自定义监控\n groupFrom: monitor\n items:\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e892\n sort: 10\n text: 主机\n to: /network-device-resource-monitor/host\n type: default\n children: []\n key: 1.4.0\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f6\n sort: 20\n text: 报文\n to: /network-device-resource-monitor/message\n type: default\n children: []\n key: 1.4.1\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e891\n sort: 30\n text: EasyCore\n to: /network-device-resource-monitor/EasyCore\n type: default\n children: []\n key: 1.4.2\n - activeExcludes: []\n activeIncludes: []\n activeMatchSearch: false\n defaultExpanded: false\n exact: false\n instanceId: 6026b8b05e8f7\n sort: 40\n text: 视图\n to: /network-device-resource-monitor/view\n type: default\n children: []\n key: 1.4.3\n key: \"1.4\"\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-nav-menu id=\"brick-1\"></eo-nav-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# text: \"创造\",\n# to: \"/a\",\n# type: \"default\",\n# },\n# {\n# title: \"资源库\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"构件库\",\n# to: \"/b\",\n# type: \"default\",\n# },\n# {\n# title: \"契约中心\",\n# to: \"/c\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"cmdb契约\",\n# to: \"/cmdb\",\n# type: \"default\",\n# },\n# {\n# title: \"devops契约\",\n# type: \"subMenu\",\n# items: [\n# {\n# text: \"flow\",\n# to: \"/flow\",\n# type: \"default\",\n# },\n# {\n# text: \"tool\",\n# to: \"/tool\",\n# type: \"default\",\n# },\n# ],\n# },\n# ],\n# },\n# ],\n# },\n# {\n# title: \"服务\",\n# type: \"group\",\n# groupId: \"resource\",\n# childLayout: \"siteMap\",\n# items: [\n# {\n# type: \"group\",\n# childLayout: \"default\",\n# title: \"计算\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [\n# \"/computing-resource-monitor/local/host/:path+\",\n# ],\n# activeMatchSearch: false,\n# childLayout: \"default\",\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"host-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1a66\",\n# sort: 10,\n# text: \"主机(本地部署)\",\n# to: \"/computing-resource-monitor/local/host\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [\n# \"/computing-resource-monitor/kubernetes/guide\",\n# \"/computing-resource-monitor/kubernetes/activation\",\n# \"/computing-resource-monitor/kubernetes/activation/:path+\",\n# ],\n# activeMatchSearch: false,\n# childLayout: \"default\",\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"cluster-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1aca\",\n# sort: 20,\n# text: \"集群\",\n# to: \"/computing-resource-monitor/kubernetes/cluster\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"pod-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1b2e\",\n# sort: 30,\n# text: \"Pod\",\n# to: \"/computing-resource-monitor/kubernetes/pod\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.2\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"node-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1b92\",\n# sort: 40,\n# text: \"节点\",\n# to: \"/computing-resource-monitor/kubernetes/node\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.3\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"container-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b804c1bf6\",\n# sort: 50,\n# text: \"容器\",\n# to: \"/computing-resource-monitor/docker/container\",\n# type: \"default\",\n# children: [],\n# key: \"1.0.4\",\n# },\n# ],\n# key: \"1.0\",\n# },\n# {\n# type: \"group\",\n# title: \"存储\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [\"/storage-resource-monitor/cbs/:path+\"],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"tencent-cloud-hard-disk-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b6cf6bb56\",\n# sort: 0,\n# text: \"腾讯云・云磁盘CBS\",\n# to: \"/storage-resource-monitor/cbs\",\n# type: \"default\",\n# children: [],\n# key: \"1.1.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"container-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b6cf6bbba\",\n# sort: 0,\n# text: \"腾讯云对象存储\",\n# to: \"/storage-resource-monitor/cos\",\n# type: \"default\",\n# children: [],\n# key: \"1.1.1\",\n# },\n# ],\n# key: \"1.1\",\n# },\n# {\n# type: \"group\",\n# title: \"网络\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"loadbalance-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c8cf\",\n# sort: 0,\n# text: \"负载均衡策略\",\n# to: \"/network-resource-monitor/loadbalance\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"alibaba-cloud-elastic-public-ip-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c933\",\n# sort: 0,\n# text: \"阿里云・弹性公网IP\",\n# to: \"/network-resource-monitor/ali-eip\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# icon: {\n# category: \"second-menu\",\n# icon: \"tencent-cloud-nat-gateway-second-menu\",\n# lib: \"easyops\",\n# },\n# instanceId: \"6026b7c20c997\",\n# sort: 0,\n# text: \"腾讯云 · NAT网关\",\n# to: \"/network-resource-monitor/gateway\",\n# type: \"default\",\n# children: [],\n# key: \"1.2.2\",\n# },\n# ],\n# key: \"1.2\",\n# },\n# {\n# type: \"group\",\n# title: \"网络设备\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e892\",\n# sort: 10,\n# text: \"交换机\",\n# to: \"/network-device-resource-monitor/switch\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f6\",\n# sort: 20,\n# text: \"路由器\",\n# to: \"/network-device-resource-monitor/router\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e95a\",\n# sort: 30,\n# text: \"防火墙\",\n# to: \"/network-device-resource-monitor/firewall\",\n# type: \"default\",\n# children: [],\n# key: \"1.3.2\",\n# },\n# ],\n# key: \"1.3\",\n# },\n# {\n# type: \"group\",\n# title: \"自定义监控\",\n# groupFrom: \"monitor\",\n# items: [\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e892\",\n# sort: 10,\n# text: \"主机\",\n# to: \"/network-device-resource-monitor/host\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.0\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f6\",\n# sort: 20,\n# text: \"报文\",\n# to: \"/network-device-resource-monitor/message\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.1\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e891\",\n# sort: 30,\n# text: \"EasyCore\",\n# to: \"/network-device-resource-monitor/EasyCore\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.2\",\n# },\n# {\n# activeExcludes: [],\n# activeIncludes: [],\n# activeMatchSearch: false,\n# defaultExpanded: false,\n# exact: false,\n# instanceId: \"6026b8b05e8f7\",\n# sort: 40,\n# text: \"视图\",\n# to: \"/network-device-resource-monitor/view\",\n# type: \"default\",\n# children: [],\n# key: \"1.4.3\",\n# },\n# ],\n# key: \"1.4\",\n# },\n# ],\n# },\n# ],\n# };\n# </script>\n# \n```\n"
16
+ },
17
17
  "eo-sidebar-menu-group": {
18
18
  "doc": "侧栏菜单分组\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-sidebar-menu-group\n properties:\n style:\n width: 196px\n children:\n - brick: span\n slot: title\n properties:\n textContent: \"菜单分组\"\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 1\"\n icon:\n lib: easyops\n category: second-menu\n icon: advanced-settings-second-menu\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 2\"\n icon:\n lib: easyops\n category: second-menu\n icon: alibaba-cloud-disk-second-menu\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 3\"\n icon:\n lib: easyops\n category: second-menu\n icon: advanced-settings-second-menu\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-sidebar-menu-group style=\"width: 196px\">\n# <span slot=\"title\">菜单分组</span>\n# <eo-sidebar-menu-item id=\"brick-1\">菜单项 1</eo-sidebar-menu-item>\n# <eo-sidebar-menu-item id=\"brick-2\">菜单项 2</eo-sidebar-menu-item>\n# <eo-sidebar-menu-item id=\"brick-3\">菜单项 3</eo-sidebar-menu-item>\n# </eo-sidebar-menu-group>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"advanced-settings-second-menu\",\n# };\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"alibaba-cloud-disk-second-menu\",\n# };\n# \n# const brick_3 = document.getElementById(\"brick-3\");\n# brick_3.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"advanced-settings-second-menu\",\n# };\n# </script>\n# \n```\n"
19
19
  },
@@ -23,12 +23,12 @@
23
23
  "eo-sidebar-menu": {
24
24
  "doc": "侧栏菜单\n\n## Examples\n\n### Basic\n\n```yaml preview gap\n- brick: eo-button\n context:\n - name: menuCollapsed\n value: false\n properties:\n type: primary\n textContent: switch collapsed\n events:\n click:\n - action: context.replace\n args:\n - menuCollapsed\n - <% !CTX.menuCollapsed %>\n- brick: eo-sidebar-menu\n properties:\n id: sidebar-menu\n menuCollapsed: <%= CTX.menuCollapsed %>\n style: \"<%= { width: CTX.menuCollapsed ? '40px' : '196px' } %>\"\n children:\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 1\"\n icon:\n lib: easyops\n category: second-menu\n icon: gaussdb-for-opengauss-second-menu\n - brick: eo-sidebar-menu-group\n children:\n - brick: span\n slot: title\n properties:\n textContent: \"菜单分组\"\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 2\"\n icon:\n lib: easyops\n category: second-menu\n icon: firewall-second-menu\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 3\"\n icon:\n lib: easyops\n category: second-menu\n icon: host-resources-second-menu\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 4\"\n icon:\n lib: easyops\n category: second-menu\n icon: loadbalance-second-menu\n - brick: eo-sidebar-menu-submenu\n properties:\n icon:\n lib: easyops\n category: second-menu\n icon: oceanbase-second-menu\n children:\n - brick: span\n slot: title\n properties:\n textContent: \"子菜单\"\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 5\"\n icon:\n lib: easyops\n category: second-menu\n icon: nginx-second-menu\n inSubmenu: true\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 6\"\n icon:\n lib: easyops\n category: second-menu\n icon: process-task-second-menu\n inSubmenu: true\n - brick: eo-sidebar-menu-item\n properties:\n textContent: \"菜单项 7\"\n icon:\n lib: easyops\n category: second-menu\n icon: persistent-volume-statement-second-menu\n inSubmenu: true\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-button type=\"primary\" id=\"brick-1\">switch collapsed</eo-button>\n# <eo-sidebar-menu menu-collapsed id=\"sidebar-menu\">\n# <eo-sidebar-menu-item id=\"brick-2\">菜单项 1</eo-sidebar-menu-item>\n# <eo-sidebar-menu-group>\n# <span slot=\"title\">菜单分组</span>\n# <eo-sidebar-menu-item id=\"brick-3\">菜单项 2</eo-sidebar-menu-item>\n# <eo-sidebar-menu-item id=\"brick-4\">菜单项 3</eo-sidebar-menu-item>\n# <eo-sidebar-menu-item id=\"brick-5\">菜单项 4</eo-sidebar-menu-item>\n# </eo-sidebar-menu-group>\n# <eo-sidebar-menu-submenu id=\"brick-6\">\n# <span slot=\"title\">子菜单</span>\n# <eo-sidebar-menu-item in-submenu id=\"brick-7\"\n# >菜单项 5</eo-sidebar-menu-item\n# >\n# <eo-sidebar-menu-item in-submenu id=\"brick-8\"\n# >菜单项 6</eo-sidebar-menu-item\n# >\n# <eo-sidebar-menu-item in-submenu id=\"brick-9\"\n# >菜单项 7</eo-sidebar-menu-item\n# >\n# </eo-sidebar-menu-submenu>\n# </eo-sidebar-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.addEventListener(\"click\", (e) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"gaussdb-for-opengauss-second-menu\",\n# };\n# \n# const brick_3 = document.getElementById(\"brick-3\");\n# brick_3.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"firewall-second-menu\",\n# };\n# \n# const brick_4 = document.getElementById(\"brick-4\");\n# brick_4.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"host-resources-second-menu\",\n# };\n# \n# const brick_5 = document.getElementById(\"brick-5\");\n# brick_5.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"loadbalance-second-menu\",\n# };\n# \n# const brick_6 = document.getElementById(\"brick-6\");\n# brick_6.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"oceanbase-second-menu\",\n# };\n# \n# const brick_7 = document.getElementById(\"brick-7\");\n# brick_7.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"nginx-second-menu\",\n# };\n# \n# const brick_8 = document.getElementById(\"brick-8\");\n# brick_8.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"process-task-second-menu\",\n# };\n# \n# const brick_9 = document.getElementById(\"brick-9\");\n# brick_9.icon = {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"persistent-volume-statement-second-menu\",\n# };\n# </script>\n# \n```\n"
25
25
  },
26
- "eo-sidebar": {
27
- "doc": "侧边栏\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: eo-sidebar\nproperties:\n style:\n height: 600px\n position: static\n menu:\n title: 这是一个菜单标题\n menuItems:\n - icon:\n lib: easyops\n category: second-menu\n icon: automatic-collection-second-menu\n text: item 1\n to: /nlicro-test3/breadcrumb/new\n type: default\n children: []\n key: \"0\"\n - icon:\n lib: easyops\n category: second-menu\n icon: deployment-instance-second-menu\n text: item 2\n to: item 2\n type: default\n children: []\n key: \"1\"\n - type: subMenu\n title: sub 1\n icon:\n lib: easyops\n category: second-menu\n icon: deployment-architecture-second-menu\n items:\n - text: inner 1\n to: inner 1\n type: default\n children: []\n key: \"2.0\"\n - text: inner 2\n to: inner 2\n type: default\n children: []\n key: \"2.1\"\n - type: group\n title: group in submenu\n items:\n - text: item - 1\n to: item - 1\n type: default\n children: []\n key: \"2.3.1\"\n - text: item - 2\n to: item - 2\n type: default\n children: []\n key: \"2.3.2\"\n key: \"2\"\n - icon:\n lib: easyops\n category: second-menu\n icon: elasticsearch-second-menu\n text: item 3\n to: item 3\n type: default\n children: []\n key: \"3\"\n - type: group\n title: group 1\n items:\n - icon:\n lib: easyops\n category: second-menu\n icon: change-history-second-menu\n text: inner 3\n to: inner 3\n type: default\n children: []\n key: \"4.0\"\n - icon:\n lib: easyops\n category: second-menu\n icon: broadband-line-second-menu\n text: inner 4\n to: inner 4\n type: default\n children: []\n key: \"4.1\"\n key: \"4\"\n - icon:\n lib: easyops\n category: second-menu\n icon: fill-in-second-menu\n text: item 4\n to: item 4\n type: default\n children: []\n key: \"5\"\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-sidebar style=\"height: 600px\" position=\"static\" id=\"brick-1\"></eo-sidebar>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"这是一个菜单标题\",\n# menuItems: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"automatic-collection-second-menu\",\n# },\n# text: \"item 1\",\n# to: \"/nlicro-test3/breadcrumb/new\",\n# type: \"default\",\n# children: [],\n# key: \"0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"deployment-instance-second-menu\",\n# },\n# text: \"item 2\",\n# to: \"item 2\",\n# type: \"default\",\n# children: [],\n# key: \"1\",\n# },\n# {\n# type: \"subMenu\",\n# title: \"sub 1\",\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"deployment-architecture-second-menu\",\n# },\n# items: [\n# {\n# text: \"inner 1\",\n# to: \"inner 1\",\n# type: \"default\",\n# children: [],\n# key: \"2.0\",\n# },\n# {\n# text: \"inner 2\",\n# to: \"inner 2\",\n# type: \"default\",\n# children: [],\n# key: \"2.1\",\n# },\n# {\n# type: \"group\",\n# title: \"group in submenu\",\n# items: [\n# {\n# text: \"item - 1\",\n# to: \"item - 1\",\n# type: \"default\",\n# children: [],\n# key: \"2.3.1\",\n# },\n# {\n# text: \"item - 2\",\n# to: \"item - 2\",\n# type: \"default\",\n# children: [],\n# key: \"2.3.2\",\n# },\n# ],\n# },\n# ],\n# key: \"2\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"elasticsearch-second-menu\",\n# },\n# text: \"item 3\",\n# to: \"item 3\",\n# type: \"default\",\n# children: [],\n# key: \"3\",\n# },\n# {\n# type: \"group\",\n# title: \"group 1\",\n# items: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"change-history-second-menu\",\n# },\n# text: \"inner 3\",\n# to: \"inner 3\",\n# type: \"default\",\n# children: [],\n# key: \"4.0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"broadband-line-second-menu\",\n# },\n# text: \"inner 4\",\n# to: \"inner 4\",\n# type: \"default\",\n# children: [],\n# key: \"4.1\",\n# },\n# ],\n# key: \"4\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"fill-in-second-menu\",\n# },\n# text: \"item 4\",\n# to: \"item 4\",\n# type: \"default\",\n# children: [],\n# key: \"5\",\n# },\n# ],\n# };\n# </script>\n# \n```\n"
28
- },
29
26
  "eo-sidebar-sub-menu": {
30
27
  "doc": "构件 `eo-sidebar-sub-menu`\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-sidebar-sub-menu\n properties:\n style:\n width: 220px\n display: block\n menu:\n title: mock data\n menuItems:\n - exact: true\n icon:\n lib: easyops\n category: third-menu\n icon: advanced-settings-third-menu\n text: 测试标题\n to: /developers/brick-book/atom/sub-menu\n type: default\n key: \"0\"\n - items:\n - icon:\n lib: easyops\n category: third-menu\n icon: application-activity-third-menu\n text: 主机测试兼容复杂场景\n to: /developers/brick-book/atom/sub-menu/1\n key: \"1.0\"\n - icon:\n lib: easyops\n category: third-menu\n icon: dashboard-third-menu\n text: Docker\n to: /developers/brick-book/atom/sub-menu/2\n key: \"1.1\"\n title: 平台资源\n type: group\n key: \"1\"\n - items:\n - icon:\n lib: easyops\n category: third-menu\n icon: host-instance-maintenance-third-menu\n text: 开发负责人\n to: /developers/brick-book/atom/sub-menu/3\n key: \"2.0\"\n - icon:\n lib: easyops\n category: third-menu\n icon: inspection-overview-third-menu\n text: 运维负责人\n to: /developers/brick-book/atom/sub-menu/4\n key: \"2.1\"\n - icon:\n lib: easyops\n category: third-menu\n icon: job-management-third-menu\n text: 测试负责人\n to: /developers/brick-book/atom/sub-menu/5\n key: \"2.2\"\n title: 负责人\n type: group\n key: \"2\"\n - items:\n - icon:\n lib: easyops\n category: third-menu\n icon: plugin-market-third-menu\n items:\n - text: 被调方\n to: /developers/brick-book/atom/sub-menu/8\n key: 3.1.0\n title: 被调方\n type: subMenu\n key: \"3.1\"\n title: 调用关系\n type: group\n key: \"3\"\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-sidebar-sub-menu\n# style=\"width: 220px; display: block\"\n# id=\"brick-1\"\n# ></eo-sidebar-sub-menu>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"mock data\",\n# menuItems: [\n# {\n# exact: true,\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"advanced-settings-third-menu\",\n# },\n# text: \"测试标题\",\n# to: \"/developers/brick-book/atom/sub-menu\",\n# type: \"default\",\n# key: \"0\",\n# },\n# {\n# items: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"application-activity-third-menu\",\n# },\n# text: \"主机测试兼容复杂场景\",\n# to: \"/developers/brick-book/atom/sub-menu/1\",\n# key: \"1.0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"dashboard-third-menu\",\n# },\n# text: \"Docker\",\n# to: \"/developers/brick-book/atom/sub-menu/2\",\n# key: \"1.1\",\n# },\n# ],\n# title: \"平台资源\",\n# type: \"group\",\n# key: \"1\",\n# },\n# {\n# items: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"host-instance-maintenance-third-menu\",\n# },\n# text: \"开发负责人\",\n# to: \"/developers/brick-book/atom/sub-menu/3\",\n# key: \"2.0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"inspection-overview-third-menu\",\n# },\n# text: \"运维负责人\",\n# to: \"/developers/brick-book/atom/sub-menu/4\",\n# key: \"2.1\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"job-management-third-menu\",\n# },\n# text: \"测试负责人\",\n# to: \"/developers/brick-book/atom/sub-menu/5\",\n# key: \"2.2\",\n# },\n# ],\n# title: \"负责人\",\n# type: \"group\",\n# key: \"2\",\n# },\n# {\n# items: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"third-menu\",\n# icon: \"plugin-market-third-menu\",\n# },\n# items: [\n# {\n# text: \"被调方\",\n# to: \"/developers/brick-book/atom/sub-menu/8\",\n# key: \"3.1.0\",\n# },\n# ],\n# title: \"被调方\",\n# type: \"subMenu\",\n# key: \"3.1\",\n# },\n# ],\n# title: \"调用关系\",\n# type: \"group\",\n# key: \"3\",\n# },\n# ],\n# };\n# </script>\n# \n```\n"
31
28
  },
29
+ "eo-sidebar": {
30
+ "doc": "侧边栏\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: eo-sidebar\nproperties:\n style:\n height: 600px\n position: static\n menu:\n title: 这是一个菜单标题\n menuItems:\n - icon:\n lib: easyops\n category: second-menu\n icon: automatic-collection-second-menu\n text: item 1\n to: /nlicro-test3/breadcrumb/new\n type: default\n children: []\n key: \"0\"\n - icon:\n lib: easyops\n category: second-menu\n icon: deployment-instance-second-menu\n text: item 2\n to: item 2\n type: default\n children: []\n key: \"1\"\n - type: subMenu\n title: sub 1\n icon:\n lib: easyops\n category: second-menu\n icon: deployment-architecture-second-menu\n items:\n - text: inner 1\n to: inner 1\n type: default\n children: []\n key: \"2.0\"\n - text: inner 2\n to: inner 2\n type: default\n children: []\n key: \"2.1\"\n - type: group\n title: group in submenu\n items:\n - text: item - 1\n to: item - 1\n type: default\n children: []\n key: \"2.3.1\"\n - text: item - 2\n to: item - 2\n type: default\n children: []\n key: \"2.3.2\"\n key: \"2\"\n - icon:\n lib: easyops\n category: second-menu\n icon: elasticsearch-second-menu\n text: item 3\n to: item 3\n type: default\n children: []\n key: \"3\"\n - type: group\n title: group 1\n items:\n - icon:\n lib: easyops\n category: second-menu\n icon: change-history-second-menu\n text: inner 3\n to: inner 3\n type: default\n children: []\n key: \"4.0\"\n - icon:\n lib: easyops\n category: second-menu\n icon: broadband-line-second-menu\n text: inner 4\n to: inner 4\n type: default\n children: []\n key: \"4.1\"\n key: \"4\"\n - icon:\n lib: easyops\n category: second-menu\n icon: fill-in-second-menu\n text: item 4\n to: item 4\n type: default\n children: []\n key: \"5\"\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-sidebar style=\"height: 600px\" position=\"static\" id=\"brick-1\"></eo-sidebar>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.menu = {\n# title: \"这是一个菜单标题\",\n# menuItems: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"automatic-collection-second-menu\",\n# },\n# text: \"item 1\",\n# to: \"/nlicro-test3/breadcrumb/new\",\n# type: \"default\",\n# children: [],\n# key: \"0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"deployment-instance-second-menu\",\n# },\n# text: \"item 2\",\n# to: \"item 2\",\n# type: \"default\",\n# children: [],\n# key: \"1\",\n# },\n# {\n# type: \"subMenu\",\n# title: \"sub 1\",\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"deployment-architecture-second-menu\",\n# },\n# items: [\n# {\n# text: \"inner 1\",\n# to: \"inner 1\",\n# type: \"default\",\n# children: [],\n# key: \"2.0\",\n# },\n# {\n# text: \"inner 2\",\n# to: \"inner 2\",\n# type: \"default\",\n# children: [],\n# key: \"2.1\",\n# },\n# {\n# type: \"group\",\n# title: \"group in submenu\",\n# items: [\n# {\n# text: \"item - 1\",\n# to: \"item - 1\",\n# type: \"default\",\n# children: [],\n# key: \"2.3.1\",\n# },\n# {\n# text: \"item - 2\",\n# to: \"item - 2\",\n# type: \"default\",\n# children: [],\n# key: \"2.3.2\",\n# },\n# ],\n# },\n# ],\n# key: \"2\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"elasticsearch-second-menu\",\n# },\n# text: \"item 3\",\n# to: \"item 3\",\n# type: \"default\",\n# children: [],\n# key: \"3\",\n# },\n# {\n# type: \"group\",\n# title: \"group 1\",\n# items: [\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"change-history-second-menu\",\n# },\n# text: \"inner 3\",\n# to: \"inner 3\",\n# type: \"default\",\n# children: [],\n# key: \"4.0\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"broadband-line-second-menu\",\n# },\n# text: \"inner 4\",\n# to: \"inner 4\",\n# type: \"default\",\n# children: [],\n# key: \"4.1\",\n# },\n# ],\n# key: \"4\",\n# },\n# {\n# icon: {\n# lib: \"easyops\",\n# category: \"second-menu\",\n# icon: \"fill-in-second-menu\",\n# },\n# text: \"item 4\",\n# to: \"item 4\",\n# type: \"default\",\n# children: [],\n# key: \"5\",\n# },\n# ],\n# };\n# </script>\n# \n```\n"
31
+ },
32
32
  "eo-directory": {
33
33
  "doc": "构件 `eo-directory`\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: div\n properties:\n style:\n width: 200px\n height: 500px\n slots:\n \"\":\n type: bricks\n bricks:\n - brick: eo-directory\n events:\n menu.item.click:\n - action: console.log\n suffix.icon.click:\n - action: console.log\n properties:\n defaultSelectedKeys:\n - strategy1\n directoryTitle: 目录标题\n menuItems:\n - title: 测试\n type: group\n suffixIcon:\n lib: antd\n icon: plus-circle\n theme: outlined\n key: test\n children:\n - key: strategy1\n title: 数据1\n - key: strategy2\n title: 数据2\n - title: 其他\n type: group\n suffixIcon:\n lib: antd\n icon: plus-circle\n theme: outlined\n suffixIconDisabled: true\n suffixIconTooltip: 禁止点击\n key: otherKey\n children:\n - key: manual-strategy1\n title: 数据3\n# -- YAML DELIMITER (1nbbm8) --\n# <div style=\"width: 200px; height: 500px\">\n# <eo-directory directory-title=\"目录标题\" id=\"brick-1\"></eo-directory>\n# </div>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.defaultSelectedKeys = [\"strategy1\"];\n# brick_1.menuItems = [\n# {\n# title: \"测试\",\n# type: \"group\",\n# suffixIcon: {\n# lib: \"antd\",\n# icon: \"plus-circle\",\n# theme: \"outlined\",\n# },\n# key: \"test\",\n# children: [\n# {\n# key: \"strategy1\",\n# title: \"数据1\",\n# },\n# {\n# key: \"strategy2\",\n# title: \"数据2\",\n# },\n# ],\n# },\n# {\n# title: \"其他\",\n# type: \"group\",\n# suffixIcon: {\n# lib: \"antd\",\n# icon: \"plus-circle\",\n# theme: \"outlined\",\n# },\n# suffixIconDisabled: true,\n# suffixIconTooltip: \"禁止点击\",\n# key: \"otherKey\",\n# children: [\n# {\n# key: \"manual-strategy1\",\n# title: \"数据3\",\n# },\n# ],\n# },\n# ];\n# brick_1.addEventListener(\"menu.item.click\", (e) => {\n# console.log(e.detail);\n# });\n# brick_1.addEventListener(\"suffix.icon.click\", (e) => {\n# console.log(e.detail);\n# });\n# </script>\n# \n```\n"
34
34
  },