iobroker.vis-2-widgets-collection 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/README.md +8 -0
  2. package/img/collection-dialog.png +0 -0
  3. package/io-package.json +16 -15
  4. package/package.json +1 -1
  5. package/widgets/vis-2-widgets-collection/asset-manifest.json +10 -8
  6. package/widgets/vis-2-widgets-collection/customWidgets.js +1 -1
  7. package/widgets/vis-2-widgets-collection/customWidgets.js.map +1 -1
  8. package/widgets/vis-2-widgets-collection/img/prev-collection-dialog.png +0 -0
  9. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js +2 -0
  10. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map +1 -0
  11. package/widgets/vis-2-widgets-collection/static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js +2 -0
  12. package/widgets/vis-2-widgets-collection/static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js.map +1 -0
  13. package/widgets/vis-2-widgets-collection/static/js/{src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js → src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js} +2 -2
  14. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js.map +1 -0
  15. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.14f737b4.chunk.js +2 -0
  16. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.14f737b4.chunk.js.map +1 -0
  17. package/widgets/vis-2-widgets-collection/static/js/src_translations_js.7062f9dd.chunk.js +2 -0
  18. package/widgets/vis-2-widgets-collection/static/js/{src_translations_js.b650b4da.chunk.js.map → src_translations_js.7062f9dd.chunk.js.map} +1 -1
  19. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js +0 -2
  20. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js.map +0 -1
  21. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js.map +0 -1
  22. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.535f0a78.chunk.js +0 -2
  23. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.535f0a78.chunk.js.map +0 -1
  24. package/widgets/vis-2-widgets-collection/static/js/src_translations_js.b650b4da.chunk.js +0 -2
package/README.md CHANGED
@@ -31,12 +31,20 @@
31
31
 
32
32
  <img src="/img/collection-checkbox.png" height="150">
33
33
 
34
+ ### Dialog
35
+
36
+ <img src="/img/collection-dialog.png" height="150">
37
+
34
38
  ---
35
39
  <!--
36
40
  Placeholder for next versions:
37
41
  ### __WORK IN PROGRESS__
38
42
  -->
39
43
  ## Changelog
44
+ ### 1.4.0 (2025-02-27)
45
+
46
+ - (steiger04) Dialog added
47
+
40
48
  ### 1.3.0 (2025-02-20)
41
49
 
42
50
  - (steiger04) Button functionality for State and Button group
Binary file
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "vis-2-widgets-collection",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "news": {
6
+ "1.4.0": {
7
+ "en": "Dialog added",
8
+ "de": "Dialog hinzugefügt",
9
+ "ru": "Диалог добавлен",
10
+ "pt": "Diálogo adicionado",
11
+ "nl": "Dialoog toegevoegd",
12
+ "fr": "Boîte de dialogue ajoutée",
13
+ "it": "Dialog aggiunto",
14
+ "es": "Diálogo añadido",
15
+ "pl": "Okno dodane",
16
+ "uk": "Діалог додано",
17
+ "zh-cn": "已添加对话框"
18
+ },
6
19
  "1.3.0": {
7
20
  "en": "Button functionality for State and Button group",
8
21
  "de": "Knopffunktionalität für State und Button Gruppe",
@@ -80,19 +93,6 @@
80
93
  "pl": "suwak do mocowania błędów",
81
94
  "uk": "виправлення помилок Slider",
82
95
  "zh-cn": "修正滑动器"
83
- },
84
- "1.1.14": {
85
- "en": "Slider optimized",
86
- "de": "Slider optimiert",
87
- "ru": "Слайдер оптимизирован",
88
- "pt": "Slider otimizado",
89
- "nl": "Slider geoptimaliseerd",
90
- "fr": "Slider optimisé",
91
- "it": "Slider ottimizzato",
92
- "es": "Slider optimizado",
93
- "pl": "Suwak zoptymalizowany",
94
- "uk": "Оптимізований слайдер",
95
- "zh-cn": "滑动器优化"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -158,7 +158,8 @@
158
158
  "SliderCollectionWidget",
159
159
  "ButtonGroupCollectionWidget",
160
160
  "SwitchCollectionWidget",
161
- "CheckboxCollectionWidget"
161
+ "CheckboxCollectionWidget",
162
+ "DialogCollectionWidget"
162
163
  ]
163
164
  }
