iobroker.vis-2-widgets-collection 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +4 -0
  2. package/io-package.json +14 -14
  3. package/package.json +1 -1
  4. package/widgets/vis-2-widgets-collection/assets/Button-BK3gDuCC.js +677 -0
  5. package/widgets/vis-2-widgets-collection/assets/ButtonGroupCollectionWidget-Bjl7COzs.js +687 -0
  6. package/widgets/vis-2-widgets-collection/assets/CheckboxCollectionWidget-8WjweMs2.js +440 -0
  7. package/widgets/vis-2-widgets-collection/assets/Close-APpa6HX8.js +18 -0
  8. package/widgets/vis-2-widgets-collection/assets/DialogCollectionWidget-o_rzKqrW.js +485 -0
  9. package/widgets/vis-2-widgets-collection/assets/FormControlLabel-CHae4jKA.js +207 -0
  10. package/widgets/vis-2-widgets-collection/assets/GaugeCollectionWidget-C7OFMKbW.js +2860 -0
  11. package/widgets/vis-2-widgets-collection/assets/Light2CollectionWidget-C_bjOKZG.js +2733 -0
  12. package/widgets/vis-2-widgets-collection/assets/RadioGroupCollectionWidget-dntcZhrq.js +538 -0
  13. package/widgets/vis-2-widgets-collection/assets/SafeImg-DHsE-xU3.js +29 -0
  14. package/widgets/vis-2-widgets-collection/assets/SelectCollectionWidget-Dh93X-tG.js +2545 -0
  15. package/widgets/vis-2-widgets-collection/assets/Stack-Dzb7Q6ZE.js +132 -0
  16. package/widgets/vis-2-widgets-collection/assets/StateCollectionWidget-Cp6J4wqx.js +1610 -0
  17. package/widgets/vis-2-widgets-collection/assets/SwitchBase-C4gssu33.js +204 -0
  18. package/widgets/vis-2-widgets-collection/assets/SwitchCollectionWidget-2KPRtnA9.js +572 -0
  19. package/widgets/vis-2-widgets-collection/assets/_commonjsHelpers-Cpj98o6Y.js +8 -0
  20. package/widgets/vis-2-widgets-collection/assets/commonFields-Dc3dYGx-.js +20628 -0
  21. package/widgets/vis-2-widgets-collection/assets/formControlState-Dq1zat_P.js +6 -0
  22. package/widgets/vis-2-widgets-collection/assets/hostInit-D6momM_S.js +9 -0
  23. package/widgets/vis-2-widgets-collection/assets/index-B5Qt9EMX.js +18 -0
  24. package/widgets/vis-2-widgets-collection/assets/index-BEpFHtMA.js +249 -0
  25. package/widgets/vis-2-widgets-collection/assets/index-DMBzzD-N.js +6098 -0
  26. package/widgets/vis-2-widgets-collection/assets/listItemTextClasses-DQeLHf2R.js +120 -0
  27. package/widgets/vis-2-widgets-collection/assets/preload-helper-PPVm8Dsz.js +36 -0
  28. package/widgets/vis-2-widgets-collection/assets/translations-DXoq3Ras.js +9 -0
  29. package/widgets/vis-2-widgets-collection/assets/useFormControl--TM4wVzV.js +20 -0
  30. package/widgets/vis-2-widgets-collection/assets/useHtmlValue-Dcwl_hqT.js +27 -0
  31. package/widgets/vis-2-widgets-collection/assets/useOidValue-DGq_wsMY.js +35 -0
  32. package/widgets/vis-2-widgets-collection/assets/virtualExposes-B50cAOvG.js +118 -0
  33. package/widgets/vis-2-widgets-collection/assets/vis2CollectionWidget__loadShare__react__loadShare__-L1bZe9z4.js +45 -0
  34. package/widgets/vis-2-widgets-collection/assets/vis2CollectionWidget__mf_v__runtimeInit__mf_v__-Cugi9Gwb.js +12 -0
  35. package/widgets/vis-2-widgets-collection/img/prev-collection-checkbox.png +0 -0
  36. package/widgets/vis-2-widgets-collection/img/prev-collection-dialog.png +0 -0
  37. package/widgets/vis-2-widgets-collection/img/prev-collection-gauge.png +0 -0
  38. package/widgets/vis-2-widgets-collection/img/prev-collection-light.png +0 -0
  39. package/widgets/vis-2-widgets-collection/img/prev-collection-radio-group.png +0 -0
  40. package/widgets/vis-2-widgets-collection/img/prev-collection-select.png +0 -0
