iobroker.vis-2-widgets-collection 1.1.19 → 1.2.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 (29) hide show
  1. package/README.md +8 -0
  2. package/img/collection-checkbox.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 +12 -10
  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-checkbox.png +0 -0
  9. package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js +2 -0
  10. package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js.map +1 -0
  11. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js +2 -0
  12. package/widgets/vis-2-widgets-collection/static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js.map +1 -0
  13. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js +2 -0
  14. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js.map +1 -0
  15. package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js +2 -0
  16. package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js.map +1 -0
  17. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.c52449ed.chunk.js +2 -0
  18. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.c52449ed.chunk.js.map +1 -0
  19. package/widgets/vis-2-widgets-collection/static/js/src_translations_js.b650b4da.chunk.js +2 -0
  20. package/widgets/vis-2-widgets-collection/static/js/{src_translations_js.18023e1d.chunk.js.map → src_translations_js.b650b4da.chunk.js.map} +1 -1
  21. package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js +0 -2
  22. package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js.map +0 -1
  23. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.13c87c9d.chunk.js +0 -2
  24. package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.13c87c9d.chunk.js.map +0 -1
  25. package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js +0 -2
  26. package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js.map +0 -1
  27. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.9d2cdad6.chunk.js +0 -2
  28. package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.9d2cdad6.chunk.js.map +0 -1
  29. package/widgets/vis-2-widgets-collection/static/js/src_translations_js.18023e1d.chunk.js +0 -2
package/README.md CHANGED
@@ -27,12 +27,20 @@
27
27
 
28
28
  <img src="/img/collection-switch.png" height="150">
29
29
 
30
+ ### Checkbox
31
+
32
+ <img src="/img/collection-checkbox.png" height="150">
33
+
30
34
  ---
31
35
  <!--
32
36
  Placeholder for next versions:
33
37
  ### __WORK IN PROGRESS__
34
38
  -->
35
39
  ## Changelog
40
+ ### 1.2.0 (2025-02-16)
41
+
42
+ - (steiger04) Checkbox added and widget optimizations
43
+
36
44
  ### 1.1.19 (2025-02-08)
37
45
 
38
46
  - (steiger04) Button group optimized
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.1.19",
4
+ "version": "1.2.0",
5
5
  "news": {
6
+ "1.2.0": {
7
+ "en": "Checkbox added and widget optimizations",
8
+ "de": "Checkbox hinzugefügt und Widget-Optimierungen",
9
+ "ru": "Добавленные и виджетные оптимизации",
10
+ "pt": "Caixa de seleção adicionada e otimização de widgets",
11
+ "nl": "Checkbox toegevoegd en widget optimalisaties",
12
+ "fr": "Boîte à cocher ajoutée et optimisations de widget",
13
+ "it": "Checkbox aggiunto e ottimizzazioni widget",
14
+ "es": "Checkbox añadido y optimizaciones widget",
15
+ "pl": "Dodana opcja i optymalizacja widżetu",
16
+ "uk": "Оптимізація чекбоксів та віджетів",
17
+ "zh-cn": "添加复选框和部件优化"
18
+ },
6
19
  "1.1.19": {
7
20
  "en": "Button group optimized",
8
21
  "de": "Tastengruppe optimiert",
@@ -16,19 +29,6 @@
16
29
  "uk": "Оптимізована кнопка",
17
30
  "zh-cn": "按钮组优化"
18
31
  },
19
- "1.1.18": {
20
- "en": "State optimized",
21
- "de": "Zustand optimiert",
22
- "ru": "Оптимизация государства",
23
- "pt": "Estado otimizado",
24
- "nl": "Staat geoptimaliseerd",
25
- "fr": "État optimisé",
26
- "it": "Stato ottimizzato",
27
- "es": "Estado optimizado",
28
- "pl": "Stan zoptymalizowany",
29
- "uk": "Державний оптимізований",
30
- "zh-cn": "状态优化"
31
- },
32
32
  "1.1.17": {
33
33
  "en": "bugfixing header / footer",
34
34
  "de": "bugfixing header / fußzeile",
@@ -157,7 +157,8 @@
157
157
  "StateCollectionWidget",
158
158
  "SliderCollectionWidget",
159
159
  "ButtonGroupCollectionWidget",
160
- "SwitchCollectionWidget"
160
+ "SwitchCollectionWidget",
161
+ "CheckboxCollectionWidget"
161
162
  ]
162
163
  }
163
164
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.vis-2-widgets-collection",
3
- "version": "1.1.19",
3
+ "version": "1.2.0",
4
4
  "description": "ioBroker vis-2 widget collection",
5
5
  "author": "Steiger04 <steiger04@posteo.de>",
