iobroker.vis-2-widgets-collection 1.1.6 → 1.1.7
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/README.md +4 -0
- package/io-package.json +14 -1
- package/package.json +1 -1
- package/widgets/vis-2-widgets-collection/asset-manifest.json +4 -4
- package/widgets/vis-2-widgets-collection/customWidgets.js +1 -1
- package/widgets/vis-2-widgets-collection/customWidgets.js.map +1 -1
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.8a534904.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.8a534904.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.3e0b8a2d.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.3e0b8a2d.chunk.js.map +0 -1
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.52dabada.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.52dabada.chunk.js.map +0 -1
package/README.md
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "vis-2-widgets-collection",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.7",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.1.7": {
|
|
7
|
+
"en": "Switch optimized",
|
|
8
|
+
"de": "Schalter optimiert",
|
|
9
|
+
"ru": "Оптимизированный коммутатор",
|
|
10
|
+
"pt": "Interruptor otimizado",
|
|
11
|
+
"nl": "Geoptimaliseerd schakelen",
|
|
12
|
+
"fr": "Commutateur optimisé",
|
|
13
|
+
"it": "Interruttore ottimizzato",
|
|
14
|
+
"es": "Interruptor optimizado",
|
|
15
|
+
"pl": "Zoptymalizowany przełącznik",
|
|
16
|
+
"uk": "Оптимізований вимикач",
|
|
17
|
+
"zh-cn": "切换优化"
|
|
18
|
+
},
|
|
6
19
|
"1.1.6": {
|
|
7
20
|
"en": "bugfixing",
|
|
8
21
|
"de": "fehlerbehebung",
|
package/package.json
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"static/js/node_modules_prop-types_index_js.7f922324.chunk.js": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js",
|
|
6
6
|
"static/js/node_modules_react_index_js.a5285de4.chunk.js": "./static/js/node_modules_react_index_js.a5285de4.chunk.js",
|
|
7
7
|
"static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.8f08cf70.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.8f08cf70.chunk.js",
|
|
8
|
-
"static/js/src_components_CollectionDivider_jsx.
|
|
8
|
+
"static/js/src_components_CollectionDivider_jsx.8a534904.chunk.js": "./static/js/src_components_CollectionDivider_jsx.8a534904.chunk.js",
|
|
9
9
|
"static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.67455a14.chunk.js": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.67455a14.chunk.js",
|
|
10
10
|
"static/js/src_translations_js.03973390.chunk.js": "./static/js/src_translations_js.03973390.chunk.js",
|
|
11
|
-
"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.
|
|
11
|
+
"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js",
|
|
12
12
|
"static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js",
|
|
13
13
|
"static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js",
|
|
14
14
|
"static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"node_modules_prop-types_index_js.7f922324.chunk.js.map": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js.map",
|
|
24
24
|
"node_modules_react_index_js.a5285de4.chunk.js.map": "./static/js/node_modules_react_index_js.a5285de4.chunk.js.map",
|
|
25
25
|
"src_StateCollectionWidget_StateCollectionWidget_jsx.8f08cf70.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.8f08cf70.chunk.js.map",
|
|
26
|
-
"src_components_CollectionDivider_jsx.
|
|
26
|
+
"src_components_CollectionDivider_jsx.8a534904.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.8a534904.chunk.js.map",
|
|
27
27
|
"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.67455a14.chunk.js.map": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.67455a14.chunk.js.map",
|
|
28
28
|
"src_translations_js.03973390.chunk.js.map": "./static/js/src_translations_js.03973390.chunk.js.map",
|
|
29
|
-
"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.
|
|
29
|
+
"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js.map",
|
|
30
30
|
"vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map",
|
|
31
31
|
"vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map",
|
|
32
32
|
"vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var vis2CollectionWidget;(()=>{"use strict";var e={6201:(e,_,s)=>{var t={"./StateCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_StateCollectionWidget_StateCollectionWidget_jsx")]).then((()=>()=>s(7963))),"./SliderCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx")]).then((()=>()=>s(8998))),"./ButtonGroupCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx")]).then((()=>()=>s(9379))),"./translations":()=>s.e("src_translations_js").then((()=>()=>s(5850))),"./SwitchCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_SwitchCollectionWidget_SwitchCollectionWidget_jsx")]).then((()=>()=>s(6018)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"d3b1496e","vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js":"4b9b1db2","vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4":"116e9fa1","vendors-node_modules_mui_material_Switch_Switch_js":"928081a1","vendors-node_modules_mui_material_index_js":"8ba01614","vendors-node_modules_mui_system_esm_index_js":"b8618c63","node_modules_prop-types_index_js":"7f922324","vendors-node_modules_react-dom_index_js":"190f0c6e",node_modules_react_index_js:"a5285de4","vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6":"b06a9988",src_components_CollectionDivider_jsx:"52dabada",src_StateCollectionWidget_StateCollectionWidget_jsx:"8f08cf70",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"67455a14",src_translations_js:"03973390",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"3e0b8a2d"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(6201);vis2CollectionWidget=t})();
|
|
1
|
+
var vis2CollectionWidget;(()=>{"use strict";var e={6201:(e,_,s)=>{var t={"./StateCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_StateCollectionWidget_StateCollectionWidget_jsx")]).then((()=>()=>s(7963))),"./SliderCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx")]).then((()=>()=>s(8998))),"./ButtonGroupCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx")]).then((()=>()=>s(9379))),"./translations":()=>s.e("src_translations_js").then((()=>()=>s(5850))),"./SwitchCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_SwitchCollectionWidget_SwitchCollectionWidget_jsx")]).then((()=>()=>s(6018)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"d3b1496e","vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js":"4b9b1db2","vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4":"116e9fa1","vendors-node_modules_mui_material_Switch_Switch_js":"928081a1","vendors-node_modules_mui_material_index_js":"8ba01614","vendors-node_modules_mui_system_esm_index_js":"b8618c63","node_modules_prop-types_index_js":"7f922324","vendors-node_modules_react-dom_index_js":"190f0c6e",node_modules_react_index_js:"a5285de4","vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6":"b06a9988",src_components_CollectionDivider_jsx:"8a534904",src_StateCollectionWidget_StateCollectionWidget_jsx:"8f08cf70",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"67455a14",src_translations_js:"03973390",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"dc0644fc"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(6201);vis2CollectionWidget=t})();
|
|
2
2
|
//# sourceMappingURL=customWidgets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC,EAAE,yDAA0DD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,wCAAyCD,EAAoBC,EAAE,yDAAyDC,MAAK,IAAM,IAASF,EAAoB,QAEt1B,2BAA4B,IACpBF,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC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UH,EAAK,GAGIvG,EAAI,EAC3B,GAAGwG,EAASG,MAAMlB,GAAgC,IAAxBI,EAAgBJ,KAAa,CACtD,IAAInI,KAAYmJ,EACZxK,EAAoBO,EAAEiK,EAAanJ,KACrCrB,EAAoByB,EAAEJ,GAAYmJ,EAAYnJ,IAGhD,GAAGoJ,EAAsBA,EAAQzK,EAClC,CAEA,IADGqK,GAA4BA,EAA2BC,GACrDvG,EAAIwG,EAASvG,OAAQD,IACzB1B,EAAUkI,EAASxG,GAChB/D,EAAoBO,EAAEqJ,EAAiBvH,IAAYuH,EAAgBvH,IACrEuH,EAAgBvH,GAAS,KAE1BuH,EAAgBvH,GAAW,CAC5B,EAIGsI,EAAqBC,KAAwD,kDAAIA,KAAwD,mDAAK,GAClJD,EAAmBzF,QAAQkF,EAAqB/E,KAAK,KAAM,IAC3DsF,EAAmBlH,KAAO2G,EAAqB/E,KAAK,KAAMsF,EAAmBlH,KAAK4B,KAAKsF,G,KCpFvF,IAAIE,EAAsB7K,EAAoB,M","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./StateCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_StateCollectionWidget_StateCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7963)))));\n\t},\n\t\"./SliderCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\")]).then(() => (() => ((__webpack_require__(8998)))));\n\t},\n\t\"./ButtonGroupCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(9379)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t},\n\t\"./SwitchCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(6018)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\":\"d3b1496e\",\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\":\"4b9b1db2\",\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\":\"116e9fa1\",\"vendors-node_modules_mui_material_Switch_Switch_js\":\"928081a1\",\"vendors-node_modules_mui_material_index_js\":\"8ba01614\",\"vendors-node_modules_mui_system_esm_index_js\":\"b8618c63\",\"node_modules_prop-types_index_js\":\"7f922324\",\"vendors-node_modules_react-dom_index_js\":\"190f0c6e\",\"node_modules_react_index_js\":\"a5285de4\",\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\":\"b06a9988\",\"src_components_CollectionDivider_jsx\":\"52dabada\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"8f08cf70\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"67455a14\",\"src_translations_js\":\"03973390\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"3e0b8a2d\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-widgets-react-collection:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-widgets-react-collection\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\")]).then(() => (() => (__webpack_require__(4999))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1200))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1200))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(7950))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(4999)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\": [\n\t\t8565,\n\t\t3479\n\t],\n\t\"src_components_CollectionDivider_jsx\": [\n\t\t7085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CollectionWidget\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(mui_system_mui_system\\-webpack_sharing_consume_default_react\\-d\\-dde2d4|prop\\-types_prop\\-types|react_react)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(6201);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC,EAAE,yDAA0DD,EAAoBC,EAAE,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AO,iBACb4I,EAAMrE,KAAO0E,EACbL,EAAMQ,QAAUF,EAChBH,EAAmB,GAAGH,EACvB,CACD,GAEwC,SAAWtH,EAASA,EAC9D,CAEF,EAcF,IAAI+H,EAAuB,CAACC,EAA4BC,KACvD,IAKIjJ,EAAUgB,EALVkI,EAAWD,EAAK,GAChBE,EAAcF,EAAK,GACnBG,EAAUH,EAAK,GAGIvG,EAAI,EAC3B,GAAGwG,EAASG,MAAMlB,GAAgC,IAAxBI,EAAgBJ,KAAa,CACtD,IAAInI,KAAYmJ,EACZxK,EAAoBO,EAAEiK,EAAanJ,KACrCrB,EAAoByB,EAAEJ,GAAYmJ,EAAYnJ,IAGhD,GAAGoJ,EAAsBA,EAAQzK,EAClC,CAEA,IADGqK,GAA4BA,EAA2BC,GACrDvG,EAAIwG,EAASvG,OAAQD,IACzB1B,EAAUkI,EAASxG,GAChB/D,EAAoBO,EAAEqJ,EAAiBvH,IAAYuH,EAAgBvH,IACrEuH,EAAgBvH,GAAS,KAE1BuH,EAAgBvH,GAAW,CAC5B,EAIGsI,EAAqBC,KAAwD,kDAAIA,KAAwD,mDAAK,GAClJD,EAAmBzF,QAAQkF,EAAqB/E,KAAK,KAAM,IAC3DsF,EAAmBlH,KAAO2G,EAAqB/E,KAAK,KAAMsF,EAAmBlH,KAAK4B,KAAKsF,G,KCpFvF,IAAIE,EAAsB7K,EAAoB,M","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./StateCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_StateCollectionWidget_StateCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7963)))));\n\t},\n\t\"./SliderCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\")]).then(() => (() => ((__webpack_require__(8998)))));\n\t},\n\t\"./ButtonGroupCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(9379)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t},\n\t\"./SwitchCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(6018)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\":\"d3b1496e\",\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\":\"4b9b1db2\",\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\":\"116e9fa1\",\"vendors-node_modules_mui_material_Switch_Switch_js\":\"928081a1\",\"vendors-node_modules_mui_material_index_js\":\"8ba01614\",\"vendors-node_modules_mui_system_esm_index_js\":\"b8618c63\",\"node_modules_prop-types_index_js\":\"7f922324\",\"vendors-node_modules_react-dom_index_js\":\"190f0c6e\",\"node_modules_react_index_js\":\"a5285de4\",\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\":\"b06a9988\",\"src_components_CollectionDivider_jsx\":\"8a534904\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"8f08cf70\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"67455a14\",\"src_translations_js\":\"03973390\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"dc0644fc\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-widgets-react-collection:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-widgets-react-collection\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\")]).then(() => (() => (__webpack_require__(4999))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1200))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1200))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(7950))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(4999)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\": [\n\t\t8565,\n\t\t3479\n\t],\n\t\"src_components_CollectionDivider_jsx\": [\n\t\t7085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CollectionWidget\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(mui_system_mui_system\\-webpack_sharing_consume_default_react\\-d\\-dde2d4|prop\\-types_prop\\-types|react_react)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(6201);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_SwitchCollectionWidget_SwitchCollectionWidget_jsx"],{6018:(t,e,i)=>{i.r(e),i.d(e,{default:()=>C});var o=i(8437),a=i(6211),n=i(7613),c=i(9966),l=i(900),r=i(7085),d=i(4657),s=i(6016),h=i(2152),u=i(6255),p=i(5001),g=i(9042),m=i(4535),v=i(8565);const b=(0,m.Ay)(g.A)((t=>{let{width:e,height:i,maxHeight:o,data:a,widget:n,theme:c}=t;return{width:"100%",height:"100%",padding:0,margin:0,"&.MuiSwitch-root":{overflow:"visible"},"& .MuiSwitch-switchBase":{margin:0,padding:0,top:"50%",left:"0%",transform:"translate(-50%, -50%) translateX(".concat(o>=(n.data.thumbSize||62)?n.data.thumbSize/2-4||27:o/2-4,"px)"),"& .MuiSwitch-input":{left:0,width:e},"&.Mui-checked":{top:"50%",left:"100%",transform:"translate(-50%, -50%) translateX(".concat(o>=(n.data.thumbSize||62)?-(n.data.thumbSize/2-4)||-35:-(o/2-4),"px)"),"& .MuiSwitch-input":{left:-e+(n.data.thumbSize||62),width:e},"& .MuiSwitch-thumb":{backgroundColor:n.data.thumbColorTrue||c.palette.primary.main},"& .MuiSwitch-thumb:before":{top:"calc(".concat(a.iconYOffset," * -1)"),left:a.iconXOffset,backgroundSize:"".concat(a.iconSizeOnly||"100","% ").concat(a.iconSizeOnly||"100","%"),backgroundImage:a.iconActive&&"url('".concat(a.iconActive,"')")},"& + .MuiSwitch-track":{backgroundColor:n.data.trackColor||("dark"===c.palette.mode?(0,v.alpha)("rgb(144, 202, 249)",.5):(0,v.alpha)("#1976d2",.5))}}},"& .MuiSwitch-thumb":{backgroundColor:n.data.thumbColorFalse,width:n.data.thumbSize||62,maxWidth:o,height:n.data.thumbSize||62,maxHeight:o,"&::before":{content:"''",position:"absolute",width:"100%",height:"100%",top:"calc(".concat(a.iconYOffset," * -1)"),left:a.iconXOffset,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"".concat(a.iconSizeOnly||"100","% ").concat(a.iconSizeOnly||"100","%"),backgroundImage:a.iconActive&&"url('".concat(a.iconActive,"')"),color:a.iconColorActive||a.iconColor,filter:a.iconColorActive||a.iconColor?"drop-shadow(0px 10000px 0)":null,transform:a.iconColorActive||a.iconColor?"translateY(-10000px)":null}},"& .MuiSwitch-track":{backgroundColor:n.data.trackColor&&(0,v.alpha)(n.data.trackColor,.5)||("dark"===c.palette.mode?(0,v.alpha)("#ffffff",.3):(0,v.alpha)("#000000",.38)),borderRadius:10}}}));var f=i(579);const w=function(){var t,e,i,a,n,c;const l=(0,o.useRef)(null),{setValue:g,oidObject:m,widget:v}=(0,o.useContext)(s.C),{data:w}=(0,h.A)("oid"),S=(0,p.A)("oid"),C=null===m||void 0===m?void 0:m._id,x=null===m||void 0===m||null===(t=m.common)||void 0===t?void 0:t.type,k=v.data.sampleInterval?v.data.sampleIntervalValue:v.data.delay,{debouncedValue:y,sampledValue:A}=(0,u.A)(S,k);return(0,o.useEffect)((()=>{v.data.sampleInterval||void 0===y||g(C,y)}),[y,C,g,v.data.sampleInterval]),(0,o.useEffect)((()=>{v.data.sampleInterval&&void 0!==A&&g(C,A)}),[A,C,g,v.data.sampleInterval]),(0,f.jsxs)(d.A,{data:w,oidValue:S,children:[(w.icon||w.iconActive)&&(0,f.jsx)("img",{alt:"",src:w.icon||w.iconActive,style:{position:"absolute",top:"calc(0px + ".concat(v.data.iconYOffset,")"),right:"calc(0px + ".concat(v.data.iconXOffset,")"),width:w.iconSize||w.iconSizeActive,height:w.iconSize||w.iconSizeActive,color:w.iconColor||w.iconColorActive,filter:w.iconColor||w.iconColorActive?"drop-shadow(0px 10000px 0)":null,transform:w.iconColor||w.iconColorActive?"translateY(-10000px)":null}}),(0,f.jsx)(r.Box,{sx:{position:"relative",width:"100%",height:v.data.trackSize&&"".concat(v.data.trackSize,"%")||"10%"},children:(0,f.jsx)(r.Box,{ref:l,sx:{width:"100%",height:"100%",px:"8px",display:"flex",justifyContent:"center",alignItems:"center"},children:void 0!==S&&void 0!==v.data.thumbSize&&(0,f.jsx)(b,{disabled:"boolean"!==x,width:null===(e=l.current)||void 0===e?void 0:e.clientWidth,height:null===(i=l.current)||void 0===i?void 0:i.clientHeight,maxHeight:null===(a=l.current)||void 0===a||null===(n=a.parentElement)||void 0===n||null===(c=n.parentElement)||void 0===c?void 0:c.clientHeight,data:w,widget:v,checked:S,onChange:()=>g(C,!S)})})})]})};class S extends a.A{static getWidgetInfo(){return{id:"tplSwitchCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"SwitchCollectionWidget",visWidgetLabel:"switch_collection_widget",visAttrs:[(0,c.A)(),{name:"switch",label:"group_switch",fields:[{name:"thumbSize",label:"thumb_size",type:"slider",min:0,max:500,default:62,step:1},{name:"thumbColorTrue",label:"thumb_color_true",type:"color"},{name:"thumbColorFalse",label:"thumb_color_false",type:"color"},{name:"trackSize",label:"track_size",type:"slider",min:0,max:100,default:10,step:1},{name:"trackColor",label:"track_color",type:"color"}]},(0,n.A)("values")],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-switch.png"}}getWidgetInfo(){return S.getWidgetInfo()}async propertiesUpdate(){const t=JSON.stringify(this.state.rxData);this.lastRxData!==t&&(this.lastRxData=t,await this.createStateObjectAsync("oid"))}async onRxDataChanged(t){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(t,e){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(t){super.renderWidgetBody(t);const e={id:t.id,refService:t.refService,style:t.style,widget:t.widget,setValue:this.setValue,setState:this.setState.bind(this),oidObject:this.state.oidObject,values:this.state.values,isSignalVisible:this.isSignalVisible.bind(this),getPropertyValue:this.getPropertyValue.bind(this),mode:this.props.context.themeType,socket:this.props.context.socket,theme:this.props.context.theme,wrappedContent:this.wrappedContent};return t.widget.data.noCard||t.widget.usedInWidget?this.wrappedContent=!1:this.wrappedContent=!0,(0,l.A)(this.wrapContent((0,f.jsx)(w,{})),e)}}const C=S}}]);
|
|
2
|
+
//# sourceMappingURL=src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.dc0644fc.chunk.js","mappings":"8XAIA,MAoHA,GApHyBA,EAAAA,EAAAA,IAAOC,EAAAA,EAAPD,EACxBE,IAAA,IAAC,MAAEC,EAAK,OAAEC,EAAM,UAAEC,EAAS,KAAEC,EAAI,OAAEC,EAAM,MAAEC,GAAON,EAAA,MAAM,CACvDC,MAAO,OACPC,OAAQ,OAERK,QAAS,EACTC,OAAQ,EAER,mBAAoB,CACnBC,SAAU,WAGX,0BAA2B,CAG1BD,OAAQ,EACRD,QAAS,EAETG,IAAK,MACLC,KAAM,KACNC,UAAU,oCAADC,OACRV,IAAcE,EAAOD,KAAKU,WAAa,IACnCT,EAAOD,KAAKU,UAAY,EAAI,GAAM,GACnCX,EAAY,EAAI,EAAC,OAGrB,qBAAsB,CACrBQ,KAAM,EACNV,MAAOA,GAGR,gBAAiB,CAGhBS,IAAK,MACLC,KAAM,OACNC,UAAU,oCAADC,OACRV,IAAcE,EAAOD,KAAKU,WAAa,MAClCT,EAAOD,KAAKU,UAAY,EAAI,KAAM,KAClCX,EAAY,EAAI,GAAE,OAGxB,qBAAsB,CACrBQ,MAAOV,GAASI,EAAOD,KAAKU,WAAa,IACzCb,MAAOA,GAGR,qBAAsB,CACrBc,gBACCV,EAAOD,KAAKY,gBAAkBV,EAAMW,QAAQC,QAAQC,MAGtD,4BAA6B,CAC5BT,IAAI,QAADG,OAAUT,EAAKgB,YAAW,UAC7BT,KAAMP,EAAKiB,YAEXC,eAAe,GAADT,OAAKT,EAAKmB,cAAgB,MAAK,MAAAV,OAAK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iB,GAGhBG,EAAAA,EAAAA,GACN1B,KAAK2B,aAAYzE,EAAAA,EAAAA,KAAC0E,EAAgB,KAClCf,EAEF,EAGD,S","sources":["SwitchCollectionWidget/MaterialUISwitch.jsx","SwitchCollectionWidget/SwitchCollection.jsx","SwitchCollectionWidget/SwitchCollectionWidget.jsx"],"sourcesContent":["import Switch from \"@mui/material/Switch\";\nimport { styled } from \"@mui/material/styles\";\nimport { alpha } from \"@mui/material/styles\";\n\nconst MaterialUISwitch = styled(Switch)(\n\t({ width, height, maxHeight, data, widget, theme }) => ({\n\t\twidth: \"100%\",\n\t\theight: \"100%\",\n\n\t\tpadding: 0,\n\t\tmargin: 0,\n\n\t\t\"&.MuiSwitch-root\": {\n\t\t\toverflow: \"visible\", // erforderlich\n\t\t},\n\n\t\t\"& .MuiSwitch-switchBase\": {\n\t\t\t// overflow: \"hidden\", // ???\n\n\t\t\tmargin: 0,\n\t\t\tpadding: 0,\n\n\t\t\ttop: \"50%\",\n\t\t\tleft: \"0%\",\n\t\t\ttransform: `translate(-50%, -50%) translateX(${\n\t\t\t\tmaxHeight >= (widget.data.thumbSize || 62)\n\t\t\t\t\t? (widget.data.thumbSize / 2 - 4) || 31 - 4\n\t\t\t\t\t: maxHeight / 2 - 4\n\t\t\t}px)`,\n\n\t\t\t\"& .MuiSwitch-input\": {\n\t\t\t\tleft: 0,\n\t\t\t\twidth: width,\n\t\t\t},\n\n\t\t\t\"&.Mui-checked\": {\n\t\t\t\t// overflow: \"hidden\",\n\n\t\t\t\ttop: \"50%\",\n\t\t\t\tleft: \"100%\",\n\t\t\t\ttransform: `translate(-50%, -50%) translateX(${\n\t\t\t\t\tmaxHeight >= (widget.data.thumbSize || 62)\n\t\t\t\t\t\t? -(widget.data.thumbSize / 2 - 4) || -31 - 4\n\t\t\t\t\t\t: -(maxHeight / 2 - 4)\n\t\t\t\t}px)`,\n\n\t\t\t\t\"& .MuiSwitch-input\": {\n\t\t\t\t\tleft: -width + (widget.data.thumbSize || 62),\n\t\t\t\t\twidth: width,\n\t\t\t\t},\n\n\t\t\t\t\"& .MuiSwitch-thumb\": {\n\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\twidget.data.thumbColorTrue || theme.palette.primary.main,\n\t\t\t\t},\n\n\t\t\t\t\"& .MuiSwitch-thumb:before\": {\n\t\t\t\t\ttop: `calc(${data.iconYOffset} * -1)`,\n\t\t\t\t\tleft: data.iconXOffset,\n\n\t\t\t\t\tbackgroundSize: `${data.iconSizeOnly || \"100\"}% ${data.iconSizeOnly || \"100\"}%`,\n\t\t\t\t\tbackgroundImage: data.iconActive && `url('${data.iconActive}')`,\n\t\t\t\t},\n\n\t\t\t\t\"& + .MuiSwitch-track\": {\n\t\t\t\t\tbackgroundColor:\n\t\t\t\t\t\twidget.data.trackColor ||\n\t\t\t\t\t\t(theme.palette.mode === \"dark\"\n\t\t\t\t\t\t\t? alpha(\"rgb(144, 202, 249)\", 0.5)\n\t\t\t\t\t\t\t: alpha(\"#1976d2\", 0.5)),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\n\t\t\"& .MuiSwitch-thumb\": {\n\t\t\tbackgroundColor: widget.data.thumbColorFalse,\n\n\t\t\twidth: widget.data.thumbSize || 62,\n\t\t\tmaxWidth: maxHeight,\n\t\t\theight: widget.data.thumbSize || 62,\n\t\t\tmaxHeight: maxHeight,\n\n\t\t\t\"&::before\": {\n\t\t\t\tcontent: \"''\",\n\t\t\t\tposition: \"absolute\",\n\n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100%\",\n\n\t\t\t\ttop: `calc(${data.iconYOffset} * -1)`,\n\t\t\t\tleft: data.iconXOffset,\n\n\t\t\t\tbackgroundRepeat: \"no-repeat\",\n\t\t\t\tbackgroundPosition: \"center\",\n\t\t\t\tbackgroundSize: `${data.iconSizeOnly || \"100\"}% ${data.iconSizeOnly || \"100\"}%`,\n\t\t\t\tbackgroundImage: data.iconActive && `url('${data.iconActive}')`,\n\n\t\t\t\tcolor: data.iconColorActive || data.iconColor,\n\t\t\t\tfilter:\n\t\t\t\t\tdata.iconColorActive || data.iconColor\n\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t: null,\n\t\t\t\ttransform:\n\t\t\t\t\tdata.iconColorActive || data.iconColor\n\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t: null,\n\t\t\t},\n\t\t},\n\n\t\t\"& .MuiSwitch-track\": {\n\t\t\tbackgroundColor:\n\t\t\t\t(widget.data.trackColor && alpha(widget.data.trackColor, 0.5)) ||\n\t\t\t\t(theme.palette.mode === \"dark\"\n\t\t\t\t\t? alpha(\"#ffffff\", 0.3)\n\t\t\t\t\t: alpha(\"#000000\", 0.38)),\n\t\t\tborderRadius: 20 / 2,\n\t\t},\n\t}),\n);\n\nexport default MaterialUISwitch;\n","import { Box } from \"@mui/material\";\nimport React, { useRef, useContext, useEffect } from \"react\";\nimport CollectionBase from \"../components/CollectionBase\";\nimport { CollectionContext } from \"../components/CollectionProvider\";\nimport useData from \"../hooks/useData\";\nimport useDebounce from \"../hooks/useDebounce\";\nimport useOidValue from \"../hooks/useOidValue\";\nimport MaterialUISwitch from \"./MaterialUISwitch\";\n\nfunction SwitchCollection() {\n\tconst ref = useRef(null);\n\tconst { setValue, oidObject, widget } = useContext(CollectionContext);\n\tconst { data } = useData(\"oid\");\n\tconst oidValue = useOidValue(\"oid\");\n\n\tconst oid = oidObject?._id;\n\tconst oidType = oidObject?.common?.type;\n\n\tconst delay = widget.data.sampleInterval\n\t\t? widget.data.sampleIntervalValue\n\t\t: widget.data.delay;\n\n\tconst {\n\t\tdebouncedValue: debouncedSliderValue,\n\t\tsampledValue: sampledSliderValue,\n\t} = useDebounce(oidValue, delay);\n\n\tuseEffect(() => {\n\t\tif (!widget.data.sampleInterval && debouncedSliderValue !== undefined) {\n\t\t\tsetValue(oid, debouncedSliderValue);\n\t\t}\n\t}, [debouncedSliderValue, oid, setValue, widget.data.sampleInterval]);\n\n\tuseEffect(() => {\n\t\tif (widget.data.sampleInterval && sampledSliderValue !== undefined) {\n\t\t\tsetValue(oid, sampledSliderValue);\n\t\t}\n\t}, [sampledSliderValue, oid, setValue, widget.data.sampleInterval]);\n\n\treturn (\n\t\t<CollectionBase data={data} oidValue={oidValue}>\n\t\t\t{(data.icon || data.iconActive) && (\n\t\t\t\t<img\n\t\t\t\t\talt=\"\"\n\t\t\t\t\tsrc={data.icon || data.iconActive}\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\t\ttop: `calc(0px + ${widget.data.iconYOffset})`,\n\t\t\t\t\t\tright: `calc(0px + ${widget.data.iconXOffset})`,\n\t\t\t\t\t\twidth: data.iconSize || data.iconSizeActive,\n\t\t\t\t\t\theight: data.iconSize || data.iconSizeActive,\n\t\t\t\t\t\tcolor: data.iconColor || data.iconColorActive,\n\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\tdata.iconColor || data.iconColorActive\n\t\t\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\ttransform:\n\t\t\t\t\t\t\tdata.iconColor || data.iconColorActive\n\t\t\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<Box\n\t\t\t\tsx={{\n\t\t\t\t\tposition: \"relative\",\n\n\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\theight:\n\t\t\t\t\t\t(widget.data.trackSize && `${widget.data.trackSize}%`) || \"10%\",\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<Box\n\t\t\t\t\tref={ref}\n\t\t\t\t\tsx={{\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\tpx: \"8px\",\n\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{oidValue !== undefined && widget.data.thumbSize !== undefined && (\n\t\t\t\t\t\t<MaterialUISwitch\n\t\t\t\t\t\t\tdisabled={oidType !== \"boolean\"}\n\t\t\t\t\t\t\twidth={ref.current?.clientWidth}\n\t\t\t\t\t\t\theight={ref.current?.clientHeight}\n\t\t\t\t\t\t\tmaxHeight={\n\t\t\t\t\t\t\t\tref.current?.parentElement?.parentElement?.clientHeight\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdata={data}\n\t\t\t\t\t\t\twidget={widget}\n\t\t\t\t\t\t\tchecked={oidValue}\n\t\t\t\t\t\t\tonChange={() => setValue(oid, !oidValue)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Box>\n\t\t\t</Box>\n\t\t</CollectionBase>\n\t);\n}\n\nexport default SwitchCollection;\n","import React from \"react\";\nimport Generic from \"../Generic\";\nimport CollectionGroupAttributes from \"../components/CollectionGroupAttributes\";\nimport CollectionGroupCommonAttributes from \"../components/CollectionGroupCommonAttributes\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\nimport SwitchCollection from \"./SwitchCollection\";\n\nclass SwitchCollectionWidget extends Generic {\n\tstatic getWidgetInfo() {\n\t\treturn {\n\t\t\tid: \"tplSwitchCollectionWidget\",\n\t\t\tvisSet: \"vis-2-widgets-collection\", // Widget set name in which this widget is located\n\t\t\tvisSetLabel: \"widgets_collection\", // Widget set translated label (should be defined only in one widget of a set)\n\t\t\tvisName: \"SwitchCollectionWidget\", // Name of widget\n\t\t\tvisWidgetLabel: \"switch_collection_widget\", // Label for widget\n\t\t\tvisAttrs: [\n\t\t\t\tCollectionGroupCommonAttributes(),\n\t\t\t\t{\n\t\t\t\t\tname: \"switch\",\n\t\t\t\t\tlabel: \"group_switch\",\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"thumbSize\",\n\t\t\t\t\t\t\tlabel: \"thumb_size\",\n\t\t\t\t\t\t\ttype: \"slider\",\n\t\t\t\t\t\t\tmin: 0,\n\t\t\t\t\t\t\tmax: 500,\n\t\t\t\t\t\t\tdefault: 62,\n\t\t\t\t\t\t\tstep: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"thumbColorTrue\",\n\t\t\t\t\t\t\tlabel: \"thumb_color_true\",\n\t\t\t\t\t\t\ttype: \"color\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"thumbColorFalse\",\n\t\t\t\t\t\t\tlabel: \"thumb_color_false\",\n\t\t\t\t\t\t\ttype: \"color\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"trackSize\",\n\t\t\t\t\t\t\tlabel: \"track_size\",\n\t\t\t\t\t\t\ttype: \"slider\",\n\t\t\t\t\t\t\tmin: 0,\n\t\t\t\t\t\t\tmax: 100,\n\t\t\t\t\t\t\tdefault: 10,\n\t\t\t\t\t\t\tstep: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"trackColor\",\n\t\t\t\t\t\t\tlabel: \"track_color\",\n\t\t\t\t\t\t\ttype: \"color\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\tCollectionGroupAttributes(\"values\"),\n\n\t\t\t\t// check here all possible types https://github.com/ioBroker/ioBroker.vis/blob/react/src/src/Attributes/Widget/SCHEMA.md\n\t\t\t],\n\t\t\tvisDefaultStyle: {\n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100px\",\n\t\t\t\tposition: \"relative\",\n\t\t\t},\n\t\t\tvisPrev:\n\t\t\t\t\"widgets/vis-2-widgets-collection/img/prev-collection-switch.png\",\n\t\t};\n\t}\n\n\t// Do not delete this method. It is used by vis to read the widget configuration.\n\t// eslint-disable-next-line class-methods-use-this\n\tgetWidgetInfo() {\n\t\treturn SwitchCollectionWidget.getWidgetInfo();\n\t}\n\n\t// eslint-disable-next-line class-methods-use-this\n\tasync propertiesUpdate() {\n\t\t// The widget has 3 important states\n\t\t// 1. this.state.values - contains all state values, that are used in widget (automatically collected from widget info).\n\t\t// So you can use `this.state.values[this.state.rxData.oid + '.val']` to get the value of state with id this.state.rxData.oid\n\t\t// 2. this.state.rxData - contains all widget data with replaced bindings. E.g. if this.state.data.type is `{system.adapter.admin.0.alive}`,\n\t\t// then this.state.rxData.type will have state value of `system.adapter.admin.0.alive`\n\t\t// 3. this.state.rxStyle - contains all widget styles with replaced bindings. E.g. if this.state.styles.width is `{javascript.0.width}px`,\n\t\t// then this.state.rxData.type will have state value of `javascript.0.width` + 'px\n\t\tconst actualRxData = JSON.stringify(this.state.rxData);\n\t\tif (this.lastRxData === actualRxData) {\n\t\t\treturn;\n\t\t}\n\t\tthis.lastRxData = actualRxData;\n\n\t\tawait this.createStateObjectAsync(\"oid\");\n\t}\n\n\t// This function is called every time when rxData is changed\n\tasync onRxDataChanged(payload) {\n\t\tawait this.propertiesUpdate();\n\t}\n\n\t// This function is called every time when rxStyle is changed\n\t// eslint-disable-next-line class-methods-use-this\n\tonRxStyleChanged() {}\n\n\t// This function is called every time when some Object State updated, but all changes lands into this.state.values too\n\t// eslint-disable-next-line class-methods-use-this, no-unused-vars\n\tonStateUpdated(id, state) {}\n\n\tasync componentDidMount() {\n\t\tsuper.componentDidMount();\n\t\t// Update data\n\t\tawait this.propertiesUpdate();\n\t}\n\n\trenderWidgetBody(props) {\n\t\tsuper.renderWidgetBody(props);\n\n\t\tconst collectionContext = {\n\t\t\tid: props.id,\n\t\t\trefService: props.refService,\n\t\t\tstyle: props.style,\n\t\t\twidget: props.widget,\n\t\t\tsetValue: this.setValue,\n\t\t\tsetState: this.setState.bind(this),\n\t\t\toidObject: this.state.oidObject,\n\t\t\tvalues: this.state.values,\n\t\t\tisSignalVisible: this.isSignalVisible.bind(this),\n\t\t\tgetPropertyValue: this.getPropertyValue.bind(this),\n\t\t\tmode: this.props.context.themeType,\n\t\t\tsocket: this.props.context.socket,\n\t\t\ttheme: this.props.context.theme,\n\n\t\t\twrappedContent: this.wrappedContent,\n\t\t};\n\n\t\tif (props.widget.data.noCard || props.widget.usedInWidget) {\n\t\t\tthis.wrappedContent = false;\n\t\t} else {\n\t\t\tthis.wrappedContent = true;\n\t\t}\n\n\t\treturn withCollectionProvider(\n\t\t\tthis.wrapContent(<SwitchCollection />),\n\t\t\tcollectionContext,\n\t\t);\n\t}\n}\n\nexport default SwitchCollectionWidget;\n"],"names":["styled","Switch","_ref","width","height","maxHeight","data","widget","theme","padding","margin","overflow","top","left","transform","concat","thumbSize","backgroundColor","thumbColorTrue","palette","primary","main","iconYOffset","iconXOffset","backgroundSize","iconSizeOnly","backgroundImage","iconActive","trackColor","mode","alpha","thumbColorFalse","maxWidth","content","position","backgroundRepeat","backgroundPosition","color","iconColorActive","iconColor","filter","borderRadius","_oidObject$common","_ref$current","_ref$current2","_ref$current3","_ref$current3$parentE","_ref$current3$parentE2","ref","useRef","setValue","oidObject","useContext","CollectionContext","useData","oidValue","useOidValue","oid","_id","oidType","common","type","delay","sampleInterval","sampleIntervalValue","debouncedValue","debouncedSliderValue","sampledValue","sampledSliderValue","useDebounce","useEffect","undefined","_jsxs","CollectionBase","children","icon","_jsx","alt","src","style","right","iconSize","iconSizeActive","Box","sx","trackSize","px","display","justifyContent","alignItems","MaterialUISwitch","disabled","current","clientWidth","clientHeight","parentElement","checked","onChange","SwitchCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visAttrs","CollectionGroupCommonAttributes","name","label","fields","min","max","default","step","CollectionGroupAttributes","visDefaultStyle","visPrev","propertiesUpdate","actualRxData","JSON","stringify","this","state","rxData","lastRxData","createStateObjectAsync","onRxDataChanged","payload","onRxStyleChanged","onStateUpdated","componentDidMount","super","renderWidgetBody","props","collectionContext","refService","setState","bind","values","isSignalVisible","getPropertyValue","context","themeType","socket","wrappedContent","noCard","usedInWidget","withCollectionProvider","wrapContent","SwitchCollection"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_components_CollectionDivider_jsx"],{6211:(e,t,a)=>{a.d(t,{A:()=>l});var o=a(7085),n=(a(8437),a(579));class i extends window.visRxWidget{constructor(){var e;super(...arguments),e=this,this.getPropertyValue=e=>this.state.values["".concat(this.state.rxData[e],".val")],this.setValue=function(t,a){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t&&e.props.context.socket.setState(t,a,o).catch((e=>console.error("Cannot set state ".concat(t,": ").concat(e))))}}static getI18nPrefix(){return"vis_2_widgets_collection_"}async getParentObject(e){const t=e.split(".");t.pop();const a=t.join(".");return this.props.context.socket.getObject(a)}static getObjectIcon(e,t,a){a=a||"../..";let o="";const n=e&&e.common;if(n){const i=n.icon;if(i)if(i.startsWith("data:image/"))o=i;else{if(!i.includes("."))return null;{let l;"instance"===e.type||"adapter"===e.type?o="".concat(a,"/adapter/").concat(n.name,"/").concat(i):t&&t.startsWith("system.adapter.")?(l=t.split(".",3),"/"===i[0]?l[2]+=i:l[2]+="/".concat(i),o="".concat(a,"/adapter/").concat(l[2])):(l=t.split(".",2),"/"===i[0]?l[0]+=i:l[0]+="/".concat(i),o="".concat(a,"/adapter/").concat(l[0]))}}}return o||null}async createStateObjectAsync(e){if(!this.state.rxData[e]||"nothing_selected"===this.state.rxData[e])return this.setState({["".concat(e,"Object")]:{common:{}}}),void(this.state.rxData.icon&&this.setState({["".concat(e,"Object")]:{common:{icon:this.state.rxData.icon}}}));let t=await this.props.context.socket.getObject(this.state.rxData.oid);if(t=t?{common:t.common,_id:t._id,type:t.type}:{common:{}},t.common=t.common||{},"number"===t.common.type&&(void 0===t.common.max&&(t.common.max=100),void 0===t.common.min&&(t.common.min=0)),t.common.states&&Array.isArray(t.common.states)){const e={};t.common.states.forEach((t=>{e[t]=t})),t.common.states=e}t.common.name&&"object"===typeof t.common.name&&(t.common.name=t.common.name[i.getLanguage()]||t.common.name.en),JSON.stringify(this.state["".concat(e,"Object")])!==JSON.stringify(t)&&this.setState({["".concat(e,"Object")]:t})}wrapContent(e){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.CssBaseline,{}),(0,n.jsx)(o.Box,{className:"GENERIC-0",sx:{position:"relative",overflow:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(o.Box,{className:"GENERIC-1",sx:{width:this.wrappedContent?"calc(100% - 8px)":"100%",height:this.wrappedContent?"calc(100% - 8px)":"100%"},children:e})})]})}}const l=i},8998:(e,t,a)=>{a.r(t),a.d(t,{default:()=>g});var o=a(8437),n=a(6211),i=a(4376),l=a(7613),r=a(9966),c=a(900),d=a(7051),s=a(7085),u=a(4657),m=a(6016),p=a(2152),x=a(6255),v=a(5001),b=a(579);const h=function(){var e;const{values:t,setState:a,setValue:n,oidObject:i,widget:l}=(0,o.useContext)(m.C),{data:r,states:c,minValue:h,maxValue:f,activeIndex:g}=(0,p.A)("oid"),y=(0,v.A)("oid"),S=null===i||void 0===i?void 0:i._id,k=null===i||void 0===i||null===(e=i.common)||void 0===e?void 0:e.type,C=l.data.sampleInterval?l.data.sampleIntervalValue:l.data.delay,{debouncedValue:A,sampledValue:_}=(0,x.A)(y,C),z=l.data.startIconColor||l.data.sliderColor||r.iconColor,j=l.data.endIconColor||l.data.sliderColor||r.iconColor;(0,o.useEffect)((()=>{l.data.sampleInterval||void 0===A||n(S,A)}),[A,S,n,l.data.sampleInterval]),(0,o.useEffect)((()=>{l.data.sampleInterval&&void 0!==_&&n(S,_)}),[_,S,n,l.data.sampleInterval]);const w=(0,o.useMemo)((()=>l.data.onlyStates||void 0===l.data.minValue?h:Number(l.data.minValue)),[l.data.onlyStates,l.data.minValue,h]),O=(0,o.useMemo)((()=>l.data.onlyStates||void 0===l.data.maxValue?f:Number(l.data.maxValue)),[l.data.onlyStates,l.data.maxValue,f]),I=(0,o.useMemo)((()=>{const e=JSON.parse(JSON.stringify(c));if(l.data.onlyStates)return e;const t=w,a=O;e&&!e.some((e=>e.value===t))&&e.push({value:t,label:"".concat(t).concat(l.data.unit)}),e&&!e.some((e=>e.value===a))&&e.push({value:a,label:"".concat(a).concat(l.data.unit)});const o=Number(l.data.markStep)||1;for(let n=t+o;n<a;n+=o)e.some((e=>e.value===n))||e.push({value:n,label:"".concat(n).concat(l.data.unit)});return e.sort(((e,t)=>e.value-t.value)),e}),[c,w,O,l.data.markStep,l.data.unit,l.data.onlyStates]);return(0,b.jsx)(u.A,{data:r,oidValue:y,children:(0,b.jsxs)(s.Box,{sx:{width:"100%",height:"100%",p:1,display:"flex",flexDirection:"horizontal"===l.data.sliderOrientation?"row":"column",justifyContent:"space-between",alignItems:"center"},children:[(r.iconActive||r.icon)&&(0,b.jsx)("img",{alt:"",src:r.iconActive||r.icon,style:{position:"absolute",top:"calc(0px + ".concat(r.iconYOffset,")"),right:"calc(0px + ".concat(r.iconXOffset,")"),width:r.iconSizeActive||r.iconSize,height:r.iconSizeActive||r.iconSize,color:r.iconColorActive||r.iconColor,filter:r.iconColorActive||r.iconColor?"drop-shadow(0px 10000px 0)":null,transform:r.iconColorActive||r.iconColor?"translateY(-10000px)":null}}),(0,b.jsx)(s.Box,{sx:{position:"relative",bottom:"horizontal"===l.data.sliderOrientation&&(l.data.onlyStates||l.data.marks)?"10px":"0px",right:"vertical"===l.data.sliderOrientation&&(l.data.onlyStates||l.data.marks)?"22px":"0px",p:1,display:"flex",justifyContent:"center",alignItems:"center"},children:("horizontal"===l.data.sliderOrientation&&(l.data.iconMin||l.data.iconSmallMin)||"vertical"===l.data.sliderOrientation&&(l.data.iconMax||l.data.iconSmallMax))&&(0,b.jsx)("img",{alt:"",src:"horizontal"===l.data.sliderOrientation?l.data.iconMin||l.data.iconSmallMin:l.data.iconMax||l.data.iconSmallMax,style:{width:"horizontal"===l.data.sliderOrientation?l.data.iconSizeStart||"24px":l.data.iconSizeEnd||"24px",height:"horizontal"===l.data.sliderOrientation?l.data.iconSizeStart||"24px":l.data.iconSizeEnd||"24px",color:"horizontal"===l.data.sliderOrientation?z:j,filter:"drop-shadow(0px 10000px 0)",transform:"translateY(-10000px)"}})}),(0,b.jsx)(s.Box,{sx:{p:1,display:"flex",flexGrow:1,justifyContent:"center",alignItems:"center"},children:(0,b.jsx)(s.Slider,{disabled:"number"!==k,valueLabelDisplay:l.data.valueLabelDisplay,orientation:l.data.sliderOrientation,sx:{"& .MuiSlider-thumb":{color:l.data.sliderColor},"& .MuiSlider-rail":{color:l.data.sliderColor||"primary.main"},"& .MuiSlider-track":{color:l.data.sliderColor||"primary.main"},"& .MuiSlider-mark":{color:l.data.sliderColor||"primary.main"},"& .MuiSlider-markActive":{bgcolor:l.data.sliderColor||"primary.main",filter:"brightness(2.5)"},"& .MuiSlider-valueLabel":{fontSize:r.valueSizeActive||l.data.markerTextSize&&"".concat(l.data.markerTextSize,"%")||r.valueSize||"1em",color:r.textColorActive||l.data.markerTextColor||r.textColor,bgcolor:"transparent",top:"horizontal"===l.data.sliderOrientation?l.data.labelPosition:null,right:"vertical"===l.data.sliderOrientation?l.data.labelPosition:null},"& .MuiSlider-markLabel":{fontSize:l.data.markerTextSize&&"".concat(l.data.markerTextSize,"%")||r.valueSize||"1em",color:l.data.markerTextColor||r.textColor,top:"horizontal"===l.data.sliderOrientation?l.data.markPosition:null,left:"vertical"===l.data.sliderOrientation?l.data.markPosition:null},"& .MuiSlider-markLabelActive":{["&[data-index='".concat(g-1,"']")]:{fontSize:r.valueSizeActive,color:r.textColorActive||l.data.markerTextColor||r.textColor}}},min:w,max:O,marks:l.data.onlyStates||l.data.marks&&I&&I.length?I:l.data.marks,step:!l.data.onlyStates&&l.data.step?Number(l.data.step):l.data.onlyStates&&I&&I.length?null:l.data.step?Number(l.data.step):1,size:l.data.sliderSize,value:y||0,onChange:(e,o)=>a({values:(0,d.A)((0,d.A)({},t),{},{["".concat(S,".val")]:o})})})}),(0,b.jsx)(s.Box,{sx:{position:"relative",bottom:"horizontal"===l.data.sliderOrientation&&(l.data.onlyStates||l.data.marks)?"10px":"0px",right:"vertical"===l.data.sliderOrientation&&(l.data.onlyStates||l.data.marks)?"22px":"0px",p:1,display:"flex",justifyContent:"center",alignItems:"center"},children:("horizontal"===l.data.sliderOrientation&&(l.data.iconMax||l.data.iconSmallMax)||"vertical"===l.data.sliderOrientation&&(l.data.iconMin||l.data.iconSmallMin))&&(0,b.jsx)("img",{alt:"",src:"horizontal"===l.data.sliderOrientation?l.data.iconMax||l.data.iconSmallMax:l.data.iconMin||l.data.iconSmallMin,style:{width:"horizontal"===l.data.sliderOrientation?l.data.iconSizeEnd||"24px":l.data.iconSizeStart||"24px",height:"horizontal"===l.data.sliderOrientation?l.data.iconSizeEnd||"24px":l.data.iconSizeStart||"24px",color:"horizontal"===l.data.sliderOrientation?j:z,filter:"drop-shadow(0px 10000px 0)",transform:"translateY(-10000px)"}})})]})})};class f extends n.A{static getWidgetInfo(){return{id:"tplSliderCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"SliderCollectionWidget",visWidgetLabel:"slider_collection_widget",visAttrs:[(0,r.A)(),{name:"slider",label:"group_slider",fields:[{name:"sliderSize",label:"slider_size",type:"select",options:[{value:"small",label:"slider_small"},{value:"medium",label:"slider_medium"}],default:"medium"},{name:"sliderOrientation",label:"slider_orientation",type:"select",options:[{value:"horizontal",label:"horizontal"},{value:"vertical",label:"vertical"}],default:"horizontal"},{name:"valueLabelDisplay",label:"value_label_display",type:"select",options:[{value:"on",label:"label_on"},{value:"off",label:"label_off"},{value:"auto",label:"label_auto"}],default:"off"},{name:"labelPosition",label:"label_position",type:"text",default:"-5px",hidden:"data.valueLabelDisplay === 'off'"},{name:"sliderColor",label:"slider_color",type:"color"},{type:"custom",component:()=>(0,b.jsx)(i.A,{dividerText:"values"})},{name:"minValue",type:"number",label:"min_value",default:0},{name:"maxValue",type:"number",label:"max_value",default:100},{name:"step",type:"number",label:"step",default:10},{type:"custom",component:()=>(0,b.jsx)(i.A,{}),hidden:"!data.values_count"},{name:"onlyStates",type:"checkbox",label:"only_states",default:!1,hidden:"!data.values_count"},{type:"custom",component:()=>(0,b.jsx)(i.A,{dividerText:"marks"})},{name:"marks",type:"checkbox",label:"marks",default:!1},{type:"custom",component:()=>(0,b.jsx)(i.A,{}),hidden:"!data.marks"},{name:"markPosition",label:"mark_position",type:"text",default:"30px",hidden:"!data.marks"},{name:"markStep",type:"number",label:"mark_step",default:10,hidden:"!data.marks"},{type:"custom",component:()=>(0,b.jsx)(i.A,{}),hidden:"!data.marks"},{name:"markerTextColor",label:"text_color",type:"color",hidden:"!data.marks"},{name:"markerTextSize",label:"marker_text_size",type:"slider",min:0,max:500,default:80,step:1,hidden:"!data.marks"},{type:"custom",component:()=>(0,b.jsx)(i.A,{dividerText:"icon"})},{name:"iconSmallMin",label:"icon_small_min",type:"icon64",hidden:"data.iconMin"},{name:"iconMin",label:"icon_min",type:"image",hidden:"data.iconSmallMin"},{name:"iconSizeStart",label:"icon_size",type:"text",default:"24px",hidden:"!data.iconMin && !data.iconSmallMin"},{name:"startIconColor",label:"icon_color",type:"color",hidden:"!data.iconMin && !data.iconSmallMin"},{type:"custom",component:()=>(0,b.jsx)(i.A,{dividerText:"icon"})},{name:"iconSmallMax",label:"icon_small_max",type:"icon64",hidden:"data.iconMax"},{name:"iconMax",label:"icon_max",type:"image",hidden:"data.iconSmallMax"},{name:"iconSizeEnd",label:"icon_size",type:"text",default:"24px",hidden:"!data.iconMax && !data.iconSmallMax"},{name:"endIconColor",label:"icon_color",type:"color",hidden:"!data.iconMax && !data.iconSmallMax"}]},(0,l.A)("values")],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-slider.png"}}getWidgetInfo(){return f.getWidgetInfo()}async propertiesUpdate(){const e=JSON.stringify(this.state.rxData);this.lastRxData!==e&&(this.lastRxData=e,await this.createStateObjectAsync("oid"))}async onRxDataChanged(e){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(e,t){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(e){super.renderWidgetBody(e);const t={id:e.id,refService:e.refService,style:e.style,widget:e.widget,setValue:this.setValue,setState:this.setState.bind(this),oidObject:this.state.oidObject,values:this.state.values,isSignalVisible:this.isSignalVisible.bind(this),getPropertyValue:this.getPropertyValue.bind(this),mode:this.props.context.themeType,socket:this.props.context.socket,theme:this.props.context.theme,wrappedContent:this.wrappedContent};return e.widget.data.noCard||e.widget.usedInWidget?this.wrappedContent=!1:this.wrappedContent=!0,(0,c.A)(this.wrapContent((0,b.jsx)(h,{})),t)}}const g=f},4657:(e,t,a)=>{a.d(t,{A:()=>u});var o=a(7051),n=a(7085),i=a(8437),l=a(6016);const r=()=>{const{isSignalVisible:e,refService:t,widget:a}=(0,i.useContext)(l.C);(0,i.useEffect)((()=>{var o;if(null===t||void 0===t||!t.current)return;const n=null===(o=t.current)||void 0===o?void 0:o.children,i=[];for(let t=0;t<a.data["signals-count"];t++)e(t)&&i.push(t);const l=[];Object.values(n).forEach((e=>{var t;"vis-signal-icon iconOwn"===(null===(t=e.children[0])||void 0===t?void 0:t.className)&&l.push(e.children[0])})),l.forEach(((e,t)=>{const o=a.data["signals-color-".concat(i[t])];e.style.color=o,e.style.filter=o?"drop-shadow(0px 10000px 0)":null,e.style.transform=o?"translateY(-10000px)":null}))}),[a,t,e])},c=e=>{var t,a;const{widget:o}=(0,i.useContext)(l.C),n=null===(t=e.current)||void 0===t?void 0:t.clientWidth,r=null===(a=e.current)||void 0===a?void 0:a.clientHeight,[c,d]=(0,i.useState)("100%"),[s,u]=(0,i.useState)("100%");return(0,i.useEffect)((()=>{n>0&&r>0&&(o.data.square||o.data.circle?n<r?(d("".concat(n-16*o.data.basePadding,"px")),u("".concat(n-16*o.data.basePadding,"px"))):(d("".concat(r-16*o.data.basePadding,"px")),u("".concat(r-16*o.data.basePadding,"px"))):(d("100%"),u("100%")))}),[r,n,o.data.square,o.data.circle,o.data.basePadding]),{width:c,height:s}};var d=a(5702),s=a(579);const u=e=>{let{children:t,data:a,oidValue:u,bgActive:m=!0}=e;const p=(0,i.useRef)(null),{wrappedContent:x,widget:v}=(0,i.useContext)(l.C),{backgroundStyles:b,borderStyles:h,textStyles:f,fontStyles:g}=(0,d.A)(v.style),{width:y,height:S}=c(p),k=(u||0===u||!1===u)&&"".concat(u).concat(v.data.unit);r();const C=a.footer||a.alias||a.value||k;return(0,s.jsxs)(n.Paper,{className:"BASE-PAPER-0",square:v.data.squaredCorner,variant:v.data.outlinedFrame?"outlined":"elevation",sx:(0,o.A)((0,o.A)({overflow:"hidden",width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center"},b),{},{border:x?h.border:null,borderWidth:x?h.borderWidth:null,borderStyle:x?h.borderStyle:null,borderRadius:x?h.borderRadius:null,borderColor:x?h.borderColor:a.frameBackgroundColorActive||a.frameBackgroundColor,background:x?v.data.frameBackgroundColorActive||a.frameBackgroundColorActive||a.frameBackgroundColor||v.data.frameBackgroundActive||a.frameBackgroundActive||a.frameBackground:"transparent"}),children:[!v.data.noHeader&&(0,s.jsx)(n.Box,{sx:{width:"100%",mt:v.data.basePadding/2,mb:-v.data.basePadding/2},children:(0,s.jsx)(n.Typography,{noWrap:!0,variant:"body2",sx:(0,o.A)((0,o.A)((0,o.A)({},g),f),{},{fontSize:a.headerSize,color:v.data.textColor||a.textColorActive||a.textColor}),children:a.header})}),(0,s.jsx)(n.Box,{className:"BASE-BOX-1",ref:p,sx:{overflow:"hidden",p:v.data.basePadding,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,s.jsx)(n.Paper,{className:"BASE-PAPER-1",elevation:v.data.baseElevation,square:!v.data.basePadding||v.data.squaredCorner,variant:v.data.outlined?"outlined":"elevation",sx:{overflow:"hidden",width:y,height:S,display:"flex",justifyContent:"center",alignItems:"center",borderColor:x?null:a.backgroundColorActive||a.backgroundColor,background:x?v.data.backgroundColorActive||m&&a.backgroundColorActive||a.backgroundColor||v.data.backgroundActive||m&&a.backgroundActive||a.background:"transparent",borderRadius:v.data.circle||v.data.ellipse?"50%":null},children:t})}),!v.data.noFooter&&(0,s.jsx)(n.Box,{sx:{width:"100%",mt:-v.data.basePadding/2,mb:v.data.basePadding/2},children:(0,s.jsx)(n.Typography,{noWrap:!0,variant:"body2",sx:(0,o.A)((0,o.A)((0,o.A)({},g),f),{},{fontSize:a.footerSize,color:v.data.textColor||a.textColorActive||a.textColor}),children:C})})]})}},4376:(e,t,a)=>{a.d(t,{A:()=>l});var o=a(7085),n=(a(8437),a(8998)),i=a(579);const l=function(e){let{dividerText:t=""}=e;const a={position:"absolute",left:0,width:"100%"};return(0,i.jsx)(o.Box,{sx:{display:"block",pt:1.5,pb:t?2:1.5},children:t?(0,i.jsx)(o.Divider,{sx:a,children:(0,i.jsx)(o.Typography,{sx:{opacity:.5},variant:"caption",children:n.default.t(t)})}):(0,i.jsx)(o.Divider,{sx:a})})}},1676:(e,t,a)=>{a.d(t,{A:()=>s});var o=a(3471),n=a(7085),i=a(6240),l=a(8437),r=a(1783),c=a(6707),d=a(579);const s=function(e){let{field:t,data:a,onDataChange:s}=e;const u=null===t||void 0===t?void 0:t.name,m=(0,i.A)(),p=(0,l.useRef)(s),[x,v]=(0,l.useState)(a[u]||null),{setGradient:b}=(0,r.p)(x,v),[h,f]=(0,l.useState)(null),g=Boolean(h);return(0,l.useEffect)((()=>{u&&p.current({[u]:x})}),[x,u]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.Box,{sx:{display:"flex"},children:[!!x&&(0,d.jsx)(n.IconButton,{edge:"start",onClick:()=>{s({[u]:null}),v(null)},children:(0,d.jsx)(o.A,{})}),(0,d.jsx)(n.Box,{sx:{mt:"7px",boxSizing:"border-box",overflow:"hidden",borderRadius:"2px",width:"46px",height:"24px",border:x?"5px solid rgb(18, 18, 18)":"1px dashed",borderColor:"light"===m.name&&"action.disabledBackground"},children:(0,d.jsx)(n.Box,{onClick:e=>{f(e.currentTarget),x?b(x):b()},sx:{p:"5px",background:x||"transparent",cursor:"pointer",width:"100%",height:"100%"}})})]}),(0,d.jsx)(n.Popover,{slotProps:{paper:{elevation:0,sx:{p:"9px",borderRadius:"6px",backgroundColor:"rgb(32,32,32)"}}},open:g,anchorEl:h,onClose:()=>{f(null)},transformOrigin:{vertical:"top",horizontal:"center"},anchorOrigin:{vertical:"bottom",horizontal:"center"},children:(0,d.jsx)(n.Box,{sx:{borderRadius:"6px"},children:(0,d.jsx)(c.A,{value:x,onChange:e=>{v(e),s({[u]:x})},hidePresets:!0,hideEyeDrop:!0,hideAdvancedSliders:!0,hideColorGuide:!0,hideInputType:!0,hideColorTypeBtns:!0})})})]})}},7613:(e,t,a)=>{a.d(t,{A:()=>c});var o=a(7051),n=a(4376),i=a(1676),l=a(579);function r(e){return e.toLowerCase().split(" ").reduce(((e,t)=>e+(t.charAt(0).toUpperCase()+t.slice(1))))}function c(e){const t="values"===e?"iconSmall":r("icon small ".concat(e)),a="values"===e?"icon":r("icon ".concat(e)),c="values"===e?"iconSize":r("icon size ".concat(e)),d="values"===e?"iconColor":r("icon color ".concat(e)),s="values"===e?"iconHover":r("icon hover ".concat(e)),u="values"===e?"iconXOffset":r("icon x offset ".concat(e)),m="values"===e?"iconYOffset":r("icon y offset ".concat(e)),p="values"===e?"textColor":r("text color ".concat(e)),x="values"===e?"header":r("header ".concat(e)),v="values"===e?"headerSize":r("header size ".concat(e)),b="values"===e?"alias":r("alias ".concat(e)),h="values"===e?"value":r("value ".concat(e)),f="values"===e?"valueSize":r("value size ".concat(e)),g="values"===e?"footer":r("footer ".concat(e)),y="values"===e?"footerSize":r("footer size ".concat(e)),S="values"===e?"backgroundColor":r("background color ".concat(e)),k="values"===e?"background":r("background ".concat(e)),C="values"===e?"frameBackgroundColor":r("frame background color ".concat(e)),A="values"===e?"frameBackground":r("frame background ".concat(e)),_="values"===e?"values":"".concat(e),z="values"===e?"values":"group_".concat(e);let j;return j="values"===e?{name:_,label:z,indexFrom:1,indexTo:"values_count"}:{name:_,label:z},(0,o.A)((0,o.A)({},j),{},{fields:[{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"icon"}),hidden:"data.noIcon"},{name:t,label:"small_icon",type:"icon64",hidden:(e,t)=>e.noIcon||e["".concat(a).concat(void 0===t?"":t)]},{name:a,label:"icon",type:"image",hidden:(e,a)=>e.noIcon||e["".concat(t).concat(void 0===a?"":a)]},{name:c,label:"icon_size",type:"slider",min:1,max:500,step:1,hidden:"data.noIcon"},{name:d,label:"icon_color",type:"color",hidden:"data.noIcon"},{name:s,label:"icon_hover",type:"slider",min:0,max:300,step:1,hidden:"data.noIcon"},{name:u,label:"icon_x_offset",type:"text",default:"0px",hidden:"data.noIcon"},{name:m,label:"icon_y_offset",type:"text",default:"0px",hidden:"data.noIcon"},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"header"})},{name:x,label:"header_text",type:"text",default:""},{name:v,label:"header_size",type:"slider",min:0,max:500,step:1},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"value"})},{name:b,label:"alias",type:"text",default:""},{name:h,label:"value",type:"text",default:"",hidden:e=>"boolean"===e.oidType||"valueActive"===h},{name:f,label:"value_size",type:"slider",min:0,max:500,step:1},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"footer"})},{name:g,label:"footer_text",type:"text",default:""},{name:y,label:"footer_size",type:"slider",min:0,max:500,step:1},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"characteristics"})},{name:p,label:"text_color",type:"color"},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"background"})},{name:k,label:"background",default:"",type:"custom",component:(e,t,a,o)=>(0,l.jsx)(i.A,{field:e,data:t,onDataChange:a})},{name:S,label:"background_color",type:"color"},{label:"",type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"frame_background"})},{name:A,label:"frame_background",default:"",type:"custom",component:(e,t,a,o)=>(0,l.jsx)(i.A,{field:e,data:t,onDataChange:a})},{name:C,label:"frame_background_color",type:"color"}]})}},9966:(e,t,a)=>{a.d(t,{A:()=>c});var o=a(6211),n=a(4376),i=a(1676),l=a(579);async function r(e,t,a,n){if(t.oid){var i,l,r,c,d,s,u,m;const e=await n.getObject(t.oid),p=await async function(e,t){var a,n;let i=null;if(null!==t&&void 0!==t&&null!==(a=t.common)&&void 0!==a&&a.icon)i=t.common.icon;else if((null===t||void 0===t||null===(n=t.common)||void 0===n||!n.icon)&&("state"===t.type||"channel"===t.type)){const a=t._id.split("."),n=await e.getObject(a.slice(0,-1).join("."));if(i=o.A.getObjectIcon(n,a.slice(0,-1).join(".")),!i){const t=await e.getObject(a.slice(0,-2).join("."));i=o.A.getObjectIcon(t,a.slice(0,-2).join("."))}}return i}(n,e);if(t.icon=p,t.oidType=null===e||void 0===e||null===(i=e.common)||void 0===i?void 0:i.type,t.write=null===e||void 0===e||null===(l=e.common)||void 0===l?void 0:l.write,t.noButton=!(null!==e&&void 0!==e&&null!==(r=e.common)&&void 0!==r&&r.write),t.unit=(null===e||void 0===e||null===(c=e.common)||void 0===c?void 0:c.unit)||"",t.minValue=(null===e||void 0===e||null===(d=e.common)||void 0===d?void 0:d.min)||0,t.maxValue=(null===e||void 0===e||null===(s=e.common)||void 0===s?void 0:s.max)||100,null!==e&&void 0!==e&&null!==(u=e.common)&&void 0!==u&&u.states){if(Array.isArray(e.common.states)){const t={};e.common.states.forEach((e=>{t[e]=e})),e.common.states=t}t.values_count=Object.keys(e.common.states).length,Object.entries(e.common.states).forEach(((e,a)=>{let[o,n]=e;t["value".concat(a+1)]=o,t["alias".concat(a+1)]=n})),a(t)}else"boolean"===(null===e||void 0===e||null===(m=e.common)||void 0===m?void 0:m.type)?(t.values_count=2,t.value1=!0,t.alias1="TRUE",t.value2=!1,t.alias2="FALSE",a(t)):null!==e&&void 0!==e&&e.common&&(t.values_count=0,a(t))}else t.icon=null,t.onlyStates=null,t.write=!1,t.noButton=!0,t.g_switch=!1,a(t)}const c=function(){return{name:"common",fields:[{name:"oid",type:"id",label:"oid",onChange:r},{name:"unit",label:"unit",type:"text",default:""},{name:"values_count",type:"number",default:0,label:"values_count",hidden:"data.oidType === 'boolean'"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"write_value"})},{name:"sampleInterval",type:"checkbox",label:"sample_interval",default:!1},{name:"sampleIntervalValue",type:"number",label:"sample_interval_value",default:50,min:0,max:1e3,step:1,hidden:"!data.sampleInterval"},{name:"delay",type:"number",label:"delay",default:300,min:0,max:1e3,step:1,hidden:"data.sampleInterval"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"icon"}),hidden:"data.noIcon"},{name:"iconSmall",label:"small_icon",type:"icon64",hidden:"data.noIcon || data.icon"},{name:"icon",label:"icon",type:"image",hidden:"data.noIcon || data.iconSmall"},{name:"iconSize",label:"icon_size",type:"slider",min:1,max:500,step:1,hidden:"data.noIcon"},{name:"iconColor",label:"icon_color",type:"color",hidden:"data.noIcon"},{name:"iconHover",label:"icon_hover",type:"slider",min:0,max:300,step:1,hidden:"data.noIcon"},{name:"iconXOffset",label:"icon_x_offset",type:"text",default:"0px",hidden:"data.noIcon"},{name:"iconYOffset",label:"icon_y_offset",type:"text",default:"0px",hidden:"data.noIcon"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"header"})},{name:"noHeader",type:"checkbox",label:"no_header"},{name:"header",label:"header_text",type:"text",default:"",hidden:"data.noHeader"},{name:"headerSize",label:"header_size",type:"slider",min:0,max:500,step:1,hidden:"data.noHeader"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"value"})},{name:"valueSize",label:"value_size",type:"slider",min:0,max:500,step:1},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"footer"})},{name:"noFooter",label:"no_footer",type:"checkbox"},{name:"footer",label:"footer_text",type:"text",default:"",hidden:"data.noFooter"},{name:"footerSize",label:"footer_size",type:"slider",min:0,max:500,step:1,hidden:"data.noFooter"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"characteristics"})},{name:"noCard",label:"without_card",type:"checkbox"},{name:"squaredCorner",label:"squared_corner",type:"checkbox"},{name:"textColor",label:"text_color",type:"color"},{type:"custom",component:()=>(0,l.jsx)(n.A,{})},{name:"outlined",label:"outlined",type:"checkbox"},{name:"outlinedFrame",label:"outlined_frame",type:"checkbox"},{type:"custom",component:()=>(0,l.jsx)(n.A,{})},{name:"basePadding",label:"base_padding",type:"slider",min:0,max:10,step:.1,default:1},{name:"baseElevation",label:"base_elevation",type:"slider",min:0,max:24,step:1,default:4},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"geometry"})},{name:"square",label:"square",type:"checkbox",hidden:"data.circle || data.ellipse"},{name:"ellipse",label:"ellipse",type:"checkbox",hidden:"data.circle || data.square"},{name:"circle",label:"circle",type:"checkbox",hidden:"data.ellipse || data.square"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"background"})},{name:"background",label:"background",default:"",type:"custom",component:(e,t,a,o)=>(0,l.jsx)(i.A,{field:e,data:t,onDataChange:a})},{name:"backgroundColor",label:"background_color",type:"color"},{type:"custom",component:()=>(0,l.jsx)(n.A,{dividerText:"frame_background"})},{name:"frameBackground",label:"frame_background",default:"",type:"custom",component:(e,t,a,o)=>(0,l.jsx)(i.A,{field:e,data:t,onDataChange:a})},{name:"frameBackgroundColor",label:"frame_background_color",type:"color"}]}}},6016:(e,t,a)=>{a.d(t,{A:()=>c,C:()=>r});var o=a(7085),n=a(9172),i=a(8437),l=a(579);const r=(0,i.createContext)({});const c=function(e){let{children:t,context:a}=e;const c=(0,i.useMemo)((()=>a),[a]),d=a.mode,s=a.theme,u=(0,i.useMemo)((()=>{const e="dark"===d?{palette:{mode:"dark"}}:{};return(0,o.createTheme)((0,n.A)(s,(0,n.A)(e,{components:{MuiTypography:{}}})))}),[d,s]);return(0,l.jsx)(o.ThemeProvider,{theme:u,children:(0,l.jsx)(r.Provider,{value:c,children:t})})}},900:(e,t,a)=>{a.d(t,{A:()=>i});a(8437);var o=a(6016),n=a(579);const i=function(e,t){return(0,n.jsx)(o.A,{context:t,children:e})}},2152:(e,t,a)=>{a.d(t,{A:()=>r});var o=a(8437),n=a(6016),i=a(5001),l=a(5702);const r=function(e){var t;const{theme:a,widget:r,oidObject:c}=(0,o.useContext)(n.C),{fontStyles:d,textStyles:s,backgroundStyles:u}=(0,l.A)(r.style),[m,p]=(0,o.useState)(),x=(0,i.A)(e),v=null===c||void 0===c||null===(t=c.common)||void 0===t?void 0:t.name,b=(0,o.useMemo)((()=>{var e;const t=e=>e?"".concat(e,"%"):null,o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return r.data["".concat(e).concat(t)]},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{textColor:r.data.textColor||s.color||a.palette.primary.main,textColorActive:o("textColor",e),header:r.data.headerActive||o("header",e)||r.data.header||v,headerSize:t(r.data.headerSize)||t(r.data.headerSizeActive)||t(o("headerSize",e))||d.fontSize,footer:r.data.footerActive||o("footer",e)||r.data.footer,footerSize:t(r.data.footerSize)||t(r.data.footerSizeActive)||t(o("footerSize",e))||d.fontSize,alias:o("alias",e),value:o("value",e)&&"".concat(o("value",e)).concat(r.data.unit),valueSize:t(r.data.valueSize)||d.fontSize,valueSizeActive:o("valueSize",e)&&t(o("valueSize",e)),icon:!r.data.noIcon&&(r.data.icon||r.data.iconSmall),iconActive:!r.data.noIcon&&(o("icon",e)||o("iconSmall",e)),iconSize:(r.data.iconSize||0===r.data.iconSize)&&"calc(24px * ".concat(r.data.iconSize," / 100)")||"24px",iconSizeActive:o("iconSize",e)&&"calc(24px * ".concat(o("iconSize",e)," / 100)"),iconSizeOnly:o("iconSize",e)||r.data.iconSize,iconColor:r.data.iconColor,iconColorActive:o("iconColor",e),iconHover:r.data.iconHover&&"".concat(r.data.iconHover,"%"),iconHoverActive:o("iconHover",e)&&"".concat(o("iconHover",e),"%"),iconXOffset:o("iconXOffset",e)||r.data.iconXOffset||"0px",iconYOffset:o("iconYOffset",e)||r.data.iconYOffset||"0px",backgroundColor:r.data.backgroundColor||u.backgroundColor,backgroundColorActive:o("backgroundColor",e),background:r.data.background||u.background,backgroundActive:o("background",e),frameBackgroundColor:r.data.frameBackgroundColor||u.backgroundColor,frameBackgroundColorActive:o("frameBackgroundColor",e),frameBackground:r.data.frameBackground||u.background,frameBackgroundActive:o("frameBackground",e)}};switch(null===c||void 0===c||null===(e=c.common)||void 0===e?void 0:e.type){case"boolean":case"number":case"string":for(let e=1;e<=Number(r.data.values_count);e++)if(void 0!==r.data["value".concat(e)]&&(r.data["value".concat(e)]===x||r.data["value".concat(e)]===String(x)))return p(e),n(e);return n("");default:return n("")}}),[r,d,s,u,c,x,a,v]),{states:h,widgetStates:f,minValue:g,maxValue:y}=(0,o.useMemo)((()=>(()=>{var e,t;const a=[],o={};let n=0,i=100;const l=null===c||void 0===c||null===(e=c.common)||void 0===e?void 0:e.type,d=(null===c||void 0===c||null===(t=c.common)||void 0===t?void 0:t.states)||{},s=Object.entries(d);if("number"===l||"string"===l){for(let e=1;e<=Number(r.data.values_count);e++)if(void 0!==r.data["value".concat(e)]&&null!==r.data["value".concat(e)]&&/\S/.test(r.data["value".concat(e)])){const t=s.find((t=>{let[a]=t;return a===r.data["value".concat(e)]}));t&&"number"===l&&(t[0]=Number(t[0])),a.push({value:t?t[0]:"number"===l?Number(r.data["value".concat(e)]):r.data["value".concat(e)],label:r.data["alias".concat(e)]||(t?t[1]:"".concat(r.data["value".concat(e)]).concat(r.data.unit))}),o[t?String(t[0]):r.data["value".concat(e)]]=r.data["alias".concat(e)]||(t?t[1]:"".concat(r.data["value".concat(e)]).concat(r.data.unit))}a.length&&(n=Math.min(...a.map((e=>e.value))),i=Math.max(...a.map((e=>e.value))))}if("boolean"===l)for(let c=1;c<=Number(r.data.values_count);c++)a.push({value:r.data["value".concat(c)],label:r.data["alias".concat(c)]}),o[String(r.data["value".concat(c)])]=r.data["value".concat(c)];return{states:a,widgetStates:o,minValue:n,maxValue:i}})()),[c,r]);return{states:h,widgetStates:f,minValue:g,maxValue:y,data:b,activeIndex:m,setActiveIndex:p,oidValue:x}}},6255:(e,t,a)=>{a.d(t,{A:()=>r});var o=a(8437),n=a(8814),i=a(9159),l=a(6413);const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;const[a,r]=(0,o.useState)(e),c=(0,o.useRef)(null),[d,s]=(0,o.useState)(e),u=(0,o.useRef)(null);return(0,o.useEffect)((()=>{c.current=new n.B,u.current=new n.B;const e=c.current.pipe((0,i.B)(t)).subscribe(r),a=u.current.pipe((0,l.c)(t)).subscribe(s);return()=>{e.unsubscribe(),a.unsubscribe()}}),[t]),(0,o.useEffect)((()=>{c.current&&c.current.next(e),u.current&&u.current.next(e)}),[e]),{debouncedValue:a,sampledValue:d}}},5001:(e,t,a)=>{a.d(t,{A:()=>i});var o=a(8437),n=a(6016);const i=e=>{const{getPropertyValue:t}=(0,o.useContext)(n.C),a=t(e),[i,l]=(0,o.useState)(a);return(0,o.useEffect)((()=>{l(a)}),[a]),i}},5702:(e,t,a)=>{a.d(t,{A:()=>i});var o=a(8437);const n=["background","background-color","background-image","background-position","background-repeat","background-size","background-clip","background-origin","border","border-width","border-style","border-color","border-radius","color","text-align","text-shadow","font-family","font-size","font-weight","font-style","font-variant","line-height","letter-spacing","word-spacing","box-sizing","box-shadow"],i=e=>{const[t,a]=(0,o.useState)({}),[i,l]=(0,o.useState)({}),[r,c]=(0,o.useState)({}),[d,s]=(0,o.useState)({}),[u,m]=(0,o.useState)({}),p=(0,o.useMemo)((()=>{const t={},a={},o={},i={},l={};return n.forEach((n=>{if(e[n]){const r=n.replace(/(-\w)/g,(e=>e[1].toUpperCase()));n.includes("background")?t[r]=e[n]:n.includes("border")?a[r]=e[n]:n.includes("font")||n.includes("line-height")||n.includes("letter-spacing")||n.includes("word-spacing")?i[r]=e[n]:n.includes("text")||n.includes("color")?o[r]=e[n]:l[r]=e[n]}})),{_backgroundStyles:t,_borderStyles:a,_textStyles:o,_fontStyles:i,_boxStyles:l}}),[e]);return(0,o.useEffect)((()=>{a(p._backgroundStyles),l(p._borderStyles),c(p._textStyles),s(p._fontStyles),m(p._boxStyles)}),[p]),{boxStyles:u,backgroundStyles:t,borderStyles:i,textStyles:r,fontStyles:d}}}}]);
|
|
2
|
+
//# sourceMappingURL=src_components_CollectionDivider_jsx.8a534904.chunk.js.map
|