@hortiview/shared-components 2.8.6 → 2.8.8

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 (133) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AlertBanner-DlgFtlZm.js → AlertBanner-D-NTP_6i.js} +3 -3
  3. package/dist/{BigLoadingSpinner-B_HFhx2F.js → BigLoadingSpinner-CCxsMWnc.js} +1 -1
  4. package/dist/{GenericCard-Cv8qaFLu.js → GenericCard-DOKyENNm.js} +3 -3
  5. package/dist/{ListAreaService-D9HRsvH0.js → ListAreaService-CI-s1Xx5.js} +5 -5
  6. package/dist/{OfflineView-Bw-sbsym.js → OfflineView-DHtzNLwt.js} +3 -3
  7. package/dist/_Map-BmafU0dj.js +113 -0
  8. package/dist/assets/FormSelect.css +1 -1
  9. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  10. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  11. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  12. package/dist/components/BaseView/BaseView.js +2 -2
  13. package/dist/components/BasicHeading/BasicHeading.js +2 -2
  14. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  15. package/dist/components/BlockView/BlockView.js +1 -1
  16. package/dist/components/ChipCard/ChipCard.js +499 -390
  17. package/dist/components/ContextMenu/ContextMenu.js +4 -4
  18. package/dist/components/DeleteModal/DeleteModal.js +5 -5
  19. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  20. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  21. package/dist/components/EmptyView/EmptyView.js +161 -125
  22. package/dist/components/Filter/Filter.js +11 -11
  23. package/dist/components/Filter/Filter.test.js +51 -35
  24. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  25. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +10 -10
  26. package/dist/components/FormComponents/FormNumber/CustomTextField.js +3 -3
  27. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  28. package/dist/components/FormComponents/FormSelect/FormSelect.js +53 -53
  29. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  30. package/dist/components/FormComponents/FormSlider/FormSlider.js +540 -535
  31. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  32. package/dist/components/FormComponents/FormToggle/FormToggle.js +4 -4
  33. package/dist/components/GenericTable/GenericTable.js +8246 -7153
  34. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  35. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  36. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  37. package/dist/components/HashTabView/HashTabView.js +552 -541
  38. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  39. package/dist/components/Iconify/Iconify.js +2 -2
  40. package/dist/components/InfoCard/InfoCard.js +4 -4
  41. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  42. package/dist/components/ListArea/ListArea.js +16 -16
  43. package/dist/components/ListArea/ListArea.test.js +20 -20
  44. package/dist/components/ListArea/ListAreaService.js +6 -6
  45. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
  46. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  47. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +164 -178
  48. package/dist/components/Modal/Modal.js +305 -312
  49. package/dist/components/ModulePadding/ModulePadding.js +8 -8
  50. package/dist/components/OfflineView/OfflineView.js +4 -4
  51. package/dist/components/OfflineView/OfflineView.test.js +1 -1
  52. package/dist/components/OnboardingBanner/OnboardingBanner.js +13 -13
  53. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  54. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  55. package/dist/components/SearchBar/SearchBar.js +2 -2
  56. package/dist/components/SearchBar/SearchBar.test.js +1 -1
  57. package/dist/components/Select/Select.js +2 -2
  58. package/dist/components/Stepper/Stepper.js +1 -1
  59. package/dist/components/Stepper/components/StepperButton.js +1 -1
  60. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  61. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  62. package/dist/defineProperty-CmuOyxyf.js +318 -0
  63. package/dist/es.string.iterator-DrqCBub-.js +581 -0
  64. package/dist/find-B-dm7n_F.js +88 -0
  65. package/dist/{get-CqneoueQ.js → get-DuK51wnj.js} +1 -1
  66. package/dist/get-u1nFMLdT.js +377 -0
  67. package/dist/hooks/useHelperText.js +1 -1
  68. package/dist/identity-BIZAN_pL.js +213 -0
  69. package/dist/includes-Bt-Stz_B.js +110 -0
  70. package/dist/index-Cpb-8cAN.js +2465 -0
  71. package/dist/index.es-0QJC9VS2.js +325 -0
  72. package/dist/{index.es-CyjMwj5g.js → index.es-45NOgWlB.js} +93 -101
  73. package/dist/index.es-B6ZgiW2s.js +3790 -0
  74. package/dist/{index.es-1zrFd4Te.js → index.es-BGordhUK.js} +352 -323
  75. package/dist/index.es-BRtk0Q33.js +42 -0
  76. package/dist/index.es-BXj90wb_.js +402 -0
  77. package/dist/index.es-Bg8hxXM8.js +912 -0
  78. package/dist/index.es-Bgjh6euR.js +292 -0
  79. package/dist/index.es-Bo1Rhtyb.js +80 -0
  80. package/dist/{index.es-BaX-8joZ.js → index.es-CK4oZMKs.js} +3329 -3232
  81. package/dist/{index.es-nQ0lMwpE.js → index.es-CKdJX75f.js} +74 -78
  82. package/dist/index.es-CmF6xAUJ.js +48 -0
  83. package/dist/{index.es-p4O33fMu.js → index.es-Cq04gn3U.js} +321 -305
  84. package/dist/{index.es-Cdu6tjUC.js → index.es-D1IpdMde.js} +87 -95
  85. package/dist/index.es-DDYCugj-.js +166 -0
  86. package/dist/{index.es-jFaPNuBO.js → index.es-DENZVv7_.js} +427 -444
  87. package/dist/{index.es-Dnrk7XL6.js → index.es-DObVvepK.js} +158 -166
  88. package/dist/index.es-DeF-y7fd.js +122 -0
  89. package/dist/{index.es-ks_RnHLh.js → index.es-Dfju71Pi.js} +27 -37
  90. package/dist/index.es-DqSY-ePE.js +4923 -0
  91. package/dist/index.es-DwzB1d7_.js +1061 -0
  92. package/dist/index.es-IXyb5F6n.js +457 -0
  93. package/dist/index.es-t7hFwQSs.js +67 -0
  94. package/dist/isArray-DN9s620O.js +83 -0
  95. package/dist/{isArray-CSaAxHlq.js → isArray-Dub1wGJM.js} +1 -1
  96. package/dist/{isEmpty-SkzPhavO.js → isEmpty-CxD71Jv8.js} +4 -5
  97. package/dist/{isString-CZsZiWgW.js → isString-BNaBRq3S.js} +2 -2
  98. package/dist/isTypedArray-Dw_IY7Zq.js +212 -0
  99. package/dist/keyboard-B-WUULl-.js +173 -0
  100. package/dist/main.js +2 -2
  101. package/dist/map-Dbvlv_6y.js +707 -0
  102. package/dist/omit-uTAyrUTm.js +645 -0
  103. package/dist/orderBy-BXxEvUw6.js +571 -0
  104. package/dist/parse-int-qVAoFbOL.js +75 -0
  105. package/dist/services/UtilService.js +7 -7
  106. package/dist/slicedToArray-BWk2gTCn.js +436 -0
  107. package/dist/{toString-BFJes2_D.js → toString-CrgB_7Pe.js} +1 -1
  108. package/dist/{uniqueId-DrPMzA-E.js → uniqueId-NU3-C36A.js} +1 -1
  109. package/package.json +3 -3
  110. package/dist/_baseIsEqual-Df2URKWm.js +0 -240
  111. package/dist/_getAllKeys-BQWmkEw5.js +0 -86
  112. package/dist/_getTag-BkGSRa18.js +0 -79
  113. package/dist/_setToString-B6E13pDg.js +0 -580
  114. package/dist/get-DQr2KQKm.js +0 -113
  115. package/dist/index-D5m--65X.js +0 -1491
  116. package/dist/index.es-8MVlRCi4.js +0 -1066
  117. package/dist/index.es-BbaCXS9-.js +0 -45
  118. package/dist/index.es-BikIx4uw.js +0 -3242
  119. package/dist/index.es-CDMu_yu0.js +0 -954
  120. package/dist/index.es-ChSlnpSq.js +0 -309
  121. package/dist/index.es-D66OkZJH.js +0 -4853
  122. package/dist/index.es-DFFyENnI.js +0 -63
  123. package/dist/index.es-DTMwaJ6B.js +0 -56
  124. package/dist/index.es-DgTJmbgD.js +0 -268
  125. package/dist/index.es-DmsyeHLO.js +0 -306
  126. package/dist/index.es-Dw1eih7R.js +0 -159
  127. package/dist/index.es-eKuwB1ll.js +0 -54
  128. package/dist/index.es-qxTN-Bb2.js +0 -107
  129. package/dist/index.es-xnSvM9b9.js +0 -444
  130. package/dist/isArray-DDZrq40X.js +0 -456
  131. package/dist/keyboard-Bpt0aBqQ.js +0 -107
  132. package/dist/omit-BN3qeeaj.js +0 -364
  133. package/dist/orderBy-D4LvP9Az.js +0 -316