6
6
  "contributors": [
@@ -4,11 +4,12 @@
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.13c87c9d.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.13c87c9d.chunk.js",
8
- "static/js/src_components_CollectionDivider_jsx.9d2cdad6.chunk.js": "./static/js/src_components_CollectionDivider_jsx.9d2cdad6.chunk.js",
9
- "static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js",
10
- "static/js/src_translations_js.18023e1d.chunk.js": "./static/js/src_translations_js.18023e1d.chunk.js",
11
- "static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js",
7
+ "static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js",
8
+ "static/js/src_components_CollectionDivider_jsx.c52449ed.chunk.js": "./static/js/src_components_CollectionDivider_jsx.c52449ed.chunk.js",
9
+ "static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js",
10
+ "static/js/src_translations_js.b650b4da.chunk.js": "./static/js/src_translations_js.b650b4da.chunk.js",
11
+ "static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js",
12
+ "static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js",
12
13
  "static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js",
13
14
  "static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js",
14
15
  "static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js",
@@ -22,11 +23,12 @@
22
23
  "customWidgets.js.map": "./customWidgets.js.map",
23
24
  "node_modules_prop-types_index_js.7f922324.chunk.js.map": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js.map",
24
25
  "node_modules_react_index_js.a5285de4.chunk.js.map": "./static/js/node_modules_react_index_js.a5285de4.chunk.js.map",
25
- "src_StateCollectionWidget_StateCollectionWidget_jsx.13c87c9d.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.13c87c9d.chunk.js.map",
26
- "src_components_CollectionDivider_jsx.9d2cdad6.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.9d2cdad6.chunk.js.map",
27
- "src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js.map": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.492dcb68.chunk.js.map",
28
- "src_translations_js.18023e1d.chunk.js.map": "./static/js/src_translations_js.18023e1d.chunk.js.map",
29
- "src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.87d970cf.chunk.js.map",
26
+ "src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.20241b7f.chunk.js.map",
27
+ "src_components_CollectionDivider_jsx.c52449ed.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.c52449ed.chunk.js.map",
28
+ "src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js.map": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js.map",
29
+ "src_translations_js.b650b4da.chunk.js.map": "./static/js/src_translations_js.b650b4da.chunk.js.map",
30
+ "src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.8e729079.chunk.js.map",
31
+ "src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js.map": "./static/js/src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js.map",
30
32
  "vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map",
31
33
  "vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map",
32
34
  "vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map",
@@ -1,2 +1,2 @@
1
- var vis2CollectionWidget;(()=>{"use strict";var e={6201:(e,_,s)=>{var t={"./StateCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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(7963))),"./SliderCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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(1663))),"./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(9379))),"./translations":()=>s.e("src_translations_js").then((()=>()=>s(5850))),"./SwitchCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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(6018)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"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:"9d2cdad6",src_StateCollectionWidget_StateCollectionWidget_jsx:"13c87c9d",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"492dcb68",src_translations_js:"18023e1d",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"87d970cf"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(6201);vis2CollectionWidget=t})();
1
+ var vis2CollectionWidget;(()=>{"use strict";var e={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(2127))),"./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:"c52449ed",src_StateCollectionWidget_StateCollectionWidget_jsx:"20241b7f",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"d14728a0",src_translations_js:"b650b4da",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"8e729079",src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx:"ecaf56b4"}[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})();
2
2
  //# sourceMappingURL=customWidgets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC,EAAE,yDAA0DD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,wCAAyCD,EAAoBC,EAAE,yDAAyDC,MAAK,IAAM,IAASF,EAAoB,QAEt1B,2BAA4B,IACpBF,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,w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D,EAAK,GAChBE,EAAcF,EAAK,GACnBG,EAAUH,EAAK,GAGIvG,EAAI,EAC3B,GAAGwG,EAASG,MAAMlB,GAAgC,IAAxBI,EAAgBJ,KAAa,CACtD,IAAInI,KAAYmJ,EACZxK,EAAoBO,EAAEiK,EAAanJ,KACrCrB,EAAoByB,EAAEJ,GAAYmJ,EAAYnJ,IAGhD,GAAGoJ,EAAsBA,EAAQzK,EAClC,CAEA,IADGqK,GAA4BA,EAA2BC,GACrDvG,EAAIwG,EAASvG,OAAQD,IACzB1B,EAAUkI,EAASxG,GAChB/D,EAAoBO,EAAEqJ,EAAiBvH,IAAYuH,EAAgBvH,IACrEuH,EAAgBvH,GAAS,KAE1BuH,EAAgBvH,GAAW,CAC5B,EAIGsI,EAAqBC,KAAwD,kDAAIA,KAAwD,mDAAK,GAClJD,EAAmBzF,QAAQkF,EAAqB/E,KAAK,KAAM,IAC3DsF,EAAmBlH,KAAO2G,EAAqB/E,KAAK,KAAMsF,EAAmBlH,KAAK4B,KAAKsF,G,KCpFvF,IAAIE,EAAsB7K,EAAoB,M","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./StateCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_StateCollectionWidget_StateCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7963)))));\n\t},\n\t\"./SliderCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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__(1663)))));\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__(9379)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t},\n\t\"./SwitchCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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__(6018)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\":\"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\":\"9d2cdad6\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"13c87c9d\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"492dcb68\",\"src_translations_js\":\"18023e1d\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"87d970cf\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-widgets-react-collection:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-widgets-react-collection\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\")]).then(() => (() => (__webpack_require__(4999))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1200))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1200))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(7950))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(4999)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\": [\n\t\t8565,\n\t\t3479\n\t],\n\t\"src_components_CollectionDivider_jsx\": [\n\t\t7085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CollectionWidget\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(mui_system_mui_system\\-webpack_sharing_consume_default_react\\-d\\-dde2d4|prop\\-types_prop\\-types|react_react)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(6201);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
1
+ {"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC,EAAE,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EAAEqJ,EAAiBvH,KAEf,KAD1ByH,EAAqBF,EAAgBvH,MACRuH,EAAgBvH,QAAW3B,GACrDoJ,GAAoB,CACtB,IAAIE,EAAYrF,IAAyB,SAAfA,EAAMW,KAAkB,UAAYX,EAAMW,MAChE2E,EAAUtF,GAASA,EAAMY,QAAUZ,EAAMY,OAAOf,IACpDmF,EAAMO,QAAU,iBAAmB7H,EAAU,cAAgB2H,EAAY,KAAOC,EAAU,IAC1FN,EAAM5I,KAAO,iBACb4I,EAAMrE,KAAO0E,EACbL,EAAMQ,QAAUF,EAChBH,EAAmB,GAAGH,EACvB,CACD,GAEwC,SAAWtH,EAASA,EAC9D,CAEF,EAcF,IAAI+H,EAAuB,CAACC,EAA4BC,KACvD,IAKIjJ,EAAUgB,EALVkI,EAAWD,EAAK,GAChBE,EAAcF,EAAK,GACnBG,EAAUH,EAAK,GAGIvG,EAAI,EAC3B,GAAGwG,EAASG,MAAMlB,GAAgC,IAAxBI,EAAgBJ,KAAa,CACtD,IAAInI,KAAYmJ,EACZxK,EAAoBO,EAAEiK,EAAanJ,KACrCrB,EAAoByB,EAAEJ,GAAYmJ,EAAYnJ,IAGhD,GAAGoJ,EAAsBA,EAAQzK,EAClC,CAEA,IADGqK,GAA4BA,EAA2BC,GACrDvG,EAAIwG,EAASvG,OAAQD,IACzB1B,EAAUkI,EAASxG,GAChB/D,EAAoBO,EAAEqJ,EAAiBvH,IAAYuH,EAAgBvH,IACrEuH,EAAgBvH,GAAS,KAE1BuH,EAAgBvH,GAAW,CAC5B,EAIGsI,EAAqBC,KAAwD,kDAAIA,KAAwD,mDAAK,GAClJD,EAAmBzF,QAAQkF,EAAqB/E,KAAK,KAAM,IAC3DsF,EAAmBlH,KAAO2G,EAAqB/E,KAAK,KAAMsF,EAAmBlH,KAAK4B,KAAKsF,G,KCpFvF,IAAIE,EAAsB7K,EAAoB,M","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./StateCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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__(2127)))));\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\":\"c52449ed\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"20241b7f\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"d14728a0\",\"src_translations_js\":\"b650b4da\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"8e729079\",\"src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx\":\"ecaf56b4\"}[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":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx"],{3190:(t,o,a)=>{a.r(o),a.d(o,{default:()=>A});var e=a(7051),n=a(8437),i=a(6211),l=a(900),r=a(4376),c=a(579);const d=()=>[{type:"custom",component:()=>(0,c.jsx)(r.A,{})},{name:"onlyIcon",type:"checkbox",label:"only_icon",hidden:"data.onlyText"},{name:"onlyText",type:"checkbox",label:"only_text",hidden:"data.onlyIcon"},{name:"buttonGroupVariant",label:"button_group_variant",type:"select",options:[{value:"text",label:"button_group_text"},{value:"outlined",label:"button_group_outlined"}],default:"text"},{name:"buttonGroupOrientation",label:"button_group_orientation",type:"select",options:[{value:"horizontal",label:"horizontal"},{value:"vertical",label:"vertical"}],default:"horizontal"},{name:"buttonGroupColor",label:"button_group_color",type:"color"}];var u=a(8679),s=a(375),p=a(7085),b=a(8565),g=a(4657),h=a(6016),v=a(2152),x=a(6255),C=a(5001),f=a(5702);const m=function(){var t;const{values:o,setState:a,oidObject:i,widget:l}=(0,n.useContext)(h.C),{data:r,states:d,activeIndex:u}=(0,v.A)("oid"),{fontStyles:s,textStyles:m}=(0,f.A)(l.style),y=(0,C.A)("oid"),A=l.data.buttonGroupVariant,G=l.data.buttonGroupOrientation,S=null===i||void 0===i?void 0:i._id,w=null===i||void 0===i||null===(t=i.common)||void 0===t?void 0:t.type,k="boolean"===w||"number"===w||"string"===w;return(0,x.A)({value:y,data:l.data}),(0,c.jsxs)(g.A,{isValidType:k,data:r,oidValue:y,bgActive:!1,children:[(r.iconActive||r.icon)&&(0,c.jsx)("img",{alt:"",src:r.iconActive||r.icon,style:{position:"absolute",top:"calc(0px + ".concat(l.data.iconYOffset,")"),right:"calc(0px + ".concat(l.data.iconXOffset,")"),width:r.iconSize,height:r.iconSize,color:r.iconColorActive||r.iconColor,filter:r.iconColorActive||r.iconColor?"drop-shadow(0px 10000px 0)":null,transform:r.iconColorActive||r.iconColor?"translateY(-10000px)":null}}),(0,c.jsx)(p.Box,{sx:{width:"100%",height:"100%",display:"flex"},children:(0,c.jsx)(p.ToggleButtonGroup,{exclusive:!0,value:y,disabled:"number"!==w&&"string"!==w&&"boolean"!==w,fullWidth:!0,variant:A,orientation:G,sx:{display:"flex",flexDirection:"vertical"===G?"column":"row",justifyContent:"space-between",alignItems:"center","&.MuiToggleButtonGroup-root":{},"& .MuiToggleButtonGroup-firstButton":{borderTopWidth:"outlined"===l.data.buttonGroupVariant?null:0,borderLeftWidth:"outlined"===l.data.buttonGroupVariant?null:0,borderRightWidth:"outlined"===l.data.buttonGroupVariant||"horizontal"===l.data.buttonGroupOrientation?null:0,borderBottomWidth:"outlined"===l.data.buttonGroupVariant?null:"horizontal"===l.data.buttonGroupOrientation?0:null,borderColor:l.data.buttonGroupColor&&(0,b.alpha)(l.data.buttonGroupColor,.2),borderRadius:!l.data.basePadding&&0},"& .MuiToggleButtonGroup-middleButton":{borderTopWidth:"outlined"===l.data.buttonGroupVariant?null:"horizontal"===l.data.buttonGroupOrientation?0:null,borderLeftWidth:"outlined"===l.data.buttonGroupVariant||"horizontal"===l.data.buttonGroupOrientation?null:0,borderRightWidth:"outlined"===l.data.buttonGroupVariant||"horizontal"===l.data.buttonGroupOrientation?null:0,borderBottomWidth:"outlined"===l.data.buttonGroupVariant?null:"horizontal"===l.data.buttonGroupOrientation?0:null,borderColor:l.data.buttonGroupColor&&(0,b.alpha)(l.data.buttonGroupColor,.2)},"& .MuiToggleButtonGroup-lastButton":{borderTopWidth:"outlined"===l.data.buttonGroupVariant?null:"horizontal"===l.data.buttonGroupOrientation?0:null,borderLeftWidth:"outlined"===l.data.buttonGroupVariant?null:0,borderRightWidth:"outlined"===l.data.buttonGroupVariant?null:0,borderBottomWidth:"outlined"===l.data.buttonGroupVariant?null:0,borderColor:l.data.buttonGroupColor&&(0,b.alpha)(l.data.buttonGroupColor,.2),borderRadius:!l.data.basePadding&&0}},children:d.map(((t,n)=>{let{value:i,label:d}=t;return(0,c.jsx)(p.ToggleButton,{disableRipple:!0,value:i,sx:{width:"100%",height:"100%",p:0,display:"flex",justifyContent:"center",alignItems:"center",background:u===n+1&&l.data.backgroundColorActive||l.data["backgroundColor".concat(n+1)]||r.backgroundColor||u===n+1&&l.data.backgroundActive||l.data["background".concat(n+1)]||r.background,"&.MuiToggleButton-root.Mui-selected":{background:u===n+1&&l.data.backgroundColorActive||l.data["backgroundColor".concat(n+1)]||r.backgroundColor||u===n+1&&l.data.backgroundActive||l.data["background".concat(n+1)]||r.background},"&:hover":{filter:u===n+1&&l.data.iconHoverActive&&"brightness(".concat(l.data.iconHoverActive,"%)")||l.data["iconHover".concat(n+1)]&&"brightness(".concat(l.data["iconHover".concat(n+1)],"%)")||r.iconHover&&"brightness(".concat(r.iconHover||"100%",")"),background:u===n+1&&l.data.backgroundColorActive||l.data["backgroundColor".concat(n+1)]||r.backgroundColor||u===n+1&&l.data.backgroundActive||l.data["background".concat(n+1)]||r.background}},onClick:()=>{a({values:(0,e.A)((0,e.A)({},o),{},{["".concat(S,".val")]:i})})},children:(0,c.jsxs)(p.Box,{sx:{width:"100%",height:"100%",p:.5,display:"flex",flexDirection:"column",justifyContent:"space-around",alignItems:"center"},children:[!l.data.onlyText&&(u===n+1&&(l.data.iconActive||l.data.iconSmallActive)||l.data["icon".concat(n+1)]||l.data["iconSmall".concat(n+1)]||r.icon)&&(0,c.jsx)(p.Box,{sx:{overflow:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,c.jsx)("img",{src:u===n+1&&(l.data.iconActive||l.data.iconSmallActive)||l.data["icon".concat(n+1)]||l.data["iconSmall".concat(n+1)]||r.icon,alt:"",style:{position:"relative",bottom:l.data["iconYOffset".concat(n+1)],left:l.data["iconXOffset".concat(n+1)],objectFit:"contain",width:u===n+1&&l.data.iconSizeActive&&"calc(100% * ".concat(l.data.iconSizeActive||100," / 100)")||l.data["iconSize".concat(n+1)]&&"calc(100% * ".concat(l.data["iconSize".concat(n+1)]||100," / 100)")||"100%",height:u===n+1&&l.data.iconSizeActive&&"calc(100% * ".concat(l.data.iconSizeActive||100," / 100)")||l.data["iconSize".concat(n+1)]&&"calc(100% * ".concat(l.data["iconSize".concat(n+1)]||100," / 100)")||"100%",color:u===n+1&&l.data.iconColorActive||l.data["iconColor".concat(n+1)]||l.data.buttonGroupColor||r.iconColor,filter:u===n+1&&l.data.iconColorActive||l.data["iconColor".concat(n+1)]||l.data.buttonGroupColor||r.iconColor?"drop-shadow(0px 10000px 0)":null,transform:u===n+1&&l.data.iconColorActive||l.data["iconColor".concat(n+1)]||l.data.buttonGroupColor||r.iconColor?"translateY(-10000px)":null}})}),!l.data.onlyIcon&&(0,c.jsx)(p.Box,{sx:{width:"100%",pt:.5,display:"flex",justifyContent:"center",alignItems:"center"},children:(0,c.jsx)(p.Typography,{ref:t=>{t&&(t.innerHTML=u===n+1&&l.data.aliasActive||d||i)},noWrap:!0,variant:"body2",sx:(0,e.A)((0,e.A)((0,e.A)({},s),m),{},{textTransform:"none",fontSize:u===n+1&&"number"===typeof l.data.valueSizeActive&&"".concat(l.data.valueSizeActive,"%")||"number"===typeof l.data["valueSize".concat(n+1)]&&"".concat(l.data["valueSize".concat(n+1)],"%")||r.valueSize,color:u===n+1&&l.data.textColorActive||l.data["textColor".concat(n+1)]||l.data.buttonGroupColor||r.textColor})})})]})},n)}))})})]})};class y extends i.A{static getWidgetInfo(){return{id:"tplButtonGroupCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"ButtonGroupCollectionWidget",visWidgetLabel:"button_group_collection_widget",visAttrs:[{name:"common",fields:[...(0,u.A)()]},{name:"buttonGroup",label:"button_group",fields:[...(0,s.A)(["string","number","boolean"]),...d()]},{name:"active",label:"group_active",fields:[...(0,u.A)({groupName:"Active",allFields:!1})]},{name:"values",label:"values",indexFrom:1,indexTo:"values_count",fields:[...(0,u.A)({groupName:"",allFields:!1})]}],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-button-group.png"}}getWidgetInfo(){return y.getWidgetInfo()}async propertiesUpdate(){const t=JSON.stringify(this.state.rxData);this.lastRxData!==t&&(this.lastRxData=t,await this.createStateObjectAsync("oid"))}async onRxDataChanged(t){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(t,o){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(t){super.renderWidgetBody(t);const o={id:t.id,refService:t.refService,style:t.style,widget:(0,e.A)((0,e.A)({},t.widget),{},{data:this.state.rxData,style:this.state.rxStyle}),setValue:this.setValue,setState:this.setState.bind(this),oidObject:this.state.oidObject,values:this.state.values,isSignalVisible:this.isSignalVisible.bind(this),getPropertyValue:this.getPropertyValue.bind(this),mode:this.props.context.themeType,socket:this.props.context.socket,theme:this.props.context.theme,wrappedContent:this.wrappedContent};return t.widget.data.noCard||t.widget.usedInWidget?this.wrappedContent=!1:this.wrappedContent=!0,(0,l.A)(this.wrapContent((0,c.jsx)(m,{})),o)}}const A=y}}]);
2
+ //# sourceMappingURL=src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.d14728a0.chunk.js","mappings":"uTAEA,MA4CA,EA5C0BA,IAAM,CAC/B,CACCC,KAAM,SACNC,UAAWA,KAAMC,EAAAA,EAAAA,KAACC,EAAAA,EAAiB,KAEpC,CACCC,KAAM,WACNJ,KAAM,WACNK,MAAO,YACPC,OAAQ,iBAET,CACCF,KAAM,WACNJ,KAAM,WACNK,MAAO,YACPC,OAAQ,iBAET,CACCF,KAAM,qBACNC,MAAO,uBACPL,KAAM,SACNO,QAAS,CACR,CAAEC,MAAO,OAAQH,MAAO,qBACxB,CAAEG,MAAO,WAAYH,MAAO,0BAE7BI,QAAS,QAEV,CACCL,KAAM,yBACNC,MAAO,2BACPL,KAAM,SACNO,QAAS,CACR,CAAEC,MAAO,aAAcH,MAAO,cAC9B,CAAEG,MAAO,WAAYH,MAAO,aAE7BI,QAAS,cAEV,CACCL,KAAM,mBACNC,MAAO,qBACPL,KAAM,U,uGC4UR,QAvWA,WAAkC,IAADU,EAChC,MAAM,OAAEC,EAAM,SAAEC,EAAQ,UAAEC,EAAS,OAAEC,IAAWC,EAAAA,EAAAA,YAAWC,EAAAA,IACrD,KAAEC,EA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eN,IAGxBG,KAAKG,WAAaN,QAEZG,KAAKI,uBAAuB,OACnC,CAGA,qBAAMC,CAAgBC,SACfN,KAAKJ,kBACZ,CAIAW,gBAAAA,GAAoB,CAIpBC,cAAAA,CAAe3B,EAAIoB,GAAQ,CAE3B,uBAAMQ,GACLC,MAAMD,0BAEAT,KAAKJ,kBACZ,CAEAe,gBAAAA,CAAiBC,GAChBF,MAAMC,iBAAiBC,GAEvB,MAAMC,EAAoB,CACzBhC,GAAI+B,EAAM/B,GACViC,WAAYF,EAAME,WAClB7H,MAAO2H,EAAM3H,MACbV,QAAM8E,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GACFuD,EAAMrI,QAAM,IACfG,KAAMsH,KAAKC,MAAMC,OACjBjH,MAAO+G,KAAKC,MAAMc,UAEnBC,SAAUhB,KAAKgB,SACf3I,SAAU2H,KAAK3H,SAAS4I,KAAKjB,MAC7B1H,UAAW0H,KAAKC,MAAM3H,UACtBF,OAAQ4H,KAAKC,MAAM7H,OACnB8I,gBAAiBlB,KAAKkB,gBAAgBD,KAAKjB,MAC3CmB,iBAAkBnB,KAAKmB,iBAAiBF,KAAKjB,MAC7CoB,KAAMpB,KAAKY,MAAMS,QAAQC,UACzBC,OAAQvB,KAAKY,MAAMS,QAAQE,OAC3BC,MAAOxB,KAAKY,MAAMS,QAAQG,MAE1BC,eAAgBzB,KAAKyB,gBAStB,OANIb,EAAMrI,OAAOG,KAAKgJ,QAAUd,EAAMrI,OAAOoJ,aAC5C3B,KAAKyB,gBAAiB,EAEtBzB,KAAKyB,gBAAiB,GAGhBG,EAAAA,EAAAA,GACN5B,KAAK6B,aAAYlK,EAAAA,EAAAA,KAACmK,EAAqB,KACvCjB,EAEF,EAGD,S","sources":["lib/buttonGroupFields.jsx","ButtonGroupCollectionWidget/ButtonGroupCollection.jsx","ButtonGroupCollectionWidget/ButtonGroupCollectionWidget.jsx"],"sourcesContent":["import CollectionDivider from \"../components/CollectionDivider\";\n\nconst buttonGroupFields = () => [\n\t{\n\t\ttype: \"custom\",\n\t\tcomponent: () => <CollectionDivider />,\n\t},\n\t{\n\t\tname: \"onlyIcon\",\n\t\ttype: \"checkbox\",\n\t\tlabel: \"only_icon\",\n\t\thidden: \"data.onlyText\",\n\t},\n\t{\n\t\tname: \"onlyText\",\n\t\ttype: \"checkbox\",\n\t\tlabel: \"only_text\",\n\t\thidden: \"data.onlyIcon\",\n\t},\n\t{\n\t\tname: \"buttonGroupVariant\",\n\t\tlabel: \"button_group_variant\",\n\t\ttype: \"select\",\n\t\toptions: [\n\t\t\t{ value: \"text\", label: \"button_group_text\" },\n\t\t\t{ value: \"outlined\", label: \"button_group_outlined\" },\n\t\t],\n\t\tdefault: \"text\",\n\t},\n\t{\n\t\tname: \"buttonGroupOrientation\",\n\t\tlabel: \"button_group_orientation\",\n\t\ttype: \"select\",\n\t\toptions: [\n\t\t\t{ value: \"horizontal\", label: \"horizontal\" },\n\t\t\t{ value: \"vertical\", label: \"vertical\" },\n\t\t],\n\t\tdefault: \"horizontal\",\n\t},\n\t{\n\t\tname: \"buttonGroupColor\",\n\t\tlabel: \"button_group_color\",\n\t\ttype: \"color\",\n\t},\n];\n\nexport default buttonGroupFields;\n","import {\n\tBox,\n\tToggleButton,\n\tToggleButtonGroup,\n\tTypography,\n} from \"@mui/material\";\nimport { alpha } from \"@mui/material/styles\";\nimport React, { useContext } from \"react\";\nimport CollectionBase from \"../components/CollectionBase\";\nimport { CollectionContext } from \"../components/CollectionProvider\";\nimport useData from \"../hooks/useData\";\nimport useDebounce from \"../hooks/useDebounce\";\nimport useOidValue from \"../hooks/useOidValue\";\nimport useStyles from \"../hooks/useStyles\";\n\nfunction ButtonGroupCollection() {\n\tconst { values, setState, oidObject, widget } = useContext(CollectionContext);\n\tconst { data, states, activeIndex } = useData(\"oid\");\n\tconst { fontStyles, textStyles } = useStyles(widget.style);\n\tconst oidValue = useOidValue(\"oid\");\n\t// const oidValue = getPropertyValue(\"oid\");\n\n\tconst buttonGroupVariant = widget.data.buttonGroupVariant;\n\tconst buttonGroupOrientation = widget.data.buttonGroupOrientation;\n\n\tconst oid = oidObject?._id;\n\tconst oidType = oidObject?.common?.type;\n\n\tconst isValidType =\n\t\toidType === \"boolean\" || oidType === \"number\" || oidType === \"string\";\n\n\tuseDebounce({\n\t\tvalue: oidValue,\n\t\tdata: widget.data,\n\t});\n\n\treturn (\n\t\t<CollectionBase\n\t\t\tisValidType={isValidType}\n\t\t\tdata={data}\n\t\t\toidValue={oidValue}\n\t\t\tbgActive={false}\n\t\t>\n\t\t\t{(data.iconActive || data.icon) && (\n\t\t\t\t<img\n\t\t\t\t\talt=\"\"\n\t\t\t\t\tsrc={data.iconActive || 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.iconColorActive || data.iconColor,\n\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\tdata.iconColorActive || data.iconColor\n\t\t\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\ttransform:\n\t\t\t\t\t\t\tdata.iconColorActive || data.iconColor\n\t\t\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t)}\n\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\n\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<ToggleButtonGroup\n\t\t\t\t\texclusive\n\t\t\t\t\tvalue={oidValue}\n\t\t\t\t\tdisabled={\n\t\t\t\t\t\toidType !== \"number\" &&\n\t\t\t\t\t\toidType !== \"string\" &&\n\t\t\t\t\t\toidType !== \"boolean\"\n\t\t\t\t\t}\n\t\t\t\t\tfullWidth\n\t\t\t\t\tvariant={buttonGroupVariant}\n\t\t\t\t\torientation={buttonGroupOrientation}\n\t\t\t\t\tsx={{\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tflexDirection:\n\t\t\t\t\t\t\tbuttonGroupOrientation === \"vertical\" ? \"column\" : \"row\",\n\t\t\t\t\t\tjustifyContent: \"space-between\",\n\t\t\t\t\t\talignItems: \"center\",\n\n\t\t\t\t\t\t\"&.MuiToggleButtonGroup-root\": {\n\t\t\t\t\t\t\t// color: widget.data.buttonGroupColor || \"background.default\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"& .MuiToggleButtonGroup-firstButton\": {\n\t\t\t\t\t\t\tborderTopWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\" ? null : 0,\n\t\t\t\t\t\t\tborderLeftWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\" ? null : 0,\n\t\t\t\t\t\t\tborderRightWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t\t: 0,\n\t\t\t\t\t\t\tborderBottomWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\tborderColor:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupColor &&\n\t\t\t\t\t\t\t\talpha(widget.data.buttonGroupColor, 0.2),\n\t\t\t\t\t\t\tborderRadius: !widget.data.basePadding && 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"& .MuiToggleButtonGroup-middleButton\": {\n\t\t\t\t\t\t\tborderTopWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\tborderLeftWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t\t: 0,\n\t\t\t\t\t\t\tborderRightWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t\t: 0,\n\t\t\t\t\t\t\tborderBottomWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\tborderColor:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupColor &&\n\t\t\t\t\t\t\t\talpha(widget.data.buttonGroupColor, 0.2),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"& .MuiToggleButtonGroup-lastButton\": {\n\t\t\t\t\t\t\tborderTopWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\"\n\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t: widget.data.buttonGroupOrientation === \"horizontal\"\n\t\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\tborderLeftWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\" ? null : 0,\n\t\t\t\t\t\t\tborderRightWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\" ? null : 0,\n\t\t\t\t\t\t\tborderBottomWidth:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupVariant === \"outlined\" ? null : 0,\n\t\t\t\t\t\t\tborderColor:\n\t\t\t\t\t\t\t\twidget.data.buttonGroupColor &&\n\t\t\t\t\t\t\t\talpha(widget.data.buttonGroupColor, 0.2),\n\t\t\t\t\t\t\tborderRadius: !widget.data.basePadding && 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{states.map(({ value, label: alias }, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<ToggleButton\n\t\t\t\t\t\t\t\tdisableRipple\n\t\t\t\t\t\t\t\tvalue={value}\n\t\t\t\t\t\t\t\tkey={index}\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\tp: 0,\n\n\t\t\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\n\t\t\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundColorActive) ||\n\t\t\t\t\t\t\t\t\t\twidget.data[`backgroundColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\tdata.backgroundColor ||\n\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundActive) ||\n\t\t\t\t\t\t\t\t\t\twidget.data[`background${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\tdata.background,\n\n\t\t\t\t\t\t\t\t\t\"&.MuiToggleButton-root.Mui-selected\": {\n\t\t\t\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`backgroundColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\tdata.backgroundColor ||\n\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundActive) ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`background${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\tdata.background,\n\t\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t\t\"&:hover\": {\n\t\t\t\t\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconHoverActive &&\n\t\t\t\t\t\t\t\t\t\t\t\t`brightness(${widget.data.iconHoverActive}%)`) ||\n\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconHover${index + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t`brightness(${widget.data[`iconHover${index + 1}`]}%)`) ||\n\t\t\t\t\t\t\t\t\t\t\t(data.iconHover &&\n\t\t\t\t\t\t\t\t\t\t\t\t`brightness(${data.iconHover || \"100%\"})`),\n\n\t\t\t\t\t\t\t\t\t\tbackground:\n\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`backgroundColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\tdata.backgroundColor ||\n\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.backgroundActive) ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`background${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\tdata.background,\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\tonClick={() => {\n\t\t\t\t\t\t\t\t\tsetState({ values: { ...values, [`${oid}.val`]: value } });\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Box\n\t\t\t\t\t\t\t\t\tsx={{\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\n\t\t\t\t\t\t\t\t\t\tp: 0.5,\n\n\t\t\t\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\t\t\t\t\tjustifyContent: \"space-around\",\n\t\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{!widget.data.onlyText &&\n\t\t\t\t\t\t\t\t\t\t((activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconActive ||\n\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconSmallActive)) ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`icon${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconSmall${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\tdata.icon) && (\n\t\t\t\t\t\t\t\t\t\t\t<Box\n\t\t\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\t\t\toverflow: \"hidden\",\n\n\t\t\t\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t\t\t\t\t\t\t\theight: \"100%\",\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrc={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(widget.data.iconActive ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconSmallActive)) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`icon${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconSmall${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.icon\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tposition: \"relative\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbottom: widget.data[`iconYOffset${index + 1}`],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tleft: widget.data[`iconXOffset${index + 1}`],\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tobjectFit: \"contain\",\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconSizeActive &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(100% * ${widget.data.iconSizeActive || 100} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${index + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(100% * ${widget.data[`iconSize${index + 1}`] || 100} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"100%\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\theight:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconSizeActive &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(100% * ${widget.data.iconSizeActive || 100} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(widget.data[`iconSize${index + 1}`] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`calc(100% * ${widget.data[`iconSize${index + 1}`] || 100} / 100)`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"100%\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.buttonGroupColor ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.iconColor,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfilter:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.buttonGroupColor ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? \"drop-shadow(0px 10000px 0)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttransform:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.iconColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`iconColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.buttonGroupColor ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.iconColor\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? \"translateY(-10000px)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null,\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t{!widget.data.onlyIcon && (\n\t\t\t\t\t\t\t\t\t\t<Box\n\t\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\t\twidth: \"100%\",\n\n\t\t\t\t\t\t\t\t\t\t\t\tpt: 0.5,\n\n\t\t\t\t\t\t\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\t\t\t\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\t\t\t\t\t\t\t\talignItems: \"center\",\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\t\t\tref={(ref) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (ref) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tref.innerHTML =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.aliasActive) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talias ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\tnoWrap\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"body2\"\n\t\t\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\t\t\t...fontStyles,\n\t\t\t\t\t\t\t\t\t\t\t\t\t...textStyles,\n\t\t\t\t\t\t\t\t\t\t\t\t\ttextTransform: \"none\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tfontSize:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttypeof widget.data.valueSizeActive === \"number\" &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${widget.data.valueSizeActive}%`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(typeof widget.data[`valueSize${index + 1}`] ===\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"number\" &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${widget.data[`valueSize${index + 1}`]}%`) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.valueSize,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(activeIndex === index + 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.textColorActive) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data[`textColor${index + 1}`] ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidget.data.buttonGroupColor ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata.textColor,\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t</ToggleButton>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</ToggleButtonGroup>\n\t\t\t</Box>\n\t\t</CollectionBase>\n\t);\n}\n\nexport default ButtonGroupCollection;\n","import React from \"react\";\nimport Generic from \"../Generic\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\nimport buttonGroupFields from \"../lib/buttonGroupFields\";\nimport commonFields from \"../lib/commonFields\";\nimport commonObjectFields from \"../lib/commonObjectFields\";\nimport ButtonGroupCollection from \"./ButtonGroupCollection\";\n\nclass ButtonGroupCollectionWidget extends Generic {\n\tstatic getWidgetInfo() {\n\t\treturn {\n\t\t\tid: \"tplButtonGroupCollectionWidget\",\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: \"ButtonGroupCollectionWidget\", // Name of widget\n\t\t\tvisWidgetLabel: \"button_group_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()],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"buttonGroup\",\n\t\t\t\t\tlabel: \"button_group\",\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t...commonObjectFields([\"string\", \"number\", \"boolean\"]),\n\t\t\t\t\t\t...buttonGroupFields(),\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"active\",\n\t\t\t\t\tlabel: \"group_active\",\n\t\t\t\t\tfields: [...commonFields({ groupName: \"Active\", allFields: false })],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"values\",\n\t\t\t\t\tlabel: \"values\",\n\t\t\t\t\tindexFrom: 1,\n\t\t\t\t\tindexTo: \"values_count\",\n\t\t\t\t\tfields: [...commonFields({ groupName: \"\", allFields: false })],\n\t\t\t\t},\n\t\t\t\t// check here all possible types https://github.com/ioBroker/ioBroker.vis/blob/react/src/src/Attributes/Widget/SCHEMA.md\n\t\t\t],\n\t\t\tvisDefaultStyle: {\n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100px\",\n\t\t\t\tposition: \"relative\",\n\t\t\t},\n\t\t\tvisPrev:\n\t\t\t\t\"widgets/vis-2-widgets-collection/img/prev-collection-button-group.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 ButtonGroupCollectionWidget.getWidgetInfo();\n\t}\n\n\t// eslint-disable-next-line class-methods-use-this\n\tasync propertiesUpdate() {\n\t\t// The widget has 3 important states\n\t\t// 1. this.state.values - contains all state values, that are used in widget (automatically collected from widget info).\n\t\t// So you can use `this.state.values[this.state.rxData.oid + '.val']` to get the value of state with id this.state.rxData.oid\n\t\t// 2. this.state.rxData - contains all widget data with replaced bindings. E.g. if this.state.data.type is `{system.adapter.admin.0.alive}`,\n\t\t// then this.state.rxData.type will have state value of `system.adapter.admin.0.alive`\n\t\t// 3. this.state.rxStyle - contains all widget styles with replaced bindings. E.g. if this.state.styles.width is `{javascript.0.width}px`,\n\t\t// then this.state.rxData.type will have state value of `javascript.0.width` + 'px\n\t\tconst actualRxData = JSON.stringify(this.state.rxData);\n\t\tif (this.lastRxData === actualRxData) {\n\t\t\treturn;\n\t\t}\n\t\tthis.lastRxData = actualRxData;\n\n\t\tawait this.createStateObjectAsync(\"oid\");\n\t}\n\n\t// This function is called every time when rxData is changed\n\tasync onRxDataChanged(payload) {\n\t\tawait this.propertiesUpdate();\n\t}\n\n\t// This function is called every time when rxStyle is changed\n\t// eslint-disable-next-line class-methods-use-this\n\tonRxStyleChanged() {}\n\n\t// This function is called every time when some Object State updated, but all changes lands into this.state.values too\n\t// eslint-disable-next-line class-methods-use-this, no-unused-vars\n\tonStateUpdated(id, state) {}\n\n\tasync componentDidMount() {\n\t\tsuper.componentDidMount();\n\t\t// Update data\n\t\tawait this.propertiesUpdate();\n\t}\n\n\trenderWidgetBody(props) {\n\t\tsuper.renderWidgetBody(props);\n\n\t\tconst collectionContext = {\n\t\t\tid: props.id,\n\t\t\trefService: props.refService,\n\t\t\tstyle: props.style,\n\t\t\twidget: {\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(<ButtonGroupCollection />),\n\t\t\tcollectionContext,\n\t\t);\n\t}\n}\n\nexport default ButtonGroupCollectionWidget;\n"],"names":["buttonGroupFields","type","component","_jsx","CollectionDivider","name","label","hidden","options","value","default","_oidObject$common","values","setState","oidObject","widget","useContext","CollectionContext","data","states","activeIndex","useData","fontStyles","textStyles","useStyles","style","oidValue","useOidValue","buttonGroupVariant","buttonGroupOrientation","oid","_id","oidType","common","isValidType","useDebounce","_jsxs","CollectionBase","bgActive","children","iconActive","icon","alt","src","position","top","concat","iconYOffset","right","iconXOffset","width","iconSize","height","color","iconColorActive","iconColor","filter","transform","Box","sx","display","ToggleButtonGroup","exclusive","disabled","fullWidth","variant","orientation","flexDirection","justifyContent","alignItems","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","borderColor","buttonGroupColor","alpha","borderRadius","basePadding","map","_ref","index","alias","ToggleButton","disableRipple","p","background","backgroundColorActive","backgroundColor","backgroundActive","iconHoverActive","iconHover","onClick","_objectSpread","onlyText","iconSmallActive","overflow","bottom","left","objectFit","iconSizeActive","onlyIcon","pt","Typography","ref","innerHTML","aliasActive","noWrap","textTransform","fontSize","valueSizeActive","valueSize","textColorActive","textColor","ButtonGroupCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visAttrs","fields","commonFields","commonObjectFields","groupName","allFields","indexFrom","indexTo","visDefaultStyle","visPrev","propertiesUpdate","actualRxData","JSON","stringify","this","state","rxData","lastRxData","createStateObjectAsync","onRxDataChanged","payload","onRxStyleChanged","onStateUpdated","componentDidMount","super","renderWidgetBody","props","collectionContext","refService","rxStyle","setValue","bind","isSignalVisible","getPropertyValue","mode","context","themeType","socket","theme","wrappedContent","noCard","usedInWidget","withCollectionProvider","wrapContent","ButtonGroupCollection"],"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:()=>w});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(6255),y=o(4692),m=o(5001),v=o(5702);const A=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,v.A)(c.style),{data:h}=(0,g.A)("oid"),A=(0,m.A)("oid"),C=null===l||void 0===l?void 0:l._id,w="boolean"===(null===l||void 0===l||null===(e=l.common)||void 0===e?void 0:e.type);return(0,u.A)({value:A,data:c.data}),(0,y.A)(t,A,c,h),(0,s.jsxs)(x.A,{isValidType:w,data:h,oidValue:A,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,{BOX:"ERKANNT",sx:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:void 0!==A&&(0,s.jsx)(p.FormControlLabel,{FORM_CONTROL_LABEL:"ERKANNT",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,CHECKBOX:"ERKANNT",disableRipple:!0,checked:A,onChange:()=>n(C,!A),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 C 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 C.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)(A,{})),t)}}const w=C},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(o.data.unit),n=a.alias||a.value||l;(0,i.useEffect)((()=>{n&&e&&(e.innerHTML=n)}),[n,e])}}}]);
2
+ //# sourceMappingURL=src_CheckboxCollectionWidget_CheckboxCollectionWidget_jsx.ecaf56b4.chunk.js.map