164
165
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.vis-2-widgets-collection",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "ioBroker vis-2 widget collection",
5
5
  "author": "Steiger04 <steiger04@posteo.de>",
6
6
  "contributors": [
@@ -4,12 +4,13 @@
4
4
  "vis2CollectionWidget.js": "./customWidgets.js",
5
5
  "static/js/node_modules_prop-types_index_js.7f922324.chunk.js": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js",
6
6
  "static/js/node_modules_react_index_js.a5285de4.chunk.js": "./static/js/node_modules_react_index_js.a5285de4.chunk.js",
7
- "static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js",
8
- "static/js/src_components_CollectionDivider_jsx.535f0a78.chunk.js": "./static/js/src_components_CollectionDivider_jsx.535f0a78.chunk.js",
7
+ "static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js",
8
+ "static/js/src_components_CollectionDivider_jsx.14f737b4.chunk.js": "./static/js/src_components_CollectionDivider_jsx.14f737b4.chunk.js",
9
9
  "static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.56fc7303.chunk.js": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.56fc7303.chunk.js",
10
- "static/js/src_translations_js.b650b4da.chunk.js": "./static/js/src_translations_js.b650b4da.chunk.js",
10
+ "static/js/src_translations_js.7062f9dd.chunk.js": "./static/js/src_translations_js.7062f9dd.chunk.js",
11
11
  "static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js",
12
- "static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js",
12
+ "static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js",
13
+ "static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js": "./static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js",
13
14
  "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",
14
15
  "static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js",
15
16
  "static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js",
@@ -23,12 +24,13 @@
23
24
  "customWidgets.js.map": "./customWidgets.js.map",
24
25
  "node_modules_prop-types_index_js.7f922324.chunk.js.map": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js.map",
25
26
  "node_modules_react_index_js.a5285de4.chunk.js.map": "./static/js/node_modules_react_index_js.a5285de4.chunk.js.map",
26
- "src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.da92a7ea.chunk.js.map",
27
- "src_components_CollectionDivider_jsx.535f0a78.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.535f0a78.chunk.js.map",
27
+ "src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5369616b.chunk.js.map",
28
+ "src_components_CollectionDivider_jsx.14f737b4.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.14f737b4.chunk.js.map",
28
29
  "src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.56fc7303.chunk.js.map": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.56fc7303.chunk.js.map",
29
- "src_translations_js.b650b4da.chunk.js.map": "./static/js/src_translations_js.b650b4da.chunk.js.map",
30
+ "src_translations_js.7062f9dd.chunk.js.map": "./static/js/src_translations_js.7062f9dd.chunk.js.map",
30
31
  "src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.4a6f57bf.chunk.js.map",
31
- "src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js.map": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.aef59353.chunk.js.map",
32
+ "src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map",
33
+ "src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js.map": "./static/js/src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js.map",
32
34
  "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",
33
35
  "vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map",
34
36
  "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={5721:(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)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"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:"535f0a78",src_StateCollectionWidget_StateCollectionWidget_jsx:"da92a7ea",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"56fc7303",src_translations_js:"b650b4da",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"4a6f57bf",src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx:"aef59353"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(5721);vis2CollectionWidget=t})();
