@next-bricks/data-view 0.9.5 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +8 -2
- package/dist/chunks/1646.7595d32c.js +2 -0
- package/dist/chunks/1646.7595d32c.js.map +1 -0
- package/dist/chunks/{2916.a50c63cb.js → 2916.2736a1c2.js} +2 -2
- package/dist/chunks/2916.2736a1c2.js.map +1 -0
- package/dist/chunks/3494.81c25a14.js +2 -0
- package/dist/chunks/{3494.0610767d.js.map → 3494.81c25a14.js.map} +1 -1
- package/dist/chunks/395.8404a7fc.js +2 -0
- package/dist/chunks/395.8404a7fc.js.map +1 -0
- package/dist/chunks/4131.fcd6b8c6.js +2 -0
- package/dist/chunks/4131.fcd6b8c6.js.map +1 -0
- package/dist/chunks/4717.9d6d3900.js +2 -0
- package/dist/chunks/4717.9d6d3900.js.map +1 -0
- package/dist/chunks/4770.cea61a27.js +2 -0
- package/dist/chunks/4770.cea61a27.js.map +1 -0
- package/dist/chunks/{5114.742a2d22.js → 5114.5c6a5b4e.js} +2 -2
- package/dist/chunks/{5114.742a2d22.js.map → 5114.5c6a5b4e.js.map} +1 -1
- package/dist/chunks/5202.3b49eff5.js +2 -0
- package/dist/chunks/{5202.3225e09f.js.map → 5202.3b49eff5.js.map} +1 -1
- package/dist/chunks/{7746.dd1e6648.js → 7746.2258edd2.js} +2 -2
- package/dist/chunks/{7746.dd1e6648.js.map → 7746.2258edd2.js.map} +1 -1
- package/dist/chunks/7822.94e0694c.js +2 -0
- package/dist/chunks/{7822.de12dc71.js.map → 7822.94e0694c.js.map} +1 -1
- package/dist/chunks/9549.bcd85093.js +2 -0
- package/dist/chunks/9549.bcd85093.js.map +1 -0
- package/dist/chunks/app-wall-card-item.d09f409d.js +3 -0
- package/dist/chunks/{app-wall-card-item.a3492828.js.map → app-wall-card-item.d09f409d.js.map} +1 -1
- package/dist/chunks/app-wall-relation-line.cf984b68.js +3 -0
- package/dist/chunks/{app-wall-relation-line.9feb3b3f.js.map → app-wall-relation-line.cf984b68.js.map} +1 -1
- package/dist/chunks/app-wall.4204fd25.js +2 -0
- package/dist/chunks/{app-wall.aa916383.js.map → app-wall.4204fd25.js.map} +1 -1
- package/dist/chunks/battery-chart.7834ebd7.js +2 -0
- package/dist/chunks/battery-chart.7834ebd7.js.map +1 -0
- package/dist/chunks/brick-notification.57cebbcd.js +2 -0
- package/dist/chunks/brick-notification.57cebbcd.js.map +1 -0
- package/dist/chunks/cabinet-app-layer.4518a41a.js +3 -0
- package/dist/chunks/{cabinet-app-layer.e21662e2.js.map → cabinet-app-layer.4518a41a.js.map} +1 -1
- package/dist/chunks/cabinet-button.5972f394.js +2 -0
- package/dist/chunks/cabinet-button.5972f394.js.map +1 -0
- package/dist/chunks/cabinet-container.a76fdd0e.js +3 -0
- package/dist/chunks/{cabinet-container.7d8f63ed.js.map → cabinet-container.a76fdd0e.js.map} +1 -1
- package/dist/chunks/cabinet-graph.36b6c2f4.js +2 -0
- package/dist/chunks/cabinet-graph.36b6c2f4.js.map +1 -0
- package/dist/chunks/cabinet-node.1912eed1.js +3 -0
- package/dist/chunks/{cabinet-node.bad8b93f.js.map → cabinet-node.1912eed1.js.map} +1 -1
- package/dist/chunks/cabinet-thumbnail.c5035211.js +3 -0
- package/dist/chunks/{cabinet-thumbnail.33d08f9c.js.map → cabinet-thumbnail.c5035211.js.map} +1 -1
- package/dist/chunks/complex-search.03ec304a.js +2 -0
- package/dist/chunks/complex-search.03ec304a.js.map +1 -0
- package/dist/chunks/dropdown-menu.e91db9d9.js +3 -0
- package/dist/chunks/{dropdown-menu.def63513.js.map → dropdown-menu.e91db9d9.js.map} +1 -1
- package/dist/chunks/gauge-chart.b1479a20.js +2 -0
- package/dist/chunks/gauge-chart.b1479a20.js.map +1 -0
- package/dist/chunks/gear-background.beb13aa3.js +2 -0
- package/dist/chunks/gear-background.beb13aa3.js.map +1 -0
- package/dist/chunks/graph-layout-grid.cbeb684e.js +2 -0
- package/dist/chunks/graph-layout-grid.cbeb684e.js.map +1 -0
- package/dist/chunks/graph-node.8b2281d9.js +2 -0
- package/dist/chunks/graph-node.8b2281d9.js.map +1 -0
- package/dist/chunks/graph-text.2c83169a.js +2 -0
- package/dist/chunks/graph-text.2c83169a.js.map +1 -0
- package/dist/chunks/grid-background.fff1cb85.js +2 -0
- package/dist/chunks/grid-background.fff1cb85.js.map +1 -0
- package/dist/chunks/loading-panel.235559c2.js +2 -0
- package/dist/chunks/{loading-panel.77c4428a.js.map → loading-panel.235559c2.js.map} +1 -1
- package/dist/chunks/main.290321e7.js +2 -0
- package/dist/chunks/{main.73ecee17.js.map → main.290321e7.js.map} +1 -1
- package/dist/chunks/modern-style-component-title.d0ce0aca.js +2 -0
- package/dist/chunks/modern-style-component-title.d0ce0aca.js.map +1 -0
- package/dist/chunks/modern-style-page-title.937bdf28.js +2 -0
- package/dist/chunks/modern-style-page-title.937bdf28.js.map +1 -0
- package/dist/chunks/modern-style-treemap.5473a85d.js +3 -0
- package/dist/chunks/{modern-style-treemap.67186c49.js.map → modern-style-treemap.5473a85d.js.map} +1 -1
- package/dist/chunks/particle-animation.15ca8501.js +2 -0
- package/dist/chunks/particle-animation.15ca8501.js.map +1 -0
- package/dist/chunks/radar-chart.bd05eee2.js +2 -0
- package/dist/chunks/radar-chart.bd05eee2.js.map +1 -0
- package/dist/chunks/tabs-drawer.9359109f.js +3 -0
- package/dist/chunks/{tabs-drawer.712a1e6e.js.map → tabs-drawer.9359109f.js.map} +1 -1
- package/dist/chunks/tabs-page-title.f7045fe6.js +3 -0
- package/dist/chunks/tabs-page-title.f7045fe6.js.LICENSE.txt +5 -0
- package/dist/chunks/tabs-page-title.f7045fe6.js.map +1 -0
- package/dist/chunks/title-text.c17c00d3.js +2 -0
- package/dist/chunks/title-text.c17c00d3.js.map +1 -0
- package/dist/chunks/top-title-bar.0cacfc75.js +2 -0
- package/dist/chunks/top-title-bar.0cacfc75.js.map +1 -0
- package/dist/index.864b177a.js +2 -0
- package/dist/index.864b177a.js.map +1 -0
- package/dist/manifest.json +89 -13
- package/dist/types.json +187 -47
- package/dist-types/bootstrap.d.ts +3 -0
- package/dist-types/brick-notification/index.d.ts +26 -0
- package/dist-types/brick-notification/index.spec.d.ts +1 -0
- package/dist-types/tabs-page-title/index.d.ts +37 -0
- package/dist-types/tabs-page-title/index.spec.d.ts +1 -0
- package/dist-types/title-text/index.d.ts +8 -22
- package/dist-types/top-title-bar/index.d.ts +26 -0
- package/dist-types/top-title-bar/index.spec.d.ts +1 -0
- package/docs/brick-notification.md +23 -0
- package/docs/tabs-page-title.md +98 -0
- package/docs/top-title-bar.md +29 -0
- package/package.json +3 -3
- package/dist/chunks/1646.d0a1030e.js +0 -2
- package/dist/chunks/1646.d0a1030e.js.map +0 -1
- package/dist/chunks/2916.a50c63cb.js.map +0 -1
- package/dist/chunks/3494.0610767d.js +0 -2
- package/dist/chunks/4131.aab247a9.js +0 -2
- package/dist/chunks/4131.aab247a9.js.map +0 -1
- package/dist/chunks/4717.ace78c3e.js +0 -2
- package/dist/chunks/4717.ace78c3e.js.map +0 -1
- package/dist/chunks/4770.d23b88f6.js +0 -2
- package/dist/chunks/4770.d23b88f6.js.map +0 -1
- package/dist/chunks/5202.3225e09f.js +0 -2
- package/dist/chunks/7822.de12dc71.js +0 -2
- package/dist/chunks/7890.885a981b.js +0 -2
- package/dist/chunks/7890.885a981b.js.map +0 -1
- package/dist/chunks/9549.78bc7312.js +0 -2
- package/dist/chunks/9549.78bc7312.js.map +0 -1
- package/dist/chunks/app-wall-card-item.a3492828.js +0 -3
- package/dist/chunks/app-wall-relation-line.9feb3b3f.js +0 -3
- package/dist/chunks/app-wall.aa916383.js +0 -2
- package/dist/chunks/battery-chart.c7b33cfd.js +0 -2
- package/dist/chunks/battery-chart.c7b33cfd.js.map +0 -1
- package/dist/chunks/cabinet-app-layer.e21662e2.js +0 -3
- package/dist/chunks/cabinet-button.8d0c43bb.js +0 -2
- package/dist/chunks/cabinet-button.8d0c43bb.js.map +0 -1
- package/dist/chunks/cabinet-container.7d8f63ed.js +0 -3
- package/dist/chunks/cabinet-graph.094c8bf0.js +0 -2
- package/dist/chunks/cabinet-graph.094c8bf0.js.map +0 -1
- package/dist/chunks/cabinet-node.bad8b93f.js +0 -3
- package/dist/chunks/cabinet-thumbnail.33d08f9c.js +0 -3
- package/dist/chunks/complex-search.0cc7e2a7.js +0 -2
- package/dist/chunks/complex-search.0cc7e2a7.js.map +0 -1
- package/dist/chunks/dropdown-menu.def63513.js +0 -3
- package/dist/chunks/gauge-chart.ebf65ada.js +0 -2
- package/dist/chunks/gauge-chart.ebf65ada.js.map +0 -1
- package/dist/chunks/gear-background.c727f136.js +0 -2
- package/dist/chunks/gear-background.c727f136.js.map +0 -1
- package/dist/chunks/graph-layout-grid.01486b61.js +0 -2
- package/dist/chunks/graph-layout-grid.01486b61.js.map +0 -1
- package/dist/chunks/graph-node.7e008e6d.js +0 -2
- package/dist/chunks/graph-node.7e008e6d.js.map +0 -1
- package/dist/chunks/graph-text.39e92f45.js +0 -2
- package/dist/chunks/graph-text.39e92f45.js.map +0 -1
- package/dist/chunks/grid-background.c0611eb6.js +0 -2
- package/dist/chunks/grid-background.c0611eb6.js.map +0 -1
- package/dist/chunks/loading-panel.77c4428a.js +0 -2
- package/dist/chunks/main.73ecee17.js +0 -2
- package/dist/chunks/modern-style-component-title.7f261750.js +0 -2
- package/dist/chunks/modern-style-component-title.7f261750.js.map +0 -1
- package/dist/chunks/modern-style-page-title.e3cbe6a7.js +0 -2
- package/dist/chunks/modern-style-page-title.e3cbe6a7.js.map +0 -1
- package/dist/chunks/modern-style-treemap.67186c49.js +0 -3
- package/dist/chunks/particle-animation.01eed207.js +0 -2
- package/dist/chunks/particle-animation.01eed207.js.map +0 -1
- package/dist/chunks/radar-chart.6e054c16.js +0 -2
- package/dist/chunks/radar-chart.6e054c16.js.map +0 -1
- package/dist/chunks/tabs-drawer.712a1e6e.js +0 -3
- package/dist/chunks/title-text.26debb34.js +0 -2
- package/dist/chunks/title-text.26debb34.js.map +0 -1
- package/dist/index.c15c6055.js +0 -2
- package/dist/index.c15c6055.js.map +0 -1
- /package/dist/chunks/{app-wall-card-item.a3492828.js.LICENSE.txt → app-wall-card-item.d09f409d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-relation-line.9feb3b3f.js.LICENSE.txt → app-wall-relation-line.cf984b68.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-app-layer.e21662e2.js.LICENSE.txt → cabinet-app-layer.4518a41a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-container.7d8f63ed.js.LICENSE.txt → cabinet-container.a76fdd0e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.bad8b93f.js.LICENSE.txt → cabinet-node.1912eed1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.33d08f9c.js.LICENSE.txt → cabinet-thumbnail.c5035211.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{dropdown-menu.def63513.js.LICENSE.txt → dropdown-menu.e91db9d9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{modern-style-treemap.67186c49.js.LICENSE.txt → modern-style-treemap.5473a85d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-drawer.712a1e6e.js.LICENSE.txt → tabs-drawer.9359109f.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([[9549,4717],{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:()=>o});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 o(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}},2159:(t,e,r)=>{function n(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}r.d(e,{Z:()=>n})},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})},9549:(t,e,r)=>{r.r(e),r.d(e,{NextElement:()=>Z,createDecorators:()=>u,supportsAdoptingStyleSheets:()=>g});var n=r(2159),i=r(3028),o=Symbol("attributeHasBeenSet"),a=Symbol("stopAttributeChangedCallback"),s=["type"],l={attribute:!0,type:String,converter:{toAttribute:(t,e)=>e===Boolean?t?"":null:t,fromAttribute(t,e){switch(e){case Boolean:return null!==t&&"false"!==t;case Number:return null===t?null:Number(t)}return t}},reflect:!0,hasChanged:(t,e)=>e!==t&&(e==e||t==t)};function u(){var t=new Map,e=new Set,r=new Set,u=new Set;return{defineElement:function(n,o){return(a,s)=>{var{kind:l,name:f,addInitializer:v}=s;v((function(){var a,s,l,f,v,p=Object.getPrototypeOf(this);c(this,"observedAttributes",d(null!==(a=p.observedAttributes)&&void 0!==a?a:[],t.keys())),c(this,"__attributeReflections",new Map([...null!==(s=p.__attributeReflections)&&void 0!==s?s:[],...t])),c(this,"styleTexts",null==o?void 0:o.styleTexts),c(this,"shadowOptions",!1!==(null==o?void 0:o.shadowOptions)?(0,i.Z)({mode:"open"},null==o?void 0:o.shadowOptions):null),c(this,"__tagName",n),c(this,"_dev_only_definedProperties",d(null!==(l=p._dev_only_definedProperties)&&void 0!==l?l:[],e)),c(this,"_dev_only_definedMethods",d(null!==(f=p._dev_only_definedMethods)&&void 0!==f?f:[],r)),c(this,"_dev_only_definedEvents",d(null!==(v=p._dev_only_definedEvents)&&void 0!==v?v:[],u)),customElements.define(n,this)}))}},property:function(r){return function(n,s){var{get:u,set:c}=n,{kind:d,name:f,static:v,private:p}=s;e.add(f);var h=Object.assign({},l,r),b=function(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.replace(/[A-Z]/g,(t=>"-".concat(t.toLowerCase()))):void 0}(f,h);return void 0!==b&&t.set(b,(0,i.Z)((0,i.Z)({},h),{},{property:f})),{get(){return void 0!==b&&this[o](b)?h.converter.fromAttribute(this.getAttribute(b),h.type):u.call(this)},set(t){var e=u.call(this);if(c.call(this,t),h.hasChanged(t,e)){if(void 0!==b){var r=h.converter.toAttribute(t,h.type);this[a](!0),null==r?this.removeAttribute(b):this.setAttribute(b,r),this[a](!1)}this._requestRender()}},init(t){if(void 0!==b&&h.hasChanged(t,void 0)){var e=h.converter.toAttribute(t,h.type);null!=e&&requestAnimationFrame((()=>{this[o](b)||(this[a](!0),this.setAttribute(b,e),this[a](!1))}))}return t}}}},method:function(t){return function(e,n){var{kind:i,name:o,static:a,private:s,addInitializer:l}=n;null!=t&&t.bound&&l((function(){this[o]=this[o].bind(this)})),r.add(o)}},event:function(t){return function(e,r){var{get:o}=e,{kind:a,name:l,static:c,private:d}=r,{type:f}=t,v=(0,n.Z)(t,s);return u.add(f),{get(){return o.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(f,(0,i.Z)((0,i.Z)({},v),{},{detail:t})))})}}}}}}function c(t,e,r){Object.defineProperty(t,e,{get:()=>r,configurable:!0})}function d(t,e){var r=new Set(t);for(var n of e)r.add(n);return[...r]}new Set(["prefix"]);var f,v=r(3395),p=r(6666),h=r(687),b=r(381),y=new WeakMap,m=new WeakMap,w=new WeakMap,_=new WeakMap;class Z extends HTMLElement{constructor(){super(...arguments),(0,v.Z)(this,y,{writable:!0,value:!1}),(0,v.Z)(this,m,{writable:!0,value:!1}),(0,v.Z)(this,w,{writable:!0,value:!1}),(0,v.Z)(this,_,{writable:!0,value:new Set})}_markConnectedCallbackCalled(){(0,b.Z)(this,m,!0)}connectedCallback(){this._markConnectedCallbackCalled(),this._render()}[o](t){return(0,h.Z)(this,_).has(t)}[a](t){(0,b.Z)(this,w,t)}attributeChangedCallback(t,e,r){if((0,h.Z)(this,_).add(t),!(0,h.Z)(this,w)&&e!==r){var n=this.constructor.__attributeReflections.get(t),i=n.converter.fromAttribute(r,n.type);this[n.property]=i}}_requestRender(){this.isConnected&&(0,h.Z)(this,m)&&!(0,h.Z)(this,y)&&((0,b.Z)(this,y,!0),Promise.resolve().then((()=>{(0,b.Z)(this,y,!1),this._render()})))}}function g(){return void 0===f&&(f=!!(window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype)),f}(0,p.Z)(Z,"styleTexts",void 0),(0,p.Z)(Z,"shadowOptions",void 0),(0,p.Z)(Z,"__attributeReflections",void 0),(0,p.Z)(Z,"__tagName",void 0)}}]);
|
|
2
|
-
//# sourceMappingURL=9549.78bc7312.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/9549.78bc7312.js","mappings":"qIAAe,SAASA,EAA2BC,EAAKC,GACtD,GAAIA,EAAkBC,IAAIF,GACxB,MAAM,IAAIG,UAAU,iEAExB,C,gCCJe,SAASC,EAA6BC,EAAUC,EAAYC,GACzE,IAAKD,EAAWJ,IAAIG,GAClB,MAAM,IAAIF,UAAU,gBAAkBI,EAAS,kCAEjD,OAAOD,EAAWE,IAAIH,EACxB,C,8DCHe,SAASI,EAAsBJ,EAAUC,GAEtD,OCJa,SAAkCD,EAAUK,GACzD,OAAIA,EAAWF,IACNE,EAAWF,IAAIG,KAAKN,GAEtBK,EAAWE,KACpB,CDDS,CAAwBP,GADd,EAAAQ,EAAA,GAA4BR,EAAUC,EAAY,OAErE,C,gDEJe,SAASQ,EAA2Bd,EAAKM,EAAYM,IAClE,OAA0BZ,EAAKM,GAC/BA,EAAWS,IAAIf,EAAKY,EACtB,C,8CCFe,SAASI,EAAsBX,EAAUC,EAAYM,GAGlE,OCLa,SAAkCP,EAAU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B,EAAQpG,UAAUG,cAAc7D,EAAO8J,EAAQrG,MAC/D8B,KAAKuE,EAAQ1D,UAAYwC,CAC3B,CACF,CAMAnB,iBAGMlC,KAAKwE,cAAe,OAAsBxE,KAAM6D,MAA8B,OAAsB7D,KAAM2D,MAC5G,OAAsB3D,KAAM2D,GAAqB,GACjDc,QAAQC,UAAUC,MAAK,MACrB,OAAsB3E,KAAM2D,GAAqB,GACjD3D,KAAKqE,SAAS,IAGpB,ED9EK,SAASO,IAMd,YALiBrH,IAAbmG,IACFA,KAAcmB,OAAOC,YAErB,uBAAwBC,SAASjI,WAAa,YAAakI,cAAclI,YAEpE4G,CACT,ECyEA,OAAgBM,EAAa,kBAAc,IAC3C,OAAgBA,EAAa,qBAAiB,IAC9C,OAAgBA,EAAa,8BAA0B,IACvD,OAAgBA,EAAa,iBAAa,E","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/@next-core/element/dist/esm/internal/symbols.js","webpack:///../../node_modules/@next-core/element/dist/esm/createDecorators.js","webpack:///../../node_modules/@next-core/element/dist/esm/supportsAdoptingStyleSheets.js","webpack:///../../node_modules/@next-core/element/dist/esm/NextElement.js"],"sourcesContent":["export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","export var symbolOfAttributeHasBeenSet = Symbol(\"attributeHasBeenSet\");\nexport var symbolOfStopAttributeChangedCallback = Symbol(\"stopAttributeChangedCallback\");\n//# sourceMappingURL=symbols.js.map","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nvar _excluded = [\"type\"];\nimport { symbolOfAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nvar defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value ? \"\" : null;\n }\n return value;\n },\n fromAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value !== null && value !== \"false\";\n case Number:\n return value === null ? null : Number(value);\n }\n return value;\n }\n};\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nvar notEqual = (value, old) => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\nvar defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: true,\n hasChanged: notEqual\n};\n\n// Note: `prefix` is a native prop on Element, but it's only used in XML documents.\nvar allowedNativeProps = new Set([\"prefix\"]);\nexport function createDecorators() {\n var attributeReflections = new Map();\n var definedProperties = new Set();\n var definedMethods = new Set();\n var definedEvents = new Set();\n function defineElement(name, options) {\n return (value, _ref) => {\n var {\n kind,\n name: className,\n addInitializer\n } = _ref;\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && kind !== \"class\") {\n throw new Error(\"Invalid usage of `@defineElement()` on a \".concat(kind, \": \\\"\").concat(className, \"\\\"\"));\n }\n addInitializer(function () {\n var _superClass$observedA, _superClass$__attribu, _superClass$_dev_only, _superClass$_dev_only2, _superClass$_dev_only3;\n var superClass = Object.getPrototypeOf(this);\n var mergedAttributes = mergeIterables((_superClass$observedA = superClass.observedAttributes) !== null && _superClass$observedA !== void 0 ? _superClass$observedA : [], attributeReflections.keys());\n defineReadonlyProperty(this, \"observedAttributes\", mergedAttributes);\n var mergedAttributeReflections = new Map([...((_superClass$__attribu = superClass.__attributeReflections) !== null && _superClass$__attribu !== void 0 ? _superClass$__attribu : []), ...attributeReflections]);\n defineReadonlyProperty(this, \"__attributeReflections\", mergedAttributeReflections);\n defineReadonlyProperty(this, \"styleTexts\", options === null || options === void 0 ? void 0 : options.styleTexts);\n defineReadonlyProperty(this, \"shadowOptions\", (options === null || options === void 0 ? void 0 : options.shadowOptions) !== false ? _objectSpread({\n mode: \"open\"\n }, options === null || options === void 0 ? void 0 : options.shadowOptions) : null);\n defineReadonlyProperty(this, \"__tagName\", name);\n var mergedProperties = mergeIterables((_superClass$_dev_only = superClass._dev_only_definedProperties) !== null && _superClass$_dev_only !== void 0 ? _superClass$_dev_only : [], definedProperties);\n defineReadonlyProperty(this, \"_dev_only_definedProperties\", mergedProperties);\n var mergedMethods = mergeIterables((_superClass$_dev_only2 = superClass._dev_only_definedMethods) !== null && _superClass$_dev_only2 !== void 0 ? _superClass$_dev_only2 : [], definedMethods);\n defineReadonlyProperty(this, \"_dev_only_definedMethods\", mergedMethods);\n var mergedEvents = mergeIterables((_superClass$_dev_only3 = superClass._dev_only_definedEvents) !== null && _superClass$_dev_only3 !== void 0 ? _superClass$_dev_only3 : [], definedEvents);\n defineReadonlyProperty(this, \"_dev_only_definedEvents\", mergedEvents);\n customElements.define(name, this);\n });\n };\n }\n function property(options) {\n return function (_ref2, _ref3) {\n var {\n get,\n set\n } = _ref2;\n var {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref3;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(\"Invalid usage of `@property()` on a \".concat(kind, \": \\\"\").concat(String(name), \"\\\"\"));\n }\n if (typeof name !== \"string\") {\n throw new Error(\"Invalid usage of `@property()` on a \".concat(kind, \" of \").concat(typeof name));\n }\n if (isStatic) {\n throw new Error(\"Invalid usage of `@property()` on a static \".concat(kind, \": \\\"\").concat(name, \"\\\"\"));\n }\n if (isPrivate) {\n throw new Error(\"Invalid usage of `@property()` on a private \".concat(kind, \": \\\"\").concat(name, \"\\\"\"));\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n var message = \"\\\"\".concat(name, \"\\\" is a native HTMLElement property, and is deprecated to be used as a brick property.\");\n throw new Error(message);\n }\n }\n definedProperties.add(name);\n var _options = Object.assign({}, defaultPropertyDeclaration, options);\n var attrName = attributeNameForProperty(name, _options);\n if (attrName !== undefined) {\n attributeReflections.set(attrName, _objectSpread(_objectSpread({}, _options), {}, {\n property: name\n }));\n }\n return {\n get() {\n // If the attribute has been set (not by initialization), returns the\n // value converted by the attribute. Otherwise returns the prop value.\n // This works as a type conversion when reading a prop value.\n if (attrName !== undefined && this[symbolOfAttributeHasBeenSet](attrName)) {\n return _options.converter.fromAttribute(this.getAttribute(attrName), _options.type);\n }\n return get.call(this);\n },\n set(value) {\n var oldValue = get.call(this);\n set.call(this, value);\n if (_options.hasChanged(value, oldValue)) {\n if (attrName !== undefined) {\n var attrValue = _options.converter.toAttribute(value, _options.type);\n this[symbolOfStopAttributeChangedCallback](true);\n if (attrValue == null) {\n this.removeAttribute(attrName);\n } else {\n this.setAttribute(attrName, attrValue);\n }\n this[symbolOfStopAttributeChangedCallback](false);\n }\n this._requestRender();\n }\n },\n init(initialValue) {\n if (attrName !== undefined && _options.hasChanged(initialValue, undefined)) {\n var attrValue = _options.converter.toAttribute(initialValue, _options.type);\n if (attrValue != null) {\n // No attributes should be created during constructing custom elements.\n // This is true even if the work is done inside a constructor-initiated microtask.\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance\n requestAnimationFrame(() => {\n if (!this[symbolOfAttributeHasBeenSet](attrName)) {\n this[symbolOfStopAttributeChangedCallback](true);\n this.setAttribute(attrName, attrValue);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n });\n }\n }\n return initialValue;\n }\n };\n };\n }\n function method(options) {\n return function (value, _ref4) {\n var {\n kind,\n name,\n static: isStatic,\n private: isPrivate,\n addInitializer\n } = _ref4;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"method\") {\n throw new Error(\"Invalid usage of `@method()` on a \".concat(kind, \": \\\"\").concat(String(name), \"\\\"\"));\n }\n if (typeof name !== \"string\") {\n throw new Error(\"Invalid usage of `@method()` on a \".concat(kind, \" of \").concat(typeof name));\n }\n if (isStatic) {\n throw new Error(\"Invalid usage of `@method()` on a static \".concat(kind, \": \\\"\").concat(name, \"\\\"\"));\n }\n if (isPrivate) {\n throw new Error(\"Invalid usage of `@method()` on a private \".concat(kind, \": \\\"\").concat(name, \"\\\"\"));\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n var message = \"\\\"\".concat(name, \"\\\" is a native HTMLElement property, and is deprecated to be used as a brick method.\");\n throw new Error(message);\n }\n }\n if (options !== null && options !== void 0 && options.bound) {\n addInitializer(function () {\n this[name] = this[name].bind(this);\n });\n }\n definedMethods.add(name);\n };\n }\n function event(options) {\n return function (_ref5, _ref6) {\n var {\n get\n } = _ref5;\n var {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref6;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(\"Invalid usage of `@event()` on a \".concat(kind, \": \\\"\").concat(String(name), \"\\\"\"));\n }\n if (!isPrivate) {\n throw new Error(\"Invalid usage of `@event()` on a non-private \".concat(kind, \": \\\"\").concat(String(name), \"\\\"\"));\n }\n if (isStatic) {\n throw new Error(\"Invalid usage of `@event()` on a static \".concat(kind, \": \\\"\").concat(String(name), \"\\\"\"));\n }\n }\n var {\n type\n } = options,\n eventInit = _objectWithoutProperties(options, _excluded);\n definedEvents.add(type);\n return {\n get() {\n return get.call(this);\n },\n set() {\n throw new Error(\"Decorated events are readonly\");\n },\n init(initialValue) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && initialValue !== undefined) {\n throw new Error(\"Do not set an initial value for a decorated event: \\\"\".concat(String(name), \"\\\"\"));\n }\n return Object.freeze({\n emit: detail => this.dispatchEvent(new CustomEvent(type, _objectSpread(_objectSpread({}, eventInit), {}, {\n detail\n })))\n });\n }\n };\n };\n }\n return {\n defineElement,\n property,\n method,\n event\n };\n}\nfunction defineReadonlyProperty(target, propName, propValue) {\n Object.defineProperty(target, propName, {\n get() {\n return propValue;\n },\n configurable: true\n });\n}\nfunction mergeIterables(list1, list2) {\n var newList = new Set(list1);\n for (var item of list2) {\n newList.add(item);\n }\n return [...newList];\n}\nfunction attributeNameForProperty(name, options) {\n var attribute = options.attribute;\n return attribute === false ? undefined : typeof attribute === \"string\" ? attribute : typeof name === \"string\" ? name.replace(/[A-Z]/g, char => \"-\".concat(char.toLowerCase())) : undefined;\n}\n//# sourceMappingURL=createDecorators.js.map","var supports;\nexport function supportsAdoptingStyleSheets() {\n if (supports === undefined) {\n supports = !!(window.ShadowRoot &&\n // (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&\n \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype);\n }\n return supports;\n}\n//# sourceMappingURL=supportsAdoptingStyleSheets.js.map","import _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet\";\nimport { symbolOfAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nvar _hasRequestedRender = /*#__PURE__*/new WeakMap();\nvar _connectedCallbackCalled = /*#__PURE__*/new WeakMap();\nvar _attributeChangedCallbackStopped = /*#__PURE__*/new WeakMap();\nvar _attributesBeenSet = /*#__PURE__*/new WeakMap();\nexport class NextElement extends HTMLElement {\n constructor() {\n super(...arguments);\n _classPrivateFieldInitSpec(this, _hasRequestedRender, {\n writable: true,\n value: false\n });\n _classPrivateFieldInitSpec(this, _connectedCallbackCalled, {\n writable: true,\n value: false\n });\n _classPrivateFieldInitSpec(this, _attributeChangedCallbackStopped, {\n writable: true,\n value: false\n });\n _classPrivateFieldInitSpec(this, _attributesBeenSet, {\n writable: true,\n value: new Set()\n });\n }\n /**\n * When render a custom element as parsed DOM, it is already connected in the\n * first place. The attributes are set while isConnected is true, which will\n * trigger a render request, and then before the next micro-task, the\n * `connectedCallback` will be called, which will trigger an immediate render.\n * Thus we would see two calls of render. So we manually set a mark of whether\n * the `connectedCallback` is actually get called, to prevent a trigger of\n * render request during attributes initialization before `connectedCallback`.\n */\n _markConnectedCallbackCalled() {\n _classPrivateFieldSet(this, _connectedCallbackCalled, true);\n }\n connectedCallback() {\n this._markConnectedCallbackCalled();\n this._render();\n }\n [symbolOfAttributeHasBeenSet](name) {\n return _classPrivateFieldGet(this, _attributesBeenSet).has(name);\n }\n\n /** Whether to process attributeChangedCallback. */\n [symbolOfStopAttributeChangedCallback](value) {\n _classPrivateFieldSet(this, _attributeChangedCallbackStopped, value);\n }\n\n /** @internal */\n attributeChangedCallback(name, old, value) {\n _classPrivateFieldGet(this, _attributesBeenSet).add(name);\n if (!_classPrivateFieldGet(this, _attributeChangedCallbackStopped) && old !== value) {\n var attrRef = this.constructor.__attributeReflections.get(name);\n assertAttributeIsReflected(attrRef, name);\n var propValue = attrRef.converter.fromAttribute(value, attrRef.type);\n this[attrRef.property] = propValue;\n }\n }\n\n /**\n * Request a render in the next micro-task. This ensures multiple properties\n * or attributes will trigger a render once in a batch.\n */\n _requestRender() {\n // If the element is not connected,\n // let `connectedCallback()` do the job of calling _render.\n if (this.isConnected && _classPrivateFieldGet(this, _connectedCallbackCalled) && !_classPrivateFieldGet(this, _hasRequestedRender)) {\n _classPrivateFieldSet(this, _hasRequestedRender, true);\n Promise.resolve().then(() => {\n _classPrivateFieldSet(this, _hasRequestedRender, false);\n this._render();\n });\n }\n }\n}\n_defineProperty(NextElement, \"styleTexts\", void 0);\n_defineProperty(NextElement, \"shadowOptions\", void 0);\n_defineProperty(NextElement, \"__attributeReflections\", void 0);\n_defineProperty(NextElement, \"__tagName\", void 0);\nfunction assertAttributeIsReflected(attrRef, name) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && !attrRef) {\n throw new Error(\"Attribute [\".concat(name, \"] is not reflected\"));\n }\n}\n//# sourceMappingURL=NextElement.js.map"],"names":["_checkPrivateRedeclaration","obj","privateCollection","has","TypeError","_classExtractFieldDescriptor","receiver","privateMap","action","get","_classPrivateFieldGet","descriptor","call","value","classExtractFieldDescriptor","_classPrivateFieldInitSpec","set","_classPrivateFieldSet","writable","_defineProperty","key","Object","defineProperty","enumerable","configurable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","sourceSymbolKeys","prototype","propertyIsEnumerable","_toPropertyKey","arg","input","hint","prim","Symbol","toPrimitive","undefined","res","String","_typeof","iterator","constructor","symbolOfAttributeHasBeenSet","symbolOfStopAttributeChangedCallback","_excluded","defaultPropertyDeclaration","attribute","type","converter","toAttribute","Boolean","fromAttribute","Number","reflect","hasChanged","old","createDecorators","attributeReflections","Map","definedProperties","Set","definedMethods","definedEvents","defineElement","name","options","_ref","kind","className","addInitializer","_superClass$observedA","_superClass$__attribu","_superClass$_dev_only","_superClass$_dev_only2","_superClass$_dev_only3","superClass","getPrototypeOf","this","defineReadonlyProperty","mergeIterables","observedAttributes","__attributeReflections","styleTexts","shadowOptions","mode","_dev_only_definedProperties","_dev_only_definedMethods","_dev_only_definedEvents","customElements","define","property","_ref2","_ref3","static","isStatic","private","isPrivate","add","_options","assign","attrName","replace","char","concat","toLowerCase","attributeNameForProperty","getAttribute","oldValue","attrValue","removeAttribute","setAttribute","_requestRender","init","initialValue","requestAnimationFrame","method","_ref4","bound","bind","event","_ref5","_ref6","eventInit","Error","freeze","emit","detail","dispatchEvent","CustomEvent","propName","propValue","list1","list2","newList","item","supports","_hasRequestedRender","WeakMap","_connectedCallbackCalled","_attributeChangedCallbackStopped","_attributesBeenSet","NextElement","HTMLElement","super","_markConnectedCallbackCalled","connectedCallback","_render","attributeChangedCallback","attrRef","isConnected","Promise","resolve","then","supportsAdoptingStyleSheets","window","ShadowRoot","Document","CSSStyleSheet"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-wall-card-item.a3492828.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8923],{4012:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppWallCardItem:()=>b});var a,n,i,o,l,s,c,p,g,b,u=r(3395),d=r(381),h=r(687),f=r(5303),v=r(8657),w=r.n(v),x=r(18),m=r(196),y=r(1043),k=r(9214),Z=r(2779),z=r.n(Z),{defineElement:E,property:T}=(0,x.createDecorators)();n=E("data-view.app-wall-card-item",{styleTexts:[y.Z,k.Z]}),i=T(),l=T(),c=T();var S=new WeakMap,C=new WeakMap,j=new WeakMap;class _ extends m.ReactNextElement{constructor(){super(...arguments),(0,u.Z)(this,S,{writable:!0,value:(g(this),o(this,"normal"))}),(0,u.Z)(this,C,{writable:!0,value:s(this)}),(0,u.Z)(this,j,{writable:!0,value:p(this)})}get status(){return(0,h.Z)(this,S)}set status(e){(0,d.Z)(this,S,e)}get cardTitle(){return(0,h.Z)(this,C)}set cardTitle(e){(0,d.Z)(this,C,e)}get description(){return(0,h.Z)(this,j)}set description(e){(0,d.Z)(this,j,e)}render(){return w().createElement(A,{status:this.status,cardTitle:this.cardTitle,description:this.description})}}function A(e){var{status:t,cardTitle:r,description:a}=e;return w().createElement("div",{className:z()("card-item-container",t&&"status-".concat(t))},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"},a))))}({e:[o,s,p,g],c:[b,a]}=(0,f.Z)(_,[[i,1,"status"],[l,1,"cardTitle"],[c,1,"description"]],[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)}()},9214:(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%;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:(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}",""]);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]}},5303:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e,t,r){return(n=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,n,i,o,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var p,g,b={kind:c,name:l?"#"+r:r,static:o,private:l},u={v:!1};0!==i&&(b.addInitializer=e(n,u)),0===i?l?(p=a.get,g=a.set):(p=function(){return this[r]},g=function(e){this[r]=e}):2===i?p=function(){return a.value}:(1!==i&&3!==i||(p=function(){return a.get.call(this)}),1!==i&&4!==i||(g=function(e){a.set.call(this,e)})),b.access=p&&g?{get:p,set:g}:p?{get:p}:{set:g};try{return t(s,b)}finally{u.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,a.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function i(e,r,a,i,o,l,s,c){var p,g,b,u,d,h,f=a[0];if(s?p=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(p=Object.getOwnPropertyDescriptor(r,i)),1===o?b={get:p.get,set:p.set}:2===o?b=p.value:3===o?b=p.get:4===o&&(b=p.set),"function"==typeof f)void 0!==(u=t(f,i,p,c,o,l,s,b))&&(n(o,u),0===o?g=u:1===o?(g=u.init,d=u.get||b.get,h=u.set||b.set,b={get:d,set:h}):b=u);else for(var v=f.length-1;v>=0;v--){var w;void 0!==(u=t(f[v],i,p,c,o,l,s,b))&&(n(o,u),0===o?w=u:1===o?(w=u.init,d=u.get||b.get,h=u.set||b.set,b={get:d,set:h}):b=u,void 0!==w&&(void 0===g?g=w:"function"==typeof g?g=[g,w]:g.push(w)))}if(0===o||1===o){if(void 0===g)g=function(e,t){return t};else if("function"!=typeof g){var x=g;g=function(e,t){for(var r=t,a=0;a<x.length;a++)r=x[a].call(e,r);return r}}else{var m=g;g=function(e,t){return m.call(e,t)}}e.push(g)}0!==o&&(1===o?(p.get=b.get,p.set=b.set):2===o?p.value=b:3===o?p.get=b:4===o&&(p.set=b),s?1===o?(e.push((function(e,t){return b.get.call(e,t)})),e.push((function(e,t){return b.set.call(e,t)}))):2===o?e.push(b):e.push((function(e,t){return b.call(e,t)})):Object.defineProperty(r,i,p))}function o(e,t){for(var r,a,n=[],o=new Map,s=new Map,c=0;c<t.length;c++){var p=t[c];if(Array.isArray(p)){var g,b,u=p[1],d=p[2],h=p.length>3,f=u>=5;if(f?(g=e,0!=(u-=5)&&(b=a=a||[])):(g=e.prototype,0!==u&&(b=r=r||[])),0!==u&&!h){var v=f?s:o,w=v.get(d)||0;if(!0===w||3===w&&4!==u||4===w&&3!==u)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: "+d);!w&&u>2?v.set(d,u):v.set(d,!0)}i(n,g,p,d,u,f,h,b)}}return l(n,r),l(n,a),n}function l(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:o(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],i=t,o=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=r[l](i,{kind:"class",name:o,addInitializer:e(a,s)})}finally{s.v=!0}void 0!==c&&(n(10,c),i=c)}return[i,function(){for(var e=0;e<a.length;e++)a[e].call(i)}]}}(t,a)}}}}())(e,t,r)}},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=app-wall-card-item.a3492828.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-wall-relation-line.9feb3b3f.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8958],{37:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppWallRelationLine:()=>c});var a,n,i,o,l,c,s=r(3395),g=r(381),p=r(687),u=r(5303),b=r(8657),h=r.n(b),f=r(18),d=r(196),v=r(1043),y=r(8384),w=r(2779),x=r.n(w),{defineElement:m,property:k}=(0,f.createDecorators)();n=m("data-view.app-wall-relation-line",{styleTexts:[v.Z,y.Z]}),i=k();var z=new WeakMap;class Z extends d.ReactNextElement{constructor(){super(...arguments),(0,s.Z)(this,z,{writable:!0,value:(l(this),o(this,"blue"))})}get lightColor(){return(0,p.Z)(this,z)}set lightColor(e){(0,g.Z)(this,z,e)}render(){return h().createElement(S,{lightColor:this.lightColor})}}function S(e){var{lightColor:t}=e;return h().createElement("div",{className:x()("relation-line",t&&"light-color-".concat(t))})}({e:[o,l],c:[c,a]}=(0,u.Z)(Z,[[i,1,"lightColor"]],[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)}()},8384:(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:-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=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}",""]);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 c=this[l][0];null!=c&&(o[c]=!0)}for(var s=0;s<e.length;s++){var g=[].concat(e[s]);a&&o[g[0]]||(void 0!==i&&(void 0===g[5]||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=i),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=>{"use strict";e.exports=function(e){return e[1]}},5303:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e,t,r){return(n=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,n,i,o,l,c){var s;switch(i){case 1:s="accessor";break;case 2:s="method";break;case 3:s="getter";break;case 4:s="setter";break;default:s="field"}var g,p,u={kind:s,name:l?"#"+r:r,static:o,private:l},b={v:!1};0!==i&&(u.addInitializer=e(n,b)),0===i?l?(g=a.get,p=a.set):(g=function(){return this[r]},p=function(e){this[r]=e}):2===i?g=function(){return a.value}:(1!==i&&3!==i||(g=function(){return a.get.call(this)}),1!==i&&4!==i||(p=function(e){a.set.call(this,e)})),u.access=g&&p?{get:g,set:p}:g?{get:g}:{set:p};try{return t(c,u)}finally{b.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,a.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function i(e,r,a,i,o,l,c,s){var g,p,u,b,h,f,d=a[0];if(c?g=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(g=Object.getOwnPropertyDescriptor(r,i)),1===o?u={get:g.get,set:g.set}:2===o?u=g.value:3===o?u=g.get:4===o&&(u=g.set),"function"==typeof d)void 0!==(b=t(d,i,g,s,o,l,c,u))&&(n(o,b),0===o?p=b:1===o?(p=b.init,h=b.get||u.get,f=b.set||u.set,u={get:h,set:f}):u=b);else for(var v=d.length-1;v>=0;v--){var y;void 0!==(b=t(d[v],i,g,s,o,l,c,u))&&(n(o,b),0===o?y=b:1===o?(y=b.init,h=b.get||u.get,f=b.set||u.set,u={get:h,set:f}):u=b,void 0!==y&&(void 0===p?p=y:"function"==typeof p?p=[p,y]:p.push(y)))}if(0===o||1===o){if(void 0===p)p=function(e,t){return t};else if("function"!=typeof p){var w=p;p=function(e,t){for(var r=t,a=0;a<w.length;a++)r=w[a].call(e,r);return r}}else{var x=p;p=function(e,t){return x.call(e,t)}}e.push(p)}0!==o&&(1===o?(g.get=u.get,g.set=u.set):2===o?g.value=u:3===o?g.get=u:4===o&&(g.set=u),c?1===o?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===o?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(r,i,g))}function o(e,t){for(var r,a,n=[],o=new Map,c=new Map,s=0;s<t.length;s++){var g=t[s];if(Array.isArray(g)){var p,u,b=g[1],h=g[2],f=g.length>3,d=b>=5;if(d?(p=e,0!=(b-=5)&&(u=a=a||[])):(p=e.prototype,0!==b&&(u=r=r||[])),0!==b&&!f){var v=d?c:o,y=v.get(h)||0;if(!0===y||3===y&&4!==b||4===y&&3!==b)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: "+h);!y&&b>2?v.set(h,b):v.set(h,!0)}i(n,p,g,h,b,d,f,u)}}return l(n,r),l(n,a),n}function l(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:o(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],i=t,o=t.name,l=r.length-1;l>=0;l--){var c={v:!1};try{var s=r[l](i,{kind:"class",name:o,addInitializer:e(a,c)})}finally{c.v=!0}void 0!==s&&(n(10,s),i=s)}return[i,function(){for(var e=0;e<a.length;e++)a[e].call(i)}]}}(t,a)}}}}())(e,t,r)}},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=app-wall-relation-line.9feb3b3f.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[4915],{4012:(t,e,i)=>{i.r(e),i.d(e,{AppWallCardItem:()=>d});var r,a,n,s,c,l,h,o,u,d,p=i(3395),Z=i(381),b=i(687),w=i(5303),k=i(8657),v=i.n(k),m=i(18),f=i(196),g=i(1043),C=i(9214),y=i(2779),E=i.n(y),{defineElement:O,property:W}=(0,m.createDecorators)();a=O("data-view.app-wall-card-item",{styleTexts:[g.Z,C.Z]}),n=W(),c=W(),h=W();var D=new WeakMap,M=new WeakMap,j=new WeakMap;class x extends f.ReactNextElement{constructor(){super(...arguments),(0,p.Z)(this,D,{writable:!0,value:(u(this),s(this,"normal"))}),(0,p.Z)(this,M,{writable:!0,value:l(this)}),(0,p.Z)(this,j,{writable:!0,value:o(this)})}get status(){return(0,b.Z)(this,D)}set status(t){(0,Z.Z)(this,D,t)}get cardTitle(){return(0,b.Z)(this,M)}set cardTitle(t){(0,Z.Z)(this,M,t)}get description(){return(0,b.Z)(this,j)}set description(t){(0,Z.Z)(this,j,t)}render(){return v().createElement(N,{status:this.status,cardTitle:this.cardTitle,description:this.description})}}function N(t){var{status:e,cardTitle:i,description:r}=t;return v().createElement("div",{className:E()("card-item-container",e&&"status-".concat(e))},v().createElement("div",{className:"card-item"},v().createElement("div",{className:"card-item-text-container"},v().createElement("div",{className:"card-item-title"},i),v().createElement("div",{className:"card-item-description"},r))))}({e:[s,l,o,u],c:[d,r]}=(0,w.Z)(x,[[n,1,"status"],[c,1,"cardTitle"],[h,1,"description"]],[a])),r()},7684:(t,e,i)=>{i.r(e),i.d(e,{AppWall:()=>M});var r,a,n,s,c,l,h,o,u,d,p,Z,b,w,k,v,m,f,g,C,y,E,O,W,D,M,j=i(6666),x=i(3395),N=i(381),T=i(687),P=i(5303),S=i(8657),_=i.n(S),R=i(18),B=i(196),L=i(1043),A=i(2284),I=i(2685),{defineElement:q,property:z,event:F}=(0,R.createDecorators)();a=q("data-view.app-wall",{styleTexts:[L.Z,A.Z],dependencies:["data-view.app-wall-card-item","data-view.cabinet-thumbnail"]}),n=z({attribute:!1}),c=z({attribute:!1}),h=z({attribute:!1}),u=F({type:"system.card.button.click"}),b=F({type:"left.btn.click"}),m=F({type:"right.btn.click"}),y=F({type:"on.card.dbclick"});var G=new WeakMap,H=new WeakMap,J=new WeakMap,K=new WeakMap,Q=new WeakMap,U=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakMap,$=new WeakMap,tt=new WeakMap,et=new WeakMap;class it extends B.ReactNextElement{constructor(){super(...arguments),(0,x.Z)(this,et,{get:ot,set:ht}),(0,x.Z)(this,$,{get:lt,set:ct}),(0,x.Z)(this,X,{get:st,set:nt}),(0,x.Z)(this,Q,{get:at,set:rt}),(0,x.Z)(this,G,{writable:!0,value:(D(this),s(this))}),(0,x.Z)(this,H,{writable:!0,value:l(this)}),(0,x.Z)(this,J,{writable:!0,value:o(this)}),(0,x.Z)(this,K,{writable:!0,value:d(this)}),(0,x.Z)(this,U,{writable:!0,value:t=>{(0,T.Z)(this,Q).emit(t)}}),(0,x.Z)(this,V,{writable:!0,value:w(this)}),(0,x.Z)(this,Y,{writable:!0,value:f(this)}),(0,x.Z)(this,tt,{writable:!0,value:E(this)}),(0,j.Z)(this,"handleLeftClick",(t=>{(0,T.Z)(this,X).emit(t)})),(0,j.Z)(this,"handleRightClick",(t=>{(0,T.Z)(this,$).emit(t)})),(0,j.Z)(this,"handleCardDbClick",(t=>{(0,T.Z)(this,et).emit(t)}))}get dataSource(){return(0,T.Z)(this,G)}set dataSource(t){(0,N.Z)(this,G,t)}get relations(){return(0,T.Z)(this,H)}set relations(t){(0,N.Z)(this,H,t)}get useDblclick(){return(0,T.Z)(this,J)}set useDblclick(t){(0,N.Z)(this,J,t)}render(){return _().createElement(I.j,{dataSource:this.dataSource,relations:this.relations,onSystemCardButtonClick:(0,T.Z)(this,U),useDblclick:this.useDblclick,leftBtnOnClick:this.handleLeftClick,rightBtnOnClick:this.handleRightClick,handleCardDbClick:this.handleCardDbClick})}}function rt(t){Z(this,t)}function at(){return p(this)}function nt(t){v(this,t)}function st(){return k(this)}function ct(t){C(this,t)}function lt(){return g(this)}function ht(t){W(this,t)}function ot(){return O(this)}({e:[s,l,o,d,p,Z,w,k,v,f,g,C,E,O,W,D],c:[M,r]}=(0,P.Z)(it,[[n,1,"dataSource"],[c,1,"relations"],[h,1,"useDblclick"],[u,1,"systemCardButtonClickEvent",function(){return(0,T.Z)(this,K)},function(t){(0,N.Z)(this,K,t)}],[b,1,"onLeftClickEvent",function(){return(0,T.Z)(this,V)},function(t){(0,N.Z)(this,V,t)}],[m,1,"onRightClickEvent",function(){return(0,T.Z)(this,Y)},function(t){(0,N.Z)(this,Y,t)}],[y,1,"onDbClickEvent",function(){return(0,T.Z)(this,tt)},function(t){(0,N.Z)(this,tt,t)}]],[a])),r()},37:(t,e,i)=>{i.r(e),i.d(e,{AppWallRelationLine:()=>l});var r,a,n,s,c,l,h=i(3395),o=i(381),u=i(687),d=i(5303),p=i(8657),Z=i.n(p),b=i(18),w=i(196),k=i(1043),v=i(8384),m=i(2779),f=i.n(m),{defineElement:g,property:C}=(0,b.createDecorators)();a=g("data-view.app-wall-relation-line",{styleTexts:[k.Z,v.Z]}),n=C();var y=new WeakMap;class E extends w.ReactNextElement{constructor(){super(...arguments),(0,h.Z)(this,y,{writable:!0,value:(c(this),s(this,"blue"))})}get lightColor(){return(0,u.Z)(this,y)}set lightColor(t){(0,o.Z)(this,y,t)}render(){return Z().createElement(O,{lightColor:this.lightColor})}}function O(t){var{lightColor:e}=t;return Z().createElement("div",{className:f()("relation-line",e&&"light-color-".concat(e))})}({e:[s,c],c:[l,r]}=(0,d.Z)(E,[[n,1,"lightColor"]],[a])),r()},3028:(t,e,i)=>{i.d(e,{Z:()=>n});var r=i(6666);function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function n(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){(0,r.Z)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}}}]);
|
|
2
|
-
//# sourceMappingURL=app-wall.aa916383.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8314],{7586:(e,t,r)=>{r.r(t),r.d(t,{BatteryChart:()=>f,BatteryChartComponent:()=>_});var a,o,l,n,i,s,c,h,u,p,g,b,d,f,v=r(3395),y=r(381),w=r(687),x=r(5303),m=r(8657),Z=r.n(m),k=r(18),E=r(196),z=r(1043),C=r(5498),{defineElement:V,property:F}=(0,k.createDecorators)();o=V("data-view.battery-chart",{styleTexts:[z.Z,C.Z]}),l=F({type:Number}),i=F({type:Number}),c=F({type:Number}),u=F({attribute:!1}),g=F({type:Number});var W=new WeakMap,N=new WeakMap,M=new WeakMap,S=new WeakMap,H=new WeakMap;class T extends E.ReactNextElement{constructor(){super(...arguments),(0,v.Z)(this,W,{writable:!0,value:(d(this),n(this))}),(0,v.Z)(this,N,{writable:!0,value:s(this)}),(0,v.Z)(this,M,{writable:!0,value:h(this)}),(0,v.Z)(this,S,{writable:!0,value:p(this)}),(0,v.Z)(this,H,{writable:!0,value:b(this)})}get value(){return(0,w.Z)(this,W)}set value(e){(0,y.Z)(this,W,e)}get batteryWidth(){return(0,w.Z)(this,N)}set batteryWidth(e){(0,y.Z)(this,N,e)}get batteryHeight(){return(0,w.Z)(this,M)}set batteryHeight(e){(0,y.Z)(this,M,e)}get thresholdColors(){return(0,w.Z)(this,S)}set thresholdColors(e){(0,y.Z)(this,S,e)}get thresholdValue(){return(0,w.Z)(this,H)}set thresholdValue(e){(0,y.Z)(this,H,e)}render(){return Z().createElement(_,{value:this.value,thresholdValue:this.thresholdValue,thresholdColors:this.thresholdColors,batteryHeight:this.batteryHeight,batteryWidth:this.batteryWidth})}}function _(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:l=50,thresholdColors:n=t}=e,i=(0,m.useMemo)((()=>{var e,t=n[n.length-1],o=a/(t.endValue-n[0].startValue),i=n.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*l,isFullMarks:r===t.endValue-n[0].startValue}}),[r,a,n,l]);return Z().createElement("div",{className:"container"},Z().createElement("div",{className:"header",style:{width:Math.round(o/3),background:i.headerColor,boxShadow:"0 1px 2px 0 ".concat(i.headerColor)}}),Z().createElement("div",{className:"content",style:{width:o,height:a}},Z().createElement("div",{className:"threshold",style:{bottom:i.thresholdValueLineHeight-1}}),Z().createElement("div",{className:"valueWrapper",style:{height:i.height}},Z().createElement("div",{className:"value",style:{background:i.color,boxShadow:"0 8px 10px 0 ".concat(i.color),borderRadius:i.isFullMarks?"4px":"0 0 4px 4px"}})),Z().createElement("div",{className:"word",style:{top:a-i.thresholdValueLineHeight-12}},Z().createElement("slot",{name:"left"}))),Z().createElement("slot",null))}({e:[n,s,h,p,b,d],c:[f,a]}=(0,x.Z)(T,[[l,1,"value"],[i,1,"batteryWidth"],[c,1,"batteryHeight"],[u,1,"thresholdColors"],[g,1,"thresholdValue"]],[o])),a()},5498:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),o=r.n(a),l=r(2609),n=r.n(l)()(o());n.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=n.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(9601),o=r.n(a),l=r(2609),n=r.n(l)()(o());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}",""]);const i=n.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,l){"string"==typeof e&&(e=[[null,e,void 0]]);var n={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(n[s]=!0)}for(var c=0;c<e.length;c++){var h=[].concat(e[c]);a&&n[h[0]]||(void 0!==l&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=l),r&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=r):h[2]=r),o&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=o):h[4]="".concat(o)),t.push(h))}},t}},9601:e=>{e.exports=function(e){return e[1]}},5303:(e,t,r)=>{r.d(t,{Z:()=>o});var a=r(6522);function o(e,t,r){return(o=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,o,l,n,i,s){var c;switch(l){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var h,u,p={kind:c,name:i?"#"+r:r,static:n,private:i},g={v:!1};0!==l&&(p.addInitializer=e(o,g)),0===l?i?(h=a.get,u=a.set):(h=function(){return this[r]},u=function(e){this[r]=e}):2===l?h=function(){return a.value}:(1!==l&&3!==l||(h=function(){return a.get.call(this)}),1!==l&&4!==l||(u=function(e){a.set.call(this,e)})),p.access=h&&u?{get:h,set:u}:h?{get:h}:{set:u};try{return t(s,p)}finally{g.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function o(e,t){var o=(0,a.Z)(t);if(1===e){if("object"!==o||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==o)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function l(e,r,a,l,n,i,s,c){var h,u,p,g,b,d,f=a[0];if(s?h=0===n||1===n?{get:a[3],set:a[4]}:3===n?{get:a[3]}:4===n?{set:a[3]}:{value:a[3]}:0!==n&&(h=Object.getOwnPropertyDescriptor(r,l)),1===n?p={get:h.get,set:h.set}:2===n?p=h.value:3===n?p=h.get:4===n&&(p=h.set),"function"==typeof f)void 0!==(g=t(f,l,h,c,n,i,s,p))&&(o(n,g),0===n?u=g:1===n?(u=g.init,b=g.get||p.get,d=g.set||p.set,p={get:b,set:d}):p=g);else for(var v=f.length-1;v>=0;v--){var y;void 0!==(g=t(f[v],l,h,c,n,i,s,p))&&(o(n,g),0===n?y=g:1===n?(y=g.init,b=g.get||p.get,d=g.set||p.set,p={get:b,set:d}):p=g,void 0!==y&&(void 0===u?u=y:"function"==typeof u?u=[u,y]:u.push(y)))}if(0===n||1===n){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var w=u;u=function(e,t){for(var r=t,a=0;a<w.length;a++)r=w[a].call(e,r);return r}}else{var x=u;u=function(e,t){return x.call(e,t)}}e.push(u)}0!==n&&(1===n?(h.get=p.get,h.set=p.set):2===n?h.value=p:3===n?h.get=p:4===n&&(h.set=p),s?1===n?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===n?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(r,l,h))}function n(e,t){for(var r,a,o=[],n=new Map,s=new Map,c=0;c<t.length;c++){var h=t[c];if(Array.isArray(h)){var u,p,g=h[1],b=h[2],d=h.length>3,f=g>=5;if(f?(u=e,0!=(g-=5)&&(p=a=a||[])):(u=e.prototype,0!==g&&(p=r=r||[])),0!==g&&!d){var v=f?s:n,y=v.get(b)||0;if(!0===y||3===y&&4!==g||4===y&&3!==g)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: "+b);!y&&g>2?v.set(b,g):v.set(b,!0)}l(o,u,h,b,g,f,d,p)}}return i(o,r),i(o,a),o}function i(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:n(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],l=t,n=t.name,i=r.length-1;i>=0;i--){var s={v:!1};try{var c=r[i](l,{kind:"class",name:n,addInitializer:e(a,s)})}finally{s.v=!0}void 0!==c&&(o(10,c),l=c)}return[l,function(){for(var e=0;e<a.length;e++)a[e].call(l)}]}}(t,a)}}}}())(e,t,r)}},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.c7b33cfd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/battery-chart.c7b33cfd.js","mappings":"6NAKuDA,E,+FAAjD,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAAmBC,EAuBtDH,EAAc,0BAA0B,CACrCI,WAAY,CAACC,EAAAA,EAAmBC,EAAAA,KAClCC,EASGN,EAAS,CAAEO,KAAMC,SAASC,EAU1BT,EAAS,CAACO,KAAMC,SAAQE,EASxBV,EAAS,CAACO,KAAMC,SAAQG,EASxBX,EAAS,CAACY,WAAW,IAAOC,EAS5Bb,EAAS,CAACO,KAAMC,SAAQ,IAAAM,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAhD7B,MAAAK,UAG2BC,EAAAA,iBAAmDC,cAAA,SAAAC,YAE1EC,EAAAA,EAAAA,GAAA,KAAAV,EAAA,CAAAW,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,UAUAJ,EAAAA,EAAAA,GAAA,KAAAR,EAAA,CAAAS,UAAA,EAAAC,MAAAG,EAAA,SASAL,EAAAA,EAAAA,GAAA,KAAAP,EAAA,CAAAQ,UAAA,EAAAC,MAAAI,EAAA,SASAN,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,UAAA,EAAAC,MAAAK,EAAA,SASAP,EAAAA,EAAAA,GAAA,KAAAL,EAAA,CAAAM,UAAA,EAAAC,MAAAM,EAAA,QA9BSN,YAAK,OAAAO,EAAAA,EAAAA,GAAA,KAAAnB,EAAA,CAALY,UAAKQ,IAAAC,EAAAA,EAAAA,GAA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J,GACvCA,CACT,C,iBENe,SAASoJ,EAAQT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAI/I,cAAgByJ,QAAUV,IAAQU,OAAOlB,UAAY,gBAAkBQ,CAC1H,EAAGS,EAAQT,EACb,C","sources":["webpack:///./src/battery-chart/index.tsx","webpack:///./src/battery-chart/battery-chart.shadow.css","webpack:///./src/data-view-variables.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React, { useMemo} from 'react';\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./battery-chart.shadow.css\";\nconst { defineElement, property } = createDecorators();\ninterface ThresholdColor {\n color: React.CSSProperties[\"color\"];\n startValue: number;\n endValue: number;\n /** 电池头的颜色,默认取 color,color为渐变色,需要单独配置头部颜色,请使用该属性 */\n headerColor?: React.CSSProperties[\"color\"];\n}\ninterface BatteryChartChartProps {\n value: number;\n thresholdColors?: ThresholdColor[];\n thresholdValue?: number;\n batteryWidth?: number;\n batteryHeight?: number;\n}\n/**\n * @id data-view.battery-chart\n * @name data-view.battery-chart\n * @docKind brick\n * @description 大屏电池\n * @author astrid\n * @noInheritDoc\n */\n@defineElement(\"data-view.battery-chart\",{\n styleTexts: [variablesStyleText,styleText]\n})\nclass BatteryChart extends ReactNextElement implements BatteryChartChartProps {\n\n /**\n * @kind number\n * @default -\n * @required false\n * @description 值, 默认范围在[0-100], 但是范围还可通过 thresholdColors 来改变,将取第一个和最后一个值作为范围\n */\n @property({ type: Number })\n accessor value: number;\n\n\n /**\n * @kind number\n * @default 38\n * @required false\n * @description 电池的宽度\n */\n @property({type: Number})\n accessor batteryWidth: number;\n\n /**\n * @kind number\n * @default 58\n * @required false\n * @description 电池的高度\n */\n @property({type: Number})\n accessor batteryHeight: number;\n\n /**\n * @kind ThresholdColor[]\n * @default -\n * @required false\n * @description 阈值范围以及颜色的配置;\n */\n @property({attribute: false})\n accessor thresholdColors: ThresholdColor[];\n\n /**\n * @kind number\n * @default 50\n * @required false\n * @description 阈值刻度线\n */\n @property({type: Number})\n accessor thresholdValue: number;\n\n render(): React.ReactNode {\n return <BatteryChartComponent\n value={this.value}\n thresholdValue={this.thresholdValue}\n thresholdColors={this.thresholdColors}\n batteryHeight={this.batteryHeight}\n batteryWidth={this.batteryWidth}\n />;\n }\n\n}\n\nexport function BatteryChartComponent(props: BatteryChartChartProps) {\n const defaultThresholdColors = [{\n color: \"linear-gradient(180deg, #246EFF 0%, #26CE90 100%)\",\n startValue: 0,\n endValue: 50,\n headerColor: \"#246EFF\"\n }, {\n color: \"linear-gradient(180deg, #FF772A 0%, #FFC22A 100%)\",\n startValue: 50,\n endValue: 100,\n headerColor: \"#FF772A\"\n }\n ]\n const {value,\n batteryHeight=58,\n batteryWidth=38,\n thresholdValue=50,\n thresholdColors=defaultThresholdColors\n } = props;\n const calculationRatio = useMemo(()=>{\n const lastThreshold = thresholdColors[thresholdColors.length-1];\n const proportion = batteryHeight/(lastThreshold.endValue-thresholdColors[0].startValue); // 比例, lastThreshold.endValue-thresholdColors[0].startValue 值的区间\n const currentThreshold = thresholdColors.find(threshold => threshold.startValue<= value && threshold.endValue>=value);\n return {\n height: proportion * value, // 值的高度\n color: currentThreshold?.color, // 值的颜色\n headerColor: currentThreshold?.headerColor ?? currentThreshold?.color, //头部颜色\n thresholdValueLineHeight: proportion * thresholdValue ,// 阈值线的高度\n isFullMarks: value === (lastThreshold.endValue-thresholdColors[0].startValue)\n }\n\n },[value, batteryHeight,thresholdColors, thresholdValue]);\n return (\n <div className=\"container\">\n <div className=\"header\" style={{\n width: Math.round(batteryWidth/3),\n background: calculationRatio.headerColor,\n boxShadow: `0 1px 2px 0 ${calculationRatio.headerColor}`\n }} />\n <div className=\"content\" style={{\n width: batteryWidth,\n height: batteryHeight\n }}>\n <div className=\"threshold\" style={{\n bottom: calculationRatio.thresholdValueLineHeight - 1\n }} />\n <div className=\"valueWrapper\" style={{height: calculationRatio.height}}>\n <div className=\"value\" style={{\n background: calculationRatio.color,\n boxShadow: `0 8px 10px 0 ${calculationRatio.color}`,\n borderRadius: calculationRatio.isFullMarks ? \"4px\": \"0 0 4px 4px\"\n }} />\n </div>\n <div className=\"word\" style={{\n top: batteryHeight - calculationRatio.thresholdValueLineHeight - 12\n }}>\n <slot name=\"left\"/>\n </div>\n </div>\n <slot />\n </div>\n );\n}\n\nexport {BatteryChart}\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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%}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--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}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) 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: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_BatteryChart","defineElement","property","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","type","Number","_dec3","_dec4","_dec5","attribute","_dec6","_A","WeakMap","_B","_C","_D","_E","BatteryChart","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_value","_init_batteryWidth","_init_batteryHeight","_init_thresholdColors","_init_thresholdValue","_classPrivateFieldGet","v","_classPrivateFieldSet","batteryWidth","batteryHeight","thresholdColors","thresholdValue","render","React","BatteryChartComponent","this","props","defaultThresholdColors","color","startValue","endValue","headerColor","calculationRatio","useMemo","_currentThreshold$hea","lastThreshold","length","proportion","currentThreshold","find","threshold","height","thresholdValueLineHeight","isFullMarks","className","style","width","Math","round","background","boxShadow","concat","bottom","borderRadius","top","name","e","c","_initClass","_applyDecs2203R","___CSS_LOADER_EXPORT___","push","module","id","toString","exports","cssWithMappingToString","list","map","item","content","needLayer","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","desc","kind","isStatic","isPrivate","kindStr","get","set","ctx","addInitializer","call","access","fn","hint","TypeError","assertValidReturnValue","init","applyMemberDec","ret","base","decInfo","newValue","decs","Object","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","Array","isArray","prototype","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-app-layer.e21662e2.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[4292],{6280:(t,e,r)=>{"use strict";r.r(e),r.d(e,{CabinetAppLayer:()=>p});var a,n,i,o,l,s,c,p,u=r(3395),g=r(381),b=r(687),h=r(5303),f=r(8657),d=r.n(f),v=r(18),y=r(196),w=r(1043),x=r(2606),m=r(2779),z=r.n(m),{defineElement:k,property:Z}=(0,v.createDecorators)();n=k("data-view.cabinet-app-layer",{styleTexts:[w.Z,x.Z]}),i=Z(),l=Z();var E=new WeakMap,T=new WeakMap;class S extends y.ReactNextElement{constructor(){super(...arguments),(0,u.Z)(this,E,{writable:!0,value:(c(this),o(this))}),(0,u.Z)(this,T,{writable:!0,value:s(this)})}get appTitle(){return(0,b.Z)(this,E)}set appTitle(t){(0,g.Z)(this,E,t)}get status(){return(0,b.Z)(this,T)}set status(t){(0,g.Z)(this,T,t)}render(){return d().createElement(j,{appTitle:this.appTitle,status:this.status})}}function j(t){var{appTitle:e,status:r}=t;return d().createElement("div",{className:z()("container",r&&"status-".concat(r))},d().createElement("div",{className:"app-title",title:e},e),d().createElement("div",{className:"divider"}))}({e:[o,s,c],c:[p,a]}=(0,h.Z)(S,[[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}",""]);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 s=this[l][0];null!=s&&(o[s]=!0)}for(var c=0;c<t.length;c++){var p=[].concat(t[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)),e.push(p))}},e}},9601:t=>{"use strict";t.exports=function(t){return t[1]}},5303:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var a=r(6522);function n(t,e,r){return(n=function(){function t(t,e){return function(a){!function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")}(e),r(a,"An initializer"),t.push(a)}}function e(e,r,a,n,i,o,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var p,u,g={kind:c,name:l?"#"+r:r,static:o,private:l},b={v:!1};0!==i&&(g.addInitializer=t(n,b)),0===i?l?(p=a.get,u=a.set):(p=function(){return this[r]},u=function(t){this[r]=t}):2===i?p=function(){return a.value}:(1!==i&&3!==i||(p=function(){return a.get.call(this)}),1!==i&&4!==i||(u=function(t){a.set.call(this,t)})),g.access=p&&u?{get:p,set:u}:p?{get:p}:{set:u};try{return e(s,g)}finally{b.v=!0}}function r(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function n(t,e){var n=(0,a.Z)(e);if(1===t){if("object"!==n||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&r(e.get,"accessor.get"),void 0!==e.set&&r(e.set,"accessor.set"),void 0!==e.init&&r(e.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===t?"field":10===t?"class":"method")+" decorators must return a function or void 0")}function i(t,r,a,i,o,l,s,c){var p,u,g,b,h,f,d=a[0];if(s?p=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(p=Object.getOwnPropertyDescriptor(r,i)),1===o?g={get:p.get,set:p.set}:2===o?g=p.value:3===o?g=p.get:4===o&&(g=p.set),"function"==typeof d)void 0!==(b=e(d,i,p,c,o,l,s,g))&&(n(o,b),0===o?u=b:1===o?(u=b.init,h=b.get||g.get,f=b.set||g.set,g={get:h,set:f}):g=b);else for(var v=d.length-1;v>=0;v--){var y;void 0!==(b=e(d[v],i,p,c,o,l,s,g))&&(n(o,b),0===o?y=b:1===o?(y=b.init,h=b.get||g.get,f=b.set||g.set,g={get:h,set:f}):g=b,void 0!==y&&(void 0===u?u=y:"function"==typeof u?u=[u,y]:u.push(y)))}if(0===o||1===o){if(void 0===u)u=function(t,e){return e};else if("function"!=typeof u){var w=u;u=function(t,e){for(var r=e,a=0;a<w.length;a++)r=w[a].call(t,r);return r}}else{var x=u;u=function(t,e){return x.call(t,e)}}t.push(u)}0!==o&&(1===o?(p.get=g.get,p.set=g.set):2===o?p.value=g:3===o?p.get=g:4===o&&(p.set=g),s?1===o?(t.push((function(t,e){return g.get.call(t,e)})),t.push((function(t,e){return g.set.call(t,e)}))):2===o?t.push(g):t.push((function(t,e){return g.call(t,e)})):Object.defineProperty(r,i,p))}function o(t,e){for(var r,a,n=[],o=new Map,s=new Map,c=0;c<e.length;c++){var p=e[c];if(Array.isArray(p)){var u,g,b=p[1],h=p[2],f=p.length>3,d=b>=5;if(d?(u=t,0!=(b-=5)&&(g=a=a||[])):(u=t.prototype,0!==b&&(g=r=r||[])),0!==b&&!f){var v=d?s:o,y=v.get(h)||0;if(!0===y||3===y&&4!==b||4===y&&3!==b)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: "+h);!y&&b>2?v.set(h,b):v.set(h,!0)}i(n,u,p,h,b,d,f,g)}}return l(n,r),l(n,a),n}function l(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}return function(e,r,a){return{e:o(e,r),get c(){return function(e,r){if(r.length>0){for(var a=[],i=e,o=e.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=r[l](i,{kind:"class",name:o,addInitializer:t(a,s)})}finally{s.v=!0}void 0!==c&&(n(10,c),i=c)}return[i,function(){for(var t=0;t<a.length;t++)a[t].call(i)}]}}(e,a)}}}}())(t,e,r)}},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.e21662e2.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7974],{954:(e,t,r)=>{r.r(t),r.d(t,{CabinetButton:()=>c});var a,n,o,l,i,c,s=r(3395),g=r(381),p=r(687),b=r(5303),u=r(8657),h=r.n(u),f=r(196),d=r(18),v=r(7368),y=r(1043),{defineElement:x,property:w}=(0,d.createDecorators)();n=x("data-view.cabinet-button",{styleTexts:[y.Z,v.Z]}),o=w({attribute:!1});var m=new WeakMap;class z extends f.ReactNextElement{constructor(){super(...arguments),(0,s.Z)(this,m,{writable:!0,value:(i(this),l(this))})}get buttonStyle(){return(0,p.Z)(this,m)}set buttonStyle(e){(0,g.Z)(this,m,e)}render(){return h().createElement("span",{className:"closeBtn",style:this.buttonStyle})}}({e:[l,i],c:[c,a]}=(0,b.Z)(z,[[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}",""]);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]}},5303:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6522);function n(e,t,r){return(n=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,n,o,l,i,c){var s;switch(o){case 1:s="accessor";break;case 2:s="method";break;case 3:s="getter";break;case 4:s="setter";break;default:s="field"}var g,p,b={kind:s,name:i?"#"+r:r,static:l,private:i},u={v:!1};0!==o&&(b.addInitializer=e(n,u)),0===o?i?(g=a.get,p=a.set):(g=function(){return this[r]},p=function(e){this[r]=e}):2===o?g=function(){return a.value}:(1!==o&&3!==o||(g=function(){return a.get.call(this)}),1!==o&&4!==o||(p=function(e){a.set.call(this,e)})),b.access=g&&p?{get:g,set:p}:g?{get:g}:{set:p};try{return t(c,b)}finally{u.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,a.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,r,a,o,l,i,c,s){var g,p,b,u,h,f,d=a[0];if(c?g=0===l||1===l?{get:a[3],set:a[4]}:3===l?{get:a[3]}:4===l?{set:a[3]}:{value:a[3]}:0!==l&&(g=Object.getOwnPropertyDescriptor(r,o)),1===l?b={get:g.get,set:g.set}:2===l?b=g.value:3===l?b=g.get:4===l&&(b=g.set),"function"==typeof d)void 0!==(u=t(d,o,g,s,l,i,c,b))&&(n(l,u),0===l?p=u:1===l?(p=u.init,h=u.get||b.get,f=u.set||b.set,b={get:h,set:f}):b=u);else for(var v=d.length-1;v>=0;v--){var y;void 0!==(u=t(d[v],o,g,s,l,i,c,b))&&(n(l,u),0===l?y=u:1===l?(y=u.init,h=u.get||b.get,f=u.set||b.set,b={get:h,set:f}):b=u,void 0!==y&&(void 0===p?p=y:"function"==typeof p?p=[p,y]:p.push(y)))}if(0===l||1===l){if(void 0===p)p=function(e,t){return t};else if("function"!=typeof p){var x=p;p=function(e,t){for(var r=t,a=0;a<x.length;a++)r=x[a].call(e,r);return r}}else{var w=p;p=function(e,t){return w.call(e,t)}}e.push(p)}0!==l&&(1===l?(g.get=b.get,g.set=b.set):2===l?g.value=b:3===l?g.get=b:4===l&&(g.set=b),c?1===l?(e.push((function(e,t){return b.get.call(e,t)})),e.push((function(e,t){return b.set.call(e,t)}))):2===l?e.push(b):e.push((function(e,t){return b.call(e,t)})):Object.defineProperty(r,o,g))}function l(e,t){for(var r,a,n=[],l=new Map,c=new Map,s=0;s<t.length;s++){var g=t[s];if(Array.isArray(g)){var p,b,u=g[1],h=g[2],f=g.length>3,d=u>=5;if(d?(p=e,0!=(u-=5)&&(b=a=a||[])):(p=e.prototype,0!==u&&(b=r=r||[])),0!==u&&!f){var v=d?c:l,y=v.get(h)||0;if(!0===y||3===y&&4!==u||4===y&&3!==u)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: "+h);!y&&u>2?v.set(h,u):v.set(h,!0)}o(n,p,g,h,u,d,f,b)}}return i(n,r),i(n,a),n}function i(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:l(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],o=t,l=t.name,i=r.length-1;i>=0;i--){var c={v:!1};try{var s=r[i](o,{kind:"class",name:l,addInitializer:e(a,c)})}finally{c.v=!0}void 0!==s&&(n(10,s),o=s)}return[o,function(){for(var e=0;e<a.length;e++)a[e].call(o)}]}}(t,a)}}}}())(e,t,r)}},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.8d0c43bb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/cabinet-button.8d0c43bb.js","mappings":"iLAMqDA,E,+FAA/C,cAACC,EAAa,SAAEC,IAAYC,EAAAA,EAAAA,oBAAmBC,EAcpDH,EAAc,2BAA4B,CACvCI,WAAY,CAACC,EAAAA,EAAmBC,EAAAA,KAClCC,EAQGN,EAAS,CAACO,WAAW,IAAO,IAAAC,EAAA,IAAAC,QAVjC,MAAAC,UAG4BC,EAAAA,iBAA+CC,cAAA,SAAAC,YACvEC,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,SAOSC,kBAAW,OAAAC,EAAAA,EAAAA,GAAA,KAAAZ,EAAA,CAAX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AAkC+G,EAAUG,EAAYlH,GACrE,GAAIkH,EAAWrD,IACbqD,EAAWrD,IAAIG,KAAK+C,EAAU/G,OACzB,CACL,IAAKkH,EAAWnH,SACd,MAAM,IAAIqE,UAAU,4CAEtB8C,EAAWlH,MAAQA,CACrB,CACF,CDLE,CAAwB+G,GADP,EAAAI,EAAA,GAA4BJ,EAAUC,EAAY,OACrBhH,GACvCA,CACT,C,iBENe,SAASoH,EAAQT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAI/G,cAAgByH,QAAUV,IAAQU,OAAOlB,UAAY,gBAAkBQ,CAC1H,EAAGS,EAAQT,EACb,C","sources":["webpack:///./src/cabinet/cabinet-button/index.tsx","webpack:///./src/cabinet/cabinet-button/cabinet-button.shadow.css","webpack:///./src/data-view-variables.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React from \"react\";\nimport {ReactNextElement} from \"@next-core/react-element\";\nimport {createDecorators} from \"@next-core/element\";\nimport styleText from \"./cabinet-button.shadow.css\";\nimport variablesStyleText from \"../../data-view-variables.shadow.css\";\n\nconst {defineElement, property} = createDecorators();\n\nexport interface CabinetButtonProps {\n buttonStyle?: React.CSSProperties\n}\n\n/**\n * @id data-view.cabinet-button\n * @name data-view.cabinet-button\n * @docKind brick\n * @description 大屏按钮\n * @author astrid\n * @noInheritDoc\n */\n@defineElement(\"data-view.cabinet-button\", {\n styleTexts: [variablesStyleText,styleText],\n})\nclass CabinetButton extends ReactNextElement implements CabinetButtonProps {\n /**\n * @kind React.CSSProperties\n * @required false\n * @default -\n * @description 按钮的样式\n */\n @property({attribute: false})\n accessor buttonStyle: React.CSSProperties;\n\n render(): React.ReactNode {\n return <span className=\"closeBtn\" style={this.buttonStyle} />\n }\n}\n\nexport {CabinetButton}\n\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".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}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--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}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) 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: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_CabinetButton","defineElement","property","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","attribute","_A","WeakMap","CabinetButton","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_buttonStyle","buttonStyle","_classPrivateFieldGet","v","_classPrivateFieldSet","render","React","className","style","this","e","c","_initClass","_applyDecs2203R","___CSS_LOADER_EXPORT___","push","module","id","toString","exports","cssWithMappingToString","list","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","name","desc","kind","isStatic","isPrivate","kindStr","get","set","ctx","addInitializer","call","access","fn","hint","TypeError","assertValidReturnValue","type","init","applyMemberDec","ret","base","decInfo","newValue","decs","Object","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","Array","isArray","prototype","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see cabinet-container.7d8f63ed.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:()=>y,CabinetContainerComponent:()=>ee});var r,i,n,o,l,s,c,p,h,b,g,d,u,f,v,w,x,m,k,y,C=a(6666),Z=a(3395),W=a(381),z=a(687),M=a(5303),E=a(8657),T=a.n(E),D=a(196),N=a(18),S=a(1043),R=a(6573),_=a(2779),H=a.n(_),j=a(8143),{defineElement:A,property:O,event:P}=(0,N.createDecorators)(),L=(0,D.wrapBrick)("data-view.cabinet-node");i=A("data-view.cabinet-container",{styleTexts:[S.Z,R.Z]}),n=O({attribute:!1}),l=O({attribute:!1}),c=O(),h=O(),g=P({type:"container.click"}),v=P({type:"container.dbclick"});var B=new WeakMap,X=new WeakMap,q=new WeakMap,F=new WeakMap,G=new WeakMap,I=new WeakMap,J=new WeakMap,K=new WeakMap;class Q extends D.ReactNextElement{constructor(){super(...arguments),(0,Z.Z)(this,K,{get:$,set:Y}),(0,Z.Z)(this,I,{get:V,set:U}),(0,Z.Z)(this,B,{writable:!0,value:(k(this),o(this,"host"))}),(0,Z.Z)(this,X,{writable:!0,value:s(this,[])}),(0,Z.Z)(this,q,{writable:!0,value:p(this)}),(0,Z.Z)(this,F,{writable:!0,value:b(this)}),(0,Z.Z)(this,G,{writable:!0,value:d(this)}),(0,Z.Z)(this,J,{writable:!0,value:w(this)}),(0,C.Z)(this,"handleClick",(e=>{(0,z.Z)(this,I).emit(e)})),(0,C.Z)(this,"handleDbClick",(e=>{(0,z.Z)(this,K).emit(e)}))}get type(){return(0,z.Z)(this,B)}set type(e){(0,W.Z)(this,B,e)}get data(){return(0,z.Z)(this,X)}set data(e){(0,W.Z)(this,X,e)}get status(){return(0,z.Z)(this,q)}set status(e){(0,W.Z)(this,q,e)}get customTitle(){return(0,z.Z)(this,F)}set customTitle(e){(0,W.Z)(this,F,e)}render(){return T().createElement(ee,{type:this.type,data:this.data,status:this.status,customTitle:this.customTitle,handleClick:this.handleClick,handleDbClick:this.handleDbClick})}}function U(e){f(this,e)}function V(){return u(this)}function Y(e){m(this,e)}function $(){return x(this)}function ee(e){var{type:t,data:a,status:r,customTitle:i,handleClick:n,handleDbClick:o}=e,l=(0,E.useRef)(!1),s=(0,E.useRef)(),[c,{clientWidth:p,clientHeight:h}]=(0,j.y)(),b=(0,E.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?{col:c,row:h}:h>p?b(c,s,h,o):h<p?b(l,c,n,h):void 0}),[a.length]),g=(0,E.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 T().createElement("div",{className:H()("wrapper",{hostWrapper:"host"===t,k8sWrapper:"k8s"===t},r&&"wrapper-".concat(r)),ref:c,onClick:e=>d(e,void 0,"container"),onDoubleClick:e=>u(e,void 0,"container")},T().createElement("div",{className:H()("container",{hostContainer:"host"===t,k8sContainer:"k8s"===t},r&&"container-".concat(r))},T().createElement("div",{className:"content"},T().createElement("div",{className:"contentLayout"},a.map(((e,t)=>T().createElement("div",{key:t,className:"itemContent",style:{width:null==g?void 0:g.width}},T().createElement("div",{className:"item",style:{width:null==g?void 0:g.itemWidth},onClick:t=>d(t,e,"node"),onDoubleClick:t=>u(t,e,"node")},T().createElement(L,{type:e.type,nodeTitle:e.nodeTitle,status:e.status,isAlert:e.isAlert}))))))),i&&T().createElement("div",{className:"footer"},T().createElement("div",{className:"footerTitle"},i))))}({e:[o,s,p,b,d,u,f,w,x,m,k],c:[y,r]}=(0,M.Z)(Q,[[n,1,"type"],[l,1,"data"],[c,1,"status"],[h,1,"customTitle"],[g,1,"onHandleClick",function(){return(0,z.Z)(this,G)},function(e){(0,W.Z)(this,G,e)}],[v,1,"onHandleDbClick",function(){return(0,z.Z)(this,J)},function(e){(0,W.Z)(this,J,e)}]],[i])),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}",""]);const l=o.toString()}}]);
|
|
3
|
-
//# sourceMappingURL=cabinet-container.7d8f63ed.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[2779],{8810:(e,t,a)=>{a.r(t),a.d(t,{CabinetGraph:()=>C});var r,n,i,o,l,c,s,p,u,h,g,b,d,f,v,y,w,m,k,x,Z,C,z=a(3395),E=a(381),M=a(687),S=a(5303),B=a(8657),T=a.n(B),W=a(18),K=a(196),N=a(1043),A=a(4622),_=(0,K.wrapBrick)("data-view.cabinet-app-layer"),j=(0,K.wrapBrick)("data-view.cabinet-button"),D=(0,K.wrapBrick)("data-view.cabinet-container"),{defineElement:P,property:I,event:O}=(0,W.createDecorators)();n=P("data-view.cabinet-graph",{styleTexts:[N.Z,A.Z]}),i=I({attribute:!1}),l=I({attribute:!1}),s=I({type:Boolean}),u=O({type:"close.button.click"}),d=O({type:"cabinet.click"}),w=O({type:"cabinet.dbclick"});var G=new WeakMap,R=new WeakMap,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;class $ extends K.ReactNextElement{constructor(){super(...arguments),(0,z.Z)(this,Q,{get:ie,set:ne}),(0,z.Z)(this,J,{get:re,set:ae}),(0,z.Z)(this,F,{get:te,set:ee}),(0,z.Z)(this,G,{writable:!0,value:(Z(this),o(this))}),(0,z.Z)(this,R,{writable:!0,value:c(this)}),(0,z.Z)(this,X,{writable:!0,value:p(this)}),(0,z.Z)(this,q,{writable:!0,value:h(this)}),(0,z.Z)(this,H,{writable:!0,value:f(this)}),(0,z.Z)(this,L,{writable:!0,value:m(this)}),(0,z.Z)(this,U,{writable:!0,value:()=>{(0,M.Z)(this,F).emit()}}),(0,z.Z)(this,V,{writable:!0,value:(e,t,a)=>{this.activeKey=e,e&&(0,M.Z)(this,Q).emit({type:t,data:a})}}),(0,z.Z)(this,Y,{writable:!0,value:(e,t,a)=>{this.activeKey=e,e&&(0,M.Z)(this,J).emit({type:t,data:a})}})}get dataSource(){return(0,M.Z)(this,G)}set dataSource(e){(0,E.Z)(this,G,e)}get activeKey(){return(0,M.Z)(this,R)}set activeKey(e){(0,E.Z)(this,R,e)}get hiddenCloseBtn(){return(0,M.Z)(this,X)}set hiddenCloseBtn(e){(0,E.Z)(this,X,e)}render(){return T().createElement(oe,{activeKey:this.activeKey,dataSource:this.dataSource,onCloseBtnClick:(0,M.Z)(this,U),onActiveKeyChange:(0,M.Z)(this,Y),handleDbClick:(0,M.Z)(this,V),hiddenCloseBtn:this.hiddenCloseBtn})}}function ee(e){b(this,e)}function te(){return g(this)}function ae(e){y(this,e)}function re(){return v(this)}function ne(e){x(this,e)}function ie(){return k(this)}function oe(e){var{dataSource:t,activeKey:a,onCloseBtnClick:r,onActiveKeyChange:n,handleDbClick:i,hiddenCloseBtn:o}=e,l=(0,B.useMemo)((()=>[].concat(a)),[a]),c=(0,B.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 T().createElement("div",{className:"wrapper",onClick:()=>{n(null)}},T().createElement("div",{className:"container"},T().createElement(_,{className:"app-layer",appTitle:t.appName,onClick:e=>{e.stopPropagation(),n(t.key,"layer")},status:l.includes(t.key)?"active":void 0}),T().createElement("div",{className:"cluster-container",style:{gridTemplateColumns:"repeat(".concat(t.clusters.length,", 1fr)")}},t.clusters.map((e=>{var t=c.includes(e.key);return T().createElement(D,{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&&T().createElement(j,{className:"close-button",onClick:e=>{e.stopPropagation(),null==r||r()}})))}({e:[o,c,p,h,g,b,f,v,y,m,k,x,Z],c:[C,r]}=(0,S.Z)($,[[i,1,"dataSource"],[l,1,"activeKey"],[s,1,"hiddenCloseBtn"],[u,1,"closeBtnClickEvent",function(){return(0,M.Z)(this,q)},function(e){(0,E.Z)(this,q,e)}],[d,1,"cabinetClickEvent",function(){return(0,M.Z)(this,H)},function(e){(0,E.Z)(this,H,e)}],[w,1,"cabinetDbClickEvent",function(){return(0,M.Z)(this,L)},function(e){(0,E.Z)(this,L,e)}]],[n])),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}",""]);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]}},5303:(e,t,a)=>{a.d(t,{Z:()=>n});var r=a(6522);function n(e,t,a){return(n=function(){function e(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),a(r,"An initializer"),e.push(r)}}function t(t,a,r,n,i,o,l,c){var s;switch(i){case 1:s="accessor";break;case 2:s="method";break;case 3:s="getter";break;case 4:s="setter";break;default:s="field"}var p,u,h={kind:s,name:l?"#"+a:a,static:o,private:l},g={v:!1};0!==i&&(h.addInitializer=e(n,g)),0===i?l?(p=r.get,u=r.set):(p=function(){return this[a]},u=function(e){this[a]=e}):2===i?p=function(){return r.value}:(1!==i&&3!==i||(p=function(){return r.get.call(this)}),1!==i&&4!==i||(u=function(e){r.set.call(this,e)})),h.access=p&&u?{get:p,set:u}:p?{get:p}:{set:u};try{return t(c,h)}finally{g.v=!0}}function a(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,r.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&a(t.get,"accessor.get"),void 0!==t.set&&a(t.set,"accessor.set"),void 0!==t.init&&a(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function i(e,a,r,i,o,l,c,s){var p,u,h,g,b,d,f=r[0];if(c?p=0===o||1===o?{get:r[3],set:r[4]}:3===o?{get:r[3]}:4===o?{set:r[3]}:{value:r[3]}:0!==o&&(p=Object.getOwnPropertyDescriptor(a,i)),1===o?h={get:p.get,set:p.set}:2===o?h=p.value:3===o?h=p.get:4===o&&(h=p.set),"function"==typeof f)void 0!==(g=t(f,i,p,s,o,l,c,h))&&(n(o,g),0===o?u=g:1===o?(u=g.init,b=g.get||h.get,d=g.set||h.set,h={get:b,set:d}):h=g);else for(var v=f.length-1;v>=0;v--){var y;void 0!==(g=t(f[v],i,p,s,o,l,c,h))&&(n(o,g),0===o?y=g:1===o?(y=g.init,b=g.get||h.get,d=g.set||h.set,h={get:b,set:d}):h=g,void 0!==y&&(void 0===u?u=y:"function"==typeof u?u=[u,y]:u.push(y)))}if(0===o||1===o){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var w=u;u=function(e,t){for(var a=t,r=0;r<w.length;r++)a=w[r].call(e,a);return a}}else{var m=u;u=function(e,t){return m.call(e,t)}}e.push(u)}0!==o&&(1===o?(p.get=h.get,p.set=h.set):2===o?p.value=h:3===o?p.get=h:4===o&&(p.set=h),c?1===o?(e.push((function(e,t){return h.get.call(e,t)})),e.push((function(e,t){return h.set.call(e,t)}))):2===o?e.push(h):e.push((function(e,t){return h.call(e,t)})):Object.defineProperty(a,i,p))}function o(e,t){for(var a,r,n=[],o=new Map,c=new Map,s=0;s<t.length;s++){var p=t[s];if(Array.isArray(p)){var u,h,g=p[1],b=p[2],d=p.length>3,f=g>=5;if(f?(u=e,0!=(g-=5)&&(h=r=r||[])):(u=e.prototype,0!==g&&(h=a=a||[])),0!==g&&!d){var v=f?c:o,y=v.get(b)||0;if(!0===y||3===y&&4!==g||4===y&&3!==g)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: "+b);!y&&g>2?v.set(b,g):v.set(b,!0)}i(n,u,p,b,g,f,d,h)}}return l(n,a),l(n,r),n}function l(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}return function(t,a,r){return{e:o(t,a),get c(){return function(t,a){if(a.length>0){for(var r=[],i=t,o=t.name,l=a.length-1;l>=0;l--){var c={v:!1};try{var s=a[l](i,{kind:"class",name:o,addInitializer:e(r,c)})}finally{c.v=!0}void 0!==s&&(n(10,s),i=s)}return[i,function(){for(var e=0;e<r.length;e++)r[e].call(i)}]}}(t,r)}}}}())(e,t,a)}},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.094c8bf0.js.map
|