@bluealba/pae-ui-react-core 4.4.0 → 4.5.0-develop-302
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.css +1 -1
- package/dist/index.esm.js +199 -197
- package/dist/index.systemjs.js +9 -9
- package/dist/index.umd.js +14 -14
- package/dist/src/components/common/Dialog/Dialog.d.ts +6 -0
- package/dist/src/feature-flags/useFeatureFlag.d.ts +1 -1
- package/dist/src/feature-flags/useFeatureFlags.d.ts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -16,7 +16,7 @@ import Ze, { useState as ae, useEffect as ce, useCallback as ge, createContext a
|
|
|
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";
|
|
19
|
-
const
|
|
19
|
+
const gb = {
|
|
20
20
|
auth: {
|
|
21
21
|
SESSION_EXPIRED: "platform:auth:session-expired"
|
|
22
22
|
},
|
|
@@ -47,7 +47,7 @@ const mb = {
|
|
|
47
47
|
}, ro = () => Ja(
|
|
48
48
|
window[Za],
|
|
49
49
|
window[Qn]
|
|
50
|
-
), oo = () => ro()[0].catalog,
|
|
50
|
+
), oo = () => ro()[0].catalog, vb = () => {
|
|
51
51
|
const e = oo(), t = ge((r) => {
|
|
52
52
|
window[Za].next({
|
|
53
53
|
...window[Qn],
|
|
@@ -713,7 +713,7 @@ const rc = () => {
|
|
|
713
713
|
authUser: e,
|
|
714
714
|
hasAccess: Ve(() => qd(t), [t])
|
|
715
715
|
};
|
|
716
|
-
},
|
|
716
|
+
}, yb = () => {
|
|
717
717
|
const { authUser: e } = io();
|
|
718
718
|
return !e || e.id === "anon";
|
|
719
719
|
}, oc = () => {
|
|
@@ -730,7 +730,7 @@ const rc = () => {
|
|
|
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
|
-
}, Gd = (e) => e.replace(/\/+/g, "/"),
|
|
733
|
+
}, Gd = (e) => e.replace(/\/+/g, "/"), bb = (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;
|
|
@@ -745,10 +745,10 @@ const rc = () => {
|
|
|
745
745
|
changelogPath: i(s, "/changelog")
|
|
746
746
|
};
|
|
747
747
|
};
|
|
748
|
-
function
|
|
748
|
+
function wb() {
|
|
749
749
|
window.open(Ld, "_self");
|
|
750
750
|
}
|
|
751
|
-
const
|
|
751
|
+
const Cb = (e) => Nd(e), Kd = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, xb = (e) => Kd.test(e), Sb = (e, t = 2) => {
|
|
752
752
|
if (!e) return "";
|
|
753
753
|
const n = e.split(" ");
|
|
754
754
|
return n.length === 1 ? n.join("").slice(0, t) : n.map((r) => r[0]).join("").slice(0, t);
|
|
@@ -845,7 +845,7 @@ const nf = (e) => {
|
|
|
845
845
|
}, [n == null ? void 0 : n.menu]);
|
|
846
846
|
const f = Ve(() => e ? s[e.name] || [] : [], [s, e]);
|
|
847
847
|
return { loading: r, menu: f };
|
|
848
|
-
}, of = (e) => (t) => t.every((n) => e.some((r) => r.name === n)),
|
|
848
|
+
}, of = (e) => (t) => t.every((n) => e.some((r) => r.name === n)), Eb = (e) => rf(e);
|
|
849
849
|
function le(e) {
|
|
850
850
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
851
851
|
}
|
|
@@ -950,7 +950,7 @@ const cc = () => {
|
|
|
950
950
|
}, hf = () => {
|
|
951
951
|
var e;
|
|
952
952
|
return (e = cc()) == null ? void 0 : e.name;
|
|
953
|
-
},
|
|
953
|
+
}, _b = () => {
|
|
954
954
|
const e = cc(), t = Jd(e);
|
|
955
955
|
return $s(t == null ? void 0 : t.name);
|
|
956
956
|
}, lc = (e, t) => {
|
|
@@ -1012,7 +1012,7 @@ const cc = () => {
|
|
|
1012
1012
|
}, bf = "@bluealba/pae-habits-service", wf = () => {
|
|
1013
1013
|
const { authUser: e } = io(), t = so(), n = uc(bf);
|
|
1014
1014
|
return ge(yf(n, e, t), [n, e, t]);
|
|
1015
|
-
},
|
|
1015
|
+
}, Tb = () => {
|
|
1016
1016
|
const e = wf();
|
|
1017
1017
|
return ge(
|
|
1018
1018
|
(t, n) => e([{ name: t, data: n }]),
|
|
@@ -1588,7 +1588,7 @@ var Uf = fc(function(e) {
|
|
|
1588
1588
|
e.prototype.next.call(this, this._value = n);
|
|
1589
1589
|
}, t;
|
|
1590
1590
|
}(gc);
|
|
1591
|
-
const
|
|
1591
|
+
const Rb = (e) => {
|
|
1592
1592
|
const { fontsLoaded: t } = Af(e.fonts);
|
|
1593
1593
|
Ef(e.styleSheet);
|
|
1594
1594
|
const n = () => {
|
|
@@ -1600,10 +1600,10 @@ const Tb = (e) => {
|
|
|
1600
1600
|
}, [t]), ce(() => {
|
|
1601
1601
|
n();
|
|
1602
1602
|
}, []);
|
|
1603
|
-
},
|
|
1603
|
+
}, Pb = () => {
|
|
1604
1604
|
const e = window[Go];
|
|
1605
1605
|
return Ja(e, e.getValue() ?? void 0);
|
|
1606
|
-
}, es = "theme", Li = () => document.documentElement.dataset[es] === "dark" ? "dark" : "light",
|
|
1606
|
+
}, es = "theme", Li = () => document.documentElement.dataset[es] === "dark" ? "dark" : "light", Ab = () => {
|
|
1607
1607
|
const [e, t] = ae(Li());
|
|
1608
1608
|
return ce(() => {
|
|
1609
1609
|
const n = document.documentElement, r = () => t(Li), o = new MutationObserver((s) => {
|
|
@@ -1617,7 +1617,7 @@ const Tb = (e) => {
|
|
|
1617
1617
|
o.disconnect();
|
|
1618
1618
|
};
|
|
1619
1619
|
}, []), e;
|
|
1620
|
-
},
|
|
1620
|
+
}, Ob = (e) => e !== void 0, jb = (e) => e !== !0;
|
|
1621
1621
|
let Hf = { data: "" }, Vf = (e) => {
|
|
1622
1622
|
if (typeof window == "object") {
|
|
1623
1623
|
let t = (e ? e.querySelector("#_goober") : window._goober) || Object.assign(document.createElement("style"), { innerHTML: " ", id: "_goober" });
|
|
@@ -3934,7 +3934,7 @@ const vr = {
|
|
|
3934
3934
|
}),
|
|
3935
3935
|
invalidateQueries: p
|
|
3936
3936
|
};
|
|
3937
|
-
},
|
|
3937
|
+
}, Nb = (e, t) => dp(e, t, {
|
|
3938
3938
|
createFn: (n) => fetch(e, {
|
|
3939
3939
|
method: "POST",
|
|
3940
3940
|
headers: {
|
|
@@ -4114,7 +4114,7 @@ const Xi = {
|
|
|
4114
4114
|
if (!r)
|
|
4115
4115
|
throw Error("No tenant permission");
|
|
4116
4116
|
return xp(e).setTenant(r, e), r;
|
|
4117
|
-
},
|
|
4117
|
+
}, Db = () => {
|
|
4118
4118
|
const [e, t] = ro(), {
|
|
4119
4119
|
tenants: n = [],
|
|
4120
4120
|
currentTenant: r,
|
|
@@ -4182,7 +4182,7 @@ class Cr {
|
|
|
4182
4182
|
}), null;
|
|
4183
4183
|
}
|
|
4184
4184
|
}
|
|
4185
|
-
const
|
|
4185
|
+
const Lb = (e) => {
|
|
4186
4186
|
const t = uc("@bluealba/pae-nestjs-gateway-service"), n = hf();
|
|
4187
4187
|
if (!n)
|
|
4188
4188
|
throw new Error(
|
|
@@ -4229,7 +4229,7 @@ const Db = (e) => {
|
|
|
4229
4229
|
updateValue: x,
|
|
4230
4230
|
deleteValue: h
|
|
4231
4231
|
};
|
|
4232
|
-
}, Nc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__",
|
|
4232
|
+
}, Nc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__", Mb = ({ module: e, point: t, children: n }) => (xf(e, t, n ?? Nc), null), _p = ({ name: e, children: t, ...n }) => {
|
|
4233
4233
|
const r = Cf(e);
|
|
4234
4234
|
if (r === Nc)
|
|
4235
4235
|
return null;
|
|
@@ -4240,7 +4240,7 @@ const Db = (e) => {
|
|
|
4240
4240
|
return /* @__PURE__ */ l.jsx(o, { ...n });
|
|
4241
4241
|
} else
|
|
4242
4242
|
return r;
|
|
4243
|
-
}, Tp = (e) => typeof e == "function",
|
|
4243
|
+
}, Tp = (e) => typeof e == "function", kb = (e, t) => {
|
|
4244
4244
|
const n = (r) => (t = t || e.displayName || e.name || "?", /* @__PURE__ */ l.jsx(_p, { name: t, ...r, children: /* @__PURE__ */ l.jsx(e, { ...r }) }));
|
|
4245
4245
|
return n.displayName = `extensionPoint(${t})`, n;
|
|
4246
4246
|
}, Ji = "single-spa:app-change";
|
|
@@ -4326,7 +4326,7 @@ const kc = ({ operations: e, children: t, forbiddenContent: n }) => {
|
|
|
4326
4326
|
return t;
|
|
4327
4327
|
};
|
|
4328
4328
|
kc.displayName = "Authorized";
|
|
4329
|
-
const
|
|
4329
|
+
const $b = ({ eventName: e, listener: t }) => (Sf(e, t), null), Ip = () => /* @__PURE__ */ l.jsx("svg", { "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", children: /* @__PURE__ */ l.jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2", d: "M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" }) }), Np = ({ applicationName: e }) => {
|
|
4330
4330
|
const t = nf(e);
|
|
4331
4331
|
if (t)
|
|
4332
4332
|
if (typeof t == "function") {
|
|
@@ -4729,7 +4729,7 @@ const u1 = ({
|
|
|
4729
4729
|
}
|
|
4730
4730
|
), f1 = "CopyToClipboardButton__2Nd2m", h1 = {
|
|
4731
4731
|
CopyToClipboardButton: f1
|
|
4732
|
-
},
|
|
4732
|
+
}, Fb = ({ content: e }) => {
|
|
4733
4733
|
const [t, n] = p1(), { notify: r } = wc(), o = t ? d1 : u1, s = ge(async () => {
|
|
4734
4734
|
await n(e) && r("Copied to the Clipboard !", "success");
|
|
4735
4735
|
}, [e, r]);
|
|
@@ -9257,7 +9257,7 @@ const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizon
|
|
|
9257
9257
|
if (!e)
|
|
9258
9258
|
throw new Error("Tabs components must be used within a Tabs provider");
|
|
9259
9259
|
return e;
|
|
9260
|
-
},
|
|
9260
|
+
}, Bb = ({
|
|
9261
9261
|
defaultValue: e,
|
|
9262
9262
|
value: t,
|
|
9263
9263
|
onValueChange: n,
|
|
@@ -9269,7 +9269,7 @@ const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizon
|
|
|
9269
9269
|
c || a(p), n == null || n(p);
|
|
9270
9270
|
};
|
|
9271
9271
|
return /* @__PURE__ */ l.jsx(hu.Provider, { value: { value: u, onValueChange: f, orientation: r }, children: /* @__PURE__ */ l.jsx("div", { className: I(rt.tabsRoot, o), children: s }) });
|
|
9272
|
-
},
|
|
9272
|
+
}, Ub = ({ className: e = "", children: t }) => {
|
|
9273
9273
|
const { orientation: n } = ai(), r = tt(null), o = (s) => {
|
|
9274
9274
|
var u;
|
|
9275
9275
|
const i = (u = r.current) == null ? void 0 : u.querySelectorAll('[role="tab"]:not([disabled])');
|
|
@@ -9318,7 +9318,7 @@ const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizon
|
|
|
9318
9318
|
children: t
|
|
9319
9319
|
}
|
|
9320
9320
|
);
|
|
9321
|
-
},
|
|
9321
|
+
}, Wb = ({
|
|
9322
9322
|
value: e,
|
|
9323
9323
|
disabled: t = !1,
|
|
9324
9324
|
className: n = "",
|
|
@@ -9346,7 +9346,7 @@ const W0 = "tabs-root__ELmdj", H0 = "tabs-list__rc10N", V0 = "tabs-list--horizon
|
|
|
9346
9346
|
children: r
|
|
9347
9347
|
}
|
|
9348
9348
|
);
|
|
9349
|
-
},
|
|
9349
|
+
}, Hb = ({
|
|
9350
9350
|
value: e,
|
|
9351
9351
|
className: t = "",
|
|
9352
9352
|
children: n
|
|
@@ -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
|
-
},
|
|
9372
|
+
}, Vb = G((e, t) => {
|
|
9373
9373
|
const [n, r] = ae("password"), o = ge(() => {
|
|
9374
9374
|
r((s) => s === "password" ? "text" : "password");
|
|
9375
9375
|
}, [r]);
|
|
@@ -9627,7 +9627,7 @@ Tu.displayName = _u;
|
|
|
9627
9627
|
function ui(e) {
|
|
9628
9628
|
return e ? "open" : "closed";
|
|
9629
9629
|
}
|
|
9630
|
-
var Ru = "DialogTitleWarning", [
|
|
9630
|
+
var Ru = "DialogTitleWarning", [qb, Pu] = R1(Ru, {
|
|
9631
9631
|
contentName: dn,
|
|
9632
9632
|
titleName: li,
|
|
9633
9633
|
docsSlug: "dialog"
|
|
@@ -9651,13 +9651,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
9651
9651
|
const E2 = "Overlay__M5Z83", _2 = "Content__wAkP4", Ma = {
|
|
9652
9652
|
Overlay: E2,
|
|
9653
9653
|
Content: _2
|
|
9654
|
-
}, T2 = "Header__VHxNf", R2 = "Content__I04qM", P2 = "Close__xSN-7", A2 = "Title__Dznh6", O2 = "Footer__-8gzQ",
|
|
9654
|
+
}, T2 = "Header__VHxNf", R2 = "Content__I04qM", P2 = "Close__xSN-7", A2 = "Title__Dznh6", O2 = "Description__ALT2w", j2 = "Footer__-8gzQ", I2 = "Actions__kKF2Q", hn = {
|
|
9655
9655
|
Header: T2,
|
|
9656
9656
|
Content: R2,
|
|
9657
9657
|
Close: P2,
|
|
9658
9658
|
Title: A2,
|
|
9659
|
-
|
|
9660
|
-
|
|
9659
|
+
Description: O2,
|
|
9660
|
+
Footer: j2,
|
|
9661
|
+
Actions: I2
|
|
9661
9662
|
}, Au = G(({
|
|
9662
9663
|
children: e,
|
|
9663
9664
|
className: t,
|
|
@@ -9724,16 +9725,17 @@ const _e = ({
|
|
|
9724
9725
|
children: e,
|
|
9725
9726
|
onClose: t,
|
|
9726
9727
|
open: n = !1,
|
|
9727
|
-
className: r
|
|
9728
|
+
className: r,
|
|
9729
|
+
zIndexLevel: o = 0
|
|
9728
9730
|
}) => {
|
|
9729
|
-
const
|
|
9731
|
+
const s = () => {
|
|
9730
9732
|
t == null || t();
|
|
9731
|
-
};
|
|
9732
|
-
return /* @__PURE__ */ l.jsx(v2, { onOpenChange:
|
|
9733
|
-
/* @__PURE__ */ l.jsx(b2, { className: Ma.Overlay }),
|
|
9733
|
+
}, i = { zIndex: `calc(var(--platform-modal-layer) + ${o * 2})` }, a = { zIndex: `calc(var(--platform-modal-layer) + ${o * 2 + 1})` };
|
|
9734
|
+
return /* @__PURE__ */ l.jsx(v2, { onOpenChange: s, open: n, children: /* @__PURE__ */ l.jsxs(y2, { children: [
|
|
9735
|
+
/* @__PURE__ */ l.jsx(b2, { className: Ma.Overlay, style: i }),
|
|
9734
9736
|
/* @__PURE__ */ l.jsxs(w2, { children: [
|
|
9735
9737
|
/* @__PURE__ */ l.jsx(x2, {}),
|
|
9736
|
-
/* @__PURE__ */ l.jsx("div", { className: I(Ma.Content, r), children: e })
|
|
9738
|
+
/* @__PURE__ */ l.jsx("div", { className: I(Ma.Content, r), style: a, children: e })
|
|
9737
9739
|
] })
|
|
9738
9740
|
] }) });
|
|
9739
9741
|
};
|
|
@@ -9745,23 +9747,23 @@ _e.Actions = Du;
|
|
|
9745
9747
|
_e.Title = Iu;
|
|
9746
9748
|
_e.Description = Lu;
|
|
9747
9749
|
_e.Close = Nu;
|
|
9748
|
-
const
|
|
9749
|
-
pill:
|
|
9750
|
+
const N2 = "pill__vtGwB", D2 = "pill--solid__F-mR4", L2 = "pill--outline__gC-mh", ka = {
|
|
9751
|
+
pill: N2,
|
|
9750
9752
|
"pill--solid": "pill--solid__F-mR4",
|
|
9751
|
-
pillSolid:
|
|
9753
|
+
pillSolid: D2,
|
|
9752
9754
|
"pill--outline": "pill--outline__gC-mh",
|
|
9753
|
-
pillOutline:
|
|
9754
|
-
},
|
|
9755
|
+
pillOutline: L2
|
|
9756
|
+
}, zb = ({ children: e, variant: t = "solid", className: n }) => {
|
|
9755
9757
|
const r = I(
|
|
9756
9758
|
ka.pill,
|
|
9757
9759
|
ka[`pill--${t}`],
|
|
9758
9760
|
n
|
|
9759
9761
|
);
|
|
9760
9762
|
return /* @__PURE__ */ l.jsx("div", { className: r, children: e });
|
|
9761
|
-
},
|
|
9762
|
-
DialogContent:
|
|
9763
|
-
Message:
|
|
9764
|
-
},
|
|
9763
|
+
}, M2 = "DialogContent__-WjG9", k2 = "Message__AUgVP", $a = {
|
|
9764
|
+
DialogContent: M2,
|
|
9765
|
+
Message: k2
|
|
9766
|
+
}, $2 = ({ loading: e, title: t, children: n, className: r, onClose: o, onConfirm: s, zIndexLevel: i = 1, ...a }) => /* @__PURE__ */ l.jsxs(_e, { ...a, zIndexLevel: i, className: I($a.DialogContent, r), children: [
|
|
9765
9767
|
/* @__PURE__ */ l.jsxs(_e.Header, { children: [
|
|
9766
9768
|
/* @__PURE__ */ l.jsx(_e.Title, { children: t }),
|
|
9767
9769
|
/* @__PURE__ */ l.jsx(_e.Close, { onClick: o })
|
|
@@ -9772,12 +9774,12 @@ const I2 = "pill__vtGwB", N2 = "pill--solid__F-mR4", D2 = "pill--outline__gC-mh"
|
|
|
9772
9774
|
/* @__PURE__ */ l.jsx(bs, { onClick: s, disabled: e, loading: e, variant: "contained", children: "Confirm" })
|
|
9773
9775
|
] }) })
|
|
9774
9776
|
] });
|
|
9775
|
-
|
|
9776
|
-
const
|
|
9777
|
-
container:
|
|
9778
|
-
title:
|
|
9779
|
-
description:
|
|
9780
|
-
mailToText:
|
|
9777
|
+
$2.displayName = "ConfirmDialog";
|
|
9778
|
+
const F2 = "container__AjtYJ", B2 = "title__A2vCu", U2 = "description__bP6Ig", W2 = "mailToText__SdlsE", Or = {
|
|
9779
|
+
container: F2,
|
|
9780
|
+
title: B2,
|
|
9781
|
+
description: U2,
|
|
9782
|
+
mailToText: W2
|
|
9781
9783
|
}, Mu = () => /* @__PURE__ */ l.jsxs("svg", { width: "200", height: "200", viewBox: "0 0 200 200", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
9782
9784
|
/* @__PURE__ */ l.jsx("path", { d: "M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z", fill: "var(--pae-shell-color-secondary)" }),
|
|
9783
9785
|
/* @__PURE__ */ l.jsx("path", { d: "M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z", fill: "var(--pae-shell-color-secondary)" }),
|
|
@@ -9794,8 +9796,8 @@ const $2 = "container__AjtYJ", F2 = "title__A2vCu", B2 = "description__bP6Ig", U
|
|
|
9794
9796
|
/* @__PURE__ */ l.jsx("path", { d: "M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z", fill: "var(--pae-shell-color-secondary)" })
|
|
9795
9797
|
] });
|
|
9796
9798
|
Mu.displayName = "WarningIcon";
|
|
9797
|
-
const
|
|
9798
|
-
const { supportEmail: e =
|
|
9799
|
+
const H2 = "support@bluealba.com", V2 = "@bluealba/pae-shell-ui", ku = () => {
|
|
9800
|
+
const { supportEmail: e = H2 } = zd(V2), t = `mailto:${e}?Subject=Support`;
|
|
9799
9801
|
return /* @__PURE__ */ l.jsxs("div", { className: Or.container, children: [
|
|
9800
9802
|
/* @__PURE__ */ l.jsx(Mu, {}),
|
|
9801
9803
|
/* @__PURE__ */ l.jsx("div", { className: Or.title, children: "Oops! Something went wrong" }),
|
|
@@ -9806,35 +9808,35 @@ const W2 = "support@bluealba.com", H2 = "@bluealba/pae-shell-ui", ku = () => {
|
|
|
9806
9808
|
] });
|
|
9807
9809
|
};
|
|
9808
9810
|
ku.displayName = "ErrorState";
|
|
9809
|
-
const
|
|
9810
|
-
List:
|
|
9811
|
-
list:
|
|
9812
|
-
Item:
|
|
9813
|
-
item:
|
|
9811
|
+
const q2 = "List__h09XG", z2 = "List__h09XG", G2 = "Item__YMy2i", K2 = "Item__YMy2i", Q2 = "List--primary__J2pbx", Y2 = "List--secondary__gi1ao", Z2 = "Item--selected__yRWow", X2 = "Title__RJmEW", J2 = "Title__RJmEW", e3 = "Description__DGyX2", t3 = "Description__DGyX2", n3 = "Actions__UHP5l", r3 = "Actions__UHP5l", o3 = "Action__q-R1I", s3 = "Action__q-R1I", i3 = "Item--disabled__Ke1u-", a3 = "List--small__ijoSR", c3 = "List--medium__E1FEY", l3 = "List--large__T8tfz", u3 = "Icon__dFr-L", d3 = "Icon__dFr-L", He = {
|
|
9812
|
+
List: q2,
|
|
9813
|
+
list: z2,
|
|
9814
|
+
Item: G2,
|
|
9815
|
+
item: K2,
|
|
9814
9816
|
"List--primary": "List--primary__J2pbx",
|
|
9815
|
-
listPrimary:
|
|
9817
|
+
listPrimary: Q2,
|
|
9816
9818
|
"List--secondary": "List--secondary__gi1ao",
|
|
9817
|
-
listSecondary:
|
|
9819
|
+
listSecondary: Y2,
|
|
9818
9820
|
"Item--selected": "Item--selected__yRWow",
|
|
9819
|
-
itemSelected:
|
|
9820
|
-
Title:
|
|
9821
|
-
title:
|
|
9822
|
-
Description:
|
|
9823
|
-
description:
|
|
9824
|
-
Actions:
|
|
9825
|
-
actions:
|
|
9826
|
-
Action:
|
|
9827
|
-
action:
|
|
9821
|
+
itemSelected: Z2,
|
|
9822
|
+
Title: X2,
|
|
9823
|
+
title: J2,
|
|
9824
|
+
Description: e3,
|
|
9825
|
+
description: t3,
|
|
9826
|
+
Actions: n3,
|
|
9827
|
+
actions: r3,
|
|
9828
|
+
Action: o3,
|
|
9829
|
+
action: s3,
|
|
9828
9830
|
"Item--disabled": "Item--disabled__Ke1u-",
|
|
9829
|
-
itemDisabled:
|
|
9831
|
+
itemDisabled: i3,
|
|
9830
9832
|
"List--small": "List--small__ijoSR",
|
|
9831
|
-
listSmall:
|
|
9833
|
+
listSmall: a3,
|
|
9832
9834
|
"List--medium": "List--medium__E1FEY",
|
|
9833
|
-
listMedium:
|
|
9835
|
+
listMedium: c3,
|
|
9834
9836
|
"List--large": "List--large__T8tfz",
|
|
9835
|
-
listLarge:
|
|
9836
|
-
Icon:
|
|
9837
|
-
icon:
|
|
9837
|
+
listLarge: l3,
|
|
9838
|
+
Icon: u3,
|
|
9839
|
+
icon: d3
|
|
9838
9840
|
}, $u = G(({
|
|
9839
9841
|
children: e,
|
|
9840
9842
|
className: t,
|
|
@@ -9974,15 +9976,15 @@ bt.Description = Bu;
|
|
|
9974
9976
|
bt.Actions = Uu;
|
|
9975
9977
|
bt.Action = Wu;
|
|
9976
9978
|
bt.Icon = Hu;
|
|
9977
|
-
const
|
|
9978
|
-
Navigation:
|
|
9979
|
-
PaginationContent:
|
|
9980
|
-
PaginationEllipsis:
|
|
9981
|
-
PaginationLink:
|
|
9982
|
-
Active:
|
|
9983
|
-
Disabled:
|
|
9984
|
-
Prev:
|
|
9985
|
-
Next:
|
|
9979
|
+
const f3 = "Navigation__uylxk", h3 = "PaginationContent__UpLw0", p3 = "PaginationEllipsis__perWk", m3 = "PaginationLink__GVUZj", g3 = "Active__u1Ahy", v3 = "Disabled__8WM0y", y3 = "Prev__wp4hc", b3 = "Next__eVyL5", yt = {
|
|
9980
|
+
Navigation: f3,
|
|
9981
|
+
PaginationContent: h3,
|
|
9982
|
+
PaginationEllipsis: p3,
|
|
9983
|
+
PaginationLink: m3,
|
|
9984
|
+
Active: g3,
|
|
9985
|
+
Disabled: v3,
|
|
9986
|
+
Prev: y3,
|
|
9987
|
+
Next: b3
|
|
9986
9988
|
}, Vu = ({
|
|
9987
9989
|
className: e,
|
|
9988
9990
|
...t
|
|
@@ -10112,13 +10114,13 @@ const Yu = ({
|
|
|
10112
10114
|
}
|
|
10113
10115
|
);
|
|
10114
10116
|
Yu.displayName = "PaginationEllipsis";
|
|
10115
|
-
function
|
|
10117
|
+
function w3(e) {
|
|
10116
10118
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
10117
10119
|
}
|
|
10118
10120
|
var Zu = { exports: {} };
|
|
10119
10121
|
(function(e, t) {
|
|
10120
10122
|
(function(n, r) {
|
|
10121
|
-
typeof
|
|
10123
|
+
typeof w3 == "function" ? e.exports = r() : n.pluralize = r();
|
|
10122
10124
|
})(Bd, function() {
|
|
10123
10125
|
var n = [], r = [], o = {}, s = {}, i = {};
|
|
10124
10126
|
function a(h) {
|
|
@@ -10413,30 +10415,30 @@ var Zu = { exports: {} };
|
|
|
10413
10415
|
].forEach(x.addUncountableRule), x;
|
|
10414
10416
|
});
|
|
10415
10417
|
})(Zu);
|
|
10416
|
-
var
|
|
10417
|
-
const
|
|
10418
|
+
var C3 = Zu.exports;
|
|
10419
|
+
const x3 = /* @__PURE__ */ Ud(C3), Xu = ({
|
|
10418
10420
|
count: e,
|
|
10419
10421
|
singularText: t,
|
|
10420
10422
|
children: n = (r, o) => `${r} ${o}`
|
|
10421
|
-
}) => /* @__PURE__ */ l.jsx(l.Fragment, { children: n(e,
|
|
10423
|
+
}) => /* @__PURE__ */ l.jsx(l.Fragment, { children: n(e, x3(t, e)) });
|
|
10422
10424
|
Xu.displayName = "PluralizeCounter";
|
|
10423
|
-
const
|
|
10424
|
-
TableContainer:
|
|
10425
|
-
TableHeader:
|
|
10426
|
-
Table:
|
|
10427
|
-
selectable:
|
|
10428
|
-
Cell:
|
|
10429
|
-
Right:
|
|
10430
|
-
Center:
|
|
10431
|
-
Sortable:
|
|
10432
|
-
SortIcon:
|
|
10433
|
-
Active:
|
|
10434
|
-
Rotate:
|
|
10435
|
-
Pagination:
|
|
10436
|
-
PointerNone:
|
|
10437
|
-
},
|
|
10438
|
-
EmptyStateContainer:
|
|
10439
|
-
Message:
|
|
10425
|
+
const S3 = "TableContainer__osh6Z", E3 = "TableHeader__sYa-8", _3 = "Table__2cIs3", T3 = "selectable__WsGg1", R3 = "Cell__ZEv-K", P3 = "Right__YoM1V", A3 = "Center__CF3tr", O3 = "Sortable__JIV1V", j3 = "SortIcon__f0bBy", I3 = "Active__rJjxB", N3 = "Rotate__7cwTK", D3 = "Pagination__sbqMP", L3 = "PointerNone__kQdQS", Re = {
|
|
10426
|
+
TableContainer: S3,
|
|
10427
|
+
TableHeader: E3,
|
|
10428
|
+
Table: _3,
|
|
10429
|
+
selectable: T3,
|
|
10430
|
+
Cell: R3,
|
|
10431
|
+
Right: P3,
|
|
10432
|
+
Center: A3,
|
|
10433
|
+
Sortable: O3,
|
|
10434
|
+
SortIcon: j3,
|
|
10435
|
+
Active: I3,
|
|
10436
|
+
Rotate: N3,
|
|
10437
|
+
Pagination: D3,
|
|
10438
|
+
PointerNone: L3
|
|
10439
|
+
}, M3 = "EmptyStateContainer__Q9FEb", k3 = "Message__IHK6M", Fa = {
|
|
10440
|
+
EmptyStateContainer: M3,
|
|
10441
|
+
Message: k3
|
|
10440
10442
|
}, Ju = ({ size: e = 64 }) => /* @__PURE__ */ l.jsxs("svg", { width: e, height: e, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
10441
10443
|
/* @__PURE__ */ l.jsxs("g", { clipPath: "url(#clip-path)", children: [
|
|
10442
10444
|
/* @__PURE__ */ l.jsx("mask", { id: "mask0_1070_8032", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "64", height: "64", children: /* @__PURE__ */ l.jsx("path", { d: "M64 0H0V64H64V0Z", fill: "white" }) }),
|
|
@@ -10450,7 +10452,7 @@ const ed = ({ message: e = "No results found" }) => /* @__PURE__ */ l.jsxs("div"
|
|
|
10450
10452
|
/* @__PURE__ */ l.jsx("p", { className: Fa.Message, children: e })
|
|
10451
10453
|
] });
|
|
10452
10454
|
ed.displayName = "EmptyState";
|
|
10453
|
-
const
|
|
10455
|
+
const $3 = (e, t, n = 1) => {
|
|
10454
10456
|
if (e <= 1) return ["1"];
|
|
10455
10457
|
const r = [], o = (s) => {
|
|
10456
10458
|
(r.length === 0 || r[r.length - 1] !== s) && r.push(s);
|
|
@@ -10469,7 +10471,7 @@ const k3 = (e, t, n = 1) => {
|
|
|
10469
10471
|
onClick: () => !r && n(e - 1)
|
|
10470
10472
|
}
|
|
10471
10473
|
) }),
|
|
10472
|
-
|
|
10474
|
+
$3(t, e).map((s, i) => /* @__PURE__ */ l.jsxs(Br, { children: [
|
|
10473
10475
|
s === "..." && /* @__PURE__ */ l.jsx(Yu, {}),
|
|
10474
10476
|
s !== "..." && /* @__PURE__ */ l.jsx(Eo, { isActive: +s === e, onClick: () => +s !== e && n(+s), children: s })
|
|
10475
10477
|
] }, i)),
|
|
@@ -10500,7 +10502,7 @@ const nd = ({
|
|
|
10500
10502
|
}
|
|
10501
10503
|
);
|
|
10502
10504
|
nd.displayName = "ArrowDown";
|
|
10503
|
-
const
|
|
10505
|
+
const F3 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel: o, sort: s, loadingConfig: i, pagination: a, onRowClick: c }) => {
|
|
10504
10506
|
const { count: u = 5, height: f = 40 } = i || {}, p = (y) => y.sortName ?? y.name, m = ({ width: y, maxWidth: w }) => !y && !w ? {} : {
|
|
10505
10507
|
...y ? { width: y, minWidth: y } : {},
|
|
10506
10508
|
...w ? { maxWidth: w } : {},
|
|
@@ -10541,13 +10543,13 @@ const $3 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel:
|
|
|
10541
10543
|
a && /* @__PURE__ */ l.jsx(td, { ...a })
|
|
10542
10544
|
] });
|
|
10543
10545
|
};
|
|
10544
|
-
|
|
10545
|
-
const
|
|
10546
|
-
alert:
|
|
10546
|
+
F3.displayName = "Table";
|
|
10547
|
+
const B3 = "alert__LblpE", U3 = "destructive__bLNSM", W3 = "alertTitle__gblKf", H3 = "alertDescription__BuVHV", eo = {
|
|
10548
|
+
alert: B3,
|
|
10547
10549
|
default: "default__mgO6A",
|
|
10548
|
-
destructive:
|
|
10549
|
-
alertTitle:
|
|
10550
|
-
alertDescription:
|
|
10550
|
+
destructive: U3,
|
|
10551
|
+
alertTitle: W3,
|
|
10552
|
+
alertDescription: H3
|
|
10551
10553
|
}, fi = ({ className: e, variant: t = "default", children: n, ...r }) => /* @__PURE__ */ l.jsx(
|
|
10552
10554
|
"div",
|
|
10553
10555
|
{
|
|
@@ -10557,7 +10559,7 @@ const F3 = "alert__LblpE", B3 = "destructive__bLNSM", U3 = "alertTitle__gblKf",
|
|
|
10557
10559
|
...r,
|
|
10558
10560
|
children: n
|
|
10559
10561
|
}
|
|
10560
|
-
),
|
|
10562
|
+
), V3 = d.forwardRef(({
|
|
10561
10563
|
children: e,
|
|
10562
10564
|
className: t,
|
|
10563
10565
|
...n
|
|
@@ -10570,7 +10572,7 @@ const F3 = "alert__LblpE", B3 = "destructive__bLNSM", U3 = "alertTitle__gblKf",
|
|
|
10570
10572
|
...n,
|
|
10571
10573
|
children: e
|
|
10572
10574
|
}
|
|
10573
|
-
)),
|
|
10575
|
+
)), q3 = d.forwardRef(({
|
|
10574
10576
|
children: e,
|
|
10575
10577
|
className: t,
|
|
10576
10578
|
...n
|
|
@@ -10585,9 +10587,9 @@ const F3 = "alert__LblpE", B3 = "destructive__bLNSM", U3 = "alertTitle__gblKf",
|
|
|
10585
10587
|
}
|
|
10586
10588
|
));
|
|
10587
10589
|
fi.displayName = "Alert";
|
|
10588
|
-
fi.Title =
|
|
10589
|
-
fi.Description =
|
|
10590
|
-
const
|
|
10590
|
+
fi.Title = V3;
|
|
10591
|
+
fi.Description = q3;
|
|
10592
|
+
const z3 = ({ isNavbarExpanded: e }) => {
|
|
10591
10593
|
const { theme: t, setTheme: n } = Fp(), r = () => n(t === "dark" ? "light" : "dark"), o = /* @__PURE__ */ l.jsxs("div", { className: I(Mo.container, e && Mo.expanded), onClick: r, children: [
|
|
10592
10594
|
t === "light" ? /* @__PURE__ */ l.jsx($c, {}) : /* @__PURE__ */ l.jsx(Fc, {}),
|
|
10593
10595
|
e && /* @__PURE__ */ l.jsx("p", { className: Mo.label, children: t === "light" ? "Dark Mode" : "Light Mode" })
|
|
@@ -10601,8 +10603,8 @@ const q3 = ({ isNavbarExpanded: e }) => {
|
|
|
10601
10603
|
}
|
|
10602
10604
|
);
|
|
10603
10605
|
};
|
|
10604
|
-
|
|
10605
|
-
const
|
|
10606
|
+
z3.displayName = "ToggleTheme";
|
|
10607
|
+
const Gb = (e, t) => {
|
|
10606
10608
|
const n = (r) => /* @__PURE__ */ l.jsx(kc, { operations: t, children: /* @__PURE__ */ l.jsx(e, { ...r }) });
|
|
10607
10609
|
return n.displayName = "Authorized", n;
|
|
10608
10610
|
};
|
|
@@ -10620,7 +10622,7 @@ function to(e) {
|
|
|
10620
10622
|
for (var t = 1; t < arguments.length; t++) {
|
|
10621
10623
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10622
10624
|
t % 2 ? Ba(Object(n), !0).forEach(function(r) {
|
|
10623
|
-
|
|
10625
|
+
G3(e, r, n[r]);
|
|
10624
10626
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ba(Object(n)).forEach(function(r) {
|
|
10625
10627
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10626
10628
|
});
|
|
@@ -10634,7 +10636,7 @@ function rd(e) {
|
|
|
10634
10636
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
10635
10637
|
})(e);
|
|
10636
10638
|
}
|
|
10637
|
-
function
|
|
10639
|
+
function G3(e, t, n) {
|
|
10638
10640
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10639
10641
|
}
|
|
10640
10642
|
function Ds(e) {
|
|
@@ -10668,10 +10670,10 @@ try {
|
|
|
10668
10670
|
er = require("react").createContext();
|
|
10669
10671
|
} catch {
|
|
10670
10672
|
}
|
|
10671
|
-
var
|
|
10672
|
-
function
|
|
10673
|
+
var K3 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
|
|
10674
|
+
function Q3(e) {
|
|
10673
10675
|
if (rd(e) !== "object") throw new Error("single-spa-react requires a configuration object");
|
|
10674
|
-
var t, n = to(to({},
|
|
10676
|
+
var t, n = to(to({}, K3), e);
|
|
10675
10677
|
if (!n.React) throw new Error("single-spa-react must be passed opts.React");
|
|
10676
10678
|
if (!n.ReactDOM && !n.ReactDOMClient) throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");
|
|
10677
10679
|
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");
|
|
@@ -10688,15 +10690,15 @@ function K3(e) {
|
|
|
10688
10690
|
return setTimeout(this.props.updateFinished), this.props.children;
|
|
10689
10691
|
}, s;
|
|
10690
10692
|
}(n);
|
|
10691
|
-
var r = { bootstrap:
|
|
10692
|
-
return n.parcelCanUpdate && (r.update =
|
|
10693
|
+
var r = { bootstrap: Y3.bind(null, n), mount: Z3.bind(null, n), unmount: X3.bind(null, n) };
|
|
10694
|
+
return n.parcelCanUpdate && (r.update = J3.bind(null, n)), r;
|
|
10693
10695
|
}
|
|
10694
|
-
function
|
|
10696
|
+
function Y3(e, t) {
|
|
10695
10697
|
return e.rootComponent ? Promise.resolve() : e.loadRootComponent(t).then(function(n) {
|
|
10696
10698
|
e.rootComponent = n;
|
|
10697
10699
|
});
|
|
10698
10700
|
}
|
|
10699
|
-
function
|
|
10701
|
+
function Z3(e, t) {
|
|
10700
10702
|
return new Promise(function(n, r) {
|
|
10701
10703
|
e.suppressComponentDidCatchWarning || !function(a) {
|
|
10702
10704
|
if (!(a && typeof a.version == "string" && a.version.indexOf(".") >= 0)) return !1;
|
|
@@ -10725,18 +10727,18 @@ function Y3(e, t) {
|
|
|
10725
10727
|
default:
|
|
10726
10728
|
return m(f, p), null;
|
|
10727
10729
|
}
|
|
10728
|
-
}({ elementToRender: o, domElement: s, reactDom: hi(e), renderType:
|
|
10730
|
+
}({ elementToRender: o, domElement: s, reactDom: hi(e), renderType: eb(e) });
|
|
10729
10731
|
e.domElements[t.name] = s, e.renderResults[t.name] = i;
|
|
10730
10732
|
});
|
|
10731
10733
|
}
|
|
10732
|
-
function
|
|
10734
|
+
function X3(e, t) {
|
|
10733
10735
|
return new Promise(function(n) {
|
|
10734
10736
|
e.unmountResolves[t.name] = n;
|
|
10735
10737
|
var r = e.renderResults[t.name];
|
|
10736
10738
|
r && r.unmount ? r.unmount() : hi(e).unmountComponentAtNode(e.domElements[t.name]), delete e.domElements[t.name], delete e.renderResults[t.name];
|
|
10737
10739
|
});
|
|
10738
10740
|
}
|
|
10739
|
-
function
|
|
10741
|
+
function J3(e, t) {
|
|
10740
10742
|
return new Promise(function(n) {
|
|
10741
10743
|
e.updateResolves[t.name] || (e.updateResolves[t.name] = []), e.updateResolves[t.name].push(n);
|
|
10742
10744
|
var r = sd(e, t, null), o = e.renderResults[t.name];
|
|
@@ -10750,7 +10752,7 @@ function X3(e, t) {
|
|
|
10750
10752
|
function hi(e) {
|
|
10751
10753
|
return e.ReactDOMClient || e.ReactDOM;
|
|
10752
10754
|
}
|
|
10753
|
-
function
|
|
10755
|
+
function eb(e) {
|
|
10754
10756
|
return typeof e.renderType == "function" ? e.renderType() : e.renderType;
|
|
10755
10757
|
}
|
|
10756
10758
|
function sd(e, t, n) {
|
|
@@ -10772,7 +10774,7 @@ function sd(e, t, n) {
|
|
|
10772
10774
|
e.unmountResolves[t.name] && (e.unmountResolves[t.name](), delete e.unmountResolves[t.name]);
|
|
10773
10775
|
} }), o);
|
|
10774
10776
|
}
|
|
10775
|
-
const
|
|
10777
|
+
const tb = (e) => {
|
|
10776
10778
|
const t = new Kh();
|
|
10777
10779
|
return function(r) {
|
|
10778
10780
|
if (!r)
|
|
@@ -10789,7 +10791,7 @@ const eb = (e) => {
|
|
|
10789
10791
|
)
|
|
10790
10792
|
] }) });
|
|
10791
10793
|
};
|
|
10792
|
-
},
|
|
10794
|
+
}, Kb = ({ rootComponent: e, ...t }) => Q3({
|
|
10793
10795
|
// defaults
|
|
10794
10796
|
errorBoundary(n) {
|
|
10795
10797
|
return console.error(n), /* @__PURE__ */ l.jsx(ku, {});
|
|
@@ -10797,8 +10799,8 @@ const eb = (e) => {
|
|
|
10797
10799
|
// provided props
|
|
10798
10800
|
...t,
|
|
10799
10801
|
// wrappers
|
|
10800
|
-
rootComponent:
|
|
10801
|
-
}),
|
|
10802
|
+
rootComponent: tb(e)
|
|
10803
|
+
}), Qb = (e) => {
|
|
10802
10804
|
const t = {
|
|
10803
10805
|
authUser: {
|
|
10804
10806
|
id: "testuser",
|
|
@@ -10837,7 +10839,7 @@ const eb = (e) => {
|
|
|
10837
10839
|
}, id = () => {
|
|
10838
10840
|
const [e] = ro();
|
|
10839
10841
|
return e.featureFlags;
|
|
10840
|
-
},
|
|
10842
|
+
}, Yb = (e) => id()[e], nb = ({
|
|
10841
10843
|
flag: e,
|
|
10842
10844
|
children: t,
|
|
10843
10845
|
fallback: n = null,
|
|
@@ -10846,9 +10848,9 @@ const eb = (e) => {
|
|
|
10846
10848
|
const s = id()[e] === !0;
|
|
10847
10849
|
return (r ? !s : s) ? /* @__PURE__ */ l.jsx(l.Fragment, { children: t }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: n });
|
|
10848
10850
|
};
|
|
10849
|
-
|
|
10851
|
+
nb.displayName = "FeatureFlagGuard";
|
|
10850
10852
|
const ad = Ls(null);
|
|
10851
|
-
function
|
|
10853
|
+
function rb(e) {
|
|
10852
10854
|
const t = [
|
|
10853
10855
|
"#FF6B6B",
|
|
10854
10856
|
"#4ECDC4",
|
|
@@ -10881,7 +10883,7 @@ const zo = {
|
|
|
10881
10883
|
JOIN_ROOM: "join_room",
|
|
10882
10884
|
LEAVE_ROOM: "leave_room",
|
|
10883
10885
|
USER_LIST: "user_list"
|
|
10884
|
-
}, cd = [1e3, 2e3, 4e3, 8e3, 16e3],
|
|
10886
|
+
}, cd = [1e3, 2e3, 4e3, 8e3, 16e3], ob = cd.length, Zb = ({
|
|
10885
10887
|
children: e
|
|
10886
10888
|
}) => {
|
|
10887
10889
|
const t = gf("@bluealba/pae-rooms-service"), [n, r] = ae([]), [o, s] = ae("loading"), i = tt(null), a = tt(!1), c = tt(0), u = tt(null), f = tt(!0), p = tt(() => {
|
|
@@ -10908,7 +10910,7 @@ const zo = {
|
|
|
10908
10910
|
}, i.current = j;
|
|
10909
10911
|
}), []), g = ge(() => {
|
|
10910
10912
|
if (!t || !f.current) return;
|
|
10911
|
-
if (c.current >=
|
|
10913
|
+
if (c.current >= ob) {
|
|
10912
10914
|
s("error");
|
|
10913
10915
|
return;
|
|
10914
10916
|
}
|
|
@@ -10960,7 +10962,7 @@ const zo = {
|
|
|
10960
10962
|
r(T.map((R) => ({
|
|
10961
10963
|
...R,
|
|
10962
10964
|
username: R.username.toLowerCase(),
|
|
10963
|
-
color:
|
|
10965
|
+
color: rb(R.username)
|
|
10964
10966
|
})));
|
|
10965
10967
|
}, E = ge((T) => n.filter((R) => R.rooms.includes(T)), [n]), _ = {
|
|
10966
10968
|
status: o,
|
|
@@ -10970,11 +10972,11 @@ const zo = {
|
|
|
10970
10972
|
reconnect: x
|
|
10971
10973
|
};
|
|
10972
10974
|
return /* @__PURE__ */ l.jsx(ad.Provider, { value: _, children: e });
|
|
10973
|
-
},
|
|
10975
|
+
}, sb = {
|
|
10974
10976
|
autoJoin: !0,
|
|
10975
10977
|
autoLeave: !0
|
|
10976
10978
|
};
|
|
10977
|
-
function
|
|
10979
|
+
function Xb(e, t = sb) {
|
|
10978
10980
|
const { autoJoin: n, autoLeave: r } = t, o = Ms(ad), { authUser: s } = io();
|
|
10979
10981
|
if (!o)
|
|
10980
10982
|
throw new Error("useRoom must be used within RoomsProvider");
|
|
@@ -11011,17 +11013,17 @@ function Zb(e, t = ob) {
|
|
|
11011
11013
|
reconnect: o.reconnect
|
|
11012
11014
|
};
|
|
11013
11015
|
}
|
|
11014
|
-
const
|
|
11015
|
-
container:
|
|
11016
|
-
avatarWrapper:
|
|
11017
|
-
avatar:
|
|
11018
|
-
overflowWrapper:
|
|
11019
|
-
overflowBadge:
|
|
11020
|
-
},
|
|
11016
|
+
const ib = "container__LbyGQ", ab = "avatarWrapper__HCQIZ", cb = "avatar__E453a", lb = "overflowWrapper__ETnPO", ub = "overflowBadge__igBKT", qn = {
|
|
11017
|
+
container: ib,
|
|
11018
|
+
avatarWrapper: ab,
|
|
11019
|
+
avatar: cb,
|
|
11020
|
+
overflowWrapper: lb,
|
|
11021
|
+
overflowBadge: ub
|
|
11022
|
+
}, db = {
|
|
11021
11023
|
sm: 24,
|
|
11022
11024
|
md: 32,
|
|
11023
11025
|
lg: 40
|
|
11024
|
-
},
|
|
11026
|
+
}, Jb = ({
|
|
11025
11027
|
users: e,
|
|
11026
11028
|
maxVisible: t = 5,
|
|
11027
11029
|
size: n = "md",
|
|
@@ -11029,7 +11031,7 @@ const sb = "container__LbyGQ", ib = "avatarWrapper__HCQIZ", ab = "avatar__E453a"
|
|
|
11029
11031
|
className: o = "",
|
|
11030
11032
|
onUserClick: s
|
|
11031
11033
|
}) => {
|
|
11032
|
-
const i =
|
|
11034
|
+
const i = db[n], a = Ve(() => e.slice(0, t), [e, t]), c = Ve(() => e.slice(t), [e, t]), u = Math.max(0, e.length - t), f = (p) => p.split(" ").map((m) => m[0]).join("").toUpperCase().slice(0, 2);
|
|
11033
11035
|
return /* @__PURE__ */ l.jsxs("div", { className: I(qn.container, o), children: [
|
|
11034
11036
|
a.map((p, m) => /* @__PURE__ */ l.jsx(Jn, { tooltipContent: p.displayName, side: "bottom", children: /* @__PURE__ */ l.jsx(
|
|
11035
11037
|
"div",
|
|
@@ -11097,17 +11099,17 @@ export {
|
|
|
11097
11099
|
bs as Button,
|
|
11098
11100
|
d1 as ClipboardCheckIcon,
|
|
11099
11101
|
u1 as ClipboardIcon,
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11102
|
+
$2 as ConfirmDialog,
|
|
11103
|
+
Fb as CopyToClipboardButton,
|
|
11104
|
+
sb as DEFAULT_OPTIONS,
|
|
11103
11105
|
_e as Dialog,
|
|
11104
11106
|
si as DropdownList,
|
|
11105
11107
|
ed as EmptyState,
|
|
11106
11108
|
ku as ErrorState,
|
|
11107
|
-
|
|
11109
|
+
Mb as ExtendExtensionPoint,
|
|
11108
11110
|
_p as ExtensionPoint,
|
|
11109
11111
|
X0 as EyeIcon,
|
|
11110
|
-
|
|
11112
|
+
nb as FeatureFlagGuard,
|
|
11111
11113
|
b1 as FieldGroup,
|
|
11112
11114
|
Vs as Input,
|
|
11113
11115
|
x1 as InputError,
|
|
@@ -11121,13 +11123,13 @@ export {
|
|
|
11121
11123
|
Eo as PaginationLink,
|
|
11122
11124
|
Qu as PaginationNext,
|
|
11123
11125
|
Ku as PaginationPrevious,
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11127
|
-
|
|
11126
|
+
Vb as PasswordInput,
|
|
11127
|
+
zb as Pill,
|
|
11128
|
+
$b as PlatformEventListener,
|
|
11129
|
+
gb as PlatformEvents,
|
|
11128
11130
|
Xu as PluralizeCounter,
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
+
Jb as RoomAvatars,
|
|
11132
|
+
Zb as RoomsProvider,
|
|
11131
11133
|
v0 as SearchAutocomplete,
|
|
11132
11134
|
lu as SearchInput,
|
|
11133
11135
|
Vc as Select,
|
|
@@ -11137,72 +11139,72 @@ export {
|
|
|
11137
11139
|
A0 as SkeletonList,
|
|
11138
11140
|
k0 as Spinner,
|
|
11139
11141
|
U0 as Switch,
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11142
|
+
F3 as Table,
|
|
11143
|
+
Bb as Tabs,
|
|
11144
|
+
Hb as TabsContent,
|
|
11145
|
+
Ub as TabsList,
|
|
11146
|
+
Wb as TabsTrigger,
|
|
11145
11147
|
by as TextArea,
|
|
11146
11148
|
Yy as TextWithTooltip,
|
|
11147
|
-
|
|
11149
|
+
z3 as ThemeToggle,
|
|
11148
11150
|
Jn as Tooltip,
|
|
11149
|
-
|
|
11151
|
+
Gb as authorized,
|
|
11150
11152
|
bn as dropdownListStyles,
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
+
kb as extensionPoint,
|
|
11154
|
+
rb as generateUserColor,
|
|
11153
11155
|
rc as getApplications,
|
|
11154
|
-
|
|
11156
|
+
Sb as getInitials,
|
|
11155
11157
|
Hd as getOperations,
|
|
11156
11158
|
qd as hasAccess,
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11163
|
-
|
|
11159
|
+
Kb as initializeMicroFrontend,
|
|
11160
|
+
jb as isPlatformCustomizationCompleted,
|
|
11161
|
+
xb as isValidEmail,
|
|
11162
|
+
wb as logout,
|
|
11163
|
+
Cb as navigateTo,
|
|
11164
|
+
Ob as platformHaveAnyCustomization,
|
|
11165
|
+
Qb as setupTestEnvironment,
|
|
11164
11166
|
nf as useApplicationIcon,
|
|
11165
11167
|
$s as useApplicationJSModule,
|
|
11166
|
-
|
|
11168
|
+
Eb as useApplicationMenu,
|
|
11167
11169
|
Jd as useApplicationUIModule,
|
|
11168
11170
|
Yd as useApplications,
|
|
11169
11171
|
io as useAuth,
|
|
11170
11172
|
oo as useCatalog,
|
|
11171
11173
|
cc as useCurrentApplication,
|
|
11172
11174
|
hf as useCurrentApplicationName,
|
|
11173
|
-
|
|
11175
|
+
_b as useCurrentJSModule,
|
|
11174
11176
|
Af as useDynamicFonts,
|
|
11175
11177
|
Ef as useDynamicStyleSheet,
|
|
11176
11178
|
xf as useExtendExtensionPoint,
|
|
11177
11179
|
Cf as useExtensionPoint,
|
|
11178
|
-
|
|
11180
|
+
Yb as useFeatureFlag,
|
|
11179
11181
|
id as useFeatureFlags,
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
+
Ab as useGetPlatformTheme,
|
|
11183
|
+
yb as useHasNoSession,
|
|
11182
11184
|
Fd as useLocation,
|
|
11183
11185
|
sc as useModule,
|
|
11184
|
-
|
|
11186
|
+
bb as useModuleCommonPaths,
|
|
11185
11187
|
oc as useModuleConfig,
|
|
11186
11188
|
zd as useModuleConfigByName,
|
|
11187
11189
|
rf as useModuleMenu,
|
|
11188
11190
|
so as useModuleMetadata,
|
|
11189
|
-
|
|
11191
|
+
vb as useMutableCatalog,
|
|
11190
11192
|
wc as useNotifications,
|
|
11191
11193
|
Vd as useOperations,
|
|
11192
|
-
|
|
11194
|
+
Pb as usePAECustomizationsLoadingState,
|
|
11193
11195
|
ro as usePAEState,
|
|
11194
|
-
|
|
11196
|
+
Rb as usePlatformCustomization,
|
|
11195
11197
|
Sf as usePlatformEventListener,
|
|
11196
|
-
|
|
11198
|
+
Nb as useResource,
|
|
11197
11199
|
dp as useResourceActions,
|
|
11198
|
-
|
|
11200
|
+
Xb as useRoom,
|
|
11199
11201
|
lc as useServiceBaseURL,
|
|
11200
11202
|
uc as useServiceInvoker,
|
|
11201
11203
|
gf as useServiceWebSocketURL,
|
|
11202
|
-
|
|
11204
|
+
Db as useTenants,
|
|
11203
11205
|
Fp as useTheme,
|
|
11204
|
-
|
|
11206
|
+
Tb as useTrackEvent,
|
|
11205
11207
|
wf as useTrackEvents,
|
|
11206
11208
|
Xd as useUIApplications,
|
|
11207
|
-
|
|
11209
|
+
Lb as useUserState
|
|
11208
11210
|
};
|