iobroker.vis-2-widgets-collection 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/io-package.json +27 -27
- package/package.json +1 -1
- package/widgets/vis-2-widgets-collection/asset-manifest.json +10 -10
- package/widgets/vis-2-widgets-collection/customWidgets.js +1 -1
- package/widgets/vis-2-widgets-collection/customWidgets.js.map +1 -1
- package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.2854dfa1.chunk.js +2 -0
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.2854dfa1.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/{vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6.b06a9988.chunk.js → vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js} +3 -3
- package/widgets/vis-2-widgets-collection/static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js.map +1 -0
- package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.df485f16.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.df485f16.chunk.js.map +0 -1
- package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5d27165f.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.5d27165f.chunk.js.map +0 -1
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.9f5ce19c.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.9f5ce19c.chunk.js.map +0 -1
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.681fdbc7.chunk.js +0 -2
- package/widgets/vis-2-widgets-collection/static/js/src_components_CollectionDivider_jsx.681fdbc7.chunk.js.map +0 -1
- package/widgets/vis-2-widgets-collection/static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6.b06a9988.chunk.js.map +0 -1
- /package/widgets/vis-2-widgets-collection/static/js/{vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6.b06a9988.chunk.js.LICENSE.txt → vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -33,6 +33,14 @@
|
|
|
33
33
|
### __WORK IN PROGRESS__
|
|
34
34
|
-->
|
|
35
35
|
## Changelog
|
|
36
|
+
### 1.1.15 (2025-02-05)
|
|
37
|
+
|
|
38
|
+
- (steiger04) bugfixing Slider
|
|
39
|
+
|
|
40
|
+
### 1.1.14 (2025-02-04)
|
|
41
|
+
|
|
42
|
+
- (steiger04) Slider optimized
|
|
43
|
+
|
|
36
44
|
### 1.1.13 (2025-02-03)
|
|
37
45
|
|
|
38
46
|
- (steiger04) delay via throttle and debounce optimized
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "vis-2-widgets-collection",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.15",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.1.15": {
|
|
7
|
+
"en": "bugfixing Slider",
|
|
8
|
+
"de": "bugfixing Slider",
|
|
9
|
+
"ru": "слайдер",
|
|
10
|
+
"pt": "corrediça de correção de bugs",
|
|
11
|
+
"nl": "bugfixing Slider",
|
|
12
|
+
"fr": "bugfixing Slider",
|
|
13
|
+
"it": "bugfixing Slider",
|
|
14
|
+
"es": "bugfixing Slider",
|
|
15
|
+
"pl": "suwak do mocowania błędów",
|
|
16
|
+
"uk": "виправлення помилок Slider",
|
|
17
|
+
"zh-cn": "修正滑动器"
|
|
18
|
+
},
|
|
19
|
+
"1.1.14": {
|
|
20
|
+
"en": "Slider optimized",
|
|
21
|
+
"de": "Slider optimiert",
|
|
22
|
+
"ru": "Слайдер оптимизирован",
|
|
23
|
+
"pt": "Slider otimizado",
|
|
24
|
+
"nl": "Slider geoptimaliseerd",
|
|
25
|
+
"fr": "Slider optimisé",
|
|
26
|
+
"it": "Slider ottimizzato",
|
|
27
|
+
"es": "Slider optimizado",
|
|
28
|
+
"pl": "Suwak zoptymalizowany",
|
|
29
|
+
"uk": "Оптимізований слайдер",
|
|
30
|
+
"zh-cn": "滑动器优化"
|
|
31
|
+
},
|
|
6
32
|
"1.1.13": {
|
|
7
33
|
"en": "delay via throttle and debounce optimized",
|
|
8
34
|
"de": "verzögerung über drosselung und entzündung optimiert",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "segregatory stylowe",
|
|
68
94
|
"uk": "виправлення стилів",
|
|
69
95
|
"zh-cn": "错误修正样式绑定"
|
|
70
|
-
},
|
|
71
|
-
"1.1.8": {
|
|
72
|
-
"en": "bugfixing bindings",
|
|
73
|
-
"de": "bugfixing bindungen",
|
|
74
|
-
"ru": "привязки к ошибкам",
|
|
75
|
-
"pt": "vinculações de correção de bugs",
|
|
76
|
-
"nl": "bugfixing bindingen",
|
|
77
|
-
"fr": "fixation de bogues",
|
|
78
|
-
"it": "bugfixing bindings",
|
|
79
|
-
"es": "fijaciones de bugfixing",
|
|
80
|
-
"pl": "segregatory",
|
|
81
|
-
"uk": "виправлення помилок",
|
|
82
|
-
"zh-cn": "装订错误"
|
|
83
|
-
},
|
|
84
|
-
"1.1.7": {
|
|
85
|
-
"en": "Switch optimized",
|
|
86
|
-
"de": "Schalter optimiert",
|
|
87
|
-
"ru": "Оптимизированный коммутатор",
|
|
88
|
-
"pt": "Interruptor otimizado",
|
|
89
|
-
"nl": "Geoptimaliseerd schakelen",
|
|
90
|
-
"fr": "Commutateur optimisé",
|
|
91
|
-
"it": "Interruttore ottimizzato",
|
|
92
|
-
"es": "Interruptor optimizado",
|
|
93
|
-
"pl": "Zoptymalizowany przełącznik",
|
|
94
|
-
"uk": "Оптимізований вимикач",
|
|
95
|
-
"zh-cn": "切换优化"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
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.
|
|
8
|
-
"static/js/src_components_CollectionDivider_jsx.
|
|
9
|
-
"static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.
|
|
7
|
+
"static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js",
|
|
8
|
+
"static/js/src_components_CollectionDivider_jsx.2854dfa1.chunk.js": "./static/js/src_components_CollectionDivider_jsx.2854dfa1.chunk.js",
|
|
9
|
+
"static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js",
|
|
10
10
|
"static/js/src_translations_js.18023e1d.chunk.js": "./static/js/src_translations_js.18023e1d.chunk.js",
|
|
11
|
-
"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.
|
|
11
|
+
"static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js",
|
|
12
12
|
"static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js",
|
|
13
13
|
"static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js",
|
|
14
14
|
"static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js",
|
|
15
15
|
"static/js/vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987.9c21ae2e.chunk.js": "./static/js/vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987.9c21ae2e.chunk.js",
|
|
16
16
|
"static/js/vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js.d38263c1.chunk.js": "./static/js/vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js.d38263c1.chunk.js",
|
|
17
|
-
"static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-
|
|
17
|
+
"static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js": "./static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js",
|
|
18
18
|
"static/js/vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4.116e9fa1.chunk.js": "./static/js/vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4.116e9fa1.chunk.js",
|
|
19
19
|
"static/js/vendors-node_modules_mui_material_Switch_Switch_js.928081a1.chunk.js": "./static/js/vendors-node_modules_mui_material_Switch_Switch_js.928081a1.chunk.js",
|
|
20
20
|
"index.html": "./index.html",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"customWidgets.js.map": "./customWidgets.js.map",
|
|
23
23
|
"node_modules_prop-types_index_js.7f922324.chunk.js.map": "./static/js/node_modules_prop-types_index_js.7f922324.chunk.js.map",
|
|
24
24
|
"node_modules_react_index_js.a5285de4.chunk.js.map": "./static/js/node_modules_react_index_js.a5285de4.chunk.js.map",
|
|
25
|
-
"src_StateCollectionWidget_StateCollectionWidget_jsx.
|
|
26
|
-
"src_components_CollectionDivider_jsx.
|
|
27
|
-
"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.
|
|
25
|
+
"src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js.map": "./static/js/src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js.map",
|
|
26
|
+
"src_components_CollectionDivider_jsx.2854dfa1.chunk.js.map": "./static/js/src_components_CollectionDivider_jsx.2854dfa1.chunk.js.map",
|
|
27
|
+
"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js.map": "./static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js.map",
|
|
28
28
|
"src_translations_js.18023e1d.chunk.js.map": "./static/js/src_translations_js.18023e1d.chunk.js.map",
|
|
29
|
-
"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.
|
|
29
|
+
"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js.map": "./static/js/src_SwitchCollectionWidget_SwitchCollectionWidget_jsx.f464acb5.chunk.js.map",
|
|
30
30
|
"vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map": "./static/js/vendors-node_modules_mui_system_esm_index_js.b8618c63.chunk.js.map",
|
|
31
31
|
"vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map": "./static/js/vendors-node_modules_react-dom_index_js.190f0c6e.chunk.js.map",
|
|
32
32
|
"vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map": "./static/js/vendors-node_modules_mui_material_index_js.8ba01614.chunk.js.map",
|
|
33
33
|
"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987.9c21ae2e.chunk.js.map": "./static/js/vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987.9c21ae2e.chunk.js.map",
|
|
34
34
|
"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js.d38263c1.chunk.js.map": "./static/js/vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js.d38263c1.chunk.js.map",
|
|
35
|
-
"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-
|
|
35
|
+
"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js.map": "./static/js/vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-42397f.bb47ef22.chunk.js.map",
|
|
36
36
|
"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4.116e9fa1.chunk.js.map": "./static/js/vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4.116e9fa1.chunk.js.map",
|
|
37
37
|
"vendors-node_modules_mui_material_Switch_Switch_js.928081a1.chunk.js.map": "./static/js/vendors-node_modules_mui_material_Switch_Switch_js.928081a1.chunk.js.map"
|
|
38
38
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var vis2CollectionWidget;(()=>{"use strict";var e={6201:(e,_,s)=>{var t={"./StateCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_StateCollectionWidget_StateCollectionWidget_jsx")]).then((()=>()=>s(7963))),"./SliderCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx")]).then((()=>()=>s(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-5c98e6"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx")]).then((()=>()=>s(9379))),"./translations":()=>s.e("src_translations_js").then((()=>()=>s(5850))),"./SwitchCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4"),s.e("src_components_CollectionDivider_jsx"),s.e("src_SwitchCollectionWidget_SwitchCollectionWidget_jsx")]).then((()=>()=>s(6018)))},o=(e,_)=>(s.R=_,_=s.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),s.R=void 0,_),r=(e,_)=>{if(s.S){var t="default",o=s.S[t];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return s.S[t]=e,s.I(t,_)}};s.d(_,{get:()=>o,init:()=>r})}},_={};function s(t){var o=_[t];if(void 0!==o)return o.exports;var r=_[t]={exports:{}};return e[t].call(r.exports,r,r.exports,s),r.exports}s.m=e,s.c=_,s.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return s.d(_,{a:_}),_},s.d=(e,_)=>{for(var t in _)s.o(_,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((_,t)=>(s.f[t](e,_),_)),[])),s.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987":"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-5c98e6":"b06a9988",src_components_CollectionDivider_jsx:"681fdbc7",src_StateCollectionWidget_StateCollectionWidget_jsx:"5d27165f",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"df485f16",src_translations_js:"18023e1d",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"9f5ce19c"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(6201);vis2CollectionWidget=t})();
|
|
1
|
+
var vis2CollectionWidget;(()=>{"use strict";var e={6201:(e,_,s)=>{var t={"./StateCollectionWidget":()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-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:"2854dfa1",src_StateCollectionWidget_StateCollectionWidget_jsx:"7449e8a5",src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx:"425d9db2",src_translations_js:"18023e1d",src_SwitchCollectionWidget_SwitchCollectionWidget_jsx:"f464acb5"}[e]+".chunk.js",s.miniCssF=e=>{},s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),s.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-widgets-react-collection:";s.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var i,d;if(void 0!==r)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==_+r){i=u;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",_+r),i.src=t),e[t]=[o];var m=(_,s)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(s))),_)return _(s)},c=setTimeout(m.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=m.bind(null,i.onerror),i.onload=m.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),s.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{s.S={};var e={},_={};s.I=(t,o)=>{o||(o=[]);var r=_[t];if(r||(r=_[t]={}),!(o.indexOf(r)>=0)){if(o.push(r),e[t])return e[t];s.o(s.S,t)||(s.S[t]={});var n=s.S[t],i="iobroker.vis-widgets-react-collection",d=(e,_,s,t)=>{var o=n[e]=n[e]||{},r=o[_];(!r||!r.loaded&&(!t!=!r.eager?t:i>r.from))&&(o[_]={get:s,from:i,eager:!!t})},a=[];if("default"===t)d("@mui/material","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types"),s.e("webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4")]).then((()=>()=>s(4999))))),d("@mui/system","*",(()=>Promise.all([s.e("vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987"),s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js"),s.e("webpack_sharing_consume_default_react_react"),s.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>s(1200))))),d("prop-types","*",(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),d("react-dom","*",(()=>Promise.all([s.e("vendors-node_modules_react-dom_index_js"),s.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>s(7950))))),d("react","*",(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043)))));return a.length?e[t]=Promise.all(a).then((()=>e[t]=1)):e[t]=1}}})(),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var _=s.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var t=_.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),s=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=s[1]?_(s[1]):[];return s[2]&&(t.length++,t.push.apply(t,_(s[2]))),s[3]&&(t.push([]),t.push.apply(t,_(s[3]))),t},_=(_,s)=>{_=e(_),s=e(s);for(var t=0;;){if(t>=_.length)return t<s.length&&"u"!=(typeof s[t])[0];var o=_[t],r=(typeof o)[0];if(t>=s.length)return"u"==r;var n=s[t],i=(typeof n)[0];if(r!=i)return"o"==r&&"n"==i||"s"==i||"u"==r;if("o"!=r&&"u"!=r&&o!=n)return o<n;t++}},t=e=>{var _=e[0],s="";if(1===e.length)return"*";if(_+.5){s+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var o=1,r=1;r<e.length;r++)o--,s+="u"==(typeof(i=e[r]))[0]?"-":(o>0?".":"")+(o=2,i);return s}var n=[];for(r=1;r<e.length;r++){var i=e[r];n.push(0===i?"not("+d()+")":1===i?"("+d()+" || "+d()+")":2===i?n.pop()+" "+n.pop():t(i))}return d();function d(){return n.pop().replace(/^\((.+)\)$/,"$1")}},o=(_,s)=>{if(0 in _){s=e(s);var t=_[0],r=t<0;r&&(t=-t-1);for(var n=0,i=1,d=!0;;i++,n++){var a,l,u=i<_.length?(typeof _[i])[0]:"";if(n>=s.length||"o"==(l=(typeof(a=s[n]))[0]))return!d||("u"==u?i>t&&!r:""==u!=r);if("u"==l){if(!d||"u"!=u)return!1}else if(d)if(u==l)if(i<=t){if(a!=_[i])return!1}else{if(r?a>_[i]:a<_[i])return!1;a!=_[i]&&(d=!1)}else if("s"!=u&&"n"!=u){if(r||i<=t)return!1;d=!1,i--}else{if(i<=t||l<u!=r)return!1;d=!1}else"s"!=u&&"n"!=u&&(d=!1,i--)}}var m=[],c=m.pop.bind(m);for(n=1;n<_.length;n++){var p=_[n];m.push(1==p?c()|c():2==p?c()&c():p?o(p,s):!c())}return!!c()},r=(e,_)=>e&&s.o(e,_),n=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,s)=>(e[s].eager&&(_[s]=e[s]),_)),{}),d=(e,s,t)=>{var o=t?i(e[s]):e[s];return Object.keys(o).reduce(((e,s)=>!e||!o[e].loaded&&_(e,s)?s:e),0)},a=(e,_,s,o)=>"Unsatisfied version "+s+" from "+(s&&e[_][s].from)+" of shared singleton module "+_+" (required "+t(o)+")",l=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},m=e=>function(_,t,o,r,n){var i=s.I(_);return i&&i.then&&!o?i.then(e.bind(e,_,s.S[_],t,!1,r,n)):e(_,s.S[_],t,o,r,n)},c=(e,_,s)=>s?s():((e,_)=>l("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=m(((e,_,s,t,i,l)=>{if(!r(_,s))return c(e,s,l);var m=d(_,s,t);return o(i,m)||u(a(_,s,m,i)),n(_[s][m])})),f={},h={8437:()=>p("default","react",!1,[0],(()=>s.e("node_modules_react_index_js").then((()=>()=>s(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>s.e("node_modules_prop-types_index_js").then((()=>()=>s(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>s(1200))))),3479:()=>p("default","react-dom",!1,[0],(()=>s.e("vendors-node_modules_react-dom_index_js").then((()=>()=>s(7950))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([s.e("vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4"),s.e("vendors-node_modules_mui_material_Switch_Switch_js"),s.e("vendors-node_modules_mui_material_index_js")]).then((()=>()=>s(4999)))))},v={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4":[8565,3479],src_components_CollectionDivider_jsx:[7085]},g={};s.f.consumes=(e,_)=>{s.o(v,e)&&v[e].forEach((e=>{if(s.o(f,e))return _.push(f[e]);if(!g[e]){var t=_=>{f[e]=0,s.m[e]=t=>{delete s.c[e],t.exports=_()}};g[e]=!0;var o=_=>{delete f[e],s.m[e]=t=>{throw delete s.c[e],_}};try{var r=h[e]();r.then?_.push(f[e]=r.then(t).catch(o)):t(r)}catch(n){o(n)}}}))}})(),(()=>{var e={vis2CollectionWidget:0};s.f.j=(_,t)=>{var o=s.o(e,_)?e[_]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^webpack_sharing_consume_default_(mui_system_mui_system\-webpack_sharing_consume_default_react\-d\-dde2d4|prop\-types_prop\-types|react_react)$/.test(_))e[_]=0;else{var r=new Promise(((s,t)=>o=e[_]=[s,t]));t.push(o[2]=r);var n=s.p+s.u(_),i=new Error;s.l(n,(t=>{if(s.o(e,_)&&(0!==(o=e[_])&&(e[_]=void 0),o)){var r=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+_+" failed.\n("+r+": "+n+")",i.name="ChunkLoadError",i.type=r,i.request=n,o[1](i)}}),"chunk-"+_,_)}};var _=(_,t)=>{var o,r,n=t[0],i=t[1],d=t[2],a=0;if(n.some((_=>0!==e[_]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(d)d(s)}for(_&&_(t);a<n.length;a++)r=n[a],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[];t.forEach(_.bind(null,0)),t.push=_.bind(null,t.push.bind(t))})();var t=s(6201);vis2CollectionWidget=t})();
|
|
2
2
|
//# sourceMappingURL=customWidgets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customWidgets.js","mappings":"kEAAA,IAAIA,EAAY,CACf,0BAA2B,IACnBC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,iGAAkGD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,+CAAgDD,EAAoBC,EAAE,yDAA0DD,EAAoBC,EAAE,wGAAyGD,EAAoBC,EAAE,wCAAyCD,EAAoBC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,QAAUF,EAChBH,EAAmB,GAAGH,EACvB,CACD,GAEwC,SAAWtH,EAASA,EAC9D,CAEF,EAcF,IAAI+H,EAAuB,CAACC,EAA4BC,KACvD,IAKIjJ,EAAUgB,EALVkI,EAAWD,EAAK,GAChBE,EAAcF,EAAK,GACnBG,EAAUH,EAAK,GAGIvG,EAAI,EAC3B,GAAGwG,EAASG,MAAMlB,GAAgC,IAAxBI,EAAgBJ,KAAa,CACtD,IAAInI,KAAYmJ,EACZxK,EAAoBO,EAAEiK,EAAanJ,KACrCrB,EAAoByB,EAAEJ,GAAYmJ,EAAYnJ,IAGhD,GAAGoJ,EAAsBA,EAAQzK,EAClC,CAEA,IADGqK,GAA4BA,EAA2BC,GACrDvG,EAAIwG,EAASvG,OAAQD,IACzB1B,EAAUkI,EAASxG,GAChB/D,EAAoBO,EAAEqJ,EAAiBvH,IAAYuH,EAAgBvH,IACrEuH,EAAgBvH,GAAS,KAE1BuH,EAAgBvH,GAAW,CAC5B,EAIGsI,EAAqBC,KAAwD,kDAAIA,KAAwD,mDAAK,GAClJD,EAAmBzF,QAAQkF,EAAqB/E,KAAK,KAAM,IAC3DsF,EAAmBlH,KAAO2G,EAAqB/E,KAAK,KAAMsF,EAAmBlH,KAAK4B,KAAKsF,G,KCpFvF,IAAIE,EAAsB7K,EAAoB,M","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./StateCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_StateCollectionWidget_StateCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(7963)))));\n\t},\n\t\"./SliderCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\")]).then(() => (() => ((__webpack_require__(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-5c98e6\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(9379)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t},\n\t\"./SwitchCollectionWidget\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_Delete_js-node_modules_rxjs_dist_esm5_internal_Subjec-5c98e6\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\"), __webpack_require__.e(\"src_components_CollectionDivider_jsx\"), __webpack_require__.e(\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\")]).then(() => (() => ((__webpack_require__(6018)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\":\"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-5c98e6\":\"b06a9988\",\"src_components_CollectionDivider_jsx\":\"681fdbc7\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"5d27165f\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"df485f16\",\"src_translations_js\":\"18023e1d\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"9f5ce19c\"}[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":"kEAA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AAYrF,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__(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\":\"2854dfa1\",\"src_StateCollectionWidget_StateCollectionWidget_jsx\":\"7449e8a5\",\"src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx\":\"425d9db2\",\"src_translations_js\":\"18023e1d\",\"src_SwitchCollectionWidget_SwitchCollectionWidget_jsx\":\"f464acb5\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-widgets-react-collection:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-widgets-react-collection\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_useTheme_js-node_modules_mui_material_utils_index_js\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\")]).then(() => (() => (__webpack_require__(4999))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_styled-engine_index_js-node_modules_mui_system_esm_DefaultPropsProvi-fe7987\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1200))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1200))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\").then(() => (() => (__webpack_require__(7950))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_RtlProvider_index_js-node_modules_mui_system_esm_Unstable-9da0e4\"), __webpack_require__.e(\"vendors-node_modules_mui_material_Switch_Switch_js\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\")]).then(() => (() => (__webpack_require__(4999)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system-webpack_sharing_consume_default_react-d-dde2d4\": [\n\t\t8565,\n\t\t3479\n\t],\n\t\"src_components_CollectionDivider_jsx\": [\n\t\t7085\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CollectionWidget\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(mui_system_mui_system\\-webpack_sharing_consume_default_react\\-d\\-dde2d4|prop\\-types_prop\\-types|react_react)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] = self[\"webpackChunkiobroker_vis_widgets_react_collection\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(6201);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","id","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkiobroker_vis_widgets_react_collection=self.webpackChunkiobroker_vis_widgets_react_collection||[]).push([["src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx"],{9379:(t,o,a)=>{a.r(o),a.d(o,{default:()=>f});var e=a(7051),n=a(8437),i=a(6211),r=a(7613),l=a(9966),c=a(900),d=a(7085),u=a(8565),s=a(4657),p=a(6016),b=a(2152),g=a(6255),h=a(5702),v=a(579);const x=function(){var t;const{values:o,setState:a,oidObject:i,widget:r,getPropertyValue:l}=(0,n.useContext)(p.C),{data:c,states:x,activeIndex:C}=(0,b.A)("oid"),{fontStyles:f,textStyles:y}=(0,h.A)(r.style),A=l("oid"),G=r.data.buttonGroupVariant,m=r.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;return(0,g.A)({value:A,data:r.data}),(0,v.jsxs)(s.A,{data:c,oidValue:A,bgActive:!1,children:[(c.iconActive||c.icon)&&(0,v.jsx)("img",{alt:"",src:c.iconActive||c.icon,style:{position:"absolute",top:"calc(0px + ".concat(r.data.iconYOffset,")"),right:"calc(0px + ".concat(r.data.iconXOffset,")"),width:c.iconSize,height:c.iconSize,color:c.iconColorActive||c.iconColor,filter:c.iconColorActive||c.iconColor?"drop-shadow(0px 10000px 0)":null,transform:c.iconColorActive||c.iconColor?"translateY(-10000px)":null}}),(0,v.jsx)(d.Box,{sx:{width:"100%",height:"100%",display:"flex"},children:(0,v.jsx)(d.ToggleButtonGroup,{exclusive:!0,value:A,disabled:"number"!==w&&"string"!==w&&"boolean"!==w,fullWidth:!0,variant:G,orientation:m,sx:{display:"flex",flexDirection:"vertical"===m?"column":"row",justifyContent:"space-between",alignItems:"center","&.MuiToggleButtonGroup-root":{},"& .MuiToggleButtonGroup-firstButton":{borderTopWidth:"outlined"===r.data.buttonGroupVariant?null:0,borderLeftWidth:"outlined"===r.data.buttonGroupVariant?null:0,borderRightWidth:"outlined"===r.data.buttonGroupVariant||"horizontal"===r.data.buttonGroupOrientation?null:0,borderBottomWidth:"outlined"===r.data.buttonGroupVariant?null:"horizontal"===r.data.buttonGroupOrientation?0:null,borderColor:r.data.buttonGroupColor&&(0,u.alpha)(r.data.buttonGroupColor,.2),borderRadius:!r.data.basePadding&&0},"& .MuiToggleButtonGroup-middleButton":{borderTopWidth:"outlined"===r.data.buttonGroupVariant?null:"horizontal"===r.data.buttonGroupOrientation?0:null,borderLeftWidth:"outlined"===r.data.buttonGroupVariant||"horizontal"===r.data.buttonGroupOrientation?null:0,borderRightWidth:"outlined"===r.data.buttonGroupVariant||"horizontal"===r.data.buttonGroupOrientation?null:0,borderBottomWidth:"outlined"===r.data.buttonGroupVariant?null:"horizontal"===r.data.buttonGroupOrientation?0:null,borderColor:r.data.buttonGroupColor&&(0,u.alpha)(r.data.buttonGroupColor,.2)},"& .MuiToggleButtonGroup-lastButton":{borderTopWidth:"outlined"===r.data.buttonGroupVariant?null:"horizontal"===r.data.buttonGroupOrientation?0:null,borderLeftWidth:"outlined"===r.data.buttonGroupVariant?null:0,borderRightWidth:"outlined"===r.data.buttonGroupVariant?null:0,borderBottomWidth:"outlined"===r.data.buttonGroupVariant?null:0,borderColor:r.data.buttonGroupColor&&(0,u.alpha)(r.data.buttonGroupColor,.2),borderRadius:!r.data.basePadding&&0}},children:x.map(((t,n)=>{let{value:i,label:l}=t;return(0,v.jsx)(d.ToggleButton,{disableRipple:!0,value:i,sx:{width:"100%",height:"100%",p:0,display:"flex",justifyContent:"center",alignItems:"center",background:C===n+1&&r.data.backgroundColorActive||r.data["backgroundColor".concat(n+1)]||c.backgroundColor||C===n+1&&r.data.backgroundActive||r.data["background".concat(n+1)]||c.background,"&.MuiToggleButton-root.Mui-selected":{background:C===n+1&&r.data.backgroundColorActive||r.data["backgroundColor".concat(n+1)]||c.backgroundColor||C===n+1&&r.data.backgroundActive||r.data["background".concat(n+1)]||c.background},"&:hover":{filter:C===n+1&&r.data.iconHoverActive&&"brightness(".concat(r.data.iconHoverActive,"%)")||r.data["iconHover".concat(n+1)]&&"brightness(".concat(r.data["iconHover".concat(n+1)],"%)")||c.iconHover&&"brightness(".concat(c.iconHover||"100%",")"),background:C===n+1&&r.data.backgroundColorActive||r.data["backgroundColor".concat(n+1)]||c.backgroundColor||C===n+1&&r.data.backgroundActive||r.data["background".concat(n+1)]||c.background}},onClick:()=>{a({values:(0,e.A)((0,e.A)({},o),{},{["".concat(S,".val")]:i})})},children:(0,v.jsxs)(d.Box,{sx:{width:"100%",height:"100%",p:.5,display:"flex",flexDirection:"column",justifyContent:"space-around",alignItems:"center"},children:[!r.data.onlyText&&(C===n+1&&(r.data.iconActive||r.data.iconSmallActive)||r.data["icon".concat(n+1)]||r.data["iconSmall".concat(n+1)]||c.icon)&&(0,v.jsx)(d.Box,{sx:{overflow:"hidden",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,v.jsx)("img",{src:C===n+1&&(r.data.iconActive||r.data.iconSmallActive)||r.data["icon".concat(n+1)]||r.data["iconSmall".concat(n+1)]||c.icon,alt:"",style:{position:"relative",bottom:r.data["iconYOffset".concat(n+1)],left:r.data["iconXOffset".concat(n+1)],width:C===n+1&&r.data.iconSizeActive&&"calc(100% * ".concat(r.data.iconSizeActive||100," / 100)")||r.data["iconSize".concat(n+1)]&&"calc(100% * ".concat(r.data["iconSize".concat(n+1)]||100," / 100)")||"100%",height:C===n+1&&r.data.iconSizeActive&&"calc(100% * ".concat(r.data.iconSizeActive||100," / 100)")||r.data["iconSize".concat(n+1)]&&"calc(100% * ".concat(r.data["iconSize".concat(n+1)]||100," / 100)"),color:C===n+1&&r.data.iconColorActive||r.data["iconColor".concat(n+1)]||r.data.buttonGroupColor||c.iconColor,filter:C===n+1&&r.data.iconColorActive||r.data["iconColor".concat(n+1)]||r.data.buttonGroupColor||c.iconColor?"drop-shadow(0px 10000px 0)":null,transform:C===n+1&&r.data.iconColorActive||r.data["iconColor".concat(n+1)]||r.data.buttonGroupColor||c.iconColor?"translateY(-10000px)":null}})}),!r.data.onlyIcon&&(0,v.jsx)(d.Box,{sx:{width:"100%",pt:.5,display:"flex",justifyContent:"center",alignItems:"center"},children:(0,v.jsx)(d.Typography,{ref:t=>{t&&(t.innerHTML=C===n+1&&r.data.aliasActive||l||i)},noWrap:!0,variant:"body2",sx:(0,e.A)((0,e.A)((0,e.A)({},f),y),{},{textTransform:"none",fontSize:C===n+1&&"number"===typeof r.data.valueSizeActive&&"".concat(r.data.valueSizeActive,"%")||"number"===typeof r.data["valueSize".concat(n+1)]&&"".concat(r.data["valueSize".concat(n+1)],"%")||c.valueSize,color:C===n+1&&r.data.textColorActive||r.data["textColor".concat(n+1)]||r.data.buttonGroupColor||c.textColor})})})]})},n)}))})})]})};class C extends i.A{static getWidgetInfo(){return{id:"tplButtonGroupCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visName:"ButtonGroupCollectionWidget",visWidgetLabel:"button_group_collection_widget",visAttrs:[(0,l.A)(),{name:"buttonGroup",label:"button_group",fields:[{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"}]},(0,r.A)("active"),(0,r.A)("values")],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-button-group.png"}}getWidgetInfo(){return C.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,c.A)(this.wrapContent((0,v.jsx)(x,{})),o)}}const f=C}}]);
|
|
2
|
+
//# sourceMappingURL=src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/src_ButtonGroupCollectionWidget_ButtonGroupCollectionWidget_jsx.425d9db2.chunk.js","mappings":"uYA4WA,QA7VA,WAAkC,IAADA,EAChC,MAAM,OAAEC,EAAM,SAAEC,EAAQ,UAAEC,EAAS,OAAEC,EAAM,iBAAEC,IAC5CC,EAAAA,EAAAA,YAAWC,EAAAA,IACN,KAAEC,EAAI,OAAEC,EAAM,YAAEC,IAAgBC,EAAAA,EAAAA,GAAQ,QACxC,WAAEC,EAAU,WAAEC,IAAeC,EAAAA,EAAAA,GAAUV,EAAOW,OAE9CC,EAAWX,EAAiB,OAE5BY,EAAqBb,EAAOI,KAAKS,mBACjCC,EAAyBd,EAAOI,KAAKU,uBAErCC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AAAA,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,WAClB9H,MAAO4H,EAAM5H,MACbX,QAAMiF,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GACFsD,EAAMvI,QAAM,IACfI,KAAMuH,KAAKC,MAAMC,OACjBlH,MAAOgH,KAAKC,MAAMc,UAEnBC,SAAUhB,KAAKgB,SACf7I,SAAU6H,KAAK7H,SAAS8I,KAAKjB,MAC7B5H,UAAW4H,KAAKC,MAAM7H,UACtBF,OAAQ8H,KAAKC,MAAM/H,OACnBgJ,gBAAiBlB,KAAKkB,gBAAgBD,KAAKjB,MAC3C1H,iBAAkB0H,KAAK1H,iBAAiB2I,KAAKjB,MAC7CmB,KAAMnB,KAAKY,MAAMQ,QAAQC,UACzBC,OAAQtB,KAAKY,MAAMQ,QAAQE,OAC3BC,MAAOvB,KAAKY,MAAMQ,QAAQG,MAE1BC,eAAgBxB,KAAKwB,gBAStB,OANIZ,EAAMvI,OAAOI,KAAKgJ,QAAUb,EAAMvI,OAAOqJ,aAC5C1B,KAAKwB,gBAAiB,EAEtBxB,KAAKwB,gBAAiB,GAGhBG,EAAAA,EAAAA,GACN3B,KAAK4B,aAAY3H,EAAAA,EAAAA,KAAC4H,EAAqB,KACvChB,EAEF,EAGD,S","sources":["ButtonGroupCollectionWidget/ButtonGroupCollection.jsx","ButtonGroupCollectionWidget/ButtonGroupCollectionWidget.jsx"],"sourcesContent":["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\";\n// import useOidValue from \"../hooks/useOidValue\";\nimport useStyles from \"../hooks/useStyles\";\n\nfunction ButtonGroupCollection() {\n\tconst { values, setState, oidObject, widget, getPropertyValue } =\n\t\tuseContext(CollectionContext);\n\tconst { data, states, activeIndex } = useData(\"oid\");\n\tconst { fontStyles, textStyles } = useStyles(widget.style);\n\t// const oidValue = useOidValue(\"oid\");\n\tconst 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\tuseDebounce({\n\t\tvalue: oidValue,\n\t\tdata: widget.data,\n\t});\n\n\treturn (\n\t\t<CollectionBase data={data} oidValue={oidValue} bgActive={false}>\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\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\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 CollectionGroupAttributes from \"../components/CollectionGroupAttributes\";\nimport CollectionGroupCommonAttributes from \"../components/CollectionGroupCommonAttributes\";\nimport withCollectionProvider from \"../components/withCollectionProvider\";\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\tCollectionGroupCommonAttributes(),\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{\n\t\t\t\t\t\t\tname: \"onlyIcon\",\n\t\t\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\t\t\tlabel: \"only_icon\",\n\t\t\t\t\t\t\thidden: \"data.onlyText\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"onlyText\",\n\t\t\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\t\t\tlabel: \"only_text\",\n\t\t\t\t\t\t\thidden: \"data.onlyIcon\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"buttonGroupVariant\",\n\t\t\t\t\t\t\tlabel: \"button_group_variant\",\n\t\t\t\t\t\t\ttype: \"select\",\n\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t{ value: \"text\", label: \"button_group_text\" },\n\t\t\t\t\t\t\t\t{ value: \"outlined\", label: \"button_group_outlined\" },\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdefault: \"text\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"buttonGroupOrientation\",\n\t\t\t\t\t\t\tlabel: \"button_group_orientation\",\n\t\t\t\t\t\t\ttype: \"select\",\n\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t{ value: \"horizontal\", label: \"horizontal\" },\n\t\t\t\t\t\t\t\t{ value: \"vertical\", label: \"vertical\" },\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdefault: \"horizontal\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"buttonGroupColor\",\n\t\t\t\t\t\t\tlabel: \"button_group_color\",\n\t\t\t\t\t\t\ttype: \"color\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\tCollectionGroupAttributes(\"active\"),\n\t\t\t\t// CollectionGroupAttributes(\"on\"),\n\t\t\t\t// CollectionGroupAttributes(\"off\"),\n\t\t\t\tCollectionGroupAttributes(\"values\"),\n\n\t\t\t\t// check here all possible types https://github.com/ioBroker/ioBroker.vis/blob/react/src/src/Attributes/Widget/SCHEMA.md\n\t\t\t],\n\t\t\tvisDefaultStyle: {\n\t\t\t\twidth: \"100%\",\n\t\t\t\theight: \"100px\",\n\t\t\t\tposition: \"relative\",\n\t\t\t},\n\t\t\tvisPrev:\n\t\t\t\t\"widgets/vis-2-widgets-collection/img/prev-collection-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":["_oidObject$common","values","setState","oidObject","widget","getPropertyValue","useContext","CollectionContext","data","states","activeIndex","useData","fontStyles","textStyles","useStyles","style","oidValue","buttonGroupVariant","buttonGroupOrientation","oid","_id","oidType","common","type","useDebounce","value","_jsxs","CollectionBase","bgActive","children","iconActive","icon","_jsx","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","label","alias","ToggleButton","disableRipple","p","background","backgroundColorActive","backgroundColor","backgroundActive","iconHoverActive","iconHover","onClick","_objectSpread","onlyText","iconSmallActive","overflow","bottom","left","iconSizeActive","onlyIcon","pt","Typography","ref","innerHTML","aliasActive","noWrap","textTransform","fontSize","valueSizeActive","valueSize","textColorActive","textColor","ButtonGroupCollectionWidget","Generic","getWidgetInfo","id","visSet","visSetLabel","visName","visWidgetLabel","visAttrs","CollectionGroupCommonAttributes","name","fields","hidden","options","default","CollectionGroupAttributes","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","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_StateCollectionWidget_StateCollectionWidget_jsx"],{7963:(t,e,o)=>{o.r(e),o.d(e,{default:()=>C});var i=o(7051),n=o(8437),a=o(6211),s=o(4376),l=o(7613),c=o(9966),r=o(900),d=o(7085),u=o(4657),p=o(4802),v=o(6255),h=o(6016),x=o(579);const g=function(t){var e,o,a,s;const{widgetStates:l,data:c,open:r,closeHandler:u}=t,{widget:g,values:m,setState:b,oidObject:y,getPropertyValue:f}=(0,n.useContext)(h.C),C=f("oid"),w=null===y||void 0===y?void 0:y._id,A=null===y||void 0===y||null===(e=y.common)||void 0===e?void 0:e.states,S=null===y||void 0===y||null===(o=y.common)||void 0===o?void 0:o.type;(0,v.A)({value:C,data:g.data});const j=(0,n.useCallback)((function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(S){case"number":b(null===e?{values:(0,i.A)((0,i.A)({},m),{},{["".concat(w,".val")]:t})}:{values:(0,i.A)((0,i.A)({},m),{},{["".concat(w,".val")]:Number(e)})});break;case"string":b({values:(0,i.A)((0,i.A)({},m),{},{["".concat(w,".val")]:String(e)})});break;case"boolean":b({values:(0,i.A)((0,i.A)({},m),{},{["".concat(w,".val")]:/^true$/i.test(e)})})}}),[w,S,b,m]),k="number"!==S||g.data.onlyStates||void 0===(null===y||void 0===y||null===(a=y.common)||void 0===a?void 0:a.min)||void 0===(null===y||void 0===y||null===(s=y.common)||void 0===s?void 0:s.max)?null:(0,x.jsx)(d.Slider,{sx:{pb:A?4:3},size:"small",min:y.common.min,max:y.common.max,marks:[{value:y.common.min,label:String(y.common.min)},{value:y.common.max,label:String(y.common.max)}],valueLabelDisplay:"auto",value:f("oid")||0,onChange:(t,e)=>j(e)}),_=l?(0,x.jsx)(d.List,{children:Object.entries(l).map((t=>{let[e,o]=t;return(0,x.jsx)(d.ListItem,{disablePadding:!0,children:(0,x.jsx)(d.ListItemButton,{disableGutters:!0,onClick:()=>j(o,e),children:(0,x.jsx)(d.ListItemText,{sx:{px:2},primaryTypographyProps:{variant:"body2"},primary:String(o)})})},e)}))}):null;return(0,x.jsxs)(d.Dialog,{open:r,onClose:u,maxWidth:"xs",fullWidth:!0,PaperProps:{sx:{}},children:[(0,x.jsx)(d.DialogTitle,{sx:{m:0,p:2},id:"customized-dialog-title",children:c.header||y.common.name}),(0,x.jsx)(d.IconButton,{"aria-label":"close",onClick:u,sx:t=>({position:"absolute",right:8,top:8,color:t.palette.grey[500]}),children:(0,x.jsx)(p.A,{})}),(0,x.jsx)(d.DialogContent,{sx:{overflow:"unset"},children:(0,x.jsxs)(d.Stack,{divider:Object.keys(l).length&&(0,x.jsx)(d.Divider,{flexItem:!0}),sx:{px:2},spacing:0,component:d.Paper,children:[k,_]})})]})};var m=o(2152),b=o(5702);const y=function(){var t;const e=(0,n.useRef)(null),{setValue:o,widget:a,oidObject:s,getPropertyValue:l}=(0,n.useContext)(h.C),{data:c,widgetStates:r}=(0,m.A)("oid"),p=l("oid"),v=("string"===typeof p||"number"===typeof p||"boolean"===typeof p)&&"".concat(p).concat(a.data.unit),[y,f]=(0,n.useState)(!1),{textStyles:C,fontStyles:w}=(0,b.A)(a.style),A=null===s||void 0===s?void 0:s._id,S=null===s||void 0===s||null===(t=s.common)||void 0===t?void 0:t.type,j=a.data.onlyStates,k=c.alias||c.value||v,_=e.current;(0,n.useEffect)((()=>{k&&_&&(_.innerHTML=k)}),[k,_]);const I=(0,n.useCallback)((()=>{switch(S){case"boolean":j?f(!0):o(A,!p);break;case"number":case"string":f(!0)}}),[S,A,p,o,j]),D=(0,x.jsx)(d.Button,{disabled:a.data.noButton,onClick:I,sx:{width:"100%",height:"100%",color:c.iconColorActive||c.iconColor||c.textColorActive||c.textColor,"&:hover":{bgcolor:"transparent",filter:c.iconHoverActive&&"brightness(".concat(c.iconHoverActive,")")||c.iconHover&&"brightness(".concat(c.iconHover,")")}},children:(0,x.jsxs)(d.Box,{sx:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:[!a.data.noIcon&&(c.iconActive||c.icon)&&(0,x.jsx)(d.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexGrow:1,width:"100%",height:"100%"},children:(0,x.jsx)(d.Avatar,{variant:"square",src:c.iconActive||c.icon,slotProps:{img:{style:{objectFit:"contain"}}},sx:{overflow:"hidden",width:"calc(100% * ".concat(c.iconSizeOnly||100," / 100)"),height:"calc(100% * ".concat(c.iconSizeOnly||100," / 100)"),bottom:c.iconYOffset,left:c.iconXOffset,bgcolor:"transparent",color:c.iconColorActive||c.iconColor,filter:(c.iconActive||c.icon)&&(c.iconColorActive||c.iconColor)&&"drop-shadow(0px 10000px 0)",transform:(c.iconActive||c.icon)&&(c.iconColorActive||c.iconColor)&&"translateY(-10000px)",display:c.icon?null:"flex"}})}),!a.data.noValue&&(0,x.jsx)(d.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexGrow:1,width:"100%",height:"100%"},children:(0,x.jsx)(d.Typography,{ref:e,variant:"body2",sx:(0,i.A)((0,i.A)((0,i.A)({},w),C),{},{fontSize:c.valueSizeActive||c.valueSize,bgcolor:"transparent",color:c.textColorActive||c.textColor,textTransform:"none"})})})]})});return(0,x.jsxs)(x.Fragment,{children:[y&&(0,x.jsx)(g,{data:c,widgetStates:r,open:y,closeHandler:()=>f(!1)}),(0,x.jsx)(u.A,{data:c,oidValue:p,children:(0,x.jsx)(d.Box,{sx:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:D})})]})};class f extends a.A{static getWidgetInfo(){return{id:"tplStateCollectionWidget",visSet:"vis-2-widgets-collection",visSetLabel:"widgets_collection",visSetColor:"#0C0A43",visName:"StateCollectionWidget",visWidgetLabel:"state_collection_widget",visAttrs:[(0,c.A)(),{name:"button",label:"group_button",fields:[{name:"noButton",type:"checkbox",label:"no_button",disabled:"!data.write",default:"!data.write",hidden:"!data.write"},{type:"custom",component:()=>(0,x.jsx)(s.A,{})},{name:"onlyStates",type:"checkbox",label:"only_states",default:!1,hidden:"!data.values_count"},{type:"custom",component:()=>(0,x.jsx)(s.A,{})},{name:"noIcon",type:"checkbox",label:"no_icon"},{name:"noValue",type:"checkbox",label:"no_value"}]},(0,l.A)("values")],visDefaultStyle:{width:"100%",height:"100px",position:"relative"},visPrev:"widgets/vis-2-widgets-collection/img/prev-collection-state.png"}}getWidgetInfo(){return f.getWidgetInfo()}async propertiesUpdate(){const t=JSON.stringify(this.state.rxData);this.lastRxData!==t&&(this.lastRxData=t,await this.createStateObjectAsync("oid"))}async onRxDataChanged(t){await this.propertiesUpdate()}onRxStyleChanged(){}onStateUpdated(t,e){}async componentDidMount(){super.componentDidMount(),await this.propertiesUpdate()}renderWidgetBody(t){super.renderWidgetBody(t);const e={id:t.id,refService:t.refService,style:t.style,widget:(0,i.A)((0,i.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,r.A)(this.wrapContent((0,x.jsx)(y,{})),e)}}const C=f},4802:(t,e,o)=>{var i=o(2613);e.A=void 0;var n=i(o(39)),a=o(579);e.A=(0,n.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")}}]);
|
|
2
|
+
//# sourceMappingURL=src_StateCollectionWidget_StateCollectionWidget_jsx.7449e8a5.chunk.js.map
|