@hortiview/shared-components 0.0.6890 → 0.0.7018
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/dist/BlockView.module-BPlNT5uh.js +15 -0
- package/dist/HashTabView.module-CJX4gxTu.js +13 -0
- package/dist/HeaderFilter.module-DiBmulr5.js +7 -0
- package/dist/Iconify-CY9lZjFd.js +95 -0
- package/dist/_baseToString-BNXOi2Mf.js +197 -0
- package/dist/_equalByTag-DJhSpgVG.js +157 -0
- package/dist/alertBanner.module-HneYdVzN.js +10 -0
- package/dist/assets/{main.css → Filter.css} +1 -1
- package/dist/assets/baseView.css +1 -0
- package/dist/assets/basicHeading.css +1 -0
- package/dist/assets/listArea.css +1 -0
- package/dist/baseView.module-ve87u_d0.js +12 -0
- package/dist/basicHeading.module-BYb8xvuk.js +16 -0
- package/dist/bigLoadingSpinner.module-GgbFol8k.js +11 -0
- package/dist/components/AlertBanner/AlertBanner.js +12 -17
- package/dist/components/AlertBanner/AlertBanner.test.js +2 -2
- package/dist/components/BaseView/BaseView.js +42 -45
- package/dist/components/BaseView/BaseView.test.js +6 -4
- package/dist/components/BasicHeading/BasicHeading.js +39 -50
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.js +41 -51
- package/dist/components/BlockView/BlockView.test.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +18 -20
- package/dist/components/ContextMenu/ContextMenu.test.js +1 -1
- package/dist/components/DeleteModal/DeleteModal.js +55 -60
- package/dist/components/DeleteModal/DeleteModal.test.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.js +8 -11
- package/dist/components/Disclaimer/Disclaimer.test.js +1 -1
- package/dist/components/EmptyView/EmptyView.test.js +1 -1
- package/dist/components/Filter/Filter.d.ts +27 -0
- package/dist/components/Filter/Filter.js +149 -0
- package/dist/components/Filter/Filter.test.d.ts +1 -0
- package/dist/components/Filter/Filter.test.js +114 -0
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +46 -52
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +1 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.js +68 -73
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +2 -2
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +1 -1
- package/dist/components/FormComponents/FormText/FormText.js +57 -62
- package/dist/components/FormComponents/FormText/FormText.test.js +1 -1
- package/dist/components/GenericTable/GenericTable.js +52 -58
- package/dist/components/GenericTable/GenericTable.test.js +1 -1
- package/dist/components/HashTabView/HashTabView.js +46 -54
- package/dist/components/HashTabView/HashTabView.test.js +1 -1
- package/dist/components/HeaderFilter/HeaderFilter.js +14 -16
- package/dist/components/HeaderFilter/HeaderFilter.test.js +1 -1
- package/dist/components/Iconify/Iconify.d.ts +3 -13
- package/dist/components/Iconify/Iconify.js +6 -163
- package/dist/components/Iconify/Iconify.test.js +2 -2
- package/dist/components/InfoGroup/InfoGroup.js +38 -47
- package/dist/components/InfoGroup/InfoGroup.test.js +1 -1
- package/dist/components/ListArea/ListArea.js +258 -490
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.js +82 -8
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +9 -5
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +3 -2
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +13 -15
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +2 -2
- package/dist/components/Scrollbar/scrollbar.test.js +1 -1
- package/dist/components/SearchBar/SearchBar.js +21 -23
- package/dist/components/SearchBar/SearchBar.test.js +1 -1
- package/dist/components/VerticalDivider/VerticalDivider.js +4 -6
- package/dist/components/VerticalDivider/VerticalDivider.test.js +1 -1
- package/dist/contextMenu.module-B7aUMFPe.js +7 -0
- package/dist/deleteModal.module-Ds3MDzdl.js +10 -0
- package/dist/disclaimer.module-BZydt-Q_.js +8 -0
- package/dist/formDatePicker.module-BV3ma_7y.js +11 -0
- package/dist/formSelect.module-C18N-SsT.js +11 -0
- package/dist/formText.module-Blt6Y-SR.js +10 -0
- package/dist/genericTable.module-BkU2VDKR.js +11 -0
- package/dist/get-UxX31Aph.js +47 -0
- package/dist/hooks/useBreakpoint.d.ts +8 -1
- package/dist/hooks/useBreakpoint.js +1 -1
- package/dist/hooks/useBreakpoints.test.js +2 -2
- package/dist/iconify.module-C89oaw5b.js +79 -0
- package/dist/{index-DP2ENnrX.js → index-BQnj-5Zt.js} +1 -1
- package/dist/infoGroup.module-B3E1gCGi.js +14 -0
- package/dist/isArray-Ca4KR8TK.js +91 -0
- package/dist/listArea.module-B-gPyfbE.js +19 -0
- package/dist/loadingSpinner.module-CLtqSMWA.js +7 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +55 -52
- package/dist/{react.esm-DoZanrUz.js → react.esm-C3jDj5Fe.js} +1 -0
- package/dist/searchBar.module-9gKyrZRT.js +7 -0
- package/dist/types/Filter.d.ts +31 -0
- package/dist/types/Filter.js +1 -0
- package/dist/useBreakpoint-BNeVhjjZ.js +33 -0
- package/dist/verticalDivider.module-C3_GL-fH.js +7 -0
- package/package.json +1 -1
- package/dist/BigLoadingSpinner-Df2k3xOD.js +0 -18
- package/dist/ListAreaService-DDlsV9UD.js +0 -100
- package/dist/assets/BaseView.css +0 -1
- package/dist/assets/BasicHeading.css +0 -1
- package/dist/assets/ListAreaService.css +0 -1
- package/dist/get-BRDhkfK0.js +0 -324
- package/dist/useBreakpoint-2MH8ICuE.js +0 -28
- /package/dist/assets/{AlertBanner.css → alertBanner.css} +0 -0
- /package/dist/assets/{BigLoadingSpinner.css → bigLoadingSpinner.css} +0 -0
- /package/dist/assets/{ContextMenu.css → contextMenu.css} +0 -0
- /package/dist/assets/{DeleteModal.css → deleteModal.css} +0 -0
- /package/dist/assets/{Disclaimer.css → disclaimer.css} +0 -0
- /package/dist/assets/{FormDatePicker.css → formDatePicker.css} +0 -0
- /package/dist/assets/{FormSelect.css → formSelect.css} +0 -0
- /package/dist/assets/{FormText.css → formText.css} +0 -0
- /package/dist/assets/{GenericTable.css → genericTable.css} +0 -0
- /package/dist/assets/{Iconify.css → iconify.css} +0 -0
- /package/dist/assets/{InfoGroup.css → infoGroup.css} +0 -0
- /package/dist/assets/{LoadingSpinner.css → loadingSpinner.css} +0 -0
- /package/dist/assets/{SearchBar.css → searchBar.css} +0 -0
- /package/dist/assets/{VerticalDivider.css → verticalDivider.css} +0 -0
package/dist/get-BRDhkfK0.js
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
import { g as D, c as u } from "./_commonjsHelpers-CT_km90n.js";
|
|
2
|
-
function E(t, e) {
|
|
3
|
-
for (var a = -1, r = t == null ? 0 : t.length, n = Array(r); ++a < r; )
|
|
4
|
-
n[a] = e(t[a], a, t);
|
|
5
|
-
return n;
|
|
6
|
-
}
|
|
7
|
-
var A = E, F = Array.isArray, v = F;
|
|
8
|
-
const lr = /* @__PURE__ */ D(v);
|
|
9
|
-
var K = typeof u == "object" && u && u.Object === Object && u, R = K, L = R, q = typeof self == "object" && self && self.Object === Object && self, U = L || q || Function("return this")(), g = U, J = g, V = J.Symbol, d = V, m = d, x = Object.prototype, X = x.hasOwnProperty, Y = x.toString, h = m ? m.toStringTag : void 0;
|
|
10
|
-
function Z(t) {
|
|
11
|
-
var e = X.call(t, h), a = t[h];
|
|
12
|
-
try {
|
|
13
|
-
t[h] = void 0;
|
|
14
|
-
var r = !0;
|
|
15
|
-
} catch {
|
|
16
|
-
}
|
|
17
|
-
var n = Y.call(t);
|
|
18
|
-
return r && (e ? t[h] = a : delete t[h]), n;
|
|
19
|
-
}
|
|
20
|
-
var k = Z, B = Object.prototype, Q = B.toString;
|
|
21
|
-
function W(t) {
|
|
22
|
-
return Q.call(t);
|
|
23
|
-
}
|
|
24
|
-
var tt = W, C = d, et = k, at = tt, rt = "[object Null]", nt = "[object Undefined]", S = C ? C.toStringTag : void 0;
|
|
25
|
-
function it(t) {
|
|
26
|
-
return t == null ? t === void 0 ? nt : rt : S && S in Object(t) ? et(t) : at(t);
|
|
27
|
-
}
|
|
28
|
-
var M = it;
|
|
29
|
-
function st(t) {
|
|
30
|
-
return t != null && typeof t == "object";
|
|
31
|
-
}
|
|
32
|
-
var ot = st, ct = M, ht = ot, ut = "[object Symbol]";
|
|
33
|
-
function vt(t) {
|
|
34
|
-
return typeof t == "symbol" || ht(t) && ct(t) == ut;
|
|
35
|
-
}
|
|
36
|
-
var $ = vt, lt = v, pt = $, ft = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _t = /^\w*$/;
|
|
37
|
-
function gt(t, e) {
|
|
38
|
-
if (lt(t))
|
|
39
|
-
return !1;
|
|
40
|
-
var a = typeof t;
|
|
41
|
-
return a == "number" || a == "symbol" || a == "boolean" || t == null || pt(t) ? !0 : _t.test(t) || !ft.test(t) || e != null && t in Object(e);
|
|
42
|
-
}
|
|
43
|
-
var dt = gt;
|
|
44
|
-
function $t(t) {
|
|
45
|
-
var e = typeof t;
|
|
46
|
-
return t != null && (e == "object" || e == "function");
|
|
47
|
-
}
|
|
48
|
-
var G = $t, yt = M, bt = G, mt = "[object AsyncFunction]", Ct = "[object Function]", St = "[object GeneratorFunction]", Ot = "[object Proxy]";
|
|
49
|
-
function Tt(t) {
|
|
50
|
-
if (!bt(t))
|
|
51
|
-
return !1;
|
|
52
|
-
var e = yt(t);
|
|
53
|
-
return e == Ct || e == St || e == mt || e == Ot;
|
|
54
|
-
}
|
|
55
|
-
var jt = Tt, Pt = g, wt = Pt["__core-js_shared__"], It = wt, _ = It, O = function() {
|
|
56
|
-
var t = /[^.]+$/.exec(_ && _.keys && _.keys.IE_PROTO || "");
|
|
57
|
-
return t ? "Symbol(src)_1." + t : "";
|
|
58
|
-
}();
|
|
59
|
-
function Dt(t) {
|
|
60
|
-
return !!O && O in t;
|
|
61
|
-
}
|
|
62
|
-
var xt = Dt, Mt = Function.prototype, Gt = Mt.toString;
|
|
63
|
-
function zt(t) {
|
|
64
|
-
if (t != null) {
|
|
65
|
-
try {
|
|
66
|
-
return Gt.call(t);
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
try {
|
|
70
|
-
return t + "";
|
|
71
|
-
} catch {
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return "";
|
|
75
|
-
}
|
|
76
|
-
var Nt = zt, Ht = jt, Et = xt, At = G, Ft = Nt, Kt = /[\\^$.*+?()[\]{}|]/g, Rt = /^\[object .+?Constructor\]$/, Lt = Function.prototype, qt = Object.prototype, Ut = Lt.toString, Jt = qt.hasOwnProperty, Vt = RegExp(
|
|
77
|
-
"^" + Ut.call(Jt).replace(Kt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
78
|
-
);
|
|
79
|
-
function Xt(t) {
|
|
80
|
-
if (!At(t) || Et(t))
|
|
81
|
-
return !1;
|
|
82
|
-
var e = Ht(t) ? Vt : Rt;
|
|
83
|
-
return e.test(Ft(t));
|
|
84
|
-
}
|
|
85
|
-
var Yt = Xt;
|
|
86
|
-
function Zt(t, e) {
|
|
87
|
-
return t?.[e];
|
|
88
|
-
}
|
|
89
|
-
var kt = Zt, Bt = Yt, Qt = kt;
|
|
90
|
-
function Wt(t, e) {
|
|
91
|
-
var a = Qt(t, e);
|
|
92
|
-
return Bt(a) ? a : void 0;
|
|
93
|
-
}
|
|
94
|
-
var z = Wt, te = z, ee = te(Object, "create"), l = ee, T = l;
|
|
95
|
-
function ae() {
|
|
96
|
-
this.__data__ = T ? T(null) : {}, this.size = 0;
|
|
97
|
-
}
|
|
98
|
-
var re = ae;
|
|
99
|
-
function ne(t) {
|
|
100
|
-
var e = this.has(t) && delete this.__data__[t];
|
|
101
|
-
return this.size -= e ? 1 : 0, e;
|
|
102
|
-
}
|
|
103
|
-
var ie = ne, se = l, oe = "__lodash_hash_undefined__", ce = Object.prototype, he = ce.hasOwnProperty;
|
|
104
|
-
function ue(t) {
|
|
105
|
-
var e = this.__data__;
|
|
106
|
-
if (se) {
|
|
107
|
-
var a = e[t];
|
|
108
|
-
return a === oe ? void 0 : a;
|
|
109
|
-
}
|
|
110
|
-
return he.call(e, t) ? e[t] : void 0;
|
|
111
|
-
}
|
|
112
|
-
var ve = ue, le = l, pe = Object.prototype, fe = pe.hasOwnProperty;
|
|
113
|
-
function _e(t) {
|
|
114
|
-
var e = this.__data__;
|
|
115
|
-
return le ? e[t] !== void 0 : fe.call(e, t);
|
|
116
|
-
}
|
|
117
|
-
var ge = _e, de = l, $e = "__lodash_hash_undefined__";
|
|
118
|
-
function ye(t, e) {
|
|
119
|
-
var a = this.__data__;
|
|
120
|
-
return this.size += this.has(t) ? 0 : 1, a[t] = de && e === void 0 ? $e : e, this;
|
|
121
|
-
}
|
|
122
|
-
var be = ye, me = re, Ce = ie, Se = ve, Oe = ge, Te = be;
|
|
123
|
-
function s(t) {
|
|
124
|
-
var e = -1, a = t == null ? 0 : t.length;
|
|
125
|
-
for (this.clear(); ++e < a; ) {
|
|
126
|
-
var r = t[e];
|
|
127
|
-
this.set(r[0], r[1]);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
s.prototype.clear = me;
|
|
131
|
-
s.prototype.delete = Ce;
|
|
132
|
-
s.prototype.get = Se;
|
|
133
|
-
s.prototype.has = Oe;
|
|
134
|
-
s.prototype.set = Te;
|
|
135
|
-
var je = s;
|
|
136
|
-
function Pe() {
|
|
137
|
-
this.__data__ = [], this.size = 0;
|
|
138
|
-
}
|
|
139
|
-
var we = Pe;
|
|
140
|
-
function Ie(t, e) {
|
|
141
|
-
return t === e || t !== t && e !== e;
|
|
142
|
-
}
|
|
143
|
-
var De = Ie, xe = De;
|
|
144
|
-
function Me(t, e) {
|
|
145
|
-
for (var a = t.length; a--; )
|
|
146
|
-
if (xe(t[a][0], e))
|
|
147
|
-
return a;
|
|
148
|
-
return -1;
|
|
149
|
-
}
|
|
150
|
-
var p = Me, Ge = p, ze = Array.prototype, Ne = ze.splice;
|
|
151
|
-
function He(t) {
|
|
152
|
-
var e = this.__data__, a = Ge(e, t);
|
|
153
|
-
if (a < 0)
|
|
154
|
-
return !1;
|
|
155
|
-
var r = e.length - 1;
|
|
156
|
-
return a == r ? e.pop() : Ne.call(e, a, 1), --this.size, !0;
|
|
157
|
-
}
|
|
158
|
-
var Ee = He, Ae = p;
|
|
159
|
-
function Fe(t) {
|
|
160
|
-
var e = this.__data__, a = Ae(e, t);
|
|
161
|
-
return a < 0 ? void 0 : e[a][1];
|
|
162
|
-
}
|
|
163
|
-
var Ke = Fe, Re = p;
|
|
164
|
-
function Le(t) {
|
|
165
|
-
return Re(this.__data__, t) > -1;
|
|
166
|
-
}
|
|
167
|
-
var qe = Le, Ue = p;
|
|
168
|
-
function Je(t, e) {
|
|
169
|
-
var a = this.__data__, r = Ue(a, t);
|
|
170
|
-
return r < 0 ? (++this.size, a.push([t, e])) : a[r][1] = e, this;
|
|
171
|
-
}
|
|
172
|
-
var Ve = Je, Xe = we, Ye = Ee, Ze = Ke, ke = qe, Be = Ve;
|
|
173
|
-
function o(t) {
|
|
174
|
-
var e = -1, a = t == null ? 0 : t.length;
|
|
175
|
-
for (this.clear(); ++e < a; ) {
|
|
176
|
-
var r = t[e];
|
|
177
|
-
this.set(r[0], r[1]);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
o.prototype.clear = Xe;
|
|
181
|
-
o.prototype.delete = Ye;
|
|
182
|
-
o.prototype.get = Ze;
|
|
183
|
-
o.prototype.has = ke;
|
|
184
|
-
o.prototype.set = Be;
|
|
185
|
-
var Qe = o, We = z, ta = g, ea = We(ta, "Map"), aa = ea, j = je, ra = Qe, na = aa;
|
|
186
|
-
function ia() {
|
|
187
|
-
this.size = 0, this.__data__ = {
|
|
188
|
-
hash: new j(),
|
|
189
|
-
map: new (na || ra)(),
|
|
190
|
-
string: new j()
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
var sa = ia;
|
|
194
|
-
function oa(t) {
|
|
195
|
-
var e = typeof t;
|
|
196
|
-
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
197
|
-
}
|
|
198
|
-
var ca = oa, ha = ca;
|
|
199
|
-
function ua(t, e) {
|
|
200
|
-
var a = t.__data__;
|
|
201
|
-
return ha(e) ? a[typeof e == "string" ? "string" : "hash"] : a.map;
|
|
202
|
-
}
|
|
203
|
-
var f = ua, va = f;
|
|
204
|
-
function la(t) {
|
|
205
|
-
var e = va(this, t).delete(t);
|
|
206
|
-
return this.size -= e ? 1 : 0, e;
|
|
207
|
-
}
|
|
208
|
-
var pa = la, fa = f;
|
|
209
|
-
function _a(t) {
|
|
210
|
-
return fa(this, t).get(t);
|
|
211
|
-
}
|
|
212
|
-
var ga = _a, da = f;
|
|
213
|
-
function $a(t) {
|
|
214
|
-
return da(this, t).has(t);
|
|
215
|
-
}
|
|
216
|
-
var ya = $a, ba = f;
|
|
217
|
-
function ma(t, e) {
|
|
218
|
-
var a = ba(this, t), r = a.size;
|
|
219
|
-
return a.set(t, e), this.size += a.size == r ? 0 : 1, this;
|
|
220
|
-
}
|
|
221
|
-
var Ca = ma, Sa = sa, Oa = pa, Ta = ga, ja = ya, Pa = Ca;
|
|
222
|
-
function c(t) {
|
|
223
|
-
var e = -1, a = t == null ? 0 : t.length;
|
|
224
|
-
for (this.clear(); ++e < a; ) {
|
|
225
|
-
var r = t[e];
|
|
226
|
-
this.set(r[0], r[1]);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
c.prototype.clear = Sa;
|
|
230
|
-
c.prototype.delete = Oa;
|
|
231
|
-
c.prototype.get = Ta;
|
|
232
|
-
c.prototype.has = ja;
|
|
233
|
-
c.prototype.set = Pa;
|
|
234
|
-
var wa = c, N = wa, Ia = "Expected a function";
|
|
235
|
-
function y(t, e) {
|
|
236
|
-
if (typeof t != "function" || e != null && typeof e != "function")
|
|
237
|
-
throw new TypeError(Ia);
|
|
238
|
-
var a = function() {
|
|
239
|
-
var r = arguments, n = e ? e.apply(this, r) : r[0], i = a.cache;
|
|
240
|
-
if (i.has(n))
|
|
241
|
-
return i.get(n);
|
|
242
|
-
var b = t.apply(this, r);
|
|
243
|
-
return a.cache = i.set(n, b) || i, b;
|
|
244
|
-
};
|
|
245
|
-
return a.cache = new (y.Cache || N)(), a;
|
|
246
|
-
}
|
|
247
|
-
y.Cache = N;
|
|
248
|
-
var Da = y, xa = Da, Ma = 500;
|
|
249
|
-
function Ga(t) {
|
|
250
|
-
var e = xa(t, function(r) {
|
|
251
|
-
return a.size === Ma && a.clear(), r;
|
|
252
|
-
}), a = e.cache;
|
|
253
|
-
return e;
|
|
254
|
-
}
|
|
255
|
-
var za = Ga, Na = za, Ha = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, Aa = Na(function(t) {
|
|
256
|
-
var e = [];
|
|
257
|
-
return t.charCodeAt(0) === 46 && e.push(""), t.replace(Ha, function(a, r, n, i) {
|
|
258
|
-
e.push(n ? i.replace(Ea, "$1") : r || a);
|
|
259
|
-
}), e;
|
|
260
|
-
}), Fa = Aa, P = d, Ka = A, Ra = v, La = $, qa = 1 / 0, w = P ? P.prototype : void 0, I = w ? w.toString : void 0;
|
|
261
|
-
function H(t) {
|
|
262
|
-
if (typeof t == "string")
|
|
263
|
-
return t;
|
|
264
|
-
if (Ra(t))
|
|
265
|
-
return Ka(t, H) + "";
|
|
266
|
-
if (La(t))
|
|
267
|
-
return I ? I.call(t) : "";
|
|
268
|
-
var e = t + "";
|
|
269
|
-
return e == "0" && 1 / t == -qa ? "-0" : e;
|
|
270
|
-
}
|
|
271
|
-
var Ua = H, Ja = Ua;
|
|
272
|
-
function Va(t) {
|
|
273
|
-
return t == null ? "" : Ja(t);
|
|
274
|
-
}
|
|
275
|
-
var Xa = Va, Ya = v, Za = dt, ka = Fa, Ba = Xa;
|
|
276
|
-
function Qa(t, e) {
|
|
277
|
-
return Ya(t) ? t : Za(t, e) ? [t] : ka(Ba(t));
|
|
278
|
-
}
|
|
279
|
-
var Wa = Qa, tr = $, er = 1 / 0;
|
|
280
|
-
function ar(t) {
|
|
281
|
-
if (typeof t == "string" || tr(t))
|
|
282
|
-
return t;
|
|
283
|
-
var e = t + "";
|
|
284
|
-
return e == "0" && 1 / t == -er ? "-0" : e;
|
|
285
|
-
}
|
|
286
|
-
var rr = ar, nr = Wa, ir = rr;
|
|
287
|
-
function sr(t, e) {
|
|
288
|
-
e = nr(e, t);
|
|
289
|
-
for (var a = 0, r = e.length; t != null && a < r; )
|
|
290
|
-
t = t[ir(e[a++])];
|
|
291
|
-
return a && a == r ? t : void 0;
|
|
292
|
-
}
|
|
293
|
-
var or = sr, cr = or;
|
|
294
|
-
function hr(t, e, a) {
|
|
295
|
-
var r = t == null ? void 0 : cr(t, e);
|
|
296
|
-
return r === void 0 ? a : r;
|
|
297
|
-
}
|
|
298
|
-
var ur = hr;
|
|
299
|
-
const pr = /* @__PURE__ */ D(ur);
|
|
300
|
-
export {
|
|
301
|
-
Qe as _,
|
|
302
|
-
aa as a,
|
|
303
|
-
wa as b,
|
|
304
|
-
g as c,
|
|
305
|
-
d,
|
|
306
|
-
De as e,
|
|
307
|
-
v as f,
|
|
308
|
-
pr as g,
|
|
309
|
-
M as h,
|
|
310
|
-
lr as i,
|
|
311
|
-
ot as j,
|
|
312
|
-
R as k,
|
|
313
|
-
jt as l,
|
|
314
|
-
z as m,
|
|
315
|
-
Nt as n,
|
|
316
|
-
G as o,
|
|
317
|
-
Wa as p,
|
|
318
|
-
rr as q,
|
|
319
|
-
ur as r,
|
|
320
|
-
dt as s,
|
|
321
|
-
or as t,
|
|
322
|
-
$ as u,
|
|
323
|
-
A as v
|
|
324
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { useState as d, useEffect as c } from "react";
|
|
2
|
-
const t = (i) => {
|
|
3
|
-
const [a, s] = d(!1);
|
|
4
|
-
return c(
|
|
5
|
-
() => {
|
|
6
|
-
const e = window.matchMedia(i);
|
|
7
|
-
s(e.matches);
|
|
8
|
-
const n = (o) => s(o.matches);
|
|
9
|
-
return e.addEventListener("change", n), () => e.removeEventListener("change", n);
|
|
10
|
-
},
|
|
11
|
-
[]
|
|
12
|
-
// Empty array ensures effect is only run on mount and unmount
|
|
13
|
-
), a;
|
|
14
|
-
}, r = () => {
|
|
15
|
-
const i = t("(max-width: 599px)"), a = t("(min-width: 600px) and (max-width: 719px)"), s = t("(min-width: 720px) and (max-width: 839px)"), e = t("(min-width: 840px) and (max-width: 1023px)"), n = t("(min-width: 1024px) and (max-width: 1439px)"), o = t("(min-width: 1440px)");
|
|
16
|
-
return {
|
|
17
|
-
isMobile: i,
|
|
18
|
-
isTablet: a || s,
|
|
19
|
-
isDesktop: e || n || o
|
|
20
|
-
};
|
|
21
|
-
}, m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
|
-
__proto__: null,
|
|
23
|
-
useBreakpoints: r
|
|
24
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
25
|
-
export {
|
|
26
|
-
m as a,
|
|
27
|
-
r as u
|
|
28
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|