iobroker.vis-2-widgets-collection 1.5.0 → 1.5.1
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 +3 -0
- package/io-package.json +14 -14
- package/package.json +1 -1
- package/widgets/vis-2-widgets-collection/asset-manifest.json +2 -2
- 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_SelectCollectionWidget_SelectCollectionWidget_jsx.d57f196e.chunk.js → src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js} +2 -2
- package/widgets/vis-2-widgets-collection/static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.d57f196e.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.5.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.5.1": {
|
|
7
|
+
"en": "Select bug fixed",
|
|
8
|
+
"de": "Wählen Sie Fehler behoben",
|
|
9
|
+
"ru": "Выберите ошибку",
|
|
10
|
+
"pt": "Selecione o erro corrigido",
|
|
11
|
+
"nl": "Selecteer bug vast",
|
|
12
|
+
"fr": "Sélectionner le bug corrigé",
|
|
13
|
+
"it": "Selezionare bug fisso",
|
|
14
|
+
"es": "Seleccionar error fijo",
|
|
15
|
+
"pl": "Wybierz błąd ustawiony",
|
|
16
|
+
"uk": "Виберіть виправлення помилок",
|
|
17
|
+
"zh-cn": "选择已修正的错误"
|
|
18
|
+
},
|
|
6
19
|
"1.5.0": {
|
|
7
20
|
"en": "Select added",
|
|
8
21
|
"de": "Wählen Sie aus",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "nagłówek / stopka do ustawiania błędów",
|
|
81
94
|
"uk": "виправлення головки / нижній колонтитул",
|
|
82
95
|
"zh-cn": "错误修正页眉/页脚"
|
|
83
|
-
},
|
|
84
|
-
"1.1.16": {
|
|
85
|
-
"en": "only valid oid's allowed",
|
|
86
|
-
"de": "nur gültig oid's erlaubt",
|
|
87
|
-
"ru": "разрешен только действительный oid",
|
|
88
|
-
"pt": "apenas um oid válido é permitido",
|
|
89
|
-
"nl": "alleen geldige oid's toegestaan",
|
|
90
|
-
"fr": "seul l'aide valide est autorisée",
|
|
91
|
-
"it": "consentito solo oid valido",
|
|
92
|
-
"es": "sólo válida oid permitida",
|
|
93
|
-
"pl": "tylko ważny oid jest dozwolony",
|
|
94
|
-
"uk": "тільки допустимо допустиме oid",
|
|
95
|
-
"zh-cn": "只允许有效的 oid "
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js",
|
|
12
12
|
"static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js",
|
|
13
13
|
"static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.01fec413.chunk.js": "./static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.01fec413.chunk.js",
|
|
14
|
-
"static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.
|
|
14
|
+
"static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js": "./static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js",
|
|
15
15
|
"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",
|
|
16
16
|
"static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js",
|
|
17
17
|
"static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js.map",
|
|
33
33
|
"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map",
|
|
34
34
|
"src_DialogCollectionWidget_DialogCollectionWidget_jsx.01fec413.chunk.js.map": "./static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.01fec413.chunk.js.map",
|
|
35
|
-
"src_SelectCollectionWidget_SelectCollectionWidget_jsx.
|
|
35
|
+
"src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js.map": "./static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js.map",
|
|
36
36
|
"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",
|
|
37
37
|
"vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map",
|
|
38
38
|
"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={8217:(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-42397f"),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(2132))),"./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-42397f"),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(2354))),"./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-42397f"),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(3190))),"./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-42397f"),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(4801))),"./CheckboxCollectionWidget":()=>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-42397f"),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_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx")]).then((()=>()=>s(6047))),"./DialogCollectionWidget":()=>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-42397f"),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_DialogCollectionWidget_DialogCollectionWidget_jsx")]).then((()=>()=>s(2840))),"./SelectCollectionWidget":()=>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-42397f"),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_SelectCollectionWidget_SelectCollectionWidget_jsx")]).then((()=>()=>s(7903)))},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,_),n=(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:()=>n})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var n=_[t]={exports:{}};return e[t].call(n.exports,n,n.exports,s),n.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":"9c21ae2e","vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js":"d38263c1","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-42397f":"bb47ef22",src_components_CollectionDivider_jsx:"7882d2a9",src_StateCollectionWidget_StateCollectionWidget_jsx:"5369616b",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"56fc7303",src_translations_js:"a18f077e",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"4a6f57bf",src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx:"95ad916f",src_DialogCollectionWidget_DialogCollectionWidget_jsx:"01fec413",src_SelectCollectionWidget_SelectCollectionWidget_jsx:"d57f196e"}[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,n,r)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==n)for(var l=document.getElementsByTagName("script"),a=0;a<l.length;a++){var u=l[a];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+n){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",_+n),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 n=_[t];if(n||(n=_[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var r=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=r[e]=r[e]||{},n=o[_];(!n||!n.loaded&&(!t!=!n.eager?t:i>n.from))&&(o[_]={get:s,from:i,eager:!!t})},l=[];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 l.length?e[t]=Promise.all(l).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],n=(typeof o)[0];if(t>=s.length)return"u"==n;var r=s[t],i=(typeof r)[0];if(n!=i)return"o"==n&&"n"==i||"s"==i||"u"==n;if("o"!=n&&"u"!=n&&o!=r)return o<r;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,n=1;n<e.length;n++)o--,s+="u"==(typeof(i=e[n]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var r=[];for(n=1;n<e.length;n++){var i=e[n];r.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?r.pop()+" "+r.pop():t(i))}return d();function d(){return r.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],n=t<0;n&&(t=-t-1);for(var r=0,i=1,d=!0;;i++,r++){var l,a,u=i<_.length?(typeof _[i])[0]:"";if(r>=s.length||"o"==(a=(typeof(l=s[r]))[0]))return!d||("u"==u?i>t&&!n:""==u!=n);if("u"==a){if(!d||"u"!=u)return!1}else if(d)if(u==a)if(i<=t){if(l!=_[i])return!1}else{if(n?l>_[i]:l<_[i])return!1;l!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(n||i<=t)return!1;d=!1,i--}else{if(i<=t||a<u!=n)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(r=1;r<_.length;r++){var p=_[r];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},n=(e,_)=>e&&s.o(e,_),r=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)},l=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",a=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,n,r){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,n,r)):e(_,s.S[_],t,o,n,r)},c=(e,_,s)=>s?s():((e,_)=>a("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,a)=>{if(!n(_,s))return c(e,s,a);var m=d(_,s,t);return o(i,m)||u(l(_,s,m,i)),r(_[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)))))},g={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]},v={};s.f.consumes=(e,_)=>{s.o(g,e)&&g[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!v[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};v[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var n=h[e]();n.then?_.push(f[e]=n.then(t).catch(o)):t(n)}catch(r){o(r)}}}))}})(),(()=>{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 n=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=n);var r=s.p+s.u(_),i=new Error;s.l(r,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+n+": "+r+")",i.name="ChunkLoadError",i.type=n,i.request=r,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,n,r=t[0],i=t[1],d=t[2],l=0;if(r.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);l<r.length;l++)n=r[l],s.o(e,n)&&e[n]&&e[n][0](),e[n]=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(8217);vis2CollectionWidget=t})();
|
|
1
|
+
var vis2CollectionWidget;(()=>{"use strict";var e={8217:(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-42397f"),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(2132))),"./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-42397f"),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(2354))),"./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-42397f"),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(3190))),"./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-42397f"),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(4801))),"./CheckboxCollectionWidget":()=>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-42397f"),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_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx")]).then((()=>()=>s(6047))),"./DialogCollectionWidget":()=>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-42397f"),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_DialogCollectionWidget_DialogCollectionWidget_jsx")]).then((()=>()=>s(2840))),"./SelectCollectionWidget":()=>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-42397f"),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_SelectCollectionWidget_SelectCollectionWidget_jsx")]).then((()=>()=>s(7903)))},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,_),n=(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:()=>n})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var n=_[t]={exports:{}};return e[t].call(n.exports,n,n.exports,s),n.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":"9c21ae2e","vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js":"d38263c1","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-42397f":"bb47ef22",src_components_CollectionDivider_jsx:"7882d2a9",src_StateCollectionWidget_StateCollectionWidget_jsx:"5369616b",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"56fc7303",src_translations_js:"a18f077e",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"4a6f57bf",src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx:"95ad916f",src_DialogCollectionWidget_DialogCollectionWidget_jsx:"01fec413",src_SelectCollectionWidget_SelectCollectionWidget_jsx:"3f9dcb48"}[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,n,r)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==n)for(var l=document.getElementsByTagName("script"),a=0;a<l.length;a++){var u=l[a];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+n){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",_+n),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 n=_[t];if(n||(n=_[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var r=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=r[e]=r[e]||{},n=o[_];(!n||!n.loaded&&(!t!=!n.eager?t:i>n.from))&&(o[_]={get:s,from:i,eager:!!t})},l=[];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 l.length?e[t]=Promise.all(l).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],n=(typeof o)[0];if(t>=s.length)return"u"==n;var r=s[t],i=(typeof r)[0];if(n!=i)return"o"==n&&"n"==i||"s"==i||"u"==n;if("o"!=n&&"u"!=n&&o!=r)return o<r;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,n=1;n<e.length;n++)o--,s+="u"==(typeof(i=e[n]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var r=[];for(n=1;n<e.length;n++){var i=e[n];r.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?r.pop()+" "+r.pop():t(i))}return d();function d(){return r.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],n=t<0;n&&(t=-t-1);for(var r=0,i=1,d=!0;;i++,r++){var l,a,u=i<_.length?(typeof _[i])[0]:"";if(r>=s.length||"o"==(a=(typeof(l=s[r]))[0]))return!d||("u"==u?i>t&&!n:""==u!=n);if("u"==a){if(!d||"u"!=u)return!1}else if(d)if(u==a)if(i<=t){if(l!=_[i])return!1}else{if(n?l>_[i]:l<_[i])return!1;l!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(n||i<=t)return!1;d=!1,i--}else{if(i<=t||a<u!=n)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(r=1;r<_.length;r++){var p=_[r];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},n=(e,_)=>e&&s.o(e,_),r=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)},l=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",a=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,n,r){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,n,r)):e(_,s.S[_],t,o,n,r)},c=(e,_,s)=>s?s():((e,_)=>a("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,a)=>{if(!n(_,s))return c(e,s,a);var m=d(_,s,t);return o(i,m)||u(l(_,s,m,i)),r(_[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)))))},g={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]},v={};s.f.consumes=(e,_)=>{s.o(g,e)&&g[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!v[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};v[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var n=h[e]();n.then?_.push(f[e]=n.then(t).catch(o)):t(n)}catch(r){o(r)}}}))}})(),(()=>{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 n=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=n);var r=s.p+s.u(_),i=new Error;s.l(r,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+n+": "+r+")",i.name="ChunkLoadError",i.type=n,i.request=r,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,n,r=t[0],i=t[1],d=t[2],l=0;if(r.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);l<r.length;l++)n=r[l],s.o(e,n)&&e[n]&&e[n][0](),e[n]=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(8217);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,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vG,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-42397f\"), __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__(2132)))));\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-42397f\"), __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__(2354)))));\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-42397f\"), __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__(3190)))));\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-42397f\"), __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__(4801)))));\n\t},\n\t\"./CheckboxCollectionWidget\": () => {\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-42397f\"), __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_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(6047)))));\n\t},\n\t\"./DialogCollectionWidget\": () => {\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-42397f\"), __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_DialogCollectionWidget_DialogCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(2840)))));\n\t},\n\t\"./SelectCollectionWidget\": () => {\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-42397f\"), __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_SelectCollectionWidget_SelectCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7903)))));\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\":\"9c21ae2e\",\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\":\"d38263c1\",\"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-42397f\":\"bb47ef22\",\"src_components_CollectionDivider_jsx\":\"7882d2a9\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"5369616b\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"56fc7303\",\"src_translations_js\":\"a18f077e\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"4a6f57bf\",\"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\":\"95ad916f\",\"src_DialogCollectionWidget_DialogCollectionWidget_jsx\":\"01fec413\",\"src_SelectCollectionWidget_SelectCollectionWidget_jsx\":\"d57f196e\"}[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__(8217);\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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+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-42397f\"), __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__(2132)))));\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-42397f\"), __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__(2354)))));\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-42397f\"), __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__(3190)))));\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-42397f\"), __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__(4801)))));\n\t},\n\t\"./CheckboxCollectionWidget\": () => {\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-42397f\"), __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_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(6047)))));\n\t},\n\t\"./DialogCollectionWidget\": () => {\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-42397f\"), __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_DialogCollectionWidget_DialogCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(2840)))));\n\t},\n\t\"./SelectCollectionWidget\": () => {\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-42397f\"), __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_SelectCollectionWidget_SelectCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7903)))));\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\":\"9c21ae2e\",\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\":\"d38263c1\",\"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-42397f\":\"bb47ef22\",\"src_components_CollectionDivider_jsx\":\"7882d2a9\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"5369616b\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"56fc7303\",\"src_translations_js\":\"a18f077e\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"4a6f57bf\",\"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\":\"95ad916f\",\"src_DialogCollectionWidget_DialogCollectionWidget_jsx\":\"01fec413\",\"src_SelectCollectionWidget_SelectCollectionWidget_jsx\":\"3f9dcb48\"}[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__(8217);\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,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_SelectCollectionWidget_SelectCollectionWidget_jsx"],{7903:(t,e,a)=>{a.r(e),a.d(e,{default:()=>S});var o=a(7051),i=a(8437),n=a(6211),c=a(900),l=a(8679),s=a(375),d=a(4376),r=a(579);const u=()=>[{type:"custom",component:()=>(0,r.jsx)(d.A,{})},{name:"cid",type:"id",label:"cid"}];var p=a(7085),g=a(8565),h=a(4657),x=a(6016),v=a(2152),A=a(5001),m=a(5702);const f=function(){var t,e,a;const n=(0,i.useRef)(null),{setState:c,values:l,oidObject:s,widget:d,setValue:u}=(0,i.useContext)(x.C),{textStyles:f,fontStyles:b}=(0,m.A)(d.style),{data:S,states:w}=(0,v.A)("oid"),C=(0,A.A)("oid"),y=null===s||void 0===s?void 0:s._id,k=null===s||void 0===s||null===(t=s.common)||void 0===t?void 0:t.type,_="boolean"===k||"number"===k||"string"===k||"mixed"===k,j=w.findIndex((t=>t.value===C));return(0,r.jsx)(h.A,{isValidType:_,data:S,oidValue:C,children:(0,r.jsx)(p.Box,{ref:n,sx:{overflow:"auto",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,r.jsx)(p.Select,{variant:"standard",disableUnderline:!0,value:-1!==j?w[j]:"",onChange:t=>{const e="number"!==typeof t.target.value.value?t.target.value.value:Number(t.target.value.value);c({values:(0,o.A)((0,o.A)({},l),{},{["".concat(y,".val")]:e})}),void 0!==d.data.cid&&null!==d.data.cid&&""!==d.data.cid&&"nothing_selected"!==d.data.cid?u(d.data.cid,e):u(y,e)},MenuProps:{sx:{maxWidth:null===(e=n.current)||void 0===e?void 0:e.offsetWidth},MenuListProps:{sx:{background:S.backgroundColor?(0,g.alpha)(S.backgroundColor,.7):S.background}}},sx:{width:"100%",height:"100%",maxWidth:"calc(".concat(null===(a=n.current)||void 0===a?void 0:a.offsetWidth,"px - 10%)"),"&.Mui-focused":{background:S.backgroundColorActive||S.backgroundColor||S.backgroundActive||S.background}},children:w.map(((t,e)=>{const a=d.data["iconSmall".concat(e+1)]||d.data["icon".concat(e+1)]||d.data.iconSmall||d.data.icon;return(0,r.jsx)(p.MenuItem,{value:t,sx:{background:d.data["backgroundColor".concat(e+1)]&&"".concat(d.data["backgroundColor".concat(e+1)],"!important")||"".concat(d.data["background".concat(e+1)],"!important")},children:(0,r.jsxs)(p.Stack,{direction:"row",spacing:a?1:0,sx:{alignItems:"center"},children:[(0,r.jsx)("img",{alt:"",src:a||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",style:{position:"relative",top:"calc(0px - ".concat(d.data["iconYOffset".concat(e+1)]||d.data.iconYOffset,")"),right:"calc(0px - ".concat(d.data["iconXOffset".concat(e+1)]||d.data.iconXOffset,")"),width:(a?d.data["iconSize".concat(e+1)]&&"calc(24px * ".concat(d.data["iconSize".concat(e+1)]||0," / 100)"):"0px")||d.data.iconSize&&"calc(24px * ".concat(d.data.iconSize||0," / 100)")||"24px",height:(a?d.data["iconSize".concat(e+1)]&&"calc(24px * ".concat(d.data["iconSize".concat(e+1)]||0," / 100)"):"0px")||d.data.iconSize&&"calc(24px * ".concat(d.data.iconSize||0," / 100)")||"24px",color:d.data["iconColor".concat(e+1)]||d.data.iconColor,filter:d.data["iconColor".concat(e+1)]||d.data.iconColor?"drop-shadow(0px 10000px 0)":null,transform:d.data["iconColor".concat(e+1)]||d.data.iconColor?"translateY(-10000px)":null}}),(0,r.jsx)(p.Typography,{component:p.Box,variant:"subtitle2",sx:(0,o.A)((0,o.A)((0,o.A)({whiteSpace:"pre-wrap"},b),f),{},{fontSize:d.data["valueSize".concat(e+1)]||S.valueSize,textAlign:"left",bgcolor:"transparent",color:d.data["textColor".concat(e+1)]||S.textColor,textTransform:"none",width:"100%",height:"100%",flexGrow:1,alignContent:"center"}),contentEditable:"false",dangerouslySetInnerHTML:{__html:d.data["alias".concat(e+1)].replace(/(\r\n|\n|\r)/gm,"")||"".concat(d.data["value".concat(e+1)]).concat(d.data.unit)}})]})},t.value)}))})})})};class b extends n.A{static getWidgetInfo(){return{id:"tplSelectCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"SelectCollectionWidget",visWidgetLabel:"select_collection_widget",visOrder:1,visAttrs:[{name:"common",fields:[...(0,l.A)({groupName:"",allFields:!0})]},{name:"select_collection",label:"group_select_collection",fields:[...(0,s.A)(["boolean","number","string","mixed"]),...u()]},{name:"values",label:"values",indexFrom:1,indexTo:"values_count",fields:[...(0,l.A)({groupName:"",allFields:!1})]}],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-select.png"}}getWidgetInfo(){return b.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:(0,o.A)((0,o.A)({},t.widget),{},{data:this.state.rxData,style:this.state.rxStyle}),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,c.A)(this.wrapContent((0,r.jsx)(f,{})),e)}}const S=b}}]);
|
|
2
|
-
//# sourceMappingURL=src_SelectCollectionWidget_SelectCollectionWidget_jsx.
|
|
1
|
+
"use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_SelectCollectionWidget_SelectCollectionWidget_jsx"],{7903:(t,e,a)=>{a.r(e),a.d(e,{default:()=>S});var o=a(7051),i=a(8437),n=a(6211),c=a(900),l=a(8679),s=a(375),d=a(4376),r=a(579);const u=()=>[{type:"custom",component:()=>(0,r.jsx)(d.A,{})},{name:"cid",type:"id",label:"cid"}];var p=a(7085),g=a(8565),h=a(4657),x=a(6016),v=a(2152),A=a(5001),m=a(5702);const f=function(){var t,e,a;const n=(0,i.useRef)(null),{setState:c,values:l,oidObject:s,widget:d,setValue:u}=(0,i.useContext)(x.C),{textStyles:f,fontStyles:b}=(0,m.A)(d.style),{data:S,states:w}=(0,v.A)("oid"),C=(0,A.A)("oid"),y=null===s||void 0===s?void 0:s._id,k=null===s||void 0===s||null===(t=s.common)||void 0===t?void 0:t.type,_="boolean"===k||"number"===k||"string"===k||"mixed"===k,j=w.findIndex((t=>t.value===C));return(0,r.jsx)(h.A,{isValidType:_,data:S,oidValue:C,children:(0,r.jsx)(p.Box,{ref:n,sx:{overflow:"auto",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,r.jsx)(p.Select,{variant:"standard",disableUnderline:!0,value:-1!==j?w[j]:"",onChange:t=>{const e="number"!==typeof t.target.value.value?t.target.value.value:Number(t.target.value.value);c({values:(0,o.A)((0,o.A)({},l),{},{["".concat(y,".val")]:e})}),void 0!==d.data.cid&&null!==d.data.cid&&""!==d.data.cid&&"nothing_selected"!==d.data.cid?u(d.data.cid,e):u(y,e)},MenuProps:{sx:{maxWidth:null===(e=n.current)||void 0===e?void 0:e.offsetWidth},MenuListProps:{sx:{background:S.backgroundColor?(0,g.alpha)(S.backgroundColor,.7):S.background}}},sx:{width:"100%",height:"100%",maxWidth:"calc(".concat(null===(a=n.current)||void 0===a?void 0:a.offsetWidth,"px - 10%)"),"&.Mui-focused":{background:S.backgroundColorActive||S.backgroundColor||S.backgroundActive||S.background}},children:w.map(((t,e)=>{const a=d.data["iconSmall".concat(e+1)]||d.data["icon".concat(e+1)]||d.data.iconSmall||d.data.icon;return(0,r.jsx)(p.MenuItem,{value:t,sx:{background:d.data["backgroundColor".concat(e+1)]&&"".concat(d.data["backgroundColor".concat(e+1)],"!important")||"".concat(d.data["background".concat(e+1)],"!important")},children:(0,r.jsxs)(p.Stack,{direction:"row",spacing:a?1:0,sx:{alignItems:"center"},children:[(0,r.jsx)("img",{alt:"",src:a||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",style:{position:"relative",top:"calc(0px - ".concat(d.data["iconYOffset".concat(e+1)]||d.data.iconYOffset,")"),right:"calc(0px - ".concat(d.data["iconXOffset".concat(e+1)]||d.data.iconXOffset,")"),width:(a?d.data["iconSize".concat(e+1)]&&"calc(24px * ".concat(d.data["iconSize".concat(e+1)]||0," / 100)"):"0px")||d.data.iconSize&&"calc(24px * ".concat(d.data.iconSize||0," / 100)")||"24px",height:(a?d.data["iconSize".concat(e+1)]&&"calc(24px * ".concat(d.data["iconSize".concat(e+1)]||0," / 100)"):"0px")||d.data.iconSize&&"calc(24px * ".concat(d.data.iconSize||0," / 100)")||"24px",color:d.data["iconColor".concat(e+1)]||d.data.iconColor,filter:d.data["iconColor".concat(e+1)]||d.data.iconColor?"drop-shadow(0px 10000px 0)":null,transform:d.data["iconColor".concat(e+1)]||d.data.iconColor?"translateY(-10000px)":null}}),(0,r.jsx)(p.Typography,{component:p.Box,variant:"subtitle2",sx:(0,o.A)((0,o.A)((0,o.A)({whiteSpace:"pre-wrap"},b),f),{},{fontSize:d.data["valueSize".concat(e+1)]||S.valueSize,textAlign:"left",bgcolor:"transparent",color:d.data["textColor".concat(e+1)]||S.textColor,textTransform:"none",width:"100%",height:"100%",flexGrow:1,alignContent:"center"}),contentEditable:"false",dangerouslySetInnerHTML:{__html:d.data["alias".concat(e+1)]&&d.data["alias".concat(e+1)].replace(/(\r\n|\n|\r)/gm,"")||d.data["value".concat(e+1)]&&"".concat(d.data["value".concat(e+1)]).concat(d.data.unit)||""}})]})},t.value)}))})})})};class b extends n.A{static getWidgetInfo(){return{id:"tplSelectCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"SelectCollectionWidget",visWidgetLabel:"select_collection_widget",visOrder:1,visAttrs:[{name:"common",fields:[...(0,l.A)({groupName:"",allFields:!0})]},{name:"select_collection",label:"group_select_collection",fields:[...(0,s.A)(["boolean","number","string","mixed"]),...u()]},{name:"values",label:"values",indexFrom:1,indexTo:"values_count",fields:[...(0,l.A)({groupName:"",allFields:!1})]}],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-select.png"}}getWidgetInfo(){return b.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:(0,o.A)((0,o.A)({},t.widget),{},{data:this.state.rxData,style:this.state.rxStyle}),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,c.A)(this.wrapContent((0,r.jsx)(f,{})),e)}}const S=b}}]);
|
|
2
|
+
//# sourceMappingURL=src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.3f9dcb48.chunk.js","mappings":"gUAEA,MAYA,EAZqBA,IAAM,CAC1B,CACCC,KAAM,SACNC,UAAWA,KAAMC,EAAAA,EAAAA,KAACC,EAAAA,EAAiB,KAEpC,CACCC,KAAM,MACNJ,KAAM,KACNK,MAAO,Q,0ECkNT,QAhNA,WAA6B,IAADC,EAAAC,EAAAC,EAC3B,MAAMC,GAAaC,EAAAA,EAAAA,QAAO,OACpB,SAAEC,EAAQ,OAAEC,EAAM,UAAEC,EAAS,OAAEC,EAAM,SAAEC,IAC5CC,EAAAA,EAAAA,YAAWC,EAAAA,IACN,WAAEC,EAAU,WAAEC,IAAeC,EAAAA,EAAAA,GAAUN,EAAOO,QAC9C,KAAEC,EAAI,OAAEC,IAAWC,EAAAA,EAAAA,GAAQ,OAE3BC,GAAWC,EAAAA,EAAAA,GAAY,OAEvBC,EAAe,OAATd,QAAS,IAATA,OAAS,EAATA,EAAWe,IACjBC,EAAmB,OAAThB,QAAS,IAATA,GAAiB,QAARP,EAATO,EAAWiB,cAAM,IAAAxB,OAAR,EAATA,EAAmBN,KAE7B+B,EACO,YAAZF,GACY,WAAZA,GACY,WAAZA,GACY,UAAZA,EAEKG,EAAaT,EAAOU,WAAWC,GAAUA,EAAMC,QAAUV,IAoB/D,OACCvB,EAAAA,EAAAA,KAACkC,EAAAA,EA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Q,QAAQC,UACzBC,OAAQrB,KAAKW,MAAMQ,QAAQE,OAC3BC,MAAOtB,KAAKW,MAAMQ,QAAQG,MAE1BC,eAAgBvB,KAAKuB,gBAStB,OANIZ,EAAM7H,OAAOQ,KAAKkI,QAAUb,EAAM7H,OAAO2I,aAC5CzB,KAAKuB,gBAAiB,EAEtBvB,KAAKuB,gBAAiB,GAGhBG,EAAAA,EAAAA,GACN1B,KAAK2B,aAAYzJ,EAAAA,EAAAA,KAAC0J,EAAgB,KAClChB,EAEF,EAGD,S","sources":["lib/selectFields.jsx","SelectCollectionWidget/SelectCollection.jsx","SelectCollectionWidget/SelectCollectionWidget.jsx"],"sourcesContent":["import CollectionDivider from \"../components/CollectionDivider\";\n\nconst selectFields = () => [\n\t{\n\t\ttype: \"custom\",\n\t\tcomponent: () => <CollectionDivider />,\n\t},\n\t{\n\t\tname: \"cid\",\n\t\ttype: \"id\",\n\t\tlabel: \"cid\",\n\t},\n];\n\nexport default selectFields;\n","import { Box, MenuItem, Select, Stack, Typography } from \"@mui/material\";\nimport { alpha } from \"@mui/material/styles\";\nimport React, { useContext, useRef } from \"react\";\nimport CollectionBase from \"../components/CollectionBase\";\nimport { CollectionContext } from \"../components/CollectionProvider\";\nimport useData from \"../hooks/useData\";\nimport useOidValue from \"../hooks/useOidValue\";\nimport useStyles from \"../hooks/useStyles\";\n\nconst emptyIcon =\n\t\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\";\n\nfunction SelectCollection() {\n\tconst contentRef = useRef(null);\n\tconst { setState, values, oidObject, widget, setValue } =\n\t\tuseContext(CollectionContext);\n\tconst { textStyles, fontStyles } = useStyles(widget.style);\n\tconst { data, states } = useData(\"oid\");\n\n\tconst oidValue = useOidValue(\"oid\");\n\n\tconst oid = oidObject?._id;\n\tconst oidType = oidObject?.common?.type;\n\n\tconst isValidType =\n\t\toidType === \"boolean\" ||\n\t\toidType === \"number\" ||\n\t\toidType === \"string\" ||\n\t\toidType === \"mixed\";\n\n\tconst valueIndex = states.findIndex((state) => state.value === oidValue);\n\n\tconst changeHandler = (event) => {\n\t\tconst value =\n\t\t\ttypeof event.target.value.value !== \"number\"\n\t\t\t\t? event.target.value.value\n\t\t\t\t: Number(event.target.value.value);\n\n\t\tsetState({ values: { ...values, [`${oid}.val`]: value } });\n\n\t\tif (\n\t\t\twidget.data.cid !== undefined &&\n\t\t\twidget.data.cid !== null &&\n\t\t\twidget.data.cid !== \"\" &&\n\t\t\twidget.data.cid !== \"nothing_selected\"\n\t\t)\n\t\t\tsetValue(widget.data.cid, value);\n\t\telse setValue(oid, value);\n\t};\n\n\treturn (\n\t\t<CollectionBase isValidType={isValidType} data={data} oidValue={oidValue}>\n\t\t\t{/* {data.icon && (\n\t\t\t\t<img\n\t\t\t\t\talt=\"\"\n\t\t\t\t\tsrc={data.icon}\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,\n\t\t\t\t\t\theight: data.iconSize,\n\t\t\t\t\t\tcolor: data.iconColor,\n\t\t\t\t\t\tfilter: data.iconColor ? \"drop-shadow(0px 10000px 0)\" : null,\n\t\t\t\t\t\ttransform: data.iconColor ? \"translateY(-10000px)\" : null,\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t)} */}\n\n\t\t\t<Box\n\t\t\t\tref={contentRef}\n\t\t\t\tsx={{\n\t\t\t\t\toverflow: \"auto\",\n\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\theight: \"100%\",\n\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\talignItems: \"center\",\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<Select\n\t\t\t\t\tvariant=\"standard\"\n\t\t\t\t\tdisableUnderline\n\t\t\t\t\tvalue={valueIndex !== -1 ? states[valueIndex] : \"\"}\n\t\t\t\t\tonChange={changeHandler}\n\t\t\t\t\tMenuProps={{\n\t\t\t\t\t\tsx: {\n\t\t\t\t\t\t\tmaxWidth: contentRef.current?.offsetWidth,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tMenuListProps: {\n\t\t\t\t\t\t\tsx: {\n\t\t\t\t\t\t\t\tbackground: data.backgroundColor\n\t\t\t\t\t\t\t\t\t? alpha(data.backgroundColor, 0.7)\n\t\t\t\t\t\t\t\t\t: null || data.background,\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\tsx={{\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\theight: \"100%\",\n\t\t\t\t\t\tmaxWidth: `calc(${contentRef.current?.offsetWidth}px - 10%)`,\n\n\t\t\t\t\t\t\"&.Mui-focused\": {\n\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\tdata.backgroundColorActive ||\n\t\t\t\t\t\t\t\tdata.backgroundColor ||\n\t\t\t\t\t\t\t\tdata.backgroundActive ||\n\t\t\t\t\t\t\t\tdata.background,\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{states.map((state, idx) => {\n\t\t\t\t\t\tconst imgSrc =\n\t\t\t\t\t\t\twidget.data[`iconSmall${idx + 1}`] ||\n\t\t\t\t\t\t\twidget.data[`icon${idx + 1}`] ||\n\t\t\t\t\t\t\twidget.data.iconSmall ||\n\t\t\t\t\t\t\twidget.data.icon;\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\tkey={state.value}\n\t\t\t\t\t\t\t\tvalue={state}\n\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\t\t\t(widget.data[`backgroundColor${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t`${widget.data[`backgroundColor${idx + 1}`]}!important`) ||\n\t\t\t\t\t\t\t\t\t\t`${widget.data[`background${idx + 1}`]}!important`,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Stack\n\t\t\t\t\t\t\t\t\tdirection=\"row\"\n\t\t\t\t\t\t\t\t\tspacing={imgSrc ? 1 : 0}\n\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\t\t\t\t\tsrc={imgSrc || emptyIcon}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\t\t\ttop: `calc(0px - ${widget.data[`iconYOffset${idx + 1}`] || widget.data.iconYOffset})`,\n\t\t\t\t\t\t\t\t\t\t\tright: `calc(0px - ${widget.data[`iconXOffset${idx + 1}`] || widget.data.iconXOffset})`,\n\n\t\t\t\t\t\t\t\t\t\t\twidth:\n\t\t\t\t\t\t\t\t\t\t\t\t(!imgSrc && \"0px\") ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data[`iconSize${idx + 1}`] || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconSize &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data.iconSize || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\"24px\",\n\t\t\t\t\t\t\t\t\t\t\theight:\n\t\t\t\t\t\t\t\t\t\t\t\t(!imgSrc && \"0px\") ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data[`iconSize${idx + 1}`] || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconSize &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data.iconSize || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\"24px\",\n\n\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor,\n\t\t\t\t\t\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t\ttransform:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\tcomponent={Box}\n\t\t\t\t\t\t\t\t\t\tvariant=\"subtitle2\"\n\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\twhiteSpace: \"pre-wrap\",\n\t\t\t\t\t\t\t\t\t\t\t...fontStyles,\n\t\t\t\t\t\t\t\t\t\t\t...textStyles,\n\t\t\t\t\t\t\t\t\t\t\tfontSize:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`valueSize${idx + 1}`] || data.valueSize,\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: \"left\",\n\t\t\t\t\t\t\t\t\t\t\tbgcolor: \"transparent\",\n\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`textColor${idx + 1}`] || data.textColor,\n\t\t\t\t\t\t\t\t\t\t\ttextTransform: \"none\",\n\n\t\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\t\t\t\t\t\t// px: 1,\n\n\t\t\t\t\t\t\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\t\t\t\t\t\t\talignContent: \"center\",\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tcontentEditable=\"false\"\n\t\t\t\t\t\t\t\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t\t\t\t\t\t\t\t__html:\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`alias${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`alias${idx + 1}`].replace(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/(\\r\\n|\\n|\\r)/gm,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t)) ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`value${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`${widget.data[`value${idx + 1}`]}${widget.data.unit}`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</Stack>\n\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</Select>\n\t\t\t</Box>\n\t\t</CollectionBase>\n\t);\n}\n\nexport default SelectCollection;\n","import React from \"react\";\nimport Generic from \"../Generic\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\nimport commonFields from \"../lib/commonFields\";\nimport commonObjectFields from \"../lib/commonObjectFields\";\nimport selectFields from \"../lib/selectFields\";\nimport SelectCollection from \"./SelectCollection\";\n\nclass SelectCollectionWidget extends Generic {\n\tstatic getWidgetInfo() {\n\t\treturn {\n\t\t\tid: \"tplSelectCollectionWidget\",\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: \"SelectCollectionWidget\", // Name of widget\n\t\t\tvisWidgetLabel: \"select_collection_widget\", // Label for widget\n\t\t\tvisOrder: 1,\n\t\t\tvisAttrs: [\n\t\t\t\t{\n\t\t\t\t\tname: \"common\", // group name\n\t\t\t\t\tfields: [...commonFields({ groupName: \"\", allFields: true })],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"select_collection\", // group name\n\t\t\t\t\tlabel: \"group_select_collection\",\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t...commonObjectFields([\"boolean\", \"number\", \"string\", \"mixed\"]),\n\t\t\t\t\t\t...selectFields(),\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"values\",\n\t\t\t\t\tlabel: \"values\",\n\t\t\t\t\tindexFrom: 1,\n\t\t\t\t\tindexTo: \"values_count\",\n\t\t\t\t\tfields: [...commonFields({ groupName: \"\", allFields: false })],\n\t\t\t\t},\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-select.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 SelectCollectionWidget.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\n\t\t// console.log(\"inside propertiesUpdate\", this.state.values);\n\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: {\n\t\t\t\t...props.widget,\n\t\t\t\tdata: this.state.rxData,\n\t\t\t\tstyle: this.state.rxStyle,\n\t\t\t},\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(<SelectCollection />),\n\t\t\tcollectionContext,\n\t\t);\n\t}\n}\n\nexport default SelectCollectionWidget;\n"],"names":["selectFields","type","component","_jsx","CollectionDivider","name","label","_oidObject$common","_contentRef$current","_contentRef$current2","contentRef","useRef","setState","values","oidObject","widget","setValue","useContext","CollectionContext","textStyles","fontStyles","useStyles","style","data","states","useData","oidValue","useOidValue","oid","_id","oidType","common","isValidType","valueIndex","findIndex","state","value","CollectionBase","children","Box","ref","sx","overflow","width","height","display","justifyContent","alignItems","Select","variant","disableUnderline","onChange","event","target","Number","_objectSpread","concat","undefined","cid","MenuProps","maxWidth","current","offsetWidth","MenuListProps","background","backgroundColor","alpha","backgroundColorActive","backgroundActive","map","idx","imgSrc","iconSmall","icon","MenuItem","_jsxs","Stack","direction","spacing","alt","src","position","top","iconYOffset","right","iconXOffset","iconSize","color","iconColor","filter","transform","Typography","whiteSpace","fontSize","valueSize","textAlign","bgcolor","textColor","textTransform","flexGrow","alignContent","contentEditable","dangerouslySetInnerHTML","__html","replace","unit","SelectCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visOrder","visAttrs","fields","commonFields","groupName","allFields","commonObjectFields","indexFrom","indexTo","visDefaultStyle","visPrev","propertiesUpdate","actualRxData","JSON","stringify","this","rxData","lastRxData","createStateObjectAsync","onRxDataChanged","payload","onRxStyleChanged","onStateUpdated","componentDidMount","super","renderWidgetBody","props","collectionContext","refService","rxStyle","bind","isSignalVisible","getPropertyValue","mode","context","themeType","socket","theme","wrappedContent","noCard","usedInWidget","withCollectionProvider","wrapContent","SelectCollection"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/src_SelectCollectionWidget_SelectCollectionWidget_jsx.d57f196e.chunk.js","mappings":"gUAEA,MAYA,EAZqBA,IAAM,CAC1B,CACCC,KAAM,SACNC,UAAWA,KAAMC,EAAAA,EAAAA,KAACC,EAAAA,EAAiB,KAEpC,CACCC,KAAM,MACNJ,KAAM,KACNK,MAAO,Q,0EC+MT,QA7MA,WAA6B,IAADC,EAAAC,EAAAC,EAC3B,MAAMC,GAAaC,EAAAA,EAAAA,QAAO,OACpB,SAAEC,EAAQ,OAAEC,EAAM,UAAEC,EAAS,OAAEC,EAAM,SAAEC,IAC5CC,EAAAA,EAAAA,YAAWC,EAAAA,IACN,WAAEC,EAAU,WAAEC,IAAeC,EAAAA,EAAAA,GAAUN,EAAOO,QAC9C,KAAEC,EAAI,OAAEC,IAAWC,EAAAA,EAAAA,GAAQ,OAE3BC,GAAWC,EAAAA,EAAAA,GAAY,OAEvBC,EAAe,OAATd,QAAS,IAATA,OAAS,EAATA,EAAWe,IACjBC,EAAmB,OAAThB,QAAS,IAATA,GAAiB,QAARP,EAATO,EAAWiB,cAAM,IAAAxB,OAAR,EAATA,EAAmBN,KAE7B+B,EACO,YAAZF,GACY,WAAZA,GACY,WAAZA,GACY,UAAZA,EAEKG,EAAaT,EAAOU,WAAWC,GAAUA,EAAMC,QAAUV,IAoB/D,OACCvB,EAAAA,EAAAA,KAACkC,EAAAA,EAAc,CAACL,YAAaA,EAAaT,KAAMA,EAAMG,SAAUA,EAASY,UAkBxEnC,EAAAA,EAAAA,KAACoC,EA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,aAC5CzB,KAAKuB,gBAAiB,EAEtBvB,KAAKuB,gBAAiB,GAGhBG,EAAAA,EAAAA,GACN1B,KAAK2B,aAAYzJ,EAAAA,EAAAA,KAAC0J,EAAgB,KAClChB,EAEF,EAGD,S","sources":["lib/selectFields.jsx","SelectCollectionWidget/SelectCollection.jsx","SelectCollectionWidget/SelectCollectionWidget.jsx"],"sourcesContent":["import CollectionDivider from \"../components/CollectionDivider\";\n\nconst selectFields = () => [\n\t{\n\t\ttype: \"custom\",\n\t\tcomponent: () => <CollectionDivider />,\n\t},\n\t{\n\t\tname: \"cid\",\n\t\ttype: \"id\",\n\t\tlabel: \"cid\",\n\t},\n];\n\nexport default selectFields;\n","import { Box, MenuItem, Select, Stack, Typography } from \"@mui/material\";\nimport { alpha } from \"@mui/material/styles\";\nimport React, { useContext, useRef } from \"react\";\nimport CollectionBase from \"../components/CollectionBase\";\nimport { CollectionContext } from \"../components/CollectionProvider\";\nimport useData from \"../hooks/useData\";\nimport useOidValue from \"../hooks/useOidValue\";\nimport useStyles from \"../hooks/useStyles\";\n\nconst emptyIcon =\n\t\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\";\n\nfunction SelectCollection() {\n\tconst contentRef = useRef(null);\n\tconst { setState, values, oidObject, widget, setValue } =\n\t\tuseContext(CollectionContext);\n\tconst { textStyles, fontStyles } = useStyles(widget.style);\n\tconst { data, states } = useData(\"oid\");\n\n\tconst oidValue = useOidValue(\"oid\");\n\n\tconst oid = oidObject?._id;\n\tconst oidType = oidObject?.common?.type;\n\n\tconst isValidType =\n\t\toidType === \"boolean\" ||\n\t\toidType === \"number\" ||\n\t\toidType === \"string\" ||\n\t\toidType === \"mixed\";\n\n\tconst valueIndex = states.findIndex((state) => state.value === oidValue);\n\n\tconst changeHandler = (event) => {\n\t\tconst value =\n\t\t\ttypeof event.target.value.value !== \"number\"\n\t\t\t\t? event.target.value.value\n\t\t\t\t: Number(event.target.value.value);\n\n\t\tsetState({ values: { ...values, [`${oid}.val`]: value } });\n\n\t\tif (\n\t\t\twidget.data.cid !== undefined &&\n\t\t\twidget.data.cid !== null &&\n\t\t\twidget.data.cid !== \"\" &&\n\t\t\twidget.data.cid !== \"nothing_selected\"\n\t\t)\n\t\t\tsetValue(widget.data.cid, value);\n\t\telse setValue(oid, value);\n\t};\n\n\treturn (\n\t\t<CollectionBase isValidType={isValidType} data={data} oidValue={oidValue}>\n\t\t\t{/* {data.icon && (\n\t\t\t\t<img\n\t\t\t\t\talt=\"\"\n\t\t\t\t\tsrc={data.icon}\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,\n\t\t\t\t\t\theight: data.iconSize,\n\t\t\t\t\t\tcolor: data.iconColor,\n\t\t\t\t\t\tfilter: data.iconColor ? \"drop-shadow(0px 10000px 0)\" : null,\n\t\t\t\t\t\ttransform: data.iconColor ? \"translateY(-10000px)\" : null,\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t)} */}\n\n\t\t\t<Box\n\t\t\t\tref={contentRef}\n\t\t\t\tsx={{\n\t\t\t\t\toverflow: \"auto\",\n\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\theight: \"100%\",\n\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\talignItems: \"center\",\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<Select\n\t\t\t\t\tvariant=\"standard\"\n\t\t\t\t\tdisableUnderline\n\t\t\t\t\tvalue={valueIndex !== -1 ? states[valueIndex] : \"\"}\n\t\t\t\t\tonChange={changeHandler}\n\t\t\t\t\tMenuProps={{\n\t\t\t\t\t\tsx: {\n\t\t\t\t\t\t\tmaxWidth: contentRef.current?.offsetWidth,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tMenuListProps: {\n\t\t\t\t\t\t\tsx: {\n\t\t\t\t\t\t\t\tbackground: data.backgroundColor\n\t\t\t\t\t\t\t\t\t? alpha(data.backgroundColor, 0.7)\n\t\t\t\t\t\t\t\t\t: null || data.background,\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\tsx={{\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\theight: \"100%\",\n\t\t\t\t\t\tmaxWidth: `calc(${contentRef.current?.offsetWidth}px - 10%)`,\n\n\t\t\t\t\t\t\"&.Mui-focused\": {\n\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\tdata.backgroundColorActive ||\n\t\t\t\t\t\t\t\tdata.backgroundColor ||\n\t\t\t\t\t\t\t\tdata.backgroundActive ||\n\t\t\t\t\t\t\t\tdata.background,\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{states.map((state, idx) => {\n\t\t\t\t\t\tconst imgSrc =\n\t\t\t\t\t\t\twidget.data[`iconSmall${idx + 1}`] ||\n\t\t\t\t\t\t\twidget.data[`icon${idx + 1}`] ||\n\t\t\t\t\t\t\twidget.data.iconSmall ||\n\t\t\t\t\t\t\twidget.data.icon;\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\tkey={state.value}\n\t\t\t\t\t\t\t\tvalue={state}\n\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\t\t\t(widget.data[`backgroundColor${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t`${widget.data[`backgroundColor${idx + 1}`]}!important`) ||\n\t\t\t\t\t\t\t\t\t\t`${widget.data[`background${idx + 1}`]}!important`,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Stack\n\t\t\t\t\t\t\t\t\tdirection=\"row\"\n\t\t\t\t\t\t\t\t\tspacing={imgSrc ? 1 : 0}\n\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\t\t\t\t\tsrc={imgSrc || emptyIcon}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\t\t\ttop: `calc(0px - ${widget.data[`iconYOffset${idx + 1}`] || widget.data.iconYOffset})`,\n\t\t\t\t\t\t\t\t\t\t\tright: `calc(0px - ${widget.data[`iconXOffset${idx + 1}`] || widget.data.iconXOffset})`,\n\n\t\t\t\t\t\t\t\t\t\t\twidth:\n\t\t\t\t\t\t\t\t\t\t\t\t(!imgSrc && \"0px\") ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data[`iconSize${idx + 1}`] || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconSize &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data.iconSize || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\"24px\",\n\t\t\t\t\t\t\t\t\t\t\theight:\n\t\t\t\t\t\t\t\t\t\t\t\t(!imgSrc && \"0px\") ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${idx + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data[`iconSize${idx + 1}`] || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconSize &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(24px * ${widget.data.iconSize || 0} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\"24px\",\n\n\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor,\n\t\t\t\t\t\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t\ttransform:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${idx + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\tcomponent={Box}\n\t\t\t\t\t\t\t\t\t\tvariant=\"subtitle2\"\n\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\twhiteSpace: \"pre-wrap\",\n\t\t\t\t\t\t\t\t\t\t\t...fontStyles,\n\t\t\t\t\t\t\t\t\t\t\t...textStyles,\n\t\t\t\t\t\t\t\t\t\t\tfontSize:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`valueSize${idx + 1}`] || data.valueSize,\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: \"left\",\n\t\t\t\t\t\t\t\t\t\t\tbgcolor: \"transparent\",\n\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`textColor${idx + 1}`] || data.textColor,\n\t\t\t\t\t\t\t\t\t\t\ttextTransform: \"none\",\n\n\t\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\t\t\t\t\t\t// px: 1,\n\n\t\t\t\t\t\t\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\t\t\t\t\t\t\talignContent: \"center\",\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tcontentEditable=\"false\"\n\t\t\t\t\t\t\t\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t\t\t\t\t\t\t\t__html:\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`alias${idx + 1}`].replace(\n\t\t\t\t\t\t\t\t\t\t\t\t\t/(\\r\\n|\\n|\\r)/gm,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t) ||\n\t\t\t\t\t\t\t\t\t\t\t\t`${widget.data[`value${idx + 1}`]}${widget.data.unit}`,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</Stack>\n\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</Select>\n\t\t\t</Box>\n\t\t</CollectionBase>\n\t);\n}\n\nexport default SelectCollection;\n","import React from \"react\";\nimport Generic from \"../Generic\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\nimport commonFields from \"../lib/commonFields\";\nimport commonObjectFields from \"../lib/commonObjectFields\";\nimport selectFields from \"../lib/selectFields\";\nimport SelectCollection from \"./SelectCollection\";\n\nclass SelectCollectionWidget extends Generic {\n\tstatic getWidgetInfo() {\n\t\treturn {\n\t\t\tid: \"tplSelectCollectionWidget\",\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: \"SelectCollectionWidget\", // Name of widget\n\t\t\tvisWidgetLabel: \"select_collection_widget\", // Label for widget\n\t\t\tvisOrder: 1,\n\t\t\tvisAttrs: [\n\t\t\t\t{\n\t\t\t\t\tname: \"common\", // group name\n\t\t\t\t\tfields: [...commonFields({ groupName: \"\", allFields: true })],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"select_collection\", // group name\n\t\t\t\t\tlabel: \"group_select_collection\",\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t...commonObjectFields([\"boolean\", \"number\", \"string\", \"mixed\"]),\n\t\t\t\t\t\t...selectFields(),\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"values\",\n\t\t\t\t\tlabel: \"values\",\n\t\t\t\t\tindexFrom: 1,\n\t\t\t\t\tindexTo: \"values_count\",\n\t\t\t\t\tfields: [...commonFields({ groupName: \"\", allFields: false })],\n\t\t\t\t},\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-select.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 SelectCollectionWidget.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\n\t\t// console.log(\"inside propertiesUpdate\", this.state.values);\n\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: {\n\t\t\t\t...props.widget,\n\t\t\t\tdata: this.state.rxData,\n\t\t\t\tstyle: this.state.rxStyle,\n\t\t\t},\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(<SelectCollection />),\n\t\t\tcollectionContext,\n\t\t);\n\t}\n}\n\nexport default SelectCollectionWidget;\n"],"names":["selectFields","type","component","_jsx","CollectionDivider","name","label","_oidObject$common","_contentRef$current","_contentRef$current2","contentRef","useRef","setState","values","oidObject","widget","setValue","useContext","CollectionContext","textStyles","fontStyles","useStyles","style","data","states","useData","oidValue","useOidValue","oid","_id","oidType","common","isValidType","valueIndex","findIndex","state","value","CollectionBase","children","Box","ref","sx","overflow","width","height","display","justifyContent","alignItems","Select","variant","disableUnderline","onChange","event","target","Number","_objectSpread","concat","undefined","cid","MenuProps","maxWidth","current","offsetWidth","MenuListProps","background","backgroundColor","alpha","backgroundColorActive","backgroundActive","map","idx","imgSrc","iconSmall","icon","MenuItem","_jsxs","Stack","direction","spacing","alt","src","position","top","iconYOffset","right","iconXOffset","iconSize","color","iconColor","filter","transform","Typography","whiteSpace","fontSize","valueSize","textAlign","bgcolor","textColor","textTransform","flexGrow","alignContent","contentEditable","dangerouslySetInnerHTML","__html","replace","unit","SelectCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visOrder","visAttrs","fields","commonFields","groupName","allFields","commonObjectFields","indexFrom","indexTo","visDefaultStyle","visPrev","propertiesUpdate","actualRxData","JSON","stringify","this","rxData","lastRxData","createStateObjectAsync","onRxDataChanged","payload","onRxStyleChanged","onStateUpdated","componentDidMount","super","renderWidgetBody","props","collectionContext","refService","rxStyle","bind","isSignalVisible","getPropertyValue","mode","context","themeType","socket","theme","wrappedContent","noCard","usedInWidget","withCollectionProvider","wrapContent","SelectCollection"],"sourceRoot":""}
|