@hortiview/default-components 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/components/DefaultAllowedComponent/DefaultAllowedComponent.js +8 -48
  2. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +12 -1514
  3. package/dist/components/DefaultFormSelect/DefaultFormSelect.js +9 -178
  4. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +6 -6
  5. package/dist/components/GenericTable/GenericTable.js +12 -18746
  6. package/dist/components/HealthChecks/DataBaseHealthCheck.js +2 -2
  7. package/dist/components/HealthChecks/DefaultHealthCheck.js +4 -4
  8. package/dist/components/HealthChecks/IotServiceHealthCheck.js +5 -5
  9. package/dist/components/HealthChecks/PlatformHealthCheck.js +4 -4
  10. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +9 -9
  11. package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +4 -4
  12. package/dist/components/OfflineView/OfflineView.js +9 -9
  13. package/dist/i18n.js +1696 -5
  14. package/dist/{i18nInstance-D_96ADqd.js → i18nInstance-CYqpK5II.js} +2 -2
  15. package/dist/useTranslation-DGtUf8nl.js +101 -0
  16. package/package.json +2 -2
  17. package/dist/Iconify-D3gVmKx3.js +0 -84
  18. package/dist/InfoCard-Ba-VFnki.js +0 -58
  19. package/dist/LoadingSpinner-CmwCv7BO.js +0 -503
  20. package/dist/OfflineView-CIwV08EQ-BClnJRzV.js +0 -46
  21. package/dist/assets/DefaultAllowedComponent.css +0 -1
  22. package/dist/assets/DefaultFormNumber.css +0 -1
  23. package/dist/assets/DefaultFormSelect.css +0 -1
  24. package/dist/assets/GenericTable.css +0 -1
  25. package/dist/assets/Iconify.css +0 -1
  26. package/dist/assets/InfoCard.css +0 -1
  27. package/dist/assets/LoadingSpinner.css +0 -1
  28. package/dist/assets/OfflineView-CIwV08EQ.css +0 -1
  29. package/dist/component-Bz_dtX1r-DqCAj-DR.js +0 -304
  30. package/dist/component-DEJuY56h-CYiwt7Ga.js +0 -571
  31. package/dist/correct-is-regexp-logic-Y0ToWEjF-pByZFQLo.js +0 -494
  32. package/dist/i18n-CCQpJsQK.js +0 -1707
  33. package/dist/index.es--C-VLspF-B3Cy1zrT.js +0 -845
  34. package/dist/index.es-B74L_Dje-mYAvKwSb.js +0 -2005
  35. package/dist/index.es-B8p8KCdj--cmqwwUJ.js +0 -360
  36. package/dist/index.es-BPv5dCFQ-BmH1Hq7_.js +0 -1044
  37. package/dist/index.es-BanVdXEd-BYOBCuJj.js +0 -79
  38. package/dist/index.es-SjZ_-d7U-HvaOH_Z0.js +0 -860
  39. package/dist/index.es-nwjKmW7--CUlbl1RR.js +0 -14375
  40. package/dist/isTypedArray-DziahYkI-Cw9ssvDH.js +0 -210
  41. package/dist/slicedToArray-ByMQIs5x-BsvSjTDl.js +0 -432
  42. package/dist/useHelperText-Cqx6ggnc.js +0 -392
  43. package/dist/useTranslation-BQQybhSd.js +0 -5042
