@bluealba/pae-ui-react-core 4.3.0 → 4.4.0
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/index.cjs.js +2 -2
- package/dist/index.esm.js +209 -213
- package/dist/index.systemjs.js +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/src/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -12,7 +12,7 @@ var dr = (e, t, n, r) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import * as d from "react";
|
|
15
|
-
import Ze, { useState as ae, useEffect as ce, useCallback as ge, createContext as Ls, useContext as Ms, useMemo as Ve, forwardRef as
|
|
15
|
+
import Ze, { useState as ae, useEffect as ce, useCallback as ge, createContext as Ls, useContext as Ms, useMemo as Ve, forwardRef as G, useLayoutEffect as jd, useRef as tt, Children as Id, isValidElement as Ri } from "react";
|
|
16
16
|
import jo, { navigateToUrl as Nd } from "single-spa";
|
|
17
17
|
import * as no from "react-dom";
|
|
18
18
|
import Dd from "react-dom";
|
|
@@ -27,7 +27,7 @@ const mb = {
|
|
|
27
27
|
NAVBAR_STATE_CHANGED: "platform:shell:navbar-state-changed",
|
|
28
28
|
MENU_STATE_CHANGED: "platform:shell:menu-state-changed"
|
|
29
29
|
}
|
|
30
|
-
}, Qn = "__PAE_GLOBAL_STATE__", Za = "__PAE_REACTIVE_GLOBAL_STATE__", Xa = "__PAE_EXTENSIONS_POINTS_REGISTRY__",
|
|
30
|
+
}, Qn = "__PAE_GLOBAL_STATE__", Za = "__PAE_REACTIVE_GLOBAL_STATE__", Xa = "__PAE_EXTENSIONS_POINTS_REGISTRY__", Go = "__PAE_CUSTOMIZATIONS_LOADING_STATE_KEY__", Ld = "/auth/logout", Md = (e, t) => {
|
|
31
31
|
const [n, r] = ae(t);
|
|
32
32
|
return ce(() => {
|
|
33
33
|
const o = e.subscribe((s) => {
|
|
@@ -704,7 +704,7 @@ function ks() {
|
|
|
704
704
|
const rc = () => {
|
|
705
705
|
const { authUser: { applications: e } } = ks();
|
|
706
706
|
return e || [];
|
|
707
|
-
}, Hd = (e) => rc().filter((t) => t.
|
|
707
|
+
}, Hd = (e) => rc().filter((t) => t.name === e).flatMap((t) => t.operations), Vd = () => {
|
|
708
708
|
const { application: e } = so();
|
|
709
709
|
return Ve(() => Hd(e), [e]);
|
|
710
710
|
}, qd = (e) => (...t) => t.every((n) => e.some((r) => r.name === n)), io = () => {
|
|
@@ -727,15 +727,15 @@ const rc = () => {
|
|
|
727
727
|
throw new Error(`Could not find the module [${e}] in the local catalog !`);
|
|
728
728
|
return n;
|
|
729
729
|
}, [t, e]);
|
|
730
|
-
},
|
|
730
|
+
}, zd = (e) => {
|
|
731
731
|
var t, n;
|
|
732
732
|
return ((n = (t = sc(e)) == null ? void 0 : t.ui) == null ? void 0 : n.customProps) ?? {};
|
|
733
|
-
},
|
|
733
|
+
}, Gd = (e) => e.replace(/\/+/g, "/"), yb = (e, t = "only-base-path") => {
|
|
734
734
|
const { apiDocs: n, health: r, version: o, changelog: s } = (e == null ? void 0 : e.commonPaths) || {}, i = (a, c = "") => {
|
|
735
735
|
if (a === void 0 && !c) return;
|
|
736
736
|
const u = a ?? c;
|
|
737
737
|
if (t === "only-base-path") return u;
|
|
738
|
-
const f =
|
|
738
|
+
const f = Gd(`${e.baseUrl}/${u}`);
|
|
739
739
|
return t === "with-module-base" ? f : `${document.location.origin}${f}`;
|
|
740
740
|
};
|
|
741
741
|
return {
|
|
@@ -849,7 +849,7 @@ const nf = (e) => {
|
|
|
849
849
|
function le(e) {
|
|
850
850
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function zt(e) {
|
|
853
853
|
return function t(n) {
|
|
854
854
|
return arguments.length === 0 || le(n) ? t : e.apply(this, arguments);
|
|
855
855
|
};
|
|
@@ -860,13 +860,13 @@ function Tt(e) {
|
|
|
860
860
|
case 0:
|
|
861
861
|
return t;
|
|
862
862
|
case 1:
|
|
863
|
-
return le(n) ? t :
|
|
863
|
+
return le(n) ? t : zt(function(o) {
|
|
864
864
|
return e(n, o);
|
|
865
865
|
});
|
|
866
866
|
default:
|
|
867
|
-
return le(n) && le(r) ? t : le(n) ?
|
|
867
|
+
return le(n) && le(r) ? t : le(n) ? zt(function(o) {
|
|
868
868
|
return e(o, r);
|
|
869
|
-
}) : le(r) ?
|
|
869
|
+
}) : le(r) ? zt(function(o) {
|
|
870
870
|
return e(n, o);
|
|
871
871
|
}) : e(n, r);
|
|
872
872
|
}
|
|
@@ -886,7 +886,7 @@ function Fs(e) {
|
|
|
886
886
|
return e(s, r, i);
|
|
887
887
|
}) : le(r) ? Tt(function(s, i) {
|
|
888
888
|
return e(n, s, i);
|
|
889
|
-
}) :
|
|
889
|
+
}) : zt(function(s) {
|
|
890
890
|
return e(n, r, s);
|
|
891
891
|
});
|
|
892
892
|
default:
|
|
@@ -896,11 +896,11 @@ function Fs(e) {
|
|
|
896
896
|
return e(s, r, i);
|
|
897
897
|
}) : le(r) && le(o) ? Tt(function(s, i) {
|
|
898
898
|
return e(n, s, i);
|
|
899
|
-
}) : le(n) ?
|
|
899
|
+
}) : le(n) ? zt(function(s) {
|
|
900
900
|
return e(s, r, o);
|
|
901
|
-
}) : le(r) ?
|
|
901
|
+
}) : le(r) ? zt(function(s) {
|
|
902
902
|
return e(n, s, o);
|
|
903
|
-
}) : le(o) ?
|
|
903
|
+
}) : le(o) ? zt(function(s) {
|
|
904
904
|
return e(n, r, s);
|
|
905
905
|
}) : e(n, r, o);
|
|
906
906
|
}
|
|
@@ -1593,15 +1593,15 @@ const Tb = (e) => {
|
|
|
1593
1593
|
Ef(e.styleSheet);
|
|
1594
1594
|
const n = () => {
|
|
1595
1595
|
const r = new Wf(!0);
|
|
1596
|
-
window[
|
|
1596
|
+
window[Go] = r;
|
|
1597
1597
|
};
|
|
1598
1598
|
ce(() => {
|
|
1599
|
-
t && window[
|
|
1599
|
+
t && window[Go].next(!1);
|
|
1600
1600
|
}, [t]), ce(() => {
|
|
1601
1601
|
n();
|
|
1602
1602
|
}, []);
|
|
1603
1603
|
}, Rb = () => {
|
|
1604
|
-
const e = window[
|
|
1604
|
+
const e = window[Go];
|
|
1605
1605
|
return Ja(e, e.getValue() ?? void 0);
|
|
1606
1606
|
}, es = "theme", Li = () => document.documentElement.dataset[es] === "dark" ? "dark" : "light", Pb = () => {
|
|
1607
1607
|
const [e, t] = ae(Li());
|
|
@@ -1624,7 +1624,7 @@ let Hf = { data: "" }, Vf = (e) => {
|
|
|
1624
1624
|
return t.nonce = window.__nonce__, t.parentNode || (e || document.head).appendChild(t), t.firstChild;
|
|
1625
1625
|
}
|
|
1626
1626
|
return e || Hf;
|
|
1627
|
-
}, qf = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,
|
|
1627
|
+
}, qf = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, zf = /\/\*[^]*?\*\/| +/g, Mi = /\n+/g, Rt = (e, t) => {
|
|
1628
1628
|
let n = "", r = "", o = "";
|
|
1629
1629
|
for (let s in e) {
|
|
1630
1630
|
let i = e[s];
|
|
@@ -1638,7 +1638,7 @@ let Hf = { data: "" }, Vf = (e) => {
|
|
|
1638
1638
|
return t;
|
|
1639
1639
|
}
|
|
1640
1640
|
return e;
|
|
1641
|
-
},
|
|
1641
|
+
}, Gf = (e, t, n, r, o) => {
|
|
1642
1642
|
let s = vc(e), i = lt[s] || (lt[s] = ((c) => {
|
|
1643
1643
|
let u = 0, f = 11;
|
|
1644
1644
|
for (; u < c.length; ) f = 101 * f + c.charCodeAt(u++) >>> 0;
|
|
@@ -1647,7 +1647,7 @@ let Hf = { data: "" }, Vf = (e) => {
|
|
|
1647
1647
|
if (!lt[i]) {
|
|
1648
1648
|
let c = s !== e ? e : ((u) => {
|
|
1649
1649
|
let f, p, m = [{}];
|
|
1650
|
-
for (; f = qf.exec(u.replace(
|
|
1650
|
+
for (; f = qf.exec(u.replace(zf, "")); ) f[4] ? m.shift() : f[3] ? (p = f[3].replace(Mi, " ").trim(), m.unshift(m[0][p] = m[0][p] || {})) : m[0][f[1]] = f[2].replace(Mi, " ").trim();
|
|
1651
1651
|
return m[0];
|
|
1652
1652
|
})(e);
|
|
1653
1653
|
lt[i] = Rt(o ? { ["@keyframes " + i]: c } : c, n ? "" : "." + i);
|
|
@@ -1666,7 +1666,7 @@ let Hf = { data: "" }, Vf = (e) => {
|
|
|
1666
1666
|
}, "");
|
|
1667
1667
|
function lo(e) {
|
|
1668
1668
|
let t = this || {}, n = e.call ? e(t.p) : e;
|
|
1669
|
-
return
|
|
1669
|
+
return Gf(n.unshift ? n.raw ? Kf(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, Vf(t.target), t.g, t.o, t.k);
|
|
1670
1670
|
}
|
|
1671
1671
|
let yc, ts, ns;
|
|
1672
1672
|
lo.bind({ g: 1 });
|
|
@@ -2783,7 +2783,7 @@ var Xe, qa, Vh = (qa = class extends kn {
|
|
|
2783
2783
|
});
|
|
2784
2784
|
});
|
|
2785
2785
|
}
|
|
2786
|
-
}, Xe = new WeakMap(), qa), Je, xe, Xt, et, Et,
|
|
2786
|
+
}, Xe = new WeakMap(), qa), Je, xe, Xt, et, Et, za, qh = (za = class extends Rc {
|
|
2787
2787
|
constructor(t) {
|
|
2788
2788
|
super();
|
|
2789
2789
|
L(this, et);
|
|
@@ -2969,7 +2969,7 @@ var Xe, qa, Vh = (qa = class extends kn {
|
|
|
2969
2969
|
action: t
|
|
2970
2970
|
});
|
|
2971
2971
|
});
|
|
2972
|
-
},
|
|
2972
|
+
}, za);
|
|
2973
2973
|
function Ac() {
|
|
2974
2974
|
return {
|
|
2975
2975
|
context: void 0,
|
|
@@ -2983,7 +2983,7 @@ function Ac() {
|
|
|
2983
2983
|
submittedAt: 0
|
|
2984
2984
|
};
|
|
2985
2985
|
}
|
|
2986
|
-
var dt, Ue, nr,
|
|
2986
|
+
var dt, Ue, nr, Ga, zh = (Ga = class extends kn {
|
|
2987
2987
|
constructor(t = {}) {
|
|
2988
2988
|
super();
|
|
2989
2989
|
L(this, dt);
|
|
@@ -3076,7 +3076,7 @@ var dt, Ue, nr, za, Gh = (za = class extends kn {
|
|
|
3076
3076
|
)
|
|
3077
3077
|
);
|
|
3078
3078
|
}
|
|
3079
|
-
}, dt = new WeakMap(), Ue = new WeakMap(), nr = new WeakMap(),
|
|
3079
|
+
}, dt = new WeakMap(), Ue = new WeakMap(), nr = new WeakMap(), Ga);
|
|
3080
3080
|
function mr(e) {
|
|
3081
3081
|
var t;
|
|
3082
3082
|
return (t = e.options.scope) == null ? void 0 : t.id;
|
|
@@ -3117,7 +3117,7 @@ function Hi(e) {
|
|
|
3117
3117
|
};
|
|
3118
3118
|
};
|
|
3119
3119
|
if (o && s.length) {
|
|
3120
|
-
const S = o === "backward", E = S ?
|
|
3120
|
+
const S = o === "backward", E = S ? Gh : Vi, _ = {
|
|
3121
3121
|
pages: s,
|
|
3122
3122
|
pageParams: i
|
|
3123
3123
|
}, T = E(r, _);
|
|
@@ -3159,7 +3159,7 @@ function Vi(e, { pages: t, pageParams: n }) {
|
|
|
3159
3159
|
n
|
|
3160
3160
|
) : void 0;
|
|
3161
3161
|
}
|
|
3162
|
-
function
|
|
3162
|
+
function Gh(e, { pages: t, pageParams: n }) {
|
|
3163
3163
|
var r;
|
|
3164
3164
|
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
|
|
3165
3165
|
}
|
|
@@ -3173,7 +3173,7 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3173
3173
|
L(this, It);
|
|
3174
3174
|
L(this, An);
|
|
3175
3175
|
L(this, On);
|
|
3176
|
-
A(this, de, e.queryCache || new Vh()), A(this, Ot, e.mutationCache || new
|
|
3176
|
+
A(this, de, e.queryCache || new Vh()), A(this, Ot, e.mutationCache || new zh()), A(this, jt, e.defaultOptions || {}), A(this, Rn, /* @__PURE__ */ new Map()), A(this, Pn, /* @__PURE__ */ new Map()), A(this, It, 0);
|
|
3177
3177
|
}
|
|
3178
3178
|
mount() {
|
|
3179
3179
|
dr(this, It)._++, C(this, It) === 1 && (A(this, An, Us.subscribe(async (e) => {
|
|
@@ -3369,12 +3369,12 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3369
3369
|
clear() {
|
|
3370
3370
|
C(this, de).clear(), C(this, Ot).clear();
|
|
3371
3371
|
}
|
|
3372
|
-
}, de = new WeakMap(), Ot = new WeakMap(), jt = new WeakMap(), Rn = new WeakMap(), Pn = new WeakMap(), It = new WeakMap(), An = new WeakMap(), On = new WeakMap(), Ka), Pe,
|
|
3372
|
+
}, de = new WeakMap(), Ot = new WeakMap(), jt = new WeakMap(), Rn = new WeakMap(), Pn = new WeakMap(), It = new WeakMap(), An = new WeakMap(), On = new WeakMap(), Ka), Pe, z, rr, Se, Jt, jn, Nt, Dt, or, In, Nn, en, tn, Lt, Dn, ne, zn, ls, us, ds, fs, hs, ps, ms, Oc, Qa, Qh = (Qa = class extends kn {
|
|
3373
3373
|
constructor(t, n) {
|
|
3374
3374
|
super();
|
|
3375
3375
|
L(this, ne);
|
|
3376
3376
|
L(this, Pe);
|
|
3377
|
-
L(this,
|
|
3377
|
+
L(this, z);
|
|
3378
3378
|
L(this, rr);
|
|
3379
3379
|
L(this, Se);
|
|
3380
3380
|
L(this, Jt);
|
|
@@ -3398,52 +3398,52 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3398
3398
|
this.refetch = this.refetch.bind(this);
|
|
3399
3399
|
}
|
|
3400
3400
|
onSubscribe() {
|
|
3401
|
-
this.listeners.size === 1 && (C(this,
|
|
3401
|
+
this.listeners.size === 1 && (C(this, z).addObserver(this), qi(C(this, z), this.options) ? W(this, ne, zn).call(this) : this.updateResult(), W(this, ne, fs).call(this));
|
|
3402
3402
|
}
|
|
3403
3403
|
onUnsubscribe() {
|
|
3404
3404
|
this.hasListeners() || this.destroy();
|
|
3405
3405
|
}
|
|
3406
3406
|
shouldFetchOnReconnect() {
|
|
3407
3407
|
return gs(
|
|
3408
|
-
C(this,
|
|
3408
|
+
C(this, z),
|
|
3409
3409
|
this.options,
|
|
3410
3410
|
this.options.refetchOnReconnect
|
|
3411
3411
|
);
|
|
3412
3412
|
}
|
|
3413
3413
|
shouldFetchOnWindowFocus() {
|
|
3414
3414
|
return gs(
|
|
3415
|
-
C(this,
|
|
3415
|
+
C(this, z),
|
|
3416
3416
|
this.options,
|
|
3417
3417
|
this.options.refetchOnWindowFocus
|
|
3418
3418
|
);
|
|
3419
3419
|
}
|
|
3420
3420
|
destroy() {
|
|
3421
|
-
this.listeners = /* @__PURE__ */ new Set(), W(this, ne, hs).call(this), W(this, ne, ps).call(this), C(this,
|
|
3421
|
+
this.listeners = /* @__PURE__ */ new Set(), W(this, ne, hs).call(this), W(this, ne, ps).call(this), C(this, z).removeObserver(this);
|
|
3422
3422
|
}
|
|
3423
3423
|
setOptions(t) {
|
|
3424
|
-
const n = this.options, r = C(this,
|
|
3425
|
-
if (this.options = C(this, Pe).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof We(this.options.enabled, C(this,
|
|
3424
|
+
const n = this.options, r = C(this, z);
|
|
3425
|
+
if (this.options = C(this, Pe).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof We(this.options.enabled, C(this, z)) != "boolean")
|
|
3426
3426
|
throw new Error(
|
|
3427
3427
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
3428
3428
|
);
|
|
3429
|
-
W(this, ne, ms).call(this), C(this,
|
|
3429
|
+
W(this, ne, ms).call(this), C(this, z).setOptions(this.options), n._defaulted && !Hr(this.options, n) && C(this, Pe).getQueryCache().notify({
|
|
3430
3430
|
type: "observerOptionsUpdated",
|
|
3431
|
-
query: C(this,
|
|
3431
|
+
query: C(this, z),
|
|
3432
3432
|
observer: this
|
|
3433
3433
|
});
|
|
3434
3434
|
const o = this.hasListeners();
|
|
3435
|
-
o &&
|
|
3436
|
-
C(this,
|
|
3435
|
+
o && zi(
|
|
3436
|
+
C(this, z),
|
|
3437
3437
|
r,
|
|
3438
3438
|
this.options,
|
|
3439
3439
|
n
|
|
3440
|
-
) && W(this, ne,
|
|
3440
|
+
) && W(this, ne, zn).call(this), this.updateResult(), o && (C(this, z) !== r || We(this.options.enabled, C(this, z)) !== We(n.enabled, C(this, z)) || Ft(this.options.staleTime, C(this, z)) !== Ft(n.staleTime, C(this, z))) && W(this, ne, ls).call(this);
|
|
3441
3441
|
const s = W(this, ne, us).call(this);
|
|
3442
|
-
o && (C(this,
|
|
3442
|
+
o && (C(this, z) !== r || We(this.options.enabled, C(this, z)) !== We(n.enabled, C(this, z)) || s !== C(this, Lt)) && W(this, ne, ds).call(this, s);
|
|
3443
3443
|
}
|
|
3444
3444
|
getOptimisticResult(t) {
|
|
3445
3445
|
const n = C(this, Pe).getQueryCache().build(C(this, Pe), t), r = this.createResult(n, t);
|
|
3446
|
-
return Zh(this, r) && (A(this, Se, r), A(this, jn, this.options), A(this, Jt, C(this,
|
|
3446
|
+
return Zh(this, r) && (A(this, Se, r), A(this, jn, this.options), A(this, Jt, C(this, z).state)), r;
|
|
3447
3447
|
}
|
|
3448
3448
|
getCurrentResult() {
|
|
3449
3449
|
return C(this, Se);
|
|
@@ -3457,7 +3457,7 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3457
3457
|
C(this, Dn).add(t);
|
|
3458
3458
|
}
|
|
3459
3459
|
getCurrentQuery() {
|
|
3460
|
-
return C(this,
|
|
3460
|
+
return C(this, z);
|
|
3461
3461
|
}
|
|
3462
3462
|
refetch({ ...t } = {}) {
|
|
3463
3463
|
return this.fetch({
|
|
@@ -3469,17 +3469,17 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3469
3469
|
return r.fetch().then(() => this.createResult(r, n));
|
|
3470
3470
|
}
|
|
3471
3471
|
fetch(t) {
|
|
3472
|
-
return W(this, ne,
|
|
3472
|
+
return W(this, ne, zn).call(this, {
|
|
3473
3473
|
...t,
|
|
3474
3474
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
3475
3475
|
}).then(() => (this.updateResult(), C(this, Se)));
|
|
3476
3476
|
}
|
|
3477
3477
|
createResult(t, n) {
|
|
3478
3478
|
var j;
|
|
3479
|
-
const r = C(this,
|
|
3479
|
+
const r = C(this, z), o = this.options, s = C(this, Se), i = C(this, Jt), a = C(this, jn), u = t !== r ? t.state : C(this, rr), { state: f } = t;
|
|
3480
3480
|
let p = { ...f }, m = !1, g;
|
|
3481
3481
|
if (n._optimisticResults) {
|
|
3482
|
-
const D = this.hasListeners(), F = !D && qi(t, n), B = D &&
|
|
3482
|
+
const D = this.hasListeners(), F = !D && qi(t, n), B = D && zi(t, r, n, o);
|
|
3483
3483
|
(F || B) && (p = {
|
|
3484
3484
|
...p,
|
|
3485
3485
|
...Pc(f.data, t.options)
|
|
@@ -3558,8 +3558,8 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3558
3558
|
return N;
|
|
3559
3559
|
}
|
|
3560
3560
|
updateResult() {
|
|
3561
|
-
const t = C(this, Se), n = this.createResult(C(this,
|
|
3562
|
-
if (A(this, Jt, C(this,
|
|
3561
|
+
const t = C(this, Se), n = this.createResult(C(this, z), this.options);
|
|
3562
|
+
if (A(this, Jt, C(this, z).state), A(this, jn, this.options), C(this, Jt).data !== void 0 && A(this, Nn, C(this, z)), Hr(n, t))
|
|
3563
3563
|
return;
|
|
3564
3564
|
A(this, Se, n);
|
|
3565
3565
|
const r = () => {
|
|
@@ -3581,9 +3581,9 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3581
3581
|
onQueryUpdate() {
|
|
3582
3582
|
this.updateResult(), this.hasListeners() && W(this, ne, fs).call(this);
|
|
3583
3583
|
}
|
|
3584
|
-
}, Pe = new WeakMap(),
|
|
3584
|
+
}, Pe = new WeakMap(), z = new WeakMap(), rr = new WeakMap(), Se = new WeakMap(), Jt = new WeakMap(), jn = new WeakMap(), Nt = new WeakMap(), Dt = new WeakMap(), or = new WeakMap(), In = new WeakMap(), Nn = new WeakMap(), en = new WeakMap(), tn = new WeakMap(), Lt = new WeakMap(), Dn = new WeakMap(), ne = new WeakSet(), zn = function(t) {
|
|
3585
3585
|
W(this, ne, ms).call(this);
|
|
3586
|
-
let n = C(this,
|
|
3586
|
+
let n = C(this, z).fetch(
|
|
3587
3587
|
this.options,
|
|
3588
3588
|
t
|
|
3589
3589
|
);
|
|
@@ -3592,7 +3592,7 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3592
3592
|
W(this, ne, hs).call(this);
|
|
3593
3593
|
const t = Ft(
|
|
3594
3594
|
this.options.staleTime,
|
|
3595
|
-
C(this,
|
|
3595
|
+
C(this, z)
|
|
3596
3596
|
);
|
|
3597
3597
|
if (on || C(this, Se).isStale || !os(t))
|
|
3598
3598
|
return;
|
|
@@ -3601,10 +3601,10 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3601
3601
|
C(this, Se).isStale || this.updateResult();
|
|
3602
3602
|
}, r));
|
|
3603
3603
|
}, us = function() {
|
|
3604
|
-
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(C(this,
|
|
3604
|
+
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(C(this, z)) : this.options.refetchInterval) ?? !1;
|
|
3605
3605
|
}, ds = function(t) {
|
|
3606
|
-
W(this, ne, ps).call(this), A(this, Lt, t), !(on || We(this.options.enabled, C(this,
|
|
3607
|
-
(this.options.refetchIntervalInBackground || Us.isFocused()) && W(this, ne,
|
|
3606
|
+
W(this, ne, ps).call(this), A(this, Lt, t), !(on || We(this.options.enabled, C(this, z)) === !1 || !os(C(this, Lt)) || C(this, Lt) === 0) && A(this, tn, setInterval(() => {
|
|
3607
|
+
(this.options.refetchIntervalInBackground || Us.isFocused()) && W(this, ne, zn).call(this);
|
|
3608
3608
|
}, C(this, Lt)));
|
|
3609
3609
|
}, fs = function() {
|
|
3610
3610
|
W(this, ne, ls).call(this), W(this, ne, ds).call(this, W(this, ne, us).call(this));
|
|
@@ -3614,16 +3614,16 @@ var de, Ot, jt, Rn, Pn, It, An, On, Ka, Kh = (Ka = class {
|
|
|
3614
3614
|
C(this, tn) && (clearInterval(C(this, tn)), A(this, tn, void 0));
|
|
3615
3615
|
}, ms = function() {
|
|
3616
3616
|
const t = C(this, Pe).getQueryCache().build(C(this, Pe), this.options);
|
|
3617
|
-
if (t === C(this,
|
|
3617
|
+
if (t === C(this, z))
|
|
3618
3618
|
return;
|
|
3619
|
-
const n = C(this,
|
|
3620
|
-
A(this,
|
|
3619
|
+
const n = C(this, z);
|
|
3620
|
+
A(this, z, t), A(this, rr, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
|
|
3621
3621
|
}, Oc = function(t) {
|
|
3622
3622
|
me.batch(() => {
|
|
3623
3623
|
t.listeners && this.listeners.forEach((n) => {
|
|
3624
3624
|
n(C(this, Se));
|
|
3625
3625
|
}), C(this, Pe).getQueryCache().notify({
|
|
3626
|
-
query: C(this,
|
|
3626
|
+
query: C(this, z),
|
|
3627
3627
|
type: "observerResultsUpdated"
|
|
3628
3628
|
});
|
|
3629
3629
|
});
|
|
@@ -3641,7 +3641,7 @@ function gs(e, t, n) {
|
|
|
3641
3641
|
}
|
|
3642
3642
|
return !1;
|
|
3643
3643
|
}
|
|
3644
|
-
function
|
|
3644
|
+
function zi(e, t, n, r) {
|
|
3645
3645
|
return (e !== t || We(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ws(e, n);
|
|
3646
3646
|
}
|
|
3647
3647
|
function Ws(e, t) {
|
|
@@ -3762,7 +3762,7 @@ var np = d.createContext(tp()), rp = () => d.useContext(np), op = (e, t) => {
|
|
|
3762
3762
|
const t = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), n = e.staleTime;
|
|
3763
3763
|
e.staleTime = typeof n == "function" ? (...r) => t(n(...r)) : t(n), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3));
|
|
3764
3764
|
}
|
|
3765
|
-
}, cp = (e, t) => e.isLoading && e.isFetching && !t, lp = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending,
|
|
3765
|
+
}, cp = (e, t) => e.isLoading && e.isFetching && !t, lp = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, Gi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
3766
3766
|
n.clearReset();
|
|
3767
3767
|
});
|
|
3768
3768
|
function up(e, t, n) {
|
|
@@ -3797,7 +3797,7 @@ function up(e, t, n) {
|
|
|
3797
3797
|
), d.useEffect(() => {
|
|
3798
3798
|
c.setOptions(i);
|
|
3799
3799
|
}, [i, c]), lp(i, u))
|
|
3800
|
-
throw
|
|
3800
|
+
throw Gi(i, c, o);
|
|
3801
3801
|
if (ip({
|
|
3802
3802
|
result: u,
|
|
3803
3803
|
errorResetBoundary: o,
|
|
@@ -3813,7 +3813,7 @@ function up(e, t, n) {
|
|
|
3813
3813
|
), i.experimental_prefetchInRender && !on && cp(u, r)) {
|
|
3814
3814
|
const v = a ? (
|
|
3815
3815
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
3816
|
-
|
|
3816
|
+
Gi(i, c, o)
|
|
3817
3817
|
) : (
|
|
3818
3818
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
3819
3819
|
(h = s.getQueryCache().get(i.queryHash)) == null ? void 0 : h.promise
|
|
@@ -4286,9 +4286,9 @@ const Ap = {
|
|
|
4286
4286
|
display: "flex",
|
|
4287
4287
|
flexDirection: "column",
|
|
4288
4288
|
flex: 1
|
|
4289
|
-
}, Mc =
|
|
4289
|
+
}, Mc = G((e, t) => /* @__PURE__ */ l.jsx("div", { ref: t, style: Ap, ...e }));
|
|
4290
4290
|
Mc.displayName = "BaseContainer";
|
|
4291
|
-
const Op = "pae-app:", jp =
|
|
4291
|
+
const Op = "pae-app:", jp = G(({
|
|
4292
4292
|
appName: e,
|
|
4293
4293
|
LoadingComponent: t = Dc,
|
|
4294
4294
|
ErrorComponent: n = Lc,
|
|
@@ -4369,7 +4369,7 @@ const kp = (e) => e.toLowerCase().trim().split(" ").join("-"), $p = (e) => `${kp
|
|
|
4369
4369
|
return ce(() => {
|
|
4370
4370
|
document.documentElement.setAttribute("data-theme", n);
|
|
4371
4371
|
}, [n]), { theme: n, setTheme: o };
|
|
4372
|
-
}, Bp = "spinner__fakUN", Up = "spinner-rotation__wUmPV", Wp = "button__8FA9H", Hp = "button--contained-primary__stkTx", Vp = "button--outlined-primary__KZ1ww", qp = "button--text-primary__GLTfm",
|
|
4372
|
+
}, Bp = "spinner__fakUN", Up = "spinner-rotation__wUmPV", Wp = "button__8FA9H", Hp = "button--contained-primary__stkTx", Vp = "button--outlined-primary__KZ1ww", qp = "button--text-primary__GLTfm", zp = "button--contained-danger__L9ehT", Gp = "button--outlined-danger__eoYLd", Kp = "button--text-danger__Sw-ha", Qp = "icon__--umH", xr = {
|
|
4373
4373
|
spinner: Bp,
|
|
4374
4374
|
"spinner-rotation": "spinner-rotation__wUmPV",
|
|
4375
4375
|
spinnerRotation: Up,
|
|
@@ -4381,13 +4381,13 @@ const kp = (e) => e.toLowerCase().trim().split(" ").join("-"), $p = (e) => `${kp
|
|
|
4381
4381
|
"button--text-primary": "button--text-primary__GLTfm",
|
|
4382
4382
|
buttonTextPrimary: qp,
|
|
4383
4383
|
"button--contained-danger": "button--contained-danger__L9ehT",
|
|
4384
|
-
buttonContainedDanger:
|
|
4384
|
+
buttonContainedDanger: zp,
|
|
4385
4385
|
"button--outlined-danger": "button--outlined-danger__eoYLd",
|
|
4386
|
-
buttonOutlinedDanger:
|
|
4386
|
+
buttonOutlinedDanger: Gp,
|
|
4387
4387
|
"button--text-danger": "button--text-danger__Sw-ha",
|
|
4388
4388
|
buttonTextDanger: Kp,
|
|
4389
4389
|
icon: Qp
|
|
4390
|
-
}, bs =
|
|
4390
|
+
}, bs = G(({
|
|
4391
4391
|
variant: e = "contained",
|
|
4392
4392
|
colorScheme: t = "primary",
|
|
4393
4393
|
loading: n = !1,
|
|
@@ -4645,7 +4645,7 @@ function c1(e) {
|
|
|
4645
4645
|
const l1 = (e, t) => {
|
|
4646
4646
|
const { space: n, values: r } = c1(e);
|
|
4647
4647
|
return n[0] === "h" ? `${n}a(${r[0]}, ${r[1]}%, ${r[2]}%, ${t})` : `${n}a(${r}, ${t})`;
|
|
4648
|
-
}, Uc =
|
|
4648
|
+
}, Uc = G(({
|
|
4649
4649
|
children: e,
|
|
4650
4650
|
color: t,
|
|
4651
4651
|
className: n,
|
|
@@ -4665,7 +4665,7 @@ const l1 = (e, t) => {
|
|
|
4665
4665
|
return /* @__PURE__ */ l.jsx("span", { ref: a, className: u, style: { ...s, ...c }, ...i, children: e });
|
|
4666
4666
|
});
|
|
4667
4667
|
Uc.displayName = "Badge";
|
|
4668
|
-
const Wc =
|
|
4668
|
+
const Wc = G(({
|
|
4669
4669
|
children: e,
|
|
4670
4670
|
className: t,
|
|
4671
4671
|
...n
|
|
@@ -4751,7 +4751,7 @@ const u1 = ({
|
|
|
4751
4751
|
fieldGroupHorizontal: v1,
|
|
4752
4752
|
"FieldGroup--vertical": "FieldGroup--vertical__FLo-Q",
|
|
4753
4753
|
fieldGroupVertical: y1
|
|
4754
|
-
}, b1 =
|
|
4754
|
+
}, b1 = G(({
|
|
4755
4755
|
children: e,
|
|
4756
4756
|
className: t,
|
|
4757
4757
|
orientation: n = "vertical",
|
|
@@ -4768,7 +4768,7 @@ b1.displayName = "FieldGroup";
|
|
|
4768
4768
|
const w1 = "Input__uS0sb", oa = {
|
|
4769
4769
|
Input: w1,
|
|
4770
4770
|
Error: "Error__-DQpw"
|
|
4771
|
-
}, Vs =
|
|
4771
|
+
}, Vs = G(({
|
|
4772
4772
|
className: e,
|
|
4773
4773
|
error: t,
|
|
4774
4774
|
...n
|
|
@@ -4779,7 +4779,7 @@ const w1 = "Input__uS0sb", oa = {
|
|
|
4779
4779
|
Vs.displayName = "Input";
|
|
4780
4780
|
const C1 = {
|
|
4781
4781
|
Error: "Error__N4OP5"
|
|
4782
|
-
}, x1 =
|
|
4782
|
+
}, x1 = G(({
|
|
4783
4783
|
children: e,
|
|
4784
4784
|
className: t,
|
|
4785
4785
|
...n
|
|
@@ -4791,7 +4791,7 @@ x1.displayName = "InputError";
|
|
|
4791
4791
|
const S1 = "Label__VYUvW", sa = {
|
|
4792
4792
|
Label: S1,
|
|
4793
4793
|
Error: "Error__Eu6DI"
|
|
4794
|
-
}, E1 =
|
|
4794
|
+
}, E1 = G(({
|
|
4795
4795
|
children: e,
|
|
4796
4796
|
className: t,
|
|
4797
4797
|
error: n,
|
|
@@ -4804,7 +4804,7 @@ E1.displayName = "Label";
|
|
|
4804
4804
|
const _1 = "Select__giqpe", T1 = "Chevron__YvhBd", Cs = {
|
|
4805
4805
|
Select: _1,
|
|
4806
4806
|
Chevron: T1
|
|
4807
|
-
}, Hc =
|
|
4807
|
+
}, Hc = G(({
|
|
4808
4808
|
children: e,
|
|
4809
4809
|
className: t,
|
|
4810
4810
|
...n
|
|
@@ -4813,7 +4813,7 @@ const _1 = "Select__giqpe", T1 = "Chevron__YvhBd", Cs = {
|
|
|
4813
4813
|
return /* @__PURE__ */ l.jsx("option", { ref: r, className: o, ...n, children: e });
|
|
4814
4814
|
});
|
|
4815
4815
|
Hc.displayName = "Option";
|
|
4816
|
-
const Vc =
|
|
4816
|
+
const Vc = G(({
|
|
4817
4817
|
children: e,
|
|
4818
4818
|
className: t,
|
|
4819
4819
|
...n
|
|
@@ -5102,7 +5102,7 @@ function q1(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
5102
5102
|
return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
|
|
5103
5103
|
}, [n, t]);
|
|
5104
5104
|
}
|
|
5105
|
-
var
|
|
5105
|
+
var z1 = "DismissableLayer", xs = "dismissableLayer.update", G1 = "dismissableLayer.pointerDownOutside", K1 = "dismissableLayer.focusOutside", la, qc = d.createContext({
|
|
5106
5106
|
layers: /* @__PURE__ */ new Set(),
|
|
5107
5107
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
5108
5108
|
branches: /* @__PURE__ */ new Set()
|
|
@@ -5154,7 +5154,7 @@ var G1 = "DismissableLayer", xs = "dismissableLayer.update", z1 = "dismissableLa
|
|
|
5154
5154
|
);
|
|
5155
5155
|
}
|
|
5156
5156
|
);
|
|
5157
|
-
uo.displayName =
|
|
5157
|
+
uo.displayName = z1;
|
|
5158
5158
|
var Q1 = "DismissableLayerBranch", Y1 = d.forwardRef((e, t) => {
|
|
5159
5159
|
const n = d.useContext(qc), r = d.useRef(null), o = ue(t, r);
|
|
5160
5160
|
return d.useEffect(() => {
|
|
@@ -5173,8 +5173,8 @@ function Z1(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
5173
5173
|
const s = (a) => {
|
|
5174
5174
|
if (a.target && !r.current) {
|
|
5175
5175
|
let c = function() {
|
|
5176
|
-
|
|
5177
|
-
|
|
5176
|
+
zc(
|
|
5177
|
+
G1,
|
|
5178
5178
|
n,
|
|
5179
5179
|
u,
|
|
5180
5180
|
{ discrete: !0 }
|
|
@@ -5200,7 +5200,7 @@ function X1(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
5200
5200
|
const n = an(e), r = d.useRef(!1);
|
|
5201
5201
|
return d.useEffect(() => {
|
|
5202
5202
|
const o = (s) => {
|
|
5203
|
-
s.target && !r.current &&
|
|
5203
|
+
s.target && !r.current && zc(K1, n, { originalEvent: s }, {
|
|
5204
5204
|
discrete: !1
|
|
5205
5205
|
});
|
|
5206
5206
|
};
|
|
@@ -5214,12 +5214,12 @@ function ua() {
|
|
|
5214
5214
|
const e = new CustomEvent(xs);
|
|
5215
5215
|
document.dispatchEvent(e);
|
|
5216
5216
|
}
|
|
5217
|
-
function
|
|
5217
|
+
function zc(e, t, n, { discrete: r }) {
|
|
5218
5218
|
const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
5219
5219
|
t && o.addEventListener(e, t, { once: !0 }), r ? V1(o, s) : o.dispatchEvent(s);
|
|
5220
5220
|
}
|
|
5221
5221
|
var ko = 0;
|
|
5222
|
-
function
|
|
5222
|
+
function Gc() {
|
|
5223
5223
|
d.useEffect(() => {
|
|
5224
5224
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
5225
5225
|
return document.body.insertAdjacentElement("afterbegin", e[0] ?? da()), document.body.insertAdjacentElement("beforeend", e[1] ?? da()), ko++, () => {
|
|
@@ -5369,7 +5369,7 @@ function nn(e) {
|
|
|
5369
5369
|
n((r) => r ?? String(am++));
|
|
5370
5370
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
5371
5371
|
}
|
|
5372
|
-
const cm = ["top", "right", "bottom", "left"], Bt = Math.min, Oe = Math.max,
|
|
5372
|
+
const cm = ["top", "right", "bottom", "left"], Bt = Math.min, Oe = Math.max, zr = Math.round, Sr = Math.floor, st = (e) => ({
|
|
5373
5373
|
x: e,
|
|
5374
5374
|
y: e
|
|
5375
5375
|
}), lm = {
|
|
@@ -5393,10 +5393,10 @@ function vt(e) {
|
|
|
5393
5393
|
function Fn(e) {
|
|
5394
5394
|
return e.split("-")[1];
|
|
5395
5395
|
}
|
|
5396
|
-
function
|
|
5396
|
+
function zs(e) {
|
|
5397
5397
|
return e === "x" ? "y" : "x";
|
|
5398
5398
|
}
|
|
5399
|
-
function
|
|
5399
|
+
function Gs(e) {
|
|
5400
5400
|
return e === "y" ? "height" : "width";
|
|
5401
5401
|
}
|
|
5402
5402
|
const dm = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
@@ -5404,16 +5404,16 @@ function ot(e) {
|
|
|
5404
5404
|
return dm.has(vt(e)) ? "y" : "x";
|
|
5405
5405
|
}
|
|
5406
5406
|
function Ks(e) {
|
|
5407
|
-
return
|
|
5407
|
+
return zs(ot(e));
|
|
5408
5408
|
}
|
|
5409
5409
|
function fm(e, t, n) {
|
|
5410
5410
|
n === void 0 && (n = !1);
|
|
5411
|
-
const r = Fn(e), o = Ks(e), s =
|
|
5411
|
+
const r = Fn(e), o = Ks(e), s = Gs(o);
|
|
5412
5412
|
let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
5413
|
-
return t.reference[s] > t.floating[s] && (i =
|
|
5413
|
+
return t.reference[s] > t.floating[s] && (i = Gr(i)), [i, Gr(i)];
|
|
5414
5414
|
}
|
|
5415
5415
|
function hm(e) {
|
|
5416
|
-
const t =
|
|
5416
|
+
const t = Gr(e);
|
|
5417
5417
|
return [Es(e), t, Es(t)];
|
|
5418
5418
|
}
|
|
5419
5419
|
function Es(e) {
|
|
@@ -5437,7 +5437,7 @@ function vm(e, t, n, r) {
|
|
|
5437
5437
|
let s = gm(vt(e), n === "start", r);
|
|
5438
5438
|
return o && (s = s.map((i) => i + "-" + o), t && (s = s.concat(s.map(Es)))), s;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5440
|
+
function Gr(e) {
|
|
5441
5441
|
return e.replace(/left|right|bottom|top/g, (t) => lm[t]);
|
|
5442
5442
|
}
|
|
5443
5443
|
function ym(e) {
|
|
@@ -5480,7 +5480,7 @@ function ya(e, t, n) {
|
|
|
5480
5480
|
reference: r,
|
|
5481
5481
|
floating: o
|
|
5482
5482
|
} = e;
|
|
5483
|
-
const s = ot(t), i = Ks(t), a =
|
|
5483
|
+
const s = ot(t), i = Ks(t), a = Gs(i), c = vt(t), u = s === "y", f = r.x + r.width / 2 - o.width / 2, p = r.y + r.height / 2 - o.height / 2, m = r[a] / 2 - o[a] / 2;
|
|
5484
5484
|
let g;
|
|
5485
5485
|
switch (c) {
|
|
5486
5486
|
case "top":
|
|
@@ -5653,7 +5653,7 @@ const wm = async (e, t, n) => {
|
|
|
5653
5653
|
const p = Qc(f), m = {
|
|
5654
5654
|
x: n,
|
|
5655
5655
|
y: r
|
|
5656
|
-
}, g = Ks(o), x =
|
|
5656
|
+
}, g = Ks(o), x = Gs(g), h = await i.getDimensions(u), v = g === "y", y = v ? "top" : "left", w = v ? "bottom" : "right", S = v ? "clientHeight" : "clientWidth", E = s.reference[x] + s.reference[g] - m[g] - s.floating[x], _ = m[g] - s.reference[g], T = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
|
|
5657
5657
|
let R = T ? T[S] : 0;
|
|
5658
5658
|
(!R || !await (i.isElement == null ? void 0 : i.isElement(T))) && (R = a.floating[S] || s.floating[x]);
|
|
5659
5659
|
const N = E / 2 - _ / 2, j = R / 2 - h[x] / 2 - 1, D = Bt(p[y], j), F = Bt(p[w], j), B = D, U = R - h[x] - F, H = R / 2 - h[x] / 2 + N, re = Ss(B, H, U), V = !c.arrow && Fn(o) != null && H !== re && s.reference[x] / 2 - (H < B ? D : F) - h[x] / 2 < 0, Q = V ? H < B ? H - B : H - U : 0;
|
|
@@ -5693,7 +5693,7 @@ const wm = async (e, t, n) => {
|
|
|
5693
5693
|
} = gt(e, t);
|
|
5694
5694
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
5695
5695
|
return {};
|
|
5696
|
-
const y = vt(o), w = ot(a), S = vt(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), _ = m || (S || !h ? [
|
|
5696
|
+
const y = vt(o), w = ot(a), S = vt(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), _ = m || (S || !h ? [Gr(a)] : hm(a)), T = x !== "none";
|
|
5697
5697
|
!m && T && _.push(...vm(a, h, x, E));
|
|
5698
5698
|
const R = [a, ..._], N = await c.detectOverflow(t, v), j = [];
|
|
5699
5699
|
let D = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -5883,7 +5883,7 @@ const _m = function(e) {
|
|
|
5883
5883
|
} = gt(e, t), f = {
|
|
5884
5884
|
x: n,
|
|
5885
5885
|
y: r
|
|
5886
|
-
}, p = await s.detectOverflow(t, u), m = ot(vt(o)), g =
|
|
5886
|
+
}, p = await s.detectOverflow(t, u), m = ot(vt(o)), g = zs(m);
|
|
5887
5887
|
let x = f[g], h = f[m];
|
|
5888
5888
|
if (i) {
|
|
5889
5889
|
const y = g === "y" ? "top" : "left", w = g === "y" ? "bottom" : "right", S = x + p[y], E = x - p[w];
|
|
@@ -5928,7 +5928,7 @@ const _m = function(e) {
|
|
|
5928
5928
|
} = gt(e, t), f = {
|
|
5929
5929
|
x: n,
|
|
5930
5930
|
y: r
|
|
5931
|
-
}, p = ot(o), m =
|
|
5931
|
+
}, p = ot(o), m = zs(p);
|
|
5932
5932
|
let g = f[m], x = f[p];
|
|
5933
5933
|
const h = gt(a, t), v = typeof h == "number" ? {
|
|
5934
5934
|
mainAxis: h,
|
|
@@ -6027,7 +6027,7 @@ function cr(e) {
|
|
|
6027
6027
|
overflowX: n,
|
|
6028
6028
|
overflowY: r,
|
|
6029
6029
|
display: o
|
|
6030
|
-
} =
|
|
6030
|
+
} = ze(e);
|
|
6031
6031
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !Am.has(o);
|
|
6032
6032
|
}
|
|
6033
6033
|
const Om = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
@@ -6046,7 +6046,7 @@ function ho(e) {
|
|
|
6046
6046
|
}
|
|
6047
6047
|
const Nm = ["transform", "translate", "scale", "rotate", "perspective"], Dm = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Lm = ["paint", "layout", "strict", "content"];
|
|
6048
6048
|
function Qs(e) {
|
|
6049
|
-
const t = Ys(), n = qe(e) ?
|
|
6049
|
+
const t = Ys(), n = qe(e) ? ze(e) : e;
|
|
6050
6050
|
return Nm.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Dm.some((r) => (n.willChange || "").includes(r)) || Lm.some((r) => (n.contain || "").includes(r));
|
|
6051
6051
|
}
|
|
6052
6052
|
function Mm(e) {
|
|
@@ -6067,7 +6067,7 @@ const km = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
|
6067
6067
|
function Ln(e) {
|
|
6068
6068
|
return km.has(Bn(e));
|
|
6069
6069
|
}
|
|
6070
|
-
function
|
|
6070
|
+
function ze(e) {
|
|
6071
6071
|
return Ie(e).getComputedStyle(e);
|
|
6072
6072
|
}
|
|
6073
6073
|
function po(e) {
|
|
@@ -6109,9 +6109,9 @@ function _s(e) {
|
|
|
6109
6109
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
6110
6110
|
}
|
|
6111
6111
|
function Jc(e) {
|
|
6112
|
-
const t =
|
|
6112
|
+
const t = ze(e);
|
|
6113
6113
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
6114
|
-
const o = it(e), s = o ? e.offsetWidth : n, i = o ? e.offsetHeight : r, a =
|
|
6114
|
+
const o = it(e), s = o ? e.offsetWidth : n, i = o ? e.offsetHeight : r, a = zr(n) !== s || zr(r) !== i;
|
|
6115
6115
|
return a && (n = s, r = i), {
|
|
6116
6116
|
width: n,
|
|
6117
6117
|
height: r,
|
|
@@ -6130,7 +6130,7 @@ function wn(e) {
|
|
|
6130
6130
|
height: o,
|
|
6131
6131
|
$: s
|
|
6132
6132
|
} = Jc(t);
|
|
6133
|
-
let i = (s ?
|
|
6133
|
+
let i = (s ? zr(n.width) : n.width) / r, a = (s ? zr(n.height) : n.height) / o;
|
|
6134
6134
|
return (!i || !Number.isFinite(i)) && (i = 1), (!a || !Number.isFinite(a)) && (a = 1), {
|
|
6135
6135
|
x: i,
|
|
6136
6136
|
y: a
|
|
@@ -6158,7 +6158,7 @@ function cn(e, t, n, r) {
|
|
|
6158
6158
|
const m = Ie(s), g = r && qe(r) ? Ie(r) : r;
|
|
6159
6159
|
let x = m, h = _s(x);
|
|
6160
6160
|
for (; h && r && g !== x; ) {
|
|
6161
|
-
const v = wn(h), y = h.getBoundingClientRect(), w =
|
|
6161
|
+
const v = wn(h), y = h.getBoundingClientRect(), w = ze(h), S = y.left + (h.clientLeft + parseFloat(w.paddingLeft)) * v.x, E = y.top + (h.clientTop + parseFloat(w.paddingTop)) * v.y;
|
|
6162
6162
|
c *= v.x, u *= v.y, f *= v.x, p *= v.y, c += S, u += E, x = Ie(h), h = _s(x);
|
|
6163
6163
|
}
|
|
6164
6164
|
}
|
|
@@ -6214,7 +6214,7 @@ function Wm(e) {
|
|
|
6214
6214
|
const t = at(e), n = po(e), r = e.ownerDocument.body, o = Oe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = Oe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
6215
6215
|
let i = -n.scrollLeft + mo(e);
|
|
6216
6216
|
const a = -n.scrollTop;
|
|
6217
|
-
return
|
|
6217
|
+
return ze(r).direction === "rtl" && (i += Oe(t.clientWidth, r.clientWidth) - o), {
|
|
6218
6218
|
width: o,
|
|
6219
6219
|
height: s,
|
|
6220
6220
|
x: i,
|
|
@@ -6273,29 +6273,29 @@ function Sa(e, t, n) {
|
|
|
6273
6273
|
}
|
|
6274
6274
|
function nl(e, t) {
|
|
6275
6275
|
const n = Ut(e);
|
|
6276
|
-
return n === t || !qe(n) || Ln(n) ? !1 :
|
|
6276
|
+
return n === t || !qe(n) || Ln(n) ? !1 : ze(n).position === "fixed" || nl(n, t);
|
|
6277
6277
|
}
|
|
6278
|
-
function
|
|
6278
|
+
function zm(e, t) {
|
|
6279
6279
|
const n = t.get(e);
|
|
6280
6280
|
if (n)
|
|
6281
6281
|
return n;
|
|
6282
6282
|
let r = Zn(e, [], !1).filter((a) => qe(a) && Bn(a) !== "body"), o = null;
|
|
6283
|
-
const s =
|
|
6283
|
+
const s = ze(e).position === "fixed";
|
|
6284
6284
|
let i = s ? Ut(e) : e;
|
|
6285
6285
|
for (; qe(i) && !Ln(i); ) {
|
|
6286
|
-
const a =
|
|
6286
|
+
const a = ze(i), c = Qs(i);
|
|
6287
6287
|
!c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Vm.has(o.position) || cr(i) && !c && nl(e, i)) ? r = r.filter((f) => f !== i) : o = a, i = Ut(i);
|
|
6288
6288
|
}
|
|
6289
6289
|
return t.set(e, r), r;
|
|
6290
6290
|
}
|
|
6291
|
-
function
|
|
6291
|
+
function Gm(e) {
|
|
6292
6292
|
let {
|
|
6293
6293
|
element: t,
|
|
6294
6294
|
boundary: n,
|
|
6295
6295
|
rootBoundary: r,
|
|
6296
6296
|
strategy: o
|
|
6297
6297
|
} = e;
|
|
6298
|
-
const i = [...n === "clippingAncestors" ? ho(t) ? [] :
|
|
6298
|
+
const i = [...n === "clippingAncestors" ? ho(t) ? [] : zm(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((u, f) => {
|
|
6299
6299
|
const p = Sa(t, f, o);
|
|
6300
6300
|
return u.top = Oe(p.top, u.top), u.right = Bt(p.right, u.right), u.bottom = Bt(p.bottom, u.bottom), u.left = Oe(p.left, u.left), u;
|
|
6301
6301
|
}, Sa(t, a, o));
|
|
@@ -6341,10 +6341,10 @@ function Qm(e, t, n) {
|
|
|
6341
6341
|
};
|
|
6342
6342
|
}
|
|
6343
6343
|
function Bo(e) {
|
|
6344
|
-
return
|
|
6344
|
+
return ze(e).position === "static";
|
|
6345
6345
|
}
|
|
6346
6346
|
function Ea(e, t) {
|
|
6347
|
-
if (!it(e) ||
|
|
6347
|
+
if (!it(e) || ze(e).position === "fixed")
|
|
6348
6348
|
return null;
|
|
6349
6349
|
if (t)
|
|
6350
6350
|
return t(e);
|
|
@@ -6382,12 +6382,12 @@ const Ym = async function(e) {
|
|
|
6382
6382
|
};
|
|
6383
6383
|
};
|
|
6384
6384
|
function Zm(e) {
|
|
6385
|
-
return
|
|
6385
|
+
return ze(e).direction === "rtl";
|
|
6386
6386
|
}
|
|
6387
6387
|
const Xm = {
|
|
6388
6388
|
convertOffsetParentRelativeRectToViewportRelativeRect: Bm,
|
|
6389
6389
|
getDocumentElement: at,
|
|
6390
|
-
getClippingRect:
|
|
6390
|
+
getClippingRect: Gm,
|
|
6391
6391
|
getOffsetParent: rl,
|
|
6392
6392
|
getElementRects: Ym,
|
|
6393
6393
|
getClientRects: Um,
|
|
@@ -7101,7 +7101,7 @@ var Bg = Cl, Ug = function(e) {
|
|
|
7101
7101
|
function Ho(e, t) {
|
|
7102
7102
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
7103
7103
|
}
|
|
7104
|
-
function
|
|
7104
|
+
function zg(e, t) {
|
|
7105
7105
|
var n = ae(function() {
|
|
7106
7106
|
return {
|
|
7107
7107
|
// value
|
|
@@ -7122,14 +7122,14 @@ function Gg(e, t) {
|
|
|
7122
7122
|
})[0];
|
|
7123
7123
|
return n.callback = t, n.facade;
|
|
7124
7124
|
}
|
|
7125
|
-
var
|
|
7125
|
+
var Gg = typeof window < "u" ? d.useLayoutEffect : d.useEffect, Ra = /* @__PURE__ */ new WeakMap();
|
|
7126
7126
|
function Kg(e, t) {
|
|
7127
|
-
var n =
|
|
7127
|
+
var n = zg(null, function(r) {
|
|
7128
7128
|
return e.forEach(function(o) {
|
|
7129
7129
|
return Ho(o, r);
|
|
7130
7130
|
});
|
|
7131
7131
|
});
|
|
7132
|
-
return
|
|
7132
|
+
return Gg(function() {
|
|
7133
7133
|
var r = Ra.get(n);
|
|
7134
7134
|
if (r) {
|
|
7135
7135
|
var o = new Set(r), s = new Set(e), i = n.current;
|
|
@@ -7751,7 +7751,7 @@ var Fe = 10, [kl, Vt] = Un(un), Iv = "SelectContentImpl", Nv = /* @__PURE__ */ A
|
|
|
7751
7751
|
), B = bo(n), [U, H] = d.useState(!1), re = d.useRef(!1);
|
|
7752
7752
|
d.useEffect(() => {
|
|
7753
7753
|
if (S) return Sl(S);
|
|
7754
|
-
}, [S]),
|
|
7754
|
+
}, [S]), Gc();
|
|
7755
7755
|
const V = d.useCallback(
|
|
7756
7756
|
(M) => {
|
|
7757
7757
|
const [J, ...he] = B().map((Z) => Z.ref.current), [Y] = he.slice(-1), ee = document.activeElement;
|
|
@@ -8180,9 +8180,9 @@ var Zr = "SelectItem", [Bv, Vl] = Un(Zr), ql = d.forwardRef(
|
|
|
8180
8180
|
}
|
|
8181
8181
|
);
|
|
8182
8182
|
ql.displayName = Zr;
|
|
8183
|
-
var
|
|
8183
|
+
var Gn = "SelectItemText", zl = d.forwardRef(
|
|
8184
8184
|
(e, t) => {
|
|
8185
|
-
const { __scopeSelect: n, className: r, style: o, ...s } = e, i = Ht(
|
|
8185
|
+
const { __scopeSelect: n, className: r, style: o, ...s } = e, i = Ht(Gn, n), a = Vt(Gn, n), c = Vl(Gn, n), u = Ov(Gn, n), [f, p] = d.useState(null), m = ue(
|
|
8186
8186
|
t,
|
|
8187
8187
|
(y) => p(y),
|
|
8188
8188
|
c.onItemTextChange,
|
|
@@ -8200,14 +8200,14 @@ var zn = "SelectItemText", Gl = d.forwardRef(
|
|
|
8200
8200
|
] });
|
|
8201
8201
|
}
|
|
8202
8202
|
);
|
|
8203
|
-
|
|
8204
|
-
var
|
|
8203
|
+
zl.displayName = Gn;
|
|
8204
|
+
var Gl = "SelectItemIndicator", Kl = d.forwardRef(
|
|
8205
8205
|
(e, t) => {
|
|
8206
8206
|
const { __scopeSelect: n, ...r } = e;
|
|
8207
|
-
return Vl(
|
|
8207
|
+
return Vl(Gl, n).isSelected ? /* @__PURE__ */ l.jsx(ie.span, { "aria-hidden": !0, ...r, ref: t }) : null;
|
|
8208
8208
|
}
|
|
8209
8209
|
);
|
|
8210
|
-
Kl.displayName =
|
|
8210
|
+
Kl.displayName = Gl;
|
|
8211
8211
|
var As = "SelectScrollUpButton", Uv = d.forwardRef((e, t) => {
|
|
8212
8212
|
const n = Vt(As, e.__scopeSelect), r = ni(As, e.__scopeSelect), [o, s] = d.useState(!1), i = ue(t, r.onScrollButtonChange);
|
|
8213
8213
|
return be(() => {
|
|
@@ -8297,7 +8297,7 @@ var js = "SelectArrow", qv = d.forwardRef(
|
|
|
8297
8297
|
}
|
|
8298
8298
|
);
|
|
8299
8299
|
qv.displayName = js;
|
|
8300
|
-
var
|
|
8300
|
+
var zv = "SelectBubbleInput", Yl = d.forwardRef(
|
|
8301
8301
|
({ __scopeSelect: e, value: t, ...n }, r) => {
|
|
8302
8302
|
const o = d.useRef(null), s = ue(r, o), i = $g(t);
|
|
8303
8303
|
return d.useEffect(() => {
|
|
@@ -8322,7 +8322,7 @@ var Gv = "SelectBubbleInput", Yl = d.forwardRef(
|
|
|
8322
8322
|
);
|
|
8323
8323
|
}
|
|
8324
8324
|
);
|
|
8325
|
-
Yl.displayName =
|
|
8325
|
+
Yl.displayName = zv;
|
|
8326
8326
|
function Zl(e) {
|
|
8327
8327
|
return e === "" || e === void 0;
|
|
8328
8328
|
}
|
|
@@ -8342,17 +8342,17 @@ function Xl(e) {
|
|
|
8342
8342
|
}
|
|
8343
8343
|
function Jl(e, t, n) {
|
|
8344
8344
|
const o = t.length > 1 && Array.from(t).every((u) => u === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
|
|
8345
|
-
let i =
|
|
8345
|
+
let i = Gv(e, Math.max(s, 0));
|
|
8346
8346
|
o.length === 1 && (i = i.filter((u) => u !== n));
|
|
8347
8347
|
const c = i.find(
|
|
8348
8348
|
(u) => u.textValue.toLowerCase().startsWith(o.toLowerCase())
|
|
8349
8349
|
);
|
|
8350
8350
|
return c !== n ? c : void 0;
|
|
8351
8351
|
}
|
|
8352
|
-
function
|
|
8352
|
+
function Gv(e, t) {
|
|
8353
8353
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
8354
8354
|
}
|
|
8355
|
-
var Kv = Ol, Qv = Il, Yv = Dl, Zv = Ll, Xv = Ml, Jv = Bl, ey = Wl, ty = ql, ny =
|
|
8355
|
+
var Kv = Ol, Qv = Il, Yv = Dl, Zv = Ll, Xv = Ml, Jv = Bl, ey = Wl, ty = ql, ny = zl, ry = Kl;
|
|
8356
8356
|
const oy = "Container__xcHXp", sy = "Label__0cZB9", iy = "HelperText__m1nA9", ay = "Trigger__AyFUd", cy = "TriggerIcon__aygFG", ly = "Content__llztG", uy = "Viewport__COtSL", dy = "Item__XN1-2", fy = "ItemIndicatorContainer__EQH-X", hy = "ItemIndicator__bySSc", Ye = {
|
|
8357
8357
|
Container: oy,
|
|
8358
8358
|
Label: sy,
|
|
@@ -8364,7 +8364,7 @@ const oy = "Container__xcHXp", sy = "Label__0cZB9", iy = "HelperText__m1nA9", ay
|
|
|
8364
8364
|
Item: dy,
|
|
8365
8365
|
ItemIndicatorContainer: fy,
|
|
8366
8366
|
ItemIndicator: hy
|
|
8367
|
-
}, py =
|
|
8367
|
+
}, py = G(({
|
|
8368
8368
|
label: e,
|
|
8369
8369
|
helperText: t,
|
|
8370
8370
|
value: n,
|
|
@@ -8403,7 +8403,7 @@ const my = () => /* @__PURE__ */ l.jsxs("svg", { width: "18", height: "18", view
|
|
|
8403
8403
|
/* @__PURE__ */ l.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.4754 7.22541C13.1093 7.59153 12.5157 7.59153 12.1496 7.22541L10 5.07583L7.85041 7.22541C7.4843 7.59153 6.8907 7.59153 6.52459 7.22541C6.15847 6.8593 6.15847 6.2657 6.52459 5.89959L9.33709 3.08709C9.7032 2.72097 10.2968 2.72097 10.6629 3.08709L13.4754 5.89959C13.8415 6.2657 13.8415 6.8593 13.4754 7.22541Z", fill: "currentColor" })
|
|
8404
8404
|
] }), gy = () => /* @__PURE__ */ l.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M13.3333 4L6 11.3333L2.66667 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), vy = "TextArea__pa-A0", yy = {
|
|
8405
8405
|
TextArea: vy
|
|
8406
|
-
}, by =
|
|
8406
|
+
}, by = G(({
|
|
8407
8407
|
children: e,
|
|
8408
8408
|
className: t,
|
|
8409
8409
|
...n
|
|
@@ -8794,9 +8794,9 @@ function Fy(e) {
|
|
|
8794
8794
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
8795
8795
|
}
|
|
8796
8796
|
var By = tu, Uy = nu, Wy = ru, Hy = ou, Vy = su, qy = cu;
|
|
8797
|
-
const
|
|
8798
|
-
tooltip:
|
|
8799
|
-
tooltipArrow:
|
|
8797
|
+
const zy = "tooltip__nUuSh", Gy = "tooltipArrow__W2w-f", Ia = {
|
|
8798
|
+
tooltip: zy,
|
|
8799
|
+
tooltipArrow: Gy
|
|
8800
8800
|
}, Jn = ({
|
|
8801
8801
|
children: e,
|
|
8802
8802
|
open: t,
|
|
@@ -8867,7 +8867,7 @@ const Zy = "SearchInput__4OFyE", Xy = "SearchIcon__YgnQy", Jy = "ClearIcon__ukRV
|
|
|
8867
8867
|
ClearIcon: Jy,
|
|
8868
8868
|
SearchInput__ClearIcon: e0,
|
|
8869
8869
|
SearchInput__SearchIcon: t0
|
|
8870
|
-
}, lu =
|
|
8870
|
+
}, lu = G(({
|
|
8871
8871
|
className: e,
|
|
8872
8872
|
placeholder: t = "Type to search...",
|
|
8873
8873
|
showClearButton: n = !1,
|
|
@@ -8928,7 +8928,7 @@ const n0 = "SearchAutocomplete__vR9Hk", r0 = "AutocompleteItem__YIm7R", o0 = "Au
|
|
|
8928
8928
|
dropdownListOpen: d0,
|
|
8929
8929
|
"DropdownList--left": "DropdownList--left__xSwXR",
|
|
8930
8930
|
dropdownListLeft: f0
|
|
8931
|
-
}, si =
|
|
8931
|
+
}, si = G(({
|
|
8932
8932
|
children: e,
|
|
8933
8933
|
className: t,
|
|
8934
8934
|
open: n,
|
|
@@ -8947,7 +8947,7 @@ const n0 = "SearchAutocomplete__vR9Hk", r0 = "AutocompleteItem__YIm7R", o0 = "Au
|
|
|
8947
8947
|
return /* @__PURE__ */ l.jsx("div", { ref: s, className: i, ...o, children: e });
|
|
8948
8948
|
});
|
|
8949
8949
|
si.displayName = "DropdownList";
|
|
8950
|
-
const Kn =
|
|
8950
|
+
const Kn = G(({
|
|
8951
8951
|
children: e,
|
|
8952
8952
|
className: t,
|
|
8953
8953
|
canBeSelected: n = !1,
|
|
@@ -9013,7 +9013,7 @@ const h0 = 300, p0 = {
|
|
|
9013
9013
|
}));
|
|
9014
9014
|
}
|
|
9015
9015
|
};
|
|
9016
|
-
}, uu =
|
|
9016
|
+
}, uu = G(({
|
|
9017
9017
|
text: e,
|
|
9018
9018
|
query: t,
|
|
9019
9019
|
className: n,
|
|
@@ -9033,7 +9033,7 @@ const h0 = 300, p0 = {
|
|
|
9033
9033
|
return /* @__PURE__ */ l.jsx("div", { ref: o, className: s, ...r, children: i(e, t) });
|
|
9034
9034
|
});
|
|
9035
9035
|
uu.displayName = "AutocompleteHighlighter";
|
|
9036
|
-
const g0 = 5, v0 =
|
|
9036
|
+
const g0 = 5, v0 = G(({
|
|
9037
9037
|
children: e,
|
|
9038
9038
|
className: t,
|
|
9039
9039
|
canAdd: n,
|
|
@@ -9076,16 +9076,16 @@ const g0 = 5, v0 = z(({
|
|
|
9076
9076
|
] });
|
|
9077
9077
|
});
|
|
9078
9078
|
v0.displayName = "SearchAutocomplete";
|
|
9079
|
-
const
|
|
9079
|
+
const Gt = (e) => {
|
|
9080
9080
|
let t = null, n = null;
|
|
9081
9081
|
return Id.forEach(e.children, (r) => {
|
|
9082
9082
|
const o = r.props.condition;
|
|
9083
9083
|
o === void 0 ? n = r : !t && o === !0 && (t = r);
|
|
9084
9084
|
}), /* @__PURE__ */ l.jsx(l.Fragment, { children: t || n });
|
|
9085
9085
|
};
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9086
|
+
Gt.displayName = "Show";
|
|
9087
|
+
Gt.When = ({ condition: e, children: t }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: e && t });
|
|
9088
|
+
Gt.Else = ({ render: e, children: t }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: e || t });
|
|
9089
9089
|
var y0 = Symbol.for("react.lazy"), Xr = d[" use ".trim().toString()];
|
|
9090
9090
|
function b0(e) {
|
|
9091
9091
|
return typeof e == "object" && e !== null && "then" in e;
|
|
@@ -9143,7 +9143,7 @@ function T0(e) {
|
|
|
9143
9143
|
const R0 = "SkeletonListContainer__MKJhE", P0 = "Skeleton__Ovpiw", fu = {
|
|
9144
9144
|
SkeletonListContainer: R0,
|
|
9145
9145
|
Skeleton: P0
|
|
9146
|
-
}, ii =
|
|
9146
|
+
}, ii = G((e, t) => {
|
|
9147
9147
|
const { children: n, className: r, loading: o, height: s = 48, width: i, borderRadius: a, style: c, ...u } = e;
|
|
9148
9148
|
if (!o && n) return n;
|
|
9149
9149
|
const f = Ri(n) ? C0 : "span";
|
|
@@ -9194,7 +9194,7 @@ const $0 = "disabled__KpauE", F0 = "checked__2-JV-", B0 = "thumb__fEuKD", Ar = {
|
|
|
9194
9194
|
disabled: $0,
|
|
9195
9195
|
checked: F0,
|
|
9196
9196
|
thumb: B0
|
|
9197
|
-
}, U0 =
|
|
9197
|
+
}, U0 = G(
|
|
9198
9198
|
({
|
|
9199
9199
|
checked: e,
|
|
9200
9200
|
defaultChecked: t = !1,
|
|
@@ -9241,13 +9241,13 @@ const $0 = "disabled__KpauE", F0 = "checked__2-JV-", B0 = "thumb__fEuKD", Ar = {
|
|
|
9241
9241
|
}
|
|
9242
9242
|
);
|
|
9243
9243
|
U0.displayName = "Switch";
|
|
9244
|
-
const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizontal__e1YW4", q0 = "tabs-list--vertical__huK05",
|
|
9244
|
+
const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizontal__e1YW4", q0 = "tabs-list--vertical__huK05", z0 = "tabs-trigger__D8R4R", G0 = "tabs-trigger--disabled__ezDWc", K0 = "tabs-trigger--horizontal__4jBFV", Q0 = "tabs-trigger--active__S-Z-S", Y0 = "tabs-trigger--vertical__dNVIZ", Z0 = "tabs-content__1d77o", rt = {
|
|
9245
9245
|
tabsRoot: W0,
|
|
9246
9246
|
tabsList: H0,
|
|
9247
9247
|
tabsListHorizontal: V0,
|
|
9248
9248
|
tabsListVertical: q0,
|
|
9249
|
-
tabsTrigger:
|
|
9250
|
-
tabsTriggerDisabled:
|
|
9249
|
+
tabsTrigger: z0,
|
|
9250
|
+
tabsTriggerDisabled: G0,
|
|
9251
9251
|
tabsTriggerHorizontal: K0,
|
|
9252
9252
|
tabsTriggerActive: Q0,
|
|
9253
9253
|
tabsTriggerVertical: Y0,
|
|
@@ -9369,7 +9369,7 @@ const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizon
|
|
|
9369
9369
|
] }) : /* @__PURE__ */ l.jsx("svg", { className: e, onClick: n, xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ l.jsx("path", { d: "M6.26672 2.97052C6.50379 2.93547 6.74835 2.91667 7.00024 2.91667C9.97816 2.91667 11.9323 5.54449 12.5887 6.58398C12.6682 6.70979 12.7079 6.7727 12.7302 6.86973C12.7469 6.94259 12.7468 7.05755 12.7301 7.13042C12.7079 7.22744 12.6679 7.29077 12.5879 7.41741C12.413 7.69425 12.1463 8.08331 11.793 8.50527M3.92252 3.9171C2.66131 4.77266 1.8051 5.9613 1.41231 6.58308C1.3325 6.70942 1.29259 6.7726 1.27035 6.86961C1.25364 6.94248 1.25363 7.05742 1.27033 7.13029C1.29257 7.22731 1.33229 7.29022 1.41174 7.41602C2.06823 8.45551 4.02232 11.0833 7.00024 11.0833C8.20098 11.0833 9.23526 10.6561 10.0851 10.078M1.75024 1.75L12.2502 12.25M5.76281 5.76256C5.44612 6.07925 5.25024 6.51675 5.25024 7C5.25024 7.9665 6.03374 8.75 7.00024 8.75C7.48349 8.75 7.92099 8.55413 8.23768 8.23744", stroke: "#818181", strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }) }), J0 = "PasswordInput__GDJDN", e2 = "eyeIcon__kDExG", La = {
|
|
9370
9370
|
PasswordInput: J0,
|
|
9371
9371
|
eyeIcon: e2
|
|
9372
|
-
}, Hb =
|
|
9372
|
+
}, Hb = G((e, t) => {
|
|
9373
9373
|
const [n, r] = ae("password"), o = ge(() => {
|
|
9374
9374
|
r((s) => s === "password" ? "text" : "password");
|
|
9375
9375
|
}, [r]);
|
|
@@ -9422,7 +9422,7 @@ function i2(e) {
|
|
|
9422
9422
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
9423
9423
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
9424
9424
|
}
|
|
9425
|
-
var So = "Dialog", [pu] = ar(So), [a2,
|
|
9425
|
+
var So = "Dialog", [pu] = ar(So), [a2, Ge] = pu(So), mu = (e) => {
|
|
9426
9426
|
const {
|
|
9427
9427
|
__scopeDialog: t,
|
|
9428
9428
|
children: n,
|
|
@@ -9456,7 +9456,7 @@ var So = "Dialog", [pu] = ar(So), [a2, ze] = pu(So), mu = (e) => {
|
|
|
9456
9456
|
mu.displayName = So;
|
|
9457
9457
|
var gu = "DialogTrigger", c2 = d.forwardRef(
|
|
9458
9458
|
(e, t) => {
|
|
9459
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
9459
|
+
const { __scopeDialog: n, ...r } = e, o = Ge(gu, n), s = ue(t, o.triggerRef);
|
|
9460
9460
|
return /* @__PURE__ */ l.jsx(
|
|
9461
9461
|
ie.button,
|
|
9462
9462
|
{
|
|
@@ -9476,20 +9476,20 @@ c2.displayName = gu;
|
|
|
9476
9476
|
var ci = "DialogPortal", [l2, vu] = pu(ci, {
|
|
9477
9477
|
forceMount: void 0
|
|
9478
9478
|
}), yu = (e) => {
|
|
9479
|
-
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s =
|
|
9479
|
+
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Ge(ci, t);
|
|
9480
9480
|
return /* @__PURE__ */ l.jsx(l2, { scope: t, forceMount: n, children: d.Children.map(r, (i) => /* @__PURE__ */ l.jsx(Wn, { present: n || s.open, children: /* @__PURE__ */ l.jsx(ei, { asChild: !0, container: o, children: i }) })) });
|
|
9481
9481
|
};
|
|
9482
9482
|
yu.displayName = ci;
|
|
9483
9483
|
var Jr = "DialogOverlay", bu = d.forwardRef(
|
|
9484
9484
|
(e, t) => {
|
|
9485
|
-
const n = vu(Jr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s =
|
|
9485
|
+
const n = vu(Jr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Ge(Jr, e.__scopeDialog);
|
|
9486
9486
|
return s.modal ? /* @__PURE__ */ l.jsx(Wn, { present: r || s.open, children: /* @__PURE__ */ l.jsx(d2, { ...o, ref: t }) }) : null;
|
|
9487
9487
|
}
|
|
9488
9488
|
);
|
|
9489
9489
|
bu.displayName = Jr;
|
|
9490
9490
|
var u2 = /* @__PURE__ */ t2("DialogOverlay.RemoveScroll"), d2 = d.forwardRef(
|
|
9491
9491
|
(e, t) => {
|
|
9492
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
9492
|
+
const { __scopeDialog: n, ...r } = e, o = Ge(Jr, n);
|
|
9493
9493
|
return (
|
|
9494
9494
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
9495
9495
|
// ie. when `Overlay` and `Content` are siblings
|
|
@@ -9506,14 +9506,14 @@ var u2 = /* @__PURE__ */ t2("DialogOverlay.RemoveScroll"), d2 = d.forwardRef(
|
|
|
9506
9506
|
}
|
|
9507
9507
|
), dn = "DialogContent", wu = d.forwardRef(
|
|
9508
9508
|
(e, t) => {
|
|
9509
|
-
const n = vu(dn, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s =
|
|
9509
|
+
const n = vu(dn, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Ge(dn, e.__scopeDialog);
|
|
9510
9510
|
return /* @__PURE__ */ l.jsx(Wn, { present: r || s.open, children: s.modal ? /* @__PURE__ */ l.jsx(f2, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(h2, { ...o, ref: t }) });
|
|
9511
9511
|
}
|
|
9512
9512
|
);
|
|
9513
9513
|
wu.displayName = dn;
|
|
9514
9514
|
var f2 = d.forwardRef(
|
|
9515
9515
|
(e, t) => {
|
|
9516
|
-
const n =
|
|
9516
|
+
const n = Ge(dn, e.__scopeDialog), r = d.useRef(null), o = ue(t, n.contentRef, r);
|
|
9517
9517
|
return d.useEffect(() => {
|
|
9518
9518
|
const s = r.current;
|
|
9519
9519
|
if (s) return Sl(s);
|
|
@@ -9541,7 +9541,7 @@ var f2 = d.forwardRef(
|
|
|
9541
9541
|
}
|
|
9542
9542
|
), h2 = d.forwardRef(
|
|
9543
9543
|
(e, t) => {
|
|
9544
|
-
const n =
|
|
9544
|
+
const n = Ge(dn, e.__scopeDialog), r = d.useRef(!1), o = d.useRef(!1);
|
|
9545
9545
|
return /* @__PURE__ */ l.jsx(
|
|
9546
9546
|
Cu,
|
|
9547
9547
|
{
|
|
@@ -9564,8 +9564,8 @@ var f2 = d.forwardRef(
|
|
|
9564
9564
|
}
|
|
9565
9565
|
), Cu = d.forwardRef(
|
|
9566
9566
|
(e, t) => {
|
|
9567
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...i } = e, a =
|
|
9568
|
-
return
|
|
9567
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...i } = e, a = Ge(dn, n), c = d.useRef(null), u = ue(t, c);
|
|
9568
|
+
return Gc(), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
9569
9569
|
/* @__PURE__ */ l.jsx(
|
|
9570
9570
|
qs,
|
|
9571
9571
|
{
|
|
@@ -9597,21 +9597,21 @@ var f2 = d.forwardRef(
|
|
|
9597
9597
|
}
|
|
9598
9598
|
), li = "DialogTitle", xu = d.forwardRef(
|
|
9599
9599
|
(e, t) => {
|
|
9600
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
9600
|
+
const { __scopeDialog: n, ...r } = e, o = Ge(li, n);
|
|
9601
9601
|
return /* @__PURE__ */ l.jsx(ie.h2, { id: o.titleId, ...r, ref: t });
|
|
9602
9602
|
}
|
|
9603
9603
|
);
|
|
9604
9604
|
xu.displayName = li;
|
|
9605
9605
|
var Su = "DialogDescription", Eu = d.forwardRef(
|
|
9606
9606
|
(e, t) => {
|
|
9607
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
9607
|
+
const { __scopeDialog: n, ...r } = e, o = Ge(Su, n);
|
|
9608
9608
|
return /* @__PURE__ */ l.jsx(ie.p, { id: o.descriptionId, ...r, ref: t });
|
|
9609
9609
|
}
|
|
9610
9610
|
);
|
|
9611
9611
|
Eu.displayName = Su;
|
|
9612
9612
|
var _u = "DialogClose", Tu = d.forwardRef(
|
|
9613
9613
|
(e, t) => {
|
|
9614
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
9614
|
+
const { __scopeDialog: n, ...r } = e, o = Ge(_u, n);
|
|
9615
9615
|
return /* @__PURE__ */ l.jsx(
|
|
9616
9616
|
ie.button,
|
|
9617
9617
|
{
|
|
@@ -9658,7 +9658,7 @@ const E2 = "Overlay__M5Z83", _2 = "Content__wAkP4", Ma = {
|
|
|
9658
9658
|
Title: A2,
|
|
9659
9659
|
Footer: O2,
|
|
9660
9660
|
Actions: j2
|
|
9661
|
-
}, Au =
|
|
9661
|
+
}, Au = G(({
|
|
9662
9662
|
children: e,
|
|
9663
9663
|
className: t,
|
|
9664
9664
|
...n
|
|
@@ -9667,7 +9667,7 @@ const E2 = "Overlay__M5Z83", _2 = "Content__wAkP4", Ma = {
|
|
|
9667
9667
|
return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
|
|
9668
9668
|
});
|
|
9669
9669
|
Au.displayName = "Header";
|
|
9670
|
-
const Ou =
|
|
9670
|
+
const Ou = G(({
|
|
9671
9671
|
children: e,
|
|
9672
9672
|
className: t,
|
|
9673
9673
|
...n
|
|
@@ -9676,7 +9676,7 @@ const Ou = z(({
|
|
|
9676
9676
|
return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
|
|
9677
9677
|
});
|
|
9678
9678
|
Ou.displayName = "Content";
|
|
9679
|
-
const ju =
|
|
9679
|
+
const ju = G(({
|
|
9680
9680
|
children: e,
|
|
9681
9681
|
className: t,
|
|
9682
9682
|
...n
|
|
@@ -9685,7 +9685,7 @@ const ju = z(({
|
|
|
9685
9685
|
return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
|
|
9686
9686
|
});
|
|
9687
9687
|
ju.displayName = "Footer";
|
|
9688
|
-
const Iu =
|
|
9688
|
+
const Iu = G(({
|
|
9689
9689
|
children: e,
|
|
9690
9690
|
className: t,
|
|
9691
9691
|
...n
|
|
@@ -9694,7 +9694,7 @@ const Iu = z(({
|
|
|
9694
9694
|
return /* @__PURE__ */ l.jsx(C2, { ref: r, className: o, ...n, children: e });
|
|
9695
9695
|
});
|
|
9696
9696
|
Iu.displayName = "Title";
|
|
9697
|
-
const Nu =
|
|
9697
|
+
const Nu = G(({
|
|
9698
9698
|
className: e,
|
|
9699
9699
|
...t
|
|
9700
9700
|
}, n) => {
|
|
@@ -9702,7 +9702,7 @@ const Nu = z(({
|
|
|
9702
9702
|
return /* @__PURE__ */ l.jsx(S2, { ref: n, asChild: !0, className: r, ...t, children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M11 1L1 11M1 1L11 11", stroke: "#A9A9A9", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
|
|
9703
9703
|
});
|
|
9704
9704
|
Nu.displayName = "Close";
|
|
9705
|
-
const Du =
|
|
9705
|
+
const Du = G(({
|
|
9706
9706
|
children: e,
|
|
9707
9707
|
className: t,
|
|
9708
9708
|
...n
|
|
@@ -9711,7 +9711,7 @@ const Du = z(({
|
|
|
9711
9711
|
return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
|
|
9712
9712
|
});
|
|
9713
9713
|
Du.displayName = "Actions";
|
|
9714
|
-
const Lu =
|
|
9714
|
+
const Lu = G(({
|
|
9715
9715
|
children: e,
|
|
9716
9716
|
className: t,
|
|
9717
9717
|
...n
|
|
@@ -9795,7 +9795,7 @@ const $2 = "container__AjtYJ", F2 = "title__A2vCu", B2 = "description__bP6Ig", U
|
|
|
9795
9795
|
] });
|
|
9796
9796
|
Mu.displayName = "WarningIcon";
|
|
9797
9797
|
const W2 = "support@bluealba.com", H2 = "@bluealba/pae-shell-ui", ku = () => {
|
|
9798
|
-
const { supportEmail: e = W2 } =
|
|
9798
|
+
const { supportEmail: e = W2 } = zd(H2), t = `mailto:${e}?Subject=Support`;
|
|
9799
9799
|
return /* @__PURE__ */ l.jsxs("div", { className: Or.container, children: [
|
|
9800
9800
|
/* @__PURE__ */ l.jsx(Mu, {}),
|
|
9801
9801
|
/* @__PURE__ */ l.jsx("div", { className: Or.title, children: "Oops! Something went wrong" }),
|
|
@@ -9806,11 +9806,11 @@ const W2 = "support@bluealba.com", H2 = "@bluealba/pae-shell-ui", ku = () => {
|
|
|
9806
9806
|
] });
|
|
9807
9807
|
};
|
|
9808
9808
|
ku.displayName = "ErrorState";
|
|
9809
|
-
const V2 = "List__h09XG", q2 = "List__h09XG",
|
|
9809
|
+
const V2 = "List__h09XG", q2 = "List__h09XG", z2 = "Item__YMy2i", G2 = "Item__YMy2i", K2 = "List--primary__J2pbx", Q2 = "List--secondary__gi1ao", Y2 = "Item--selected__yRWow", Z2 = "Title__RJmEW", X2 = "Title__RJmEW", J2 = "Description__DGyX2", e3 = "Description__DGyX2", t3 = "Actions__UHP5l", n3 = "Actions__UHP5l", r3 = "Action__q-R1I", o3 = "Action__q-R1I", s3 = "Item--disabled__Ke1u-", i3 = "List--small__ijoSR", a3 = "List--medium__E1FEY", c3 = "List--large__T8tfz", l3 = "Icon__dFr-L", u3 = "Icon__dFr-L", He = {
|
|
9810
9810
|
List: V2,
|
|
9811
9811
|
list: q2,
|
|
9812
|
-
Item:
|
|
9813
|
-
item:
|
|
9812
|
+
Item: z2,
|
|
9813
|
+
item: G2,
|
|
9814
9814
|
"List--primary": "List--primary__J2pbx",
|
|
9815
9815
|
listPrimary: K2,
|
|
9816
9816
|
"List--secondary": "List--secondary__gi1ao",
|
|
@@ -9835,7 +9835,7 @@ const V2 = "List__h09XG", q2 = "List__h09XG", G2 = "Item__YMy2i", z2 = "Item__YM
|
|
|
9835
9835
|
listLarge: c3,
|
|
9836
9836
|
Icon: l3,
|
|
9837
9837
|
icon: u3
|
|
9838
|
-
}, $u =
|
|
9838
|
+
}, $u = G(({
|
|
9839
9839
|
children: e,
|
|
9840
9840
|
className: t,
|
|
9841
9841
|
selected: n,
|
|
@@ -9863,7 +9863,7 @@ const V2 = "List__h09XG", q2 = "List__h09XG", G2 = "Item__YMy2i", z2 = "Item__YM
|
|
|
9863
9863
|
);
|
|
9864
9864
|
});
|
|
9865
9865
|
$u.displayName = "Item";
|
|
9866
|
-
const Fu =
|
|
9866
|
+
const Fu = G(({
|
|
9867
9867
|
children: e,
|
|
9868
9868
|
className: t,
|
|
9869
9869
|
...n
|
|
@@ -9872,7 +9872,7 @@ const Fu = z(({
|
|
|
9872
9872
|
return /* @__PURE__ */ l.jsx("h3", { ref: r, className: o, ...n, children: e });
|
|
9873
9873
|
});
|
|
9874
9874
|
Fu.displayName = "Title";
|
|
9875
|
-
const Bu =
|
|
9875
|
+
const Bu = G(({
|
|
9876
9876
|
children: e,
|
|
9877
9877
|
className: t,
|
|
9878
9878
|
...n
|
|
@@ -9902,7 +9902,7 @@ const di = ({
|
|
|
9902
9902
|
}
|
|
9903
9903
|
);
|
|
9904
9904
|
di.displayName = "HorizontalDots";
|
|
9905
|
-
const Uu =
|
|
9905
|
+
const Uu = G(({
|
|
9906
9906
|
children: e,
|
|
9907
9907
|
className: t,
|
|
9908
9908
|
onClick: n,
|
|
@@ -9930,7 +9930,7 @@ const Uu = z(({
|
|
|
9930
9930
|
] });
|
|
9931
9931
|
});
|
|
9932
9932
|
Uu.displayName = "Actions";
|
|
9933
|
-
const Wu =
|
|
9933
|
+
const Wu = G(({
|
|
9934
9934
|
children: e,
|
|
9935
9935
|
className: t,
|
|
9936
9936
|
...n
|
|
@@ -9939,7 +9939,7 @@ const Wu = z(({
|
|
|
9939
9939
|
return /* @__PURE__ */ l.jsx("button", { ref: r, className: o, ...n, children: e });
|
|
9940
9940
|
});
|
|
9941
9941
|
Wu.displayName = "Action";
|
|
9942
|
-
const Hu =
|
|
9942
|
+
const Hu = G(({
|
|
9943
9943
|
children: e,
|
|
9944
9944
|
className: t,
|
|
9945
9945
|
...n
|
|
@@ -9948,7 +9948,7 @@ const Hu = z(({
|
|
|
9948
9948
|
return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
|
|
9949
9949
|
});
|
|
9950
9950
|
Hu.displayName = "Icon";
|
|
9951
|
-
const bt =
|
|
9951
|
+
const bt = G(({
|
|
9952
9952
|
children: e,
|
|
9953
9953
|
className: t,
|
|
9954
9954
|
size: n = "medium",
|
|
@@ -10031,7 +10031,7 @@ const qu = ({
|
|
|
10031
10031
|
}
|
|
10032
10032
|
);
|
|
10033
10033
|
qu.displayName = "ChevronLeft";
|
|
10034
|
-
const
|
|
10034
|
+
const zu = ({ className: e, ...t }) => /* @__PURE__ */ l.jsx(
|
|
10035
10035
|
"nav",
|
|
10036
10036
|
{
|
|
10037
10037
|
role: "navigation",
|
|
@@ -10040,8 +10040,8 @@ const Gu = ({ className: e, ...t }) => /* @__PURE__ */ l.jsx(
|
|
|
10040
10040
|
...t
|
|
10041
10041
|
}
|
|
10042
10042
|
);
|
|
10043
|
-
|
|
10044
|
-
const
|
|
10043
|
+
zu.displayName = "Pagination";
|
|
10044
|
+
const Gu = d.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ l.jsx(
|
|
10045
10045
|
"ul",
|
|
10046
10046
|
{
|
|
10047
10047
|
ref: n,
|
|
@@ -10049,7 +10049,7 @@ const zu = d.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ l.jsx(
|
|
|
10049
10049
|
...t
|
|
10050
10050
|
}
|
|
10051
10051
|
));
|
|
10052
|
-
|
|
10052
|
+
Gu.displayName = "PaginationContent";
|
|
10053
10053
|
const Br = d.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ l.jsx("li", { ref: n, className: e, ...t }));
|
|
10054
10054
|
Br.displayName = "PaginationItem";
|
|
10055
10055
|
const Eo = ({
|
|
@@ -10461,7 +10461,7 @@ const k3 = (e, t, n = 1) => {
|
|
|
10461
10461
|
return t + n < e - 1 && o("..."), o(e), r.map(String);
|
|
10462
10462
|
}, td = ({ page: e, totalPages: t, onPageChange: n }) => {
|
|
10463
10463
|
const r = e === 1, o = e === t;
|
|
10464
|
-
return /* @__PURE__ */ l.jsx(
|
|
10464
|
+
return /* @__PURE__ */ l.jsx(zu, { className: Re.Pagination, children: /* @__PURE__ */ l.jsxs(Gu, { children: [
|
|
10465
10465
|
/* @__PURE__ */ l.jsx(Br, { children: /* @__PURE__ */ l.jsx(
|
|
10466
10466
|
Ku,
|
|
10467
10467
|
{
|
|
@@ -10531,10 +10531,10 @@ const $3 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel:
|
|
|
10531
10531
|
/* @__PURE__ */ l.jsx("span", { children: y.displayName }),
|
|
10532
10532
|
y.isSortable && /* @__PURE__ */ l.jsx(nd, { className: x(y) })
|
|
10533
10533
|
] }) }, y.name)) }) }),
|
|
10534
|
-
/* @__PURE__ */ l.jsx("tbody", { children: /* @__PURE__ */ l.jsxs(
|
|
10535
|
-
/* @__PURE__ */ l.jsx(
|
|
10536
|
-
/* @__PURE__ */ l.jsx(
|
|
10537
|
-
/* @__PURE__ */ l.jsx(
|
|
10534
|
+
/* @__PURE__ */ l.jsx("tbody", { children: /* @__PURE__ */ l.jsxs(Gt, { children: [
|
|
10535
|
+
/* @__PURE__ */ l.jsx(Gt.When, { condition: n, children: [...Array(u).keys()].map((y) => /* @__PURE__ */ l.jsx("tr", { children: /* @__PURE__ */ l.jsx("td", { colSpan: e.length, style: { padding: 4 }, children: /* @__PURE__ */ l.jsx(ii, { height: f }) }) }, y)) }),
|
|
10536
|
+
/* @__PURE__ */ l.jsx(Gt.When, { condition: !t.length, children: /* @__PURE__ */ l.jsx("tr", { children: /* @__PURE__ */ l.jsx("td", { colSpan: e.length, children: /* @__PURE__ */ l.jsx(ed, {}) }) }) }),
|
|
10537
|
+
/* @__PURE__ */ l.jsx(Gt.Else, { children: t.map((y, w) => /* @__PURE__ */ l.jsx("tr", { className: c && Re.selectable, onClick: h(y), children: e.map((S) => /* @__PURE__ */ l.jsx("td", { style: m(S), children: /* @__PURE__ */ l.jsx("div", { className: g(S), children: S.cellRenderer ? S.cellRenderer(y) : S.valueGetter ? S.valueGetter(y) : y[S.name] }) }, `${S.name}-${w}`)) }, w)) })
|
|
10538
10538
|
] }) })
|
|
10539
10539
|
] }) })
|
|
10540
10540
|
] }),
|
|
@@ -10602,7 +10602,7 @@ const q3 = ({ isNavbarExpanded: e }) => {
|
|
|
10602
10602
|
);
|
|
10603
10603
|
};
|
|
10604
10604
|
q3.displayName = "ToggleTheme";
|
|
10605
|
-
const
|
|
10605
|
+
const zb = (e, t) => {
|
|
10606
10606
|
const n = (r) => /* @__PURE__ */ l.jsx(kc, { operations: t, children: /* @__PURE__ */ l.jsx(e, { ...r }) });
|
|
10607
10607
|
return n.displayName = "Authorized", n;
|
|
10608
10608
|
};
|
|
@@ -10620,7 +10620,7 @@ function to(e) {
|
|
|
10620
10620
|
for (var t = 1; t < arguments.length; t++) {
|
|
10621
10621
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10622
10622
|
t % 2 ? Ba(Object(n), !0).forEach(function(r) {
|
|
10623
|
-
|
|
10623
|
+
z3(e, r, n[r]);
|
|
10624
10624
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ba(Object(n)).forEach(function(r) {
|
|
10625
10625
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10626
10626
|
});
|
|
@@ -10634,7 +10634,7 @@ function rd(e) {
|
|
|
10634
10634
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
10635
10635
|
})(e);
|
|
10636
10636
|
}
|
|
10637
|
-
function
|
|
10637
|
+
function z3(e, t, n) {
|
|
10638
10638
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10639
10639
|
}
|
|
10640
10640
|
function Ds(e) {
|
|
@@ -10668,10 +10668,10 @@ try {
|
|
|
10668
10668
|
er = require("react").createContext();
|
|
10669
10669
|
} catch {
|
|
10670
10670
|
}
|
|
10671
|
-
var
|
|
10671
|
+
var G3 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
|
|
10672
10672
|
function K3(e) {
|
|
10673
10673
|
if (rd(e) !== "object") throw new Error("single-spa-react requires a configuration object");
|
|
10674
|
-
var t, n = to(to({},
|
|
10674
|
+
var t, n = to(to({}, G3), e);
|
|
10675
10675
|
if (!n.React) throw new Error("single-spa-react must be passed opts.React");
|
|
10676
10676
|
if (!n.ReactDOM && !n.ReactDOMClient) throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");
|
|
10677
10677
|
if (n.renderType || ((t = n.ReactDOMClient) !== null && t !== void 0 && t.createRoot ? n.renderType = "createRoot" : n.renderType = "render"), !n.rootComponent && !n.loadRootComponent) throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");
|
|
@@ -10789,7 +10789,7 @@ const eb = (e) => {
|
|
|
10789
10789
|
)
|
|
10790
10790
|
] }) });
|
|
10791
10791
|
};
|
|
10792
|
-
},
|
|
10792
|
+
}, Gb = ({ rootComponent: e, ...t }) => K3({
|
|
10793
10793
|
// defaults
|
|
10794
10794
|
errorBoundary(n) {
|
|
10795
10795
|
return console.error(n), /* @__PURE__ */ l.jsx(ku, {});
|
|
@@ -10877,7 +10877,7 @@ function nb(e) {
|
|
|
10877
10877
|
const r = Math.abs(n) % t.length;
|
|
10878
10878
|
return t[r];
|
|
10879
10879
|
}
|
|
10880
|
-
const
|
|
10880
|
+
const zo = {
|
|
10881
10881
|
JOIN_ROOM: "join_room",
|
|
10882
10882
|
LEAVE_ROOM: "leave_room",
|
|
10883
10883
|
USER_LIST: "user_list"
|
|
@@ -10893,7 +10893,7 @@ const Go = {
|
|
|
10893
10893
|
}, j.addEventListener("message", async (F) => {
|
|
10894
10894
|
try {
|
|
10895
10895
|
const B = await h(F);
|
|
10896
|
-
B.event ===
|
|
10896
|
+
B.event === zo.USER_LIST && S(B.data);
|
|
10897
10897
|
} catch (B) {
|
|
10898
10898
|
console.error("Error parsing WebSocket message:", B);
|
|
10899
10899
|
}
|
|
@@ -10949,17 +10949,13 @@ const Go = {
|
|
|
10949
10949
|
return JSON.parse(T.data);
|
|
10950
10950
|
}, v = (T, R) => {
|
|
10951
10951
|
const N = i.current;
|
|
10952
|
-
|
|
10953
|
-
console.warn("WebSocket is not open. Message will be sent after reconnection:", { event: T, payload: R });
|
|
10954
|
-
return;
|
|
10955
|
-
}
|
|
10956
|
-
setTimeout(() => {
|
|
10952
|
+
!N || N.readyState !== WebSocket.OPEN || setTimeout(() => {
|
|
10957
10953
|
N.send(JSON.stringify({ event: T, data: R }));
|
|
10958
10954
|
}, 100);
|
|
10959
10955
|
}, y = (T) => {
|
|
10960
|
-
v(
|
|
10956
|
+
v(zo.JOIN_ROOM, { roomId: T });
|
|
10961
10957
|
}, w = (T) => {
|
|
10962
|
-
v(
|
|
10958
|
+
v(zo.LEAVE_ROOM, { roomId: T });
|
|
10963
10959
|
}, S = (T) => {
|
|
10964
10960
|
r(T.map((R) => ({
|
|
10965
10961
|
...R,
|
|
@@ -11002,7 +10998,7 @@ function Zb(e, t = ob) {
|
|
|
11002
10998
|
ce(() => {
|
|
11003
10999
|
if (!(!e || o.status !== "connected"))
|
|
11004
11000
|
return (n || i.current) && o.joinRoom(e), () => {
|
|
11005
|
-
r && o.leaveRoom(e);
|
|
11001
|
+
r && o.status === "connected" && o.leaveRoom(e);
|
|
11006
11002
|
};
|
|
11007
11003
|
}, [o.status, e]);
|
|
11008
11004
|
const u = o.getRoomUsers(e), f = u.findIndex((p) => p.username === (s == null ? void 0 : s.username)) !== -1;
|
|
@@ -11118,8 +11114,8 @@ export {
|
|
|
11118
11114
|
E1 as Label,
|
|
11119
11115
|
bt as List,
|
|
11120
11116
|
jp as ModulePlaceHolder,
|
|
11121
|
-
|
|
11122
|
-
|
|
11117
|
+
zu as Pagination,
|
|
11118
|
+
Gu as PaginationContent,
|
|
11123
11119
|
Yu as PaginationEllipsis,
|
|
11124
11120
|
Br as PaginationItem,
|
|
11125
11121
|
Eo as PaginationLink,
|
|
@@ -11136,7 +11132,7 @@ export {
|
|
|
11136
11132
|
lu as SearchInput,
|
|
11137
11133
|
Vc as Select,
|
|
11138
11134
|
py as Select2,
|
|
11139
|
-
|
|
11135
|
+
Gt as Show,
|
|
11140
11136
|
ii as Skeleton,
|
|
11141
11137
|
A0 as SkeletonList,
|
|
11142
11138
|
k0 as Spinner,
|
|
@@ -11150,7 +11146,7 @@ export {
|
|
|
11150
11146
|
Yy as TextWithTooltip,
|
|
11151
11147
|
q3 as ThemeToggle,
|
|
11152
11148
|
Jn as Tooltip,
|
|
11153
|
-
|
|
11149
|
+
zb as authorized,
|
|
11154
11150
|
bn as dropdownListStyles,
|
|
11155
11151
|
Mb as extensionPoint,
|
|
11156
11152
|
nb as generateUserColor,
|
|
@@ -11158,7 +11154,7 @@ export {
|
|
|
11158
11154
|
xb as getInitials,
|
|
11159
11155
|
Hd as getOperations,
|
|
11160
11156
|
qd as hasAccess,
|
|
11161
|
-
|
|
11157
|
+
Gb as initializeMicroFrontend,
|
|
11162
11158
|
Ob as isPlatformCustomizationCompleted,
|
|
11163
11159
|
Cb as isValidEmail,
|
|
11164
11160
|
bb as logout,
|
|
@@ -11187,7 +11183,7 @@ export {
|
|
|
11187
11183
|
sc as useModule,
|
|
11188
11184
|
yb as useModuleCommonPaths,
|
|
11189
11185
|
oc as useModuleConfig,
|
|
11190
|
-
|
|
11186
|
+
zd as useModuleConfigByName,
|
|
11191
11187
|
rf as useModuleMenu,
|
|
11192
11188
|
so as useModuleMetadata,
|
|
11193
11189
|
gb as useMutableCatalog,
|