@@ -0,0 +1,212 @@
1
+ import { a as h, r as jr, b as qr, c as Ar } from "./_Map-BmafU0dj.js";
2
+ import { d as p, a as X, b as z, e as hr } from "./isArray-DN9s620O.js";
3
+ var S, H;
4
+ function mr() {
5
+ if (H) return S;
6
+ H = 1;
7
+ var r = Object.prototype;
8
+ function t(e) {
9
+ var a = e && e.constructor, n = typeof a == "function" && a.prototype || r;
10
+ return e === n;
11
+ }
12
+ return S = t, S;
13
+ }
14
+ var k, J;
15
+ function lr() {
16
+ if (J) return k;
17
+ J = 1;
18
+ function r(t, e) {
19
+ return function(a) {
20
+ return t(e(a));
21
+ };
22
+ }
23
+ return k = r, k;
24
+ }
25
+ var M, Q;
26
+ function Ir() {
27
+ if (Q) return M;
28
+ Q = 1;
29
+ var r = lr(), t = r(Object.keys, Object);
30
+ return M = t, M;
31
+ }
32
+ var x, Y;
33
+ function Er() {
34
+ if (Y) return x;
35
+ Y = 1;
36
+ var r = mr(), t = Ir(), e = Object.prototype, a = e.hasOwnProperty;
37
+ function n(s) {
38
+ if (!r(s))
39
+ return t(s);
40
+ var o = [];
41
+ for (var u in Object(s))
42
+ a.call(s, u) && u != "constructor" && o.push(u);
43
+ return o;
44
+ }
45
+ return x = n, x;
46
+ }
47
+ var O, Z;
48
+ function wr() {
49
+ if (Z) return O;
50
+ Z = 1;
51
+ var r = h(), t = p(), e = r(t, "DataView");
52
+ return O = e, O;
53
+ }
54
+ var L, $;
55
+ function Rr() {
56
+ if ($) return L;
57
+ $ = 1;
58
+ var r = h(), t = p(), e = r(t, "Promise");
59
+ return L = e, L;
60
+ }
61
+ var U, rr;
62
+ function Pr() {
63
+ if (rr) return U;
64
+ rr = 1;
65
+ var r = h(), t = p(), e = r(t, "Set");
66
+ return U = e, U;
67
+ }
68
+ var B, er;
69
+ function Sr() {
70
+ if (er) return B;
71
+ er = 1;
72
+ var r = h(), t = p(), e = r(t, "WeakMap");
73
+ return B = e, B;
74
+ }
75
+ var E, tr;
76
+ function Fr() {
77
+ if (tr) return E;
78
+ tr = 1;
79
+ var r = wr(), t = jr(), e = Rr(), a = Pr(), n = Sr(), s = X(), o = qr(), u = "[object Map]", f = "[object Object]", v = "[object Promise]", y = "[object Set]", T = "[object WeakMap]", d = "[object DataView]", m = o(r), l = o(t), I = o(e), w = o(a), R = o(n), c = s;
80
+ return (r && c(new r(new ArrayBuffer(1))) != d || t && c(new t()) != u || e && c(e.resolve()) != v || a && c(new a()) != y || n && c(new n()) != T) && (c = function(_) {
81
+ var j = s(_), q = j == f ? _.constructor : void 0, A = q ? o(q) : "";
82
+ if (A)
83
+ switch (A) {
84
+ case m:
85
+ return d;
86
+ case l:
87
+ return u;
88
+ case I:
89
+ return v;
90
+ case w:
91
+ return y;
92
+ case R:
93
+ return T;
94
+ }
95
+ return j;
96
+ }), E = c, E;
97
+ }
98
+ var F, ar;
99
+ function kr() {
100
+ if (ar) return F;
101
+ ar = 1;
102
+ var r = X(), t = z(), e = "[object Arguments]";
103
+ function a(n) {
104
+ return t(n) && r(n) == e;
105
+ }
106
+ return F = a, F;
107
+ }
108
+ var V, nr;
109
+ function Vr() {
110
+ if (nr) return V;
111
+ nr = 1;
112
+ var r = kr(), t = z(), e = Object.prototype, a = e.hasOwnProperty, n = e.propertyIsEnumerable, s = r(/* @__PURE__ */ function() {
113
+ return arguments;
114
+ }()) ? r : function(o) {
115
+ return t(o) && a.call(o, "callee") && !n.call(o, "callee");
116
+ };
117
+ return V = s, V;
118
+ }
119
+ var C, ir;
120
+ function gr() {
121
+ if (ir) return C;
122
+ ir = 1;
123
+ var r = 9007199254740991;
124
+ function t(e) {
125
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= r;
126
+ }
127
+ return C = t, C;
128
+ }
129
+ var D, or;
130
+ function Cr() {
131
+ if (or) return D;
132
+ or = 1;
133
+ var r = Ar(), t = gr();
134
+ function e(a) {
135
+ return a != null && t(a.length) && !r(a);
136
+ }
137
+ return D = e, D;
138
+ }
139
+ var b = { exports: {} }, K, sr;
140
+ function Mr() {
141
+ if (sr) return K;
142
+ sr = 1;
143
+ function r() {
144
+ return !1;
145
+ }
146
+ return K = r, K;
147
+ }
148
+ b.exports;
149
+ var ur;
150
+ function Dr() {
151
+ return ur || (ur = 1, function(r, t) {
152
+ var e = p(), a = Mr(), n = t && !t.nodeType && t, s = n && !0 && r && !r.nodeType && r, o = s && s.exports === n, u = o ? e.Buffer : void 0, f = u ? u.isBuffer : void 0, v = f || a;
153
+ r.exports = v;
154
+ }(b, b.exports)), b.exports;
155
+ }
156
+ var W, cr;
157
+ function xr() {
158
+ if (cr) return W;
159
+ cr = 1;
160
+ var r = X(), t = gr(), e = z(), a = "[object Arguments]", n = "[object Array]", s = "[object Boolean]", o = "[object Date]", u = "[object Error]", f = "[object Function]", v = "[object Map]", y = "[object Number]", T = "[object Object]", d = "[object RegExp]", m = "[object Set]", l = "[object String]", I = "[object WeakMap]", w = "[object ArrayBuffer]", R = "[object DataView]", c = "[object Float32Array]", _ = "[object Float64Array]", j = "[object Int8Array]", q = "[object Int16Array]", A = "[object Int32Array]", pr = "[object Uint8Array]", yr = "[object Uint8ClampedArray]", Tr = "[object Uint16Array]", dr = "[object Uint32Array]", i = {};
161
+ i[c] = i[_] = i[j] = i[q] = i[A] = i[pr] = i[yr] = i[Tr] = i[dr] = !0, i[a] = i[n] = i[w] = i[s] = i[R] = i[o] = i[u] = i[f] = i[v] = i[y] = i[T] = i[d] = i[m] = i[l] = i[I] = !1;
162
+ function _r(P) {
163
+ return e(P) && t(P.length) && !!i[r(P)];
164
+ }
165
+ return W = _r, W;
166
+ }
167
+ var G, fr;
168
+ function Or() {
169
+ if (fr) return G;
170
+ fr = 1;
171
+ function r(t) {
172
+ return function(e) {
173
+ return t(e);
174
+ };
175
+ }
176
+ return G = r, G;
177
+ }
178
+ var g = { exports: {} };
179
+ g.exports;
180
+ var vr;
181
+ function Lr() {
182
+ return vr || (vr = 1, function(r, t) {
183
+ var e = hr(), a = t && !t.nodeType && t, n = a && !0 && r && !r.nodeType && r, s = n && n.exports === a, o = s && e.process, u = function() {
184
+ try {
185
+ var f = n && n.require && n.require("util").types;
186
+ return f || o && o.binding && o.binding("util");
187
+ } catch {
188
+ }
189
+ }();
190
+ r.exports = u;
191
+ }(g, g.exports)), g.exports;
192
+ }
193
+ var N, br;
194
+ function Kr() {
195
+ if (br) return N;
196
+ br = 1;
197
+ var r = xr(), t = Or(), e = Lr(), a = e && e.isTypedArray, n = a ? t(a) : r;
198
+ return N = n, N;
199
+ }
200
+ export {
201
+ Fr as a,
202
+ Vr as b,
203
+ Cr as c,
204
+ Dr as d,
205
+ Kr as e,
206
+ mr as f,
207
+ gr as g,
208
+ Or as h,
209
+ lr as i,
210
+ Lr as j,
211
+ Er as r
212
+ };
@@ -0,0 +1,173 @@
1
+ import { g as k } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import { f as b, n as F, l as j, o as z, g as Y, p as J, q as Q, s as V, t as X, u as Z, m as ee, h as re } from "./index-Cpb-8cAN.js";
3
+ import { i as ae } from "./slicedToArray-BWk2gTCn.js";
4
+ var N = {}, y, C;
5
+ function te() {
6
+ if (C) return y;
7
+ C = 1;
8
+ var a = /* @__PURE__ */ b(), p = TypeError;
9
+ return y = function(E, O) {
10
+ if (!delete E[O]) throw new p("Cannot delete property " + a(O) + " of " + a(E));
11
+ }, y;
12
+ }
13
+ var h;
14
+ function ie() {
15
+ if (h) return N;
16
+ h = 1;
17
+ var a = /* @__PURE__ */ j(), p = /* @__PURE__ */ z(), E = /* @__PURE__ */ J(), O = /* @__PURE__ */ Q(), l = /* @__PURE__ */ Y(), I = /* @__PURE__ */ ae(), B = /* @__PURE__ */ V(), L = /* @__PURE__ */ X(), U = /* @__PURE__ */ Z(), v = /* @__PURE__ */ te(), w = /* @__PURE__ */ F(), H = w("splice"), K = Math.max, M = Math.min;
18
+ return a({ target: "Array", proto: !0, forced: !H }, {
19
+ splice: function($, x) {
20
+ var t = p(this), R = l(t), P = E($, R), _ = arguments.length, A, i, f, r, d, c;
21
+ for (_ === 0 ? A = i = 0 : _ === 1 ? (A = 0, i = R - P) : (A = _ - 2, i = M(K(O(x), 0), R - P)), B(R + A - i), f = L(t, i), r = 0; r < i; r++)
22
+ d = P + r, d in t && U(f, r, t[d]);
23
+ if (f.length = i, A < i) {
24
+ for (r = P; r < R - i; r++)
25
+ d = r + i, c = r + A, d in t ? t[c] = t[d] : v(t, c);
26
+ for (r = R; r > R - i + A; r--) v(t, r - 1);
27
+ } else if (A > i)
28
+ for (r = R - i; r > P; r--)
29
+ d = r + i - 1, c = r + A - 1, d in t ? t[c] = t[d] : v(t, c);
30
+ for (r = 0; r < A; r++)
31
+ t[r + P] = arguments[r + 2];
32
+ return I(t, R - i + A), f;
33
+ }
34
+ }), N;
35
+ }
36
+ var S, g;
37
+ function oe() {
38
+ if (g) return S;
39
+ g = 1, ie();
40
+ var a = /* @__PURE__ */ ee();
41
+ return S = a("Array", "splice"), S;
42
+ }
43
+ var T, q;
44
+ function ne() {
45
+ if (q) return T;
46
+ q = 1;
47
+ var a = /* @__PURE__ */ re(), p = /* @__PURE__ */ oe(), E = Array.prototype;
48
+ return T = function(O) {
49
+ var l = O.splice;
50
+ return O === E || a(E, O) && l === E.splice ? p : l;
51
+ }, T;
52
+ }
53
+ var W, m;
54
+ function se() {
55
+ if (m) return W;
56
+ m = 1;
57
+ var a = /* @__PURE__ */ ne();
58
+ return W = a, W;
59
+ }
60
+ var D, G;
61
+ function Ee() {
62
+ return G || (G = 1, D = /* @__PURE__ */ se()), D;
63
+ }
64
+ var Ae = Ee();
65
+ const Pe = /* @__PURE__ */ k(Ae);
66
+ /**
67
+ * @license
68
+ * Copyright 2020 Google Inc.
69
+ *
70
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
71
+ * of this software and associated documentation files (the "Software"), to deal
72
+ * in the Software without restriction, including without limitation the rights
73
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
74
+ * copies of the Software, and to permit persons to whom the Software is
75
+ * furnished to do so, subject to the following conditions:
76
+ *
77
+ * The above copyright notice and this permission notice shall be included in
78
+ * all copies or substantial portions of the Software.
79
+ *
80
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
81
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
82
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
83
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
84
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
85
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
86
+ * THE SOFTWARE.
87
+ */
88
+ var e = {
89
+ UNKNOWN: "Unknown",
90
+ BACKSPACE: "Backspace",
91
+ ENTER: "Enter",
92
+ SPACEBAR: "Spacebar",
93
+ PAGE_UP: "PageUp",
94
+ PAGE_DOWN: "PageDown",
95
+ END: "End",
96
+ HOME: "Home",
97
+ ARROW_LEFT: "ArrowLeft",
98
+ ARROW_UP: "ArrowUp",
99
+ ARROW_RIGHT: "ArrowRight",
100
+ ARROW_DOWN: "ArrowDown",
101
+ DELETE: "Delete",
102
+ ESCAPE: "Escape",
103
+ TAB: "Tab"
104
+ }, o = /* @__PURE__ */ new Set();
105
+ o.add(e.BACKSPACE);
106
+ o.add(e.ENTER);
107
+ o.add(e.SPACEBAR);
108
+ o.add(e.PAGE_UP);
109
+ o.add(e.PAGE_DOWN);
110
+ o.add(e.END);
111
+ o.add(e.HOME);
112
+ o.add(e.ARROW_LEFT);
113
+ o.add(e.ARROW_UP);
114
+ o.add(e.ARROW_RIGHT);
115
+ o.add(e.ARROW_DOWN);
116
+ o.add(e.DELETE);
117
+ o.add(e.ESCAPE);
118
+ o.add(e.TAB);
119
+ var s = {
120
+ BACKSPACE: 8,
121
+ ENTER: 13,
122
+ SPACEBAR: 32,
123
+ PAGE_UP: 33,
124
+ PAGE_DOWN: 34,
125
+ END: 35,
126
+ HOME: 36,
127
+ ARROW_LEFT: 37,
128
+ ARROW_UP: 38,
129
+ ARROW_RIGHT: 39,
130
+ ARROW_DOWN: 40,
131
+ DELETE: 46,
132
+ ESCAPE: 27,
133
+ TAB: 9
134
+ }, n = /* @__PURE__ */ new Map();
135
+ n.set(s.BACKSPACE, e.BACKSPACE);
136
+ n.set(s.ENTER, e.ENTER);
137
+ n.set(s.SPACEBAR, e.SPACEBAR);
138
+ n.set(s.PAGE_UP, e.PAGE_UP);
139
+ n.set(s.PAGE_DOWN, e.PAGE_DOWN);
140
+ n.set(s.END, e.END);
141
+ n.set(s.HOME, e.HOME);
142
+ n.set(s.ARROW_LEFT, e.ARROW_LEFT);
143
+ n.set(s.ARROW_UP, e.ARROW_UP);
144
+ n.set(s.ARROW_RIGHT, e.ARROW_RIGHT);
145
+ n.set(s.ARROW_DOWN, e.ARROW_DOWN);
146
+ n.set(s.DELETE, e.DELETE);
147
+ n.set(s.ESCAPE, e.ESCAPE);
148
+ n.set(s.TAB, e.TAB);
149
+ var u = /* @__PURE__ */ new Set();
150
+ u.add(e.PAGE_UP);
151
+ u.add(e.PAGE_DOWN);
152
+ u.add(e.END);
153
+ u.add(e.HOME);
154
+ u.add(e.ARROW_LEFT);
155
+ u.add(e.ARROW_UP);
156
+ u.add(e.ARROW_RIGHT);
157
+ u.add(e.ARROW_DOWN);
158
+ function Re(a) {
159
+ var p = a.key;
160
+ if (o.has(p))
161
+ return p;
162
+ var E = n.get(a.keyCode);
163
+ return E || e.UNKNOWN;
164
+ }
165
+ function ce(a) {
166
+ return u.has(Re(a));
167
+ }
168
+ export {
169
+ e as K,
170
+ Pe as _,
171
+ ce as i,
172
+ Re as n
173
+ };
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e } from "./AlertBanner-DlgFtlZm.js";
1
+ import { A as e } from "./AlertBanner-D-NTP_6i.js";
2
2
  import { LinkBanner as m } from "./components/AlertBanner/LinkBanner.js";
3
3
  import { BaseView as f } from "./components/BaseView/BaseView.js";
4
4
  import { BasicHeading as a } from "./components/BasicHeading/BasicHeading.js";
@@ -21,7 +21,7 @@ import { ListArea as k } from "./components/ListArea/ListArea.js";
21
21
  import { LoadingSpinner as y } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
22
22
  import { Modal as K } from "./components/Modal/Modal.js";
23
23
  import { ModulePadding as W } from "./components/ModulePadding/ModulePadding.js";
24
- import { O as j } from "./OfflineView-Bw-sbsym.js";
24
+ import { O as j } from "./OfflineView-DHtzNLwt.js";
25
25
  import { OnboardingBanner as J } from "./components/OnboardingBanner/OnboardingBanner.js";
26
26
  import { OverflowTooltip as Z } from "./components/OverflowTooltip/OverflowTooltip.js";
27
27
  import { ScrollbarX as rr, ScrollbarY as or } from "./components/Scrollbar/Scrollbar.js";