1
+ var vis2CollectionWidget;(()=>{"use strict";var e={7928:(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)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"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:"14f737b4",src_StateCollectionWidget_StateCollectionWidget_jsx:"5369616b",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"56fc7303",src_translations_js:"7062f9dd",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"4a6f57bf",src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx:"95ad916f",src_DialogCollectionWidget_DialogCollectionWidget_jsx:"6063f82b"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(7928);vis2CollectionWidget=t})();
2
2
  //# sourceMappingURL=customWidgets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA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AqB/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};\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\":\"535f0a78\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"da92a7ea\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"56fc7303\",\"src_translations_js\":\"b650b4da\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"4a6f57bf\",\"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\":\"aef59353\"}[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__(5721);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
1
+ {"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD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,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};\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\":\"14f737b4\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"5369616b\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"56fc7303\",\"src_translations_js\":\"7062f9dd\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"4a6f57bf\",\"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\":\"95ad916f\",\"src_DialogCollectionWidget_DialogCollectionWidget_jsx\":\"6063f82b\"}[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__(7928);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx"],{6047:(e,t,o)=>{o.r(t),o.d(t,{default:()=>C});var i=o(7051),a=o(8437),l=o(6211),n=o(900),c=o(4376),s=o(579);const d=()=>[{type:"custom",component:()=>(0,s.jsx)(c.A,{dividerText:"label"})},{name:"withoutLabel",label:"without_label",type:"checkbox",default:!1},{name:"checkboxLabelPlacement",label:"checkbox_label_placement",type:"select",options:[{value:"top",label:"checkbox_top"},{value:"bottom",label:"checkbox_bottom"},{value:"start",label:"checkbox_start"},{value:"end",label:"checkbox_end"}],default:"end",hidden:"data.withoutLabel"},{type:"custom",component:()=>(0,s.jsx)(c.A,{})},{name:"onlyDisplay",type:"checkbox",label:"only_display",disabled:"!data.write",default:"!data.write",hidden:"!data.write"}];var r=o(8679),h=o(375),p=o(7085),x=o(4657),b=o(6016),g=o(2152),u=o(4692),y=o(5001),m=o(5702);const v=function(){var e;const[t,o]=(0,a.useState)(null),{oidObject:l,setValue:n,widget:c}=(0,a.useContext)(b.C),{textStyles:d,fontStyles:r}=(0,m.A)(c.style),{data:h}=(0,g.A)("oid"),v=(0,y.A)("oid"),w=null===l||void 0===l?void 0:l._id,C="boolean"===(null===l||void 0===l||null===(e=l.common)||void 0===e?void 0:e.type);return(0,u.A)(t,v,c,h),(0,s.jsxs)(x.A,{isValidType:C,data:h,oidValue:v,children:[h.icon&&(0,s.jsx)("img",{alt:"",src:h.icon,style:{position:"absolute",top:"calc(0px + ".concat(c.data.iconYOffset,")"),right:"calc(0px + ".concat(c.data.iconXOffset,")"),width:h.iconSize,height:h.iconSize,color:h.iconColor,filter:h.iconColor?"drop-shadow(0px 10000px 0)":null,transform:h.iconColor?"translateY(-10000px)":null}}),(0,s.jsx)(p.Box,{sx:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:void 0!==v&&(0,s.jsx)(p.FormControlLabel,{labelPlacement:c.data.checkboxLabelPlacement,sx:{width:"100%",height:"100%",display:"flex","&.MuiFormControlLabel-labelPlacementStart":{m:0},"&.MuiFormControlLabel-labelPlacementEnd":{m:0},"&.MuiFormControlLabel-labelPlacementTop":{m:0},"&.MuiFormControlLabel-labelPlacementBottom":{m:0}},control:(0,s.jsx)(p.Checkbox,{disabled:c.data.onlyDisplay,disableRipple:!0,checked:v,onChange:()=>n(w,!v),checkedIcon:(0,s.jsx)("img",{alt:"",src:h.iconActive||"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSAzSDVhMiAyIDAgMCAwLTIgMnYxNGEyIDIgMCAwIDAgMiAyaDE0YTIgMiAwIDAgMCAyLTJWNWEyIDIgMCAwIDAtMi0yem0tOSAxNGwtNS01bDEuNDEtMS40MUwxMCAxNC4xN2w3LjU5LTcuNTlMMTkgOGwtOSA5eiIvPjwvc3ZnPg==",style:{width:"calc(100% * ".concat(h.iconSizeOnly||100," / 100)"),height:"calc(100% * ".concat(h.iconSizeOnly||100," / 100)"),objectFit:"contain",color:h.iconColorActive,filter:h.iconColorActive?"drop-shadow(0px 10000px 0)":null,transform:h.iconColorActive?"translateY(-10000px)":null}}),icon:(0,s.jsx)("img",{alt:"",src:h.iconActive||"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSA1djE0SDVWNWgxNG0wLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPjwvc3ZnPg==",style:{width:"calc(100% * ".concat(h.iconSizeOnly||100," / 100)"),height:"calc(100% * ".concat(h.iconSizeOnly||100," / 100)"),objectFit:"contain",color:h.iconColorActive,filter:h.iconColorActive?"drop-shadow(0px 10000px 0)":null,transform:h.iconColorActive?"translateY(-10000px)":null}}),sx:{width:"100%",height:"100%",flexGrow:1,p:0,"& .MuiSvgIcon-root":{width:"100%",height:"100%"}}}),label:!c.data.withoutLabel&&(0,s.jsx)(p.Typography,{component:p.Box,ref:o,variant:"body2",sx:(0,i.A)((0,i.A)((0,i.A)({},r),d),{},{fontSize:h.valueSizeActive||h.valueSize,textAlign:"left",bgcolor:"transparent",color:h.textColorActive||h.textColor,textTransform:"none",p:.5,width:"100%",height:"100%",flexGrow:1,alignContent:"center"})})})})]})};class w extends l.A{static getWidgetInfo(){return{id:"tplCheckboxCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"CheckboxCollectionWidget",visWidgetLabel:"checkbox_collection_widget",visAttrs:[{name:"common",fields:[...(0,r.A)({groupName:"",allFields:!0})]},{name:"checkbox",label:"group_checkbox",fields:[...(0,h.A)(["boolean"]),...d()]},{name:"values",label:"values",indexFrom:1,indexTo:"values_count",fields:[...(0,r.A)({groupName:"",allFields:!1})]}],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-checkbox.png"}}getWidgetInfo(){return w.getWidgetInfo()}async propertiesUpdate(){const e=JSON.stringify(this.state.rxData);this.lastRxData!==e&&(this.lastRxData=e,await this.createStateObjectAsync("oid"))}async onRxDataChanged(e){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(e,t){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(e){super.renderWidgetBody(e);const t={id:e.id,refService:e.refService,style:e.style,widget:(0,i.A)((0,i.A)({},e.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 e.widget.data.noCard||e.widget.usedInWidget?this.wrappedContent=!1:this.wrappedContent=!0,(0,n.A)(this.wrapContent((0,s.jsx)(v,{})),t)}}const C=w},4692:(e,t,o)=>{o.d(t,{A:()=>a});var i=o(8437);const a=(e,t,o,a)=>{const l=("string"===typeof t||"number"===typeof t||"boolean"===typeof t)&&"".concat(t).concat(void 0!==o.data.unit?o.data.unit:""),n=a.alias||a.value||l;(0,i.useEffect)((()=>{void 0!==n&&e&&(e.innerHTML=n)}),[n,e])}}}]);
2
+ //# sourceMappingURL=src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.95ad916f.chunk.js","mappings":"i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,EAfqB5F,CAACpB,EAAYc,EAAUT,EAAQO,KACnD,MAAMuH,GACgB,kBAAbrH,GACa,kBAAbA,GACa,mBAAbA,IAAsB,GAAAe,OAC3Bf,GAAQe,YAAwBgB,IAArBxC,EAAOO,KAAKwH,KAAqB/H,EAAOO,KAAKwH,KAAO,IAE7DC,EAAezH,EAAK0H,OAAS1H,EAAKhB,OAASuI,GAEjDI,EAAAA,EAAAA,YAAU,UACY1F,IAAjBwF,GAA+BrI,IACnCA,EAAWwI,UAAYH,EAAY,GACjC,CAACA,EAAcrI,GAAY,C","sources":["lib/checkboxFields.jsx","CheckboxCollectionWidget/CheckboxCollection.jsx","CheckboxCollectionWidget/CheckboxCollectionWidget.jsx","hooks/useHtmlValue.js"],"sourcesContent":["import CollectionDivider from \"../components/CollectionDivider\";\n\nconst checkboxFields = () => [\n\t{\n\t\ttype: \"custom\",\n\t\tcomponent: () => <CollectionDivider dividerText=\"label\" />,\n\t},\n\t{\n\t\tname: \"withoutLabel\",\n\t\tlabel: \"without_label\",\n\t\ttype: \"checkbox\",\n\t\tdefault: false,\n\t},\n\t{\n\t\tname: \"checkboxLabelPlacement\",\n\t\tlabel: \"checkbox_label_placement\",\n\t\ttype: \"select\",\n\t\toptions: [\n\t\t\t{ value: \"top\", label: \"checkbox_top\" },\n\t\t\t{ value: \"bottom\", label: \"checkbox_bottom\" },\n\t\t\t{ value: \"start\", label: \"checkbox_start\" },\n\t\t\t{ value: \"end\", label: \"checkbox_end\" },\n\t\t],\n\t\tdefault: \"end\",\n\t\thidden: \"data.withoutLabel\",\n\t},\n\t{\n\t\ttype: \"custom\",\n\t\tcomponent: () => <CollectionDivider />,\n\t},\n\t{\n\t\tname: \"onlyDisplay\",\n\t\ttype: \"checkbox\",\n\t\tlabel: \"only_display\",\n\t\tdisabled: \"!data.write\",\n\t\tdefault: \"!data.write\",\n\t\thidden: \"!data.write\",\n\t},\n];\n\nexport default checkboxFields;\n","import { Box, Typography } from \"@mui/material\";\nimport { Checkbox, FormControlLabel } from \"@mui/material\";\nimport React, { useContext, useState } from \"react\";\nimport CollectionBase from \"../components/CollectionBase\";\nimport { CollectionContext } from \"../components/CollectionProvider\";\nimport useData from \"../hooks/useData\";\nimport useHtmlValue from \"../hooks/useHtmlValue\";\nimport useOidValue from \"../hooks/useOidValue\";\nimport useStyles from \"../hooks/useStyles\";\n\nconst defaultIconTrue =\n\t\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSAzSDVhMiAyIDAgMCAwLTIgMnYxNGEyIDIgMCAwIDAgMiAyaDE0YTIgMiAwIDAgMCAyLTJWNWEyIDIgMCAwIDAtMi0yem0tOSAxNGwtNS01bDEuNDEtMS40MUwxMCAxNC4xN2w3LjU5LTcuNTlMMTkgOGwtOSA5eiIvPjwvc3ZnPg==\";\nconst defaultIconFalse =\n\t\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOSA1djE0SDVWNWgxNG0wLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMlY1YzAtMS4xLS45LTItMi0yeiIvPjwvc3ZnPg==\";\n\nfunction CheckboxCollection() {\n\tconst [contentRef, setContentRef] = useState(null);\n\tconst { oidObject, setValue, widget } = useContext(CollectionContext);\n\tconst { textStyles, fontStyles } = useStyles(widget.style);\n\tconst { data } = useData(\"oid\");\n\tconst oidValue = useOidValue(\"oid\");\n\n\tconst oid = oidObject?._id;\n\tconst oidType = oidObject?.common?.type;\n\n\tconst isValidType = oidType === \"boolean\";\n\n\tuseHtmlValue(contentRef, oidValue, widget, data);\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\tsx={{\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{oidValue !== undefined && (\n\t\t\t\t\t<FormControlLabel\n\t\t\t\t\t\tlabelPlacement={widget.data.checkboxLabelPlacement}\n\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\t\tdisplay: \"flex\",\n\n\t\t\t\t\t\t\t\"&.MuiFormControlLabel-labelPlacementStart\": {\n\t\t\t\t\t\t\t\tm: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"&.MuiFormControlLabel-labelPlacementEnd\": {\n\t\t\t\t\t\t\t\tm: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"&.MuiFormControlLabel-labelPlacementTop\": {\n\t\t\t\t\t\t\t\tm: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"&.MuiFormControlLabel-labelPlacementBottom\": {\n\t\t\t\t\t\t\t\tm: 0,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tcontrol={\n\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\tdisabled={widget.data.onlyDisplay}\n\t\t\t\t\t\t\t\tdisableRipple\n\t\t\t\t\t\t\t\tchecked={oidValue}\n\t\t\t\t\t\t\t\tonChange={() => setValue(oid, !oidValue)}\n\t\t\t\t\t\t\t\tcheckedIcon={\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={data.iconActive || defaultIconTrue}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\twidth: `calc(100% * ${data.iconSizeOnly || 100} / 100)`,\n\t\t\t\t\t\t\t\t\t\t\theight: `calc(100% * ${data.iconSizeOnly || 100} / 100)`,\n\n\t\t\t\t\t\t\t\t\t\t\tobjectFit: \"contain\",\n\n\t\t\t\t\t\t\t\t\t\t\tcolor: data.iconColorActive,\n\t\t\t\t\t\t\t\t\t\t\tfilter: data.iconColorActive\n\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: null,\n\t\t\t\t\t\t\t\t\t\t\ttransform: data.iconColorActive\n\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: 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}\n\t\t\t\t\t\t\t\ticon={\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={data.iconActive || defaultIconFalse}\n\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\twidth: `calc(100% * ${data.iconSizeOnly || 100} / 100)`,\n\t\t\t\t\t\t\t\t\t\t\theight: `calc(100% * ${data.iconSizeOnly || 100} / 100)`,\n\n\t\t\t\t\t\t\t\t\t\t\tobjectFit: \"contain\",\n\n\t\t\t\t\t\t\t\t\t\t\tcolor: data.iconColorActive,\n\t\t\t\t\t\t\t\t\t\t\tfilter: data.iconColorActive\n\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: null,\n\t\t\t\t\t\t\t\t\t\t\ttransform: data.iconColorActive\n\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: 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}\n\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\t\t\t\tflexGrow: 1,\n\n\t\t\t\t\t\t\t\t\tp: 0,\n\n\t\t\t\t\t\t\t\t\t\"& .MuiSvgIcon-root\": {\n\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\t\theight: \"100%\",\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/>\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlabel={\n\t\t\t\t\t\t\t!widget.data.withoutLabel && (\n\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\tcomponent={Box}\n\t\t\t\t\t\t\t\t\tref={setContentRef}\n\t\t\t\t\t\t\t\t\tvariant=\"body2\"\n\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t...fontStyles,\n\t\t\t\t\t\t\t\t\t\t...textStyles,\n\t\t\t\t\t\t\t\t\t\tfontSize: data.valueSizeActive || data.valueSize,\n\t\t\t\t\t\t\t\t\t\ttextAlign: \"left\",\n\t\t\t\t\t\t\t\t\t\tbgcolor: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tcolor: data.textColorActive || data.textColor,\n\t\t\t\t\t\t\t\t\t\ttextTransform: \"none\",\n\t\t\t\t\t\t\t\t\t\tp: 0.5,\n\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\t\theight: \"100%\",\n\t\t\t\t\t\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\t\t\t\t\t\talignContent: \"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)\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</Box>\n\t\t</CollectionBase>\n\t);\n}\n\nexport default CheckboxCollection;\n","import React from \"react\";\nimport Generic from \"../Generic\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\nimport checkboxFields from \"../lib/checkboxFields\";\nimport commonFields from \"../lib/commonFields\";\nimport commonObjectFields from \"../lib/commonObjectFields\";\nimport CheckboxCollection from \"./CheckboxCollection\";\n\nclass CheckboxCollectionWidget extends Generic {\n\tstatic getWidgetInfo() {\n\t\treturn {\n\t\t\tid: \"tplCheckboxCollectionWidget\",\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: \"CheckboxCollectionWidget\", // Name of widget\n\t\t\tvisWidgetLabel: \"checkbox_collection_widget\", // Label for widget\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: \"checkbox\", // group name\n\t\t\t\t\tlabel: \"group_checkbox\",\n\t\t\t\t\tfields: [...commonObjectFields([\"boolean\"]), ...checkboxFields()],\n\t\t\t\t},\n\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-checkbox.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 CheckboxCollectionWidget.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(<CheckboxCollection />),\n\t\t\tcollectionContext,\n\t\t);\n\t}\n}\n\nexport default CheckboxCollectionWidget;\n","import { useEffect } from \"react\";\n\nconst useHtmlValue = (contentRef, oidValue, widget, data) => {\n\tconst oidValueUnit =\n\t\t(typeof oidValue === \"string\" ||\n\t\t\ttypeof oidValue === \"number\" ||\n\t\t\ttypeof oidValue === \"boolean\") &&\n\t\t`${oidValue}${widget.data.unit !== undefined ? widget.data.unit : \"\"}`;\n\n\tconst contentValue = data.alias || data.value || oidValueUnit;\n\n\tuseEffect(() => {\n\t\tif (contentValue === undefined || !contentRef) return;\n\t\tcontentRef.innerHTML = contentValue;\n\t}, [contentValue, contentRef]);\n};\n\nexport default useHtmlValue;\n"],"names":["checkboxFields","type","component","_jsx","CollectionDivider","dividerText","name","label","default","options","value","hidden","disabled","_oidObject$common","contentRef","setContentRef","useState","oidObject","setValue","widget","useContext","CollectionContext","textStyles","fontStyles","useStyles","style","data","useData","oidValue","useOidValue","oid","_id","isValidType","common","useHtmlValue","_jsxs","CollectionBase","children","icon","alt","src","position","top","concat","iconYOffset","right","iconXOffset","width","iconSize","height","color","iconColor","filter","transform","Box","sx","display","justifyContent","alignItems","undefined","FormControlLabel","labelPlacement","checkboxLabelPlacement","m","control","Checkbox","onlyDisplay","disableRipple","checked","onChange","checkedIcon","iconActive","iconSizeOnly","objectFit","iconColorActive","flexGrow","p","withoutLabel","Typography","ref","variant","_objectSpread","fontSize","valueSizeActive","valueSize","textAlign","bgcolor","textColorActive","textColor","textTransform","alignContent","CheckboxCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visAttrs","fields","commonFields","groupName","allFields","commonObjectFields","indexFrom","indexTo","visDefaultStyle","visPrev","propertiesUpdate","actualRxData","JSON","stringify","this","state","rxData","lastRxData","createStateObjectAsync","onRxDataChanged","payload","onRxStyleChanged","onStateUpdated","componentDidMount","super","renderWidgetBody","props","collectionContext","refService","rxStyle","setState","bind","values","isSignalVisible","getPropertyValue","mode","context","themeType","socket","theme","wrappedContent","noCard","usedInWidget","withCollectionProvider","wrapContent","CheckboxCollection","oidValueUnit","unit","contentValue","alias","useEffect","innerHTML"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_DialogCollectionWidget_DialogCollectionWidget_jsx"],{2840:(e,t,o)=>{o.r(t),o.d(t,{default:()=>C});var i=o(7051),l=o(8437),a=o(6211),n=o(900),s=o(8679),d=o(4376),c=o(579);const r=()=>[{name:"view",label:"view",type:"select-views",multiple:!1},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"dialogAutoClose",label:"dialog_auto_close",type:"slider",min:0,max:3e4,step:100},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"oid",type:"id",label:"oid",tooltip:"dialog_set_oid_tooltip"},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"dialogWidth",label:"dialog_width",type:"slider",min:1,max:100,default:100,step:1},{name:"dialogHeight",label:"dialog_height",type:"slider",min:1,max:100,default:100,step:1},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"dialogBackgroundColor",label:"background_color",type:"color"},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{dividerText:"dialog_button"})},{name:"value",label:"value",type:"html",default:""},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"dialogCloseButton",label:"dialog_close_button",type:"checkbox",default:!1},{label:"",type:"custom",component:()=>(0,c.jsx)(d.A,{})},{name:"onlyIcon",label:"only_icon",type:"checkbox",default:!1,hidden:"data.onlyText"},{name:"onlyText",label:"only_text",type:"checkbox",default:!1,hidden:"data.onlyIcon"}];var p=o(7085),g=o(4535),u=o(4657),h=o(6016),x=o(2152),y=o(4692),m=o(5702),A=o(4802);function f(e){let{open:t,handleClose:o,widget:i,data:l,getWidgetView:a}=e;return(0,c.jsx)(p.Modal,{onClose:o,open:t,sx:{display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:i.data.dialogBackgroundColor||"inherit"},children:(0,c.jsx)(p.Box,{sx:{width:"".concat(i.data.dialogWidth,"%"),height:"".concat(i.data.dialogHeight,"%")},children:(0,c.jsxs)(u.A,{data:l,sx:{flexDirection:"column"},children:[(0,c.jsx)(p.Box,{sx:{position:"relative",overflow:"auto",width:"100%",height:"100%"},children:a(i.data.view,{style:{"background-color":"transparent"}})}),i.data.dialogCloseButton&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(p.Divider,{sx:{width:"100%"}}),(0,c.jsx)(p.IconButton,{sx:{alignSelf:"flex-end"},"aria-label":"delete",onClick:o,children:(0,c.jsx)(A.A,{})})]})]})})})}const v=(0,g.Ay)(p.ButtonBase)({width:"100% !important",height:"100% !important",display:"flex",justifyContent:"center",alignItems:"center"});const b=function(){var e;const[t,o]=(0,l.useState)(!1),a=(0,l.useRef)(null),[n,s]=(0,l.useState)(null),{oidObject:d,widget:r,getWidgetView:g,setValue:A}=(0,l.useContext)(h.C),{textStyles:b,fontStyles:w}=(0,m.A)(r.style),{data:C}=(0,x.A)("oid");(0,y.A)(n,"",r,C);const j=null===d||void 0===d?void 0:d._id,_="boolean"===(null===d||void 0===d||null===(e=d.common)||void 0===e?void 0:e.type)||!r.data.oid||"nothing_selected"===r.data.oid;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(f,{open:t,handleClose:()=>{a.current&&(clearTimeout(a.current),a.current=null),o(!1)},widget:r,data:C,getWidgetView:g}),(0,c.jsx)(u.A,{isValidType:_,data:C,children:(0,c.jsx)(p.Box,{sx:{width:"100%",height:"100%",display:"flex"},children:(0,c.jsxs)(v,{onClick:()=>{A(j,!0),(()=>{let e=r.data.dialogAutoClose;null!==e&&void 0!==e&&""!==e?(!0!==e&&"true"!==e||(e=1e4),e=parseInt(e,10),e<60&&(e*=1e3),e=e||1e3,a.current=setTimeout((()=>{a.current=null,o(!1)}),e),o(!0)):o(!0)})()},sx:{"& .MuiTouchRipple-root span":{color:C.iconColor}},children:[r.data.onlyIcon||!r.data.onlyText&&!r.data.onlyIcon?(0,c.jsx)(p.Box,{sx:{overflow:"hidden",p:.5,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,c.jsx)("img",{alt:"",src:C.icon||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",style:{position:"relative",objectFit:"contain",top:"calc(0px - ".concat(r.data.iconYOffset,")"),right:"calc(0px - ".concat(r.data.iconXOffset,")"),width:"".concat(C.iconSizeOnly||"100","%"),height:"".concat(C.iconSizeOnly||"100","%"),color:C.iconColor,filter:C.iconColor?"drop-shadow(0px 10000px 0)":null,transform:C.iconColor?"translateY(-10000px)":null}})}):null,r.data.onlyText||!r.data.onlyText&&!r.data.onlyIcon?(0,c.jsx)(p.Typography,{ref:s,variant:"body2",sx:(0,i.A)((0,i.A)((0,i.A)({overflow:"hidden",width:"100%",height:"100%",p:.5,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},w),b),{},{fontSize:C.valueSize,color:C.textColor,textTransform:"none"})}):null]})})})]})};class w extends a.A{static getWidgetInfo(){return{id:"tplDialogCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"DialogCollectionWidget",visWidgetLabel:"dialog_collection_widget",visOrder:1,visAttrs:[{name:"common",fields:[...(0,s.A)({groupName:"",allFields:!0})]},{name:"dialog",label:"group_dialog",fields:[...r()]}],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-dialog.png"}}getWidgetInfo(){return w.getWidgetInfo()}async propertiesUpdate(){const e=JSON.stringify(this.state.rxData);this.lastRxData!==e&&(this.lastRxData=e,await this.createStateObjectAsync("oid"))}async onRxDataChanged(e){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(e,t){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(e){super.renderWidgetBody(e);const t={id:e.id,refService:e.refService,style:e.style,widget:(0,i.A)((0,i.A)({},e.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,getWidgetView:this.getWidgetView.bind(this),wrappedContent:this.wrappedContent};return e.widget.data.noCard||e.widget.usedInWidget?this.wrappedContent=!1:this.wrappedContent=!0,(0,n.A)(this.wrapContent((0,c.jsx)(b,{})),t)}}const C=w},4692:(e,t,o)=>{o.d(t,{A:()=>l});var i=o(8437);const l=(e,t,o,l)=>{const a=("string"===typeof t||"number"===typeof t||"boolean"===typeof t)&&"".concat(t).concat(void 0!==o.data.unit?o.data.unit:""),n=l.alias||l.value||a;(0,i.useEffect)((()=>{void 0!==n&&e&&(e.innerHTML=n)}),[n,e])}},4802:(e,t,o)=>{var i=o(2613);t.A=void 0;var l=i(o(39)),a=o(579);t.A=(0,l.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")}}]);
2
+ //# sourceMappingURL=src_DialogCollectionWidget_DialogCollectionWidget_jsx.6063f82b.chunk.js.map