@simoncomputing/mui-bueno-v2 0.32.3 → 0.32.4
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/CHANGELOG.md +12 -0
- package/dist/components/Tooltips/HelpTooltip/HelpTooltip.d.ts +7 -0
- package/dist/components/Tooltips/IconTooltip/IconTooltip.d.ts +19 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +247 -243
- package/dist/index.umd.js +90 -90
- package/package.json +1 -1
- package/dist/components/HelpTooltip/HelpTooltip.d.ts +0 -17
package/dist/index.es.js
CHANGED
|
@@ -387,7 +387,7 @@ const kV = "0px", EV = "600px", OV = "960px", MV = "1100px", _V = "1536px", RV =
|
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
var YO, GO, JO, XO, ZO, QO, eM, tM, nM, rM, oM, iM;
|
|
390
|
-
const
|
|
390
|
+
const Ipe = bM({
|
|
391
391
|
...Hn,
|
|
392
392
|
palette: {
|
|
393
393
|
...Hn.palette,
|
|
@@ -458,7 +458,7 @@ const Rpe = bM({
|
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
var sM, aM, lM, cM, uM, dM, fM, pM, hM, mM, gM, yM;
|
|
461
|
-
const
|
|
461
|
+
const Dpe = bM({
|
|
462
462
|
...Hn,
|
|
463
463
|
palette: {
|
|
464
464
|
...Hn.palette,
|
|
@@ -43050,7 +43050,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
43050
43050
|
})(au, au.exports)), au.exports;
|
|
43051
43051
|
}
|
|
43052
43052
|
var Ba = vre();
|
|
43053
|
-
const CD = /* @__PURE__ */ cr(Ba),
|
|
43053
|
+
const CD = /* @__PURE__ */ cr(Ba), $pe = (t) => {
|
|
43054
43054
|
const {
|
|
43055
43055
|
name: e,
|
|
43056
43056
|
onInputChange: n,
|
|
@@ -43106,7 +43106,7 @@ const CD = /* @__PURE__ */ cr(Ba), Npe = (t) => {
|
|
|
43106
43106
|
...m
|
|
43107
43107
|
}
|
|
43108
43108
|
);
|
|
43109
|
-
},
|
|
43109
|
+
}, Lpe = (t) => {
|
|
43110
43110
|
const {
|
|
43111
43111
|
name: e,
|
|
43112
43112
|
label: n = Kn(e),
|
|
@@ -43308,7 +43308,7 @@ const CD = /* @__PURE__ */ cr(Ba), Npe = (t) => {
|
|
|
43308
43308
|
/* @__PURE__ */ x(Qr, { name: e, id: `${e}-err`, errorMode: y })
|
|
43309
43309
|
] })
|
|
43310
43310
|
] });
|
|
43311
|
-
},
|
|
43311
|
+
}, Fpe = (t) => {
|
|
43312
43312
|
const {
|
|
43313
43313
|
name: e,
|
|
43314
43314
|
checkboxes: n = [],
|
|
@@ -43510,7 +43510,7 @@ const CD = /* @__PURE__ */ cr(Ba), Npe = (t) => {
|
|
|
43510
43510
|
d: "M15 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V7zM6 20V4h8v4h4v12zm10-10v5c0 2.21-1.79 4-4 4s-4-1.79-4-4V8.5c0-1.47 1.26-2.64 2.76-2.49 1.3.13 2.24 1.32 2.24 2.63V15h-2V8.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5V15c0 1.1.9 2 2 2s2-.9 2-2v-5z"
|
|
43511
43511
|
}), "FilePresent"), N1 = Pe(/* @__PURE__ */ x("path", {
|
|
43512
43512
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
43513
|
-
}), "Delete"),
|
|
43513
|
+
}), "Delete"), Bpe = (t) => {
|
|
43514
43514
|
const { name: e } = t, [n, , r] = Zn({ name: e }), { setValue: o } = r, i = n.value;
|
|
43515
43515
|
return /* @__PURE__ */ x("div", { style: { width: "100%" }, children: i.map((s) => /* @__PURE__ */ x(Ma, { sx: { margin: "10px 0px" }, children: /* @__PURE__ */ Q(
|
|
43516
43516
|
jb,
|
|
@@ -43799,7 +43799,7 @@ function jre(t, e, n) {
|
|
|
43799
43799
|
const r = document.createElement("script");
|
|
43800
43800
|
r.setAttribute("async", ""), r.setAttribute("id", n), r.src = t, r.onerror = () => console.error(`Failed to load script: ${t}`), e.appendChild(r);
|
|
43801
43801
|
}
|
|
43802
|
-
const Wc = { current: null },
|
|
43802
|
+
const Wc = { current: null }, Vpe = (t) => {
|
|
43803
43803
|
const {
|
|
43804
43804
|
name: e,
|
|
43805
43805
|
label: n = Kn(e),
|
|
@@ -44018,7 +44018,7 @@ const Wc = { current: null }, Bpe = (t) => {
|
|
|
44018
44018
|
),
|
|
44019
44019
|
/* @__PURE__ */ x(Qr, { name: e, id: `${e}-err`, errorMode: m })
|
|
44020
44020
|
] });
|
|
44021
|
-
},
|
|
44021
|
+
}, zpe = (t) => {
|
|
44022
44022
|
const {
|
|
44023
44023
|
name: e,
|
|
44024
44024
|
label: n = Kn(e),
|
|
@@ -44051,7 +44051,7 @@ const Wc = { current: null }, Bpe = (t) => {
|
|
|
44051
44051
|
}
|
|
44052
44052
|
)
|
|
44053
44053
|
] });
|
|
44054
|
-
},
|
|
44054
|
+
}, Hpe = (t) => {
|
|
44055
44055
|
const {
|
|
44056
44056
|
name: e,
|
|
44057
44057
|
options: n = [],
|
|
@@ -44149,7 +44149,7 @@ const Wc = { current: null }, Bpe = (t) => {
|
|
|
44149
44149
|
/* @__PURE__ */ x(Qr, { name: e, id: `${e}-err`, errorMode: p })
|
|
44150
44150
|
] })
|
|
44151
44151
|
] });
|
|
44152
|
-
},
|
|
44152
|
+
}, Wpe = (t) => {
|
|
44153
44153
|
const {
|
|
44154
44154
|
name: e,
|
|
44155
44155
|
label: n = Kn(e),
|
|
@@ -57286,7 +57286,7 @@ const SO = (t) => {
|
|
|
57286
57286
|
/* @__PURE__ */ x(Qr, { name: e, id: `${e}-err`, errorMode: p })
|
|
57287
57287
|
] })
|
|
57288
57288
|
] });
|
|
57289
|
-
},
|
|
57289
|
+
}, jpe = (t) => {
|
|
57290
57290
|
const {
|
|
57291
57291
|
nameTo: e,
|
|
57292
57292
|
nameFrom: n,
|
|
@@ -59319,7 +59319,7 @@ function Lde({ placeholder: t } = {}) {
|
|
|
59319
59319
|
function AO(t) {
|
|
59320
59320
|
return Array.from(t).filter((e) => (e.type || "").toLowerCase().startsWith("image/"));
|
|
59321
59321
|
}
|
|
59322
|
-
const
|
|
59322
|
+
const Upe = (t) => {
|
|
59323
59323
|
const e = Lde({
|
|
59324
59324
|
placeholder: "Add your own content here..."
|
|
59325
59325
|
});
|
|
@@ -59520,8 +59520,11 @@ const jpe = (t) => {
|
|
|
59520
59520
|
const { gap: e = 1, ...n } = t;
|
|
59521
59521
|
return /* @__PURE__ */ x(Ne, { display: "flex", flexDirection: "column", gap: e, ...n });
|
|
59522
59522
|
};
|
|
59523
|
-
function Fde({
|
|
59524
|
-
return
|
|
59523
|
+
function Fde({ icon: t, color: e = "inherit", children: n }) {
|
|
59524
|
+
return n ? /* @__PURE__ */ x($o, { title: n, children: /* @__PURE__ */ x($n, { disableTouchRipple: !0, size: "small", children: /* @__PURE__ */ x(t, { "data-testid": "MBv2_table-tooltip", fontSize: "small", sx: { color: e } }) }) }) : null;
|
|
59525
|
+
}
|
|
59526
|
+
function Bde(t) {
|
|
59527
|
+
return /* @__PURE__ */ x(Fde, { icon: noe, ...t });
|
|
59525
59528
|
}
|
|
59526
59529
|
const HA = (t) => {
|
|
59527
59530
|
const {
|
|
@@ -59559,7 +59562,7 @@ const HA = (t) => {
|
|
|
59559
59562
|
} = t, { palette: A } = Xn(), _ = A.grey[A.mode == "dark" ? 600 : 50], [I, B] = He.useState(void 0), [W, q] = He.useState(
|
|
59560
59563
|
typeof O == "string" || typeof O == "number" ? O : void 0
|
|
59561
59564
|
);
|
|
59562
|
-
|
|
59565
|
+
Vde(t);
|
|
59563
59566
|
const j = (he) => {
|
|
59564
59567
|
he !== f ? m && m(he, "asc") : m && m(f, p === "asc" ? "desc" : "asc");
|
|
59565
59568
|
}, K = (he) => f === he ? p : null, fe = Fs(Xn().breakpoints.down("sm")), le = r.filter((he) => !he.hideCol && (!fe || !he.hideOnMobile));
|
|
@@ -59683,7 +59686,7 @@ const HA = (t) => {
|
|
|
59683
59686
|
}
|
|
59684
59687
|
}
|
|
59685
59688
|
};
|
|
59686
|
-
}, Ce = (he) => /* @__PURE__ */ x(
|
|
59689
|
+
}, Ce = (he) => /* @__PURE__ */ x(Bde, { color: z, children: he }), Ie = (he, $e) => {
|
|
59687
59690
|
const Re = he.find((ut) => ut.key === "MBv2_Checkbox_Column"), vt = le.filter((ut) => ut.key !== "MBv2_Checkbox_Column");
|
|
59688
59691
|
return /* @__PURE__ */ Q(Wi, { alignItems: "flex-start", children: [
|
|
59689
59692
|
Re && /* @__PURE__ */ x(Mh, { children: Ll(Re, $e, fe) }),
|
|
@@ -59902,7 +59905,7 @@ const HA = (t) => {
|
|
|
59902
59905
|
)
|
|
59903
59906
|
}
|
|
59904
59907
|
) });
|
|
59905
|
-
},
|
|
59908
|
+
}, Vde = (t) => {
|
|
59906
59909
|
const {
|
|
59907
59910
|
fixedLayout: e,
|
|
59908
59911
|
checkedKeys: n,
|
|
@@ -59924,13 +59927,13 @@ const HA = (t) => {
|
|
|
59924
59927
|
b.length > 0 && console.warn(
|
|
59925
59928
|
`${p} duplicate key/fieldName found in 'columns': ${b.join(", ")}. Make sure to define a unique 'key' if you have multiple column definitions with the same 'fieldName'.`
|
|
59926
59929
|
), f && u && console.warn(`${p} must choose 'highlightSelectedRow' (uncontrolled) or 'selectedRowKey' (controlled)`);
|
|
59927
|
-
}, kn = (t) => t.key ?? t.fieldName,
|
|
59930
|
+
}, kn = (t) => t.key ?? t.fieldName, zde = (t, e) => e.split(".").reduce((n, r) => {
|
|
59928
59931
|
if (n && typeof n == "object")
|
|
59929
59932
|
return n[r];
|
|
59930
59933
|
}, t), Ll = (t, e, n = !1) => {
|
|
59931
|
-
const r =
|
|
59934
|
+
const r = zde(e, t.fieldName);
|
|
59932
59935
|
return t.render ? t.render(r, e, n) : r;
|
|
59933
|
-
},
|
|
59936
|
+
}, Hde = (t) => {
|
|
59934
59937
|
const {
|
|
59935
59938
|
paginationState: e,
|
|
59936
59939
|
onPageChange: n,
|
|
@@ -59991,7 +59994,7 @@ const HA = (t) => {
|
|
|
59991
59994
|
...Tr({ ...t }, a)
|
|
59992
59995
|
}
|
|
59993
59996
|
);
|
|
59994
|
-
},
|
|
59997
|
+
}, Wde = (t) => {
|
|
59995
59998
|
const { citation: e, anchorEl: n, onDeleteCitation: r, onClose: o } = t;
|
|
59996
59999
|
if (r)
|
|
59997
60000
|
return /* @__PURE__ */ x(av, { open: e !== null, anchorEl: n, placement: "bottom-end", style: { zIndex: 1300 }, children: e && /* @__PURE__ */ Q(
|
|
@@ -60035,7 +60038,7 @@ const HA = (t) => {
|
|
|
60035
60038
|
]
|
|
60036
60039
|
}
|
|
60037
60040
|
) });
|
|
60038
|
-
},
|
|
60041
|
+
}, jde = (t) => {
|
|
60039
60042
|
const { citation: e, anchorEl: n, onClose: r, open: o } = t;
|
|
60040
60043
|
return /* @__PURE__ */ x(av, { open: o, anchorEl: n, placement: "bottom-end", style: { zIndex: 1300 }, children: e && /* @__PURE__ */ Q(
|
|
60041
60044
|
Ne,
|
|
@@ -60114,7 +60117,7 @@ function Q0({ canLaunchUrl: t, citation: e, asLink: n }) {
|
|
|
60114
60117
|
children: /* @__PURE__ */ x(L1, {})
|
|
60115
60118
|
}
|
|
60116
60119
|
) }),
|
|
60117
|
-
/* @__PURE__ */ x(
|
|
60120
|
+
/* @__PURE__ */ x(jde, { citation: e, anchorEl: r.current, onClose: s, open: o })
|
|
60118
60121
|
] });
|
|
60119
60122
|
}
|
|
60120
60123
|
function jA({ onDownloadAttachment: t, citation: e }) {
|
|
@@ -60162,7 +60165,7 @@ function UA({ onPreviewAttachment: t, citation: e }) {
|
|
|
60162
60165
|
}
|
|
60163
60166
|
) });
|
|
60164
60167
|
}
|
|
60165
|
-
const
|
|
60168
|
+
const Ude = (t) => {
|
|
60166
60169
|
const {
|
|
60167
60170
|
refreshKey: e,
|
|
60168
60171
|
title: n,
|
|
@@ -60270,7 +60273,7 @@ const jde = (t) => {
|
|
|
60270
60273
|
m || // view attachment btn
|
|
60271
60274
|
p || // download btn
|
|
60272
60275
|
O, Ce = [
|
|
60273
|
-
...
|
|
60276
|
+
...qde(F, k),
|
|
60274
60277
|
{
|
|
60275
60278
|
fieldName: "id",
|
|
60276
60279
|
key: "Action",
|
|
@@ -60303,7 +60306,7 @@ const jde = (t) => {
|
|
|
60303
60306
|
] }),
|
|
60304
60307
|
$ ? /* @__PURE__ */ x(foe, { onSearch: Ie }) : null,
|
|
60305
60308
|
/* @__PURE__ */ x(
|
|
60306
|
-
|
|
60309
|
+
Hde,
|
|
60307
60310
|
{
|
|
60308
60311
|
"data-testid": "citation-table",
|
|
60309
60312
|
size: k ? "x-small" : "medium",
|
|
@@ -60333,7 +60336,7 @@ const jde = (t) => {
|
|
|
60333
60336
|
] })
|
|
60334
60337
|
] }),
|
|
60335
60338
|
/* @__PURE__ */ x(
|
|
60336
|
-
|
|
60339
|
+
Wde,
|
|
60337
60340
|
{
|
|
60338
60341
|
citation: fe,
|
|
60339
60342
|
anchorEl: j,
|
|
@@ -60345,7 +60348,7 @@ const jde = (t) => {
|
|
|
60345
60348
|
}, $O = (t, e) => {
|
|
60346
60349
|
const n = t ? Ba.truncate(e, { length: 30, omission: "..." }) : e, r = n == null ? void 0 : n.endsWith("...");
|
|
60347
60350
|
return /* @__PURE__ */ x("span", { style: { wordBreak: "break-all" }, children: r ? /* @__PURE__ */ x($o, { title: e, children: /* @__PURE__ */ x("span", { children: n }) }) : e });
|
|
60348
|
-
},
|
|
60351
|
+
}, qde = (t, e = !1) => [
|
|
60349
60352
|
{
|
|
60350
60353
|
fieldName: "fileName",
|
|
60351
60354
|
key: "CitationOrAttachment",
|
|
@@ -60399,7 +60402,7 @@ const jde = (t) => {
|
|
|
60399
60402
|
}
|
|
60400
60403
|
];
|
|
60401
60404
|
var zb, LO;
|
|
60402
|
-
function
|
|
60405
|
+
function Kde() {
|
|
60403
60406
|
if (LO) return zb;
|
|
60404
60407
|
LO = 1;
|
|
60405
60408
|
function t(C) {
|
|
@@ -60477,8 +60480,8 @@ function qde() {
|
|
|
60477
60480
|
}
|
|
60478
60481
|
return zb;
|
|
60479
60482
|
}
|
|
60480
|
-
var Oa =
|
|
60481
|
-
function
|
|
60483
|
+
var Oa = Kde(), Hb, FO;
|
|
60484
|
+
function Yde() {
|
|
60482
60485
|
if (FO) return Hb;
|
|
60483
60486
|
FO = 1;
|
|
60484
60487
|
const t = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, e = (f) => f.match(t) || [], n = (f) => f[0].toUpperCase() + f.slice(1), r = (f, p) => e(f).join(p).toLowerCase(), o = (f) => e(f).reduce(
|
|
@@ -60496,8 +60499,8 @@ function Kde() {
|
|
|
60496
60499
|
titleCase: (f) => e(f).map(n).join(" ")
|
|
60497
60500
|
}, Hb;
|
|
60498
60501
|
}
|
|
60499
|
-
var Wb =
|
|
60500
|
-
function
|
|
60502
|
+
var Wb = Yde(), Uf = { exports: {} }, BO;
|
|
60503
|
+
function Gde() {
|
|
60501
60504
|
if (BO) return Uf.exports;
|
|
60502
60505
|
BO = 1, Uf.exports = function(o) {
|
|
60503
60506
|
return t(e(o), o);
|
|
@@ -60558,20 +60561,20 @@ function Yde() {
|
|
|
60558
60561
|
}
|
|
60559
60562
|
return Uf.exports;
|
|
60560
60563
|
}
|
|
60561
|
-
var
|
|
60562
|
-
const
|
|
60563
|
-
function
|
|
60564
|
+
var Jde = Gde();
|
|
60565
|
+
const Xde = /* @__PURE__ */ cr(Jde), Zde = Object.prototype.toString, Qde = Error.prototype.toString, efe = RegExp.prototype.toString, tfe = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", nfe = /^Symbol\((.*)\)(.*)$/;
|
|
60566
|
+
function rfe(t) {
|
|
60564
60567
|
return t != +t ? "NaN" : t === 0 && 1 / t < 0 ? "-0" : "" + t;
|
|
60565
60568
|
}
|
|
60566
60569
|
function VO(t, e = !1) {
|
|
60567
60570
|
if (t == null || t === !0 || t === !1) return "" + t;
|
|
60568
60571
|
const n = typeof t;
|
|
60569
|
-
if (n === "number") return
|
|
60572
|
+
if (n === "number") return rfe(t);
|
|
60570
60573
|
if (n === "string") return e ? `"${t}"` : t;
|
|
60571
60574
|
if (n === "function") return "[Function " + (t.name || "anonymous") + "]";
|
|
60572
|
-
if (n === "symbol") return
|
|
60573
|
-
const r =
|
|
60574
|
-
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" +
|
|
60575
|
+
if (n === "symbol") return tfe.call(t).replace(nfe, "Symbol($1)");
|
|
60576
|
+
const r = Zde.call(t).slice(8, -1);
|
|
60577
|
+
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" + Qde.call(t) + "]" : r === "RegExp" ? efe.call(t) : null;
|
|
60575
60578
|
}
|
|
60576
60579
|
function Ps(t, e) {
|
|
60577
60580
|
let n = VO(t, e);
|
|
@@ -60583,7 +60586,7 @@ function Ps(t, e) {
|
|
|
60583
60586
|
function qA(t) {
|
|
60584
60587
|
return t == null ? [] : [].concat(t);
|
|
60585
60588
|
}
|
|
60586
|
-
let KA, YA, GA,
|
|
60589
|
+
let KA, YA, GA, ofe = /\$\{\s*(\w+)\s*\}/g;
|
|
60587
60590
|
KA = Symbol.toStringTag;
|
|
60588
60591
|
class zO {
|
|
60589
60592
|
constructor(e, n, r, o) {
|
|
@@ -60605,7 +60608,7 @@ class Sr extends Error {
|
|
|
60605
60608
|
return n = Object.assign({}, n, {
|
|
60606
60609
|
path: r,
|
|
60607
60610
|
originalPath: n.path
|
|
60608
|
-
}), typeof e == "string" ? e.replace(
|
|
60611
|
+
}), typeof e == "string" ? e.replace(ofe, (o, i) => Ps(n[i])) : typeof e == "function" ? e(n) : e;
|
|
60609
60612
|
}
|
|
60610
60613
|
static isError(e) {
|
|
60611
60614
|
return e && e.name === "ValidationError";
|
|
@@ -60650,7 +60653,7 @@ let Zo = {
|
|
|
60650
60653
|
trim: "${path} must be a trimmed string",
|
|
60651
60654
|
lowercase: "${path} must be a lowercase string",
|
|
60652
60655
|
uppercase: "${path} must be a upper case string"
|
|
60653
|
-
},
|
|
60656
|
+
}, ife = {
|
|
60654
60657
|
min: "${path} must be greater than or equal to ${min}",
|
|
60655
60658
|
max: "${path} must be less than or equal to ${max}",
|
|
60656
60659
|
lessThan: "${path} must be less than ${less}",
|
|
@@ -60661,16 +60664,16 @@ let Zo = {
|
|
|
60661
60664
|
}, ev = {
|
|
60662
60665
|
min: "${path} field must be later than ${min}",
|
|
60663
60666
|
max: "${path} field must be at earlier than ${max}"
|
|
60664
|
-
},
|
|
60667
|
+
}, sfe = {
|
|
60665
60668
|
isValue: "${path} field must be ${value}"
|
|
60666
60669
|
}, bp = {
|
|
60667
60670
|
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
60668
60671
|
exact: "${path} object contains unknown properties: ${properties}"
|
|
60669
|
-
},
|
|
60672
|
+
}, afe = {
|
|
60670
60673
|
min: "${path} field must have at least ${min} items",
|
|
60671
60674
|
max: "${path} field must have less than or equal to ${max} items",
|
|
60672
60675
|
length: "${path} must have ${length} items"
|
|
60673
|
-
},
|
|
60676
|
+
}, lfe = {
|
|
60674
60677
|
notType: (t) => {
|
|
60675
60678
|
const {
|
|
60676
60679
|
path: e,
|
|
@@ -60687,12 +60690,12 @@ let Zo = {
|
|
|
60687
60690
|
Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
60688
60691
|
mixed: Zo,
|
|
60689
60692
|
string: Ir,
|
|
60690
|
-
number:
|
|
60693
|
+
number: ife,
|
|
60691
60694
|
date: ev,
|
|
60692
60695
|
object: bp,
|
|
60693
|
-
array:
|
|
60694
|
-
boolean:
|
|
60695
|
-
tuple:
|
|
60696
|
+
array: afe,
|
|
60697
|
+
boolean: sfe,
|
|
60698
|
+
tuple: lfe
|
|
60696
60699
|
});
|
|
60697
60700
|
const ux = (t) => t && t.__isYupSchema__;
|
|
60698
60701
|
class _h {
|
|
@@ -60851,7 +60854,7 @@ function JA(t, e) {
|
|
|
60851
60854
|
function XA(t, e) {
|
|
60852
60855
|
return Ka.isRef(t) ? t.getValue(e.value, e.parent, e.context) : t;
|
|
60853
60856
|
}
|
|
60854
|
-
function
|
|
60857
|
+
function cfe(t, e, n, r = n) {
|
|
60855
60858
|
let o, i, s;
|
|
60856
60859
|
return e ? (Oa.forEach(e, (a, l, u) => {
|
|
60857
60860
|
let f = l ? a.slice(1, a.length - 1) : a;
|
|
@@ -60927,7 +60930,7 @@ function _l(t, e = /* @__PURE__ */ new Map()) {
|
|
|
60927
60930
|
throw Error(`Unable to clone ${t}`);
|
|
60928
60931
|
return n;
|
|
60929
60932
|
}
|
|
60930
|
-
function
|
|
60933
|
+
function ufe(t) {
|
|
60931
60934
|
if (!(t != null && t.length))
|
|
60932
60935
|
return;
|
|
60933
60936
|
const e = [];
|
|
@@ -60954,17 +60957,17 @@ function cfe(t) {
|
|
|
60954
60957
|
}
|
|
60955
60958
|
return n && e.push(...n.split(".").filter(Boolean)), e;
|
|
60956
60959
|
}
|
|
60957
|
-
function
|
|
60960
|
+
function dfe(t, e) {
|
|
60958
60961
|
const n = e ? `${e}.${t.path}` : t.path;
|
|
60959
60962
|
return t.errors.map((r) => ({
|
|
60960
60963
|
message: r,
|
|
60961
|
-
path:
|
|
60964
|
+
path: ufe(n)
|
|
60962
60965
|
}));
|
|
60963
60966
|
}
|
|
60964
60967
|
function ZA(t, e) {
|
|
60965
60968
|
var n;
|
|
60966
60969
|
if (!((n = t.inner) != null && n.length) && t.errors.length)
|
|
60967
|
-
return
|
|
60970
|
+
return dfe(t, e);
|
|
60968
60971
|
const r = e ? `${e}.${t.path}` : t.path;
|
|
60969
60972
|
return t.inner.flatMap((o) => ZA(o, r));
|
|
60970
60973
|
}
|
|
@@ -61411,7 +61414,7 @@ for (const t of ["validate", "validateSync"]) fi.prototype[`${t}At`] = function(
|
|
|
61411
61414
|
parent: o,
|
|
61412
61415
|
parentPath: i,
|
|
61413
61416
|
schema: s
|
|
61414
|
-
} =
|
|
61417
|
+
} = cfe(this, e, n, r.context);
|
|
61415
61418
|
return s[t](o && o[i], Object.assign({}, r, {
|
|
61416
61419
|
parent: o,
|
|
61417
61420
|
path: e
|
|
@@ -61419,8 +61422,8 @@ for (const t of ["validate", "validateSync"]) fi.prototype[`${t}At`] = function(
|
|
|
61419
61422
|
};
|
|
61420
61423
|
for (const t of ["equals", "is"]) fi.prototype[t] = fi.prototype.oneOf;
|
|
61421
61424
|
for (const t of ["not", "nope"]) fi.prototype[t] = fi.prototype.notOneOf;
|
|
61422
|
-
const
|
|
61423
|
-
function
|
|
61425
|
+
const ffe = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
61426
|
+
function pfe(t) {
|
|
61424
61427
|
const e = tv(t);
|
|
61425
61428
|
if (!e) return Date.parse ? Date.parse(t) : Number.NaN;
|
|
61426
61429
|
if (e.z === void 0 && e.plusMinus === void 0)
|
|
@@ -61430,7 +61433,7 @@ function ffe(t) {
|
|
|
61430
61433
|
}
|
|
61431
61434
|
function tv(t) {
|
|
61432
61435
|
var e, n;
|
|
61433
|
-
const r =
|
|
61436
|
+
const r = ffe.exec(t);
|
|
61434
61437
|
return r ? {
|
|
61435
61438
|
year: Ii(r[1]),
|
|
61436
61439
|
month: Ii(r[2], 1) - 1,
|
|
@@ -61452,13 +61455,13 @@ function tv(t) {
|
|
|
61452
61455
|
function Ii(t, e = 0) {
|
|
61453
61456
|
return Number(t) || e;
|
|
61454
61457
|
}
|
|
61455
|
-
let
|
|
61458
|
+
let hfe = (
|
|
61456
61459
|
// eslint-disable-next-line
|
|
61457
61460
|
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/
|
|
61458
|
-
),
|
|
61461
|
+
), mfe = (
|
|
61459
61462
|
// eslint-disable-next-line
|
|
61460
61463
|
/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
|
|
61461
|
-
),
|
|
61464
|
+
), gfe = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, yfe = "^\\d{4}-\\d{2}-\\d{2}", bfe = "\\d{2}:\\d{2}:\\d{2}", vfe = "(([+-]\\d{2}(:?\\d{2})?)|Z)", xfe = new RegExp(`${yfe}T${bfe}(\\.\\d+)?${vfe}$`), wfe = (t) => xa(t) || t === t.trim(), Cfe = {}.toString();
|
|
61462
61465
|
function Fl() {
|
|
61463
61466
|
return new QA();
|
|
61464
61467
|
}
|
|
@@ -61473,7 +61476,7 @@ class QA extends fi {
|
|
|
61473
61476
|
this.transform((e, n) => {
|
|
61474
61477
|
if (!this.spec.coerce || this.isType(e) || Array.isArray(e)) return e;
|
|
61475
61478
|
const r = e != null && e.toString ? e.toString() : e;
|
|
61476
|
-
return r ===
|
|
61479
|
+
return r === Cfe ? e : r;
|
|
61477
61480
|
});
|
|
61478
61481
|
});
|
|
61479
61482
|
}
|
|
@@ -61547,21 +61550,21 @@ class QA extends fi {
|
|
|
61547
61550
|
});
|
|
61548
61551
|
}
|
|
61549
61552
|
email(e = Ir.email) {
|
|
61550
|
-
return this.matches(
|
|
61553
|
+
return this.matches(hfe, {
|
|
61551
61554
|
name: "email",
|
|
61552
61555
|
message: e,
|
|
61553
61556
|
excludeEmptyString: !0
|
|
61554
61557
|
});
|
|
61555
61558
|
}
|
|
61556
61559
|
url(e = Ir.url) {
|
|
61557
|
-
return this.matches(
|
|
61560
|
+
return this.matches(mfe, {
|
|
61558
61561
|
name: "url",
|
|
61559
61562
|
message: e,
|
|
61560
61563
|
excludeEmptyString: !0
|
|
61561
61564
|
});
|
|
61562
61565
|
}
|
|
61563
61566
|
uuid(e = Ir.uuid) {
|
|
61564
|
-
return this.matches(
|
|
61567
|
+
return this.matches(gfe, {
|
|
61565
61568
|
name: "uuid",
|
|
61566
61569
|
message: e,
|
|
61567
61570
|
excludeEmptyString: !1
|
|
@@ -61573,7 +61576,7 @@ class QA extends fi {
|
|
|
61573
61576
|
message: n = "",
|
|
61574
61577
|
allowOffset: r = !1,
|
|
61575
61578
|
precision: o = void 0
|
|
61576
|
-
} = e : n = e), this.matches(
|
|
61579
|
+
} = e : n = e), this.matches(xfe, {
|
|
61577
61580
|
name: "datetime",
|
|
61578
61581
|
message: n || Ir.datetime,
|
|
61579
61582
|
excludeEmptyString: !0
|
|
@@ -61611,7 +61614,7 @@ class QA extends fi {
|
|
|
61611
61614
|
return this.transform((n) => n != null ? n.trim() : n).test({
|
|
61612
61615
|
message: e,
|
|
61613
61616
|
name: "trim",
|
|
61614
|
-
test:
|
|
61617
|
+
test: wfe
|
|
61615
61618
|
});
|
|
61616
61619
|
}
|
|
61617
61620
|
lowercase(e = Ir.lowercase) {
|
|
@@ -61634,7 +61637,7 @@ class QA extends fi {
|
|
|
61634
61637
|
}
|
|
61635
61638
|
}
|
|
61636
61639
|
Fl.prototype = QA.prototype;
|
|
61637
|
-
let eP = /* @__PURE__ */ new Date(""),
|
|
61640
|
+
let eP = /* @__PURE__ */ new Date(""), Sfe = (t) => Object.prototype.toString.call(t) === "[object Date]";
|
|
61638
61641
|
function dx() {
|
|
61639
61642
|
return new xd();
|
|
61640
61643
|
}
|
|
@@ -61643,10 +61646,10 @@ class xd extends fi {
|
|
|
61643
61646
|
super({
|
|
61644
61647
|
type: "date",
|
|
61645
61648
|
check(e) {
|
|
61646
|
-
return
|
|
61649
|
+
return Sfe(e) && !isNaN(e.getTime());
|
|
61647
61650
|
}
|
|
61648
61651
|
}), this.withMutation(() => {
|
|
61649
|
-
this.transform((e, n) => !this.spec.coerce || this.isType(e) || e === null ? e : (e =
|
|
61652
|
+
this.transform((e, n) => !this.spec.coerce || this.isType(e) || e === null ? e : (e = pfe(e), isNaN(e) ? xd.INVALID_DATE : new Date(e)));
|
|
61650
61653
|
});
|
|
61651
61654
|
}
|
|
61652
61655
|
prepareParam(e, n) {
|
|
@@ -61694,7 +61697,7 @@ class xd extends fi {
|
|
|
61694
61697
|
xd.INVALID_DATE = eP;
|
|
61695
61698
|
dx.prototype = xd.prototype;
|
|
61696
61699
|
dx.INVALID_DATE = eP;
|
|
61697
|
-
function
|
|
61700
|
+
function Tfe(t, e = []) {
|
|
61698
61701
|
let n = [], r = /* @__PURE__ */ new Set(), o = new Set(e.map(([s, a]) => `${s}-${a}`));
|
|
61699
61702
|
function i(s, a) {
|
|
61700
61703
|
let l = Oa.split(s)[0];
|
|
@@ -61704,7 +61707,7 @@ function Sfe(t, e = []) {
|
|
|
61704
61707
|
let a = t[s];
|
|
61705
61708
|
r.add(s), Ka.isRef(a) && a.isSibling ? i(a.path, s) : ux(a) && "deps" in a && a.deps.forEach((l) => i(l, s));
|
|
61706
61709
|
}
|
|
61707
|
-
return
|
|
61710
|
+
return Xde.array(Array.from(r), n).reverse();
|
|
61708
61711
|
}
|
|
61709
61712
|
function HO(t, e) {
|
|
61710
61713
|
let n = 1 / 0;
|
|
@@ -61717,7 +61720,7 @@ function HO(t, e) {
|
|
|
61717
61720
|
function tP(t) {
|
|
61718
61721
|
return (e, n) => HO(t, e) - HO(t, n);
|
|
61719
61722
|
}
|
|
61720
|
-
const
|
|
61723
|
+
const kfe = (t, e, n) => {
|
|
61721
61724
|
if (typeof t != "string")
|
|
61722
61725
|
return t;
|
|
61723
61726
|
let r = t;
|
|
@@ -61742,7 +61745,7 @@ function vp(t) {
|
|
|
61742
61745
|
types: t.spec.types.map(vp)
|
|
61743
61746
|
}) : "optional" in t ? t.optional() : t;
|
|
61744
61747
|
}
|
|
61745
|
-
const
|
|
61748
|
+
const Efe = (t, e) => {
|
|
61746
61749
|
const n = [...Oa.normalizePath(e)];
|
|
61747
61750
|
if (n.length === 1) return n[0] in t;
|
|
61748
61751
|
let r = n.pop(), o = Oa.getter(Oa.join(n), !0)(t);
|
|
@@ -61753,7 +61756,7 @@ function jO(t, e) {
|
|
|
61753
61756
|
let n = Object.keys(t.fields);
|
|
61754
61757
|
return Object.keys(e).filter((r) => n.indexOf(r) === -1);
|
|
61755
61758
|
}
|
|
61756
|
-
const
|
|
61759
|
+
const Ofe = tP([]);
|
|
61757
61760
|
function fx(t) {
|
|
61758
61761
|
return new nP(t);
|
|
61759
61762
|
}
|
|
@@ -61764,7 +61767,7 @@ class nP extends fi {
|
|
|
61764
61767
|
check(n) {
|
|
61765
61768
|
return WO(n) || typeof n == "function";
|
|
61766
61769
|
}
|
|
61767
|
-
}), this.fields = /* @__PURE__ */ Object.create(null), this._sortErrors =
|
|
61770
|
+
}), this.fields = /* @__PURE__ */ Object.create(null), this._sortErrors = Ofe, this._nodes = [], this._excludedEdges = [], this.withMutation(() => {
|
|
61768
61771
|
e && this.shape(e);
|
|
61769
61772
|
});
|
|
61770
61773
|
}
|
|
@@ -61866,7 +61869,7 @@ class nP extends fi {
|
|
|
61866
61869
|
}
|
|
61867
61870
|
setFields(e, n) {
|
|
61868
61871
|
let r = this.clone();
|
|
61869
|
-
return r.fields = e, r._nodes =
|
|
61872
|
+
return r.fields = e, r._nodes = Tfe(e, n), r._sortErrors = tP(Object.keys(e)), n && (r._excludedEdges = n), r;
|
|
61870
61873
|
}
|
|
61871
61874
|
shape(e, n = []) {
|
|
61872
61875
|
return this.clone().withMutation((r) => {
|
|
@@ -61900,12 +61903,12 @@ class nP extends fi {
|
|
|
61900
61903
|
return this.transform((i) => {
|
|
61901
61904
|
if (!i) return i;
|
|
61902
61905
|
let s = i;
|
|
61903
|
-
return
|
|
61906
|
+
return Efe(i, e) && (s = Object.assign({}, i), r || delete s[e], s[n] = o(i)), s;
|
|
61904
61907
|
});
|
|
61905
61908
|
}
|
|
61906
61909
|
/** Parse an input JSON string to an object */
|
|
61907
61910
|
json() {
|
|
61908
|
-
return this.transform(
|
|
61911
|
+
return this.transform(kfe);
|
|
61909
61912
|
}
|
|
61910
61913
|
/**
|
|
61911
61914
|
* Similar to `noUnknown` but only validates that an object is the right shape without stripping the unknown keys
|
|
@@ -61984,7 +61987,7 @@ class nP extends fi {
|
|
|
61984
61987
|
}
|
|
61985
61988
|
}
|
|
61986
61989
|
fx.prototype = nP.prototype;
|
|
61987
|
-
const
|
|
61990
|
+
const Mfe = (t) => {
|
|
61988
61991
|
const { open: e, anchorEl: n, onGenerateCitation: r, onClose: o } = t;
|
|
61989
61992
|
return /* @__PURE__ */ x(
|
|
61990
61993
|
av,
|
|
@@ -62004,7 +62007,7 @@ const Ofe = (t) => {
|
|
|
62004
62007
|
pasteExistingCitation: ""
|
|
62005
62008
|
},
|
|
62006
62009
|
onSubmit: ({ pasteExistingCitation: i }) => {
|
|
62007
|
-
r(
|
|
62010
|
+
r(Ife(i)), o();
|
|
62008
62011
|
},
|
|
62009
62012
|
children: ({ values: i, submitForm: s, setFieldValue: a }) => /* @__PURE__ */ Q(Wi, { flexWrap: "wrap", justifyContent: "flex-end", children: [
|
|
62010
62013
|
/* @__PURE__ */ x(
|
|
@@ -62055,8 +62058,8 @@ const Ofe = (t) => {
|
|
|
62055
62058
|
] })
|
|
62056
62059
|
}
|
|
62057
62060
|
);
|
|
62058
|
-
},
|
|
62059
|
-
const e = t.replace(/\.\s*$/, "").split("|").map((f) => f.trim()).filter(Boolean), n = e.findIndex((f) => f.match(
|
|
62061
|
+
}, _fe = ["https://", "http://", "www."], Rfe = new RegExp(_fe.join("|")), Ife = (t) => {
|
|
62062
|
+
const e = t.replace(/\.\s*$/, "").split("|").map((f) => f.trim()).filter(Boolean), n = e.findIndex((f) => f.match(Rfe)), r = e.findIndex((f) => f.toUpperCase().startsWith("ACCESSED")), o = e.findIndex((f) => /\bSOURCE\b/.test(f.toUpperCase()));
|
|
62060
62063
|
let s = [n, r, o].find((f) => f !== -1) ?? e.length;
|
|
62061
62064
|
const a = s - 1, l = s - 2;
|
|
62062
62065
|
return {
|
|
@@ -62064,11 +62067,11 @@ const Ofe = (t) => {
|
|
|
62064
62067
|
source: Kf(e, l),
|
|
62065
62068
|
title: Kf(e, a),
|
|
62066
62069
|
url: Kf(e, n),
|
|
62067
|
-
accessedAt:
|
|
62068
|
-
classification:
|
|
62070
|
+
accessedAt: Dfe(e, r),
|
|
62071
|
+
classification: Afe(e, o),
|
|
62069
62072
|
details: Kf(e, o)
|
|
62070
62073
|
};
|
|
62071
|
-
}, Kf = (t, e) => e < 0 || e >= t.length ? "" : t[e],
|
|
62074
|
+
}, Kf = (t, e) => e < 0 || e >= t.length ? "" : t[e], Dfe = (t, e) => e < 0 || e >= t.length ? "" : zue(t[e].toUpperCase().replace(/^ACCESSED\s+/, "")), Afe = (t, e) => e < 0 || e >= t.length ? "" : t[e].toUpperCase().includes("PUBLIC") ? "Public Source" : "Proprietary Source", Pfe = (t) => {
|
|
62072
62075
|
const { loading: e = !1, type: n = "submit", size: r = "medium", ...o } = t, s = {
|
|
62073
62076
|
small: 16,
|
|
62074
62077
|
medium: 20,
|
|
@@ -62097,10 +62100,10 @@ const Ofe = (t) => {
|
|
|
62097
62100
|
/* @__PURE__ */ x(Ne, { children: o && /* @__PURE__ */ x(Rn, { onClick: n, size: "small", variant: "outlined", children: "View All Citations" }) }),
|
|
62098
62101
|
/* @__PURE__ */ Q(Wi, { children: [
|
|
62099
62102
|
/* @__PURE__ */ x(Rn, { onClick: e, variant: "outlined", size: "small", children: "Cancel" }),
|
|
62100
|
-
/* @__PURE__ */ x(
|
|
62103
|
+
/* @__PURE__ */ x(Pfe, { size: "small", loading: i, type: "button", onClick: s, children: "Save" })
|
|
62101
62104
|
] })
|
|
62102
62105
|
] });
|
|
62103
|
-
},
|
|
62106
|
+
}, Nfe = (t) => {
|
|
62104
62107
|
const {
|
|
62105
62108
|
onSave: e,
|
|
62106
62109
|
onCancel: n,
|
|
@@ -62213,7 +62216,7 @@ const Ofe = (t) => {
|
|
|
62213
62216
|
name: "classification",
|
|
62214
62217
|
row: !0,
|
|
62215
62218
|
required: !0,
|
|
62216
|
-
radios:
|
|
62219
|
+
radios: $fe
|
|
62217
62220
|
}
|
|
62218
62221
|
)
|
|
62219
62222
|
] }),
|
|
@@ -62231,7 +62234,7 @@ const Ofe = (t) => {
|
|
|
62231
62234
|
}
|
|
62232
62235
|
),
|
|
62233
62236
|
/* @__PURE__ */ x(
|
|
62234
|
-
|
|
62237
|
+
Mfe,
|
|
62235
62238
|
{
|
|
62236
62239
|
open: g,
|
|
62237
62240
|
onGenerateCitation: ($) => {
|
|
@@ -62245,7 +62248,7 @@ const Ofe = (t) => {
|
|
|
62245
62248
|
}
|
|
62246
62249
|
)
|
|
62247
62250
|
] });
|
|
62248
|
-
},
|
|
62251
|
+
}, $fe = [
|
|
62249
62252
|
{
|
|
62250
62253
|
label: "Public Source",
|
|
62251
62254
|
value: "Public Source",
|
|
@@ -62256,7 +62259,7 @@ const Ofe = (t) => {
|
|
|
62256
62259
|
value: "Proprietary Source",
|
|
62257
62260
|
helperText: "For private, sensitive, or access-controlled content. Use a VPN, or take extra precautions, when accessing to protect your privacy."
|
|
62258
62261
|
}
|
|
62259
|
-
],
|
|
62262
|
+
], Lfe = (t) => {
|
|
62260
62263
|
const {
|
|
62261
62264
|
onSave: e,
|
|
62262
62265
|
onCancel: n,
|
|
@@ -62413,20 +62416,20 @@ const Ofe = (t) => {
|
|
|
62413
62416
|
}
|
|
62414
62417
|
);
|
|
62415
62418
|
};
|
|
62416
|
-
function
|
|
62419
|
+
function Ffe(t) {
|
|
62417
62420
|
return Ke("MuiAlert", t);
|
|
62418
62421
|
}
|
|
62419
|
-
const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]),
|
|
62422
|
+
const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), Bfe = Pe(/* @__PURE__ */ x("path", {
|
|
62420
62423
|
d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
|
|
62421
|
-
}), "SuccessOutlined"),
|
|
62424
|
+
}), "SuccessOutlined"), Vfe = Pe(/* @__PURE__ */ x("path", {
|
|
62422
62425
|
d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
62423
|
-
}), "ReportProblemOutlined"),
|
|
62426
|
+
}), "ReportProblemOutlined"), zfe = Pe(/* @__PURE__ */ x("path", {
|
|
62424
62427
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
62425
|
-
}), "ErrorOutline"),
|
|
62428
|
+
}), "ErrorOutline"), Hfe = Pe(/* @__PURE__ */ x("path", {
|
|
62426
62429
|
d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
|
|
62427
|
-
}), "InfoOutlined"),
|
|
62430
|
+
}), "InfoOutlined"), Wfe = Pe(/* @__PURE__ */ x("path", {
|
|
62428
62431
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
62429
|
-
}), "Close"),
|
|
62432
|
+
}), "Close"), jfe = (t) => {
|
|
62430
62433
|
const {
|
|
62431
62434
|
variant: e,
|
|
62432
62435
|
color: n,
|
|
@@ -62438,8 +62441,8 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62438
62441
|
message: ["message"],
|
|
62439
62442
|
action: ["action"]
|
|
62440
62443
|
};
|
|
62441
|
-
return qe(i,
|
|
62442
|
-
},
|
|
62444
|
+
return qe(i, Ffe, o);
|
|
62445
|
+
}, Ufe = te(Hs, {
|
|
62443
62446
|
name: "MuiAlert",
|
|
62444
62447
|
slot: "Root",
|
|
62445
62448
|
overridesResolver: (t, e) => {
|
|
@@ -62502,7 +62505,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62502
62505
|
}
|
|
62503
62506
|
}))]
|
|
62504
62507
|
};
|
|
62505
|
-
})),
|
|
62508
|
+
})), qfe = te("div", {
|
|
62506
62509
|
name: "MuiAlert",
|
|
62507
62510
|
slot: "Icon",
|
|
62508
62511
|
overridesResolver: (t, e) => e.icon
|
|
@@ -62512,7 +62515,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62512
62515
|
display: "flex",
|
|
62513
62516
|
fontSize: 22,
|
|
62514
62517
|
opacity: 0.9
|
|
62515
|
-
}),
|
|
62518
|
+
}), Kfe = te("div", {
|
|
62516
62519
|
name: "MuiAlert",
|
|
62517
62520
|
slot: "Message",
|
|
62518
62521
|
overridesResolver: (t, e) => e.message
|
|
@@ -62520,7 +62523,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62520
62523
|
padding: "8px 0",
|
|
62521
62524
|
minWidth: 0,
|
|
62522
62525
|
overflow: "auto"
|
|
62523
|
-
}),
|
|
62526
|
+
}), Yfe = te("div", {
|
|
62524
62527
|
name: "MuiAlert",
|
|
62525
62528
|
slot: "Action",
|
|
62526
62529
|
overridesResolver: (t, e) => e.action
|
|
@@ -62531,16 +62534,16 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62531
62534
|
marginLeft: "auto",
|
|
62532
62535
|
marginRight: -8
|
|
62533
62536
|
}), qO = {
|
|
62534
|
-
success: /* @__PURE__ */ x(
|
|
62537
|
+
success: /* @__PURE__ */ x(Bfe, {
|
|
62535
62538
|
fontSize: "inherit"
|
|
62536
62539
|
}),
|
|
62537
|
-
warning: /* @__PURE__ */ x(
|
|
62540
|
+
warning: /* @__PURE__ */ x(Vfe, {
|
|
62538
62541
|
fontSize: "inherit"
|
|
62539
62542
|
}),
|
|
62540
|
-
error: /* @__PURE__ */ x(
|
|
62543
|
+
error: /* @__PURE__ */ x(zfe, {
|
|
62541
62544
|
fontSize: "inherit"
|
|
62542
62545
|
}),
|
|
62543
|
-
info: /* @__PURE__ */ x(
|
|
62546
|
+
info: /* @__PURE__ */ x(Hfe, {
|
|
62544
62547
|
fontSize: "inherit"
|
|
62545
62548
|
})
|
|
62546
62549
|
}, oP = /* @__PURE__ */ D.forwardRef(function(e, n) {
|
|
@@ -62570,7 +62573,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62570
62573
|
severity: g,
|
|
62571
62574
|
variant: k,
|
|
62572
62575
|
colorSeverity: l || g
|
|
62573
|
-
}, O =
|
|
62576
|
+
}, O = jfe(S), R = {
|
|
62574
62577
|
slots: {
|
|
62575
62578
|
closeButton: u.CloseButton,
|
|
62576
62579
|
closeIcon: u.CloseIcon,
|
|
@@ -62584,7 +62587,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62584
62587
|
ref: n,
|
|
62585
62588
|
shouldForwardComponentProp: !0,
|
|
62586
62589
|
className: ge(O.root, s),
|
|
62587
|
-
elementType:
|
|
62590
|
+
elementType: Ufe,
|
|
62588
62591
|
externalForwardedProps: {
|
|
62589
62592
|
...R,
|
|
62590
62593
|
...T
|
|
@@ -62596,17 +62599,17 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62596
62599
|
}
|
|
62597
62600
|
}), [V, M] = It("icon", {
|
|
62598
62601
|
className: O.icon,
|
|
62599
|
-
elementType:
|
|
62602
|
+
elementType: qfe,
|
|
62600
62603
|
externalForwardedProps: R,
|
|
62601
62604
|
ownerState: S
|
|
62602
62605
|
}), [L, z] = It("message", {
|
|
62603
62606
|
className: O.message,
|
|
62604
|
-
elementType:
|
|
62607
|
+
elementType: Kfe,
|
|
62605
62608
|
externalForwardedProps: R,
|
|
62606
62609
|
ownerState: S
|
|
62607
62610
|
}), [F, A] = It("action", {
|
|
62608
62611
|
className: O.action,
|
|
62609
|
-
elementType:
|
|
62612
|
+
elementType: Yfe,
|
|
62610
62613
|
externalForwardedProps: R,
|
|
62611
62614
|
ownerState: S
|
|
62612
62615
|
}), [_, I] = It("closeButton", {
|
|
@@ -62614,7 +62617,7 @@ const UO = je("MuiAlert", ["root", "action", "icon", "message", "filled", "color
|
|
|
62614
62617
|
externalForwardedProps: R,
|
|
62615
62618
|
ownerState: S
|
|
62616
62619
|
}), [B, W] = It("closeIcon", {
|
|
62617
|
-
elementType:
|
|
62620
|
+
elementType: Wfe,
|
|
62618
62621
|
externalForwardedProps: R,
|
|
62619
62622
|
ownerState: S
|
|
62620
62623
|
});
|
|
@@ -62799,11 +62802,11 @@ const wd = (t) => {
|
|
|
62799
62802
|
]
|
|
62800
62803
|
}
|
|
62801
62804
|
);
|
|
62802
|
-
},
|
|
62805
|
+
}, Gfe = (t) => /* @__PURE__ */ x(wd, { severity: "error", ...t }), Jfe = (t) => /* @__PURE__ */ x(wd, { severity: "success", ...t }), Xfe = (t) => {
|
|
62803
62806
|
const { alert: e, setAlert: n } = t, r = () => n(void 0);
|
|
62804
62807
|
return /* @__PURE__ */ Q(Fn, { children: [
|
|
62805
|
-
(e == null ? void 0 : e.type) === "Error" && /* @__PURE__ */ x(
|
|
62806
|
-
(e == null ? void 0 : e.type) === "Success" && /* @__PURE__ */ x(
|
|
62808
|
+
(e == null ? void 0 : e.type) === "Error" && /* @__PURE__ */ x(Gfe, { "data-testid": "citation-menu-error", onClose: r, title: e.title, children: e.message.toString() }),
|
|
62809
|
+
(e == null ? void 0 : e.type) === "Success" && /* @__PURE__ */ x(Jfe, { "data-testid": "citation-menu-success", onClose: r, children: e.message })
|
|
62807
62810
|
] });
|
|
62808
62811
|
};
|
|
62809
62812
|
function iP({
|
|
@@ -62878,7 +62881,7 @@ function iP({
|
|
|
62878
62881
|
})), de = s && (async (Z) => s(Z).catch((oe) => {
|
|
62879
62882
|
q(`Failed to view ${Z.fileName}`, oe);
|
|
62880
62883
|
})), ee = /* @__PURE__ */ x(
|
|
62881
|
-
|
|
62884
|
+
Ude,
|
|
62882
62885
|
{
|
|
62883
62886
|
refreshKey: I,
|
|
62884
62887
|
getCitationsPaginated: (Z, oe) => t(Z, oe).then((we) => (f == null || f(), we)),
|
|
@@ -62917,7 +62920,7 @@ function iP({
|
|
|
62917
62920
|
canSearch: k
|
|
62918
62921
|
}
|
|
62919
62922
|
), ne = /* @__PURE__ */ x(
|
|
62920
|
-
|
|
62923
|
+
Nfe,
|
|
62921
62924
|
{
|
|
62922
62925
|
modifyCitation: P,
|
|
62923
62926
|
onSave: K,
|
|
@@ -62940,7 +62943,7 @@ function iP({
|
|
|
62940
62943
|
canLaunchUrl: v
|
|
62941
62944
|
}
|
|
62942
62945
|
), ce = /* @__PURE__ */ x(
|
|
62943
|
-
|
|
62946
|
+
Lfe,
|
|
62944
62947
|
{
|
|
62945
62948
|
onSave: K,
|
|
62946
62949
|
onCancel: () => L ? l() : _(
|
|
@@ -62963,7 +62966,7 @@ function iP({
|
|
|
62963
62966
|
onDownloadAttachment: re,
|
|
62964
62967
|
onPreviewAttachment: de
|
|
62965
62968
|
}
|
|
62966
|
-
), me = /* @__PURE__ */ x(
|
|
62969
|
+
), me = /* @__PURE__ */ x(Xfe, { alert: V, setAlert: M });
|
|
62967
62970
|
At(() => {
|
|
62968
62971
|
m && u.length === 1 && le && (A(!0), z(!0), le(u[0]));
|
|
62969
62972
|
}, []);
|
|
@@ -62989,7 +62992,7 @@ function iP({
|
|
|
62989
62992
|
] }) })
|
|
62990
62993
|
] });
|
|
62991
62994
|
}
|
|
62992
|
-
function
|
|
62995
|
+
function Zfe({
|
|
62993
62996
|
getSelectedCitationsPaginated: t,
|
|
62994
62997
|
getCitationsPaginated: e,
|
|
62995
62998
|
readOnly: n,
|
|
@@ -63009,7 +63012,7 @@ function Xfe({
|
|
|
63009
63012
|
}
|
|
63010
63013
|
);
|
|
63011
63014
|
}
|
|
63012
|
-
const
|
|
63015
|
+
const Qfe = xM("div", {
|
|
63013
63016
|
name: "CitationBubbleMenu",
|
|
63014
63017
|
slot: "content",
|
|
63015
63018
|
overridesResolver: (t, e) => e.content
|
|
@@ -63021,7 +63024,7 @@ const Zfe = xM("div", {
|
|
|
63021
63024
|
border: `1px solid ${t.palette.grey[e ? 700 : 200]}`
|
|
63022
63025
|
};
|
|
63023
63026
|
});
|
|
63024
|
-
function
|
|
63027
|
+
function epe({
|
|
63025
63028
|
getCitationsPaginated: t,
|
|
63026
63029
|
getSelectedCitationsPaginated: e,
|
|
63027
63030
|
onCreateCitation: n,
|
|
@@ -63058,8 +63061,8 @@ function Qfe({
|
|
|
63058
63061
|
open: b,
|
|
63059
63062
|
...y.bubbleMenuOptions,
|
|
63060
63063
|
...p,
|
|
63061
|
-
children: /* @__PURE__ */ x(
|
|
63062
|
-
|
|
63064
|
+
children: /* @__PURE__ */ x(Qfe, { children: /* @__PURE__ */ x(
|
|
63065
|
+
Zfe,
|
|
63063
63066
|
{
|
|
63064
63067
|
getCitationsPaginated: t,
|
|
63065
63068
|
getSelectedCitationsPaginated: (O) => e(O, g),
|
|
@@ -63081,7 +63084,7 @@ function Qfe({
|
|
|
63081
63084
|
}
|
|
63082
63085
|
) : null;
|
|
63083
63086
|
}
|
|
63084
|
-
const
|
|
63087
|
+
const tpe = () => xn.create({
|
|
63085
63088
|
name: "citationBubbleMenuHandler",
|
|
63086
63089
|
addStorage() {
|
|
63087
63090
|
return {
|
|
@@ -63110,7 +63113,7 @@ const epe = () => xn.create({
|
|
|
63110
63113
|
};
|
|
63111
63114
|
}
|
|
63112
63115
|
});
|
|
63113
|
-
function
|
|
63116
|
+
function npe(t) {
|
|
63114
63117
|
const e = Mt(), n = tn(null);
|
|
63115
63118
|
return /* @__PURE__ */ x(
|
|
63116
63119
|
Et,
|
|
@@ -63139,7 +63142,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63139
63142
|
const t = Zu(sP);
|
|
63140
63143
|
if (!t) throw new Error("useSync must be used inside CitationFieldProvider");
|
|
63141
63144
|
return t;
|
|
63142
|
-
},
|
|
63145
|
+
}, rpe = ({
|
|
63143
63146
|
node: t,
|
|
63144
63147
|
HTMLAttributes: e,
|
|
63145
63148
|
selected: n,
|
|
@@ -63193,7 +63196,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63193
63196
|
)
|
|
63194
63197
|
}
|
|
63195
63198
|
) });
|
|
63196
|
-
},
|
|
63199
|
+
}, ope = ln.create({
|
|
63197
63200
|
name: "citation",
|
|
63198
63201
|
group: "inline",
|
|
63199
63202
|
inline: !0,
|
|
@@ -63220,7 +63223,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63220
63223
|
return ["citation", Ot(t)];
|
|
63221
63224
|
},
|
|
63222
63225
|
addNodeView() {
|
|
63223
|
-
return _1(
|
|
63226
|
+
return _1(rpe);
|
|
63224
63227
|
},
|
|
63225
63228
|
addProseMirrorPlugins() {
|
|
63226
63229
|
return [
|
|
@@ -63248,7 +63251,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63248
63251
|
}
|
|
63249
63252
|
};
|
|
63250
63253
|
}
|
|
63251
|
-
}),
|
|
63254
|
+
}), ipe = (t) => /* @__PURE__ */ x(xre, { name: t.name, label: "Not Applicable", errorMode: "hidden" }), qpe = (t) => {
|
|
63252
63255
|
const {
|
|
63253
63256
|
name: e,
|
|
63254
63257
|
label: n = Kn(e),
|
|
@@ -63277,8 +63280,8 @@ const sP = nc(void 0), aP = () => {
|
|
|
63277
63280
|
BA.configure({
|
|
63278
63281
|
placeholder: C
|
|
63279
63282
|
}),
|
|
63280
|
-
|
|
63281
|
-
|
|
63283
|
+
tpe(),
|
|
63284
|
+
ope.configure({
|
|
63282
63285
|
citationMaxLength: a
|
|
63283
63286
|
})
|
|
63284
63287
|
], [P, $, V] = Zn({
|
|
@@ -63334,7 +63337,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63334
63337
|
children: [
|
|
63335
63338
|
/* @__PURE__ */ Q(Ne, { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
63336
63339
|
!r && /* @__PURE__ */ x(nv, { htmlFor: `citation-field_${e}`, required: o, children: n }),
|
|
63337
|
-
k && /* @__PURE__ */ x(
|
|
63340
|
+
k && /* @__PURE__ */ x(ipe, { name: k })
|
|
63338
63341
|
] }),
|
|
63339
63342
|
/* @__PURE__ */ x(
|
|
63340
63343
|
yD,
|
|
@@ -63343,7 +63346,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63343
63346
|
extensions: R,
|
|
63344
63347
|
content: L,
|
|
63345
63348
|
editable: !le,
|
|
63346
|
-
renderControls: le ? void 0 : () => /* @__PURE__ */ x(S1, { children: /* @__PURE__ */ x(
|
|
63349
|
+
renderControls: le ? void 0 : () => /* @__PURE__ */ x(S1, { children: /* @__PURE__ */ x(npe, {}) }),
|
|
63347
63350
|
onBlur: () => W(),
|
|
63348
63351
|
onUpdate: q,
|
|
63349
63352
|
RichTextFieldProps: {
|
|
@@ -63356,7 +63359,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63356
63359
|
}
|
|
63357
63360
|
},
|
|
63358
63361
|
children: () => /* @__PURE__ */ x(
|
|
63359
|
-
|
|
63362
|
+
epe,
|
|
63360
63363
|
{
|
|
63361
63364
|
getCitationsPaginated: (ae, G) => l(ae, G).then((re) => (A(re.data), re)),
|
|
63362
63365
|
getSelectedCitationsPaginated: u,
|
|
@@ -63378,10 +63381,10 @@ const sP = nc(void 0), aP = () => {
|
|
|
63378
63381
|
]
|
|
63379
63382
|
}
|
|
63380
63383
|
);
|
|
63381
|
-
},
|
|
63384
|
+
}, Kpe = (t) => {
|
|
63382
63385
|
const { name: e = "submit" } = t;
|
|
63383
63386
|
return /* @__PURE__ */ x(Gr, { name: e, type: "submit", ...t });
|
|
63384
|
-
},
|
|
63387
|
+
}, Ype = (t) => {
|
|
63385
63388
|
const { label: e = "Return to Top", icon: n = lp, scrollThresholdPx: r = 100 } = t, o = X3({
|
|
63386
63389
|
threshold: r
|
|
63387
63390
|
}), i = hr(() => {
|
|
@@ -63412,7 +63415,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63412
63415
|
)
|
|
63413
63416
|
}
|
|
63414
63417
|
) });
|
|
63415
|
-
},
|
|
63418
|
+
}, spe = (t) => {
|
|
63416
63419
|
const { label: e, menuOptions: n = [], icon: r } = t, o = rc(), [i, s] = D.useState(null), a = !!i, l = (p) => {
|
|
63417
63420
|
s(p.currentTarget);
|
|
63418
63421
|
}, u = () => {
|
|
@@ -63443,7 +63446,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63443
63446
|
/* @__PURE__ */ x(CM, { primary: p.label })
|
|
63444
63447
|
] }, p.label)) })
|
|
63445
63448
|
] });
|
|
63446
|
-
},
|
|
63449
|
+
}, Gpe = () => {
|
|
63447
63450
|
const { values: t, errors: e, status: n } = EM(), { palette: r } = Xn();
|
|
63448
63451
|
return /* @__PURE__ */ x(za, { style: { backgroundColor: r.mode === "dark" ? "#303030" : "#f0f0f0", margin: "10px 0" }, children: /* @__PURE__ */ Q(wM, { children: [
|
|
63449
63452
|
/* @__PURE__ */ Q(Yf, { children: [
|
|
@@ -63466,7 +63469,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63466
63469
|
/* @__PURE__ */ x("pre", { children: JSON.stringify(n, null, 2) })
|
|
63467
63470
|
] })
|
|
63468
63471
|
] }) });
|
|
63469
|
-
},
|
|
63472
|
+
}, Jpe = (t) => {
|
|
63470
63473
|
const { steps: e, orientation: n, inlineLabel: r = n == "vertical", isResponsive: o = !1 } = t, { width: i } = WA();
|
|
63471
63474
|
let s = !r, a = n;
|
|
63472
63475
|
o && (n && console.warn(
|
|
@@ -63478,7 +63481,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63478
63481
|
...Tr({ ...t }, l)
|
|
63479
63482
|
};
|
|
63480
63483
|
return /* @__PURE__ */ x(tV, { ...u, children: e.map((f) => /* @__PURE__ */ x(nV, { children: /* @__PURE__ */ x(rV, { children: f }) }, f)) });
|
|
63481
|
-
},
|
|
63484
|
+
}, Xpe = (t) => {
|
|
63482
63485
|
const {
|
|
63483
63486
|
name: e,
|
|
63484
63487
|
label: n = Kn(e),
|
|
@@ -63516,7 +63519,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63516
63519
|
name: e,
|
|
63517
63520
|
render: (T) => /* @__PURE__ */ Q("div", { children: [
|
|
63518
63521
|
C.map((S, O) => /* @__PURE__ */ x(He.Fragment, { children: /* @__PURE__ */ x(
|
|
63519
|
-
|
|
63522
|
+
ape,
|
|
63520
63523
|
{
|
|
63521
63524
|
variant: l,
|
|
63522
63525
|
content: /* @__PURE__ */ Q(
|
|
@@ -63556,7 +63559,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63556
63559
|
}
|
|
63557
63560
|
)
|
|
63558
63561
|
] });
|
|
63559
|
-
},
|
|
63562
|
+
}, ape = ({ variant: t, content: e }) => {
|
|
63560
63563
|
switch (t) {
|
|
63561
63564
|
case "card":
|
|
63562
63565
|
return /* @__PURE__ */ x(Ma, { "data-testid": "repeatable-form-group_card", sx: { padding: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ x(jb, { children: e }) });
|
|
@@ -63573,7 +63576,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63573
63576
|
case "none":
|
|
63574
63577
|
return e;
|
|
63575
63578
|
}
|
|
63576
|
-
},
|
|
63579
|
+
}, Zpe = (t) => {
|
|
63577
63580
|
const {
|
|
63578
63581
|
confirmBtnLabel: e,
|
|
63579
63582
|
onConfirm: n,
|
|
@@ -63596,7 +63599,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63596
63599
|
...s
|
|
63597
63600
|
}
|
|
63598
63601
|
);
|
|
63599
|
-
},
|
|
63602
|
+
}, Qpe = (t) => {
|
|
63600
63603
|
const {
|
|
63601
63604
|
closeBtnLabel: e = "OK",
|
|
63602
63605
|
closeButtonPosition: n = "bottom",
|
|
@@ -63615,7 +63618,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63615
63618
|
...o
|
|
63616
63619
|
}
|
|
63617
63620
|
);
|
|
63618
|
-
},
|
|
63621
|
+
}, ehe = (t) => {
|
|
63619
63622
|
const {
|
|
63620
63623
|
primaryBtnLabel: e,
|
|
63621
63624
|
onPrimaryAction: n,
|
|
@@ -63653,30 +63656,30 @@ const sP = nc(void 0), aP = () => {
|
|
|
63653
63656
|
...u
|
|
63654
63657
|
}
|
|
63655
63658
|
);
|
|
63656
|
-
},
|
|
63659
|
+
}, lpe = {
|
|
63657
63660
|
added: { icon: Yre, label: "Added", color: "success" },
|
|
63658
63661
|
deleted: { icon: MD, label: "Deleted", color: "error" },
|
|
63659
63662
|
modified: { icon: Xre, label: "Modified", color: "info" },
|
|
63660
63663
|
unmodified: { label: "Unmodified", color: "default" }
|
|
63661
|
-
},
|
|
63664
|
+
}, cpe = (t, e) => /* @__PURE__ */ Q(Fn, { children: [
|
|
63662
63665
|
/* @__PURE__ */ x(Ne, { "data-testid": "diff-table-cell-removed", sx: { backgroundColor: Gp }, children: /* @__PURE__ */ x("s", { children: t }) }),
|
|
63663
63666
|
/* @__PURE__ */ x(Ne, { "data-testid": "diff-table-cell-added", sx: { backgroundColor: Yp }, children: /* @__PURE__ */ x("u", { children: e }) })
|
|
63664
|
-
] }),
|
|
63667
|
+
] }), upe = (t, e, n, r = !1) => {
|
|
63665
63668
|
var i;
|
|
63666
63669
|
let o = {};
|
|
63667
63670
|
for (const s of t)
|
|
63668
63671
|
if (!s.ignoreDiff) {
|
|
63669
63672
|
const a = Ll(s, e, r), l = Ll(s, n, r);
|
|
63670
|
-
(((i = s.isEqual) == null ? void 0 : i.call(s, e, n)) ?? CD.isEqual(a, l)) || (o[kn(s)] =
|
|
63673
|
+
(((i = s.isEqual) == null ? void 0 : i.call(s, e, n)) ?? CD.isEqual(a, l)) || (o[kn(s)] = cpe(a, l));
|
|
63671
63674
|
}
|
|
63672
63675
|
return o;
|
|
63673
|
-
},
|
|
63676
|
+
}, dpe = (t, e, n, r = !1, o) => {
|
|
63674
63677
|
const i = [], s = [];
|
|
63675
63678
|
let a = 0, l = 0;
|
|
63676
63679
|
for (e.sort((u, f) => u.id - f.id), n.sort((u, f) => u.id - f.id); a < e.length && l < n.length; ) {
|
|
63677
63680
|
const u = e[a], f = n[l];
|
|
63678
63681
|
if (u.id === f.id) {
|
|
63679
|
-
const p =
|
|
63682
|
+
const p = upe(t, u, f, r);
|
|
63680
63683
|
(o == null ? void 0 : o(u, f)) ?? Object.keys(p).length === 0 ? s.push({ ...f, changeType: "unmodified" }) : i.push({
|
|
63681
63684
|
...f,
|
|
63682
63685
|
changeType: "modified",
|
|
@@ -63689,16 +63692,16 @@ const sP = nc(void 0), aP = () => {
|
|
|
63689
63692
|
for (; l < n.length; )
|
|
63690
63693
|
i.push({ ...n[l], changeType: "added" }), l++;
|
|
63691
63694
|
return { dataDiff: i, dataUnmodified: s };
|
|
63692
|
-
},
|
|
63695
|
+
}, fpe = (t) => {
|
|
63693
63696
|
const { beforeData: e, afterData: n, columns: r, isEqual: o, size: i, isMobileScreen: s } = t;
|
|
63694
63697
|
t.renderExpand != null && o == null && console.warn("DiffTable: isEqual prop should be provided when renderExpand is provided");
|
|
63695
|
-
const { dataDiff: a, dataUnmodified: l } =
|
|
63698
|
+
const { dataDiff: a, dataUnmodified: l } = dpe(r, e, n, s, o);
|
|
63696
63699
|
return {
|
|
63697
63700
|
columns: [
|
|
63698
63701
|
{
|
|
63699
63702
|
fieldName: "changeType",
|
|
63700
63703
|
render: (f) => {
|
|
63701
|
-
const p =
|
|
63704
|
+
const p = lpe[f];
|
|
63702
63705
|
return /* @__PURE__ */ x(
|
|
63703
63706
|
oV,
|
|
63704
63707
|
{
|
|
@@ -63735,7 +63738,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63735
63738
|
);
|
|
63736
63739
|
} : void 0
|
|
63737
63740
|
};
|
|
63738
|
-
},
|
|
63741
|
+
}, ppe = ({
|
|
63739
63742
|
columns: t,
|
|
63740
63743
|
data: e,
|
|
63741
63744
|
unmodifiedData: n = [],
|
|
@@ -63757,13 +63760,13 @@ const sP = nc(void 0), aP = () => {
|
|
|
63757
63760
|
),
|
|
63758
63761
|
n.length > 0 && /* @__PURE__ */ x(Ne, { children: /* @__PURE__ */ x(Rn, { onClick: l, children: u }) })
|
|
63759
63762
|
] });
|
|
63760
|
-
},
|
|
63761
|
-
const { emptyTableMsg: e = "No changes to display", ...n } = t, r = Fs(Xn().breakpoints.down("sm")), o = "beforeData" in n ?
|
|
63763
|
+
}, the = (t) => {
|
|
63764
|
+
const { emptyTableMsg: e = "No changes to display", ...n } = t, r = Fs(Xn().breakpoints.down("sm")), o = "beforeData" in n ? fpe({
|
|
63762
63765
|
...n,
|
|
63763
63766
|
isMobileScreen: r
|
|
63764
63767
|
}) : n;
|
|
63765
|
-
return /* @__PURE__ */ x(
|
|
63766
|
-
},
|
|
63768
|
+
return /* @__PURE__ */ x(ppe, { ...o, size: t.size });
|
|
63769
|
+
}, nhe = (t) => {
|
|
63767
63770
|
const { featureMenuOptions: e = [], copyright: n, logo: r, sx: o = {}, fontColor: i = "primary" } = t, { palette: s } = Xn(), a = rc();
|
|
63768
63771
|
return /* @__PURE__ */ Q(
|
|
63769
63772
|
Ne,
|
|
@@ -63840,7 +63843,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63840
63843
|
]
|
|
63841
63844
|
}
|
|
63842
63845
|
);
|
|
63843
|
-
},
|
|
63846
|
+
}, hpe = (t) => {
|
|
63844
63847
|
const { menuOptionLists: e, anchor: n = "left", children: r } = t, { pathname: o } = uv(), i = rc(), [s, a] = ft(!1), l = (m, y) => /* @__PURE__ */ x(sV, { children: m.map((b) => /* @__PURE__ */ Q(
|
|
63845
63848
|
Dh,
|
|
63846
63849
|
{
|
|
@@ -63870,7 +63873,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63870
63873
|
/* @__PURE__ */ x($n, { onClick: () => a(!0), color: "inherit", title: "Menu", children: /* @__PURE__ */ x(ioe, {}) }),
|
|
63871
63874
|
/* @__PURE__ */ x(iV, { "data-testid": "mobile-drawer", anchor: n, open: s, onClose: () => a(!1), children: /* @__PURE__ */ x(Ne, { sx: { width: 300 }, display: "flex", flexDirection: "column", justifyContent: "space-between", children: /* @__PURE__ */ x(Ne, { display: "flex", justifyContent: "start", flexDirection: "column", children: f }) }) })
|
|
63872
63875
|
] });
|
|
63873
|
-
},
|
|
63876
|
+
}, mpe = (t) => {
|
|
63874
63877
|
const { env: e, isProd: n } = t;
|
|
63875
63878
|
return n ? null : /* @__PURE__ */ x(
|
|
63876
63879
|
za,
|
|
@@ -63887,9 +63890,9 @@ const sP = nc(void 0), aP = () => {
|
|
|
63887
63890
|
] })
|
|
63888
63891
|
}
|
|
63889
63892
|
);
|
|
63890
|
-
},
|
|
63893
|
+
}, gpe = (t) => {
|
|
63891
63894
|
const { displayName: e, userMenuOptions: n } = t;
|
|
63892
|
-
return /* @__PURE__ */ x(
|
|
63895
|
+
return /* @__PURE__ */ x(spe, { label: e, menuOptions: n, icon: /* @__PURE__ */ x(aoe, {}) });
|
|
63893
63896
|
}, px = (t) => {
|
|
63894
63897
|
const {
|
|
63895
63898
|
menuOptions: e,
|
|
@@ -63923,13 +63926,13 @@ const sP = nc(void 0), aP = () => {
|
|
|
63923
63926
|
},
|
|
63924
63927
|
l.label
|
|
63925
63928
|
)) });
|
|
63926
|
-
},
|
|
63929
|
+
}, ype = (t) => {
|
|
63927
63930
|
const { featureMenuOptions: e = [], activeTabIdx: n, sx: r } = t;
|
|
63928
63931
|
return e.length > 0 && /* @__PURE__ */ x(za, { sx: { pl: 4, pr: 4, borderRadius: 0 }, "data-testid": "navBar", children: /* @__PURE__ */ x(px, { menuOptions: e, activeTabIdx: n, sx: r }) });
|
|
63929
|
-
},
|
|
63932
|
+
}, bpe = (t) => {
|
|
63930
63933
|
const { onToggle: e } = t, { palette: n } = Xn(), r = n.mode === "dark";
|
|
63931
63934
|
return /* @__PURE__ */ x($n, { onClick: e, color: "inherit", title: "Dark Mode Toggle", children: r ? /* @__PURE__ */ x(OD, {}) : /* @__PURE__ */ x(kD, {}) });
|
|
63932
|
-
},
|
|
63935
|
+
}, rhe = (t) => {
|
|
63933
63936
|
const {
|
|
63934
63937
|
envInfo: e,
|
|
63935
63938
|
headerRef: n,
|
|
@@ -63951,7 +63954,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63951
63954
|
);
|
|
63952
63955
|
S(P >= 0 ? P : void 0);
|
|
63953
63956
|
}, [C, o]);
|
|
63954
|
-
const O = s && /* @__PURE__ */ x(
|
|
63957
|
+
const O = s && /* @__PURE__ */ x(bpe, { onToggle: s }), R = s && (g || !g && l) ? [
|
|
63955
63958
|
{
|
|
63956
63959
|
icon: k ? /* @__PURE__ */ x(OD, {}) : /* @__PURE__ */ x(kD, {}),
|
|
63957
63960
|
label: `Switch to ${k ? "Light" : "Dark"} mode`,
|
|
@@ -63960,7 +63963,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63960
63963
|
...i
|
|
63961
63964
|
] : i;
|
|
63962
63965
|
return /* @__PURE__ */ Q(cV, { ref: n, position: f, sx: m, elevation: 4, children: [
|
|
63963
|
-
e && /* @__PURE__ */ x(
|
|
63966
|
+
e && /* @__PURE__ */ x(mpe, { ...e }),
|
|
63964
63967
|
u,
|
|
63965
63968
|
/* @__PURE__ */ Q(
|
|
63966
63969
|
uV,
|
|
@@ -63986,7 +63989,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
63986
63989
|
) : r }),
|
|
63987
63990
|
/* @__PURE__ */ Q(Ne, { display: "flex", gap: 2, alignItems: "center", children: [
|
|
63988
63991
|
!l && !g && O,
|
|
63989
|
-
g && /* @__PURE__ */ x(
|
|
63992
|
+
g && /* @__PURE__ */ x(hpe, { menuOptionLists: [o, a, R], anchor: "right" }),
|
|
63990
63993
|
!g && /* @__PURE__ */ Q(Fn, { children: [
|
|
63991
63994
|
/* @__PURE__ */ x(Ne, { display: "flex", gap: 0, children: a == null ? void 0 : a.map((P, $) => /* @__PURE__ */ Q(Ne, { display: "flex", alignItems: "center", children: [
|
|
63992
63995
|
$ > 0 && /* @__PURE__ */ x(
|
|
@@ -64011,21 +64014,21 @@ const sP = nc(void 0), aP = () => {
|
|
|
64011
64014
|
)
|
|
64012
64015
|
] }, P.label)) }),
|
|
64013
64016
|
p,
|
|
64014
|
-
l && /* @__PURE__ */ x(
|
|
64017
|
+
l && /* @__PURE__ */ x(gpe, { displayName: l, userMenuOptions: R })
|
|
64015
64018
|
] })
|
|
64016
64019
|
] })
|
|
64017
64020
|
]
|
|
64018
64021
|
}
|
|
64019
64022
|
),
|
|
64020
|
-
!g && /* @__PURE__ */ x(
|
|
64023
|
+
!g && /* @__PURE__ */ x(ype, { featureMenuOptions: o, activeTabIdx: T, sx: y })
|
|
64021
64024
|
] });
|
|
64022
|
-
},
|
|
64025
|
+
}, ohe = (t) => {
|
|
64023
64026
|
const { sx: e, menuOptions: n = [] } = t, { pathname: r } = uv(), o = Fs(Xn().breakpoints.down("sm")), [i, s] = He.useState(void 0);
|
|
64024
64027
|
return He.useEffect(() => {
|
|
64025
64028
|
const a = n.findIndex((l) => l.path && r.startsWith(l.path)) ?? -1;
|
|
64026
64029
|
s(a >= 0 ? a : void 0);
|
|
64027
64030
|
}, [r, n]), !o && n.length > 0 && /* @__PURE__ */ x(Ne, { sx: e, children: /* @__PURE__ */ x(Ma, { sx: { height: "100%", width: 200 }, children: /* @__PURE__ */ x(px, { orientation: "vertical", menuOptions: n, activeTabIdx: i }) }) });
|
|
64028
|
-
},
|
|
64031
|
+
}, ihe = (t) => {
|
|
64029
64032
|
const { featureMenuOptions: e = [], activeTabIdx: n, sx: r } = t, { palette: o } = Xn();
|
|
64030
64033
|
return e.length > 0 && /* @__PURE__ */ x(
|
|
64031
64034
|
px,
|
|
@@ -64057,7 +64060,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
64057
64060
|
}
|
|
64058
64061
|
}
|
|
64059
64062
|
);
|
|
64060
|
-
},
|
|
64063
|
+
}, she = ({ children: t, getCitations: e }) => {
|
|
64061
64064
|
const [n, r] = ft([]), [o, i] = ft(!1);
|
|
64062
64065
|
At(() => {
|
|
64063
64066
|
(async () => e().then((f) => {
|
|
@@ -64103,7 +64106,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
64103
64106
|
children: t
|
|
64104
64107
|
}
|
|
64105
64108
|
);
|
|
64106
|
-
},
|
|
64109
|
+
}, ahe = (t) => /* @__PURE__ */ x(wd, { severity: "info", ...t }), lhe = (t) => /* @__PURE__ */ x(wd, { severity: "warning", ...t }), vpe = (t) => {
|
|
64107
64110
|
const { crumbs: e } = t, n = rc(), r = e.map((o) => ({
|
|
64108
64111
|
label: o.label,
|
|
64109
64112
|
onClick: () => {
|
|
@@ -64122,8 +64125,8 @@ const sP = nc(void 0), aP = () => {
|
|
|
64122
64125
|
},
|
|
64123
64126
|
o
|
|
64124
64127
|
) : /* @__PURE__ */ x(Xe, { color: "text.primary", children: o }, o)) });
|
|
64125
|
-
},
|
|
64126
|
-
const { title: e, message: n, type: r, onClose: o, autoHideDuration: i, variant: s = "leftBorder", elevation: a = 6 } = t, l =
|
|
64128
|
+
}, che = (t) => {
|
|
64129
|
+
const { title: e, message: n, type: r, onClose: o, autoHideDuration: i, variant: s = "leftBorder", elevation: a = 6 } = t, l = xpe(r);
|
|
64127
64130
|
return /* @__PURE__ */ x(
|
|
64128
64131
|
fV,
|
|
64129
64132
|
{
|
|
@@ -64151,13 +64154,13 @@ const sP = nc(void 0), aP = () => {
|
|
|
64151
64154
|
)
|
|
64152
64155
|
}
|
|
64153
64156
|
);
|
|
64154
|
-
},
|
|
64157
|
+
}, xpe = (t) => t == "logout" ? "info" : t == "timeout" ? "warning" : t, KO = (t) => {
|
|
64155
64158
|
if (t == "timeout")
|
|
64156
64159
|
return /* @__PURE__ */ x(Kre, {});
|
|
64157
64160
|
if (t == "logout")
|
|
64158
64161
|
return /* @__PURE__ */ x(ooe, {});
|
|
64159
|
-
},
|
|
64160
|
-
|
|
64162
|
+
}, uhe = (t) => {
|
|
64163
|
+
wpe(t);
|
|
64161
64164
|
const {
|
|
64162
64165
|
title: e,
|
|
64163
64166
|
createButtonLabel: n = "Add Item",
|
|
@@ -64177,7 +64180,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
64177
64180
|
...l && { marginBottom: "4px" }
|
|
64178
64181
|
},
|
|
64179
64182
|
children: [
|
|
64180
|
-
i.length > 0 && /* @__PURE__ */ x(
|
|
64183
|
+
i.length > 0 && /* @__PURE__ */ x(vpe, { crumbs: i }),
|
|
64181
64184
|
/* @__PURE__ */ Q(
|
|
64182
64185
|
Ne,
|
|
64183
64186
|
{
|
|
@@ -64214,10 +64217,10 @@ const sP = nc(void 0), aP = () => {
|
|
|
64214
64217
|
]
|
|
64215
64218
|
}
|
|
64216
64219
|
);
|
|
64217
|
-
},
|
|
64220
|
+
}, wpe = (t) => {
|
|
64218
64221
|
const { showAddButton: e, onAdd: n, createButtonLabel: r } = t, o = "PageHeader component:";
|
|
64219
64222
|
e && !n && console.warn(`${o} "showAddButton" is true but "onAdd" is not defined.`), e && !r && console.warn(`${o} "showAddButton" is true but "createButtonLabel" is not defined`);
|
|
64220
|
-
},
|
|
64223
|
+
}, dhe = (t) => {
|
|
64221
64224
|
const { title: e, titleIcon: n, fullWidthIcon: r = !1, children: o, actionLabel: i, action: s, sx: a } = t, l = Fs(Xn().breakpoints.down("sm"));
|
|
64222
64225
|
return /* @__PURE__ */ Q(Ma, { sx: a || { padding: "30px 40px", display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
64223
64226
|
n && /* @__PURE__ */ x(
|
|
@@ -64262,7 +64265,7 @@ const sP = nc(void 0), aP = () => {
|
|
|
64262
64265
|
}
|
|
64263
64266
|
)
|
|
64264
64267
|
] });
|
|
64265
|
-
},
|
|
64268
|
+
}, fhe = (t) => {
|
|
64266
64269
|
const { title: e = "Loading...", message: n } = t;
|
|
64267
64270
|
return /* @__PURE__ */ Q(Ne, { className: "loading-page", sx: { gap: 2 }, "data-testid": "loading-page", children: [
|
|
64268
64271
|
/* @__PURE__ */ Q(Ne, { className: "text-content", children: [
|
|
@@ -64272,12 +64275,12 @@ const sP = nc(void 0), aP = () => {
|
|
|
64272
64275
|
/* @__PURE__ */ x(sv, { size: 75, "data-testid": "loading-spinner" })
|
|
64273
64276
|
] });
|
|
64274
64277
|
};
|
|
64275
|
-
function
|
|
64278
|
+
function phe({ ...t }) {
|
|
64276
64279
|
return /* @__PURE__ */ x(iP, { onSelectCitations: () => {
|
|
64277
64280
|
}, onClose: () => {
|
|
64278
64281
|
}, ...t });
|
|
64279
64282
|
}
|
|
64280
|
-
const
|
|
64283
|
+
const hhe = (t) => {
|
|
64281
64284
|
const { size: e = "small" } = t;
|
|
64282
64285
|
let n = `${e}px`;
|
|
64283
64286
|
switch (e) {
|
|
@@ -64300,81 +64303,82 @@ const phe = (t) => {
|
|
|
64300
64303
|
return /* @__PURE__ */ x(Ne, { height: n });
|
|
64301
64304
|
};
|
|
64302
64305
|
export {
|
|
64303
|
-
|
|
64306
|
+
Qpe as AlertModal,
|
|
64304
64307
|
yre as Autocomplete,
|
|
64305
|
-
|
|
64308
|
+
vpe as Breadcrumbs,
|
|
64306
64309
|
Gr as Button,
|
|
64307
64310
|
xre as Checkbox,
|
|
64308
|
-
|
|
64309
|
-
|
|
64310
|
-
|
|
64311
|
-
|
|
64311
|
+
Fpe as CheckboxGroup,
|
|
64312
|
+
qpe as CitationField,
|
|
64313
|
+
she as CitationFieldProvider,
|
|
64314
|
+
phe as CitationManager,
|
|
64312
64315
|
Mh as Column,
|
|
64313
|
-
|
|
64314
|
-
|
|
64316
|
+
Zpe as ConfirmationModal,
|
|
64317
|
+
bpe as DarkModeToggle,
|
|
64315
64318
|
j0 as DateField,
|
|
64316
|
-
|
|
64317
|
-
|
|
64319
|
+
jpe as DateRangeField,
|
|
64320
|
+
ehe as DecisionModal,
|
|
64318
64321
|
dre as Diff,
|
|
64319
64322
|
O6 as DiffProvider,
|
|
64320
|
-
|
|
64321
|
-
|
|
64322
|
-
|
|
64323
|
-
|
|
64324
|
-
|
|
64325
|
-
|
|
64326
|
-
|
|
64323
|
+
the as DiffTable,
|
|
64324
|
+
ppe as DiffTableView,
|
|
64325
|
+
hpe as Drawer,
|
|
64326
|
+
$pe as DynamicAutocomplete,
|
|
64327
|
+
mpe as EnvironmentBanner,
|
|
64328
|
+
Gfe as ErrorAlert,
|
|
64329
|
+
Bpe as FileList,
|
|
64327
64330
|
wre as FileUpload,
|
|
64328
|
-
|
|
64329
|
-
|
|
64330
|
-
|
|
64331
|
-
|
|
64332
|
-
|
|
64333
|
-
|
|
64334
|
-
|
|
64335
|
-
|
|
64331
|
+
ihe as FloatingNavBar,
|
|
64332
|
+
nhe as Footer,
|
|
64333
|
+
Gpe as FormDebugger,
|
|
64334
|
+
rhe as Header,
|
|
64335
|
+
Bde as HelpTooltip,
|
|
64336
|
+
Fde as IconTooltip,
|
|
64337
|
+
ahe as InfoAlert,
|
|
64338
|
+
Pfe as LoadingButton,
|
|
64339
|
+
fhe as LoadingIndicator,
|
|
64336
64340
|
zA as LoadingOverlay,
|
|
64337
|
-
|
|
64338
|
-
|
|
64341
|
+
Vpe as Location,
|
|
64342
|
+
spe as MenuButton,
|
|
64339
64343
|
qm as Modal,
|
|
64340
|
-
|
|
64341
|
-
|
|
64342
|
-
|
|
64343
|
-
|
|
64344
|
-
|
|
64345
|
-
|
|
64344
|
+
Lpe as MultiAutocomplete,
|
|
64345
|
+
ype as NavBar,
|
|
64346
|
+
ipe as NotApplicableCheckbox,
|
|
64347
|
+
uhe as PageHeader,
|
|
64348
|
+
Hde as PaginatedTable,
|
|
64349
|
+
gpe as ProfileMenu,
|
|
64346
64350
|
Ure as RadioGroup,
|
|
64347
|
-
|
|
64351
|
+
zpe as RangeSlider,
|
|
64348
64352
|
js as ReadOnly,
|
|
64349
64353
|
E6 as ReadOnlyProvider,
|
|
64350
|
-
|
|
64351
|
-
|
|
64354
|
+
Xpe as RepeatableFormGroup,
|
|
64355
|
+
Upe as RichTextField,
|
|
64352
64356
|
Wi as Row,
|
|
64353
|
-
|
|
64357
|
+
Ype as ScrollToTop,
|
|
64354
64358
|
foe as SearchField,
|
|
64355
|
-
|
|
64356
|
-
|
|
64357
|
-
|
|
64358
|
-
|
|
64359
|
-
|
|
64360
|
-
|
|
64361
|
-
|
|
64362
|
-
|
|
64363
|
-
|
|
64364
|
-
|
|
64359
|
+
Hpe as Select,
|
|
64360
|
+
Zfe as SelectableCitationManager,
|
|
64361
|
+
ohe as Sidebar,
|
|
64362
|
+
dhe as SingleActionCard,
|
|
64363
|
+
che as Snackbar,
|
|
64364
|
+
hhe as Spacer,
|
|
64365
|
+
Jpe as Stepper,
|
|
64366
|
+
Kpe as Submit,
|
|
64367
|
+
Jfe as SuccessAlert,
|
|
64368
|
+
Wpe as Switch,
|
|
64365
64369
|
HA as Table,
|
|
64366
64370
|
px as Tabs,
|
|
64367
64371
|
qre as TextArea,
|
|
64368
64372
|
Os as TextField,
|
|
64369
64373
|
v_ as TextIcon,
|
|
64370
64374
|
Qr as ValidationError,
|
|
64371
|
-
|
|
64372
|
-
|
|
64373
|
-
|
|
64374
|
-
|
|
64375
|
+
lhe as WarningAlert,
|
|
64376
|
+
qde as baseCitationTableColumns,
|
|
64377
|
+
dpe as buildDiffData,
|
|
64378
|
+
fpe as buildTableDiff,
|
|
64375
64379
|
Hn as commonTheme,
|
|
64376
|
-
|
|
64377
|
-
|
|
64380
|
+
Dpe as darkTheme,
|
|
64381
|
+
Ipe as lightTheme,
|
|
64378
64382
|
cc as useDiff,
|
|
64379
64383
|
lc as useReadOnly
|
|
64380
64384
|
};
|