@@ -1,304 +0,0 @@
1
- import { ai as s, aj as Y, ak as Z } from "./useTranslation-BQQybhSd.js";
2
- var p, k;
3
- function tt() {
4
- if (k) return p;
5
- k = 1;
6
- var t = typeof s == "object" && s && s.Object === Object && s;
7
- return p = t, p;
8
- }
9
- var y, x;
10
- function T() {
11
- if (x) return y;
12
- x = 1;
13
- var t = tt(), r = typeof self == "object" && self && self.Object === Object && self, n = t || r || Function("return this")();
14
- return y = n, y;
15
- }
16
- var b, A;
17
- function B() {
18
- if (A) return b;
19
- A = 1;
20
- var t = T(), r = t.Symbol;
21
- return b = r, b;
22
- }
23
- var d, D;
24
- function rt() {
25
- if (D) return d;
26
- D = 1;
27
- var t = B(), r = Object.prototype, n = r.hasOwnProperty, e = r.toString, o = t ? t.toStringTag : void 0;
28
- function a(u) {
29
- var i = n.call(u, o), c = u[o];
30
- try {
31
- u[o] = void 0;
32
- var l = !0;
33
- } catch {
34
- }
35
- var v = e.call(u);
36
- return l && (i ? u[o] = c : delete u[o]), v;
37
- }
38
- return d = a, d;
39
- }
40
- var g, N;
41
- function nt() {
42
- if (N) return g;
43
- N = 1;
44
- var t = Object.prototype, r = t.toString;
45
- function n(e) {
46
- return r.call(e);
47
- }
48
- return g = n, g;
49
- }
50
- var h, R;
51
- function et() {
52
- if (R) return h;
53
- R = 1;
54
- var t = B(), r = rt(), n = nt(), e = "[object Null]", o = "[object Undefined]", a = t ? t.toStringTag : void 0;
55
- function u(i) {
56
- return i == null ? i === void 0 ? o : e : a && a in Object(i) ? r(i) : n(i);
57
- }
58
- return h = u, h;
59
- }
60
- var $, I;
61
- function pt() {
62
- if (I) return $;
63
- I = 1;
64
- function t(r) {
65
- return r != null && typeof r == "object";
66
- }
67
- return $ = t, $;
68
- }
69
- var j, L;
70
- function yt() {
71
- if (L) return j;
72
- L = 1;
73
- var t = Array.isArray;
74
- return j = t, j;
75
- }
76
- var O, M;
77
- function K() {
78
- if (M) return O;
79
- M = 1;
80
- function t(r) {
81
- var n = typeof r;
82
- return r != null && (n == "object" || n == "function");
83
- }
84
- return O = t, O;
85
- }
86
- var m, q;
87
- function ot() {
88
- if (q) return m;
89
- q = 1;
90
- var t = et(), r = K(), n = "[object AsyncFunction]", e = "[object Function]", o = "[object GeneratorFunction]", a = "[object Proxy]";
91
- function u(i) {
92
- if (!r(i))
93
- return !1;
94
- var c = t(i);
95
- return c == e || c == o || c == n || c == a;
96
- }
97
- return m = u, m;
98
- }
99
- var S, z;
100
- function ut() {
101
- if (z) return S;
102
- z = 1;
103
- var t = T(), r = t["__core-js_shared__"];
104
- return S = r, S;
105
- }
106
- var E, G;
107
- function it() {
108
- if (G) return E;
109
- G = 1;
110
- var t = ut(), r = function() {
111
- var e = /[^.]+$/.exec(t && t.keys && t.keys.IE_PROTO || "");
112
- return e ? "Symbol(src)_1." + e : "";
113
- }();
114
- function n(e) {
115
- return !!r && r in e;
116
- }
117
- return E = n, E;
118
- }
119
- var F, U;
120
- function at() {
121
- if (U) return F;
122
- U = 1;
123
- var t = Function.prototype, r = t.toString;
124
- function n(e) {
125
- if (e != null) {
126
- try {
127
- return r.call(e);
128
- } catch {
129
- }
130
- try {
131
- return e + "";
132
- } catch {
133
- }
134
- }
135
- return "";
136
- }
137
- return F = n, F;
138
- }
139
- var w, W;
140
- function ct() {
141
- if (W) return w;
142
- W = 1;
143
- var t = ot(), r = it(), n = K(), e = at(), o = /[\\^$.*+?()[\]{}|]/g, a = /^\[object .+?Constructor\]$/, u = Function.prototype, i = Object.prototype, c = u.toString, l = i.hasOwnProperty, v = RegExp(
144
- "^" + c.call(l).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
145
- );
146
- function Q(f) {
147
- if (!n(f) || r(f))
148
- return !1;
149
- var X = t(f) ? v : a;
150
- return X.test(e(f));
151
- }
152
- return w = Q, w;
153
- }
154
- var P, H;
155
- function ft() {
156
- if (H) return P;
157
- H = 1;
158
- function t(r, n) {
159
- return r == null ? void 0 : r[n];
160
- }
161
- return P = t, P;
162
- }
163
- var _, J;
164
- function st() {
165
- if (J) return _;
166
- J = 1;
167
- var t = ct(), r = ft();
168
- function n(e, o) {
169
- var a = r(e, o);
170
- return t(a) ? a : void 0;
171
- }
172
- return _ = n, _;
173
- }
174
- var C, V;
175
- function bt() {
176
- if (V) return C;
177
- V = 1;
178
- var t = st(), r = T(), n = t(r, "Map");
179
- return C = n, C;
180
- }
181
- /**
182
- * @license
183
- * Copyright 2016 Google Inc.
184
- *
185
- * Permission is hereby granted, free of charge, to any person obtaining a copy
186
- * of this software and associated documentation files (the "Software"), to deal
187
- * in the Software without restriction, including without limitation the rights
188
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
189
- * copies of the Software, and to permit persons to whom the Software is
190
- * furnished to do so, subject to the following conditions:
191
- *
192
- * The above copyright notice and this permission notice shall be included in
193
- * all copies or substantial portions of the Software.
194
- *
195
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
196
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
197
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
198
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
199
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
200
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
201
- * THE SOFTWARE.
202
- */
203
- var lt = (
204
- /** @class */
205
- function() {
206
- function t(r) {
207
- r === void 0 && (r = {}), this.adapter = r;
208
- }
209
- return Object.defineProperty(t, "cssClasses", {
210
- get: function() {
211
- return {};
212
- },
213
- enumerable: !1,
214
- configurable: !0
215
- }), Object.defineProperty(t, "strings", {
216
- get: function() {
217
- return {};
218
- },
219
- enumerable: !1,
220
- configurable: !0
221
- }), Object.defineProperty(t, "numbers", {
222
- get: function() {
223
- return {};
224
- },
225
- enumerable: !1,
226
- configurable: !0
227
- }), Object.defineProperty(t, "defaultAdapter", {
228
- get: function() {
229
- return {};
230
- },
231
- enumerable: !1,
232
- configurable: !0
233
- }), t.prototype.init = function() {
234
- }, t.prototype.destroy = function() {
235
- }, t;
236
- }()
237
- );
238
- /**
239
- * @license
240
- * Copyright 2016 Google Inc.
241
- *
242
- * Permission is hereby granted, free of charge, to any person obtaining a copy
243
- * of this software and associated documentation files (the "Software"), to deal
244
- * in the Software without restriction, including without limitation the rights
245
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
246
- * copies of the Software, and to permit persons to whom the Software is
247
- * furnished to do so, subject to the following conditions:
248
- *
249
- * The above copyright notice and this permission notice shall be included in
250
- * all copies or substantial portions of the Software.
251
- *
252
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
253
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
254
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
255
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
256
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
257
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
258
- * THE SOFTWARE.
259
- */
260
- var dt = (
261
- /** @class */
262
- function() {
263
- function t(r, n) {
264
- for (var e = [], o = 2; o < arguments.length; o++)
265
- e[o - 2] = arguments[o];
266
- this.root = r, this.initialize.apply(this, Y([], Z(e))), this.foundation = n === void 0 ? this.getDefaultFoundation() : n, this.foundation.init(), this.initialSyncWithDOM();
267
- }
268
- return t.attachTo = function(r) {
269
- return new t(r, new lt({}));
270
- }, t.prototype.initialize = function() {
271
- }, t.prototype.getDefaultFoundation = function() {
272
- throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");
273
- }, t.prototype.initialSyncWithDOM = function() {
274
- }, t.prototype.destroy = function() {
275
- this.foundation.destroy();
276
- }, t.prototype.listen = function(r, n, e) {
277
- this.root.addEventListener(r, n, e);
278
- }, t.prototype.unlisten = function(r, n, e) {
279
- this.root.removeEventListener(r, n, e);
280
- }, t.prototype.emit = function(r, n, e) {
281
- e === void 0 && (e = !1);
282
- var o;
283
- typeof CustomEvent == "function" ? o = new CustomEvent(r, {
284
- bubbles: e,
285
- detail: n
286
- }) : (o = document.createEvent("CustomEvent"), o.initCustomEvent(r, e, !1, n)), this.root.dispatchEvent(o);
287
- }, t;
288
- }()
289
- );
290
- export {
291
- tt as A,
292
- et as F,
293
- st as G,
294
- bt as H,
295
- ot as J,
296
- pt as N,
297
- K as T,
298
- yt as U,
299
- lt as a,
300
- dt as f,
301
- B as h,
302
- T as k,
303
- at as w
304
- };