@next-bricks/data-view 0.15.10 → 0.15.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +5 -5
- package/dist/chunks/{1646.800c5e56.js → 1646.f7efb4e3.js} +2 -2
- package/dist/chunks/{7746.c5074280.js.map → 1646.f7efb4e3.js.map} +1 -1
- package/dist/chunks/3458.e1664a75.js +2 -0
- package/dist/chunks/3458.e1664a75.js.map +1 -0
- package/dist/chunks/{4049.f3c6fa2c.js → 4049.77be2912.js} +2 -2
- package/dist/chunks/{4049.f3c6fa2c.js.map → 4049.77be2912.js.map} +1 -1
- package/dist/chunks/5114.8f5c2c9b.js +2 -0
- package/dist/chunks/{5114.f11910ec.js.map → 5114.8f5c2c9b.js.map} +1 -1
- package/dist/chunks/5381.c033548c.js +2 -0
- package/dist/chunks/{5381.67057e34.js.map → 5381.c033548c.js.map} +1 -1
- package/dist/chunks/{5636.e0080dc9.js → 5636.04e20f8a.js} +2 -2
- package/dist/chunks/{5636.e0080dc9.js.map → 5636.04e20f8a.js.map} +1 -1
- package/dist/chunks/{5725.a33cc67f.js → 5725.b4ca3ca8.js} +2 -2
- package/dist/chunks/{7672.2c894e14.js.map → 5725.b4ca3ca8.js.map} +1 -1
- package/dist/chunks/6205.dafb1737.js +2 -0
- package/dist/chunks/{6205.e0ca5723.js.map → 6205.dafb1737.js.map} +1 -1
- package/dist/chunks/6301.9dc07051.js +2 -0
- package/dist/chunks/{6301.d76aa7db.js.map → 6301.9dc07051.js.map} +1 -1
- package/dist/chunks/{6473.033bb65d.js → 6473.860c166a.js} +2 -2
- package/dist/chunks/{6473.033bb65d.js.map → 6473.860c166a.js.map} +1 -1
- package/dist/chunks/6660.8377e90d.js +2 -0
- package/dist/chunks/{6660.35d15a5a.js.map → 6660.8377e90d.js.map} +1 -1
- package/dist/chunks/7164.350797e2.js +2 -0
- package/dist/chunks/{7164.d5fa73ec.js.map → 7164.350797e2.js.map} +1 -1
- package/dist/chunks/{7672.2c894e14.js → 7672.0eebcd73.js} +2 -2
- package/dist/chunks/{5725.a33cc67f.js.map → 7672.0eebcd73.js.map} +1 -1
- package/dist/chunks/{7746.c5074280.js → 7746.f6fb97d0.js} +2 -2
- package/dist/chunks/{1646.800c5e56.js.map → 7746.f6fb97d0.js.map} +1 -1
- package/dist/chunks/7782.a3b6cf4d.js +2 -0
- package/dist/chunks/7782.a3b6cf4d.js.map +1 -0
- package/dist/chunks/8691.d300572b.js +2 -0
- package/dist/chunks/8691.d300572b.js.map +1 -0
- package/dist/chunks/app-wall-card-item.da5a9f78.js +3 -0
- package/dist/chunks/{app-wall-card-item.66073883.js.map → app-wall-card-item.da5a9f78.js.map} +1 -1
- package/dist/chunks/app-wall-relation-line.5daa44cb.js +3 -0
- package/dist/chunks/{app-wall-relation-line.b465193b.js.map → app-wall-relation-line.5daa44cb.js.map} +1 -1
- package/dist/chunks/app-wall-system-card.90fa2124.js +2 -0
- package/dist/chunks/{app-wall-system-card.0f4c459b.js.map → app-wall-system-card.90fa2124.js.map} +1 -1
- package/dist/chunks/app-wall.230705b3.js +2 -0
- package/dist/chunks/{app-wall.97e70d76.js.map → app-wall.230705b3.js.map} +1 -1
- package/dist/chunks/battery-chart.ae9aa315.js +2 -0
- package/dist/chunks/{battery-chart.83bdf03f.js.map → battery-chart.ae9aa315.js.map} +1 -1
- package/dist/chunks/brick-notification.4340315d.js +2 -0
- package/dist/chunks/{brick-notification.c5b64b84.js.map → brick-notification.4340315d.js.map} +1 -1
- package/dist/chunks/cabinet-app-layer.bd2df2ad.js +3 -0
- package/dist/chunks/{cabinet-app-layer.2497f75d.js.map → cabinet-app-layer.bd2df2ad.js.map} +1 -1
- package/dist/chunks/cabinet-button.82fc3470.js +2 -0
- package/dist/chunks/{cabinet-button.b7c691c4.js.map → cabinet-button.82fc3470.js.map} +1 -1
- package/dist/chunks/cabinet-container.4a94ba99.js +3 -0
- package/dist/chunks/{cabinet-container.c7fedd36.js.map → cabinet-container.4a94ba99.js.map} +1 -1
- package/dist/chunks/cabinet-graph.02f98adb.js +2 -0
- package/dist/chunks/{cabinet-graph.c542ef6e.js.map → cabinet-graph.02f98adb.js.map} +1 -1
- package/dist/chunks/cabinet-node.6401cdef.js +3 -0
- package/dist/chunks/{cabinet-node.4cfbd18d.js.map → cabinet-node.6401cdef.js.map} +1 -1
- package/dist/chunks/cabinet-thumbnail.7b837aa0.js +3 -0
- package/dist/chunks/{cabinet-thumbnail.7d897c3a.js.map → cabinet-thumbnail.7b837aa0.js.map} +1 -1
- package/dist/chunks/{complex-search.a31b8d52.js → complex-search.1003d655.js} +2 -2
- package/dist/chunks/{complex-search.a31b8d52.js.map → complex-search.1003d655.js.map} +1 -1
- package/dist/chunks/dropdown-menu.cb19abf6.js +3 -0
- package/dist/chunks/{dropdown-menu.5f4a483a.js.map → dropdown-menu.cb19abf6.js.map} +1 -1
- package/dist/chunks/gauge-chart.80cfaf95.js +2 -0
- package/dist/chunks/{gauge-chart.a350ab36.js.map → gauge-chart.80cfaf95.js.map} +1 -1
- package/dist/chunks/gear-background.dea33dd9.js +2 -0
- package/dist/chunks/{gear-background.234ee2d9.js.map → gear-background.dea33dd9.js.map} +1 -1
- package/dist/chunks/graph-layout-grid.17626afe.js +2 -0
- package/dist/chunks/{graph-layout-grid.e3e65333.js.map → graph-layout-grid.17626afe.js.map} +1 -1
- package/dist/chunks/graph-node.0bec86b9.js +2 -0
- package/dist/chunks/{graph-node.f706e033.js.map → graph-node.0bec86b9.js.map} +1 -1
- package/dist/chunks/{graph-text.db252964.js → graph-text.3f3686df.js} +2 -2
- package/dist/chunks/{graph-text.db252964.js.map → graph-text.3f3686df.js.map} +1 -1
- package/dist/chunks/grid-background.c7cf8018.js +2 -0
- package/dist/chunks/{grid-background.a3f86d68.js.map → grid-background.c7cf8018.js.map} +1 -1
- package/dist/chunks/hi-tech-button.72425a89.js +2 -0
- package/dist/chunks/{hi-tech-button.60b508d3.js.map → hi-tech-button.72425a89.js.map} +1 -1
- package/dist/chunks/lights-component-title.d94fc67d.js +2 -0
- package/dist/chunks/{lights-component-title.66d2917b.js.map → lights-component-title.d94fc67d.js.map} +1 -1
- package/dist/chunks/loading-panel.bc7943e2.js +2 -0
- package/dist/chunks/{loading-panel.3550101b.js.map → loading-panel.bc7943e2.js.map} +1 -1
- package/dist/chunks/main.6dd81b5e.js +2 -0
- package/dist/chunks/main.6dd81b5e.js.map +1 -0
- package/dist/chunks/modern-style-component-title.7c07455b.js +2 -0
- package/dist/chunks/{modern-style-component-title.5ffd3936.js.map → modern-style-component-title.7c07455b.js.map} +1 -1
- package/dist/chunks/modern-style-page-title.64180809.js +2 -0
- package/dist/chunks/{modern-style-page-title.a71d5704.js.map → modern-style-page-title.64180809.js.map} +1 -1
- package/dist/chunks/modern-style-treemap.6c21f64e.js +3 -0
- package/dist/chunks/{modern-style-treemap.f604b3cc.js.map → modern-style-treemap.6c21f64e.js.map} +1 -1
- package/dist/chunks/particle-animation.85eaa981.js +2 -0
- package/dist/chunks/{particle-animation.5cdf0004.js.map → particle-animation.85eaa981.js.map} +1 -1
- package/dist/chunks/radar-chart.786098a1.js +2 -0
- package/dist/chunks/{radar-chart.cedd89b0.js.map → radar-chart.786098a1.js.map} +1 -1
- package/dist/chunks/tabs-drawer.6080b0ef.js +3 -0
- package/dist/chunks/{tabs-drawer.126f7cec.js.map → tabs-drawer.6080b0ef.js.map} +1 -1
- package/dist/chunks/tabs-page-title.4327ec9e.js +3 -0
- package/dist/chunks/{tabs-page-title.9c6318ac.js.map → tabs-page-title.4327ec9e.js.map} +1 -1
- package/dist/chunks/tech-mesh-base-view.8803dcf7.js +2 -0
- package/dist/chunks/{tech-mesh-base-view.de782fc2.js.map → tech-mesh-base-view.8803dcf7.js.map} +1 -1
- package/dist/chunks/title-text.cecb3ab8.js +2 -0
- package/dist/chunks/{title-text.f14ab430.js.map → title-text.cecb3ab8.js.map} +1 -1
- package/dist/chunks/top-title-bar.54b43068.js +2 -0
- package/dist/chunks/{top-title-bar.34d11dd5.js.map → top-title-bar.54b43068.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/index.9e6166a0.js +2 -0
- package/dist/index.9e6166a0.js.map +1 -0
- package/dist/manifest.json +69 -69
- package/dist/types.json +196 -196
- package/package.json +4 -4
- package/dist/chunks/3458.3f529505.js +0 -2
- package/dist/chunks/3458.3f529505.js.map +0 -1
- package/dist/chunks/5114.f11910ec.js +0 -2
- package/dist/chunks/5381.67057e34.js +0 -2
- package/dist/chunks/6205.e0ca5723.js +0 -2
- package/dist/chunks/6301.d76aa7db.js +0 -2
- package/dist/chunks/6660.35d15a5a.js +0 -2
- package/dist/chunks/7164.d5fa73ec.js +0 -2
- package/dist/chunks/7782.2a51fa60.js +0 -2
- package/dist/chunks/7782.2a51fa60.js.map +0 -1
- package/dist/chunks/8691.fa598c6a.js +0 -2
- package/dist/chunks/8691.fa598c6a.js.map +0 -1
- package/dist/chunks/app-wall-card-item.66073883.js +0 -3
- package/dist/chunks/app-wall-relation-line.b465193b.js +0 -3
- package/dist/chunks/app-wall-system-card.0f4c459b.js +0 -2
- package/dist/chunks/app-wall.97e70d76.js +0 -2
- package/dist/chunks/battery-chart.83bdf03f.js +0 -2
- package/dist/chunks/brick-notification.c5b64b84.js +0 -2
- package/dist/chunks/cabinet-app-layer.2497f75d.js +0 -3
- package/dist/chunks/cabinet-button.b7c691c4.js +0 -2
- package/dist/chunks/cabinet-container.c7fedd36.js +0 -3
- package/dist/chunks/cabinet-graph.c542ef6e.js +0 -2
- package/dist/chunks/cabinet-node.4cfbd18d.js +0 -3
- package/dist/chunks/cabinet-thumbnail.7d897c3a.js +0 -3
- package/dist/chunks/dropdown-menu.5f4a483a.js +0 -3
- package/dist/chunks/gauge-chart.a350ab36.js +0 -2
- package/dist/chunks/gear-background.234ee2d9.js +0 -2
- package/dist/chunks/graph-layout-grid.e3e65333.js +0 -2
- package/dist/chunks/graph-node.f706e033.js +0 -2
- package/dist/chunks/grid-background.a3f86d68.js +0 -2
- package/dist/chunks/hi-tech-button.60b508d3.js +0 -2
- package/dist/chunks/lights-component-title.66d2917b.js +0 -2
- package/dist/chunks/loading-panel.3550101b.js +0 -2
- package/dist/chunks/main.ffd01c4c.js +0 -2
- package/dist/chunks/main.ffd01c4c.js.map +0 -1
- package/dist/chunks/modern-style-component-title.5ffd3936.js +0 -2
- package/dist/chunks/modern-style-page-title.a71d5704.js +0 -2
- package/dist/chunks/modern-style-treemap.f604b3cc.js +0 -3
- package/dist/chunks/particle-animation.5cdf0004.js +0 -2
- package/dist/chunks/radar-chart.cedd89b0.js +0 -2
- package/dist/chunks/tabs-drawer.126f7cec.js +0 -3
- package/dist/chunks/tabs-page-title.9c6318ac.js +0 -3
- package/dist/chunks/tech-mesh-base-view.de782fc2.js +0 -2
- package/dist/chunks/title-text.f14ab430.js +0 -2
- package/dist/chunks/top-title-bar.34d11dd5.js +0 -2
- package/dist/index.7aebdec5.js +0 -2
- package/dist/index.7aebdec5.js.map +0 -1
- /package/dist/chunks/{app-wall-card-item.66073883.js.LICENSE.txt → app-wall-card-item.da5a9f78.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-relation-line.b465193b.js.LICENSE.txt → app-wall-relation-line.5daa44cb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-app-layer.2497f75d.js.LICENSE.txt → cabinet-app-layer.bd2df2ad.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-container.c7fedd36.js.LICENSE.txt → cabinet-container.4a94ba99.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.4cfbd18d.js.LICENSE.txt → cabinet-node.6401cdef.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.7d897c3a.js.LICENSE.txt → cabinet-thumbnail.7b837aa0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{dropdown-menu.5f4a483a.js.LICENSE.txt → dropdown-menu.cb19abf6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{modern-style-treemap.f604b3cc.js.LICENSE.txt → modern-style-treemap.6c21f64e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-drawer.126f7cec.js.LICENSE.txt → tabs-drawer.6080b0ef.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-page-title.9c6318ac.js.LICENSE.txt → tabs-page-title.4327ec9e.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8691,3458],{3458:(e,t,r)=>{function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){if("string"==typeof t?o.name===t:t.includes(o.name)){for(var i=[],s=1;s<=r;s++){var c=a[a.length-s];if("MemberExpression"===(null==c?void 0:c.node.type)&&"object"===c.key){var u=c.node;u.computed||"Identifier"!==u.property.type?u.computed&&"Literal"===u.property.type&&"string"==typeof u.property.value?i.push(n?"".concat(o.name,".").concat(u.property.value):u.property.value):e.hasNonStaticUsage=!0:i.push(n?"".concat(o.name,".").concat(u.property.name):u.property.name)}else e.hasNonStaticUsage=!0}i.length===r&&e.usedProperties.add(i.join("."))}}}function o(e,t){return function(r,n,o){if(n.name===e){var a=o[o.length-1],i=o[o.length-2];if("CallExpression"===(null==i?void 0:i.node.type)&&"callee"===(null==i?void 0:i.key)&&"MemberExpression"===(null==a?void 0:a.node.type)&&"object"===a.key&&(a.node.computed?"Literal"===a.node.property.type&&a.node.property.value===t:"Identifier"===a.node.property.type&&a.node.property.name===t)){var s=i.node.arguments;if(s.length>0){var c=s[0];"Literal"===c.type&&"string"==typeof c.value?r.usedArgs.add(c.value):r.hasNonStaticUsage=!0}}}}}r.r(t),r.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>a,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>h,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>P,scanPermissionActionsInStoryboard:()=>m,strictCollectMemberUsage:()=>l,strictCollectMemberUsageInFunction:()=>g,track:()=>d,trackAll:()=>f,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>y,traverseStoryboardFunctions:()=>v,unwrapProvider:()=>c.unwrapProvider});var a=o("APP","getMenu"),i=o("INSTALLED_APPS","has"),s=r(231),c=r(8177);function u(e,t,r){var n=new WeakSet,{matchExpressionString:o,visitNotMatchedExpressionString:a,visitNonExpressionString:i,visitObject:u}="string"==typeof r?{matchExpressionString:e=>e.includes(r)}:r;!function e(r){if("string"==typeof r)if((0,s.isEvaluable)(r))if(o(r))try{(0,s.preevaluate)(r,{withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,r)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==a||a(r);else null==i||i(r);else if((0,c.isObject)(r)){if(n.has(r))return;for(var l of(n.add(r),null==u||u(r),Array.isArray(r)?r:Object.values(r)))e(l)}}(e)}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,nonStaticUsage:o,usedProperties:a}=p(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your expression: "').concat(o,'"'));return a}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={usedProperties:new Set,hasNonStaticUsage:!1},a=n(o,t,r);return u(e,((e,t,r)=>{a(e,t),o.hasNonStaticUsage&&(o.nonStaticUsage=r)}),t),o}function d(e,t,r){if(e.includes(t)){var o,a={usedProperties:new Set,hasNonStaticUsage:!1},{expression:i}=(0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(a,r)}});if("SequenceExpression"===i.type&&(o=i.expressions[0])&&"Literal"===o.type&&o.value===t){if(a.usedProperties.size>0)return a.usedProperties;console.warn('You are using "'.concat(t,'" but no `').concat(r,"` usage found in your expression: ").concat(JSON.stringify(e)))}}return!1}function f(e){if(e){var t={usedProperties:new Set,hasNonStaticUsage:!1};if((0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(t,["CTX","STATE","FORM_STATE"],1,!0)}}),t.usedProperties.size>0){var r=[...t.usedProperties],o={context:!1,state:!1,formState:!1},a={CTX:"context",STATE:"state",FORM_STATE:"formState"};return r.forEach((e=>{var[t,r]=e.split(".");o[a[t]]||(o[a[t]]=[]),o[a[t]].push(r)})),o}console.warn('You are using track all but no "CTX" or "STATE" or "FORM_STATE" usage found in your expression: '.concat(JSON.stringify(e)))}return!1}function v(e,t){if(Array.isArray(e))for(var r of e)y(r,t)}function y(e,t){try{(0,s.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t}})}catch(t){console.error('Parse storyboard function "'.concat(e.name,'" failed:'),t)}}function g(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,usedProperties:o}=h(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your function: "').concat(e.name,'"'));return o}function h(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={usedProperties:new Set,hasNonStaticUsage:!1};return y(e,n(o,t,r)),o.usedProperties.delete(e.name),o}var S="PERMISSIONS",b="check";function m(e){var t,r=new Set,n=k(r),{customTemplates:o,functions:a}=null!==(t=e.meta)&&void 0!==t?t:{};return u([e.routes,o],n,S),v(a,n),Array.from(r)}function P(e){var t=new Set;return u(e,k(t),S),Array.from(t)}function k(e){return function(t,r){if(t.name===S){var n=r[r.length-1],o=r[r.length-2];if("CallExpression"===(null==o?void 0:o.node.type)&&"callee"===(null==o?void 0:o.key)&&"MemberExpression"===(null==n?void 0:n.node.type)&&"object"===n.key&&(n.node.computed?"Literal"===n.node.property.type&&n.node.property.value===b:"Identifier"===n.node.property.type&&n.node.property.name===b))for(var a of o.node.arguments)"Literal"===a.type&&"string"==typeof a.value&&e.add(a.value)}}}}}]);
|
|
2
|
-
//# sourceMappingURL=8691.fa598c6a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/8691.fa598c6a.js","mappings":"qIAAO,SAASA,EAAwBC,EAAOC,GAC7C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAAqBH,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,IAAmBA,UAAU,GACxF,OAAO,SAA2BI,EAAMC,GACtC,GAA0B,iBAAfP,EAA0BM,EAAKE,OAASR,EAAaA,EAAWS,SAASH,EAAKE,MAAO,CAE9F,IADA,IAAIE,EAAW,GACNC,EAAI,EAAGA,GAAKV,EAAOU,IAAK,CAC/B,IAAIC,EAAeL,EAAOA,EAAOJ,OAASQ,GAC1C,GAA6F,sBAAxFC,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,IAAkB,CAChJ,IAAIC,EAAaH,EAAaN,KACzBS,EAAWC,UAAyC,eAA7BD,EAAWE,SAASJ,KAErCE,EAAWC,UAAyC,YAA7BD,EAAWE,SAASJ,MAA2D,iBAA9BE,EAAWE,SAASC,MACrGR,EAASS,KAAKd,EAAqB,GAAGe,OAAOd,EAAKE,KAAM,KAAKY,OAAOL,EAAWE,SAASC,OAASH,EAAWE,SAASC,OAErHnB,EAAMsB,mBAAoB,EAJ1BX,EAASS,KAAKd,EAAqB,GAAGe,OAAOd,EAAKE,KAAM,KAAKY,OAAOL,EAAWE,SAAST,MAAQO,EAAWE,SAAST,KAMxH,MACET,EAAMsB,mBAAoB,CAE9B,CACIX,EAASP,SAAWF,GACtBF,EAAMuB,eAAeC,IAAIb,EAASc,KAAK,KAE3C,CACF,CACF,CC1BA,SAASC,EAA8BC,EAAQT,GAC7C,OAAO,SAAgClB,EAAOO,EAAMC,GAClD,GAAID,EAAKE,OAASkB,EAAQ,CACxB,IAAId,EAAeL,EAAOA,EAAOJ,OAAS,GACtCwB,EAAapB,EAAOA,EAAOJ,OAAS,GACxC,GAAuF,oBAAlFwB,aAA+C,EAASA,EAAWrB,KAAKO,OAA2G,YAA5Ec,aAA+C,EAASA,EAAWb,MAA8G,sBAAxFF,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,MAAqBF,EAAaN,KAAKU,SAA+C,YAApCJ,EAAaN,KAAKW,SAASJ,MAAsBD,EAAaN,KAAKW,SAASC,QAAUD,EAA+C,eAApCL,EAAaN,KAAKW,SAASJ,MAAyBD,EAAaN,KAAKW,SAAST,OAASS,GAAW,CACpjB,IAAIW,EAAOD,EAAWrB,KAAKJ,UAC3B,GAAI0B,EAAKzB,OAAS,EAAG,CACnB,IAAI0B,EAAWD,EAAK,GACE,YAAlBC,EAAShB,MAAgD,iBAAnBgB,EAASX,MACjDnB,EAAM+B,SAASP,IAAIM,EAASX,OAE5BnB,EAAMsB,mBAAoB,CAE9B,CACF,CACF,CACF,CACF,C,+gBACO,IAAIU,EAAyBN,EAA8B,MAAO,WAC9DO,EAA+BP,EAA8B,iBAAkB,O,mBClBnF,SAASQ,EAA8BC,EAAMC,EAEpDC,GACE,IAAIC,EAAO,IAAIC,SACX,sBACFC,EAAqB,gCACrBC,EAA+B,yBAC/BC,EAAwB,YACxBC,GACqB,iBAAZN,EAAuB,CAChCG,sBAAuBI,GAAKA,EAAElC,SAAS2B,IACrCA,GACJ,SAASQ,EAAS1B,GAChB,GAAqB,iBAAVA,EACT,IAAI,IAAA2B,aAAY3B,GACd,GAAIqB,EAAsBrB,GACxB,KACE,IAAA4B,aAAY5B,EAAO,CACjB6B,YAAY,EACZC,MAAO,CACLb,kBAAkB7B,EAAMC,GAEtB4B,EAAkB7B,EAAMC,EAAQW,EAClC,IAGN,CAAE,MAAO+B,GAEPC,QAAQD,MAAM,sCAAuCA,EACvD,MAEAT,SAA0FA,EAAgCtB,QAG5HuB,SAA4EA,EAAyBvB,QAElG,IAAI,IAAAiC,UAASjC,GAAQ,CAE1B,GAAImB,EAAKe,IAAIlC,GACX,OAIF,IAAK,IAAImC,KAFThB,EAAKd,IAAIL,GACTwB,SAAkDA,EAAYxB,GAC7CoC,MAAMC,QAAQrC,GAASA,EAAQsC,OAAOC,OAAOvC,IAC5D0B,EAASS,EAEb,CACF,CACAT,CAASV,EACX,CCjDO,SAASwB,EAAyBxB,EAAMlC,GAC7C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,GAC5E,kBACFmB,EAAiB,eACjBsC,EAAc,eACdrC,GACEsC,EAAmB1B,EAAMlC,EAAYC,GACzC,GAAIoB,EACF,MAAM,IAAIwC,MAAM,uBAAuBzC,OAAOpB,EAAY,4CAA6CoB,OAAOuC,EAAgB,MAEhI,OAAOrC,CACT,CACO,SAASsC,EAAmB1B,EAAMlC,GACvC,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EH,EAAQ,CACVuB,eAAgB,IAAIwC,IACpBzC,mBAAmB,GAEjBc,EAAoBrC,EAAwBC,EAAOC,EAAYC,GAOnE,OANAgC,EAA8BC,GAAM,CAAC5B,EAAMC,EAAQwD,KACjD5B,EAAkB7B,EAAMC,GACpBR,EAAMsB,oBACRtB,EAAM4D,eAAiBI,EACzB,GACC/D,GACID,CACT,CC1BO,SAASiE,EAAMC,EAAKC,EAAWC,GACpC,GAAIF,EAAIxD,SAASyD,GAAY,CAC3B,IAYIE,EAZArE,EAAQ,CACVuB,eAAgB,IAAIwC,IACpBzC,mBAAmB,IAEjB,WACFgD,IACE,IAAAvB,aAAYmB,EAAK,CACnBlB,YAAY,EACZC,MAAO,CACLb,kBAAmBrC,EAAwBC,EAAOoE,MAItD,GAAwB,uBAApBE,EAAWxD,OAAkCuD,EAAcC,EAAWC,YAAY,KAA4B,YAArBF,EAAYvD,MAAsBuD,EAAYlD,QAAUgD,EAAW,CAC9J,GAAInE,EAAMuB,eAAeiD,KAAO,EAC9B,OAAOxE,EAAMuB,eAGb4B,QAAQsB,KAAK,kBAAmBpD,OAAO8C,EAAW,cAAe9C,OAAO+C,EAAc,sCAAsC/C,OAAOqD,KAAKC,UAAUT,IAEtJ,CACF,CACA,OAAO,CACT,CACO,SAASU,EAASV,GACvB,GAAIA,EAAK,CACP,IAAIlE,EAAQ,CACVuB,eAAgB,IAAIwC,IACpBzC,mBAAmB,GAQrB,IANA,IAAAyB,aAAYmB,EAAK,CACflB,YAAY,EACZC,MAAO,CACLb,kBAAmBrC,EAAwBC,EAAO,CAAC,MAAO,QAAS,cAAe,GAAG,MAGrFA,EAAMuB,eAAeiD,KAAO,EAAG,CACjC,IAAIK,EAAiB,IAAI7E,EAAMuB,gBAC3BuD,EAAS,CACXC,SAAS,EACTC,OAAO,EACPC,WAAW,GAETC,EAAS,CACXC,IAAK,UACLC,MAAO,QACPC,WAAY,aASd,OAPAR,EAAeS,SAAQhC,IACrB,IAAKvC,EAAKN,GAAQ6C,EAAKiC,MAAM,KACxBT,EAAOI,EAAOnE,MACjB+D,EAAOI,EAAOnE,IAAQ,IAExB+D,EAAOI,EAAOnE,IAAMK,KAAKX,EAAK,IAEzBqE,CACT,CAEE3B,QAAQsB,KAAK,mGAAyGpD,OAAOqD,KAAKC,UAAUT,IAEhJ,CACA,OAAO,CACT,CCjEO,SAASsB,EAA4BC,EAAWrD,GACrD,GAAImB,MAAMC,QAAQiC,GAChB,IAAK,IAAIC,KAAMD,EACbE,EAA2BD,EAAItD,EAGrC,CACO,SAASuD,EAA2BD,EAAItD,GAC7C,KACE,IAAAwD,iBAAgBF,EAAGG,OAAQ,CACzBC,WAAYJ,EAAGI,WACf9C,YAAY,EACZC,MAAO,CACLb,sBAGN,CAAE,MAAOc,GAEPC,QAAQD,MAAM,8BAA+B7B,OAAOqE,EAAGjF,KAAM,aAAeyC,EAC9E,CACF,CCnBO,SAAS6C,EAAmCL,EAAIzF,GACrD,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,GAC5E,kBACFmB,EAAiB,eACjBC,GACEyE,EAA6BN,EAAIzF,EAAYC,GACjD,GAAIoB,EACF,MAAM,IAAIwC,MAAM,uBAAuBzC,OAAOpB,EAAY,0CAA2CoB,OAAOqE,EAAGjF,KAAM,MAEvH,OAAOc,CACT,CACO,SAASyE,EAA6BN,EAAIzF,GAC/C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EH,EAAQ,CACVuB,eAAgB,IAAIwC,IACpBzC,mBAAmB,GAIrB,OAFAqE,EAA2BD,EAAI3F,EAAwBC,EAAOC,EAAYC,IAC1EF,EAAMuB,eAAe0E,OAAOP,EAAGjF,MACxBT,CACT,CCpBA,IAAIkG,EAAc,cACdC,EAAQ,QACL,SAASC,EAAkCC,GAChD,IAAIC,EACAC,EAAa,IAAIxC,IACjByC,EAAyBC,EAA8BF,IACvD,gBACFG,EAAe,UACfjB,GAC2C,QAAxCa,EAAmBD,EAAWM,YAAuC,IAArBL,EAA8BA,EAAmB,CAAC,EAGvG,OAFApE,EAA8B,CAACmE,EAAWO,OAAQF,GAAkBF,EAAwBN,GAC5FV,EAA4BC,EAAWe,GAChCjD,MAAMsD,KAAKN,EACpB,CACO,SAASO,EAA2B3E,GACzC,IAAIoE,EAAa,IAAIxC,IAErB,OADA7B,EAA8BC,EAAMsE,EAA8BF,GAAaL,GACxE3C,MAAMsD,KAAKN,EACpB,CACA,SAASE,EAA8BF,GACrC,OAAO,SAAgChG,EAAMC,GAC3C,GAAID,EAAKE,OAASyF,EAAa,CAC7B,IAAIrF,EAAeL,EAAOA,EAAOJ,OAAS,GACtCwB,EAAapB,EAAOA,EAAOJ,OAAS,GACxC,GAAuF,oBAAlFwB,aAA+C,EAASA,EAAWrB,KAAKO,OAA2G,YAA5Ec,aAA+C,EAASA,EAAWb,MAA8G,sBAAxFF,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,MAAqBF,EAAaN,KAAKU,SAA+C,YAApCJ,EAAaN,KAAKW,SAASJ,MAAsBD,EAAaN,KAAKW,SAASC,QAAUgF,EAA4C,eAApCtF,EAAaN,KAAKW,SAASJ,MAAyBD,EAAaN,KAAKW,SAAST,OAAS0F,GACtiB,IAAK,IAAIY,KAAOnF,EAAWrB,KAAKJ,UACb,YAAb4G,EAAIjG,MAA2C,iBAAdiG,EAAI5F,OACvCoF,EAAW/E,IAAIuF,EAAI5F,MAI3B,CACF,CACF,C","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/beforeVisitGlobalMember.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberCallUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/track.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/collectMemberUsageInFunction.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/permissions.js"],"sourcesContent":["export function beforeVisitGlobalMember(usage, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var rememberObjectName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n return function beforeVisitGlobal(node, parent) {\n if (typeof objectName === \"string\" ? node.name === objectName : objectName.includes(node.name)) {\n var segments = [];\n for (var i = 1; i <= level; i++) {\n var memberParent = parent[parent.length - i];\n if ((memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\") {\n var memberNode = memberParent.node;\n if (!memberNode.computed && memberNode.property.type === \"Identifier\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.name) : memberNode.property.name);\n } else if (memberNode.computed && memberNode.property.type === \"Literal\" && typeof memberNode.property.value === \"string\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.value) : memberNode.property.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n if (segments.length === level) {\n usage.usedProperties.add(segments.join(\".\"));\n }\n }\n };\n}\n//# sourceMappingURL=beforeVisitGlobalMember.js.map","function collectMemberCallUsageFactory(object, property) {\n return function collectMemberCallUsage(usage, node, parent) {\n if (node.name === object) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === property : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === property)) {\n var args = callParent.node.arguments;\n if (args.length > 0) {\n var firstArg = args[0];\n if (firstArg.type === \"Literal\" && typeof firstArg.value === \"string\") {\n usage.usedArgs.add(firstArg.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n }\n }\n };\n}\nexport var collectAppGetMenuUsage = collectMemberCallUsageFactory(\"APP\", \"getMenu\");\nexport var collectInstalledAppsHasUsage = collectMemberCallUsageFactory(\"INSTALLED_APPS\", \"has\");\n//# sourceMappingURL=collectMemberCallUsage.js.map","import { isEvaluable, preevaluate } from \"@next-core/cook\";\nimport { isObject } from \"@next-core/utils/general\";\nexport function traverseStoryboardExpressions(data, beforeVisitGlobal,\n// If `options` is a string, it means the *keyword*.\noptions) {\n var memo = new WeakSet();\n var {\n matchExpressionString,\n visitNotMatchedExpressionString,\n visitNonExpressionString,\n visitObject\n } = typeof options === \"string\" ? {\n matchExpressionString: v => v.includes(options)\n } : options;\n function traverse(value) {\n if (typeof value === \"string\") {\n if (isEvaluable(value)) {\n if (matchExpressionString(value)) {\n try {\n preevaluate(value, {\n withParent: true,\n hooks: {\n beforeVisitGlobal(node, parent) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n beforeVisitGlobal(node, parent, value);\n }\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard expression failed:\", error);\n }\n } else {\n visitNotMatchedExpressionString === null || visitNotMatchedExpressionString === void 0 || visitNotMatchedExpressionString(value);\n }\n } else {\n visitNonExpressionString === null || visitNonExpressionString === void 0 || visitNonExpressionString(value);\n }\n } else if (isObject(value)) {\n // Avoid call stack overflow.\n if (memo.has(value)) {\n return;\n }\n memo.add(value);\n visitObject === null || visitObject === void 0 || visitObject(value);\n for (var item of Array.isArray(value) ? value : Object.values(value)) {\n traverse(item);\n }\n }\n }\n traverse(data);\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nimport { traverseStoryboardExpressions } from \"./traverse.js\";\nexport function strictCollectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n nonStaticUsage,\n usedProperties\n } = collectMemberUsage(data, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your expression: \\\"\").concat(nonStaticUsage, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var beforeVisitGlobal = beforeVisitGlobalMember(usage, objectName, level);\n traverseStoryboardExpressions(data, (node, parent, expr) => {\n beforeVisitGlobal(node, parent);\n if (usage.hasNonStaticUsage) {\n usage.nonStaticUsage = expr;\n }\n }, objectName);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsage.js.map","import { preevaluate } from \"@next-core/cook\";\nimport { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nexport function track(raw, trackText, variableName) {\n if (raw.includes(trackText)) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var {\n expression\n } = preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, variableName)\n }\n });\n var trackCtxExp;\n if (expression.type === \"SequenceExpression\" && (trackCtxExp = expression.expressions[0]) && trackCtxExp.type === \"Literal\" && trackCtxExp.value === trackText) {\n if (usage.usedProperties.size > 0) {\n return usage.usedProperties;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using \\\"\".concat(trackText, \"\\\" but no `\").concat(variableName, \"` usage found in your expression: \").concat(JSON.stringify(raw)));\n }\n }\n }\n return false;\n}\nexport function trackAll(raw) {\n if (raw) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, [\"CTX\", \"STATE\", \"FORM_STATE\"], 1, true)\n }\n });\n if (usage.usedProperties.size > 0) {\n var usedProperites = [...usage.usedProperties];\n var result = {\n context: false,\n state: false,\n formState: false\n };\n var keyMap = {\n CTX: \"context\",\n STATE: \"state\",\n FORM_STATE: \"formState\"\n };\n usedProperites.forEach(item => {\n var [key, name] = item.split(\".\");\n if (!result[keyMap[key]]) {\n result[keyMap[key]] = [];\n }\n result[keyMap[key]].push(name);\n });\n return result;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using track all but no \\\"CTX\\\" or \\\"STATE\\\" or \\\"FORM_STATE\\\" usage found in your expression: \".concat(JSON.stringify(raw)));\n }\n }\n return false;\n}\n//# sourceMappingURL=track.js.map","import { precookFunction } from \"@next-core/cook\";\nexport function traverseStoryboardFunctions(functions, beforeVisitGlobal) {\n if (Array.isArray(functions)) {\n for (var fn of functions) {\n traverseStoryboardFunction(fn, beforeVisitGlobal);\n }\n }\n}\nexport function traverseStoryboardFunction(fn, beforeVisitGlobal) {\n try {\n precookFunction(fn.source, {\n typescript: fn.typescript,\n withParent: true,\n hooks: {\n beforeVisitGlobal\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard function \\\"\".concat(fn.name, \"\\\" failed:\"), error);\n }\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"../expressions/beforeVisitGlobalMember.js\";\nimport { traverseStoryboardFunction } from \"./traverse.js\";\nexport function strictCollectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n usedProperties\n } = collectMemberUsageInFunction(fn, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your function: \\\"\").concat(fn.name, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n traverseStoryboardFunction(fn, beforeVisitGlobalMember(usage, objectName, level));\n usage.usedProperties.delete(fn.name);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsageInFunction.js.map","import { traverseStoryboardExpressions } from \"./expressions/index.js\";\nimport { traverseStoryboardFunctions } from \"./functions/index.js\";\nvar PERMISSIONS = \"PERMISSIONS\";\nvar check = \"check\";\nexport function scanPermissionActionsInStoryboard(storyboard) {\n var _storyboard$meta;\n var collection = new Set();\n var beforeVisitPermissions = beforeVisitPermissionsFactory(collection);\n var {\n customTemplates,\n functions\n } = (_storyboard$meta = storyboard.meta) !== null && _storyboard$meta !== void 0 ? _storyboard$meta : {};\n traverseStoryboardExpressions([storyboard.routes, customTemplates], beforeVisitPermissions, PERMISSIONS);\n traverseStoryboardFunctions(functions, beforeVisitPermissions);\n return Array.from(collection);\n}\nexport function scanPermissionActionsInAny(data) {\n var collection = new Set();\n traverseStoryboardExpressions(data, beforeVisitPermissionsFactory(collection), PERMISSIONS);\n return Array.from(collection);\n}\nfunction beforeVisitPermissionsFactory(collection) {\n return function beforeVisitPermissions(node, parent) {\n if (node.name === PERMISSIONS) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === check : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === check)) {\n for (var arg of callParent.node.arguments) {\n if (arg.type === \"Literal\" && typeof arg.value === \"string\") {\n collection.add(arg.value);\n }\n }\n }\n }\n };\n}\n//# sourceMappingURL=permissions.js.map"],"names":["beforeVisitGlobalMember","usage","objectName","level","arguments","length","undefined","rememberObjectName","node","parent","name","includes","segments","i","memberParent","type","key","memberNode","computed","property","value","push","concat","hasNonStaticUsage","usedProperties","add","join","collectMemberCallUsageFactory","object","callParent","args","firstArg","usedArgs","collectAppGetMenuUsage","collectInstalledAppsHasUsage","traverseStoryboardExpressions","data","beforeVisitGlobal","options","memo","WeakSet","matchExpressionString","visitNotMatchedExpressionString","visitNonExpressionString","visitObject","v","traverse","isEvaluable","preevaluate","withParent","hooks","error","console","isObject","has","item","Array","isArray","Object","values","strictCollectMemberUsage","nonStaticUsage","collectMemberUsage","Error","Set","expr","track","raw","trackText","variableName","trackCtxExp","expression","expressions","size","warn","JSON","stringify","trackAll","usedProperites","result","context","state","formState","keyMap","CTX","STATE","FORM_STATE","forEach","split","traverseStoryboardFunctions","functions","fn","traverseStoryboardFunction","precookFunction","source","typescript","strictCollectMemberUsageInFunction","collectMemberUsageInFunction","delete","PERMISSIONS","check","scanPermissionActionsInStoryboard","storyboard","_storyboard$meta","collection","beforeVisitPermissions","beforeVisitPermissionsFactory","customTemplates","meta","routes","from","scanPermissionActionsInAny","arg"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-wall-card-item.66073883.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8923,5628],{4012:(t,e,r)=>{"use strict";r.r(e),r.d(e,{AppWallCardItem:()=>b});var a,n,i,o,l,c,s,p,u,g,b,d=r(3395),h=r(381),f=r(687),v=r(2604),w=r(8657),x=r.n(w),m=r(2547),y=r(528),k=r(1043),Z=r(9214),z=r(2779),E=r.n(z),{defineElement:T,property:S}=(0,m.createDecorators)();n=T("data-view.app-wall-card-item",{styleTexts:[k.Z,Z.Z]}),i=S(),l=S(),s=S();var j=new WeakMap,C=new WeakMap,A=new WeakMap;class _ extends y.ReactNextElement{constructor(){super(...arguments),(0,d.Z)(this,j,{writable:!0,value:(u(this),o(this,"normal"))}),(0,d.Z)(this,C,{writable:!0,value:c(this)}),(0,d.Z)(this,A,{writable:!0,value:p(this)})}get status(){return(0,f.Z)(this,j)}set status(t){(0,h.Z)(this,j,t)}get cardTitle(){return(0,f.Z)(this,C)}set cardTitle(t){(0,h.Z)(this,C,t)}get description(){return(0,f.Z)(this,A)}set description(t){(0,h.Z)(this,A,t)}render(){return x().createElement(N,{status:this.status,cardTitle:this.cardTitle,description:this.description})}}function N(t){var{status:e,cardTitle:r,description:a}=t;return x().createElement("div",{className:E()("card-item-container",e&&"status-".concat(e))},x().createElement("div",{className:"card-item"},x().createElement("div",{className:"card-item-text-container"},x().createElement("div",{className:"card-item-title"},r),x().createElement("div",{className:"card-item-description"},a))))}g=_,({e:[o,c,p,u],c:[b,a]}=(0,v.Z)(g,[[i,1,"status"],[l,1,"cardTitle"],[s,1,"description"]],[n])),a()},2779:(t,e)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&t.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var l in r)a.call(r,l)&&r[l]&&t.push(l)}}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},9214:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([t.id,":host{display:inline-block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.card-item-container{position:relative;width:100%;height:100%}.card-item{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:var(--no-border-radius);border-color:transparent;transition:border-color 0.5s}.status-normal:hover{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning:hover{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}.card-item-container.status-normal .card-item{background:var(--color-fill-bg-base-4);box-shadow:inset 0px 1px 2px 0px rgba(255,255,255,0.45)}.card-item-container.status-normal:hover .card-item{border:2px solid rgba(80,255,255,0.58)}.card-item-container.status-warning .card-item{background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%);box-shadow:inset 0px 2px 6px 0px rgba(255,255,255,0.65)}.card-item-container.status-warning:hover .card-item{border:none}.card-item-text-container{width:100%;padding:0 12px}.card-item-title,\n.card-item-description{font-size:20px;font-weight:var(--font-weight-500);color:var(--color-normal-text)}.card-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-item-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}",""]);const l=o.toString()},1043:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([t.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",a=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),a&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),a&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,a,n,i){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(o[c]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);a&&o[p[0]]||(void 0!==i&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),e.push(p))}},e}},9601:t=>{"use strict";t.exports=function(t){return t[1]}},2604:(t,e,r)=>{"use strict";r.d(e,{Z:()=>h});var a=r(6522),n=r(1815);function i(t,e){return function(r){(function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")})(e),c(r,"An initializer"),t.push(r)}}function o(t,e){if(!t(e))throw new TypeError("Attempted to access private element on non-instance")}function l(t,e,r,a,n,l,c,s,p,u){var g;switch(l){case 1:g="accessor";break;case 2:g="method";break;case 3:g="getter";break;case 4:g="setter";break;default:g="field"}var b,d,h={kind:g,name:s?"#"+r:r,static:c,private:s},f={v:!1};if(0!==l&&(h.addInitializer=i(n,f)),s||0!==l&&2!==l)if(2===l)b=function(t){return o(u,t),a.value};else{var v=0===l||1===l;(v||3===l)&&(b=s?function(t){return o(u,t),a.get.call(t)}:function(t){return a.get.call(t)}),(v||4===l)&&(d=s?function(t,e){o(u,t),a.set.call(t,e)}:function(t,e){a.set.call(t,e)})}else b=function(t){return t[r]},0===l&&(d=function(t,e){t[r]=e});var w=s?u.bind():function(t){return r in t};h.access=b&&d?{get:b,set:d,has:w}:b?{get:b,has:w}:{set:d,has:w};try{return t.call(e,p,h)}finally{f.v=!0}}function c(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function s(t,e){var r=(0,a.Z)(e);if(1===t){if("object"!==r||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&c(e.get,"accessor.get"),void 0!==e.set&&c(e.set,"accessor.set"),void 0!==e.init&&c(e.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===t?"field":5===t?"class":"method")+" decorators must return a function or void 0")}function p(t){return function(){return t(this)}}function u(t){return function(e){t(this,e)}}function g(t,e,r,a,n,i,o,c,g,b){var d,h,f,v,w,x,m=r[0];a||Array.isArray(m)||(m=[m]),c?d=0===i||1===i?{get:p(r[3]),set:u(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(d=Object.getOwnPropertyDescriptor(e,n)),1===i?f={get:d.get,set:d.set}:2===i?f=d.value:3===i?f=d.get:4===i&&(f=d.set);for(var y=a?2:1,k=m.length-1;k>=0;k-=y){var Z;void 0!==(v=l(m[k],a?m[k-1]:void 0,n,d,g,i,o,c,f,b))&&(s(i,v),0===i?Z=v:1===i?(Z=v.init,w=v.get||f.get,x=v.set||f.set,f={get:w,set:x}):f=v,void 0!==Z&&(void 0===h?h=Z:"function"==typeof h?h=[h,Z]:h.push(Z)))}if(0===i||1===i){if(void 0===h)h=function(t,e){return e};else if("function"!=typeof h){var z=h;h=function(t,e){for(var r=e,a=z.length-1;a>=0;a--)r=z[a].call(t,r);return r}}else{var E=h;h=function(t,e){return E.call(t,e)}}t.push(h)}0!==i&&(1===i?(d.get=f.get,d.set=f.set):2===i?d.value=f:3===i?d.get=f:4===i&&(d.set=f),c?1===i?(t.push((function(t,e){return f.get.call(t,e)})),t.push((function(t,e){return f.set.call(t,e)}))):2===i?t.push(f):t.push((function(t,e){return f.call(t,e)})):Object.defineProperty(e,n,d))}function b(t,e,r){for(var a,i,o,l=[],c=new Map,s=new Map,p=0;p<e.length;p++){var u=e[p];if(Array.isArray(u)){var b,h,f=u[1],v=u[2],w=u.length>3,x=16&f,m=!!(8&f),y=r;if(f&=7,m?(b=t,0!==f&&(h=i=i||[]),w&&!o&&(o=function(e){return(0,n.Z)(e)===t}),y=o):(b=t.prototype,0!==f&&(h=a=a||[])),0!==f&&!w){var k=m?s:c,Z=k.get(v)||0;if(!0===Z||3===Z&&4!==f||4===Z&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);k.set(v,!(!Z&&f>2)||f)}g(l,b,u,x,v,f,m,w,h,y)}}return d(l,a),d(l,i),l}function d(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}function h(t,e,r,a,n){return{e:b(t,e,n),get c(){return function(t,e,r){if(e.length){for(var a=[],n=t,o=t.name,l=r?2:1,c=e.length-1;c>=0;c-=l){var p={v:!1};try{var u=e[c].call(r?e[c-1]:void 0,n,{kind:"class",name:o,addInitializer:i(a,p)})}finally{p.v=!0}void 0!==u&&(s(5,u),n=u)}return[n,function(){for(var t=0;t<a.length;t++)a[t].call(n)}]}}(t,r,a)}}}},1815:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(6522);function n(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,a.Z)(t):"null"));return t}},5863:(t,e,r)=>{"use strict";function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>a})},175:(t,e,r)=>{"use strict";function a(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>a})},687:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,a.Z)(t,e,"get"))}},3395:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(5863);function n(t,e,r){(0,a.Z)(t,e),e.set(t,r)}},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,a.Z)(t,e,"set"),r),r}},6522:(t,e,r)=>{"use strict";function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}r.d(e,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=app-wall-card-item.66073883.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-wall-relation-line.b465193b.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8958,5628],{37:(t,e,r)=>{"use strict";r.r(e),r.d(e,{AppWallRelationLine:()=>s});var a,n,o,i,l,c,s,p=r(3395),g=r(381),u=r(687),b=r(2604),h=r(8657),f=r.n(h),d=r(2547),v=r(528),y=r(1043),w=r(8384),x=r(2779),m=r.n(x),{defineElement:k,property:z}=(0,d.createDecorators)();n=k("data-view.app-wall-relation-line",{styleTexts:[y.Z,w.Z]}),o=z();var Z=new WeakMap;class E extends v.ReactNextElement{constructor(){super(...arguments),(0,p.Z)(this,Z,{writable:!0,value:(l(this),i(this,"blue"))})}get lightColor(){return(0,u.Z)(this,Z)}set lightColor(t){(0,g.Z)(this,Z,t)}render(){return f().createElement(S,{lightColor:this.lightColor})}}function S(t){var{lightColor:e}=t;return f().createElement("div",{className:m()("relation-line",e&&"light-color-".concat(e))})}c=E,({e:[i,l],c:[s,a]}=(0,b.Z)(c,[[o,1,"lightColor"]],[n])),a()},2779:(t,e)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&t.push(i)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var l in r)a.call(r,l)&&r[l]&&t.push(l)}}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},8384:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([t.id,":host{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.relation-line{position:relative;width:6px;height:100%;background:var(--color-text-divider-line-1);overflow:hidden}.relation-line::after{content:'';position:absolute;width:100%;height:20%;left:0px;top:0px;animation:lightMove 1000ms ease-in-out infinite,lightOpacity 1000ms ease-in-out infinite}.relation-line.light-color-blue::after{background:linear-gradient(rgba(80,255,255,0) 0%,rgba(80,255,255,1) 90%,#DFFFFF 100%)}.relation-line.light-color-purple::after{background:linear-gradient(rgba(102,0,255,0) 0%,rgba(102,0,255,1) 90%,#B07BFF 100%)}@keyframes lightMove{0%{top:0;transform:translateY(-100%)}100%{top:100%;transform:translateY(0)}}@keyframes lightOpacity{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}",""]);const l=i.toString()},1043:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([t.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",a=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),a&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),a&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,a,n,o){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(a)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);a&&i[p[0]]||(void 0!==o&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=o),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),e.push(p))}},e}},9601:t=>{"use strict";t.exports=function(t){return t[1]}},2604:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var a=r(6522),n=r(1815);function o(t,e){return function(r){(function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")})(e),c(r,"An initializer"),t.push(r)}}function i(t,e){if(!t(e))throw new TypeError("Attempted to access private element on non-instance")}function l(t,e,r,a,n,l,c,s,p,g){var u;switch(l){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var b,h,f={kind:u,name:s?"#"+r:r,static:c,private:s},d={v:!1};if(0!==l&&(f.addInitializer=o(n,d)),s||0!==l&&2!==l)if(2===l)b=function(t){return i(g,t),a.value};else{var v=0===l||1===l;(v||3===l)&&(b=s?function(t){return i(g,t),a.get.call(t)}:function(t){return a.get.call(t)}),(v||4===l)&&(h=s?function(t,e){i(g,t),a.set.call(t,e)}:function(t,e){a.set.call(t,e)})}else b=function(t){return t[r]},0===l&&(h=function(t,e){t[r]=e});var y=s?g.bind():function(t){return r in t};f.access=b&&h?{get:b,set:h,has:y}:b?{get:b,has:y}:{set:h,has:y};try{return t.call(e,p,f)}finally{d.v=!0}}function c(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function s(t,e){var r=(0,a.Z)(e);if(1===t){if("object"!==r||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&c(e.get,"accessor.get"),void 0!==e.set&&c(e.set,"accessor.set"),void 0!==e.init&&c(e.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===t?"field":5===t?"class":"method")+" decorators must return a function or void 0")}function p(t){return function(){return t(this)}}function g(t){return function(e){t(this,e)}}function u(t,e,r,a,n,o,i,c,u,b){var h,f,d,v,y,w,x=r[0];a||Array.isArray(x)||(x=[x]),c?h=0===o||1===o?{get:p(r[3]),set:g(r[4])}:3===o?{get:r[3]}:4===o?{set:r[3]}:{value:r[3]}:0!==o&&(h=Object.getOwnPropertyDescriptor(e,n)),1===o?d={get:h.get,set:h.set}:2===o?d=h.value:3===o?d=h.get:4===o&&(d=h.set);for(var m=a?2:1,k=x.length-1;k>=0;k-=m){var z;void 0!==(v=l(x[k],a?x[k-1]:void 0,n,h,u,o,i,c,d,b))&&(s(o,v),0===o?z=v:1===o?(z=v.init,y=v.get||d.get,w=v.set||d.set,d={get:y,set:w}):d=v,void 0!==z&&(void 0===f?f=z:"function"==typeof f?f=[f,z]:f.push(z)))}if(0===o||1===o){if(void 0===f)f=function(t,e){return e};else if("function"!=typeof f){var Z=f;f=function(t,e){for(var r=e,a=Z.length-1;a>=0;a--)r=Z[a].call(t,r);return r}}else{var E=f;f=function(t,e){return E.call(t,e)}}t.push(f)}0!==o&&(1===o?(h.get=d.get,h.set=d.set):2===o?h.value=d:3===o?h.get=d:4===o&&(h.set=d),c?1===o?(t.push((function(t,e){return d.get.call(t,e)})),t.push((function(t,e){return d.set.call(t,e)}))):2===o?t.push(d):t.push((function(t,e){return d.call(t,e)})):Object.defineProperty(e,n,h))}function b(t,e,r){for(var a,o,i,l=[],c=new Map,s=new Map,p=0;p<e.length;p++){var g=e[p];if(Array.isArray(g)){var b,f,d=g[1],v=g[2],y=g.length>3,w=16&d,x=!!(8&d),m=r;if(d&=7,x?(b=t,0!==d&&(f=o=o||[]),y&&!i&&(i=function(e){return(0,n.Z)(e)===t}),m=i):(b=t.prototype,0!==d&&(f=a=a||[])),0!==d&&!y){var k=x?s:c,z=k.get(v)||0;if(!0===z||3===z&&4!==d||4===z&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);k.set(v,!(!z&&d>2)||d)}u(l,b,g,w,v,d,x,y,f,m)}}return h(l,a),h(l,o),l}function h(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}function f(t,e,r,a,n){return{e:b(t,e,n),get c(){return function(t,e,r){if(e.length){for(var a=[],n=t,i=t.name,l=r?2:1,c=e.length-1;c>=0;c-=l){var p={v:!1};try{var g=e[c].call(r?e[c-1]:void 0,n,{kind:"class",name:i,addInitializer:o(a,p)})}finally{p.v=!0}void 0!==g&&(s(5,g),n=g)}return[n,function(){for(var t=0;t<a.length;t++)a[t].call(n)}]}}(t,r,a)}}}},1815:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(6522);function n(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,a.Z)(t):"null"));return t}},5863:(t,e,r)=>{"use strict";function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>a})},175:(t,e,r)=>{"use strict";function a(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>a})},687:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,a.Z)(t,e,"get"))}},3395:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(5863);function n(t,e,r){(0,a.Z)(t,e),e.set(t,r)}},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,a.Z)(t,e,"set"),r),r}},6522:(t,e,r)=>{"use strict";function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}r.d(e,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=app-wall-relation-line.b465193b.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[3518,5628],{7984:(e,t,r)=>{r.r(t),r.d(t,{SystemCard:()=>x,SystemCardComponent:()=>J});var a,n,i,o,l,s,c,u,p,b,g,h,d,f,v,m,w,y,x,Z=r(6666),k=r(3395),z=r(1815),E=r(381),N=r(687),S=r(2604),T=r(8657),C=r.n(T),j=r(528),M=r(2547),I=r(9948),_=r(1043),{defineElement:A,property:W,event:L}=(0,M.createDecorators)(),P=(0,j.wrapBrick)("icons.general-icon");n=A("data-view.app-wall-system-card",{styleTexts:[_.Z,I.Z]}),i=W({attribute:!1}),l=W(),c=W({attribute:!1}),p=W(),g=W({attribute:!1}),d=L({type:"button-click"});var O=new WeakMap,D=new WeakMap,F=new WeakMap,K=new WeakMap,R=new WeakMap,V=new WeakMap,B=new WeakMap;class q extends j.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,B,{get:H,set:G}),(0,k.Z)(this,O,{writable:!0,value:(w(this),o(this,"normal"))}),(0,k.Z)(this,D,{writable:!0,value:s(this)}),(0,k.Z)(this,F,{writable:!0,value:u(this)}),(0,k.Z)(this,K,{writable:!0,value:b(this)}),(0,k.Z)(this,R,{writable:!0,value:h(this)}),(0,k.Z)(this,V,{writable:!0,value:f(this)}),(0,Z.Z)(this,"handleClick",(()=>{(0,N.Z)(this,B).emit()}))}get status(){return(0,N.Z)(this,O)}set status(e){(0,E.Z)(this,O,e)}get cardTitle(){return(0,N.Z)(this,D)}set cardTitle(e){(0,E.Z)(this,D,e)}get itemList(){return(0,N.Z)(this,F)}set itemList(e){(0,E.Z)(this,F,e)}get buttonName(){return(0,N.Z)(this,K)}set buttonName(e){(0,E.Z)(this,K,e)}get containerStyle(){return(0,N.Z)(this,R)}set containerStyle(e){(0,E.Z)(this,R,e)}render(){return C().createElement(J,{buttonName:this.buttonName,status:this.status,cardTitle:this.cardTitle,itemList:this.itemList,handleClick:this.handleClick,containerStyle:this.containerStyle})}}function G(e){m(this,e)}function H(){return v(this)}function J(e){var{status:t,itemList:r,cardTitle:a,buttonName:n,handleClick:i,containerStyle:o}=e,l=(0,T.useRef)();return(0,T.useEffect)((()=>{var e,t;null===(e=l.current)||void 0===e||null===(t=e.scrollTo)||void 0===t||t.call(e,0,0)}),[r]),C().createElement("div",{className:"wrapper",style:o},C().createElement("div",{className:"cardName",title:a},a),(null==r?void 0:r.length)&&C().createElement("div",{className:"descriptions",ref:l},r.map(((e,t)=>C().createElement("div",{key:t,className:"descriptionsItem"},C().createElement("div",{className:"itemKey"},e.key),C().createElement("div",{className:"itemValue"},e.value))))),n&&C().createElement("div",{className:"buttonContent",onClick:i},C().createElement(P,{lib:"antd",icon:"fall",theme:"outlined"}),C().createElement("span",{className:"buttonName"},n)))}y=q,({e:[o,s,u,b,h,f,v,m,w],c:[x,a]}=(0,S.Z)(y,[[i,1,"status"],[l,1,"cardTitle"],[c,1,"itemList"],[p,1,"buttonName"],[g,1,"containerStyle"],[d,1,"onClickEvent",e=>(0,N.Z)(e,V),(e,t)=>(0,E.Z)(e,V,t)]],[n],0,(e=>B.has((0,z.Z)(e))))),a()},9948:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{position:relative;width:100%;height:100%;padding:30px 24px 35px;left:0;display:flex;flex-direction:column;border-radius:var(--no-border-radius)}.cardName{font-size:var(--title-font-size-strong);line-height:22px;text-align:center;font-weight:var(--font-weight-500);color:var(--color-normal-text);text-shadow:0 1px 4px rgba(51,102,255,0.5);margin-bottom:35px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.descriptions{flex:1;margin-bottom:20px;font-size:var(--auxiliary-font-size-small);overflow:auto;font-weight:var(--font-weight-400)}.descriptionsItem .itemKey{color:var(--color-secondary-text)}.descriptionsItem .itemValue{color:var(--color-strong-text)}.descriptionsItem{display:flex;gap:10px;margin-bottom:12px}.descriptionsItem>div{flex:1;text-align:left;word-break:break-all}.buttonContent{position:absolute;bottom:16px;right:24px;font-size:var(--auxiliary-font-size);color:#99CCFF;cursor:pointer;font-weight:var(--font-weight-500)}.buttonName{margin-left:5px}",""]);const l=o.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()},2609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&o[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),t.push(u))}},t}},9601:e=>{e.exports=function(e){return e[1]}},2604:(e,t,r)=>{r.d(t,{Z:()=>d});var a=r(6522),n=r(1815);function i(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),s(r,"An initializer"),e.push(r)}}function o(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function l(e,t,r,a,n,l,s,c,u,p){var b;switch(l){case 1:b="accessor";break;case 2:b="method";break;case 3:b="getter";break;case 4:b="setter";break;default:b="field"}var g,h,d={kind:b,name:c?"#"+r:r,static:s,private:c},f={v:!1};if(0!==l&&(d.addInitializer=i(n,f)),c||0!==l&&2!==l)if(2===l)g=function(e){return o(p,e),a.value};else{var v=0===l||1===l;(v||3===l)&&(g=c?function(e){return o(p,e),a.get.call(e)}:function(e){return a.get.call(e)}),(v||4===l)&&(h=c?function(e,t){o(p,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else g=function(e){return e[r]},0===l&&(h=function(e,t){e[r]=t});var m=c?p.bind():function(e){return r in e};d.access=g&&h?{get:g,set:h,has:m}:g?{get:g,has:m}:{set:h,has:m};try{return e.call(t,u,d)}finally{f.v=!0}}function s(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function c(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&s(t.get,"accessor.get"),void 0!==t.set&&s(t.set,"accessor.set"),void 0!==t.init&&s(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function u(e){return function(){return e(this)}}function p(e){return function(t){e(this,t)}}function b(e,t,r,a,n,i,o,s,b,g){var h,d,f,v,m,w,y=r[0];a||Array.isArray(y)||(y=[y]),s?h=0===i||1===i?{get:u(r[3]),set:p(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(h=Object.getOwnPropertyDescriptor(t,n)),1===i?f={get:h.get,set:h.set}:2===i?f=h.value:3===i?f=h.get:4===i&&(f=h.set);for(var x=a?2:1,Z=y.length-1;Z>=0;Z-=x){var k;void 0!==(v=l(y[Z],a?y[Z-1]:void 0,n,h,b,i,o,s,f,g))&&(c(i,v),0===i?k=v:1===i?(k=v.init,m=v.get||f.get,w=v.set||f.set,f={get:m,set:w}):f=v,void 0!==k&&(void 0===d?d=k:"function"==typeof d?d=[d,k]:d.push(k)))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var z=d;d=function(e,t){for(var r=t,a=z.length-1;a>=0;a--)r=z[a].call(e,r);return r}}else{var E=d;d=function(e,t){return E.call(e,t)}}e.push(d)}0!==i&&(1===i?(h.get=f.get,h.set=f.set):2===i?h.value=f:3===i?h.get=f:4===i&&(h.set=f),s?1===i?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===i?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,h))}function g(e,t,r){for(var a,i,o,l=[],s=new Map,c=new Map,u=0;u<t.length;u++){var p=t[u];if(Array.isArray(p)){var g,d,f=p[1],v=p[2],m=p.length>3,w=16&f,y=!!(8&f),x=r;if(f&=7,y?(g=e,0!==f&&(d=i=i||[]),m&&!o&&(o=function(t){return(0,n.Z)(t)===e}),x=o):(g=e.prototype,0!==f&&(d=a=a||[])),0!==f&&!m){var Z=y?c:s,k=Z.get(v)||0;if(!0===k||3===k&&4!==f||4===k&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);Z.set(v,!(!k&&f>2)||f)}b(l,g,p,w,v,f,y,m,d,x)}}return h(l,a),h(l,i),l}function h(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function d(e,t,r,a,n){return{e:g(e,t,n),get c(){return function(e,t,r){if(t.length){for(var a=[],n=e,o=e.name,l=r?2:1,s=t.length-1;s>=0;s-=l){var u={v:!1};try{var p=t[s].call(r?t[s-1]:void 0,n,{kind:"class",name:o,addInitializer:i(a,u)})}finally{u.v=!0}void 0!==p&&(c(5,p),n=p)}return[n,function(){for(var e=0;e<a.length;e++)a[e].call(n)}]}}(e,r,a)}}}},1815:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6666:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(5850);function n(e,t,r){return(t=(0,a.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},5850:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6522);function n(e){var t=function(e,t){if("object"!==(0,a.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==(0,a.Z)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,a.Z)(t)?t:String(t)}},6522:(e,t,r)=>{function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
2
|
-
//# sourceMappingURL=app-wall-system-card.0f4c459b.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[4915,5628],{4012:(t,e,r)=>{r.r(e),r.d(e,{AppWallCardItem:()=>f});var n,i,a,s,c,o,l,u,h,d,f,p=r(3395),v=r(381),m=r(687),Z=r(2604),b=r(8657),w=r.n(b),g=r(2547),y=r(528),k=r(1043),E=r(9214),C=r(2779),T=r.n(C),{defineElement:W,property:M}=(0,g.createDecorators)();i=W("data-view.app-wall-card-item",{styleTexts:[k.Z,E.Z]}),a=M(),c=M(),l=M();var N=new WeakMap,S=new WeakMap,O=new WeakMap;class j extends y.ReactNextElement{constructor(){super(...arguments),(0,p.Z)(this,N,{writable:!0,value:(h(this),s(this,"normal"))}),(0,p.Z)(this,S,{writable:!0,value:o(this)}),(0,p.Z)(this,O,{writable:!0,value:u(this)})}get status(){return(0,m.Z)(this,N)}set status(t){(0,v.Z)(this,N,t)}get cardTitle(){return(0,m.Z)(this,S)}set cardTitle(t){(0,v.Z)(this,S,t)}get description(){return(0,m.Z)(this,O)}set description(t){(0,v.Z)(this,O,t)}render(){return w().createElement(D,{status:this.status,cardTitle:this.cardTitle,description:this.description})}}function D(t){var{status:e,cardTitle:r,description:n}=t;return w().createElement("div",{className:T()("card-item-container",e&&"status-".concat(e))},w().createElement("div",{className:"card-item"},w().createElement("div",{className:"card-item-text-container"},w().createElement("div",{className:"card-item-title"},r),w().createElement("div",{className:"card-item-description"},n))))}d=j,({e:[s,o,u,h],c:[f,n]}=(0,Z.Z)(d,[[a,1,"status"],[c,1,"cardTitle"],[l,1,"description"]],[i])),n()},7684:(t,e,r)=>{r.r(e),r.d(e,{AppWall:()=>j});var n,i,a,s,c,o,l,u,h,d,f,p,v,m,Z,b,w,g,y,k,E,C,T,W,M,N,S,O,j,D=r(6666),x=r(3395),P=r(1815),A=r(381),L=r(687),R=r(2604),_=r(8657),z=r.n(_),B=r(2547),I=r(528),K=r(1043),V=r(2284),q=r(2685),{defineElement:F,property:G,event:H}=(0,B.createDecorators)();i=F("data-view.app-wall",{styleTexts:[K.Z,V.Z],dependencies:["data-view.app-wall-card-item","data-view.cabinet-thumbnail"]}),a=G({attribute:!1}),c=G({attribute:!1}),l=G({attribute:!1}),h=G({attribute:!1}),f=H({type:"system.card.button.click"}),Z=H({type:"left.btn.click"}),y=H({type:"right.btn.click"}),T=H({type:"on.card.dbclick"});var J=new WeakMap,Q=new WeakMap,U=new WeakMap,X=new WeakMap,Y=new WeakMap,$=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,it=new WeakMap,at=new WeakMap,st=new WeakMap;class ct extends I.ReactNextElement{constructor(){super(...arguments),(0,x.Z)(this,st,{get:vt,set:pt}),(0,x.Z)(this,it,{get:ft,set:dt}),(0,x.Z)(this,rt,{get:ht,set:ut}),(0,x.Z)(this,$,{get:lt,set:ot}),(0,x.Z)(this,J,{writable:!0,value:(S(this),s(this))}),(0,x.Z)(this,Q,{writable:!0,value:o(this)}),(0,x.Z)(this,U,{writable:!0,value:u(this)}),(0,x.Z)(this,X,{writable:!0,value:d(this)}),(0,x.Z)(this,Y,{writable:!0,value:p(this)}),(0,x.Z)(this,tt,{writable:!0,value:t=>{(0,L.Z)(this,$).emit(t)}}),(0,x.Z)(this,et,{writable:!0,value:b(this)}),(0,x.Z)(this,nt,{writable:!0,value:k(this)}),(0,x.Z)(this,at,{writable:!0,value:W(this)}),(0,D.Z)(this,"handleLeftClick",(t=>{(0,L.Z)(this,rt).emit(t)})),(0,D.Z)(this,"handleRightClick",(t=>{(0,L.Z)(this,it).emit(t)})),(0,D.Z)(this,"handleCardDbClick",(t=>{(0,L.Z)(this,st).emit(t)}))}get dataSource(){return(0,L.Z)(this,J)}set dataSource(t){(0,A.Z)(this,J,t)}get relations(){return(0,L.Z)(this,Q)}set relations(t){(0,A.Z)(this,Q,t)}get useDblclick(){return(0,L.Z)(this,U)}set useDblclick(t){(0,A.Z)(this,U,t)}get useDistanceConfig(){return(0,L.Z)(this,X)}set useDistanceConfig(t){(0,A.Z)(this,X,t)}render(){return z().createElement(q.j,{dataSource:this.dataSource,relations:this.relations,onSystemCardButtonClick:(0,L.Z)(this,tt),useDblclick:this.useDblclick,useDistanceConfig:this.useDistanceConfig,leftBtnOnClick:this.handleLeftClick,rightBtnOnClick:this.handleRightClick,handleCardDbClick:this.handleCardDbClick})}}function ot(t){m(this,t)}function lt(){return v(this)}function ut(t){g(this,t)}function ht(){return w(this)}function dt(t){C(this,t)}function ft(){return E(this)}function pt(t){N(this,t)}function vt(){return M(this)}O=ct,({e:[s,o,u,d,p,v,m,b,w,g,k,E,C,W,M,N,S],c:[j,n]}=(0,R.Z)(O,[[a,1,"dataSource"],[c,1,"relations"],[l,1,"useDblclick"],[h,1,"useDistanceConfig"],[f,1,"systemCardButtonClickEvent",t=>(0,L.Z)(t,Y),(t,e)=>(0,A.Z)(t,Y,e)],[Z,1,"onLeftClickEvent",t=>(0,L.Z)(t,et),(t,e)=>(0,A.Z)(t,et,e)],[y,1,"onRightClickEvent",t=>(0,L.Z)(t,nt),(t,e)=>(0,A.Z)(t,nt,e)],[T,1,"onDbClickEvent",t=>(0,L.Z)(t,at),(t,e)=>(0,A.Z)(t,at,e)]],[i],0,(t=>tt.has((0,P.Z)(t))))),n()},37:(t,e,r)=>{r.r(e),r.d(e,{AppWallRelationLine:()=>l});var n,i,a,s,c,o,l,u=r(3395),h=r(381),d=r(687),f=r(2604),p=r(8657),v=r.n(p),m=r(2547),Z=r(528),b=r(1043),w=r(8384),g=r(2779),y=r.n(g),{defineElement:k,property:E}=(0,m.createDecorators)();i=k("data-view.app-wall-relation-line",{styleTexts:[b.Z,w.Z]}),a=E();var C=new WeakMap;class T extends Z.ReactNextElement{constructor(){super(...arguments),(0,u.Z)(this,C,{writable:!0,value:(c(this),s(this,"blue"))})}get lightColor(){return(0,d.Z)(this,C)}set lightColor(t){(0,h.Z)(this,C,t)}render(){return v().createElement(W,{lightColor:this.lightColor})}}function W(t){var{lightColor:e}=t;return v().createElement("div",{className:y()("relation-line",e&&"light-color-".concat(e))})}o=T,({e:[s,c],c:[l,n]}=(0,f.Z)(o,[[a,1,"lightColor"]],[i])),n()},7984:(t,e,r)=>{r.r(e),r.d(e,{SystemCard:()=>y,SystemCardComponent:()=>J});var n,i,a,s,c,o,l,u,h,d,f,p,v,m,Z,b,w,g,y,k=r(6666),E=r(3395),C=r(1815),T=r(381),W=r(687),M=r(2604),N=r(8657),S=r.n(N),O=r(528),j=r(2547),D=r(9948),x=r(1043),{defineElement:P,property:A,event:L}=(0,j.createDecorators)(),R=(0,O.wrapBrick)("icons.general-icon");i=P("data-view.app-wall-system-card",{styleTexts:[x.Z,D.Z]}),a=A({attribute:!1}),c=A(),l=A({attribute:!1}),h=A(),f=A({attribute:!1}),v=L({type:"button-click"});var _=new WeakMap,z=new WeakMap,B=new WeakMap,I=new WeakMap,K=new WeakMap,V=new WeakMap,q=new WeakMap;class F extends O.ReactNextElement{constructor(){super(...arguments),(0,E.Z)(this,q,{get:H,set:G}),(0,E.Z)(this,_,{writable:!0,value:(w(this),s(this,"normal"))}),(0,E.Z)(this,z,{writable:!0,value:o(this)}),(0,E.Z)(this,B,{writable:!0,value:u(this)}),(0,E.Z)(this,I,{writable:!0,value:d(this)}),(0,E.Z)(this,K,{writable:!0,value:p(this)}),(0,E.Z)(this,V,{writable:!0,value:m(this)}),(0,k.Z)(this,"handleClick",(()=>{(0,W.Z)(this,q).emit()}))}get status(){return(0,W.Z)(this,_)}set status(t){(0,T.Z)(this,_,t)}get cardTitle(){return(0,W.Z)(this,z)}set cardTitle(t){(0,T.Z)(this,z,t)}get itemList(){return(0,W.Z)(this,B)}set itemList(t){(0,T.Z)(this,B,t)}get buttonName(){return(0,W.Z)(this,I)}set buttonName(t){(0,T.Z)(this,I,t)}get containerStyle(){return(0,W.Z)(this,K)}set containerStyle(t){(0,T.Z)(this,K,t)}render(){return S().createElement(J,{buttonName:this.buttonName,status:this.status,cardTitle:this.cardTitle,itemList:this.itemList,handleClick:this.handleClick,containerStyle:this.containerStyle})}}function G(t){b(this,t)}function H(){return Z(this)}function J(t){var{status:e,itemList:r,cardTitle:n,buttonName:i,handleClick:a,containerStyle:s}=t,c=(0,N.useRef)();return(0,N.useEffect)((()=>{var t,e;null===(t=c.current)||void 0===t||null===(e=t.scrollTo)||void 0===e||e.call(t,0,0)}),[r]),S().createElement("div",{className:"wrapper",style:s},S().createElement("div",{className:"cardName",title:n},n),(null==r?void 0:r.length)&&S().createElement("div",{className:"descriptions",ref:c},r.map(((t,e)=>S().createElement("div",{key:e,className:"descriptionsItem"},S().createElement("div",{className:"itemKey"},t.key),S().createElement("div",{className:"itemValue"},t.value))))),i&&S().createElement("div",{className:"buttonContent",onClick:a},S().createElement(R,{lib:"antd",icon:"fall",theme:"outlined"}),S().createElement("span",{className:"buttonName"},i)))}g=F,({e:[s,o,u,d,p,m,Z,b,w],c:[y,n]}=(0,M.Z)(g,[[a,1,"status"],[c,1,"cardTitle"],[l,1,"itemList"],[h,1,"buttonName"],[f,1,"containerStyle"],[v,1,"onClickEvent",t=>(0,W.Z)(t,V),(t,e)=>(0,T.Z)(t,V,e)]],[i],0,(t=>q.has((0,C.Z)(t))))),n()},2609:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,i,a){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(s[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&s[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},9601:t=>{t.exports=function(t){return t[1]}},2604:(t,e,r)=>{r.d(e,{Z:()=>v});var n=r(6522),i=r(1815);function a(t,e){return function(r){(function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")})(e),o(r,"An initializer"),t.push(r)}}function s(t,e){if(!t(e))throw new TypeError("Attempted to access private element on non-instance")}function c(t,e,r,n,i,c,o,l,u,h){var d;switch(c){case 1:d="accessor";break;case 2:d="method";break;case 3:d="getter";break;case 4:d="setter";break;default:d="field"}var f,p,v={kind:d,name:l?"#"+r:r,static:o,private:l},m={v:!1};if(0!==c&&(v.addInitializer=a(i,m)),l||0!==c&&2!==c)if(2===c)f=function(t){return s(h,t),n.value};else{var Z=0===c||1===c;(Z||3===c)&&(f=l?function(t){return s(h,t),n.get.call(t)}:function(t){return n.get.call(t)}),(Z||4===c)&&(p=l?function(t,e){s(h,t),n.set.call(t,e)}:function(t,e){n.set.call(t,e)})}else f=function(t){return t[r]},0===c&&(p=function(t,e){t[r]=e});var b=l?h.bind():function(t){return r in t};v.access=f&&p?{get:f,set:p,has:b}:f?{get:f,has:b}:{set:p,has:b};try{return t.call(e,u,v)}finally{m.v=!0}}function o(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function l(t,e){var r=(0,n.Z)(e);if(1===t){if("object"!==r||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&o(e.get,"accessor.get"),void 0!==e.set&&o(e.set,"accessor.set"),void 0!==e.init&&o(e.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===t?"field":5===t?"class":"method")+" decorators must return a function or void 0")}function u(t){return function(){return t(this)}}function h(t){return function(e){t(this,e)}}function d(t,e,r,n,i,a,s,o,d,f){var p,v,m,Z,b,w,g=r[0];n||Array.isArray(g)||(g=[g]),o?p=0===a||1===a?{get:u(r[3]),set:h(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(p=Object.getOwnPropertyDescriptor(e,i)),1===a?m={get:p.get,set:p.set}:2===a?m=p.value:3===a?m=p.get:4===a&&(m=p.set);for(var y=n?2:1,k=g.length-1;k>=0;k-=y){var E;void 0!==(Z=c(g[k],n?g[k-1]:void 0,i,p,d,a,s,o,m,f))&&(l(a,Z),0===a?E=Z:1===a?(E=Z.init,b=Z.get||m.get,w=Z.set||m.set,m={get:b,set:w}):m=Z,void 0!==E&&(void 0===v?v=E:"function"==typeof v?v=[v,E]:v.push(E)))}if(0===a||1===a){if(void 0===v)v=function(t,e){return e};else if("function"!=typeof v){var C=v;v=function(t,e){for(var r=e,n=C.length-1;n>=0;n--)r=C[n].call(t,r);return r}}else{var T=v;v=function(t,e){return T.call(t,e)}}t.push(v)}0!==a&&(1===a?(p.get=m.get,p.set=m.set):2===a?p.value=m:3===a?p.get=m:4===a&&(p.set=m),o?1===a?(t.push((function(t,e){return m.get.call(t,e)})),t.push((function(t,e){return m.set.call(t,e)}))):2===a?t.push(m):t.push((function(t,e){return m.call(t,e)})):Object.defineProperty(e,i,p))}function f(t,e,r){for(var n,a,s,c=[],o=new Map,l=new Map,u=0;u<e.length;u++){var h=e[u];if(Array.isArray(h)){var f,v,m=h[1],Z=h[2],b=h.length>3,w=16&m,g=!!(8&m),y=r;if(m&=7,g?(f=t,0!==m&&(v=a=a||[]),b&&!s&&(s=function(e){return(0,i.Z)(e)===t}),y=s):(f=t.prototype,0!==m&&(v=n=n||[])),0!==m&&!b){var k=g?l:o,E=k.get(Z)||0;if(!0===E||3===E&&4!==m||4===E&&3!==m)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+Z);k.set(Z,!(!E&&m>2)||m)}d(c,f,h,w,Z,m,g,b,v,y)}}return p(c,n),p(c,a),c}function p(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}function v(t,e,r,n,i){return{e:f(t,e,i),get c(){return function(t,e,r){if(e.length){for(var n=[],i=t,s=t.name,c=r?2:1,o=e.length-1;o>=0;o-=c){var u={v:!1};try{var h=e[o].call(r?e[o-1]:void 0,i,{kind:"class",name:s,addInitializer:a(n,u)})}finally{u.v=!0}void 0!==h&&(l(5,h),i=h)}return[i,function(){for(var t=0;t<n.length;t++)n[t].call(i)}]}}(t,r,n)}}}},1815:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(6522);function i(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.Z)(t):"null"));return t}},5863:(t,e,r)=>{function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>n})},175:(t,e,r)=>{function n(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>n})},687:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(175);function i(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,n.Z)(t,e,"get"))}},3395:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(5863);function i(t,e,r){(0,n.Z)(t,e),e.set(t,r)}},381:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(175);function i(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,n.Z)(t,e,"set"),r),r}},6666:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(5850);function i(t,e,r){return(e=(0,n.Z)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},3028:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(6666);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},5850:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(6522);function i(t){var e=function(t,e){if("object"!==(0,n.Z)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===(0,n.Z)(e)?e:String(e)}},6522:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{Z:()=>n})}}]);
|
|
2
|
-
//# sourceMappingURL=app-wall.97e70d76.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8314,5628],{7586:(e,t,r)=>{r.r(t),r.d(t,{BatteryChart:()=>v,BatteryChartComponent:()=>j});var a,o,n,l,i,s,c,u,h,p,d,b,g,f,v,y=r(3395),w=r(381),x=r(687),m=r(2604),Z=r(8657),k=r.n(Z),E=r(2547),z=r(528),C=r(1043),V=r(5498),{defineElement:F,property:W}=(0,E.createDecorators)();o=F("data-view.battery-chart",{styleTexts:[C.Z,V.Z]}),n=W({type:Number}),i=W({type:Number}),c=W({type:Number}),h=W({attribute:!1}),d=W({type:Number});var N=new WeakMap,M=new WeakMap,A=new WeakMap,S=new WeakMap,T=new WeakMap;class H extends z.ReactNextElement{constructor(){super(...arguments),(0,y.Z)(this,N,{writable:!0,value:(g(this),l(this))}),(0,y.Z)(this,M,{writable:!0,value:s(this)}),(0,y.Z)(this,A,{writable:!0,value:u(this)}),(0,y.Z)(this,S,{writable:!0,value:p(this)}),(0,y.Z)(this,T,{writable:!0,value:b(this)})}get value(){return(0,x.Z)(this,N)}set value(e){(0,w.Z)(this,N,e)}get batteryWidth(){return(0,x.Z)(this,M)}set batteryWidth(e){(0,w.Z)(this,M,e)}get batteryHeight(){return(0,x.Z)(this,A)}set batteryHeight(e){(0,w.Z)(this,A,e)}get thresholdColors(){return(0,x.Z)(this,S)}set thresholdColors(e){(0,w.Z)(this,S,e)}get thresholdValue(){return(0,x.Z)(this,T)}set thresholdValue(e){(0,w.Z)(this,T,e)}render(){return k().createElement(j,{value:this.value,thresholdValue:this.thresholdValue,thresholdColors:this.thresholdColors,batteryHeight:this.batteryHeight,batteryWidth:this.batteryWidth})}}function j(e){var t=[{color:"linear-gradient(180deg, #246EFF 0%, #26CE90 100%)",startValue:0,endValue:50,headerColor:"#246EFF"},{color:"linear-gradient(180deg, #FF772A 0%, #FFC22A 100%)",startValue:50,endValue:100,headerColor:"#FF772A"}],{value:r,batteryHeight:a=58,batteryWidth:o=38,thresholdValue:n=50,thresholdColors:l=t}=e,i=(0,Z.useMemo)((()=>{var e,t=l[l.length-1],o=a/(t.endValue-l[0].startValue),i=l.find((e=>e.startValue<=r&&e.endValue>=r));return{height:o*r,color:null==i?void 0:i.color,headerColor:null!==(e=null==i?void 0:i.headerColor)&&void 0!==e?e:null==i?void 0:i.color,thresholdValueLineHeight:o*n,isFullMarks:r===t.endValue-l[0].startValue}}),[r,a,l,n]);return k().createElement("div",{className:"container"},k().createElement("div",{className:"header",style:{width:Math.round(o/3),background:i.headerColor,boxShadow:"0 1px 2px 0 ".concat(i.headerColor)}}),k().createElement("div",{className:"content",style:{width:o,height:a}},k().createElement("div",{className:"threshold",style:{bottom:i.thresholdValueLineHeight-1}}),k().createElement("div",{className:"valueWrapper",style:{height:i.height}},k().createElement("div",{className:"value",style:{background:i.color,boxShadow:"0 8px 10px 0 ".concat(i.color),borderRadius:i.isFullMarks?"4px":"0 0 4px 4px"}})),k().createElement("div",{className:"word",style:{top:a-i.thresholdValueLineHeight-12}},k().createElement("slot",{name:"left"}))),k().createElement("slot",null))}f=H,({e:[l,s,u,p,b,g],c:[v,a]}=(0,m.Z)(f,[[n,1,"value"],[i,1,"batteryWidth"],[c,1,"batteryHeight"],[h,1,"thresholdColors"],[d,1,"thresholdValue"]],[o])),a()},5498:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),o=r.n(a),n=r(2609),l=r.n(n)()(o());l.push([e.id,'.container{position:relative;margin:auto;text-align:center;border-radius:var(--medius-border-radius)}.header{display:inline-block;width:12px;height:2px;background:#296DFF;box-shadow:0 1px 2px 0 rgba(41,109,255,0.6);border-radius:4px}.content{position:relative;background:var(--color-fill-bg-base-4);border-radius:var(--medius-border-radius);margin:auto}.word{position:absolute;left:calc(110% + 10px);top:calc(50% - 12px);width:auto;white-space:nowrap}.threshold{position:absolute;bottom:50%;left:-10%;width:120%;border-top:2px dotted rgba(255,255,255,0.4);z-index:2}.valueWrapper{position:absolute;width:100%;bottom:0;left:0;border-radius:0 0 4px 4px;z-index:1}.value{content:"";position:absolute;left:0;right:0;bottom:0;background:linear-gradient(180deg,#246EFF 0%,#26CE90 100%);border-radius:0 0 4px 4px;animation:run 1s linear forwards}@keyframes run{0%{height:0;border-radius:0 0 5px 5px}100%{height:100%}}',""]);const i=l.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),o=r.n(a),n=r(2609),l=r.n(n)()(o());l.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const i=l.toString()},2609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(l[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&l[u[0]]||(void 0!==n&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=n),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},9601:e=>{e.exports=function(e){return e[1]}},2604:(e,t,r)=>{r.d(t,{Z:()=>g});var a=r(6522),o=r(1815);function n(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),s(r,"An initializer"),e.push(r)}}function l(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function i(e,t,r,a,o,i,s,c,u,h){var p;switch(i){case 1:p="accessor";break;case 2:p="method";break;case 3:p="getter";break;case 4:p="setter";break;default:p="field"}var d,b,g={kind:p,name:c?"#"+r:r,static:s,private:c},f={v:!1};if(0!==i&&(g.addInitializer=n(o,f)),c||0!==i&&2!==i)if(2===i)d=function(e){return l(h,e),a.value};else{var v=0===i||1===i;(v||3===i)&&(d=c?function(e){return l(h,e),a.get.call(e)}:function(e){return a.get.call(e)}),(v||4===i)&&(b=c?function(e,t){l(h,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else d=function(e){return e[r]},0===i&&(b=function(e,t){e[r]=t});var y=c?h.bind():function(e){return r in e};g.access=d&&b?{get:d,set:b,has:y}:d?{get:d,has:y}:{set:b,has:y};try{return e.call(t,u,g)}finally{f.v=!0}}function s(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function c(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&s(t.get,"accessor.get"),void 0!==t.set&&s(t.set,"accessor.set"),void 0!==t.init&&s(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function u(e){return function(){return e(this)}}function h(e){return function(t){e(this,t)}}function p(e,t,r,a,o,n,l,s,p,d){var b,g,f,v,y,w,x=r[0];a||Array.isArray(x)||(x=[x]),s?b=0===n||1===n?{get:u(r[3]),set:h(r[4])}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(b=Object.getOwnPropertyDescriptor(t,o)),1===n?f={get:b.get,set:b.set}:2===n?f=b.value:3===n?f=b.get:4===n&&(f=b.set);for(var m=a?2:1,Z=x.length-1;Z>=0;Z-=m){var k;void 0!==(v=i(x[Z],a?x[Z-1]:void 0,o,b,p,n,l,s,f,d))&&(c(n,v),0===n?k=v:1===n?(k=v.init,y=v.get||f.get,w=v.set||f.set,f={get:y,set:w}):f=v,void 0!==k&&(void 0===g?g=k:"function"==typeof g?g=[g,k]:g.push(k)))}if(0===n||1===n){if(void 0===g)g=function(e,t){return t};else if("function"!=typeof g){var E=g;g=function(e,t){for(var r=t,a=E.length-1;a>=0;a--)r=E[a].call(e,r);return r}}else{var z=g;g=function(e,t){return z.call(e,t)}}e.push(g)}0!==n&&(1===n?(b.get=f.get,b.set=f.set):2===n?b.value=f:3===n?b.get=f:4===n&&(b.set=f),s?1===n?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===n?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,o,b))}function d(e,t,r){for(var a,n,l,i=[],s=new Map,c=new Map,u=0;u<t.length;u++){var h=t[u];if(Array.isArray(h)){var d,g,f=h[1],v=h[2],y=h.length>3,w=16&f,x=!!(8&f),m=r;if(f&=7,x?(d=e,0!==f&&(g=n=n||[]),y&&!l&&(l=function(t){return(0,o.Z)(t)===e}),m=l):(d=e.prototype,0!==f&&(g=a=a||[])),0!==f&&!y){var Z=x?c:s,k=Z.get(v)||0;if(!0===k||3===k&&4!==f||4===k&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);Z.set(v,!(!k&&f>2)||f)}p(i,d,h,w,v,f,x,y,g,m)}}return b(i,a),b(i,n),i}function b(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function g(e,t,r,a,o){return{e:d(e,t,o),get c(){return function(e,t,r){if(t.length){for(var a=[],o=e,l=e.name,i=r?2:1,s=t.length-1;s>=0;s-=i){var u={v:!1};try{var h=t[s].call(r?t[s-1]:void 0,o,{kind:"class",name:l,addInitializer:n(a,u)})}finally{u.v=!0}void 0!==h&&(c(5,h),o=h)}return[o,function(){for(var e=0;e<a.length;e++)a[e].call(o)}]}}(e,r,a)}}}},1815:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(6522);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(175);function o(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(5863);function o(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(175);function o(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
2
|
-
//# sourceMappingURL=battery-chart.83bdf03f.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7914,5628],{2569:(e,t,r)=>{r.r(t),r.d(t,{BrickNotification:()=>p,BrickNotificationComponent:()=>S});var a,n,o,i,l,c,s,g,p,u=r(7896),b=r(3395),f=r(381),h=r(687),d=r(2604),v=r(8657),y=r.n(v),w=r(2547),x=r(528),m=r(2862),Z=r(1043),{defineElement:z,property:k}=(0,w.createDecorators)(),E=(0,x.wrapBrick)("icons.general-icon");n=z("data-view.brick-notification",{styleTexts:[Z.Z,m.Z]}),o=k(),l=k({attribute:!1});var j=new WeakMap,T=new WeakMap;class O extends x.ReactNextElement{constructor(){super(...arguments),(0,b.Z)(this,j,{writable:!0,value:(s(this),i(this))}),(0,b.Z)(this,T,{writable:!0,value:c(this)})}get message(){return(0,h.Z)(this,j)}set message(e){(0,f.Z)(this,j,e)}get icon(){return(0,h.Z)(this,T)}set icon(e){(0,f.Z)(this,T,e)}render(){return y().createElement(S,{message:this.message,icon:this.icon})}}function S(e){return y().createElement("div",{className:"container"},y().createElement(E,(0,u.Z)({className:"icon"},e.icon?e.icon:{lib:"fa",icon:"volume-down"})),y().createElement("span",{className:"message"},e.message))}g=O,({e:[i,c,s],c:[p,a]}=(0,d.Z)(g,[[o,1,"message"],[l,1,"icon"]],[n])),a()},2862:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.container{display:flex;font-size:var(--auxiliary-font-size);align-items:center;gap:10px}.icon{color:#3259ce}.message{color:var(--palette-rgba-white-7)}",""]);const l=i.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()},2609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var g=[].concat(e[s]);a&&i[g[0]]||(void 0!==o&&(void 0===g[5]||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=o),r&&(g[2]?(g[1]="@media ".concat(g[2]," {").concat(g[1],"}"),g[2]=r):g[2]=r),n&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=n):g[4]="".concat(n)),t.push(g))}},t}},9601:e=>{e.exports=function(e){return e[1]}},2604:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(6522),n=r(1815);function o(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),c(r,"An initializer"),e.push(r)}}function i(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function l(e,t,r,a,n,l,c,s,g,p){var u;switch(l){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var b,f,h={kind:u,name:s?"#"+r:r,static:c,private:s},d={v:!1};if(0!==l&&(h.addInitializer=o(n,d)),s||0!==l&&2!==l)if(2===l)b=function(e){return i(p,e),a.value};else{var v=0===l||1===l;(v||3===l)&&(b=s?function(e){return i(p,e),a.get.call(e)}:function(e){return a.get.call(e)}),(v||4===l)&&(f=s?function(e,t){i(p,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else b=function(e){return e[r]},0===l&&(f=function(e,t){e[r]=t});var y=s?p.bind():function(e){return r in e};h.access=b&&f?{get:b,set:f,has:y}:b?{get:b,has:y}:{set:f,has:y};try{return e.call(t,g,h)}finally{d.v=!0}}function c(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function s(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&c(t.get,"accessor.get"),void 0!==t.set&&c(t.set,"accessor.set"),void 0!==t.init&&c(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function g(e){return function(){return e(this)}}function p(e){return function(t){e(this,t)}}function u(e,t,r,a,n,o,i,c,u,b){var f,h,d,v,y,w,x=r[0];a||Array.isArray(x)||(x=[x]),c?f=0===o||1===o?{get:g(r[3]),set:p(r[4])}:3===o?{get:r[3]}:4===o?{set:r[3]}:{value:r[3]}:0!==o&&(f=Object.getOwnPropertyDescriptor(t,n)),1===o?d={get:f.get,set:f.set}:2===o?d=f.value:3===o?d=f.get:4===o&&(d=f.set);for(var m=a?2:1,Z=x.length-1;Z>=0;Z-=m){var z;void 0!==(v=l(x[Z],a?x[Z-1]:void 0,n,f,u,o,i,c,d,b))&&(s(o,v),0===o?z=v:1===o?(z=v.init,y=v.get||d.get,w=v.set||d.set,d={get:y,set:w}):d=v,void 0!==z&&(void 0===h?h=z:"function"==typeof h?h=[h,z]:h.push(z)))}if(0===o||1===o){if(void 0===h)h=function(e,t){return t};else if("function"!=typeof h){var k=h;h=function(e,t){for(var r=t,a=k.length-1;a>=0;a--)r=k[a].call(e,r);return r}}else{var E=h;h=function(e,t){return E.call(e,t)}}e.push(h)}0!==o&&(1===o?(f.get=d.get,f.set=d.set):2===o?f.value=d:3===o?f.get=d:4===o&&(f.set=d),c?1===o?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===o?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(t,n,f))}function b(e,t,r){for(var a,o,i,l=[],c=new Map,s=new Map,g=0;g<t.length;g++){var p=t[g];if(Array.isArray(p)){var b,h,d=p[1],v=p[2],y=p.length>3,w=16&d,x=!!(8&d),m=r;if(d&=7,x?(b=e,0!==d&&(h=o=o||[]),y&&!i&&(i=function(t){return(0,n.Z)(t)===e}),m=i):(b=e.prototype,0!==d&&(h=a=a||[])),0!==d&&!y){var Z=x?s:c,z=Z.get(v)||0;if(!0===z||3===z&&4!==d||4===z&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);Z.set(v,!(!z&&d>2)||d)}u(l,b,p,w,v,d,x,y,h,m)}}return f(l,a),f(l,o),l}function f(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function h(e,t,r,a,n){return{e:b(e,t,n),get c(){return function(e,t,r){if(t.length){for(var a=[],n=e,i=e.name,l=r?2:1,c=t.length-1;c>=0;c-=l){var g={v:!1};try{var p=t[c].call(r?t[c-1]:void 0,n,{kind:"class",name:i,addInitializer:o(a,g)})}finally{g.v=!0}void 0!==p&&(s(5,p),n=p)}return[n,function(){for(var e=0;e<a.length;e++)a[e].call(n)}]}}(e,r,a)}}}},1815:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},7896:(e,t,r)=>{function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},a.apply(this,arguments)}r.d(t,{Z:()=>a})},6522:(e,t,r)=>{function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
2
|
-
//# sourceMappingURL=brick-notification.c5b64b84.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-app-layer.2497f75d.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[4292,5628],{6280:(t,e,r)=>{"use strict";r.r(e),r.d(e,{CabinetAppLayer:()=>u});var a,n,i,o,l,c,s,p,u,g=r(3395),b=r(381),f=r(687),h=r(2604),d=r(8657),v=r.n(d),y=r(2547),w=r(528),x=r(1043),m=r(2606),z=r(2779),Z=r.n(z),{defineElement:k,property:E}=(0,y.createDecorators)();n=k("data-view.cabinet-app-layer",{styleTexts:[x.Z,m.Z]}),i=E(),l=E();var T=new WeakMap,S=new WeakMap;class j extends w.ReactNextElement{constructor(){super(...arguments),(0,g.Z)(this,T,{writable:!0,value:(s(this),o(this))}),(0,g.Z)(this,S,{writable:!0,value:c(this)})}get appTitle(){return(0,f.Z)(this,T)}set appTitle(t){(0,b.Z)(this,T,t)}get status(){return(0,f.Z)(this,S)}set status(t){(0,b.Z)(this,S,t)}render(){return v().createElement(A,{appTitle:this.appTitle,status:this.status})}}function A(t){var{appTitle:e,status:r}=t;return v().createElement("div",{className:Z()("container",r&&"status-".concat(r))},v().createElement("div",{className:"app-title",title:e},e),v().createElement("div",{className:"divider"}))}p=j,({e:[o,c,s],c:[u,a]}=(0,h.Z)(p,[[i,1,"appTitle"],[l,1,"status"]],[n])),a()},2779:(t,e)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&t.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var l in r)a.call(r,l)&&r[l]&&t.push(l)}}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},2606:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([t.id,":host{display:inline-block;width:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.container{display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:opacity 0.5s}.app-title{font-size:var(--title-font-size-larger);font-weight:var(--font-weight-500);color:var(--palette-rgba-white-10);line-height:45px;margin-bottom:5px;transition:color 0.5s}.divider{width:100%;height:var(--border-width-tribble-base);background-color:#007aca;transition:background-color 0.5s}.container:hover .app-title,\n.container.status-active .app-title{color:#50ffff}.container:hover .divider,\n.container.status-active .divider{background-color:#1f7dbd}.status-faded{opacity:0.4}",""]);const l=o.toString()},1043:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([t.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",a=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),a&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),a&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,a,n,i){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(a)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(o[c]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);a&&o[p[0]]||(void 0!==i&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),e.push(p))}},e}},9601:t=>{"use strict";t.exports=function(t){return t[1]}},2604:(t,e,r)=>{"use strict";r.d(e,{Z:()=>h});var a=r(6522),n=r(1815);function i(t,e){return function(r){(function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")})(e),c(r,"An initializer"),t.push(r)}}function o(t,e){if(!t(e))throw new TypeError("Attempted to access private element on non-instance")}function l(t,e,r,a,n,l,c,s,p,u){var g;switch(l){case 1:g="accessor";break;case 2:g="method";break;case 3:g="getter";break;case 4:g="setter";break;default:g="field"}var b,f,h={kind:g,name:s?"#"+r:r,static:c,private:s},d={v:!1};if(0!==l&&(h.addInitializer=i(n,d)),s||0!==l&&2!==l)if(2===l)b=function(t){return o(u,t),a.value};else{var v=0===l||1===l;(v||3===l)&&(b=s?function(t){return o(u,t),a.get.call(t)}:function(t){return a.get.call(t)}),(v||4===l)&&(f=s?function(t,e){o(u,t),a.set.call(t,e)}:function(t,e){a.set.call(t,e)})}else b=function(t){return t[r]},0===l&&(f=function(t,e){t[r]=e});var y=s?u.bind():function(t){return r in t};h.access=b&&f?{get:b,set:f,has:y}:b?{get:b,has:y}:{set:f,has:y};try{return t.call(e,p,h)}finally{d.v=!0}}function c(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function s(t,e){var r=(0,a.Z)(e);if(1===t){if("object"!==r||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&c(e.get,"accessor.get"),void 0!==e.set&&c(e.set,"accessor.set"),void 0!==e.init&&c(e.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===t?"field":5===t?"class":"method")+" decorators must return a function or void 0")}function p(t){return function(){return t(this)}}function u(t){return function(e){t(this,e)}}function g(t,e,r,a,n,i,o,c,g,b){var f,h,d,v,y,w,x=r[0];a||Array.isArray(x)||(x=[x]),c?f=0===i||1===i?{get:p(r[3]),set:u(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(f=Object.getOwnPropertyDescriptor(e,n)),1===i?d={get:f.get,set:f.set}:2===i?d=f.value:3===i?d=f.get:4===i&&(d=f.set);for(var m=a?2:1,z=x.length-1;z>=0;z-=m){var Z;void 0!==(v=l(x[z],a?x[z-1]:void 0,n,f,g,i,o,c,d,b))&&(s(i,v),0===i?Z=v:1===i?(Z=v.init,y=v.get||d.get,w=v.set||d.set,d={get:y,set:w}):d=v,void 0!==Z&&(void 0===h?h=Z:"function"==typeof h?h=[h,Z]:h.push(Z)))}if(0===i||1===i){if(void 0===h)h=function(t,e){return e};else if("function"!=typeof h){var k=h;h=function(t,e){for(var r=e,a=k.length-1;a>=0;a--)r=k[a].call(t,r);return r}}else{var E=h;h=function(t,e){return E.call(t,e)}}t.push(h)}0!==i&&(1===i?(f.get=d.get,f.set=d.set):2===i?f.value=d:3===i?f.get=d:4===i&&(f.set=d),c?1===i?(t.push((function(t,e){return d.get.call(t,e)})),t.push((function(t,e){return d.set.call(t,e)}))):2===i?t.push(d):t.push((function(t,e){return d.call(t,e)})):Object.defineProperty(e,n,f))}function b(t,e,r){for(var a,i,o,l=[],c=new Map,s=new Map,p=0;p<e.length;p++){var u=e[p];if(Array.isArray(u)){var b,h,d=u[1],v=u[2],y=u.length>3,w=16&d,x=!!(8&d),m=r;if(d&=7,x?(b=t,0!==d&&(h=i=i||[]),y&&!o&&(o=function(e){return(0,n.Z)(e)===t}),m=o):(b=t.prototype,0!==d&&(h=a=a||[])),0!==d&&!y){var z=x?s:c,Z=z.get(v)||0;if(!0===Z||3===Z&&4!==d||4===Z&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);z.set(v,!(!Z&&d>2)||d)}g(l,b,u,w,v,d,x,y,h,m)}}return f(l,a),f(l,i),l}function f(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}function h(t,e,r,a,n){return{e:b(t,e,n),get c(){return function(t,e,r){if(e.length){for(var a=[],n=t,o=t.name,l=r?2:1,c=e.length-1;c>=0;c-=l){var p={v:!1};try{var u=e[c].call(r?e[c-1]:void 0,n,{kind:"class",name:o,addInitializer:i(a,p)})}finally{p.v=!0}void 0!==u&&(s(5,u),n=u)}return[n,function(){for(var t=0;t<a.length;t++)a[t].call(n)}]}}(t,r,a)}}}},1815:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(6522);function n(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,a.Z)(t):"null"));return t}},5863:(t,e,r)=>{"use strict";function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>a})},175:(t,e,r)=>{"use strict";function a(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>a})},687:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,a.Z)(t,e,"get"))}},3395:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(5863);function n(t,e,r){(0,a.Z)(t,e),e.set(t,r)}},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(175);function n(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,a.Z)(t,e,"set"),r),r}},6522:(t,e,r)=>{"use strict";function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}r.d(e,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=cabinet-app-layer.2497f75d.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7974,5628],{954:(e,t,r)=>{r.r(t),r.d(t,{CabinetButton:()=>s});var a,n,o,l,i,c,s,g=r(3395),p=r(381),b=r(687),u=r(2604),f=r(8657),h=r.n(f),d=r(528),v=r(2547),y=r(7368),w=r(1043),{defineElement:x,property:m}=(0,v.createDecorators)();n=x("data-view.cabinet-button",{styleTexts:[w.Z,y.Z]}),o=m({attribute:!1});var Z=new WeakMap;class z extends d.ReactNextElement{constructor(){super(...arguments),(0,g.Z)(this,Z,{writable:!0,value:(i(this),l(this))})}get buttonStyle(){return(0,b.Z)(this,Z)}set buttonStyle(e){(0,p.Z)(this,Z,e)}render(){return h().createElement("span",{className:"closeBtn",style:this.buttonStyle})}}c=z,({e:[l,i],c:[s,a]}=(0,u.Z)(c,[[o,1,"buttonStyle"]],[n])),a()},7368:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),o=r(2609),l=r.n(o)()(n());l.push([e.id,'.closeBtn{width:46px;height:46px;text-align:center;border:1px solid;font-size:20px;line-height:46px;cursor:pointer;border-image:linear-gradient(360deg,rgba(80,255,255,0.2),rgba(80,255,255,1)) 1 1;display:flex;justify-content:center;align-items:center;position:relative;color:#50FFFFFF}.closeBtn:before,\n.closeBtn:after{content:"";width:2px;height:50%;max-height:50px;background:currentColor;position:absolute}.closeBtn:before{transform:rotateZ(45deg)}.closeBtn:after{transform:rotateZ(-45deg)}.closeBtn:hover:after,\n.closeBtn:hover:before{background:var(--color-normal-text)}.closeBtn:hover{border-image:linear-gradient(360deg,rgba(255,255,255,0.2),rgba(255,255,255,1)) 1 1}',""]);const i=l.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),o=r(2609),l=r.n(o)()(n());l.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const i=l.toString()},2609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(a)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(l[c]=!0)}for(var s=0;s<e.length;s++){var g=[].concat(e[s]);a&&l[g[0]]||(void 0!==o&&(void 0===g[5]||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=o),r&&(g[2]?(g[1]="@media ".concat(g[2]," {").concat(g[1],"}"),g[2]=r):g[2]=r),n&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=n):g[4]="".concat(n)),t.push(g))}},t}},9601:e=>{e.exports=function(e){return e[1]}},2604:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(6522),n=r(1815);function o(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),c(r,"An initializer"),e.push(r)}}function l(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function i(e,t,r,a,n,i,c,s,g,p){var b;switch(i){case 1:b="accessor";break;case 2:b="method";break;case 3:b="getter";break;case 4:b="setter";break;default:b="field"}var u,f,h={kind:b,name:s?"#"+r:r,static:c,private:s},d={v:!1};if(0!==i&&(h.addInitializer=o(n,d)),s||0!==i&&2!==i)if(2===i)u=function(e){return l(p,e),a.value};else{var v=0===i||1===i;(v||3===i)&&(u=s?function(e){return l(p,e),a.get.call(e)}:function(e){return a.get.call(e)}),(v||4===i)&&(f=s?function(e,t){l(p,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else u=function(e){return e[r]},0===i&&(f=function(e,t){e[r]=t});var y=s?p.bind():function(e){return r in e};h.access=u&&f?{get:u,set:f,has:y}:u?{get:u,has:y}:{set:f,has:y};try{return e.call(t,g,h)}finally{d.v=!0}}function c(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function s(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&c(t.get,"accessor.get"),void 0!==t.set&&c(t.set,"accessor.set"),void 0!==t.init&&c(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function g(e){return function(){return e(this)}}function p(e){return function(t){e(this,t)}}function b(e,t,r,a,n,o,l,c,b,u){var f,h,d,v,y,w,x=r[0];a||Array.isArray(x)||(x=[x]),c?f=0===o||1===o?{get:g(r[3]),set:p(r[4])}:3===o?{get:r[3]}:4===o?{set:r[3]}:{value:r[3]}:0!==o&&(f=Object.getOwnPropertyDescriptor(t,n)),1===o?d={get:f.get,set:f.set}:2===o?d=f.value:3===o?d=f.get:4===o&&(d=f.set);for(var m=a?2:1,Z=x.length-1;Z>=0;Z-=m){var z;void 0!==(v=i(x[Z],a?x[Z-1]:void 0,n,f,b,o,l,c,d,u))&&(s(o,v),0===o?z=v:1===o?(z=v.init,y=v.get||d.get,w=v.set||d.set,d={get:y,set:w}):d=v,void 0!==z&&(void 0===h?h=z:"function"==typeof h?h=[h,z]:h.push(z)))}if(0===o||1===o){if(void 0===h)h=function(e,t){return t};else if("function"!=typeof h){var k=h;h=function(e,t){for(var r=t,a=k.length-1;a>=0;a--)r=k[a].call(e,r);return r}}else{var E=h;h=function(e,t){return E.call(e,t)}}e.push(h)}0!==o&&(1===o?(f.get=d.get,f.set=d.set):2===o?f.value=d:3===o?f.get=d:4===o&&(f.set=d),c?1===o?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===o?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(t,n,f))}function u(e,t,r){for(var a,o,l,i=[],c=new Map,s=new Map,g=0;g<t.length;g++){var p=t[g];if(Array.isArray(p)){var u,h,d=p[1],v=p[2],y=p.length>3,w=16&d,x=!!(8&d),m=r;if(d&=7,x?(u=e,0!==d&&(h=o=o||[]),y&&!l&&(l=function(t){return(0,n.Z)(t)===e}),m=l):(u=e.prototype,0!==d&&(h=a=a||[])),0!==d&&!y){var Z=x?s:c,z=Z.get(v)||0;if(!0===z||3===z&&4!==d||4===z&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);Z.set(v,!(!z&&d>2)||d)}b(i,u,p,w,v,d,x,y,h,m)}}return f(i,a),f(i,o),i}function f(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function h(e,t,r,a,n){return{e:u(e,t,n),get c(){return function(e,t,r){if(t.length){for(var a=[],n=e,l=e.name,i=r?2:1,c=t.length-1;c>=0;c-=i){var g={v:!1};try{var p=t[c].call(r?t[c-1]:void 0,n,{kind:"class",name:l,addInitializer:o(a,g)})}finally{g.v=!0}void 0!==p&&(s(5,p),n=p)}return[n,function(){for(var e=0;e<a.length;e++)a[e].call(n)}]}}(e,r,a)}}}},1815:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
2
|
-
//# sourceMappingURL=cabinet-button.b7c691c4.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-container.c7fedd36.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8409],{1322:(e,t,a)=>{"use strict";a.r(t),a.d(t,{CabinetContainer:()=>C,CabinetContainerComponent:()=>ae});var r,i,n,o,l,s,c,p,h,b,g,d,u,f,v,w,x,m,k,y,C,Z=a(6666),W=a(3395),z=a(1815),M=a(381),E=a(687),T=a(2604),D=a(8657),N=a.n(D),S=a(528),R=a(2547),_=a(1043),H=a(6573),j=a(2779),A=a.n(j),O=a(8143),{defineElement:P,property:L,event:B}=(0,R.createDecorators)(),X=(0,S.wrapBrick)("data-view.cabinet-node");i=P("data-view.cabinet-container",{styleTexts:[_.Z,H.Z]}),n=L({attribute:!1}),l=L({attribute:!1}),c=L(),h=L(),g=B({type:"container.click"}),v=B({type:"container.dbclick"});var q=new WeakMap,F=new WeakMap,G=new WeakMap,I=new WeakMap,J=new WeakMap,K=new WeakMap,Q=new WeakMap,U=new WeakMap;class V extends S.ReactNextElement{constructor(){super(...arguments),(0,W.Z)(this,U,{get:te,set:ee}),(0,W.Z)(this,K,{get:$,set:Y}),(0,W.Z)(this,q,{writable:!0,value:(k(this),o(this,"host"))}),(0,W.Z)(this,F,{writable:!0,value:s(this,[])}),(0,W.Z)(this,G,{writable:!0,value:p(this)}),(0,W.Z)(this,I,{writable:!0,value:b(this)}),(0,W.Z)(this,J,{writable:!0,value:d(this)}),(0,W.Z)(this,Q,{writable:!0,value:w(this)}),(0,Z.Z)(this,"handleClick",(e=>{(0,E.Z)(this,K).emit(e)})),(0,Z.Z)(this,"handleDbClick",(e=>{(0,E.Z)(this,U).emit(e)}))}get type(){return(0,E.Z)(this,q)}set type(e){(0,M.Z)(this,q,e)}get data(){return(0,E.Z)(this,F)}set data(e){(0,M.Z)(this,F,e)}get status(){return(0,E.Z)(this,G)}set status(e){(0,M.Z)(this,G,e)}get customTitle(){return(0,E.Z)(this,I)}set customTitle(e){(0,M.Z)(this,I,e)}render(){return N().createElement(ae,{type:this.type,data:this.data,status:this.status,customTitle:this.customTitle,handleClick:this.handleClick,handleDbClick:this.handleDbClick})}}function Y(e){f(this,e)}function $(){return u(this)}function ee(e){m(this,e)}function te(){return x(this)}function ae(e){var{type:t,data:a,status:r,customTitle:i,handleClick:n,handleDbClick:o}=e,l=(0,D.useRef)(!1),s=(0,D.useRef)(),[c,{clientWidth:p,clientHeight:h}]=(0,O.y)(),b=(0,D.useCallback)(((e,t,r,i)=>{var n=Math.max(i,r),o=Math.min(i,r),l=Math.min(t,e),s=Math.max(t,e),c=Math.ceil((e+t)/2),p=Math.ceil((r+i)/2),h=Math.ceil(a.length/c);return c<=1?{col:1,row:a.length}:h===p||l===s||l===c||s===c?{col:c,row:h}:h>p?b(c,s,h,o):h<p?b(l,c,n,h):void 0}),[a.length]),g=(0,D.useMemo)((()=>{if(a.length){var e=p-27,t=h-84;if(!(e<=0||t<=0)){var r=Math.floor(e/118),i=Math.floor(t/105),n=Math.floor(e/56),o=Math.floor(t/63),l=r*i,s=n*o,c=a.length;if(c<=l)return{width:Math.floor(e/r),itemWidth:118};if(c>=s)return{width:Math.floor(e/n),itemWidth:56};var{col:g}=b(r,n,i,o);return{width:Math.floor(e/g),itemWidth:Math.max(e/g-10,56)}}}}),[a.length,p,h,b]),d=(e,t,a)=>{e.stopPropagation(),window.clearTimeout(s.current),l.current=!1,s.current=window.setTimeout((function(){l.current||null==n||n({data:t,type:a})}),200)},u=(e,t,a)=>{window.clearTimeout(s.current),l.current=!0,e.stopPropagation(),null==o||o({data:t,type:a})};return N().createElement("div",{className:A()("wrapper",{hostWrapper:"host"===t||"k8s-blue"===t,k8sWrapper:"k8s"===t},r&&"wrapper-".concat(r)),ref:c,onClick:e=>d(e,void 0,"container"),onDoubleClick:e=>u(e,void 0,"container")},N().createElement("div",{className:A()("container",{hostContainer:"host"===t||"k8s-blue"===t,k8sContainer:"k8s"===t},r&&"container-".concat(r))},N().createElement("div",{className:"content"},N().createElement("div",{className:"contentLayout"},a.map(((e,t)=>N().createElement("div",{key:t,className:"itemContent",style:{width:null==g?void 0:g.width}},N().createElement("div",{className:"item",style:{width:null==g?void 0:g.itemWidth},onClick:t=>d(t,e,"node"),onDoubleClick:t=>u(t,e,"node")},N().createElement(X,{type:e.type,nodeTitle:e.nodeTitle,status:e.status,isAlert:e.isAlert}))))))),i&&N().createElement("div",{className:"footer"},N().createElement("div",{className:"footerTitle"},i))))}y=V,({e:[o,s,p,b,d,u,f,w,x,m,k],c:[C,r]}=(0,T.Z)(y,[[n,1,"type"],[l,1,"data"],[c,1,"status"],[h,1,"customTitle"],[g,1,"onHandleClick",e=>(0,E.Z)(e,J),(e,t)=>(0,M.Z)(e,J,t)],[v,1,"onHandleDbClick",e=>(0,E.Z)(e,Q),(e,t)=>(0,M.Z)(e,Q,t)]],[i],0,(e=>K.has((0,z.Z)(e))))),r()},8143:(e,t,a)=>{"use strict";a.d(t,{D:()=>h,y:()=>p});var r=a(3028),i=a(8657),n=a(7209),o=new Map,l=new n.Z((e=>{e.forEach((e=>{var t,{target:a}=e;null===(t=o.get(a))||void 0===t||t.forEach((t=>t(e)))}))})),s=(e,t)=>{o.has(e)||(o.set(e,new Set),l.observe(e)),o.get(e).add(t)},c=(e,t)=>{o.has(e)&&(o.get(e).delete(t),0===o.get(e).size&&(l.unobserve(e),o.delete(e)))};function p(e){var{targetRef:t,onResize:a}=e||{},n=(0,i.useRef)(),o=null!=t?t:n,[l,p]=(0,i.useState)({clientWidth:0,clientHeight:0}),h=(0,i.useCallback)((e=>{var{target:t}=e,{clientWidth:r=0,clientHeight:i=0}=t;p((t=>t.clientWidth===r&&t.clientHeight===i?t:(null==a||a(e),{clientWidth:r,clientHeight:i})))}),[a]);return(0,i.useEffect)((()=>{if("object"!=typeof o||null===o||!(o.current instanceof Element))throw new Error("ResizeObserver must observe an Element");var e=o.current;return s(e,h),()=>{c(e,h)}}),[h,o]),[o,(0,r.Z)({},l)]}function h(e){var t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e})),t.current}},2779:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var n=typeof a;if("string"===n||"number"===n)e.push(a);else if(Array.isArray(a)){if(a.length){var o=i.apply(null,a);o&&e.push(o)}}else if("object"===n){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var l in a)r.call(a,l)&&a[l]&&e.push(l)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(a=function(){return i}.apply(t,[]))||(e.exports=a)}()},6573:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var r=a(9601),i=a.n(r),n=a(2609),o=a.n(n)()(i());o.push([e.id,'*,\n*:after,\n*:before{box-sizing:border-box}.wrapper{width:100%;height:100%;position:relative}.container{width:100%;height:100%;border:3px solid;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);display:flex;flex-direction:column;cursor:pointer;overflow:hidden}.wrapper:after,\n.wrapper:before{content:"";position:absolute;left:50%;border:3px solid;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);transform:translateX(-50%)}.wrapper:before{width:calc(100% - 10px);height:100%;bottom:-14px;z-index:-1;opacity:0.6}.wrapper:after{width:calc(100% - 30px);height:100%;bottom:-24px;z-index:-10;opacity:0.4}.hostWrapper:before,\n.hostWrapper:after{border-image:radial-gradient(circle,rgba(55,229,252,1),#007aca) 3 3}.hostWrapper:not(:has(.item:hover)):hover:before,\n.hostWrapper.wrapper-active:before{border-image:radial-gradient(circle,rgba(55,229,252,1),#45e4ff) 3 3}.k8sWrapper:after,\n.k8sWrapper:before{border-image:radial-gradient(circle,rgba(255,102,51,1),#ff663380) 3 3}.hostContainer{background:rgba(7,4,21,0.85);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-image:radial-gradient(circle,rgba(55,229,252,1),#007aca) 3 3}.hostContainer:not(:has(.item:hover)):hover,\n.hostContainer.container-active{border-image:radial-gradient(circle,rgba(55,229,252,1),#45e4ff) 3 3;box-shadow:inset 0 0 30px 0 #45e4ff,inset 0 0 20px 0 #45e4ff}.hostWrapper.wrapper-faded:after,\n.hostWrapper.wrapper-faded:before,\n.k8sWrapper.wrapper-faded:after,\n.k8sWrapper.wrapper-faded:before{opacity:0.1}.k8sContainer{background:rgba(7,4,21,0.8);border-image:radial-gradient(circle,rgba(255,102,51,1),#ff663399) 3 3}.k8sContainer:not(:has(.item:hover)):hover,\n.k8sContainer.container-active{box-shadow:inset 0 0 30px 0 #ff6633,inset 0 0 20px 0 #ff6633}.hostContainer.container-faded,\n.k8sContainer.container-faded{opacity:0.4}.content{flex:1;padding:20px 10px;width:100%;box-sizing:border-box;overflow:hidden;display:flex}.contentLayout{overflow:auto;height:100%}.itemContent{display:inline-block;vertical-align:middle}.item{min-width:56px;min-height:63px;max-width:118px;margin:auto}.footer{width:100%;height:57px;text-align:center;line-height:57px;font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);position:relative;display:flex}.footerTitle{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.footer:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;z-index:-1}.hostContainer > .footer:after{background:linear-gradient(180deg,rgba(26,103,157,0.2) 0%,#1b69a0 100%)}.k8sContainer > .footer:after{background:linear-gradient(180deg,rgba(255,102,51,0.1) 0%,rgba(255,102,51,0.55) 100%)}.hostContainer:not(:has(.item:hover)):hover > .footer:after,\n.hostContainer.container-active > .footer:after,\n.k8sContainer:not(:has(.item:hover)):hover > .footer:after,\n.k8sContainer.container-active > .footer:after{opacity:0.65}',""]);const l=o.toString()},1043:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var r=a(9601),i=a.n(r),n=a(2609),o=a.n(n)()(i());o.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()}}]);
|
|
3
|
-
//# sourceMappingURL=cabinet-container.c7fedd36.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[2779,5628],{8810:(e,t,a)=>{a.r(t),a.d(t,{CabinetGraph:()=>z});var r,n,i,o,l,c,s,p,u,h,g,b,d,f,v,y,w,m,k,x,Z,C,z,E=a(3395),M=a(1815),T=a(381),S=a(687),B=a(2604),W=a(8657),A=a.n(W),K=a(2547),N=a(528),j=a(1043),_=a(4622),D=(0,N.wrapBrick)("data-view.cabinet-app-layer"),P=(0,N.wrapBrick)("data-view.cabinet-button"),O=(0,N.wrapBrick)("data-view.cabinet-container"),{defineElement:I,property:G,event:R}=(0,K.createDecorators)();n=I("data-view.cabinet-graph",{styleTexts:[j.Z,_.Z]}),i=G({attribute:!1}),l=G({attribute:!1}),s=G({type:Boolean}),u=R({type:"close.button.click"}),d=R({type:"cabinet.click"}),w=R({type:"cabinet.dbclick"});var X=new WeakMap,q=new WeakMap,F=new WeakMap,H=new WeakMap,J=new WeakMap,L=new WeakMap,Q=new WeakMap,U=new WeakMap,V=new WeakMap,Y=new WeakMap,$=new WeakMap,ee=new WeakMap;class te extends N.ReactNextElement{constructor(){super(...arguments),(0,E.Z)(this,V,{get:le,set:oe}),(0,E.Z)(this,Q,{get:ie,set:ne}),(0,E.Z)(this,J,{get:re,set:ae}),(0,E.Z)(this,X,{writable:!0,value:(Z(this),o(this))}),(0,E.Z)(this,q,{writable:!0,value:c(this)}),(0,E.Z)(this,F,{writable:!0,value:p(this)}),(0,E.Z)(this,H,{writable:!0,value:h(this)}),(0,E.Z)(this,L,{writable:!0,value:f(this)}),(0,E.Z)(this,U,{writable:!0,value:m(this)}),(0,E.Z)(this,Y,{writable:!0,value:()=>{(0,S.Z)(this,J).emit()}}),(0,E.Z)(this,$,{writable:!0,value:(e,t,a)=>{this.activeKey=e,e&&(0,S.Z)(this,V).emit({type:t,data:a})}}),(0,E.Z)(this,ee,{writable:!0,value:(e,t,a)=>{this.activeKey=e,e&&(0,S.Z)(this,Q).emit({type:t,data:a})}})}get dataSource(){return(0,S.Z)(this,X)}set dataSource(e){(0,T.Z)(this,X,e)}get activeKey(){return(0,S.Z)(this,q)}set activeKey(e){(0,T.Z)(this,q,e)}get hiddenCloseBtn(){return(0,S.Z)(this,F)}set hiddenCloseBtn(e){(0,T.Z)(this,F,e)}render(){return A().createElement(ce,{activeKey:this.activeKey,dataSource:this.dataSource,onCloseBtnClick:(0,S.Z)(this,Y),onActiveKeyChange:(0,S.Z)(this,ee),handleDbClick:(0,S.Z)(this,$),hiddenCloseBtn:this.hiddenCloseBtn})}}function ae(e){b(this,e)}function re(){return g(this)}function ne(e){y(this,e)}function ie(){return v(this)}function oe(e){x(this,e)}function le(){return k(this)}function ce(e){var{dataSource:t,activeKey:a,onCloseBtnClick:r,onActiveKeyChange:n,handleDbClick:i,hiddenCloseBtn:o}=e,l=(0,W.useMemo)((()=>[].concat(a)),[a]),c=(0,W.useMemo)((()=>{var e=[];return t.clusters.map((t=>{l.includes(t.key)&&e.push(t.key),t.nodes.map((t=>{l.includes(t.key)&&e.push(t.key)}))})),e}),[t,l]);return A().createElement("div",{className:"wrapper",onClick:()=>{n(null)}},A().createElement("div",{className:"container"},A().createElement(D,{className:"app-layer",appTitle:t.appName,onClick:e=>{e.stopPropagation(),n(t.key,"layer")},status:l.includes(t.key)?"active":void 0}),A().createElement("div",{className:"cluster-container",style:{gridTemplateColumns:"repeat(".concat(t.clusters.length,", 1fr)")}},t.clusters.map((e=>{var t=c.includes(e.key);return A().createElement(O,{key:e.key,type:e.type,className:"cluster-content",customTitle:e.clusterName,data:e.nodes.map((e=>{var a=c.includes(e.key);return{nodeTitle:e.nodeTitle,type:e.type,key:e.key,isAlert:e.isAlert,status:a||t?t?void 0:"active":c.length?"faded":void 0}})),handleClick:t=>{var{type:a,data:r}=t;switch(a){case"container":n(e.key,"cluster",e);break;case"node":n(r.key,"node",r)}},status:e.nodes.some((e=>c.includes(e.key)))||t?t?"active":void 0:c.length?"faded":void 0,handleDbClick:t=>{var{type:a,data:r}=t;switch(a){case"container":i(e.key,"cluster",e);break;case"node":i(r.key,"node",r)}}})}))),!o&&A().createElement(P,{className:"close-button",onClick:e=>{e.stopPropagation(),null==r||r()}})))}C=te,({e:[o,c,p,h,g,b,f,v,y,m,k,x,Z],c:[z,r]}=(0,B.Z)(C,[[i,1,"dataSource"],[l,1,"activeKey"],[s,1,"hiddenCloseBtn"],[u,1,"closeBtnClickEvent",e=>(0,S.Z)(e,H),(e,t)=>(0,T.Z)(e,H,t)],[d,1,"cabinetClickEvent",e=>(0,S.Z)(e,L),(e,t)=>(0,T.Z)(e,L,t)],[w,1,"cabinetDbClickEvent",e=>(0,S.Z)(e,U),(e,t)=>(0,T.Z)(e,U,t)]],[n],0,(e=>ee.has((0,M.Z)(e))))),r()},4622:(e,t,a)=>{a.d(t,{Z:()=>l});var r=a(9601),n=a.n(r),i=a(2609),o=a.n(i)()(n());o.push([e.id,":host{display:block;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{transform-style:preserve-3d;perspective-origin:50% 50%;perspective:4000px;height:100%}.container{display:flex;position:relative;height:100%;flex-direction:column;transform-origin:50% 50%;transform:rotateX(45deg)}.app-layer{width:40%;margin-bottom:28px;align-self:center}.cluster-container{flex:1;display:grid;grid-gap:17px;height:calc(100% - 60px)}.cluster-content{display:block;height:100%;overflow:hidden}.close-button{position:absolute;top:0;right:0}",""]);const l=o.toString()},1043:(e,t,a)=>{a.d(t,{Z:()=>l});var r=a(9601),n=a.n(r),i=a(2609),o=a.n(i)()(n());o.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()},2609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",r=void 0!==t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),r&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),r&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,r,n,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(o[c]=!0)}for(var s=0;s<e.length;s++){var p=[].concat(e[s]);r&&o[p[0]]||(void 0!==i&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),a&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=a):p[2]=a),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),t.push(p))}},t}},9601:e=>{e.exports=function(e){return e[1]}},2604:(e,t,a)=>{a.d(t,{Z:()=>d});var r=a(6522),n=a(1815);function i(e,t){return function(a){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),c(a,"An initializer"),e.push(a)}}function o(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function l(e,t,a,r,n,l,c,s,p,u){var h;switch(l){case 1:h="accessor";break;case 2:h="method";break;case 3:h="getter";break;case 4:h="setter";break;default:h="field"}var g,b,d={kind:h,name:s?"#"+a:a,static:c,private:s},f={v:!1};if(0!==l&&(d.addInitializer=i(n,f)),s||0!==l&&2!==l)if(2===l)g=function(e){return o(u,e),r.value};else{var v=0===l||1===l;(v||3===l)&&(g=s?function(e){return o(u,e),r.get.call(e)}:function(e){return r.get.call(e)}),(v||4===l)&&(b=s?function(e,t){o(u,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else g=function(e){return e[a]},0===l&&(b=function(e,t){e[a]=t});var y=s?u.bind():function(e){return a in e};d.access=g&&b?{get:g,set:b,has:y}:g?{get:g,has:y}:{set:b,has:y};try{return e.call(t,p,d)}finally{f.v=!0}}function c(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function s(e,t){var a=(0,r.Z)(t);if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&c(t.get,"accessor.get"),void 0!==t.set&&c(t.set,"accessor.set"),void 0!==t.init&&c(t.init,"accessor.init")}else if("function"!==a)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function p(e){return function(){return e(this)}}function u(e){return function(t){e(this,t)}}function h(e,t,a,r,n,i,o,c,h,g){var b,d,f,v,y,w,m=a[0];r||Array.isArray(m)||(m=[m]),c?b=0===i||1===i?{get:p(a[3]),set:u(a[4])}:3===i?{get:a[3]}:4===i?{set:a[3]}:{value:a[3]}:0!==i&&(b=Object.getOwnPropertyDescriptor(t,n)),1===i?f={get:b.get,set:b.set}:2===i?f=b.value:3===i?f=b.get:4===i&&(f=b.set);for(var k=r?2:1,x=m.length-1;x>=0;x-=k){var Z;void 0!==(v=l(m[x],r?m[x-1]:void 0,n,b,h,i,o,c,f,g))&&(s(i,v),0===i?Z=v:1===i?(Z=v.init,y=v.get||f.get,w=v.set||f.set,f={get:y,set:w}):f=v,void 0!==Z&&(void 0===d?d=Z:"function"==typeof d?d=[d,Z]:d.push(Z)))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var C=d;d=function(e,t){for(var a=t,r=C.length-1;r>=0;r--)a=C[r].call(e,a);return a}}else{var z=d;d=function(e,t){return z.call(e,t)}}e.push(d)}0!==i&&(1===i?(b.get=f.get,b.set=f.set):2===i?b.value=f:3===i?b.get=f:4===i&&(b.set=f),c?1===i?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===i?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,b))}function g(e,t,a){for(var r,i,o,l=[],c=new Map,s=new Map,p=0;p<t.length;p++){var u=t[p];if(Array.isArray(u)){var g,d,f=u[1],v=u[2],y=u.length>3,w=16&f,m=!!(8&f),k=a;if(f&=7,m?(g=e,0!==f&&(d=i=i||[]),y&&!o&&(o=function(t){return(0,n.Z)(t)===e}),k=o):(g=e.prototype,0!==f&&(d=r=r||[])),0!==f&&!y){var x=m?s:c,Z=x.get(v)||0;if(!0===Z||3===Z&&4!==f||4===Z&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);x.set(v,!(!Z&&f>2)||f)}h(l,g,u,w,v,f,m,y,d,k)}}return b(l,r),b(l,i),l}function b(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function d(e,t,a,r,n){return{e:g(e,t,n),get c(){return function(e,t,a){if(t.length){for(var r=[],n=e,o=e.name,l=a?2:1,c=t.length-1;c>=0;c-=l){var p={v:!1};try{var u=t[c].call(a?t[c-1]:void 0,n,{kind:"class",name:o,addInitializer:i(r,p)})}finally{p.v=!0}void 0!==u&&(s(5,u),n=u)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,a,r)}}}},1815:(e,t,a)=>{a.d(t,{Z:()=>n});var r=a(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.Z)(e):"null"));return e}},5863:(e,t,a)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}a.d(t,{Z:()=>r})},175:(e,t,a)=>{function r(e,t,a){if(!t.has(e))throw new TypeError("attempted to "+a+" private field on non-instance");return t.get(e)}a.d(t,{Z:()=>r})},687:(e,t,a)=>{a.d(t,{Z:()=>n});var r=a(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,r.Z)(e,t,"get"))}},3395:(e,t,a)=>{a.d(t,{Z:()=>n});var r=a(5863);function n(e,t,a){(0,r.Z)(e,t),t.set(e,a)}},381:(e,t,a)=>{a.d(t,{Z:()=>n});var r=a(175);function n(e,t,a){return function(e,t,a){if(t.set)t.set.call(e,a);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=a}}(e,(0,r.Z)(e,t,"set"),a),a}},6522:(e,t,a)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}a.d(t,{Z:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=cabinet-graph.c542ef6e.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-node.4cfbd18d.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7335,5628],{315:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CabinetNode:()=>f});var a,n,i,o,l,s,c,p,u,g,b,h,f,d=r(3395),v=r(381),y=r(687),w=r(2604),m=r(8657),x=r.n(m),Z=r(2547),z=r(528),k=r(1043),E=r(6859),T=r(2779),A=r.n(T),S=r(6217),j=r(4476),_=r(671),M=r(9831),O=r(8510),N={"container-group":_,"virtual-machine":S,"physical-machine":j,"container-group-warning":r(2790),"virtual-machine-warning":M,"physical-machine-warning":O,pod:r(2342),"pod-warning":r(3340)},{defineElement:C,property:P}=(0,Z.createDecorators)();n=C("data-view.cabinet-node",{styleTexts:[k.Z,E.Z]}),i=P(),l=P(),c=P(),u=P({type:Boolean});var W=new WeakMap,I=new WeakMap,D=new WeakMap,B=new WeakMap;class R extends z.ReactNextElement{constructor(){super(...arguments),(0,d.Z)(this,W,{writable:!0,value:(b(this),o(this))}),(0,d.Z)(this,I,{writable:!0,value:s(this)}),(0,d.Z)(this,D,{writable:!0,value:p(this)}),(0,d.Z)(this,B,{writable:!0,value:g(this)})}get type(){return(0,y.Z)(this,W)}set type(e){(0,v.Z)(this,W,e)}get nodeTitle(){return(0,y.Z)(this,I)}set nodeTitle(e){(0,v.Z)(this,I,e)}get status(){return(0,y.Z)(this,D)}set status(e){(0,v.Z)(this,D,e)}get isAlert(){return(0,y.Z)(this,B)}set isAlert(e){(0,v.Z)(this,B,e)}render(){return x().createElement(q,{type:this.type,nodeTitle:this.nodeTitle,status:this.status,isAlert:this.isAlert})}}function q(e){var{type:t,nodeTitle:r,status:a,isAlert:n}=e;return x().createElement("div",{className:A()("container",t&&"type-".concat(t),a&&"status-".concat(a))},x().createElement("img",{className:"image",src:N["".concat(t).concat(n?"-warning":"")],alt:t}),x().createElement("div",{className:"node-title",title:r},r))}h=R,({e:[o,s,p,g,b],c:[f,a]}=(0,w.Z)(h,[[i,1,"type"],[l,1,"nodeTitle"],[c,1,"status"],[u,1,"isAlert"]],[n])),a()},2779:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)a.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},6859:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([e.id,":host{display:inline-block;width:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.container{display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:opacity 0.5s}.image{width:100%;border:2px solid transparent}.node-title{width:100%;text-align:center;font-size:var(--normal-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.type-container-group:hover .image,\n.type-container-group.status-active .image{box-shadow:inset 0 0 16px 0 #ff9900;border-color:#ff9900}.type-physical-machine:hover .image,\n.type-virtual-machine:hover .image,\n.type-physical-machine.status-active .image,\n.type-virtual-machine.status-active .image,\n.type-pod:hover .image,\n.type-type-pod.status-active .image{box-shadow:inset 0 0 16px 0 #50ffff;border-color:#50ffff}.status-faded{opacity:0.4}",""]);const l=o.toString()},1043:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),i=r(2609),o=r.n(i)()(n());o.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=o.toString()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);a&&o[p[0]]||(void 0!==i&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),t.push(p))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},671:(e,t,r)=>{"use strict";e.exports=r.p+"images/17ea7260.png"},2790:(e,t,r)=>{"use strict";e.exports=r.p+"images/85e27dbe.png"},4476:(e,t,r)=>{"use strict";e.exports=r.p+"images/946b4897.png"},8510:(e,t,r)=>{"use strict";e.exports=r.p+"images/2f0f6b06.png"},2342:(e,t,r)=>{"use strict";e.exports=r.p+"images/67e041ba.png"},3340:(e,t,r)=>{"use strict";e.exports=r.p+"images/23be87ab.png"},6217:(e,t,r)=>{"use strict";e.exports=r.p+"images/55a7b5bb.png"},9831:(e,t,r)=>{"use strict";e.exports=r.p+"images/6cef4f17.png"},2604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var a=r(6522),n=r(1815);function i(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),s(r,"An initializer"),e.push(r)}}function o(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function l(e,t,r,a,n,l,s,c,p,u){var g;switch(l){case 1:g="accessor";break;case 2:g="method";break;case 3:g="getter";break;case 4:g="setter";break;default:g="field"}var b,h,f={kind:g,name:c?"#"+r:r,static:s,private:c},d={v:!1};if(0!==l&&(f.addInitializer=i(n,d)),c||0!==l&&2!==l)if(2===l)b=function(e){return o(u,e),a.value};else{var v=0===l||1===l;(v||3===l)&&(b=c?function(e){return o(u,e),a.get.call(e)}:function(e){return a.get.call(e)}),(v||4===l)&&(h=c?function(e,t){o(u,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else b=function(e){return e[r]},0===l&&(h=function(e,t){e[r]=t});var y=c?u.bind():function(e){return r in e};f.access=b&&h?{get:b,set:h,has:y}:b?{get:b,has:y}:{set:h,has:y};try{return e.call(t,p,f)}finally{d.v=!0}}function s(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function c(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&s(t.get,"accessor.get"),void 0!==t.set&&s(t.set,"accessor.set"),void 0!==t.init&&s(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function p(e){return function(){return e(this)}}function u(e){return function(t){e(this,t)}}function g(e,t,r,a,n,i,o,s,g,b){var h,f,d,v,y,w,m=r[0];a||Array.isArray(m)||(m=[m]),s?h=0===i||1===i?{get:p(r[3]),set:u(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(h=Object.getOwnPropertyDescriptor(t,n)),1===i?d={get:h.get,set:h.set}:2===i?d=h.value:3===i?d=h.get:4===i&&(d=h.set);for(var x=a?2:1,Z=m.length-1;Z>=0;Z-=x){var z;void 0!==(v=l(m[Z],a?m[Z-1]:void 0,n,h,g,i,o,s,d,b))&&(c(i,v),0===i?z=v:1===i?(z=v.init,y=v.get||d.get,w=v.set||d.set,d={get:y,set:w}):d=v,void 0!==z&&(void 0===f?f=z:"function"==typeof f?f=[f,z]:f.push(z)))}if(0===i||1===i){if(void 0===f)f=function(e,t){return t};else if("function"!=typeof f){var k=f;f=function(e,t){for(var r=t,a=k.length-1;a>=0;a--)r=k[a].call(e,r);return r}}else{var E=f;f=function(e,t){return E.call(e,t)}}e.push(f)}0!==i&&(1===i?(h.get=d.get,h.set=d.set):2===i?h.value=d:3===i?h.get=d:4===i&&(h.set=d),s?1===i?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===i?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(t,n,h))}function b(e,t,r){for(var a,i,o,l=[],s=new Map,c=new Map,p=0;p<t.length;p++){var u=t[p];if(Array.isArray(u)){var b,f,d=u[1],v=u[2],y=u.length>3,w=16&d,m=!!(8&d),x=r;if(d&=7,m?(b=e,0!==d&&(f=i=i||[]),y&&!o&&(o=function(t){return(0,n.Z)(t)===e}),x=o):(b=e.prototype,0!==d&&(f=a=a||[])),0!==d&&!y){var Z=m?c:s,z=Z.get(v)||0;if(!0===z||3===z&&4!==d||4===z&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);Z.set(v,!(!z&&d>2)||d)}g(l,b,u,w,v,d,m,y,f,x)}}return h(l,a),h(l,i),l}function h(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function f(e,t,r,a,n){return{e:b(e,t,n),get c(){return function(e,t,r){if(t.length){for(var a=[],n=e,o=e.name,l=r?2:1,s=t.length-1;s>=0;s-=l){var p={v:!1};try{var u=t[s].call(r?t[s-1]:void 0,n,{kind:"class",name:o,addInitializer:i(a,p)})}finally{p.v=!0}void 0!==u&&(c(5,u),n=u)}return[n,function(){for(var e=0;e<a.length;e++)a[e].call(n)}]}}(e,r,a)}}}},1815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=cabinet-node.4cfbd18d.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-thumbnail.7d897c3a.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[9410],{7790:(e,t,a)=>{"use strict";a.r(t),a.d(t,{CabinetThumbnail:()=>u,CabinetThumbnailComponent:()=>j});var r,l,i,n,o,s,c,p,b,g,u,h=a(3028),d=a(3395),f=a(381),v=a(687),x=a(2604),m=a(8657),w=a.n(m),y=a(528),k=a(2547),z=a(2779),E=a.n(z),C=a(1043),N=a(6708),Z=a(8143),T=(0,y.wrapBrick)("data-view.cabinet-app-layer"),{defineElement:W,property:S}=(0,k.createDecorators)(),H=(0,y.wrapBrick)("data-view.cabinet-node");l=W("data-view.cabinet-thumbnail",{styleTexts:[C.Z,N.Z]}),i=S({attribute:!1}),o=S({type:Number}),c=S();var L=new WeakMap,R=new WeakMap,_=new WeakMap;class M extends y.ReactNextElement{constructor(){super(...arguments),(0,d.Z)(this,L,{writable:!0,value:(b(this),n(this,[]))}),(0,d.Z)(this,R,{writable:!0,value:s(this,4)}),(0,d.Z)(this,_,{writable:!0,value:p(this)})}get clusters(){return(0,v.Z)(this,L)}set clusters(e){(0,f.Z)(this,L,e)}get columns(){return(0,v.Z)(this,R)}set columns(e){(0,f.Z)(this,R,e)}get appName(){return(0,v.Z)(this,_)}set appName(e){(0,f.Z)(this,_,e)}render(){return w().createElement(j,{clusters:this.clusters,columns:this.columns,appName:this.appName})}}function j(e){var{clusters:t,columns:a,appName:r}=e,l=(0,m.useRef)(),i=(0,m.useRef)(),[n,o]=(0,m.useState)(),s=(0,Z.D)(n);return(0,m.useLayoutEffect)((()=>{if(t.length&&a>0){var e=l.current.clientWidth/(i.current.clientWidth/(null!=s?s:1)),r=l.current.clientHeight/(i.current.clientHeight*(null!=s?s:1));o(Math.min(Math.floor(100*Math.min(e,r))/100,1))}}),[t,s,a]),w().createElement("div",{ref:l,className:"wrapper"},w().createElement("div",{className:"thumbnailLayout",ref:i,style:(0,h.Z)({},n?{transform:"scale(".concat(n,")")}:{})},w().createElement(T,{className:"appLayer",appTitle:r}),w().createElement("div",{className:"layout"},t.map(((e,t)=>w().createElement("div",{className:"clusterWrapper",key:t},w().createElement("div",{className:E()("clusterContainer",{clusterHostContainer:"host"===e.type||"k8s-blue"===e.type,clusterK8sContainer:"k8s"===e.type})},w().createElement("div",{className:"clusterContent"},w().createElement("div",{className:"clusterContentLayout",style:{gridTemplateColumns:"repeat(".concat(a,",1fr)")}},e.data.map(((e,t)=>w().createElement("div",{key:t,className:"itemContent"},w().createElement(H,{type:e.type,nodeTitle:e.nodeTitle})))))),w().createElement("div",{className:"clusterTitle"},w().createElement("div",{className:"title"},e.title)))))))))}g=M,({e:[n,s,p,b],c:[u,r]}=(0,x.Z)(g,[[i,1,"clusters"],[o,1,"columns"],[c,1,"appName"]],[l])),r()},8143:(e,t,a)=>{"use strict";a.d(t,{D:()=>b,y:()=>p});var r=a(3028),l=a(8657),i=a(7209),n=new Map,o=new i.Z((e=>{e.forEach((e=>{var t,{target:a}=e;null===(t=n.get(a))||void 0===t||t.forEach((t=>t(e)))}))})),s=(e,t)=>{n.has(e)||(n.set(e,new Set),o.observe(e)),n.get(e).add(t)},c=(e,t)=>{n.has(e)&&(n.get(e).delete(t),0===n.get(e).size&&(o.unobserve(e),n.delete(e)))};function p(e){var{targetRef:t,onResize:a}=e||{},i=(0,l.useRef)(),n=null!=t?t:i,[o,p]=(0,l.useState)({clientWidth:0,clientHeight:0}),b=(0,l.useCallback)((e=>{var{target:t}=e,{clientWidth:r=0,clientHeight:l=0}=t;p((t=>t.clientWidth===r&&t.clientHeight===l?t:(null==a||a(e),{clientWidth:r,clientHeight:l})))}),[a]);return(0,l.useEffect)((()=>{if("object"!=typeof n||null===n||!(n.current instanceof Element))throw new Error("ResizeObserver must observe an Element");var e=n.current;return s(e,b),()=>{c(e,b)}}),[b,n]),[n,(0,r.Z)({},o)]}function b(e){var t=(0,l.useRef)();return(0,l.useEffect)((()=>{t.current=e})),t.current}},2779:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)){if(a.length){var n=l.apply(null,a);n&&e.push(n)}}else if("object"===i){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var o in a)r.call(a,o)&&a[o]&&e.push(o)}}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(a=function(){return l}.apply(t,[]))||(e.exports=a)}()},6708:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var r=a(9601),l=a.n(r),i=a(2609),n=a.n(i)()(l());n.push([e.id,'*,\n*:after,\n*:before{box-sizing:border-box}.wrapper{width:100%;height:100%}.wrapper,\n.thumbnailLayout{display:flex;justify-content:center;align-items:center}.appLayer{width:90%;margin-bottom:16px;align-self:center;pointer-events:none}.thumbnailLayout{flex-direction:column}.layout{display:flex;gap:17px;margin-top:27px;align-items:stretch}.clusterWrapper{width:100%;height:auto}.clusterContainer{width:100%;height:100%;border:3px solid;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);display:flex;flex-direction:column}.clusterHostContainer{background:rgba(7,4,21,0.85);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-image:radial-gradient(circle,rgba(55,229,252,1),#007aca) 3 3}.clusterK8sContainer{background:rgba(7,4,21,0.8);border-image:radial-gradient(circle,rgba(255,102,51,1),#ff663399) 3 3}.clusterContent{flex:1;padding:20px 10px;width:100%}.clusterContentLayout{display:grid;width:100%}.itemContent{width:118px;pointer-events:none;height:105px}.clusterTitle{width:100%;text-align:center;line-height:57px;font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);position:relative;display:flex}.title{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.clusterTitle:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;z-index:-1}.clusterHostContainer > .clusterTitle:after{background:linear-gradient(180deg,rgba(26,103,157,0.2) 0%,#1b69a0 100%)}.clusterK8sContainer > .clusterTitle:after{background:linear-gradient(180deg,rgba(255,102,51,0.1) 0%,rgba(255,102,51,0.55) 100%)}',""]);const o=n.toString()},1043:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var r=a(9601),l=a.n(r),i=a(2609),n=a.n(i)()(l());n.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const o=n.toString()}}]);
|
|
3
|
-
//# sourceMappingURL=cabinet-thumbnail.7d897c3a.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see dropdown-menu.5f4a483a.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7926,5628],{4842:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownMenu:()=>w});var a,n,o,l,i,s,c,p,u,d,h,b,g,v,f,m,w,x=r(3395),y=r(1815),k=r(381),E=r(687),Z=r(2604),z=r(8657),N=r.n(z),C=r(2547),S=r(528),M=r(1043),j=r(567),T=r(8214),A=r(2779),_=r.n(A),W=r(1211),D=(0,S.wrapBrick)("icons.general-icon"),{defineElement:O,property:L,event:P}=(0,C.createDecorators)();n=O("data-view.dropdown-menu",{styleTexts:[M.Z,j.Z]}),o=L({attribute:!1}),i=L(),c=L(),u=L(),h=P({type:"value.change"});var I=new WeakMap,B=new WeakMap,R=new WeakMap,q=new WeakMap,F=new WeakMap,G=new WeakMap,H=new WeakMap;class J extends S.ReactNextElement{constructor(){super(...arguments),(0,x.Z)(this,G,{get:Q,set:K}),(0,x.Z)(this,I,{writable:!0,value:(f(this),l(this))}),(0,x.Z)(this,B,{writable:!0,value:s(this)}),(0,x.Z)(this,R,{writable:!0,value:p(this)}),(0,x.Z)(this,q,{writable:!0,value:d(this)}),(0,x.Z)(this,F,{writable:!0,value:b(this)}),(0,x.Z)(this,H,{writable:!0,value:e=>{(0,E.Z)(this,G).emit(e)}})}get options(){return(0,E.Z)(this,I)}set options(e){(0,k.Z)(this,I,e)}get value(){return(0,E.Z)(this,B)}set value(e){(0,k.Z)(this,B,e)}get placeholder(){return(0,E.Z)(this,R)}set placeholder(e){(0,k.Z)(this,R,e)}get allowClear(){return(0,E.Z)(this,q)}set allowClear(e){(0,k.Z)(this,q,e)}render(){return N().createElement(U,{curElement:this,options:this.options,value:this.value,placeholder:this.placeholder,onChange:(0,E.Z)(this,H),allowClear:this.allowClear})}}function K(e){v(this,e)}function Q(){return g(this)}function U(e){var{curElement:t,options:r,placeholder:a,onChange:n,allowClear:o}=e,[l,i]=N().useState(!0),s=(0,z.useRef)(),[c,p]=N().useState(""),[u,d]=N().useState(!1),[h,b]=(0,z.useState)(e.value),g=(0,z.useMemo)((()=>(0,W.keyBy)(r,"value")),[r]);(0,z.useEffect)((()=>{b(e.value)}),[e.value]),(0,z.useEffect)((()=>{var e=e=>{t.contains(e.target)||(i(!0),d((()=>(s.current.blur(),p(""),!1))))};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}));var v=(0,z.useMemo)((()=>r.filter((e=>{var t=(null==c?void 0:c.trim().toLowerCase())||"";return e.label.toLowerCase().includes(t)||e.value.toLowerCase().includes(t)}))),[c,r]);return N().createElement("div",{className:"container"},N().createElement("div",{className:_()("select",{"select-focused":u,"select-allow-clear":!!o})},N().createElement("div",{className:"select-selector",onClick:()=>{i(!1),d((e=>(e||p(""),s.current.focus(),!0)))}},N().createElement("div",{className:"select-selector-search"},N().createElement("input",{className:"select-selector-search-input",type:"search",autoComplete:"off",ref:s,value:c,onChange:e=>{p(e.target.value)}})),h?N().createElement("div",{className:"select-selector-item",style:{visibility:c?"hidden":"visible"}},g[h]?g[h].label:h):N().createElement("div",{className:"select-selection-placeholder",style:{visibility:c?"hidden":"visible"}},a),N().createElement("div",{className:"select-arrow"},u?N().createElement(D,{className:"ant-select-suffix search-icon",lib:"antd",theme:"outlined",icon:"search"}):N().createElement(D,{className:"ant-select-suffix down-icon",lib:"antd",theme:"outlined",icon:"down"})),o&&N().createElement("div",{className:"select-clear",style:{visibility:h?"visible":"hidden"},onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),p(""),b(null),null==n||n(null)}},N().createElement(D,{className:"ant-select-suffix clear-icon",lib:"antd",theme:"filled",icon:"close-circle"})))),N().createElement("div",{className:"select-dropdown",style:{display:l?"none":"block"}},v.length?N().createElement("div",{className:"dropdown-list"},N().createElement("div",{className:"dropdown-list-inner"},v.map((e=>N().createElement("div",{className:_()("select-item",{selected:h===e.value}),key:e.value,onClick:()=>{b(e.value),i(!0),d((()=>(s.current.blur(),p(""),!1))),null==n||n(e.value)}},N().createElement("div",{className:"select-item-option-content"},e.label)))))):N().createElement("div",{className:"empty-state"},N().createElement("img",{src:T,className:"empty-image"}),N().createElement("div",{className:"empty-description"},"暂无数据"))))}m=J,({e:[l,s,p,d,b,g,v,f],c:[w,a]}=(0,Z.Z)(m,[[o,1,"options"],[i,1,"value"],[c,1,"placeholder"],[u,1,"allowClear"],[h,1,"valueChange",e=>(0,E.Z)(e,F),(e,t)=>(0,k.Z)(e,F,t)]],[n],0,(e=>H.has((0,y.Z)(e))))),a()},2779:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var l=n.apply(null,r);l&&e.push(l)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},1043:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),o=r(2609),l=r.n(o)()(n());l.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const i=l.toString()},567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),o=r(2609),l=r.n(o)()(n());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.container{position:relative}.select{position:relative}.select:hover .select-selector{background:var(--color-brand)}.select-focused .select-selector{background:var(--color-brand-active)!important}.select:hover .select-clear{opacity:1}.select-focused .select-selector-item,\n.select-focused .select-selection-placeholder{color:var(--color-disabled-text)}.select.select-allow-clear:hover .select-selector-item~.select-arrow{opacity:0}.select-selector{display:flex;position:relative;width:100%;height:46px;padding:0 12px;border:var(--border-width-base) solid;border-image:linear-gradient(90deg,var(--palette-rgba-white-5),transparent,var(--palette-rgba-white-5)) 1;border-radius:var(--no-border-radius);background:var(--color-fill-bg-base-3);box-shadow:inset 0px 0px 11px 0px #3366ff;transition:all .2s cubic-bezier(.645,.045,.355,1);cursor:text}.select-selector-search{position:absolute;top:0;bottom:0;inset-inline-start:11px;inset-inline-end:29px}.select-selector-search-input{width:100%;height:calc(46px - var(--border-width-base) * 2);color:var(--color-normal-text);margin:0;padding:0;background:none;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto}.select-selector-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none;appearance:none}.select-selection-placeholder,\n.select-selector-item{flex:1;padding:0;-webkit-padding-end:18px;padding-inline-end:18px;line-height:calc(46px - var(--border-width-base) * 2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-500)}.select-selection-placeholder{color:var(--color-normal-text);transition:color .3s;pointer-events:none}.select-selector-item{color:var(--color-normal-text);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .3s;font-weight:400}.select-arrow,\n.select-clear{margin-top:-6px;position:absolute;top:50%;inset-inline-start:auto;inset-inline-end:11px;text-align:center;font-size:12px;line-height:1;width:12px;height:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-arrow{pointer-events:none;transition:opacity .3s ease}.select-clear{opacity:0;z-index:1;transition:color .2s ease,opacity .3s ease;cursor:pointer}.ant-select-suffix{display:inline-block;width:100%;height:100%;line-height:1}.search-icon{color:var(--color-disabled-text)}.down-icon,\n.clear-icon{color:var(--color-auxiliary-text)}.select-dropdown{position:absolute;bottom:50px;width:100%;border-radius:var(--no-border-radius);background:rgba(var(--palette-tech-blue-6-channel),.4);box-shadow:inset 0px 0px 11px 0px #1861D6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dropdown-list{max-height:160px;padding:8px 0;overflow-y:scroll;overflow-anchor:none}.dropdown-inner{display:flex;flex-direction:column;height:36px}.select-item{display:flex;align-items:center;padding:7px;border-radius:var(--no-border-radius);cursor:pointer;transition:background 0.3s ease}.select-item:hover,\n.select-item.selected{background:var(--color-fill-bg-container-1)}.select-item-option-content{font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);line-height:22px}.empty-state{padding:47px 0;display:flex;flex-direction:column;align-items:center}.empty-image{width:auto;height:39px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.empty-description{margin-top:10px;color:var(--palette-rgba-white-6)}",""]);const i=l.toString()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,o){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(l[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);a&&l[p[0]]||(void 0!==o&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=o),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),t.push(p))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},8214:(e,t,r)=>{"use strict";e.exports=r.p+"images/6d954a25.png"},2604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var a=r(6522),n=r(1815);function o(e,t){return function(r){(function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")})(t),s(r,"An initializer"),e.push(r)}}function l(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function i(e,t,r,a,n,i,s,c,p,u){var d;switch(i){case 1:d="accessor";break;case 2:d="method";break;case 3:d="getter";break;case 4:d="setter";break;default:d="field"}var h,b,g={kind:d,name:c?"#"+r:r,static:s,private:c},v={v:!1};if(0!==i&&(g.addInitializer=o(n,v)),c||0!==i&&2!==i)if(2===i)h=function(e){return l(u,e),a.value};else{var f=0===i||1===i;(f||3===i)&&(h=c?function(e){return l(u,e),a.get.call(e)}:function(e){return a.get.call(e)}),(f||4===i)&&(b=c?function(e,t){l(u,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else h=function(e){return e[r]},0===i&&(b=function(e,t){e[r]=t});var m=c?u.bind():function(e){return r in e};g.access=h&&b?{get:h,set:b,has:m}:h?{get:h,has:m}:{set:b,has:m};try{return e.call(t,p,g)}finally{v.v=!0}}function s(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function c(e,t){var r=(0,a.Z)(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&s(t.get,"accessor.get"),void 0!==t.set&&s(t.set,"accessor.set"),void 0!==t.init&&s(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":5===e?"class":"method")+" decorators must return a function or void 0")}function p(e){return function(){return e(this)}}function u(e){return function(t){e(this,t)}}function d(e,t,r,a,n,o,l,s,d,h){var b,g,v,f,m,w,x=r[0];a||Array.isArray(x)||(x=[x]),s?b=0===o||1===o?{get:p(r[3]),set:u(r[4])}:3===o?{get:r[3]}:4===o?{set:r[3]}:{value:r[3]}:0!==o&&(b=Object.getOwnPropertyDescriptor(t,n)),1===o?v={get:b.get,set:b.set}:2===o?v=b.value:3===o?v=b.get:4===o&&(v=b.set);for(var y=a?2:1,k=x.length-1;k>=0;k-=y){var E;void 0!==(f=i(x[k],a?x[k-1]:void 0,n,b,d,o,l,s,v,h))&&(c(o,f),0===o?E=f:1===o?(E=f.init,m=f.get||v.get,w=f.set||v.set,v={get:m,set:w}):v=f,void 0!==E&&(void 0===g?g=E:"function"==typeof g?g=[g,E]:g.push(E)))}if(0===o||1===o){if(void 0===g)g=function(e,t){return t};else if("function"!=typeof g){var Z=g;g=function(e,t){for(var r=t,a=Z.length-1;a>=0;a--)r=Z[a].call(e,r);return r}}else{var z=g;g=function(e,t){return z.call(e,t)}}e.push(g)}0!==o&&(1===o?(b.get=v.get,b.set=v.set):2===o?b.value=v:3===o?b.get=v:4===o&&(b.set=v),s?1===o?(e.push((function(e,t){return v.get.call(e,t)})),e.push((function(e,t){return v.set.call(e,t)}))):2===o?e.push(v):e.push((function(e,t){return v.call(e,t)})):Object.defineProperty(t,n,b))}function h(e,t,r){for(var a,o,l,i=[],s=new Map,c=new Map,p=0;p<t.length;p++){var u=t[p];if(Array.isArray(u)){var h,g,v=u[1],f=u[2],m=u.length>3,w=16&v,x=!!(8&v),y=r;if(v&=7,x?(h=e,0!==v&&(g=o=o||[]),m&&!l&&(l=function(t){return(0,n.Z)(t)===e}),y=l):(h=e.prototype,0!==v&&(g=a=a||[])),0!==v&&!m){var k=x?c:s,E=k.get(f)||0;if(!0===E||3===E&&4!==v||4===E&&3!==v)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+f);k.set(f,!(!E&&v>2)||v)}d(i,h,u,w,f,v,x,m,g,y)}}return b(i,a),b(i,o),i}function b(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function g(e,t,r,a,n){return{e:h(e,t,n),get c(){return function(e,t,r){if(t.length){for(var a=[],n=e,l=e.name,i=r?2:1,s=t.length-1;s>=0;s-=i){var p={v:!1};try{var u=t[s].call(r?t[s-1]:void 0,n,{kind:"class",name:l,addInitializer:o(a,p)})}finally{p.v=!0}void 0!==u&&(c(5,u),n=u)}return[n,function(){for(var e=0;e<a.length;e++)a[e].call(n)}]}}(e,r,a)}}}},1815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,a.Z)(e):"null"));return e}},5863:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=dropdown-menu.5f4a483a.js.map
|