@@ -0,0 +1,6 @@
1
+ function d({ props: e, states: u, muiFormControl: r }) {
2
+ return u.reduce((n, f) => (n[f] = e[f], r && typeof e[f] > "u" && (n[f] = r[f]), n), {});
3
+ }
4
+ export {
5
+ d as f
6
+ };
@@ -0,0 +1,9 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../customWidgets.js","./virtualExposes-B50cAOvG.js","./preload-helper-PPVm8Dsz.js","./vis2CollectionWidget__mf_v__runtimeInit__mf_v__-Cugi9Gwb.js"])))=>i.map(i=>d[i]);
2
+ import { _ as i } from "./preload-helper-PPVm8Dsz.js";
3
+ (async () => {
4
+ const r = i(() => import("../customWidgets.js").then(async (m) => {
5
+ await m.__tla;
6
+ return m;
7
+ }), __vite__mapDeps([0,1,2,3]), import.meta.url);
8
+ Promise.resolve(r).then((e) => Promise.resolve(e.__tla).then(e.init).catch(e.init));
9
+ })();
@@ -0,0 +1,18 @@
1
+ (function() {
2
+ const t = document.createElement("link").relList;
3
+ if (t && t.supports && t.supports("modulepreload")) return;
4
+ for (const e of document.querySelectorAll('link[rel="modulepreload"]')) i(e);
5
+ new MutationObserver((e) => {
6
+ for (const r of e) if (r.type === "childList") for (const o of r.addedNodes) o.tagName === "LINK" && o.rel === "modulepreload" && i(o);
7
+ }).observe(document, { childList: true, subtree: true });
8
+ function s(e) {
9
+ const r = {};
10
+ return e.integrity && (r.integrity = e.integrity), e.referrerPolicy && (r.referrerPolicy = e.referrerPolicy), e.crossOrigin === "use-credentials" ? r.credentials = "include" : e.crossOrigin === "anonymous" ? r.credentials = "omit" : r.credentials = "same-origin", r;
11
+ }
12
+ function i(e) {
13
+ if (e.ep) return;
14
+ e.ep = true;
15
+ const r = s(e);
16
+ fetch(e.href, r);
17
+ }
18
+ })();
@@ -0,0 +1,249 @@
1
+ import { g as T } from "./_commonjsHelpers-Cpj98o6Y.js";
2
+ function V(e, t) {
3
+ for (var n = 0; n < t.length; n++) {
4
+ const u = t[n];
5
+ if (typeof u != "string" && !Array.isArray(u)) {
6
+ for (const o in u) if (o !== "default" && !(o in e)) {
7
+ const i = Object.getOwnPropertyDescriptor(u, o);
8
+ i && Object.defineProperty(e, o, i.get ? i : { enumerable: true, get: () => u[o] });
9
+ }
10
+ }
11
+ }
12
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
13
+ }
14
+ var g = { exports: {} }, r = {};
15
+ var y = /* @__PURE__ */ Symbol.for("react.element"), F = /* @__PURE__ */ Symbol.for("react.portal"), U = /* @__PURE__ */ Symbol.for("react.fragment"), q = /* @__PURE__ */ Symbol.for("react.strict_mode"), L = /* @__PURE__ */ Symbol.for("react.profiler"), M = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), z = /* @__PURE__ */ Symbol.for("react.forward_ref"), B = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), k = Symbol.iterator;
16
+ function G(e) {
17
+ return e === null || typeof e != "object" ? null : (e = k && e[k] || e["@@iterator"], typeof e == "function" ? e : null);
18
+ }
19
+ var R = { isMounted: function() {
20
+ return false;
21
+ }, enqueueForceUpdate: function() {
22
+ }, enqueueReplaceState: function() {
23
+ }, enqueueSetState: function() {
24
+ } }, j = Object.assign, C = {};
25
+ function p(e, t, n) {
26
+ this.props = e, this.context = t, this.refs = C, this.updater = n || R;
27
+ }
28
+ p.prototype.isReactComponent = {};
29
+ p.prototype.setState = function(e, t) {
30
+ if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
31
+ this.updater.enqueueSetState(this, e, t, "setState");
32
+ };
33
+ p.prototype.forceUpdate = function(e) {
34
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
35
+ };
36
+ function x() {
37
+ }
38
+ x.prototype = p.prototype;
39
+ function v(e, t, n) {
40
+ this.props = e, this.context = t, this.refs = C, this.updater = n || R;
41
+ }
42
+ var S = v.prototype = new x();
43
+ S.constructor = v;
44
+ j(S, p.prototype);
45
+ S.isPureReactComponent = true;
46
+ var w = Array.isArray, O = Object.prototype.hasOwnProperty, E = { current: null }, P = { key: true, ref: true, __self: true, __source: true };
47
+ function I(e, t, n) {
48
+ var u, o = {}, i = null, s = null;
49
+ if (t != null) for (u in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) O.call(t, u) && !P.hasOwnProperty(u) && (o[u] = t[u]);
50
+ var f = arguments.length - 2;
51
+ if (f === 1) o.children = n;
52
+ else if (1 < f) {
53
+ for (var c = Array(f), a = 0; a < f; a++) c[a] = arguments[a + 2];
54
+ o.children = c;
55
+ }
56
+ if (e && e.defaultProps) for (u in f = e.defaultProps, f) o[u] === void 0 && (o[u] = f[u]);
57
+ return { $$typeof: y, type: e, key: i, ref: s, props: o, _owner: E.current };
58
+ }
59
+ function J(e, t) {
60
+ return { $$typeof: y, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
61
+ }
62
+ function b(e) {
63
+ return typeof e == "object" && e !== null && e.$$typeof === y;
64
+ }
65
+ function K(e) {
66
+ var t = { "=": "=0", ":": "=2" };
67
+ return "$" + e.replace(/[=:]/g, function(n) {
68
+ return t[n];
69
+ });
70
+ }
71
+ var $ = /\/+/g;
72
+ function m(e, t) {
73
+ return typeof e == "object" && e !== null && e.key != null ? K("" + e.key) : t.toString(36);
74
+ }
75
+ function _(e, t, n, u, o) {
76
+ var i = typeof e;
77
+ (i === "undefined" || i === "boolean") && (e = null);
78
+ var s = false;
79
+ if (e === null) s = true;
80
+ else switch (i) {
81
+ case "string":
82
+ case "number":
83
+ s = true;
84
+ break;
85
+ case "object":
86
+ switch (e.$$typeof) {
87
+ case y:
88
+ case F:
89
+ s = true;
90
+ }
91
+ }
92
+ if (s) return s = e, o = o(s), e = u === "" ? "." + m(s, 0) : u, w(o) ? (n = "", e != null && (n = e.replace($, "$&/") + "/"), _(o, t, n, "", function(a) {
93
+ return a;
94
+ })) : o != null && (b(o) && (o = J(o, n + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace($, "$&/") + "/") + e)), t.push(o)), 1;
95
+ if (s = 0, u = u === "" ? "." : u + ":", w(e)) for (var f = 0; f < e.length; f++) {
96
+ i = e[f];
97
+ var c = u + m(i, f);
98
+ s += _(i, t, n, c, o);
99
+ }
100
+ else if (c = G(e), typeof c == "function") for (e = c.call(e), f = 0; !(i = e.next()).done; ) i = i.value, c = u + m(i, f++), s += _(i, t, n, c, o);
101
+ else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
102
+ return s;
103
+ }
104
+ function d(e, t, n) {
105
+ if (e == null) return e;
106
+ var u = [], o = 0;
107
+ return _(e, u, "", "", function(i) {
108
+ return t.call(n, i, o++);
109
+ }), u;
110
+ }
111
+ function Q(e) {
112
+ if (e._status === -1) {
113
+ var t = e._result;
114
+ t = t(), t.then(function(n) {
115
+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = n);
116
+ }, function(n) {
117
+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = n);
118
+ }), e._status === -1 && (e._status = 0, e._result = t);
119
+ }
120
+ if (e._status === 1) return e._result.default;
121
+ throw e._result;
122
+ }
123
+ var l = { current: null }, h = { transition: null }, X = { ReactCurrentDispatcher: l, ReactCurrentBatchConfig: h, ReactCurrentOwner: E };
124
+ function A() {
125
+ throw Error("act(...) is not supported in production builds of React.");
126
+ }
127
+ r.Children = { map: d, forEach: function(e, t, n) {
128
+ d(e, function() {
129
+ t.apply(this, arguments);
130
+ }, n);
131
+ }, count: function(e) {
132
+ var t = 0;
133
+ return d(e, function() {
134
+ t++;
135
+ }), t;
136
+ }, toArray: function(e) {
137
+ return d(e, function(t) {
138
+ return t;
139
+ }) || [];
140
+ }, only: function(e) {
141
+ if (!b(e)) throw Error("React.Children.only expected to receive a single React element child.");
142
+ return e;
143
+ } };
144
+ r.Component = p;
145
+ r.Fragment = U;
146
+ r.Profiler = L;
147
+ r.PureComponent = v;
148
+ r.StrictMode = q;
149
+ r.Suspense = B;
150
+ r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = X;
151
+ r.act = A;
152
+ r.cloneElement = function(e, t, n) {
153
+ if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
154
+ var u = j({}, e.props), o = e.key, i = e.ref, s = e._owner;
155
+ if (t != null) {
156
+ if (t.ref !== void 0 && (i = t.ref, s = E.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var f = e.type.defaultProps;
157
+ for (c in t) O.call(t, c) && !P.hasOwnProperty(c) && (u[c] = t[c] === void 0 && f !== void 0 ? f[c] : t[c]);
158
+ }
159
+ var c = arguments.length - 2;
160
+ if (c === 1) u.children = n;
161
+ else if (1 < c) {
162
+ f = Array(c);
163
+ for (var a = 0; a < c; a++) f[a] = arguments[a + 2];
164
+ u.children = f;
165
+ }
166
+ return { $$typeof: y, type: e.type, key: o, ref: i, props: u, _owner: s };
167
+ };
168
+ r.createContext = function(e) {
169
+ return e = { $$typeof: N, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: M, _context: e }, e.Consumer = e;
170
+ };
171
+ r.createElement = I;
172
+ r.createFactory = function(e) {
173
+ var t = I.bind(null, e);
174
+ return t.type = e, t;
175
+ };
176
+ r.createRef = function() {
177
+ return { current: null };
178
+ };
179
+ r.forwardRef = function(e) {
180
+ return { $$typeof: z, render: e };
181
+ };
182
+ r.isValidElement = b;
183
+ r.lazy = function(e) {
184
+ return { $$typeof: W, _payload: { _status: -1, _result: e }, _init: Q };
185
+ };
186
+ r.memo = function(e, t) {
187
+ return { $$typeof: H, type: e, compare: t === void 0 ? null : t };
188
+ };
189
+ r.startTransition = function(e) {
190
+ var t = h.transition;
191
+ h.transition = {};
192
+ try {
193
+ e();
194
+ } finally {
195
+ h.transition = t;
196
+ }
197
+ };
198
+ r.unstable_act = A;
199
+ r.useCallback = function(e, t) {
200
+ return l.current.useCallback(e, t);
201
+ };
202
+ r.useContext = function(e) {
203
+ return l.current.useContext(e);
204
+ };
205
+ r.useDebugValue = function() {
206
+ };
207
+ r.useDeferredValue = function(e) {
208
+ return l.current.useDeferredValue(e);
209
+ };
210
+ r.useEffect = function(e, t) {
211
+ return l.current.useEffect(e, t);
212
+ };
213
+ r.useId = function() {
214
+ return l.current.useId();
215
+ };
216
+ r.useImperativeHandle = function(e, t, n) {
217
+ return l.current.useImperativeHandle(e, t, n);
218
+ };
219
+ r.useInsertionEffect = function(e, t) {
220
+ return l.current.useInsertionEffect(e, t);
221
+ };
222
+ r.useLayoutEffect = function(e, t) {
223
+ return l.current.useLayoutEffect(e, t);
224
+ };
225
+ r.useMemo = function(e, t) {
226
+ return l.current.useMemo(e, t);
227
+ };
228
+ r.useReducer = function(e, t, n) {
229
+ return l.current.useReducer(e, t, n);
230
+ };
231
+ r.useRef = function(e) {
232
+ return l.current.useRef(e);
233
+ };
234
+ r.useState = function(e) {
235
+ return l.current.useState(e);
236
+ };
237
+ r.useSyncExternalStore = function(e, t, n) {
238
+ return l.current.useSyncExternalStore(e, t, n);
239
+ };
240
+ r.useTransition = function() {
241
+ return l.current.useTransition();
242
+ };
243
+ r.version = "18.3.1";
244
+ g.exports = r;
245
+ var D = g.exports;
246
+ const Y = T(D), ee = V({ __proto__: null, default: Y }, [D]);
247
+ export {
248
+ ee as i
249
+ };