react-luminus-components 1.2.40 → 1.2.42
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/components/common/PhotoLightbox/PhotoLightbox.d.ts +2 -1
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +59 -59
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +487 -486
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s, t as J, c as re, g as Gn, T as Un, a as Vn, b as v, s as
|
|
1
|
+
import { j as s, t as J, c as re, g as Gn, T as Un, a as Vn, b as v, s as ft, E as Kn, d as zn, e as Qn, f as Xn, h as Jn, u as he, i as Y, k as Zn, l as er, m as tr, n as nr, o as rr, p as or, q as sr, r as ar, v as et, w as tt, x as ir, y as cr, z as lr, P as ye, F as se, A as ur, B as dr, C as nt, S as mt, D as Se, G as Ee, H as rt, I as hr, J as Rt, K as je, L as De, O as pt, M as fr, N as ae, Q as mr, R as pr, U as qt, V as ot, W as st, X as V, Y as gr, Z as Lt, _ as wr, $ as yr, a0 as vr, a1 as Yt, a2 as Ht, a3 as xr, a4 as br, a5 as _r, a6 as Bt, a7 as xe, a8 as kr, a9 as jr, aa as Cr, ab as Nr, ac as Ue, ad as qe, ae as fe, af as $r } from "./NoInputContainer-LdJeEMWI.js";
|
|
2
2
|
import { ah as Rc, ag as qc } from "./NoInputContainer-LdJeEMWI.js";
|
|
3
3
|
import * as M from "react";
|
|
4
4
|
import z, { useCallback as T, useMemo as G, useEffect as E, useRef as R, useState as O, useReducer as Gt, useContext as D, createElement as Ir } from "react";
|
|
@@ -463,10 +463,10 @@ const ro = /^(\d+)(th|st|nd|rd)?/i, oo = /\d+/i, so = {
|
|
|
463
463
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
464
464
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
465
465
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
466
|
-
},
|
|
466
|
+
}, fo = {
|
|
467
467
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
468
468
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
469
|
-
},
|
|
469
|
+
}, mo = {
|
|
470
470
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
471
471
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
472
472
|
}, po = {
|
|
@@ -508,11 +508,11 @@ const ro = /^(\d+)(th|st|nd|rd)?/i, oo = /\d+/i, so = {
|
|
|
508
508
|
day: _e({
|
|
509
509
|
matchPatterns: ho,
|
|
510
510
|
defaultMatchWidth: "wide",
|
|
511
|
-
parsePatterns:
|
|
511
|
+
parsePatterns: fo,
|
|
512
512
|
defaultParseWidth: "any"
|
|
513
513
|
}),
|
|
514
514
|
dayPeriod: _e({
|
|
515
|
-
matchPatterns:
|
|
515
|
+
matchPatterns: mo,
|
|
516
516
|
defaultMatchWidth: "any",
|
|
517
517
|
parsePatterns: po,
|
|
518
518
|
defaultParseWidth: "any"
|
|
@@ -533,26 +533,26 @@ function yo(n) {
|
|
|
533
533
|
const e = J(n);
|
|
534
534
|
return Or(e, Fr(e)) + 1;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function vo(n) {
|
|
537
537
|
const e = J(n), t = +Ae(e) - +Mr(e);
|
|
538
538
|
return Math.round(t / Kt) + 1;
|
|
539
539
|
}
|
|
540
540
|
function Zt(n, e) {
|
|
541
|
-
var d, h,
|
|
542
|
-
const t = J(n), r = t.getFullYear(), o = Le(), a = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : h.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((g = (
|
|
541
|
+
var d, h, f, g;
|
|
542
|
+
const t = J(n), r = t.getFullYear(), o = Le(), a = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : h.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((g = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, i = re(n, 0);
|
|
543
543
|
i.setFullYear(r + 1, 0, a), i.setHours(0, 0, 0, 0);
|
|
544
544
|
const l = Ne(i, e), c = re(n, 0);
|
|
545
545
|
c.setFullYear(r, 0, a), c.setHours(0, 0, 0, 0);
|
|
546
546
|
const u = Ne(c, e);
|
|
547
547
|
return t.getTime() >= l.getTime() ? r + 1 : t.getTime() >= u.getTime() ? r : r - 1;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function xo(n, e) {
|
|
550
550
|
var l, c, u, d;
|
|
551
551
|
const t = Le(), r = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((c = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : c.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((d = (u = t.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, o = Zt(n, e), a = re(n, 0);
|
|
552
552
|
return a.setFullYear(o, 0, r), a.setHours(0, 0, 0, 0), Ne(a, e);
|
|
553
553
|
}
|
|
554
554
|
function bo(n, e) {
|
|
555
|
-
const t = J(n), r = +Ne(t, e) - +
|
|
555
|
+
const t = J(n), r = +Ne(t, e) - +xo(t, e);
|
|
556
556
|
return Math.round(r / Kt) + 1;
|
|
557
557
|
}
|
|
558
558
|
function A(n, e) {
|
|
@@ -622,7 +622,7 @@ const oe = {
|
|
|
622
622
|
afternoon: "afternoon",
|
|
623
623
|
evening: "evening",
|
|
624
624
|
night: "night"
|
|
625
|
-
},
|
|
625
|
+
}, vt = {
|
|
626
626
|
// Era
|
|
627
627
|
G: function(n, e, t) {
|
|
628
628
|
const r = n.getFullYear() > 0 ? 1 : 0;
|
|
@@ -785,7 +785,7 @@ const oe = {
|
|
|
785
785
|
},
|
|
786
786
|
// ISO week of year
|
|
787
787
|
I: function(n, e, t) {
|
|
788
|
-
const r =
|
|
788
|
+
const r = vo(n);
|
|
789
789
|
return e === "Io" ? t.ordinalNumber(r, { unit: "week" }) : A(r, e.length);
|
|
790
790
|
},
|
|
791
791
|
// Day of the month
|
|
@@ -1080,7 +1080,7 @@ const oe = {
|
|
|
1080
1080
|
case "O":
|
|
1081
1081
|
case "OO":
|
|
1082
1082
|
case "OOO":
|
|
1083
|
-
return "GMT" +
|
|
1083
|
+
return "GMT" + xt(r, ":");
|
|
1084
1084
|
case "OOOO":
|
|
1085
1085
|
default:
|
|
1086
1086
|
return "GMT" + de(r, ":");
|
|
@@ -1093,7 +1093,7 @@ const oe = {
|
|
|
1093
1093
|
case "z":
|
|
1094
1094
|
case "zz":
|
|
1095
1095
|
case "zzz":
|
|
1096
|
-
return "GMT" +
|
|
1096
|
+
return "GMT" + xt(r, ":");
|
|
1097
1097
|
case "zzzz":
|
|
1098
1098
|
default:
|
|
1099
1099
|
return "GMT" + de(r, ":");
|
|
@@ -1110,7 +1110,7 @@ const oe = {
|
|
|
1110
1110
|
return A(r, e.length);
|
|
1111
1111
|
}
|
|
1112
1112
|
};
|
|
1113
|
-
function
|
|
1113
|
+
function xt(n, e = "") {
|
|
1114
1114
|
const t = n > 0 ? "-" : "+", r = Math.abs(n), o = Math.trunc(r / 60), a = r % 60;
|
|
1115
1115
|
return a === 0 ? t + String(o) : t + String(o) + e + A(a, 2);
|
|
1116
1116
|
}
|
|
@@ -1187,30 +1187,30 @@ function So(n, e, t) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
const Eo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Oo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Mo = /^'([^]*?)'?$/, Po = /''/g, Do = /[a-zA-Z]/;
|
|
1189
1189
|
function tn(n, e, t) {
|
|
1190
|
-
var d, h,
|
|
1191
|
-
const r = Le(), o = (t == null ? void 0 : t.locale) ?? r.locale ?? wo, a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((h = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : h.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (
|
|
1190
|
+
var d, h, f, g, x, m, p, j;
|
|
1191
|
+
const r = Le(), o = (t == null ? void 0 : t.locale) ?? r.locale ?? wo, a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((h = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : h.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, i = (t == null ? void 0 : t.weekStartsOn) ?? ((m = (x = t == null ? void 0 : t.locale) == null ? void 0 : x.options) == null ? void 0 : m.weekStartsOn) ?? r.weekStartsOn ?? ((j = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : j.weekStartsOn) ?? 0, l = J(n);
|
|
1192
1192
|
if (!Ar(l))
|
|
1193
1193
|
throw new RangeError("Invalid time value");
|
|
1194
|
-
let c = e.match(Oo).map((
|
|
1195
|
-
const b =
|
|
1194
|
+
let c = e.match(Oo).map((k) => {
|
|
1195
|
+
const b = k[0];
|
|
1196
1196
|
if (b === "p" || b === "P") {
|
|
1197
1197
|
const I = ko[b];
|
|
1198
|
-
return I(
|
|
1198
|
+
return I(k, o.formatLong);
|
|
1199
1199
|
}
|
|
1200
|
-
return
|
|
1201
|
-
}).join("").match(Eo).map((
|
|
1202
|
-
if (
|
|
1200
|
+
return k;
|
|
1201
|
+
}).join("").match(Eo).map((k) => {
|
|
1202
|
+
if (k === "''")
|
|
1203
1203
|
return { isToken: !1, value: "'" };
|
|
1204
|
-
const b =
|
|
1204
|
+
const b = k[0];
|
|
1205
1205
|
if (b === "'")
|
|
1206
|
-
return { isToken: !1, value: Ao(
|
|
1207
|
-
if (
|
|
1208
|
-
return { isToken: !0, value:
|
|
1206
|
+
return { isToken: !1, value: Ao(k) };
|
|
1207
|
+
if (vt[b])
|
|
1208
|
+
return { isToken: !0, value: k };
|
|
1209
1209
|
if (b.match(Do))
|
|
1210
1210
|
throw new RangeError(
|
|
1211
1211
|
"Format string contains an unescaped latin alphabet character `" + b + "`"
|
|
1212
1212
|
);
|
|
1213
|
-
return { isToken: !1, value:
|
|
1213
|
+
return { isToken: !1, value: k };
|
|
1214
1214
|
});
|
|
1215
1215
|
o.localize.preprocessor && (c = o.localize.preprocessor(l, c));
|
|
1216
1216
|
const u = {
|
|
@@ -1218,12 +1218,12 @@ function tn(n, e, t) {
|
|
|
1218
1218
|
weekStartsOn: i,
|
|
1219
1219
|
locale: o
|
|
1220
1220
|
};
|
|
1221
|
-
return c.map((
|
|
1222
|
-
if (!
|
|
1223
|
-
return
|
|
1224
|
-
const b =
|
|
1221
|
+
return c.map((k) => {
|
|
1222
|
+
if (!k.isToken)
|
|
1223
|
+
return k.value;
|
|
1224
|
+
const b = k.value;
|
|
1225
1225
|
(!(t != null && t.useAdditionalWeekYearTokens) && Io(b) || !(t != null && t.useAdditionalDayOfYearTokens) && $o(b)) && To(b, e, String(n));
|
|
1226
|
-
const I =
|
|
1226
|
+
const I = vt[b[0]];
|
|
1227
1227
|
return I(l, b, o.localize, u);
|
|
1228
1228
|
}).join("");
|
|
1229
1229
|
}
|
|
@@ -1268,8 +1268,8 @@ const Ro = {
|
|
|
1268
1268
|
function qo(n, e) {
|
|
1269
1269
|
const t = `offset${n[0].toUpperCase()}${n.slice(1)}`, r = e[t], o = Ro[n];
|
|
1270
1270
|
return r + // @ts-ignore
|
|
1271
|
-
parseInt(
|
|
1272
|
-
parseInt(
|
|
1271
|
+
parseInt(ft(e, o[0]), 10) + // @ts-ignore
|
|
1272
|
+
parseInt(ft(e, o[1]), 10);
|
|
1273
1273
|
}
|
|
1274
1274
|
const Lo = {
|
|
1275
1275
|
[Kn]: "collapse",
|
|
@@ -1289,40 +1289,40 @@ const Lo = {
|
|
|
1289
1289
|
timeout: u = 300,
|
|
1290
1290
|
mountOnEnter: d = !1,
|
|
1291
1291
|
unmountOnExit: h = !1,
|
|
1292
|
-
appear:
|
|
1292
|
+
appear: f = !1,
|
|
1293
1293
|
getDimensionValue: g = qo,
|
|
1294
|
-
...
|
|
1295
|
-
},
|
|
1296
|
-
const p = typeof l == "function" ? l() : l,
|
|
1294
|
+
...x
|
|
1295
|
+
}, m) => {
|
|
1296
|
+
const p = typeof l == "function" ? l() : l, j = G(() => ke((_) => {
|
|
1297
1297
|
_.style[p] = "0";
|
|
1298
|
-
}, n), [p, n]),
|
|
1299
|
-
const
|
|
1300
|
-
_.style[p] = `${_[
|
|
1298
|
+
}, n), [p, n]), k = G(() => ke((_) => {
|
|
1299
|
+
const C = `scroll${p[0].toUpperCase()}${p.slice(1)}`;
|
|
1300
|
+
_.style[p] = `${_[C]}px`;
|
|
1301
1301
|
}, e), [p, e]), b = G(() => ke((_) => {
|
|
1302
1302
|
_.style[p] = null;
|
|
1303
1303
|
}, t), [p, t]), I = G(() => ke((_) => {
|
|
1304
1304
|
_.style[p] = `${g(p, _)}px`, Jn(_);
|
|
1305
|
-
}, r), [r, g, p]),
|
|
1305
|
+
}, r), [r, g, p]), y = G(() => ke((_) => {
|
|
1306
1306
|
_.style[p] = null;
|
|
1307
1307
|
}, o), [p, o]);
|
|
1308
1308
|
return /* @__PURE__ */ s.jsx(Un, {
|
|
1309
|
-
ref:
|
|
1309
|
+
ref: m,
|
|
1310
1310
|
addEndListener: Vn,
|
|
1311
|
-
...
|
|
1312
|
-
"aria-expanded":
|
|
1313
|
-
onEnter:
|
|
1314
|
-
onEntering:
|
|
1311
|
+
...x,
|
|
1312
|
+
"aria-expanded": x.role ? c : null,
|
|
1313
|
+
onEnter: j,
|
|
1314
|
+
onEntering: k,
|
|
1315
1315
|
onEntered: b,
|
|
1316
1316
|
onExit: I,
|
|
1317
|
-
onExiting:
|
|
1317
|
+
onExiting: y,
|
|
1318
1318
|
childRef: i.ref,
|
|
1319
1319
|
in: c,
|
|
1320
1320
|
timeout: u,
|
|
1321
1321
|
mountOnEnter: d,
|
|
1322
1322
|
unmountOnExit: h,
|
|
1323
|
-
appear:
|
|
1324
|
-
children: (_,
|
|
1325
|
-
...
|
|
1323
|
+
appear: f,
|
|
1324
|
+
children: (_, C) => /* @__PURE__ */ z.cloneElement(i, {
|
|
1325
|
+
...C,
|
|
1326
1326
|
className: v(a, i.props.className, Lo[_], p === "width" && "collapse-horizontal")
|
|
1327
1327
|
})
|
|
1328
1328
|
});
|
|
@@ -1366,14 +1366,14 @@ function at({
|
|
|
1366
1366
|
type: c || "button",
|
|
1367
1367
|
disabled: e
|
|
1368
1368
|
}, u];
|
|
1369
|
-
const d = (
|
|
1370
|
-
if ((e || n === "a" && Go(t)) &&
|
|
1371
|
-
|
|
1369
|
+
const d = (f) => {
|
|
1370
|
+
if ((e || n === "a" && Go(t)) && f.preventDefault(), e) {
|
|
1371
|
+
f.stopPropagation();
|
|
1372
1372
|
return;
|
|
1373
1373
|
}
|
|
1374
|
-
i == null || i(
|
|
1375
|
-
}, h = (
|
|
1376
|
-
|
|
1374
|
+
i == null || i(f);
|
|
1375
|
+
}, h = (f) => {
|
|
1376
|
+
f.key === " " && (f.preventDefault(), d(f));
|
|
1377
1377
|
};
|
|
1378
1378
|
return n === "a" && (t || (t = "#"), e && (t = void 0)), [{
|
|
1379
1379
|
role: a ?? "button",
|
|
@@ -1453,8 +1453,8 @@ const sn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1453
1453
|
tagName: n,
|
|
1454
1454
|
disabled: a,
|
|
1455
1455
|
...l
|
|
1456
|
-
}),
|
|
1457
|
-
return /* @__PURE__ */ s.jsx(
|
|
1456
|
+
}), f = h;
|
|
1457
|
+
return /* @__PURE__ */ s.jsx(f, {
|
|
1458
1458
|
...d,
|
|
1459
1459
|
...l,
|
|
1460
1460
|
ref: c,
|
|
@@ -1477,14 +1477,14 @@ function Qo({
|
|
|
1477
1477
|
return o.forEach((c) => {
|
|
1478
1478
|
const u = r[c];
|
|
1479
1479
|
delete r[c];
|
|
1480
|
-
let d, h,
|
|
1480
|
+
let d, h, f;
|
|
1481
1481
|
typeof u == "object" && u != null ? {
|
|
1482
1482
|
span: d,
|
|
1483
1483
|
offset: h,
|
|
1484
|
-
order:
|
|
1484
|
+
order: f
|
|
1485
1485
|
} = u : d = u;
|
|
1486
1486
|
const g = c !== a ? `-${c}` : "";
|
|
1487
|
-
d && i.push(d === !0 ? `${e}${g}` : `${e}${g}-${d}`),
|
|
1487
|
+
d && i.push(d === !0 ? `${e}${g}` : `${e}${g}-${d}`), f != null && l.push(`order${g}-${f}`), h != null && l.push(`offset${g}-${h}`);
|
|
1488
1488
|
}), [{
|
|
1489
1489
|
...r,
|
|
1490
1490
|
className: v(t, ...i, ...l)
|
|
@@ -1545,19 +1545,19 @@ function cn(n = {}) {
|
|
|
1545
1545
|
placement: u,
|
|
1546
1546
|
popperConfig: d = {},
|
|
1547
1547
|
enableEventListeners: h = !0,
|
|
1548
|
-
usePopper:
|
|
1548
|
+
usePopper: f = !!e
|
|
1549
1549
|
} = n, g = (e == null ? void 0 : e.show) == null ? !!n.show : e.show;
|
|
1550
1550
|
g && !o.current && (o.current = !0);
|
|
1551
|
-
const
|
|
1551
|
+
const x = (_) => {
|
|
1552
1552
|
e == null || e.toggle(!1, _);
|
|
1553
1553
|
}, {
|
|
1554
|
-
placement:
|
|
1554
|
+
placement: m,
|
|
1555
1555
|
setMenu: p,
|
|
1556
|
-
menuElement:
|
|
1557
|
-
toggleElement:
|
|
1558
|
-
} = e || {}, b = nr(
|
|
1559
|
-
placement: u ||
|
|
1560
|
-
enabled:
|
|
1556
|
+
menuElement: j,
|
|
1557
|
+
toggleElement: k
|
|
1558
|
+
} = e || {}, b = nr(k, j, rr({
|
|
1559
|
+
placement: u || m || "bottom-start",
|
|
1560
|
+
enabled: f,
|
|
1561
1561
|
enableEvents: h ?? g,
|
|
1562
1562
|
offset: i,
|
|
1563
1563
|
flip: a,
|
|
@@ -1566,25 +1566,25 @@ function cn(n = {}) {
|
|
|
1566
1566
|
popperConfig: d
|
|
1567
1567
|
})), I = Object.assign({
|
|
1568
1568
|
ref: p || ts,
|
|
1569
|
-
"aria-labelledby":
|
|
1569
|
+
"aria-labelledby": k == null ? void 0 : k.id
|
|
1570
1570
|
}, b.attributes.popper, {
|
|
1571
1571
|
style: b.styles.popper
|
|
1572
|
-
}),
|
|
1572
|
+
}), y = {
|
|
1573
1573
|
show: g,
|
|
1574
|
-
placement:
|
|
1574
|
+
placement: m,
|
|
1575
1575
|
hasShown: o.current,
|
|
1576
1576
|
toggle: e == null ? void 0 : e.toggle,
|
|
1577
|
-
popper:
|
|
1578
|
-
arrowProps:
|
|
1577
|
+
popper: f ? b : null,
|
|
1578
|
+
arrowProps: f ? Object.assign({
|
|
1579
1579
|
ref: r
|
|
1580
1580
|
}, b.attributes.arrow, {
|
|
1581
1581
|
style: b.styles.arrow
|
|
1582
1582
|
}) : {}
|
|
1583
1583
|
};
|
|
1584
|
-
return or(
|
|
1584
|
+
return or(j, x, {
|
|
1585
1585
|
clickTrigger: l,
|
|
1586
1586
|
disabled: !g
|
|
1587
|
-
}), [I,
|
|
1587
|
+
}), [I, y];
|
|
1588
1588
|
}
|
|
1589
1589
|
function ln(n) {
|
|
1590
1590
|
let {
|
|
@@ -1668,7 +1668,7 @@ function hn() {
|
|
|
1668
1668
|
toggle: t
|
|
1669
1669
|
}];
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function fn({
|
|
1672
1672
|
children: n
|
|
1673
1673
|
}) {
|
|
1674
1674
|
const [e, t] = hn();
|
|
@@ -1676,11 +1676,11 @@ function mn({
|
|
|
1676
1676
|
children: n(e, t)
|
|
1677
1677
|
});
|
|
1678
1678
|
}
|
|
1679
|
-
|
|
1680
|
-
const Xe = /* @__PURE__ */ M.createContext(null), Ct = (n, e = null) => n != null ? String(n) : e || null,
|
|
1681
|
-
|
|
1679
|
+
fn.displayName = "DropdownToggle";
|
|
1680
|
+
const Xe = /* @__PURE__ */ M.createContext(null), Ct = (n, e = null) => n != null ? String(n) : e || null, mn = /* @__PURE__ */ M.createContext(null);
|
|
1681
|
+
mn.displayName = "NavContext";
|
|
1682
1682
|
const hs = ["eventKey", "disabled", "onClick", "active", "as"];
|
|
1683
|
-
function
|
|
1683
|
+
function fs(n, e) {
|
|
1684
1684
|
if (n == null)
|
|
1685
1685
|
return {};
|
|
1686
1686
|
var t = {}, r = Object.keys(n), o, a;
|
|
@@ -1695,7 +1695,7 @@ function pn({
|
|
|
1695
1695
|
disabled: r,
|
|
1696
1696
|
onClick: o
|
|
1697
1697
|
}) {
|
|
1698
|
-
const a = D(Xe), i = D(
|
|
1698
|
+
const a = D(Xe), i = D(mn), {
|
|
1699
1699
|
activeKey: l
|
|
1700
1700
|
} = i || {}, c = Ct(n, e), u = t == null && n != null ? Ct(l) === c : t;
|
|
1701
1701
|
return [{
|
|
@@ -1716,7 +1716,7 @@ const gn = /* @__PURE__ */ M.forwardRef((n, e) => {
|
|
|
1716
1716
|
onClick: o,
|
|
1717
1717
|
active: a,
|
|
1718
1718
|
as: i = rn
|
|
1719
|
-
} = n, l =
|
|
1719
|
+
} = n, l = fs(n, hs);
|
|
1720
1720
|
const [c] = pn({
|
|
1721
1721
|
key: t,
|
|
1722
1722
|
href: l.href,
|
|
@@ -1745,27 +1745,27 @@ function Ie({
|
|
|
1745
1745
|
placement: i = "bottom-start",
|
|
1746
1746
|
children: l
|
|
1747
1747
|
}) {
|
|
1748
|
-
const c = sr(), [u, d] = Xo(e, n, r), [h,
|
|
1748
|
+
const c = sr(), [u, d] = Xo(e, n, r), [h, f] = Nt(), g = h.current, [x, m] = Nt(), p = x.current, j = Tr(u), k = R(null), b = R(!1), I = D(Xe), y = T((N, S, q = S == null ? void 0 : S.type) => {
|
|
1749
1749
|
d(N, {
|
|
1750
1750
|
originalEvent: S,
|
|
1751
1751
|
source: q
|
|
1752
1752
|
});
|
|
1753
1753
|
}, [d]), _ = he((N, S) => {
|
|
1754
|
-
t == null || t(N, S),
|
|
1755
|
-
}),
|
|
1756
|
-
toggle:
|
|
1754
|
+
t == null || t(N, S), y(!1, S, "select"), S.isPropagationStopped() || I == null || I(N, S);
|
|
1755
|
+
}), C = G(() => ({
|
|
1756
|
+
toggle: y,
|
|
1757
1757
|
placement: i,
|
|
1758
1758
|
show: u,
|
|
1759
1759
|
menuElement: g,
|
|
1760
1760
|
toggleElement: p,
|
|
1761
|
-
setMenu:
|
|
1762
|
-
setToggle:
|
|
1763
|
-
}), [
|
|
1764
|
-
g &&
|
|
1761
|
+
setMenu: f,
|
|
1762
|
+
setToggle: m
|
|
1763
|
+
}), [y, i, u, g, p, f, m]);
|
|
1764
|
+
g && j && !u && (b.current = g.contains(g.ownerDocument.activeElement));
|
|
1765
1765
|
const $ = he(() => {
|
|
1766
1766
|
p && p.focus && p.focus();
|
|
1767
1767
|
}), L = he(() => {
|
|
1768
|
-
const N =
|
|
1768
|
+
const N = k.current;
|
|
1769
1769
|
let S = a;
|
|
1770
1770
|
if (S == null && (S = h.current && dn(h.current) ? "keyboard" : !1), S === !1 || S === "keyboard" && !/^key.+$/.test(N))
|
|
1771
1771
|
return;
|
|
@@ -1775,7 +1775,7 @@ function Ie({
|
|
|
1775
1775
|
E(() => {
|
|
1776
1776
|
u ? L() : b.current && (b.current = !1, $());
|
|
1777
1777
|
}, [u, b, $, L]), E(() => {
|
|
1778
|
-
|
|
1778
|
+
k.current = null;
|
|
1779
1779
|
});
|
|
1780
1780
|
const P = (N, S) => {
|
|
1781
1781
|
if (!h.current)
|
|
@@ -1788,32 +1788,32 @@ function Ie({
|
|
|
1788
1788
|
var S, q;
|
|
1789
1789
|
const {
|
|
1790
1790
|
key: H
|
|
1791
|
-
} = N,
|
|
1792
|
-
if (/input|textarea/i.test(
|
|
1791
|
+
} = N, K = N.target, U = (S = h.current) == null ? void 0 : S.contains(K), te = (q = x.current) == null ? void 0 : q.contains(K);
|
|
1792
|
+
if (/input|textarea/i.test(K.tagName) && (H === " " || H !== "Escape" && U || H === "Escape" && K.type === "search") || !U && !te || H === "Tab" && (!h.current || !u))
|
|
1793
1793
|
return;
|
|
1794
|
-
|
|
1794
|
+
k.current = N.type;
|
|
1795
1795
|
const F = {
|
|
1796
1796
|
originalEvent: N,
|
|
1797
1797
|
source: N.type
|
|
1798
1798
|
};
|
|
1799
1799
|
switch (H) {
|
|
1800
1800
|
case "ArrowUp": {
|
|
1801
|
-
const
|
|
1802
|
-
|
|
1801
|
+
const w = P(K, -1);
|
|
1802
|
+
w && w.focus && w.focus(), N.preventDefault();
|
|
1803
1803
|
return;
|
|
1804
1804
|
}
|
|
1805
1805
|
case "ArrowDown":
|
|
1806
1806
|
if (N.preventDefault(), !u)
|
|
1807
1807
|
d(!0, F);
|
|
1808
1808
|
else {
|
|
1809
|
-
const
|
|
1810
|
-
|
|
1809
|
+
const w = P(K, 1);
|
|
1810
|
+
w && w.focus && w.focus();
|
|
1811
1811
|
}
|
|
1812
1812
|
return;
|
|
1813
1813
|
case "Tab":
|
|
1814
|
-
ar(
|
|
1814
|
+
ar(K.ownerDocument, "keyup", (w) => {
|
|
1815
1815
|
var W;
|
|
1816
|
-
(
|
|
1816
|
+
(w.key === "Tab" && !w.target || !((W = h.current) != null && W.contains(w.target))) && d(!1, F);
|
|
1817
1817
|
}, {
|
|
1818
1818
|
once: !0
|
|
1819
1819
|
});
|
|
@@ -1825,14 +1825,14 @@ function Ie({
|
|
|
1825
1825
|
}), /* @__PURE__ */ s.jsx(Xe.Provider, {
|
|
1826
1826
|
value: _,
|
|
1827
1827
|
children: /* @__PURE__ */ s.jsx(Ye.Provider, {
|
|
1828
|
-
value:
|
|
1828
|
+
value: C,
|
|
1829
1829
|
children: l
|
|
1830
1830
|
})
|
|
1831
1831
|
});
|
|
1832
1832
|
}
|
|
1833
1833
|
Ie.displayName = "Dropdown";
|
|
1834
1834
|
Ie.Menu = ln;
|
|
1835
|
-
Ie.Toggle =
|
|
1835
|
+
Ie.Toggle = fn;
|
|
1836
1836
|
Ie.Item = gn;
|
|
1837
1837
|
const it = /* @__PURE__ */ M.createContext({});
|
|
1838
1838
|
it.displayName = "DropdownContext";
|
|
@@ -1862,7 +1862,7 @@ const yn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1862
1862
|
...o
|
|
1863
1863
|
})));
|
|
1864
1864
|
yn.displayName = "DropdownHeader";
|
|
1865
|
-
const
|
|
1865
|
+
const vn = /* @__PURE__ */ M.forwardRef(({
|
|
1866
1866
|
bsPrefix: n,
|
|
1867
1867
|
className: e,
|
|
1868
1868
|
eventKey: t,
|
|
@@ -1886,8 +1886,8 @@ const xn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1886
1886
|
className: v(e, u, h.isActive && "active", r && "disabled")
|
|
1887
1887
|
});
|
|
1888
1888
|
});
|
|
1889
|
-
|
|
1890
|
-
const
|
|
1889
|
+
vn.displayName = "DropdownItem";
|
|
1890
|
+
const xn = /* @__PURE__ */ M.forwardRef(({
|
|
1891
1891
|
className: n,
|
|
1892
1892
|
bsPrefix: e,
|
|
1893
1893
|
as: t = "span",
|
|
@@ -1897,7 +1897,7 @@ const vn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1897
1897
|
className: v(n, e),
|
|
1898
1898
|
...r
|
|
1899
1899
|
})));
|
|
1900
|
-
|
|
1900
|
+
xn.displayName = "DropdownItemText";
|
|
1901
1901
|
const He = /* @__PURE__ */ M.createContext(null);
|
|
1902
1902
|
He.displayName = "InputGroupContext";
|
|
1903
1903
|
const bn = /* @__PURE__ */ M.createContext(null);
|
|
@@ -1929,26 +1929,26 @@ const jn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1929
1929
|
variant: u,
|
|
1930
1930
|
...d
|
|
1931
1931
|
}, h) => {
|
|
1932
|
-
let
|
|
1933
|
-
const g = D(bn),
|
|
1934
|
-
align:
|
|
1932
|
+
let f = !1;
|
|
1933
|
+
const g = D(bn), x = Y(n, "dropdown-menu"), {
|
|
1934
|
+
align: m,
|
|
1935
1935
|
drop: p,
|
|
1936
|
-
isRTL:
|
|
1936
|
+
isRTL: j
|
|
1937
1937
|
} = D(it);
|
|
1938
|
-
t = t ||
|
|
1939
|
-
const
|
|
1938
|
+
t = t || m;
|
|
1939
|
+
const k = D(He), b = [];
|
|
1940
1940
|
if (t)
|
|
1941
1941
|
if (typeof t == "object") {
|
|
1942
1942
|
const N = Object.keys(t);
|
|
1943
1943
|
if (process.env.NODE_ENV !== "production" && tt(N.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), N.length) {
|
|
1944
1944
|
const S = N[0], q = t[S];
|
|
1945
|
-
|
|
1945
|
+
f = q === "start", b.push(`${x}-${S}-${q}`);
|
|
1946
1946
|
}
|
|
1947
1947
|
} else
|
|
1948
|
-
t === "end" && (
|
|
1949
|
-
const I = kn(
|
|
1948
|
+
t === "end" && (f = !0);
|
|
1949
|
+
const I = kn(f, p, j), [y, {
|
|
1950
1950
|
hasShown: _,
|
|
1951
|
-
popper:
|
|
1951
|
+
popper: C,
|
|
1952
1952
|
show: $,
|
|
1953
1953
|
toggle: L
|
|
1954
1954
|
}] = cn({
|
|
@@ -1960,23 +1960,23 @@ const jn = /* @__PURE__ */ M.forwardRef(({
|
|
|
1960
1960
|
popperConfig: c,
|
|
1961
1961
|
placement: I
|
|
1962
1962
|
});
|
|
1963
|
-
if (
|
|
1964
|
-
$ && (
|
|
1965
|
-
}, [$]), !_ && !i && !
|
|
1963
|
+
if (y.ref = et(_n(h, "DropdownMenu"), y.ref), ir(() => {
|
|
1964
|
+
$ && (C == null || C.update());
|
|
1965
|
+
}, [$]), !_ && !i && !k)
|
|
1966
1966
|
return null;
|
|
1967
|
-
typeof l != "string" && (
|
|
1967
|
+
typeof l != "string" && (y.show = $, y.close = () => L == null ? void 0 : L(!1), y.align = t);
|
|
1968
1968
|
let P = d.style;
|
|
1969
|
-
return
|
|
1969
|
+
return C != null && C.placement && (P = {
|
|
1970
1970
|
...d.style,
|
|
1971
|
-
...
|
|
1972
|
-
}, d["x-placement"] =
|
|
1971
|
+
...y.style
|
|
1972
|
+
}, d["x-placement"] = C.placement), /* @__PURE__ */ s.jsx(l, {
|
|
1973
1973
|
...d,
|
|
1974
|
-
...
|
|
1974
|
+
...y,
|
|
1975
1975
|
style: P,
|
|
1976
1976
|
...(b.length || g) && {
|
|
1977
1977
|
"data-bs-popper": "static"
|
|
1978
1978
|
},
|
|
1979
|
-
className: v(e,
|
|
1979
|
+
className: v(e, x, $ && "show", f && `${x}-end`, u && `${x}-${u}`, ...b)
|
|
1980
1980
|
});
|
|
1981
1981
|
});
|
|
1982
1982
|
jn.displayName = "DropdownMenu";
|
|
@@ -2012,35 +2012,35 @@ const Nn = /* @__PURE__ */ M.forwardRef((n, e) => {
|
|
|
2012
2012
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2013
2013
|
as: d = "div",
|
|
2014
2014
|
navbar: h,
|
|
2015
|
-
autoClose:
|
|
2015
|
+
autoClose: f = !0,
|
|
2016
2016
|
...g
|
|
2017
2017
|
} = cr(n, {
|
|
2018
2018
|
show: "onToggle"
|
|
2019
|
-
}),
|
|
2019
|
+
}), x = D(He), m = Y(t, "dropdown"), p = lr(), j = (C) => f === !1 ? C === "click" : f === "inside" ? C !== "rootClose" : f === "outside" ? C !== "select" : !0, k = he((C, $) => {
|
|
2020
2020
|
var L, P;
|
|
2021
|
-
!((L = $.originalEvent) == null || (P = L.target) == null) && P.classList.contains("dropdown-toggle") && $.source === "mousedown" || ($.originalEvent.currentTarget === document && ($.source !== "keydown" || $.originalEvent.key === "Escape") && ($.source = "rootClose"),
|
|
2022
|
-
}), I = kn(i === "end", r, p),
|
|
2021
|
+
!((L = $.originalEvent) == null || (P = L.target) == null) && P.classList.contains("dropdown-toggle") && $.source === "mousedown" || ($.originalEvent.currentTarget === document && ($.source !== "keydown" || $.originalEvent.key === "Escape") && ($.source = "rootClose"), j($.source) && (c == null || c(C, $)));
|
|
2022
|
+
}), I = kn(i === "end", r, p), y = G(() => ({
|
|
2023
2023
|
align: i,
|
|
2024
2024
|
drop: r,
|
|
2025
2025
|
isRTL: p
|
|
2026
2026
|
}), [i, r, p]), _ = {
|
|
2027
|
-
down:
|
|
2028
|
-
"down-centered": `${
|
|
2027
|
+
down: m,
|
|
2028
|
+
"down-centered": `${m}-center`,
|
|
2029
2029
|
up: "dropup",
|
|
2030
2030
|
"up-centered": "dropup-center dropup",
|
|
2031
2031
|
end: "dropend",
|
|
2032
2032
|
start: "dropstart"
|
|
2033
2033
|
};
|
|
2034
2034
|
return /* @__PURE__ */ s.jsx(it.Provider, {
|
|
2035
|
-
value:
|
|
2035
|
+
value: y,
|
|
2036
2036
|
children: /* @__PURE__ */ s.jsx(Ie, {
|
|
2037
2037
|
placement: I,
|
|
2038
2038
|
show: o,
|
|
2039
2039
|
onSelect: l,
|
|
2040
|
-
onToggle:
|
|
2040
|
+
onToggle: k,
|
|
2041
2041
|
focusFirstItemOnShow: u,
|
|
2042
|
-
itemSelector: `.${
|
|
2043
|
-
children:
|
|
2042
|
+
itemSelector: `.${m}-item:not(.disabled):not(:disabled)`,
|
|
2043
|
+
children: x ? g.children : /* @__PURE__ */ s.jsx(d, {
|
|
2044
2044
|
...g,
|
|
2045
2045
|
ref: e,
|
|
2046
2046
|
className: v(a, o && "show", _[r])
|
|
@@ -2052,11 +2052,11 @@ Nn.displayName = "Dropdown";
|
|
|
2052
2052
|
const $e = Object.assign(Nn, {
|
|
2053
2053
|
Toggle: Cn,
|
|
2054
2054
|
Menu: jn,
|
|
2055
|
-
Item:
|
|
2056
|
-
ItemText:
|
|
2055
|
+
Item: vn,
|
|
2056
|
+
ItemText: xn,
|
|
2057
2057
|
Divider: wn,
|
|
2058
2058
|
Header: yn
|
|
2059
|
-
}),
|
|
2059
|
+
}), ms = {
|
|
2060
2060
|
/**
|
|
2061
2061
|
* Specify whether the feedback is for valid or invalid fields
|
|
2062
2062
|
*
|
|
@@ -2081,7 +2081,7 @@ const $e = Object.assign(Nn, {
|
|
|
2081
2081
|
})
|
|
2082
2082
|
);
|
|
2083
2083
|
Be.displayName = "Feedback";
|
|
2084
|
-
Be.propTypes =
|
|
2084
|
+
Be.propTypes = ms;
|
|
2085
2085
|
const Te = /* @__PURE__ */ M.forwardRef(({
|
|
2086
2086
|
id: n,
|
|
2087
2087
|
bsPrefix: e,
|
|
@@ -2135,38 +2135,38 @@ const $n = /* @__PURE__ */ M.forwardRef(({
|
|
|
2135
2135
|
feedback: u,
|
|
2136
2136
|
feedbackType: d,
|
|
2137
2137
|
className: h,
|
|
2138
|
-
style:
|
|
2138
|
+
style: f,
|
|
2139
2139
|
title: g = "",
|
|
2140
|
-
type:
|
|
2141
|
-
label:
|
|
2140
|
+
type: x = "checkbox",
|
|
2141
|
+
label: m,
|
|
2142
2142
|
children: p,
|
|
2143
2143
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2144
|
-
as:
|
|
2145
|
-
...
|
|
2144
|
+
as: j = "input",
|
|
2145
|
+
...k
|
|
2146
2146
|
}, b) => {
|
|
2147
2147
|
e = Y(e, "form-check"), t = Y(t, "form-switch");
|
|
2148
2148
|
const {
|
|
2149
2149
|
controlId: I
|
|
2150
|
-
} = D(se),
|
|
2150
|
+
} = D(se), y = G(() => ({
|
|
2151
2151
|
controlId: n || I
|
|
2152
|
-
}), [I, n]), _ = !p &&
|
|
2153
|
-
...
|
|
2154
|
-
type:
|
|
2152
|
+
}), [I, n]), _ = !p && m != null && m !== !1 || zo(p, We), C = /* @__PURE__ */ s.jsx(Te, {
|
|
2153
|
+
...k,
|
|
2154
|
+
type: x === "switch" ? "checkbox" : x,
|
|
2155
2155
|
ref: b,
|
|
2156
2156
|
isValid: i,
|
|
2157
2157
|
isInvalid: l,
|
|
2158
2158
|
disabled: a,
|
|
2159
|
-
as:
|
|
2159
|
+
as: j
|
|
2160
2160
|
});
|
|
2161
2161
|
return /* @__PURE__ */ s.jsx(se.Provider, {
|
|
2162
|
-
value:
|
|
2162
|
+
value: y,
|
|
2163
2163
|
children: /* @__PURE__ */ s.jsx("div", {
|
|
2164
|
-
style:
|
|
2165
|
-
className: v(h, _ && e, r && `${e}-inline`, o && `${e}-reverse`,
|
|
2164
|
+
style: f,
|
|
2165
|
+
className: v(h, _ && e, r && `${e}-inline`, o && `${e}-reverse`, x === "switch" && t),
|
|
2166
2166
|
children: p || /* @__PURE__ */ s.jsxs(s.Fragment, {
|
|
2167
|
-
children: [
|
|
2167
|
+
children: [C, _ && /* @__PURE__ */ s.jsx(We, {
|
|
2168
2168
|
title: g,
|
|
2169
|
-
children:
|
|
2169
|
+
children: m
|
|
2170
2170
|
}), u && /* @__PURE__ */ s.jsx(Be, {
|
|
2171
2171
|
type: d,
|
|
2172
2172
|
tooltip: c,
|
|
@@ -2194,7 +2194,7 @@ const Re = Object.assign($n, {
|
|
|
2194
2194
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2195
2195
|
as: d = "input",
|
|
2196
2196
|
...h
|
|
2197
|
-
},
|
|
2197
|
+
}, f) => {
|
|
2198
2198
|
const {
|
|
2199
2199
|
controlId: g
|
|
2200
2200
|
} = D(se);
|
|
@@ -2202,7 +2202,7 @@ const Re = Object.assign($n, {
|
|
|
2202
2202
|
...h,
|
|
2203
2203
|
type: e,
|
|
2204
2204
|
size: r,
|
|
2205
|
-
ref:
|
|
2205
|
+
ref: f,
|
|
2206
2206
|
readOnly: u,
|
|
2207
2207
|
id: o || g,
|
|
2208
2208
|
className: v(a, c ? `${n}-plaintext` : n, t && `${n}-${t}`, e === "color" && `${n}-color`, i && "is-valid", l && "is-invalid")
|
|
@@ -2426,13 +2426,13 @@ const ze = Object.assign(An, {
|
|
|
2426
2426
|
});
|
|
2427
2427
|
lt.displayName = "Spinner";
|
|
2428
2428
|
/*! @azure/msal-common v14.10.0 2024-05-07 */
|
|
2429
|
-
const Fn = "client_info_decoding_error", Wn = "client_info_empty_error",
|
|
2429
|
+
const Fn = "client_info_decoding_error", Wn = "client_info_empty_error", vs = "token_parsing_error", xs = "null_or_empty_token", bs = "endpoints_resolution_error", _s = "network_error", ks = "openid_config_error", js = "hash_not_deserialized", Cs = "invalid_state", Ns = "state_mismatch", $s = "state_not_found", Is = "nonce_mismatch", Ts = "auth_time_not_found", Ss = "max_age_transpired", Es = "multiple_matching_tokens", Os = "multiple_matching_accounts", Ms = "multiple_matching_appMetadata", Ps = "request_cannot_be_made", Ds = "cannot_remove_empty_scope", As = "cannot_append_scopeset", Fs = "empty_input_scopeset", Ws = "device_code_polling_cancelled", Rs = "device_code_expired", qs = "device_code_unknown_error", Ls = "no_account_in_silent_request", Ys = "invalid_cache_record", Rn = "invalid_cache_environment", Hs = "no_account_found", Bs = "no_crypto_object", Gs = "unexpected_credential_type", Us = "invalid_assertion", Vs = "invalid_client_credential", Ks = "token_refresh_required", zs = "user_timeout_reached", Qs = "token_claims_cnf_required_for_signedjwt", Xs = "authorization_code_missing_from_server_response", Js = "binding_key_not_removed", Zs = "end_session_endpoint_not_supported", ea = "key_id_missing", ta = "no_network_connectivity", na = "user_canceled", ra = "missing_tenant_id_error", oa = "method_not_implemented", sa = "nested_app_auth_bridge_disabled";
|
|
2430
2430
|
/*! @azure/msal-common v14.10.0 2024-05-07 */
|
|
2431
2431
|
const $t = {
|
|
2432
2432
|
[Fn]: "The client info could not be parsed/decoded correctly",
|
|
2433
2433
|
[Wn]: "The client info was empty",
|
|
2434
|
-
[
|
|
2435
|
-
[
|
|
2434
|
+
[vs]: "Token cannot be parsed",
|
|
2435
|
+
[xs]: "The token is null or empty",
|
|
2436
2436
|
[bs]: "Endpoints cannot be resolved",
|
|
2437
2437
|
[_s]: "Network request failed",
|
|
2438
2438
|
[ks]: "Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",
|
|
@@ -2528,7 +2528,7 @@ class Ce {
|
|
|
2528
2528
|
* Generate Account Id key component as per the schema: <home_account_id>-<environment>
|
|
2529
2529
|
*/
|
|
2530
2530
|
generateAccountId() {
|
|
2531
|
-
return [this.homeAccountId, this.environment].join(
|
|
2531
|
+
return [this.homeAccountId, this.environment].join(mt.CACHE_KEY_SEPARATOR).toLowerCase();
|
|
2532
2532
|
}
|
|
2533
2533
|
/**
|
|
2534
2534
|
* Generate Account Cache Key as per the schema: <home_account_id>-<environment>-<realm*>
|
|
@@ -2575,7 +2575,7 @@ class Ce {
|
|
|
2575
2575
|
e.homeAccountId,
|
|
2576
2576
|
e.environment || "",
|
|
2577
2577
|
t || e.tenantId || ""
|
|
2578
|
-
].join(
|
|
2578
|
+
].join(mt.CACHE_KEY_SEPARATOR).toLowerCase();
|
|
2579
2579
|
}
|
|
2580
2580
|
/**
|
|
2581
2581
|
* Build Account cache from IdToken, clientInfo and authority/policy. Associated with AAD.
|
|
@@ -2687,15 +2687,15 @@ const Pe = {
|
|
|
2687
2687
|
desc: "Interaction is required but another interaction is already in progress. Please try again when the current interaction is complete."
|
|
2688
2688
|
}
|
|
2689
2689
|
};
|
|
2690
|
-
class
|
|
2690
|
+
class ve extends nt {
|
|
2691
2691
|
constructor(e, t) {
|
|
2692
|
-
super(e, t), Object.setPrototypeOf(this,
|
|
2692
|
+
super(e, t), Object.setPrototypeOf(this, ve.prototype), this.name = "ReactAuthError";
|
|
2693
2693
|
}
|
|
2694
2694
|
static createInvalidInteractionTypeError() {
|
|
2695
|
-
return new
|
|
2695
|
+
return new ve(Pe.invalidInteractionType.code, Pe.invalidInteractionType.desc);
|
|
2696
2696
|
}
|
|
2697
2697
|
static createUnableToFallbackToInteractionError() {
|
|
2698
|
-
return new
|
|
2698
|
+
return new ve(Pe.unableToFallbackToInteraction.code, Pe.unableToFallbackToInteraction.desc);
|
|
2699
2699
|
}
|
|
2700
2700
|
}
|
|
2701
2701
|
/*! @azure/msal-react v2.0.16 2024-05-07 */
|
|
@@ -2704,9 +2704,9 @@ function da(n, e, t) {
|
|
|
2704
2704
|
E(() => () => {
|
|
2705
2705
|
h.current = !1;
|
|
2706
2706
|
}, []);
|
|
2707
|
-
const
|
|
2707
|
+
const f = R(o !== je.None);
|
|
2708
2708
|
E(() => {
|
|
2709
|
-
|
|
2709
|
+
f.current = o !== je.None;
|
|
2710
2710
|
}, [o]);
|
|
2711
2711
|
const g = R(!0);
|
|
2712
2712
|
E(() => {
|
|
@@ -2719,9 +2719,9 @@ function da(n, e, t) {
|
|
|
2719
2719
|
return;
|
|
2720
2720
|
}
|
|
2721
2721
|
}, [u, c]);
|
|
2722
|
-
const
|
|
2723
|
-
const
|
|
2724
|
-
switch (
|
|
2722
|
+
const x = T(async (p, j) => {
|
|
2723
|
+
const k = p || n, b = j || e;
|
|
2724
|
+
switch (k) {
|
|
2725
2725
|
case De.Popup:
|
|
2726
2726
|
return a.verbose("useMsalAuthentication - Calling loginPopup"), r.loginPopup(b);
|
|
2727
2727
|
case De.Redirect:
|
|
@@ -2729,27 +2729,27 @@ function da(n, e, t) {
|
|
|
2729
2729
|
case De.Silent:
|
|
2730
2730
|
return a.verbose("useMsalAuthentication - Calling ssoSilent"), r.ssoSilent(b);
|
|
2731
2731
|
default:
|
|
2732
|
-
throw
|
|
2732
|
+
throw ve.createInvalidInteractionTypeError();
|
|
2733
2733
|
}
|
|
2734
|
-
}, [r, n, e, a]),
|
|
2735
|
-
const
|
|
2734
|
+
}, [r, n, e, a]), m = T(async (p, j) => {
|
|
2735
|
+
const k = p || n;
|
|
2736
2736
|
let b;
|
|
2737
|
-
return
|
|
2738
|
-
...
|
|
2737
|
+
return j ? (a.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), b = {
|
|
2738
|
+
...j
|
|
2739
2739
|
}) : e ? (a.trace("useMsalAuthentication - acquireToken - Using request provided in the hook"), b = {
|
|
2740
2740
|
...e,
|
|
2741
2741
|
scopes: e.scopes || pt
|
|
2742
2742
|
}) : (a.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), b = {
|
|
2743
2743
|
scopes: pt
|
|
2744
|
-
}), !b.account && l && (a.trace("useMsalAuthentication - acquireToken - Attaching account to request"), b.account = l), (async () => (a.verbose("useMsalAuthentication - Calling acquireTokenSilent"), r.acquireTokenSilent(b).catch(async (
|
|
2745
|
-
if (
|
|
2746
|
-
if (
|
|
2747
|
-
throw a.error("useMsalAuthentication - Interaction required but is already in progress. Please try again, if needed, after interaction completes."),
|
|
2748
|
-
return a.error("useMsalAuthentication - Interaction required, falling back to interaction"),
|
|
2744
|
+
}), !b.account && l && (a.trace("useMsalAuthentication - acquireToken - Attaching account to request"), b.account = l), (async () => (a.verbose("useMsalAuthentication - Calling acquireTokenSilent"), r.acquireTokenSilent(b).catch(async (y) => {
|
|
2745
|
+
if (y instanceof dt) {
|
|
2746
|
+
if (f.current)
|
|
2747
|
+
throw a.error("useMsalAuthentication - Interaction required but is already in progress. Please try again, if needed, after interaction completes."), ve.createUnableToFallbackToInteractionError();
|
|
2748
|
+
return a.error("useMsalAuthentication - Interaction required, falling back to interaction"), x(k, b);
|
|
2749
2749
|
}
|
|
2750
|
-
throw
|
|
2751
|
-
})))().then((
|
|
2752
|
-
throw h.current && d([null,
|
|
2750
|
+
throw y;
|
|
2751
|
+
})))().then((y) => (h.current && d([y, null]), y)).catch((y) => {
|
|
2752
|
+
throw h.current && d([null, y]), y;
|
|
2753
2753
|
});
|
|
2754
2754
|
}, [
|
|
2755
2755
|
r,
|
|
@@ -2757,21 +2757,21 @@ function da(n, e, t) {
|
|
|
2757
2757
|
e,
|
|
2758
2758
|
a,
|
|
2759
2759
|
l,
|
|
2760
|
-
|
|
2760
|
+
x
|
|
2761
2761
|
]);
|
|
2762
2762
|
return E(() => {
|
|
2763
|
-
const p = r.addEventCallback((
|
|
2764
|
-
switch (
|
|
2763
|
+
const p = r.addEventCallback((j) => {
|
|
2764
|
+
switch (j.eventType) {
|
|
2765
2765
|
case Oe.LOGIN_SUCCESS:
|
|
2766
2766
|
case Oe.SSO_SILENT_SUCCESS:
|
|
2767
|
-
|
|
2768
|
-
|
|
2767
|
+
j.payload && d([
|
|
2768
|
+
j.payload,
|
|
2769
2769
|
null
|
|
2770
2770
|
]);
|
|
2771
2771
|
break;
|
|
2772
2772
|
case Oe.LOGIN_FAILURE:
|
|
2773
2773
|
case Oe.SSO_SILENT_FAILURE:
|
|
2774
|
-
|
|
2774
|
+
j.error && d([null, j.error]);
|
|
2775
2775
|
break;
|
|
2776
2776
|
}
|
|
2777
2777
|
});
|
|
@@ -2779,12 +2779,12 @@ function da(n, e, t) {
|
|
|
2779
2779
|
p && (a.verbose(`useMsalAuthentication - Removing event callback ${p}`), r.removeEventCallback(p));
|
|
2780
2780
|
};
|
|
2781
2781
|
}, [r, a]), E(() => {
|
|
2782
|
-
g.current && o === je.None && (g.current = !1, i ? l && (a.info("useMsalAuthentication - User is authenticated, attempting to acquire token"),
|
|
2783
|
-
})) : (a.info("useMsalAuthentication - No user is authenticated, attempting to login"),
|
|
2782
|
+
g.current && o === je.None && (g.current = !1, i ? l && (a.info("useMsalAuthentication - User is authenticated, attempting to acquire token"), m().catch(() => {
|
|
2783
|
+
})) : (a.info("useMsalAuthentication - No user is authenticated, attempting to login"), x().catch(() => {
|
|
2784
2784
|
})));
|
|
2785
|
-
}, [i, l, o,
|
|
2786
|
-
login:
|
|
2787
|
-
acquireToken:
|
|
2785
|
+
}, [i, l, o, x, m, a]), {
|
|
2786
|
+
login: x,
|
|
2787
|
+
acquireToken: m,
|
|
2788
2788
|
result: c,
|
|
2789
2789
|
error: u
|
|
2790
2790
|
};
|
|
@@ -2801,28 +2801,28 @@ function ha({ interactionType: n, username: e, homeAccountId: t, localAccountId:
|
|
|
2801
2801
|
return z.createElement(i, { ...d });
|
|
2802
2802
|
throw d.error;
|
|
2803
2803
|
}
|
|
2804
|
-
return h ? z.createElement(z.Fragment, null,
|
|
2804
|
+
return h ? z.createElement(z.Fragment, null, fr(l, d)) : a && u.inProgress !== je.None ? z.createElement(a, { ...u }) : null;
|
|
2805
2805
|
}
|
|
2806
|
-
const
|
|
2807
|
-
button:
|
|
2808
|
-
filled:
|
|
2806
|
+
const fa = "_button_1wjon_1", ma = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga = "_md_1wjon_18", wa = "_lg_1wjon_23", ge = {
|
|
2807
|
+
button: fa,
|
|
2808
|
+
filled: ma,
|
|
2809
2809
|
sm: pa,
|
|
2810
2810
|
md: ga,
|
|
2811
2811
|
lg: wa
|
|
2812
2812
|
}, St = ({ variant: n = "filled", color: e = "primary", size: t = "md", className: r, children: o, ...a }) => {
|
|
2813
2813
|
const { LinkComponent: i } = D(ae);
|
|
2814
2814
|
return a.as === "link" ? /* @__PURE__ */ s.jsx(i, { to: a.href ?? "/", className: v(`luminus-primary-button ${e} btn ${n === "outlined" ? `btn-outline-${e}` : `btn-${e}`} ${r ?? ""}`, ge.button, ge[n], ge[t]), ...a, children: o }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ s.jsx("button", { type: "button", className: v(`luminus-primary-button ${e} btn ${n === "outlined" ? `btn-outline-${e}` : `btn-${e}`} ${r ?? ""}`, ge.button, ge[n], ge[t]), ...a, children: o }) : null;
|
|
2815
|
-
}, ya = "_submit-container_a9slg_1",
|
|
2815
|
+
}, ya = "_submit-container_a9slg_1", va = "_spacer_a9slg_14", Et = {
|
|
2816
2816
|
"submit-container": "_submit-container_a9slg_1",
|
|
2817
2817
|
submitContainer: ya,
|
|
2818
|
-
spacer:
|
|
2819
|
-
},
|
|
2818
|
+
spacer: va
|
|
2819
|
+
}, xa = ({ children: n, onStorno: e }) => {
|
|
2820
2820
|
const { formSubmitTexts: t } = D(ae);
|
|
2821
2821
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
2822
2822
|
/* @__PURE__ */ s.jsx("div", { className: Et.spacer }),
|
|
2823
2823
|
/* @__PURE__ */ s.jsxs("div", { className: v("luminus-floating-submit-container shadow", Et.submitContainer), children: [
|
|
2824
2824
|
/* @__PURE__ */ s.jsxs(St, { as: "button", color: "primary", size: "lg", type: "submit", children: [
|
|
2825
|
-
/* @__PURE__ */ s.jsx(
|
|
2825
|
+
/* @__PURE__ */ s.jsx(mr, {}),
|
|
2826
2826
|
n
|
|
2827
2827
|
] }),
|
|
2828
2828
|
e && /* @__PURE__ */ s.jsxs(St, { as: "button", color: "secondary", variant: "outlined", size: "lg", onClick: e, children: [
|
|
@@ -2896,7 +2896,7 @@ const ma = "_button_1wjon_1", fa = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga =
|
|
|
2896
2896
|
widget: Na
|
|
2897
2897
|
}, Ia = ({ show: n, widgets: e, handleClose: t, onWidgetPicked: r, texts: o }) => /* @__PURE__ */ s.jsxs(Me, { show: n, onHide: () => t(), children: [
|
|
2898
2898
|
/* @__PURE__ */ s.jsx(Me.Header, { closeButton: !0, children: /* @__PURE__ */ s.jsx(Me.Title, { children: o.pickWidgetToAdd }) }),
|
|
2899
|
-
/* @__PURE__ */ s.jsx(Me.Body, { children: /* @__PURE__ */ s.jsx("div", { className: "list-group", children: e.filter((a) => a.id >= 0).map((a) => /* @__PURE__ */ s.jsx("div", { role: "button", className: "list-group-item bg-white", onClick: () => r(a.id), children: /* @__PURE__ */ s.jsx(
|
|
2899
|
+
/* @__PURE__ */ s.jsx(Me.Body, { children: /* @__PURE__ */ s.jsx("div", { className: "list-group", children: e.filter((a) => a.id >= 0).map((a) => /* @__PURE__ */ s.jsx("div", { role: "button", className: "list-group-item bg-white", onClick: () => r(a.id), children: /* @__PURE__ */ s.jsx(V, { variant: "body", children: a.name }) })) }) })
|
|
2900
2900
|
] }), Mt = ({ availableWidgets: n, onAdd: e, texts: t }) => {
|
|
2901
2901
|
const [r, o] = O(!1);
|
|
2902
2902
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
@@ -2935,37 +2935,37 @@ const ma = "_button_1wjon_1", fa = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga =
|
|
|
2935
2935
|
widgetEditOverlay: Fa
|
|
2936
2936
|
}, dc = ({ availableWidgets: n }) => {
|
|
2937
2937
|
var d;
|
|
2938
|
-
const { homeDashboardTexts: e } = D(ae), { dashboardConfig: t, onChangeDashboardConfig: r } = Ta(), [o, a] = O(!1), i = T((h,
|
|
2939
|
-
var g,
|
|
2938
|
+
const { homeDashboardTexts: e } = D(ae), { dashboardConfig: t, onChangeDashboardConfig: r } = Ta(), [o, a] = O(!1), i = T((h, f) => {
|
|
2939
|
+
var g, x;
|
|
2940
2940
|
h === ((g = t.widgets) == null ? void 0 : g.length) ? r({
|
|
2941
2941
|
...t,
|
|
2942
|
-
widgets: [...t.widgets, { widgetId:
|
|
2942
|
+
widgets: [...t.widgets, { widgetId: f, fullWidth: !1 }]
|
|
2943
2943
|
}) : r({
|
|
2944
2944
|
...t,
|
|
2945
|
-
widgets: ((
|
|
2945
|
+
widgets: ((x = t.widgets) == null ? void 0 : x.map((m, p) => p === h ? { widgetId: f, fullWidth: !1 } : m)) ?? []
|
|
2946
2946
|
});
|
|
2947
2947
|
}, [t, r]), l = T((h) => {
|
|
2948
|
-
var
|
|
2949
|
-
((
|
|
2948
|
+
var f, g;
|
|
2949
|
+
((f = t.widgets[h]) == null ? void 0 : f.widgetId) === -1 ? r({
|
|
2950
2950
|
...t,
|
|
2951
|
-
widgets: ((g = t.widgets) == null ? void 0 : g.filter((
|
|
2951
|
+
widgets: ((g = t.widgets) == null ? void 0 : g.filter((x, m) => m !== h)) ?? []
|
|
2952
2952
|
}) : i(h, -1);
|
|
2953
2953
|
}, [t, r, i]), c = T((h) => {
|
|
2954
|
-
var
|
|
2954
|
+
var f;
|
|
2955
2955
|
r({
|
|
2956
2956
|
...t,
|
|
2957
|
-
widgets: ((
|
|
2957
|
+
widgets: ((f = t.widgets) == null ? void 0 : f.map((g, x) => x === h ? { ...g, fullWidth: !g.fullWidth } : g)) ?? []
|
|
2958
2958
|
});
|
|
2959
|
-
}, [t, r]), u = T((h,
|
|
2959
|
+
}, [t, r]), u = T((h, f, g) => h ? /* @__PURE__ */ s.jsxs("div", { className: v(ne.widgetWrapper, {
|
|
2960
2960
|
[ne.widgetEdit]: o && h.id !== -1
|
|
2961
2961
|
}, { [ne.fullWidth]: g }), children: [
|
|
2962
2962
|
o && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
2963
|
-
/* @__PURE__ */ s.jsx(X, { color: "danger", onClick: () => l(
|
|
2964
|
-
/* @__PURE__ */ s.jsx(X, { color: g ? "danger" : "primary", onClick: () => c(
|
|
2963
|
+
/* @__PURE__ */ s.jsx(X, { color: "danger", onClick: () => l(f), className: v(ne.removeIcon), children: /* @__PURE__ */ s.jsx(Lt, {}) }),
|
|
2964
|
+
/* @__PURE__ */ s.jsx(X, { color: g ? "danger" : "primary", onClick: () => c(f), className: v(ne.fullWidthIcon), children: /* @__PURE__ */ s.jsx(wr, {}) })
|
|
2965
2965
|
] }),
|
|
2966
|
-
h.id === -1 ? o && /* @__PURE__ */ s.jsx("div", { className: ne.widgetWrapper, children: /* @__PURE__ */ s.jsx(Mt, { availableWidgets: n, onAdd: (
|
|
2966
|
+
h.id === -1 ? o && /* @__PURE__ */ s.jsx("div", { className: ne.widgetWrapper, children: /* @__PURE__ */ s.jsx(Mt, { availableWidgets: n, onAdd: (x) => i(f, x), texts: e }) }) : h.render,
|
|
2967
2967
|
h.id > -1 && o && /* @__PURE__ */ s.jsx("div", { className: ne.widgetEditOverlay })
|
|
2968
|
-
] },
|
|
2968
|
+
] }, f) : /* @__PURE__ */ s.jsx(s.Fragment, {}), [
|
|
2969
2969
|
o,
|
|
2970
2970
|
i,
|
|
2971
2971
|
l,
|
|
@@ -2974,12 +2974,12 @@ const ma = "_button_1wjon_1", fa = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga =
|
|
|
2974
2974
|
e
|
|
2975
2975
|
]);
|
|
2976
2976
|
return /* @__PURE__ */ s.jsxs("div", { className: ne.dashboard, children: [
|
|
2977
|
-
/* @__PURE__ */ s.jsx("div", { className: "mb-3 d-flex align-items-center justify-content-end", children: /* @__PURE__ */ s.jsx(qn, { as: "button", color: o ? "success" : "primary", icon: o ? /* @__PURE__ */ s.jsx(yr, {}) : /* @__PURE__ */ s.jsx(
|
|
2977
|
+
/* @__PURE__ */ s.jsx("div", { className: "mb-3 d-flex align-items-center justify-content-end", children: /* @__PURE__ */ s.jsx(qn, { as: "button", color: o ? "success" : "primary", icon: o ? /* @__PURE__ */ s.jsx(yr, {}) : /* @__PURE__ */ s.jsx(vr, {}), onClick: () => a(!o), children: o ? e.dashboardEditDone : e.dashboardEdit }) }),
|
|
2978
2978
|
/* @__PURE__ */ s.jsxs("div", { className: ne.widgetsGrid, children: [
|
|
2979
|
-
(d = t.widgets) == null ? void 0 : d.map((h,
|
|
2979
|
+
(d = t.widgets) == null ? void 0 : d.map((h, f) => u(n.find((g) => g.id === h.widgetId), f, h.fullWidth)),
|
|
2980
2980
|
o && /* @__PURE__ */ s.jsx(Mt, { availableWidgets: n, onAdd: (h) => {
|
|
2981
|
-
var
|
|
2982
|
-
return i((
|
|
2981
|
+
var f;
|
|
2982
|
+
return i((f = t.widgets) == null ? void 0 : f.length, h);
|
|
2983
2983
|
}, texts: e })
|
|
2984
2984
|
] })
|
|
2985
2985
|
] });
|
|
@@ -2992,13 +2992,13 @@ const ma = "_button_1wjon_1", fa = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga =
|
|
|
2992
2992
|
"collapse-icon": "_collapse-icon_1ahhn_1",
|
|
2993
2993
|
collapseIcon: Ya,
|
|
2994
2994
|
collapsed: Ha
|
|
2995
|
-
},
|
|
2995
|
+
}, fc = ({ title: n, children: e, className: t, ...r }) => {
|
|
2996
2996
|
const o = r.controlled ? !1 : r.defaultOpen ?? !1, [a, i] = O(o), l = r.controlled ? r.isOpen : a;
|
|
2997
2997
|
return E(() => {
|
|
2998
2998
|
i(o);
|
|
2999
2999
|
}, [o]), /* @__PURE__ */ s.jsxs("div", { className: t ?? "", children: [
|
|
3000
3000
|
/* @__PURE__ */ s.jsxs("div", { role: "button", className: "d-flex align-items-center justify-content-between pb-3 pt-2", onClick: () => r.controlled ? r.onToggle(!r.isOpen) : i(!a), children: [
|
|
3001
|
-
/* @__PURE__ */ s.jsx(
|
|
3001
|
+
/* @__PURE__ */ s.jsx(V, { variant: "h6", children: n }),
|
|
3002
3002
|
/* @__PURE__ */ s.jsx(Yt, { className: v(Dt.collapseIcon, {
|
|
3003
3003
|
[Dt.collapsed]: l
|
|
3004
3004
|
}) })
|
|
@@ -3010,18 +3010,18 @@ const ma = "_button_1wjon_1", fa = "_filled_1wjon_7", pa = "_sm_1wjon_13", ga =
|
|
|
3010
3010
|
feedback: Ba,
|
|
3011
3011
|
"feedback-spacer": "_feedback-spacer_esh1j_8",
|
|
3012
3012
|
feedbackSpacer: Ga
|
|
3013
|
-
},
|
|
3013
|
+
}, me = ({ message: n }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
3014
3014
|
/* @__PURE__ */ s.jsx("div", { className: v("invalid-feedback luminus-invalid-feedback", At.feedback), children: n }),
|
|
3015
3015
|
/* @__PURE__ */ s.jsx("div", { className: v("invalid-feedback-spacer", At.feedbackSpacer), children: n })
|
|
3016
3016
|
] });
|
|
3017
3017
|
function Ua(n, e, t) {
|
|
3018
3018
|
var r = this, o = R(null), a = R(0), i = R(null), l = R([]), c = R(), u = R(), d = R(n), h = R(!0);
|
|
3019
3019
|
d.current = n;
|
|
3020
|
-
var
|
|
3020
|
+
var f = typeof window < "u", g = !e && e !== 0 && f;
|
|
3021
3021
|
if (typeof n != "function")
|
|
3022
3022
|
throw new TypeError("Expected a function");
|
|
3023
3023
|
e = +e || 0;
|
|
3024
|
-
var
|
|
3024
|
+
var x = !!(t = t || {}).leading, m = !("trailing" in t) || !!t.trailing, p = "maxWait" in t, j = "debounceOnServer" in t && !!t.debounceOnServer, k = p ? Math.max(+t.maxWait || 0, e) : null;
|
|
3025
3025
|
E(function() {
|
|
3026
3026
|
return h.current = !0, function() {
|
|
3027
3027
|
h.current = !1;
|
|
@@ -3031,33 +3031,33 @@ function Ua(n, e, t) {
|
|
|
3031
3031
|
var I = function(P) {
|
|
3032
3032
|
var N = l.current, S = c.current;
|
|
3033
3033
|
return l.current = c.current = null, a.current = P, u.current = d.current.apply(S, N);
|
|
3034
|
-
},
|
|
3034
|
+
}, y = function(P, N) {
|
|
3035
3035
|
g && cancelAnimationFrame(i.current), i.current = g ? requestAnimationFrame(P) : setTimeout(P, N);
|
|
3036
3036
|
}, _ = function(P) {
|
|
3037
3037
|
if (!h.current)
|
|
3038
3038
|
return !1;
|
|
3039
3039
|
var N = P - o.current;
|
|
3040
|
-
return !o.current || N >= e || N < 0 || p && P - a.current >=
|
|
3041
|
-
},
|
|
3042
|
-
return i.current = null,
|
|
3040
|
+
return !o.current || N >= e || N < 0 || p && P - a.current >= k;
|
|
3041
|
+
}, C = function(P) {
|
|
3042
|
+
return i.current = null, m && l.current ? I(P) : (l.current = c.current = null, u.current);
|
|
3043
3043
|
}, $ = function P() {
|
|
3044
3044
|
var N = Date.now();
|
|
3045
3045
|
if (_(N))
|
|
3046
|
-
return
|
|
3046
|
+
return C(N);
|
|
3047
3047
|
if (h.current) {
|
|
3048
|
-
var S = e - (N - o.current), q = p ? Math.min(S,
|
|
3049
|
-
|
|
3048
|
+
var S = e - (N - o.current), q = p ? Math.min(S, k - (N - a.current)) : S;
|
|
3049
|
+
y(P, q);
|
|
3050
3050
|
}
|
|
3051
3051
|
}, L = function() {
|
|
3052
|
-
if (
|
|
3052
|
+
if (f || j) {
|
|
3053
3053
|
var P = Date.now(), N = _(P);
|
|
3054
3054
|
if (l.current = [].slice.call(arguments), c.current = r, o.current = P, N) {
|
|
3055
3055
|
if (!i.current && h.current)
|
|
3056
|
-
return a.current = o.current,
|
|
3056
|
+
return a.current = o.current, y($, e), x ? I(o.current) : u.current;
|
|
3057
3057
|
if (p)
|
|
3058
|
-
return
|
|
3058
|
+
return y($, e), I(o.current);
|
|
3059
3059
|
}
|
|
3060
|
-
return i.current ||
|
|
3060
|
+
return i.current || y($, e), u.current;
|
|
3061
3061
|
}
|
|
3062
3062
|
};
|
|
3063
3063
|
return L.cancel = function() {
|
|
@@ -3065,9 +3065,9 @@ function Ua(n, e, t) {
|
|
|
3065
3065
|
}, L.isPending = function() {
|
|
3066
3066
|
return !!i.current;
|
|
3067
3067
|
}, L.flush = function() {
|
|
3068
|
-
return i.current ?
|
|
3068
|
+
return i.current ? C(Date.now()) : u.current;
|
|
3069
3069
|
}, L;
|
|
3070
|
-
}, [
|
|
3070
|
+
}, [x, p, e, k, m, g, f, j]);
|
|
3071
3071
|
return b;
|
|
3072
3072
|
}
|
|
3073
3073
|
function Va(n, e) {
|
|
@@ -3105,18 +3105,18 @@ const za = "_wrapper_ov00y_1", Qa = "_open_ov00y_9", Xa = "_dropdown_ov00y_13",
|
|
|
3105
3105
|
icon: ii,
|
|
3106
3106
|
"clear-button": "_clear-button_ov00y_86",
|
|
3107
3107
|
clearButton: ci
|
|
3108
|
-
}, ht = ({ show: n, onCancel: e, items: t, currentSelection: r, onSelectionChange: o, onClickSelectedItem: a, onSearchQueryChange: i, texts: l, additionalColumns: c, autoHideSearch: u = !1, allItemsLength: d, disabled: h, isLoading:
|
|
3108
|
+
}, ht = ({ show: n, onCancel: e, items: t, currentSelection: r, onSelectionChange: o, onClickSelectedItem: a, onSearchQueryChange: i, texts: l, additionalColumns: c, autoHideSearch: u = !1, allItemsLength: d, disabled: h, isLoading: f = !1, inputRef: g }) => {
|
|
3109
3109
|
var Z;
|
|
3110
|
-
const
|
|
3110
|
+
const x = R(null), m = R(null), p = R(null), [j, k] = O(""), [b] = Yn(j, 500), [, I] = O(!1), y = (Z = g.current) == null ? void 0 : Z.getBoundingClientRect(), _ = (y == null ? void 0 : y.x) ?? 0, C = ((y == null ? void 0 : y.x) ?? 0) + ((y == null ? void 0 : y.width) ?? 0), $ = (y == null ? void 0 : y.y) ?? 0, L = ((y == null ? void 0 : y.y) ?? 0) + ((y == null ? void 0 : y.height) ?? 0), P = (y == null ? void 0 : y.width) ?? 0, N = (y == null ? void 0 : y.height) ?? 0, S = 5, q = G(() => _ ? _ > window.innerWidth / 2 : !1, [_]), H = G(() => $ ? $ > window.innerHeight / 2 : !1, [$]);
|
|
3111
3111
|
E(() => {
|
|
3112
3112
|
var F;
|
|
3113
3113
|
n && ((F = p.current) == null || F.focus());
|
|
3114
3114
|
}, [p, n]), E(() => {
|
|
3115
|
-
n ||
|
|
3115
|
+
n || k("");
|
|
3116
3116
|
}, [n]), E(() => {
|
|
3117
3117
|
i(b);
|
|
3118
3118
|
}, [b, i]);
|
|
3119
|
-
const
|
|
3119
|
+
const K = T((F) => {
|
|
3120
3120
|
switch (F.key) {
|
|
3121
3121
|
case "Escape":
|
|
3122
3122
|
F.stopPropagation(), e();
|
|
@@ -3129,42 +3129,42 @@ const za = "_wrapper_ov00y_1", Qa = "_open_ov00y_9", Xa = "_dropdown_ov00y_13",
|
|
|
3129
3129
|
window.removeEventListener("scroll", U);
|
|
3130
3130
|
}), [U]), E(() => (window.addEventListener("resize", U), () => {
|
|
3131
3131
|
window.removeEventListener("resize", U);
|
|
3132
|
-
}), [U]), zt(
|
|
3132
|
+
}), [U]), zt(K), Qt([x, m], e);
|
|
3133
3133
|
const te = `calc(max(${P}px, ${c && (c == null ? void 0 : c.length) > 0 ? "250px" : "0px"}) + ${((c == null ? void 0 : c.length) ?? 0) * 100}px) `;
|
|
3134
3134
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
3135
3135
|
/* @__PURE__ */ s.jsx(Bn, { show: n, onClick: e }),
|
|
3136
|
-
r && n && !h && /* @__PURE__ */ s.jsx("button", { ref:
|
|
3136
|
+
r && n && !h && /* @__PURE__ */ s.jsx("button", { ref: m, type: "button", className: v("luminus-dropdown-picker-clear-button", B.clearButton), onClick: () => !h && o(null), style: {
|
|
3137
3137
|
top: `calc(${$}px + ${N / 2}px - 12px)`,
|
|
3138
3138
|
left: `calc(${_}px - 24px - 8px)`
|
|
3139
|
-
}, children: /* @__PURE__ */ s.jsx(
|
|
3139
|
+
}, children: /* @__PURE__ */ s.jsx(V, { variant: "caption", className: "text-danger", children: /* @__PURE__ */ s.jsx(Lt, { size: 16 }) }) }),
|
|
3140
3140
|
/* @__PURE__ */ s.jsx("div", { className: v("luminus-dropdown-picker", B.wrapper, {
|
|
3141
3141
|
[B.open]: n
|
|
3142
3142
|
}), style: {
|
|
3143
3143
|
top: H ? `calc(${$}px - 50vh - 8px)` : `calc(${L}px + 8px)`,
|
|
3144
|
-
left: q ? `calc(${
|
|
3145
|
-
right: q ? `${
|
|
3144
|
+
left: q ? `calc(${C}px - ${te})` : _,
|
|
3145
|
+
right: q ? `${C}px` : `calc(${_}px + ${te})`,
|
|
3146
3146
|
width: te,
|
|
3147
3147
|
justifyContent: H ? "flex-end" : "flex-start"
|
|
3148
|
-
}, children: /* @__PURE__ */ s.jsxs("div", { ref:
|
|
3148
|
+
}, children: /* @__PURE__ */ s.jsxs("div", { ref: x, className: v("shadow rounded", B.dropdown), children: [
|
|
3149
3149
|
r && a && /* @__PURE__ */ s.jsxs("button", { type: "button", onClick: () => {
|
|
3150
3150
|
e(), a(r);
|
|
3151
3151
|
}, className: v("selected-button", B.selectedButton), children: [
|
|
3152
|
-
/* @__PURE__ */ s.jsx("div", { className: B.name, children: /* @__PURE__ */ s.jsx(
|
|
3153
|
-
/* @__PURE__ */ s.jsx("div", { className: B.icon, children: /* @__PURE__ */ s.jsx(
|
|
3152
|
+
/* @__PURE__ */ s.jsx("div", { className: B.name, children: /* @__PURE__ */ s.jsx(V, { variant: "body2", children: r.name }) }),
|
|
3153
|
+
/* @__PURE__ */ s.jsx("div", { className: B.icon, children: /* @__PURE__ */ s.jsx(V, { variant: "caption", className: "text-primary align-items-center", children: /* @__PURE__ */ s.jsx(Ht, {}) }) })
|
|
3154
3154
|
] }),
|
|
3155
3155
|
!h && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
3156
|
-
u && (d ?? t.length) <= S ? null : /* @__PURE__ */ s.jsx("div", { className: v("search-input-container border-bottom", B.searchInputContainer), children: /* @__PURE__ */ s.jsx(Q.Control, { ref: p, type: "search", size: "sm", className: B.searchInput, placeholder: l.searchPlaceholder, value:
|
|
3157
|
-
var
|
|
3158
|
-
return
|
|
3156
|
+
u && (d ?? t.length) <= S ? null : /* @__PURE__ */ s.jsx("div", { className: v("search-input-container border-bottom", B.searchInputContainer), children: /* @__PURE__ */ s.jsx(Q.Control, { ref: p, type: "search", size: "sm", className: B.searchInput, placeholder: l.searchPlaceholder, value: j, onChange: (F) => {
|
|
3157
|
+
var w;
|
|
3158
|
+
return k(((w = F.target) == null ? void 0 : w.value) ?? "");
|
|
3159
3159
|
} }) }),
|
|
3160
|
-
|
|
3160
|
+
f ? /* @__PURE__ */ s.jsx("div", { className: B.loadingContainer, children: /* @__PURE__ */ s.jsx(lt, { animation: "border", variant: "primary" }) }) : t.length > 0 && /* @__PURE__ */ s.jsxs("div", { className: v("items", B.itemsContainer), children: [
|
|
3161
3161
|
c && c.length > 0 && /* @__PURE__ */ s.jsxs("div", { className: v("header-row border-bottom", B.headerRow), children: [
|
|
3162
3162
|
/* @__PURE__ */ s.jsx("div", { className: B.name }),
|
|
3163
|
-
c == null ? void 0 : c.map((F) => /* @__PURE__ */ s.jsx("div", { className: B.columnItem, children: /* @__PURE__ */ s.jsx(
|
|
3163
|
+
c == null ? void 0 : c.map((F) => /* @__PURE__ */ s.jsx("div", { className: B.columnItem, children: /* @__PURE__ */ s.jsx(V, { variant: "caption", children: F.name }) }, F.key))
|
|
3164
3164
|
] }),
|
|
3165
3165
|
t == null ? void 0 : t.map((F) => /* @__PURE__ */ s.jsxs("button", { type: "button", className: v("item cursor-pointer", B.item), onClick: () => !h && o(F), children: [
|
|
3166
|
-
/* @__PURE__ */ s.jsx("div", { className: B.name, children: /* @__PURE__ */ s.jsx(
|
|
3167
|
-
c == null ? void 0 : c.map((
|
|
3166
|
+
/* @__PURE__ */ s.jsx("div", { className: B.name, children: /* @__PURE__ */ s.jsx(V, { variant: "body2", children: F.name }) }),
|
|
3167
|
+
c == null ? void 0 : c.map((w) => /* @__PURE__ */ s.jsx("div", { className: B.columnItem, children: /* @__PURE__ */ s.jsx(V, { variant: "caption", className: v("text-muted"), children: F.additionalColumns && F.additionalColumns[w.key] }) }, w.key))
|
|
3168
3168
|
] }, F.id))
|
|
3169
3169
|
] })
|
|
3170
3170
|
] })
|
|
@@ -3172,7 +3172,7 @@ const za = "_wrapper_ov00y_1", Qa = "_open_ov00y_9", Xa = "_dropdown_ov00y_13",
|
|
|
3172
3172
|
] });
|
|
3173
3173
|
};
|
|
3174
3174
|
function li(n) {
|
|
3175
|
-
return
|
|
3175
|
+
return xr({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z" }, child: [] }] })(n);
|
|
3176
3176
|
}
|
|
3177
3177
|
const ui = "_item_1dy8x_1", Hn = {
|
|
3178
3178
|
item: ui
|
|
@@ -3186,7 +3186,7 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3186
3186
|
}) => /* @__PURE__ */ s.jsxs($e.Item, { className: v(`btn luminus-dropdown-item text-nowrap rounded text-${n} ${t ?? ""}`, Hn.item), ...o, children: [
|
|
3187
3187
|
e,
|
|
3188
3188
|
r
|
|
3189
|
-
] }), hi = (n) => /* @__PURE__ */ s.jsx($e.Toggle, { ...n }),
|
|
3189
|
+
] }), hi = (n) => /* @__PURE__ */ s.jsx($e.Toggle, { ...n }), mc = ({ color: n = "primary", icon: e = /* @__PURE__ */ s.jsx(qt, { size: 12 }), inputId: t = "context-file-input", accept: r = "*", onUpload: o, multiple: a, className: i, children: l, ...c }) => {
|
|
3190
3190
|
const u = (d) => {
|
|
3191
3191
|
d.target.files && (o(d.target.files), d.target.value = "");
|
|
3192
3192
|
};
|
|
@@ -3197,16 +3197,16 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3197
3197
|
] }),
|
|
3198
3198
|
/* @__PURE__ */ s.jsx("input", { id: t, type: "file", accept: r, onChange: u, hidden: !0, multiple: a })
|
|
3199
3199
|
] });
|
|
3200
|
-
},
|
|
3201
|
-
divider:
|
|
3202
|
-
}, pc = ({ className: n }) => /* @__PURE__ */ s.jsx($e.Divider, { className: v("luminus-dropdown-divider", n,
|
|
3200
|
+
}, fi = "_divider_1e6rk_1", mi = {
|
|
3201
|
+
divider: fi
|
|
3202
|
+
}, pc = ({ className: n }) => /* @__PURE__ */ s.jsx($e.Divider, { className: v("luminus-dropdown-divider", n, mi.divider) }), pi = "_dropdown_1lk66_1", gi = {
|
|
3203
3203
|
dropdown: pi
|
|
3204
3204
|
}, wi = ({ toggle: n, children: e, ...t }) => /* @__PURE__ */ s.jsxs($e, { ...t, children: [
|
|
3205
3205
|
n,
|
|
3206
3206
|
/* @__PURE__ */ s.jsx($e.Menu, { className: v("luminus-dropdown rounded shadow", gi.dropdown), children: e })
|
|
3207
|
-
] }), yi = ({ searchTypes: n, selectedType: e, setSelectedType: t }) => /* @__PURE__ */ s.jsx(wi, { toggle: /* @__PURE__ */ s.jsx(hi, { as: br, icon: null, text: e == null ? void 0 : e.text }), children: n.map((r) => /* @__PURE__ */ s.jsx(di, { icon: null, onClick: () => t(r), children: r.text }, r.key)) }),
|
|
3208
|
-
dropdown:
|
|
3209
|
-
open:
|
|
3207
|
+
] }), yi = ({ searchTypes: n, selectedType: e, setSelectedType: t }) => /* @__PURE__ */ s.jsx(wi, { toggle: /* @__PURE__ */ s.jsx(hi, { as: br, icon: null, text: e == null ? void 0 : e.text }), children: n.map((r) => /* @__PURE__ */ s.jsx(di, { icon: null, onClick: () => t(r), children: r.text }, r.key)) }), vi = "_dropdown_1ddrg_1", xi = "_open_1ddrg_12", bi = "_loading-container_1ddrg_15", _i = "_groups-container_1ddrg_22", ki = "_group_1ddrg_22", ji = "_header_1ddrg_26", Ci = "_item_1ddrg_33", le = {
|
|
3208
|
+
dropdown: vi,
|
|
3209
|
+
open: xi,
|
|
3210
3210
|
"loading-container": "_loading-container_1ddrg_15",
|
|
3211
3211
|
loadingContainer: bi,
|
|
3212
3212
|
"groups-container": "_groups-container_1ddrg_22",
|
|
@@ -3216,8 +3216,8 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3216
3216
|
item: Ci
|
|
3217
3217
|
}, Ni = ({ show: n, query: e, onCancel: t, groups: r, isLoading: o, searchTypes: a }) => {
|
|
3218
3218
|
const { LinkComponent: i, appSearchTexts: l } = D(ae), c = R(null), u = T((d) => {
|
|
3219
|
-
var
|
|
3220
|
-
const h = (
|
|
3219
|
+
var f;
|
|
3220
|
+
const h = (f = a.find((g) => g.key === d.type)) == null ? void 0 : f.toPath;
|
|
3221
3221
|
return h ? `${h}/${d.searchKey}` : "/not-found";
|
|
3222
3222
|
}, [a]);
|
|
3223
3223
|
return Qt([c], t), /* @__PURE__ */ s.jsx("div", { ref: c, className: v("luminus-app-search-dropdown shadow rounded", le.dropdown, {
|
|
@@ -3226,8 +3226,8 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3226
3226
|
var h;
|
|
3227
3227
|
return /* @__PURE__ */ s.jsxs("div", { className: v(le.group), children: [
|
|
3228
3228
|
/* @__PURE__ */ s.jsxs(i, { to: `/search?query=${e}&type=${d.key.category}`, className: v("group-header", le.header), onClick: t, children: [
|
|
3229
|
-
/* @__PURE__ */ s.jsx(
|
|
3230
|
-
/* @__PURE__ */ s.jsxs(
|
|
3229
|
+
/* @__PURE__ */ s.jsx(V, { variant: "body", className: "text-primary", children: d.key.categoryName }),
|
|
3230
|
+
/* @__PURE__ */ s.jsxs(V, { variant: "caption", children: [
|
|
3231
3231
|
d.items.length,
|
|
3232
3232
|
" ",
|
|
3233
3233
|
l.amountFrom,
|
|
@@ -3235,15 +3235,15 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3235
3235
|
d.key.totalCount
|
|
3236
3236
|
] })
|
|
3237
3237
|
] }),
|
|
3238
|
-
(h = d.items) == null ? void 0 : h.map((
|
|
3238
|
+
(h = d.items) == null ? void 0 : h.map((f, g) => /* @__PURE__ */ s.jsxs(
|
|
3239
3239
|
i,
|
|
3240
3240
|
{
|
|
3241
|
-
to: u(
|
|
3241
|
+
to: u(f),
|
|
3242
3242
|
className: v("search-item d-flex gap-3 align-items-center justify-content-between", le.item),
|
|
3243
3243
|
onClick: t,
|
|
3244
3244
|
children: [
|
|
3245
|
-
/* @__PURE__ */ s.jsx(
|
|
3246
|
-
/* @__PURE__ */ s.jsx(
|
|
3245
|
+
/* @__PURE__ */ s.jsx(V, { variant: "body2", className: "text-nowrap text-truncate", children: f.name }),
|
|
3246
|
+
/* @__PURE__ */ s.jsx(V, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ s.jsx(Ht, {}) })
|
|
3247
3247
|
]
|
|
3248
3248
|
},
|
|
3249
3249
|
g
|
|
@@ -3276,19 +3276,19 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3276
3276
|
c();
|
|
3277
3277
|
}, [c]), { isLoading: r, searchItems: a };
|
|
3278
3278
|
}, gc = ({ searchTypes: n, navigateFunction: e }) => {
|
|
3279
|
-
const { appSearchTexts: t } = D(ae), [r, o] = O(n.length > 0 ? n[0] : null), [a, i] = O(""), [l, c] = Yn(a, 500), { isLoading: u, searchItems: d } = Mi(r, l), [h,
|
|
3279
|
+
const { appSearchTexts: t } = D(ae), [r, o] = O(n.length > 0 ? n[0] : null), [a, i] = O(""), [l, c] = Yn(a, 500), { isLoading: u, searchItems: d } = Mi(r, l), [h, f] = O(!1);
|
|
3280
3280
|
return E(() => {
|
|
3281
|
-
(d.length > 0 || u) &&
|
|
3281
|
+
(d.length > 0 || u) && f(!0);
|
|
3282
3282
|
}, [d, u]), /* @__PURE__ */ s.jsx(Q, { onSubmit: (g) => {
|
|
3283
|
-
g.preventDefault(), g.stopPropagation(), c.flush(),
|
|
3283
|
+
g.preventDefault(), g.stopPropagation(), c.flush(), f(!1), a.length > 2 && e(`/search?query=${a}${r && r.key && `&type=${r == null ? void 0 : r.key}`}`);
|
|
3284
3284
|
}, children: /* @__PURE__ */ s.jsxs(ze, { className: ue.inputGroup, children: [
|
|
3285
3285
|
/* @__PURE__ */ s.jsx(ze.Text, { className: v("p-1 rounded", ue.inputGroupText, ue.left), children: /* @__PURE__ */ s.jsx(yi, { searchTypes: n, selectedType: r, setSelectedType: o }) }),
|
|
3286
3286
|
/* @__PURE__ */ s.jsx(Q.Control, { placeholder: t.searchPlaceholder, type: "text", size: "sm", className: v("luminus-app-search-input", ue.input), value: a, onChange: (g) => {
|
|
3287
|
-
var
|
|
3288
|
-
return i(((
|
|
3289
|
-
}, onFocus: () => d.length > 0 &&
|
|
3287
|
+
var x;
|
|
3288
|
+
return i(((x = g.target) == null ? void 0 : x.value) ?? "");
|
|
3289
|
+
}, onFocus: () => d.length > 0 && f(!0) }),
|
|
3290
3290
|
/* @__PURE__ */ s.jsx(ze.Text, { className: v("p-0 rounded", ue.inputGroupText, ue.right), children: /* @__PURE__ */ s.jsx("button", { type: "submit", className: v("text-primary", ue.submitButton), children: /* @__PURE__ */ s.jsx(li, {}) }) }),
|
|
3291
|
-
/* @__PURE__ */ s.jsx(Ni, { query: l, searchTypes: n, show: h, onCancel: () =>
|
|
3291
|
+
/* @__PURE__ */ s.jsx(Ni, { query: l, searchTypes: n, show: h, onCancel: () => f(!1), groups: d, isLoading: u })
|
|
3292
3292
|
] }) });
|
|
3293
3293
|
}, Pi = "_card_1459b_1", Di = "_header_1459b_6", Ai = "_header-content_1459b_13", Fi = "_collapse-icon_1459b_19", Wi = "_collapsed_1459b_24", Ri = "_content_1459b_27", we = {
|
|
3294
3294
|
card: Pi,
|
|
@@ -3312,7 +3312,7 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3312
3312
|
i.collapsible && (i.controlled ? i.onToggle(!i.isOpen) : u(!c));
|
|
3313
3313
|
}, children: [
|
|
3314
3314
|
/* @__PURE__ */ s.jsxs("div", { className: v("header-content", we.headerContent), children: [
|
|
3315
|
-
/* @__PURE__ */ s.jsx(
|
|
3315
|
+
/* @__PURE__ */ s.jsx(V, { variant: "h6", className: "text-primary", children: n }),
|
|
3316
3316
|
e ?? null
|
|
3317
3317
|
] }),
|
|
3318
3318
|
i.collapsible && /* @__PURE__ */ s.jsx(Yt, { className: v(we.collapseIcon, {
|
|
@@ -3323,18 +3323,18 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3323
3323
|
[a ?? ""]: a
|
|
3324
3324
|
}), children: t }) })
|
|
3325
3325
|
] });
|
|
3326
|
-
}, qi = "
|
|
3326
|
+
}, qi = "_lightbox_1if23_1", Li = "_show_1if23_16", Yi = "_header_1if23_20", Hi = "_photo-actions_1if23_26", Bi = "_photo-container_1if23_31", Gi = "_photo_1if23_26", Ui = "_nav-button_1if23_41", Vi = "_photos-preview_1if23_49", Ki = "_selected_1if23_62", ee = {
|
|
3327
3327
|
lightbox: qi,
|
|
3328
3328
|
show: Li,
|
|
3329
3329
|
header: Yi,
|
|
3330
|
-
"photo-actions": "_photo-
|
|
3330
|
+
"photo-actions": "_photo-actions_1if23_26",
|
|
3331
3331
|
photoActions: Hi,
|
|
3332
|
-
"photo-container": "_photo-
|
|
3332
|
+
"photo-container": "_photo-container_1if23_31",
|
|
3333
3333
|
photoContainer: Bi,
|
|
3334
3334
|
photo: Gi,
|
|
3335
|
-
"nav-button": "_nav-
|
|
3335
|
+
"nav-button": "_nav-button_1if23_41",
|
|
3336
3336
|
navButton: Ui,
|
|
3337
|
-
"photos-preview": "_photos-
|
|
3337
|
+
"photos-preview": "_photos-preview_1if23_49",
|
|
3338
3338
|
photosPreview: Vi,
|
|
3339
3339
|
selected: Ki
|
|
3340
3340
|
}, zi = "_backdrop_1sik0_1", Qi = "_show_1sik0_11", Ft = {
|
|
@@ -3342,58 +3342,59 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3342
3342
|
show: Qi
|
|
3343
3343
|
}, Bn = ({ show: n, onClick: e }) => /* @__PURE__ */ s.jsx("div", { className: v("luminus-backdrop", Ft.backdrop, {
|
|
3344
3344
|
[Ft.show]: n
|
|
3345
|
-
}), onClick: () => e && e() }), Xi = ({ show: n, onClose: e, photos: t, defaultIndex: r, uploadPhotosText: o,
|
|
3346
|
-
const
|
|
3345
|
+
}), onClick: () => e && e() }), Xi = ({ show: n, onClose: e, photos: t, defaultIndex: r, uploadPhotosText: o, noPhotosText: a, onUploadPhotos: i, photoActions: l }) => {
|
|
3346
|
+
const c = R(null), [u, d] = O(r), h = t.at(u), f = u > 0, g = u < t.length - 1;
|
|
3347
3347
|
E(() => {
|
|
3348
|
-
n &&
|
|
3348
|
+
n && d(r);
|
|
3349
3349
|
}, [r, n]), E(() => {
|
|
3350
|
-
|
|
3351
|
-
}, [t,
|
|
3352
|
-
const
|
|
3353
|
-
switch (
|
|
3350
|
+
u >= t.length && d(t.length - 1);
|
|
3351
|
+
}, [t, u]);
|
|
3352
|
+
const x = T((m) => {
|
|
3353
|
+
switch (m.key) {
|
|
3354
3354
|
case "ArrowLeft":
|
|
3355
|
-
|
|
3355
|
+
m.stopPropagation(), f && d((p) => p - 1);
|
|
3356
3356
|
break;
|
|
3357
3357
|
case "ArrowRight":
|
|
3358
|
-
|
|
3358
|
+
m.stopPropagation(), g && d((p) => p + 1);
|
|
3359
3359
|
break;
|
|
3360
3360
|
case "Escape":
|
|
3361
|
-
|
|
3361
|
+
m.stopPropagation(), e();
|
|
3362
3362
|
break;
|
|
3363
3363
|
}
|
|
3364
|
-
}, [
|
|
3365
|
-
return zt(
|
|
3364
|
+
}, [g, f, e]);
|
|
3365
|
+
return zt(x), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
3366
3366
|
/* @__PURE__ */ s.jsx(Bn, { show: n, onClick: e }),
|
|
3367
|
-
/* @__PURE__ */ s.jsxs("div", { ref:
|
|
3367
|
+
/* @__PURE__ */ s.jsxs("div", { ref: c, className: v("luminus-lightbox rounded shadow", ee.lightbox, {
|
|
3368
3368
|
[ee.show]: n
|
|
3369
3369
|
}), children: [
|
|
3370
3370
|
/* @__PURE__ */ s.jsxs("div", { className: ee.header, children: [
|
|
3371
3371
|
/* @__PURE__ */ s.jsxs("div", { className: v("rounded", ee.photoActions), children: [
|
|
3372
|
-
|
|
3373
|
-
|
|
3372
|
+
i && /* @__PURE__ */ s.jsx(Ln, { accept: ".jpg,.jpeg,.png", onUpload: (m) => {
|
|
3373
|
+
m.length > 0 && i(Array.from(m));
|
|
3374
3374
|
}, icon: /* @__PURE__ */ s.jsx(Bt, { style: { fontSize: 18 } }), multiple: !0, className: "me-3", children: o ?? null }),
|
|
3375
|
-
|
|
3375
|
+
h && (l == null ? void 0 : l.map(({ label: m, onClick: p, ...j }, k) => /* @__PURE__ */ s.jsx(
|
|
3376
3376
|
qn,
|
|
3377
3377
|
{
|
|
3378
|
-
onClick: () =>
|
|
3379
|
-
...
|
|
3380
|
-
children:
|
|
3378
|
+
onClick: () => p(h.id),
|
|
3379
|
+
...j,
|
|
3380
|
+
children: m
|
|
3381
3381
|
},
|
|
3382
3382
|
`action-${k}`
|
|
3383
3383
|
)))
|
|
3384
3384
|
] }),
|
|
3385
|
-
/* @__PURE__ */ s.jsx("div", { role: "button", onClick: e, children: /* @__PURE__ */ s.jsx(
|
|
3385
|
+
/* @__PURE__ */ s.jsx("div", { role: "button", onClick: e, children: /* @__PURE__ */ s.jsx(xe, { style: { fontSize: "32px" } }) })
|
|
3386
3386
|
] }),
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
/* @__PURE__ */ s.jsx("
|
|
3390
|
-
/* @__PURE__ */ s.jsx("
|
|
3387
|
+
t.length === 0 && /* @__PURE__ */ s.jsx("div", { className: "w-100 h-100 d-flex align-items-center justify-content-center", children: /* @__PURE__ */ s.jsx(V, { variant: "body", children: a ?? "No photos available" }) }),
|
|
3388
|
+
h && /* @__PURE__ */ s.jsxs("div", { className: ee.photoContainer, children: [
|
|
3389
|
+
/* @__PURE__ */ s.jsx("div", { role: f ? "button" : void 0, className: v("align-items-start", ee.navButton), onClick: () => f && d((m) => m - 1), children: f && /* @__PURE__ */ s.jsx(ot, { style: { fontSize: "40px" } }) }),
|
|
3390
|
+
/* @__PURE__ */ s.jsx("img", { src: h.lgSrc, alt: h.alt, className: v("rounded", ee.photo) }),
|
|
3391
|
+
/* @__PURE__ */ s.jsx("div", { role: g ? "button" : void 0, className: v("align-items-end", ee.navButton), onClick: () => g && d((m) => m + 1), children: g && /* @__PURE__ */ s.jsx(st, { style: { fontSize: "40px" } }) })
|
|
3391
3392
|
] }),
|
|
3392
|
-
/* @__PURE__ */ s.jsx("div", { className: ee.photosPreview, children: t.map((
|
|
3393
|
+
/* @__PURE__ */ s.jsx("div", { className: ee.photosPreview, children: t.map((m, p) => (
|
|
3393
3394
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
3394
|
-
/* @__PURE__ */ s.jsx("img", { role:
|
|
3395
|
-
[ee.selected]:
|
|
3396
|
-
}), onClick: () =>
|
|
3395
|
+
/* @__PURE__ */ s.jsx("img", { role: p !== u ? "button" : void 0, src: m.smSrc, alt: m.alt, className: v("rounded", ee.photo, {
|
|
3396
|
+
[ee.selected]: p === u
|
|
3397
|
+
}), onClick: () => d(p) }, m.id)
|
|
3397
3398
|
)) })
|
|
3398
3399
|
] })
|
|
3399
3400
|
] });
|
|
@@ -3421,299 +3422,299 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3421
3422
|
] }) : e ? /* @__PURE__ */ s.jsx(Ln, { accept: ".jpg,.jpeg,.png", onUpload: (u) => {
|
|
3422
3423
|
u.length > 0 && e(Array.from(u));
|
|
3423
3424
|
}, icon: /* @__PURE__ */ s.jsx(Bt, { style: { fontSize: 18 } }), multiple: !0, children: t ?? null }) : null;
|
|
3424
|
-
},
|
|
3425
|
+
}, vc = ({ children: n }) => {
|
|
3425
3426
|
const { NavigateComponent: e } = D(ae), { useMsal: t, msalScopes: r } = D(kr), { isAuthenticated: o } = jr(), { user: a } = D(Cr);
|
|
3426
3427
|
return t ? /* @__PURE__ */ s.jsx(ha, { interactionType: De.Popup, authenticationRequest: { scopes: r }, children: a && n }) : !o() || !a ? /* @__PURE__ */ s.jsx(e, { to: "/login", replace: !0 }) : n;
|
|
3427
|
-
},
|
|
3428
|
+
}, xc = ({ heading: n, content: e, placement: t, children: r, trigger: o }) => /* @__PURE__ */ s.jsx(Nr, { placement: t, overlay: /* @__PURE__ */ s.jsxs(Ue, { className: "luminus-tooltip", children: [
|
|
3428
3429
|
/* @__PURE__ */ s.jsx(Ue.Header, { as: "h3", children: n }),
|
|
3429
3430
|
/* @__PURE__ */ s.jsx(Ue.Body, { children: e })
|
|
3430
3431
|
] }), trigger: o ?? "hover", rootClose: !0, children: r }), bc = ({ InputContainer: n = qe, label: e, value: t, onChange: r, hidden: o, disabled: a, className: i, type: l, withoutLabel: c }) => /* @__PURE__ */ s.jsx(n, { isForCheckInput: !0, hidden: o, label: e ?? "", withoutLabel: c, children: /* @__PURE__ */ s.jsx(Q.Check, { id: `check-${e}`, type: l ?? "checkbox", label: e ?? "", checked: t, onChange: (u) => {
|
|
3431
3432
|
var d;
|
|
3432
3433
|
r && r(((d = u.target) == null ? void 0 : d.checked) ?? !1);
|
|
3433
|
-
}, className: i ?? "", hidden: o ?? !1, disabled: a ?? !1 }) }), _c = ({ InputContainer: n = qe, type: e, value: t, onChange: r, debounceMs: o, label: a, withoutLabel: i, placeholder: l, size: c, hidden: u, disabled: d, showClearIcon: h, clearValue:
|
|
3434
|
-
const
|
|
3434
|
+
}, className: i ?? "", hidden: o ?? !1, disabled: a ?? !1 }) }), _c = ({ InputContainer: n = qe, type: e, value: t, onChange: r, debounceMs: o, label: a, withoutLabel: i, placeholder: l, size: c, hidden: u, disabled: d, showClearIcon: h, clearValue: f, list: g, className: x }) => {
|
|
3435
|
+
const m = e === "number", p = T(() => {
|
|
3435
3436
|
if (!r)
|
|
3436
3437
|
return;
|
|
3437
|
-
const _ =
|
|
3438
|
-
r(
|
|
3439
|
-
}, [
|
|
3440
|
-
const
|
|
3441
|
-
r && (
|
|
3442
|
-
}, [
|
|
3438
|
+
const _ = f ?? null;
|
|
3439
|
+
r(m ? _ ? Number(_) : null : (_ == null ? void 0 : _.toString()) ?? "");
|
|
3440
|
+
}, [f, m, r]), j = R(null), [k, b] = O((t == null ? void 0 : t.toString()) ?? ""), I = T((_) => {
|
|
3441
|
+
const C = _;
|
|
3442
|
+
r && (m && r(C ? parseInt(C, 10) : null), r(C || null));
|
|
3443
|
+
}, [m, r]), y = T((_) => {
|
|
3443
3444
|
var $;
|
|
3444
|
-
const
|
|
3445
|
+
const C = ($ = _.target) == null ? void 0 : $.value;
|
|
3445
3446
|
if (!o) {
|
|
3446
|
-
I(
|
|
3447
|
+
I(C);
|
|
3447
3448
|
return;
|
|
3448
3449
|
}
|
|
3449
|
-
b(
|
|
3450
|
-
I(
|
|
3450
|
+
b(C), j.current !== null && window.clearTimeout(j.current), j.current = window.setTimeout(() => {
|
|
3451
|
+
I(C);
|
|
3451
3452
|
}, o);
|
|
3452
3453
|
}, [o, I]);
|
|
3453
3454
|
return E(() => {
|
|
3454
3455
|
b(t === null ? "" : t.toString());
|
|
3455
3456
|
}, [t]), /* @__PURE__ */ s.jsxs(n, { withoutLabel: i, label: a ?? "", hidden: u, children: [
|
|
3456
|
-
/* @__PURE__ */ s.jsx(Q.Control, { type: e, placeholder: l ?? a, size: c, value: o ?
|
|
3457
|
-
h && t && r && !d && /* @__PURE__ */ s.jsx("div", { className: `luminus-input-remove-icon ${e !== "text" ? "inset" : ""}`, children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: p, children: /* @__PURE__ */ s.jsx(
|
|
3457
|
+
/* @__PURE__ */ s.jsx(Q.Control, { type: e, placeholder: l ?? a, size: c, value: o ? k : t ?? "", onChange: y, className: x ?? "", hidden: u, disabled: d ?? !1, list: g }),
|
|
3458
|
+
h && t && r && !d && /* @__PURE__ */ s.jsx("div", { className: `luminus-input-remove-icon ${e !== "text" ? "inset" : ""}`, children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: p, children: /* @__PURE__ */ s.jsx(xe, {}) }) })
|
|
3458
3459
|
] });
|
|
3459
|
-
}, kc = ({ InputContainer: n = qe, value: e, options: t, onChange: r, label: o, withoutLabel: a, isNumber: i, size: l, hidden: c, disabled: u, showClearIcon: d, clearValue: h, noSortOptions:
|
|
3460
|
-
const
|
|
3460
|
+
}, kc = ({ InputContainer: n = qe, value: e, options: t, onChange: r, label: o, withoutLabel: a, isNumber: i, size: l, hidden: c, disabled: u, showClearIcon: d, clearValue: h, noSortOptions: f, className: g }) => {
|
|
3461
|
+
const x = T(() => {
|
|
3461
3462
|
if (!r)
|
|
3462
3463
|
return;
|
|
3463
|
-
const
|
|
3464
|
-
r(i ?
|
|
3464
|
+
const m = h ?? null;
|
|
3465
|
+
r(i ? m ? Number(m) : null : (m == null ? void 0 : m.toString()) ?? "");
|
|
3465
3466
|
}, [h, i, r]);
|
|
3466
3467
|
return /* @__PURE__ */ s.jsxs(n, { withoutLabel: a, label: o ?? "", hidden: c, children: [
|
|
3467
|
-
/* @__PURE__ */ s.jsxs(Q.Select, { size: l, value: e ?? "", onChange: (
|
|
3468
|
-
var
|
|
3468
|
+
/* @__PURE__ */ s.jsxs(Q.Select, { size: l, value: e ?? "", onChange: (m) => {
|
|
3469
|
+
var j;
|
|
3469
3470
|
if (!r)
|
|
3470
3471
|
return;
|
|
3471
|
-
const p = (
|
|
3472
|
+
const p = (j = m.target) == null ? void 0 : j.value;
|
|
3472
3473
|
i && r(p ? parseInt(p, 10) : null), r(p || null);
|
|
3473
3474
|
}, className: g ?? "", hidden: c, disabled: u ?? !1, children: [
|
|
3474
3475
|
/* @__PURE__ */ s.jsx("option", { value: "" }),
|
|
3475
|
-
t == null ? void 0 : t.sort((
|
|
3476
|
+
t == null ? void 0 : t.sort((m, p) => f ? 0 : (m.name ?? "").localeCompare(p.name ?? "")).map((m) => /* @__PURE__ */ s.jsx("option", { value: m.id ?? "", children: m.name }, m.id))
|
|
3476
3477
|
] }),
|
|
3477
|
-
d && e && r && !u && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick:
|
|
3478
|
+
d && e && r && !u && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: x, children: /* @__PURE__ */ s.jsx(xe, {}) }) })
|
|
3478
3479
|
] });
|
|
3479
|
-
}, jc = ({ InputContainer: n = qe, items: e, defaultSelection: t, onClickSelectedItem: r, onSearchQueryChange: o, texts: a, isLoading: i, isNumber: l, onSelect: c, label: u, withoutLabel: d, size: h, additionalColumns:
|
|
3480
|
-
var _,
|
|
3481
|
-
const [
|
|
3480
|
+
}, jc = ({ InputContainer: n = qe, items: e, defaultSelection: t, onClickSelectedItem: r, onSearchQueryChange: o, texts: a, isLoading: i, isNumber: l, onSelect: c, label: u, withoutLabel: d, size: h, additionalColumns: f, hidden: g, disabled: x }) => {
|
|
3481
|
+
var _, C;
|
|
3482
|
+
const [m, p] = O(t), [j, k] = O(!1);
|
|
3482
3483
|
E(() => {
|
|
3483
3484
|
p(t);
|
|
3484
3485
|
}, [t]);
|
|
3485
3486
|
const b = T(($) => {
|
|
3486
3487
|
p($);
|
|
3487
3488
|
}, []), I = T(($) => {
|
|
3488
|
-
|
|
3489
|
+
k(!1), b($);
|
|
3489
3490
|
}, [b]);
|
|
3490
3491
|
E(() => {
|
|
3491
|
-
c && c(
|
|
3492
|
-
}, [
|
|
3493
|
-
const
|
|
3494
|
-
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(n, { withoutLabel: d, label: u ?? "", hidden: g, inputContainerClassName: v({ "luminus-dropdown-select-open":
|
|
3495
|
-
/* @__PURE__ */ s.jsxs(Q.Select, { ref:
|
|
3492
|
+
c && c(m);
|
|
3493
|
+
}, [m, c]);
|
|
3494
|
+
const y = R(null);
|
|
3495
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(n, { withoutLabel: d, label: u ?? "", hidden: g, inputContainerClassName: v({ "luminus-dropdown-select-open": j }), children: [
|
|
3496
|
+
/* @__PURE__ */ s.jsxs(Q.Select, { ref: y, size: h, value: (m == null ? void 0 : m.id) ?? "", onChange: ($) => p({
|
|
3496
3497
|
id: l ? Number($.target.value) ?? null : $.target.value,
|
|
3497
3498
|
name: ""
|
|
3498
3499
|
}), onMouseDown: ($) => {
|
|
3499
3500
|
$.currentTarget.focus(), $.preventDefault();
|
|
3500
3501
|
}, onClick: () => {
|
|
3501
|
-
|
|
3502
|
-
}, disabled:
|
|
3502
|
+
k(!0);
|
|
3503
|
+
}, disabled: x && r === void 0, className: v({ "luminus-dropdown-picker-disabled": x }), hidden: g, children: [
|
|
3503
3504
|
/* @__PURE__ */ s.jsx("option", { value: "" }),
|
|
3504
3505
|
t && /* @__PURE__ */ s.jsx("option", { value: t.id ?? void 0, children: t.name && ((_ = t.name) == null ? void 0 : _.length) > 0 ? t.name : t.id }),
|
|
3505
|
-
|
|
3506
|
+
m && /* @__PURE__ */ s.jsx("option", { value: m.id ?? void 0, children: m.name && ((C = m.name) == null ? void 0 : C.length) > 0 ? m.name : m.id })
|
|
3506
3507
|
] }),
|
|
3507
|
-
|
|
3508
|
+
y.current && /* @__PURE__ */ s.jsx(ht, { show: j, onCancel: () => k(!1), items: e, currentSelection: m, onSelectionChange: I, onClickSelectedItem: r, onSearchQueryChange: o, texts: a, additionalColumns: f, isLoading: i, disabled: x, inputRef: y })
|
|
3508
3509
|
] }) });
|
|
3509
|
-
}, Cc = ({ InputContainer: n =
|
|
3510
|
-
const { register: u, formState: d, setValue: h } = ie(), [
|
|
3510
|
+
}, Cc = ({ InputContainer: n = fe, formField: e, label: t, resetsFields: r, type: o, required: a, hidden: i, disabled: l, withoutLabel: c }) => {
|
|
3511
|
+
const { register: u, formState: d, setValue: h } = ie(), [f, g] = O(void 0);
|
|
3511
3512
|
E(() => {
|
|
3512
|
-
const
|
|
3513
|
+
const m = e.split(".");
|
|
3513
3514
|
let p = d.errors;
|
|
3514
|
-
|
|
3515
|
-
p !== void 0 && (p = p[
|
|
3515
|
+
m.forEach((j) => {
|
|
3516
|
+
p !== void 0 && (p = p[j]);
|
|
3516
3517
|
}), g(p);
|
|
3517
3518
|
}, [d, e]);
|
|
3518
|
-
const
|
|
3519
|
-
return /* @__PURE__ */ s.jsxs(n, { isForCheckInput: !0, hidden: i, label: `${t}${a ? " *" : ""}`, isInvalid:
|
|
3519
|
+
const x = f !== void 0;
|
|
3520
|
+
return /* @__PURE__ */ s.jsxs(n, { isForCheckInput: !0, hidden: i, label: `${t}${a ? " *" : ""}`, isInvalid: x, withoutLabel: c, children: [
|
|
3520
3521
|
/* @__PURE__ */ s.jsx(Q.Check, { id: `check-${e}`, type: o ?? "checkbox", label: `${t}${a ? " *" : ""}`, ...u(e, {
|
|
3521
3522
|
onChange: () => {
|
|
3522
|
-
r && r.forEach((
|
|
3523
|
+
r && r.forEach((m) => h(m, null));
|
|
3523
3524
|
}
|
|
3524
|
-
}), isInvalid:
|
|
3525
|
-
|
|
3525
|
+
}), isInvalid: x, hidden: i, disabled: l }),
|
|
3526
|
+
f && /* @__PURE__ */ s.jsx(me, { message: f.message })
|
|
3526
3527
|
] });
|
|
3527
|
-
}, Nc = ({ InputContainer: n =
|
|
3528
|
-
const { register: c, formState: u, setValue: d, watch: h } = ie(), [
|
|
3528
|
+
}, Nc = ({ InputContainer: n = fe, label: e, formField: t, options: r, resetsFields: o, required: a, disabled: i, hidden: l }) => {
|
|
3529
|
+
const { register: c, formState: u, setValue: d, watch: h } = ie(), [f, g] = O(void 0), x = G(() => r, [r]);
|
|
3529
3530
|
E(() => {
|
|
3530
3531
|
const p = t.split(".");
|
|
3531
|
-
let
|
|
3532
|
-
p.forEach((
|
|
3533
|
-
|
|
3534
|
-
}), g(
|
|
3532
|
+
let j = u.errors;
|
|
3533
|
+
p.forEach((k) => {
|
|
3534
|
+
j !== void 0 && (j = j[k]);
|
|
3535
|
+
}), g(j);
|
|
3535
3536
|
}, [u, t]);
|
|
3536
|
-
const
|
|
3537
|
-
return /* @__PURE__ */ s.jsxs(n, { isForRadioInput: !0, hidden: l, withoutLabel: !e, label: `${e}${a ? " *" : ""}`, isInvalid:
|
|
3538
|
-
|
|
3537
|
+
const m = f !== void 0;
|
|
3538
|
+
return /* @__PURE__ */ s.jsxs(n, { isForRadioInput: !0, hidden: l, withoutLabel: !e, label: `${e}${a ? " *" : ""}`, isInvalid: m, children: [
|
|
3539
|
+
x.map((p) => /* @__PURE__ */ s.jsx(Q.Check, { id: `radio-${p.id}`, label: p.name, type: "radio", value: p.id ?? "", checked: h(t) === p.id, ...c(t, {
|
|
3539
3540
|
onChange: () => {
|
|
3540
|
-
o && o.forEach((
|
|
3541
|
+
o && o.forEach((j) => d(j, null));
|
|
3541
3542
|
}
|
|
3542
|
-
}), isInvalid:
|
|
3543
|
-
|
|
3543
|
+
}), isInvalid: m, hidden: l, disabled: i }, p.id)),
|
|
3544
|
+
f && /* @__PURE__ */ s.jsx(me, { message: f.message })
|
|
3544
3545
|
] });
|
|
3545
|
-
}, $c = ({ InputContainer: n =
|
|
3546
|
-
const { register: g, formState:
|
|
3546
|
+
}, $c = ({ InputContainer: n = fe, formField: e, label: t, resetsFields: r, size: o, showClearIcon: a, clearValue: i, required: l, hidden: c, disabled: u, height: d, rows: h, withoutLabel: f }) => {
|
|
3547
|
+
const { register: g, formState: x, setValue: m, watch: p } = ie(), [j, k] = O(void 0), b = T(() => {
|
|
3547
3548
|
const _ = i ?? null;
|
|
3548
|
-
|
|
3549
|
-
}, [i,
|
|
3549
|
+
m(e, (_ == null ? void 0 : _.toString()) ?? "");
|
|
3550
|
+
}, [i, m, e]), I = T(() => {
|
|
3550
3551
|
const _ = e.split(".");
|
|
3551
|
-
let
|
|
3552
|
+
let C = x.errors;
|
|
3552
3553
|
_.forEach(($) => {
|
|
3553
|
-
|
|
3554
|
-
}), C
|
|
3555
|
-
}, [
|
|
3554
|
+
C !== void 0 && (C = C[$]);
|
|
3555
|
+
}), k(C);
|
|
3556
|
+
}, [x, e]);
|
|
3556
3557
|
E(() => {
|
|
3557
3558
|
I();
|
|
3558
3559
|
}, [I]);
|
|
3559
|
-
const
|
|
3560
|
-
return /* @__PURE__ */ s.jsxs(n, { label: `${t}${l ? " *" : ""}`, hidden: c, withoutLabel:
|
|
3560
|
+
const y = j !== void 0;
|
|
3561
|
+
return /* @__PURE__ */ s.jsxs(n, { label: `${t}${l ? " *" : ""}`, hidden: c, withoutLabel: f, isInvalid: y, children: [
|
|
3561
3562
|
/* @__PURE__ */ s.jsx(Q.Control, { as: "textarea", size: o, ...g(e, {
|
|
3562
3563
|
onChange: () => {
|
|
3563
|
-
r && r.forEach((_) =>
|
|
3564
|
+
r && r.forEach((_) => m(_, null));
|
|
3564
3565
|
}
|
|
3565
|
-
}), isInvalid:
|
|
3566
|
+
}), isInvalid: y, hidden: c, disabled: u, rows: h, style: {
|
|
3566
3567
|
height: d ? `${d}px !important` : void 0,
|
|
3567
3568
|
minHeight: d ? `${d}px !important` : void 0
|
|
3568
3569
|
} }),
|
|
3569
|
-
a && p(e) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: b, children: /* @__PURE__ */ s.jsx(
|
|
3570
|
-
|
|
3570
|
+
a && p(e) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: b, children: /* @__PURE__ */ s.jsx(xe, {}) }) }),
|
|
3571
|
+
j && /* @__PURE__ */ s.jsx(me, { message: j.message })
|
|
3571
3572
|
] });
|
|
3572
|
-
}, Ic = ({ InputContainer: n =
|
|
3573
|
-
const { register:
|
|
3574
|
-
const
|
|
3575
|
-
e === "number" ? p(t,
|
|
3576
|
-
}, [c, e, p, t]),
|
|
3577
|
-
const
|
|
3578
|
-
let $ =
|
|
3579
|
-
|
|
3573
|
+
}, Ic = ({ InputContainer: n = fe, type: e, formField: t, label: r, placeholder: o, size: a, resetsFields: i, showClearIcon: l, clearValue: c, required: u, hidden: d, disabled: h, withoutLabel: f, list: g }) => {
|
|
3574
|
+
const { register: x, formState: m, setValue: p, watch: j } = ie(), [k, b] = O(void 0), I = T(() => {
|
|
3575
|
+
const C = c ?? null;
|
|
3576
|
+
e === "number" ? p(t, C !== null ? Number(C) : null) : p(t, (C == null ? void 0 : C.toString()) ?? "");
|
|
3577
|
+
}, [c, e, p, t]), y = T(() => {
|
|
3578
|
+
const C = t.split(".");
|
|
3579
|
+
let $ = m.errors;
|
|
3580
|
+
C.forEach((L) => {
|
|
3580
3581
|
$ !== void 0 && ($ = $[L]);
|
|
3581
3582
|
}), b($);
|
|
3582
|
-
}, [
|
|
3583
|
+
}, [m, t]);
|
|
3583
3584
|
E(() => {
|
|
3584
|
-
|
|
3585
|
-
}, [
|
|
3586
|
-
const _ =
|
|
3587
|
-
return /* @__PURE__ */ s.jsxs(n, { label: `${r}${u ? " *" : ""}`, hidden: d, withoutLabel:
|
|
3588
|
-
/* @__PURE__ */ s.jsx(Q.Control, { type: e, placeholder: o ?? r, size: a, ...
|
|
3589
|
-
setValueAs: (
|
|
3585
|
+
y();
|
|
3586
|
+
}, [y]);
|
|
3587
|
+
const _ = k !== void 0;
|
|
3588
|
+
return /* @__PURE__ */ s.jsxs(n, { label: `${r}${u ? " *" : ""}`, hidden: d, withoutLabel: f, isInvalid: _, children: [
|
|
3589
|
+
/* @__PURE__ */ s.jsx(Q.Control, { type: e, placeholder: o ?? r, size: a, ...x(t, {
|
|
3590
|
+
setValueAs: (C) => e === "number" ? C == null || C === "" ? null : parseInt(C, 10) : C == null || C === "" ? null : C,
|
|
3590
3591
|
onChange: () => {
|
|
3591
|
-
i && i.forEach((
|
|
3592
|
+
i && i.forEach((C) => p(C, null, { shouldDirty: !0, shouldValidate: !0 }));
|
|
3592
3593
|
}
|
|
3593
3594
|
}), isInvalid: _, hidden: d, disabled: h, list: g }),
|
|
3594
|
-
l &&
|
|
3595
|
-
|
|
3595
|
+
l && j(t) && /* @__PURE__ */ s.jsx("div", { className: `luminus-input-remove-icon ${e !== "text" ? "inset" : ""}`, children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: I, children: /* @__PURE__ */ s.jsx(xe, {}) }) }),
|
|
3596
|
+
k && /* @__PURE__ */ s.jsx(me, { message: k.message })
|
|
3596
3597
|
] });
|
|
3597
|
-
}, Tc = ({ InputContainer: n =
|
|
3598
|
-
const { formState:
|
|
3599
|
-
const
|
|
3600
|
-
let W =
|
|
3601
|
-
|
|
3598
|
+
}, Tc = ({ InputContainer: n = fe, formField: e, label: t, size: r, defaultSelection: o, resetsFields: a, isNumber: i, required: l, hidden: c, disabled: u, items: d, onSearchQueryChange: h, onClickSelectedItem: f, texts: g, isLoading: x, withoutLabel: m, additionalColumns: p }) => {
|
|
3599
|
+
const { formState: j, setValue: k, watch: b, control: I } = ie(), [y, _] = O(void 0), [C, $] = O(!1), [L, P] = O(!1), N = b(e) ?? null, S = N === (o == null ? void 0 : o.id) ? o == null ? void 0 : o.name : b(`${e}-DropdownName`), q = G(() => N == null ? null : { id: N ?? null, name: S ?? "" }, [N, S]), H = T(() => {
|
|
3600
|
+
const w = e.split(".");
|
|
3601
|
+
let W = j.errors;
|
|
3602
|
+
w.forEach((ce) => {
|
|
3602
3603
|
W !== void 0 && (W = W[ce]);
|
|
3603
3604
|
}), _(W);
|
|
3604
|
-
}, [
|
|
3605
|
-
if ((
|
|
3605
|
+
}, [j, e]), K = T((w) => {
|
|
3606
|
+
if ((w == null ? void 0 : w.id) === N)
|
|
3606
3607
|
return;
|
|
3607
|
-
if (a && a.forEach((ce) =>
|
|
3608
|
-
|
|
3608
|
+
if (a && a.forEach((ce) => k(ce, null, { shouldDirty: !0, shouldValidate: !0 })), w === null) {
|
|
3609
|
+
k(e, null, {
|
|
3609
3610
|
shouldDirty: !0,
|
|
3610
3611
|
shouldValidate: L
|
|
3611
|
-
}),
|
|
3612
|
+
}), k(`${e}-DropdownName`, null);
|
|
3612
3613
|
return;
|
|
3613
3614
|
}
|
|
3614
3615
|
let W = null;
|
|
3615
|
-
i ? W = (
|
|
3616
|
+
i ? W = (w == null ? void 0 : w.id) !== null && (w == null ? void 0 : w.id) !== "" ? parseInt(w.id.toString(), 10) : null : W = w.id === null || w.id === void 0 || w.id === "" ? null : w.id, k(e, W, {
|
|
3616
3617
|
shouldDirty: !0,
|
|
3617
3618
|
shouldValidate: L
|
|
3618
|
-
}),
|
|
3619
|
-
}, [
|
|
3620
|
-
$(!1),
|
|
3621
|
-
}, [
|
|
3619
|
+
}), k(`${e}-DropdownName`, w.name ?? "");
|
|
3620
|
+
}, [k, e, L, i, a, N]), U = T((w) => {
|
|
3621
|
+
$(!1), K(w);
|
|
3622
|
+
}, [K]), te = T(() => {
|
|
3622
3623
|
$(!1);
|
|
3623
3624
|
}, []);
|
|
3624
3625
|
E(() => {
|
|
3625
3626
|
H();
|
|
3626
3627
|
}, [H]), E(() => {
|
|
3627
|
-
|
|
3628
|
-
}, [
|
|
3629
|
-
const Z = R(null), F =
|
|
3630
|
-
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(n, { label: `${t}${l ? " *" : ""}`, hidden: c, withoutLabel:
|
|
3631
|
-
/* @__PURE__ */ s.jsx(Vt, { control: I, name: e, render: () => /* @__PURE__ */ s.jsx(Q.Select, { size: r, onMouseDown: (
|
|
3632
|
-
|
|
3628
|
+
j.isSubmitted && P(!0);
|
|
3629
|
+
}, [j]);
|
|
3630
|
+
const Z = R(null), F = y !== void 0;
|
|
3631
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(n, { label: `${t}${l ? " *" : ""}`, hidden: c, withoutLabel: m, isInvalid: F, inputContainerClassName: v({ "luminus-dropdown-select-open": C }), children: [
|
|
3632
|
+
/* @__PURE__ */ s.jsx(Vt, { control: I, name: e, render: () => /* @__PURE__ */ s.jsx(Q.Select, { size: r, onMouseDown: (w) => {
|
|
3633
|
+
w.currentTarget.focus(), w.preventDefault();
|
|
3633
3634
|
}, onClick: () => {
|
|
3634
3635
|
$(!0);
|
|
3635
3636
|
}, ref: Z, value: N ?? "", onChange: () => {
|
|
3636
|
-
}, isInvalid: F, hidden: c, disabled: u &&
|
|
3637
|
-
|
|
3638
|
-
Z.current && /* @__PURE__ */ s.jsx(ht, { show:
|
|
3637
|
+
}, isInvalid: F, hidden: c, disabled: u && f === void 0, className: v({ "luminus-dropdown-picker-disabled": u }), children: /* @__PURE__ */ s.jsx("option", { value: N, children: (S == null ? void 0 : S.length) > 0 ? S : N }) }) }),
|
|
3638
|
+
y && /* @__PURE__ */ s.jsx(me, { message: y.message }),
|
|
3639
|
+
Z.current && /* @__PURE__ */ s.jsx(ht, { show: C, onCancel: te, items: d, currentSelection: q, onSelectionChange: U, onClickSelectedItem: f, onSearchQueryChange: h, texts: g, additionalColumns: p, isLoading: x, disabled: u, inputRef: Z })
|
|
3639
3640
|
] }) });
|
|
3640
|
-
}, Sc = ({ InputContainer: n =
|
|
3641
|
-
const { watch:
|
|
3641
|
+
}, Sc = ({ InputContainer: n = fe, label: e, formField: t, hidden: r, required: o, placeholder: a, disabled: i, showClearIcon: l, resetsFields: c, multiple: u, accept: d, withoutLabel: h }) => {
|
|
3642
|
+
const { watch: f, setValue: g, register: x, formState: m } = ie(), [p, j] = O(void 0), k = T(() => {
|
|
3642
3643
|
g(t, "");
|
|
3643
3644
|
}, [g, t]), b = T(() => {
|
|
3644
|
-
const
|
|
3645
|
-
let _ =
|
|
3646
|
-
|
|
3647
|
-
_ !== void 0 && (_ = _[
|
|
3648
|
-
}),
|
|
3649
|
-
}, [
|
|
3645
|
+
const y = t.split(".");
|
|
3646
|
+
let _ = m.errors;
|
|
3647
|
+
y.forEach((C) => {
|
|
3648
|
+
_ !== void 0 && (_ = _[C]);
|
|
3649
|
+
}), j(_);
|
|
3650
|
+
}, [m, t]);
|
|
3650
3651
|
E(b, [b]);
|
|
3651
3652
|
const I = p !== void 0;
|
|
3652
3653
|
return /* @__PURE__ */ s.jsxs(n, { label: `${e}${o ? "*" : ""}`, hidden: r, withoutLabel: h, isInvalid: I, children: [
|
|
3653
|
-
/* @__PURE__ */ s.jsx(Tn, { type: "file", multiple: u, accept: d.join(", "), placeholder: a ?? e, isInvalid: I, hidden: r, disabled: i, ...
|
|
3654
|
+
/* @__PURE__ */ s.jsx(Tn, { type: "file", multiple: u, accept: d.join(", "), placeholder: a ?? e, isInvalid: I, hidden: r, disabled: i, ...x(t, {
|
|
3654
3655
|
onChange: () => {
|
|
3655
|
-
c && c.forEach((
|
|
3656
|
+
c && c.forEach((y) => g(y, null));
|
|
3656
3657
|
}
|
|
3657
3658
|
}) }),
|
|
3658
|
-
l &&
|
|
3659
|
-
p && /* @__PURE__ */ s.jsx(
|
|
3659
|
+
l && f(t) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx(X, { color: "secondary", size: "sm", onClick: k, children: /* @__PURE__ */ s.jsx(xe, {}) }) }),
|
|
3660
|
+
p && /* @__PURE__ */ s.jsx(me, { message: p.message })
|
|
3660
3661
|
] });
|
|
3661
3662
|
}, Ec = ({ children: n, onStorno: e }) => {
|
|
3662
3663
|
const { formState: t } = ie(), [r, o] = O(!1);
|
|
3663
3664
|
return E(() => {
|
|
3664
3665
|
o(Object.keys(t.dirtyFields).length > 0);
|
|
3665
|
-
}, [t]), r ? /* @__PURE__ */ s.jsx(
|
|
3666
|
-
}, Oc = ({ InputContainer: n =
|
|
3667
|
-
const { customSelectTexts: g } = D(ae), { formState:
|
|
3668
|
-
const
|
|
3669
|
-
let W =
|
|
3670
|
-
|
|
3666
|
+
}, [t]), r ? /* @__PURE__ */ s.jsx(xa, { onStorno: e, children: n }) : null;
|
|
3667
|
+
}, Oc = ({ InputContainer: n = fe, options: e, formField: t, label: r, size: o, resetsFields: a, isNumber: i, required: l, hidden: c, disabled: u, withoutLabel: d, noSortOptions: h, suffixIdToName: f }) => {
|
|
3668
|
+
const { customSelectTexts: g } = D(ae), { formState: x, setValue: m, watch: p, control: j } = ie(), [k, b] = O(void 0), [I, y] = O(!1), [_, C] = O(!1), [$, L] = O(""), P = p(t), N = G(() => e.find((w) => w.id === P) ?? null, [e, P]), S = T(() => {
|
|
3669
|
+
const w = t.split(".");
|
|
3670
|
+
let W = x.errors;
|
|
3671
|
+
w.forEach((ce) => {
|
|
3671
3672
|
W !== void 0 && (W = W[ce]);
|
|
3672
3673
|
}), b(W);
|
|
3673
|
-
}, [
|
|
3674
|
-
if ((
|
|
3674
|
+
}, [x, t]), q = T((w) => {
|
|
3675
|
+
if ((w == null ? void 0 : w.id) === P)
|
|
3675
3676
|
return;
|
|
3676
|
-
if (a && a.forEach((ce) =>
|
|
3677
|
-
|
|
3677
|
+
if (a && a.forEach((ce) => m(ce, null, { shouldDirty: !0, shouldValidate: !0 })), w === null) {
|
|
3678
|
+
m(t, null, {
|
|
3678
3679
|
shouldDirty: !0,
|
|
3679
3680
|
shouldValidate: _
|
|
3680
3681
|
});
|
|
3681
3682
|
return;
|
|
3682
3683
|
}
|
|
3683
3684
|
let W = null;
|
|
3684
|
-
i ? W = (
|
|
3685
|
+
i ? W = (w == null ? void 0 : w.id) !== null && (w == null ? void 0 : w.id) !== "" ? parseInt(w.id.toString(), 10) : null : W = w.id === null || w.id === void 0 || w.id === "" ? null : w.id, m(t, W, {
|
|
3685
3686
|
shouldDirty: !0,
|
|
3686
3687
|
shouldValidate: _
|
|
3687
3688
|
});
|
|
3688
|
-
}, [
|
|
3689
|
-
|
|
3690
|
-
}, [q]),
|
|
3691
|
-
L(
|
|
3689
|
+
}, [m, t, i, a, P, _]), H = T((w) => {
|
|
3690
|
+
y(!1), q(w);
|
|
3691
|
+
}, [q]), K = T((w) => {
|
|
3692
|
+
L(w);
|
|
3692
3693
|
}, []);
|
|
3693
3694
|
E(() => {
|
|
3694
3695
|
S();
|
|
3695
3696
|
}, [S]), E(() => {
|
|
3696
|
-
|
|
3697
|
-
}, [
|
|
3698
|
-
const U = T((
|
|
3697
|
+
x.isSubmitted && C(!0);
|
|
3698
|
+
}, [x]);
|
|
3699
|
+
const U = T((w) => {
|
|
3699
3700
|
var W;
|
|
3700
|
-
return
|
|
3701
|
-
}, [
|
|
3702
|
-
id:
|
|
3703
|
-
name: U(
|
|
3704
|
-
})).filter((
|
|
3701
|
+
return w === null ? "" : !w.name || w.name.length === 0 ? ((W = w.id) == null ? void 0 : W.toString()) ?? "" : f ? `${w.name} (${w.id})` : w.name;
|
|
3702
|
+
}, [f]), te = G(() => e.map((w) => ({
|
|
3703
|
+
id: w.id,
|
|
3704
|
+
name: U(w)
|
|
3705
|
+
})).filter((w) => {
|
|
3705
3706
|
var W;
|
|
3706
|
-
return $ ? (W =
|
|
3707
|
-
}).sort((
|
|
3707
|
+
return $ ? (W = w.name) == null ? void 0 : W.toLowerCase().includes($.toLowerCase()) : !0;
|
|
3708
|
+
}).sort((w, W) => h ? 0 : (w.name ?? "").localeCompare(W.name ?? "")), [e, h, $, U]), Z = R(null), F = k !== void 0;
|
|
3708
3709
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(n, { label: `${r}${l ? " *" : ""}`, hidden: c, withoutLabel: d, isInvalid: F, inputContainerClassName: v({ "luminus-dropdown-select-open": I }), children: [
|
|
3709
|
-
/* @__PURE__ */ s.jsx(Vt, { control:
|
|
3710
|
-
|
|
3710
|
+
/* @__PURE__ */ s.jsx(Vt, { control: j, name: t, render: () => /* @__PURE__ */ s.jsx(Q.Select, { size: o, onMouseDown: (w) => {
|
|
3711
|
+
w.currentTarget.focus(), w.preventDefault();
|
|
3711
3712
|
}, onClick: () => {
|
|
3712
|
-
|
|
3713
|
+
y(!0);
|
|
3713
3714
|
}, ref: Z, value: P ?? "", onChange: () => {
|
|
3714
3715
|
}, isInvalid: F, hidden: c, disabled: u, children: /* @__PURE__ */ s.jsx("option", { value: (N == null ? void 0 : N.id) ?? "", children: U(N) }) }) }),
|
|
3715
|
-
|
|
3716
|
-
Z.current && /* @__PURE__ */ s.jsx(ht, { show: I, onCancel: () =>
|
|
3716
|
+
k && /* @__PURE__ */ s.jsx(me, { message: k.message }),
|
|
3717
|
+
Z.current && /* @__PURE__ */ s.jsx(ht, { show: I, onCancel: () => y(!1), items: te, currentSelection: N ?? null, onSelectionChange: H, onSearchQueryChange: K, texts: g, disabled: u, inputRef: Z, autoHideSearch: !0, allItemsLength: e.length })
|
|
3717
3718
|
] }) });
|
|
3718
3719
|
}, Mc = ({ cell: { value: n } }) => /* @__PURE__ */ s.jsx(s.Fragment, { children: n ? /* @__PURE__ */ s.jsx($r, { name: n, size: 21, fontSize: 12 }) : /* @__PURE__ */ s.jsx(s.Fragment, {}) }), Ji = "_tab-panel_so0nf_1", Zi = "_full-height-no-overflow_so0nf_5", Wt = {
|
|
3719
3720
|
"tab-panel": "_tab-panel_so0nf_1",
|
|
@@ -3727,17 +3728,17 @@ const ui = "_item_1dy8x_1", Hn = {
|
|
|
3727
3728
|
} }, i);
|
|
3728
3729
|
}) }), ec = "_tab_gvohp_1", tc = {
|
|
3729
3730
|
tab: ec
|
|
3730
|
-
}, Ac = ({ eventKey: n, className: e, onClick: t, children: r }) => /* @__PURE__ */ s.jsx("div", { role: "button", className: v("luminus-tab text-primary rounded", tc.tab, e), onClick: () => t && t(n), children: typeof r == "string" ? /* @__PURE__ */ s.jsx(
|
|
3731
|
+
}, Ac = ({ eventKey: n, className: e, onClick: t, children: r }) => /* @__PURE__ */ s.jsx("div", { role: "button", className: v("luminus-tab text-primary rounded", tc.tab, e), onClick: () => t && t(n), children: typeof r == "string" ? /* @__PURE__ */ s.jsx(V, { variant: "h6", className: "text-primary", children: r }) : r });
|
|
3731
3732
|
export {
|
|
3732
3733
|
cc as ApiFileDownloadButton,
|
|
3733
3734
|
gc as AppSearch,
|
|
3734
|
-
|
|
3735
|
+
vc as AuthTemplate,
|
|
3735
3736
|
$r as AvatarIcon,
|
|
3736
3737
|
Bn as Backdrop,
|
|
3737
3738
|
hc as Badge,
|
|
3738
3739
|
wc as Card,
|
|
3739
3740
|
bc as CheckInput,
|
|
3740
|
-
|
|
3741
|
+
fc as Collapse,
|
|
3741
3742
|
qn as ContextButton,
|
|
3742
3743
|
wi as Dropdown,
|
|
3743
3744
|
pc as DropdownDivider,
|
|
@@ -3745,8 +3746,8 @@ export {
|
|
|
3745
3746
|
jc as DropdownPicker,
|
|
3746
3747
|
hi as DropdownToggle,
|
|
3747
3748
|
Ln as FileUploadContextButton,
|
|
3748
|
-
|
|
3749
|
-
|
|
3749
|
+
mc as FileUploadDropdownItem,
|
|
3750
|
+
xa as FloatingFormSubmit,
|
|
3750
3751
|
qe as FloatingLabelInput,
|
|
3751
3752
|
dc as HomeDashboard,
|
|
3752
3753
|
Cc as HookFormCheckInput,
|
|
@@ -3757,16 +3758,16 @@ export {
|
|
|
3757
3758
|
Oc as HookFormSelectInput,
|
|
3758
3759
|
$c as HookFormTextAreaInput,
|
|
3759
3760
|
Ic as HookFormTextInput,
|
|
3760
|
-
|
|
3761
|
+
xc as HtmlTooltip,
|
|
3761
3762
|
X as IconButton,
|
|
3762
|
-
|
|
3763
|
+
me as InvalidFeedback,
|
|
3763
3764
|
Yc as Loading,
|
|
3764
3765
|
lc as MonthPicker,
|
|
3765
3766
|
Rc as NoInputContainer,
|
|
3766
3767
|
yc as PhotoLibrary,
|
|
3767
3768
|
Xi as PhotoLightbox,
|
|
3768
3769
|
St as PrimaryButton,
|
|
3769
|
-
|
|
3770
|
+
fe as RowLabelInput,
|
|
3770
3771
|
kc as SelectInput,
|
|
3771
3772
|
ht as SimplePicker,
|
|
3772
3773
|
br as SimpleToggle,
|
|
@@ -3775,7 +3776,7 @@ export {
|
|
|
3775
3776
|
Pc as TabPanel,
|
|
3776
3777
|
Dc as Tabs,
|
|
3777
3778
|
_c as TextInput,
|
|
3778
|
-
|
|
3779
|
+
V as Typography,
|
|
3779
3780
|
qc as UserAvatarToggle,
|
|
3780
3781
|
Mc as UserAvatarValueFormat,
|
|
3781
3782
|
uc as YearPicker
|