@fluidattacks/design 4.16.5 → 4.16.7
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/@core/index.js +1 -1
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/advanced-badge/index.js +1 -1
- package/dist/components/advisories-card/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/indicator-card/index.js +1 -1
- package/dist/components/card-container/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/circular-progress/index.js +1 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/colors/index.js +1 -1
- package/dist/components/conditions-dialog/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-button/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/fa-tag/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/filters/active-filters/active-filter/index.js +1 -1
- package/dist/components/filters/active-filters/index.js +1 -1
- package/dist/components/filters/context/index.js +1 -1
- package/dist/components/filters/filters-menu/index.js +1 -1
- package/dist/components/filters/index.js +1 -1
- package/dist/components/filters/options-menu/include-exclude/index.js +1 -1
- package/dist/components/filters/options-menu/index.js +1 -1
- package/dist/components/filters/options-menu/options/index.js +1 -1
- package/dist/components/filters/search/no-matches/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/inner-form/index.js +1 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card-db/index.js +1 -1
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +1 -1
- package/dist/components/inputs/fields/input-file/default/index.js +1 -1
- package/dist/components/inputs/fields/input-file/dropzone/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-section/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/fields/text-input/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +1 -1
- package/dist/components/item-card-db/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/lottie/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/package-card/index.js +1 -1
- package/dist/components/paginator-db/btn/index.js +1 -1
- package/dist/components/paginator-db/dropdown/index.js +1 -1
- package/dist/components/paginator-db/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-cards/card/index.js +1 -1
- package/dist/components/priority-cards/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.js +1 -1
- package/dist/components/progress-indicator/step/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/rank-position/icon/index.js +1 -1
- package/dist/components/rank-position/index.js +1 -1
- package/dist/components/rules-card/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/search-dropdown/index.js +1 -1
- package/dist/components/segmented-progress-bar/index.js +1 -1
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-indicator/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table/context/index.js +1 -1
- package/dist/components/table/export-csv/index.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/index.js +1 -1
- package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
- package/dist/components/table/pagination/pagination-size/index.js +1 -1
- package/dist/components/table/sort-icon/index.js +1 -1
- package/dist/components/table/table-body/index.js +1 -1
- package/dist/components/table/table-column-toggle/index.js +1 -1
- package/dist/components/table/table-content/head/index.js +1 -1
- package/dist/components/table/table-content/index.js +1 -1
- package/dist/components/table/table-footer/footer-content/index.js +1 -1
- package/dist/components/table/table-footer/index.js +1 -1
- package/dist/components/table/table-options/caption-content/index.js +1 -1
- package/dist/components/table/table-options/controls-content/index.js +1 -1
- package/dist/components/table/table-options/highlighted-content/index.js +1 -1
- package/dist/components/table/table-options/index.js +1 -1
- package/dist/components/table/wrapper/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/table-content/index.js +1 -1
- package/dist/components/table-content/item-content/index.js +1 -1
- package/dist/components/table-of-contents/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tree/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/components/weaknesses-card/index.js +1 -1
- package/dist/{components-Bv7eQxGM.mjs → components-DMoyZ7hf.mjs} +168 -190
- package/dist/globals/design-tokens-css/index.js +1 -1
- package/dist/globals/designs-provider/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as u, Fragment as ue } from "react/jsx-runtime";
|
|
2
|
-
import bt, { forwardRef as re, useState as
|
|
2
|
+
import bt, { forwardRef as re, useState as P, useCallback as w, useReducer as xi, useEffect as Q, useMemo as _, useRef as Z, StrictMode as mi, Fragment as xe, Children as Gt, isValidElement as bo, cloneElement as xo, createContext as mo, useContext as we, useImperativeHandle as wi, createElement as vi } from "react";
|
|
3
3
|
import ki, { ThemeProvider as Ci, styled as m, useTheme as A, css as Qe, keyframes as wo } from "styled-components";
|
|
4
|
-
import { C as Si, s as zi, _ as q, A as Ii, l as Ti, p as Di, d as ce, $ as Ei, a as vo, b as J, c as xt, u as Ze, e as Ni, f as Ri, g as Li, h as Fi, i as mt, j as ko, o as wt, k as Ai, m as ji, n as
|
|
4
|
+
import { C as Si, s as zi, _ as q, A as Ii, l as Ti, p as Di, d as ce, $ as Ei, a as vo, b as J, c as xt, u as Ze, e as Ni, f as Ri, g as Li, h as Fi, i as mt, j as ko, o as wt, k as Ai, m as ji, n as Oi, q as Pi, r as Mi, t as Vi, v as Bi, w as Wi, x as Hi, y as Gi, z as Co, B as Qt, D as en, E as _i, F as Ui, G as Yi, H as Sn, I as vt, J as Xi, K as Zi, L as So, M as kt, N as zo, O as Ki, P as qi, Q as Ji, R as Qi, S as er, T as tr, U as Io, V as To, W as nr, X as or, Y as ir, Z as rr, a0 as ar, a1 as lr, a2 as tn, a3 as sr, a4 as zn, a5 as In, a6 as Tn, a7 as Xe, a8 as cr, a9 as dr, aa as pr, ab as gr, ac as ur, ad as hr, ae as fr, af as yr, ag as $r, ah as br, ai as xr, aj as mr, ak as wr, al as vr, am as kr, an as Cr, ao as Sr, ap as zr, aq as Ir, ar as Tr, as as _t, at as Dr, au as Do, av as Eo, aw as Er, ax as Nr, ay as Rr, az as Dn, aA as Lr, aB as Fr, aC as Ar, aD as jr, aE as Or, aF as Pr, aJ as No, aK as Mr, aL as Vr, aM as Br, aN as Wr, aO as Hr, aP as Gr, aQ as _r, aR as Ur, aS as Yr, aT as Xr, aU as Ut, aV as Zr, aW as En, aX as Kr, aY as Nn, aZ as qr } from "./vendor-BBQctgLx.mjs";
|
|
5
5
|
import { useQueryStates as Jr, parseAsString as Qr } from "nuqs";
|
|
6
6
|
import { createPortal as He } from "react-dom";
|
|
7
7
|
import { Link as ea, useLocation as ta, NavLink as na } from "react-router";
|
|
@@ -838,7 +838,7 @@ const N = re(function({
|
|
|
838
838
|
`${p}-${a}`
|
|
839
839
|
);
|
|
840
840
|
}), Jp = re(function({ aligned: t = "end", items: o, bgColor: i }, a) {
|
|
841
|
-
const r = A(), [l, s] =
|
|
841
|
+
const r = A(), [l, s] = P(
|
|
842
842
|
o.map((d) => d.expanded ?? !1)
|
|
843
843
|
), c = w(
|
|
844
844
|
(d) => (p) => {
|
|
@@ -1084,7 +1084,7 @@ const N = re(function({
|
|
|
1084
1084
|
}, []);
|
|
1085
1085
|
return [i ?? o, r];
|
|
1086
1086
|
}, La = (e, t) => {
|
|
1087
|
-
const [i, a] =
|
|
1087
|
+
const [i, a] = P(0), [r, l] = P(0);
|
|
1088
1088
|
return Q(() => {
|
|
1089
1089
|
r === 100 && a(
|
|
1090
1090
|
(c) => c === t - 1 ? 0 : c + 1
|
|
@@ -1121,7 +1121,7 @@ const N = re(function({
|
|
|
1121
1121
|
}), []);
|
|
1122
1122
|
return _(() => o.image(e).format(t), [o, e, t]);
|
|
1123
1123
|
}, Rt = (e) => {
|
|
1124
|
-
const [t, o] =
|
|
1124
|
+
const [t, o] = P(!1), i = w(() => {
|
|
1125
1125
|
o(!0);
|
|
1126
1126
|
}, []), a = w(() => {
|
|
1127
1127
|
o(!1);
|
|
@@ -1146,7 +1146,7 @@ const N = re(function({
|
|
|
1146
1146
|
...t.filter(({ locked: g }) => !g)
|
|
1147
1147
|
],
|
|
1148
1148
|
[t]
|
|
1149
|
-
), [l, s] =
|
|
1149
|
+
), [l, s] = P(r), c = w(
|
|
1150
1150
|
(g) => {
|
|
1151
1151
|
const h = g.filter(({ locked: b }) => !b), x = [...g.filter(({ locked: b }) => b), ...h], y = x.map(({ name: b }) => b);
|
|
1152
1152
|
s((b) => [
|
|
@@ -1179,13 +1179,13 @@ const N = re(function({
|
|
|
1179
1179
|
}, nn = (e, t) => _(
|
|
1180
1180
|
() => q.debounce(e, t),
|
|
1181
1181
|
[e, t]
|
|
1182
|
-
),
|
|
1182
|
+
), Oo = 7, Po = (e) => e.reduce(
|
|
1183
1183
|
(t, o) => o.type === "toggle" ? { ...t, inline: [...t.inline, o] } : { ...t, menu: [...t.menu, o] },
|
|
1184
1184
|
{ menu: [], inline: [] }
|
|
1185
|
-
),
|
|
1185
|
+
), Oa = (e) => e.reduce(
|
|
1186
1186
|
(t, o) => (o.group ? (t[o.group] || (t[o.group] = []), t[o.group].push(o)) : t.default = [...t.default || [], o], t),
|
|
1187
1187
|
{}
|
|
1188
|
-
),
|
|
1188
|
+
), Pa = (e, t, o) => {
|
|
1189
1189
|
const i = e.find((l) => l.id === t);
|
|
1190
1190
|
if (!i || !o)
|
|
1191
1191
|
return { label: i?.label ?? "", options: i?.options ?? [] };
|
|
@@ -1204,7 +1204,7 @@ const N = re(function({
|
|
|
1204
1204
|
);
|
|
1205
1205
|
return a.length > 0 ? { group: o, filters: a } : void 0;
|
|
1206
1206
|
}).filter((o) => o !== void 0), Va = (e, t) => {
|
|
1207
|
-
const [o, i] =
|
|
1207
|
+
const [o, i] = P(() => {
|
|
1208
1208
|
if (typeof window > "u")
|
|
1209
1209
|
return t;
|
|
1210
1210
|
try {
|
|
@@ -1368,7 +1368,7 @@ const N = re(function({
|
|
|
1368
1368
|
},
|
|
1369
1369
|
[s]
|
|
1370
1370
|
), p = _(
|
|
1371
|
-
() => new Map(
|
|
1371
|
+
() => new Map(Po(e).menu.map((y) => [y.id, y])),
|
|
1372
1372
|
[e]
|
|
1373
1373
|
), g = _(() => Object.entries(c).filter(
|
|
1374
1374
|
([y, b]) => p.has(y) && !!b && b !== "undefined"
|
|
@@ -1396,7 +1396,7 @@ const N = re(function({
|
|
|
1396
1396
|
(T) => T.type === "includeExclude"
|
|
1397
1397
|
);
|
|
1398
1398
|
if (R) {
|
|
1399
|
-
const { include: T, exclude: L } = Ve(b), U = R.includeLabel ?? "Include",
|
|
1399
|
+
const { include: T, exclude: L } = Ve(b), U = R.includeLabel ?? "Include", O = R.excludeLabel ?? "Exclude";
|
|
1400
1400
|
return [
|
|
1401
1401
|
...T.length > 0 ? [
|
|
1402
1402
|
{
|
|
@@ -1411,7 +1411,7 @@ const N = re(function({
|
|
|
1411
1411
|
...L.length > 0 ? [
|
|
1412
1412
|
{
|
|
1413
1413
|
id: y,
|
|
1414
|
-
label: `${k}/${
|
|
1414
|
+
label: `${k}/${O}`,
|
|
1415
1415
|
mode: "exclude",
|
|
1416
1416
|
type: "includeExclude",
|
|
1417
1417
|
value: L.join(", "),
|
|
@@ -1470,7 +1470,7 @@ const N = re(function({
|
|
|
1470
1470
|
if (!S || S === "undefined") return k;
|
|
1471
1471
|
const C = p.get(y);
|
|
1472
1472
|
if (v && jn(C)) {
|
|
1473
|
-
const
|
|
1473
|
+
const O = Ve(S), W = v === "include" ? { exclude: O.exclude, include: [] } : { exclude: [], include: O.include };
|
|
1474
1474
|
return {
|
|
1475
1475
|
...k,
|
|
1476
1476
|
[y]: Zt(W)
|
|
@@ -1478,16 +1478,16 @@ const N = re(function({
|
|
|
1478
1478
|
}
|
|
1479
1479
|
if (!b) return { ...k, [y]: "" };
|
|
1480
1480
|
if (!C) return { ...k, [y]: "" };
|
|
1481
|
-
const { splitValues: E, preservedValues: z, labelToValueMap: R } = Fn(C, S), j = E.map((
|
|
1482
|
-
(
|
|
1481
|
+
const { splitValues: E, preservedValues: z, labelToValueMap: R } = Fn(C, S), j = E.map((O) => O.trim()), M = b.split(",").map((O) => O.trim()), Y = z.map(
|
|
1482
|
+
(O) => O.trim()
|
|
1483
1483
|
).some(
|
|
1484
|
-
(
|
|
1484
|
+
(O) => M.some((W) => O === W)
|
|
1485
1485
|
) ? z.filter(
|
|
1486
|
-
(
|
|
1487
|
-
) : M.map((
|
|
1488
|
-
Y.map((
|
|
1486
|
+
(O) => M.some((W) => O.trim() === W)
|
|
1487
|
+
) : M.map((O) => R.get(O)).filter(Boolean), T = new Set(
|
|
1488
|
+
Y.map((O) => O.trim())
|
|
1489
1489
|
), L = j.filter(
|
|
1490
|
-
(
|
|
1490
|
+
(O) => O !== "" && !T.has(O)
|
|
1491
1491
|
), U = L.length > 0 ? L.join(",") : "";
|
|
1492
1492
|
return {
|
|
1493
1493
|
...k,
|
|
@@ -1511,7 +1511,7 @@ const N = re(function({
|
|
|
1511
1511
|
values: c
|
|
1512
1512
|
};
|
|
1513
1513
|
}, tg = (e) => {
|
|
1514
|
-
const [t, o] =
|
|
1514
|
+
const [t, o] = P(), i = nn((a) => {
|
|
1515
1515
|
o(a);
|
|
1516
1516
|
}, e?.debounceWait ?? 300);
|
|
1517
1517
|
return [t, i];
|
|
@@ -1534,7 +1534,7 @@ const N = re(function({
|
|
|
1534
1534
|
width: o
|
|
1535
1535
|
}
|
|
1536
1536
|
);
|
|
1537
|
-
}, ze = bt.memo(Za),
|
|
1537
|
+
}, ze = bt.memo(Za), On = {
|
|
1538
1538
|
external: "External pentester",
|
|
1539
1539
|
scanner: "Fluid Attacks Scanner",
|
|
1540
1540
|
pentester: "Fluid Attacks Pentester"
|
|
@@ -1545,14 +1545,14 @@ const N = re(function({
|
|
|
1545
1545
|
/* @__PURE__ */ n(
|
|
1546
1546
|
ze,
|
|
1547
1547
|
{
|
|
1548
|
-
alt:
|
|
1548
|
+
alt: On[t],
|
|
1549
1549
|
height: "11px",
|
|
1550
1550
|
publicId: "airs/logo/logo_icon",
|
|
1551
1551
|
transformation: o,
|
|
1552
1552
|
width: "11px"
|
|
1553
1553
|
}
|
|
1554
1554
|
),
|
|
1555
|
-
|
|
1555
|
+
On[t]
|
|
1556
1556
|
] }),
|
|
1557
1557
|
e ? /* @__PURE__ */ n(I, { display: "inline", size: "sm", children: e }) : void 0
|
|
1558
1558
|
] });
|
|
@@ -1646,7 +1646,7 @@ const N = re(function({
|
|
|
1646
1646
|
content: "";
|
|
1647
1647
|
height: 24px;
|
|
1648
1648
|
border-left: 2px solid ${({ theme: e }) => e.palette.gray[100]};
|
|
1649
|
-
`, ut = (e) => e && e !== "-" ? ce(e).format("YYYY-MM-DD") : "-", Qa = (e) => e && e !== "-" ? ce(e).format("YYYY-MM-DD hh:mm A") : "-",
|
|
1649
|
+
`, ut = (e) => e && e !== "-" ? ce(e).format("YYYY-MM-DD") : "-", Qa = (e) => e && e !== "-" ? ce(e).format("YYYY-MM-DD hh:mm A") : "-", Pn = (e, t) => ce(String(e).replace(/-/gu, "/")).hour(t.hour).minute(t.minute).second(t.second).format("YYYY/MM/DD hh:mm A"), ht = (e, t = "day") => {
|
|
1650
1650
|
const o = t === "day" ? Ei : vo, i = t === "day" ? ce(e).isValid() : ce(e, "YYYY/MM/DD hh:mm A").isValid();
|
|
1651
1651
|
return !q.isNil(e) && !q.isEmpty(e) && e !== "-" && i ? o(
|
|
1652
1652
|
t === "day" ? e.trim().replace(/\//gu, "-") : ce(e).format("YYYY-MM-DDTHH:mm:ss")
|
|
@@ -1781,7 +1781,7 @@ const N = re(function({
|
|
|
1781
1781
|
display: "inline",
|
|
1782
1782
|
size: "lg",
|
|
1783
1783
|
children: [
|
|
1784
|
-
/* @__PURE__ */ n("b", { children: "
|
|
1784
|
+
/* @__PURE__ */ n("b", { children: "Component: " }),
|
|
1785
1785
|
c
|
|
1786
1786
|
]
|
|
1787
1787
|
}
|
|
@@ -2109,7 +2109,7 @@ const N = re(function({
|
|
|
2109
2109
|
hide: f = g === "" && h === "" && d === void 0,
|
|
2110
2110
|
width: x
|
|
2111
2111
|
}) => {
|
|
2112
|
-
const y = A(), [b, v] =
|
|
2112
|
+
const y = A(), [b, v] = P(!1), { refs: k, floatingStyles: S, context: C, placement: E } = Ze({
|
|
2113
2113
|
middleware: [
|
|
2114
2114
|
ko({
|
|
2115
2115
|
fallbackAxisSideDirection: "start"
|
|
@@ -2277,7 +2277,7 @@ const N = re(function({
|
|
|
2277
2277
|
id: f,
|
|
2278
2278
|
...x
|
|
2279
2279
|
}, y) {
|
|
2280
|
-
const [b, v] =
|
|
2280
|
+
const [b, v] = P(d), k = w(() => {
|
|
2281
2281
|
s?.(), v(!1);
|
|
2282
2282
|
}, [s]), S = r ? /* @__PURE__ */ n(
|
|
2283
2283
|
N,
|
|
@@ -3094,7 +3094,7 @@ const N = re(function({
|
|
|
3094
3094
|
headerType: p = "image",
|
|
3095
3095
|
showMaximize: g = !0
|
|
3096
3096
|
}) => {
|
|
3097
|
-
const h = A(), [f, x] =
|
|
3097
|
+
const h = A(), [f, x] = P(!1), y = w(() => {
|
|
3098
3098
|
x(!0);
|
|
3099
3099
|
}, []), b = w(() => {
|
|
3100
3100
|
x(!1);
|
|
@@ -3601,7 +3601,7 @@ const N = re(function({
|
|
|
3601
3601
|
},
|
|
3602
3602
|
[]
|
|
3603
3603
|
);
|
|
3604
|
-
return /* @__PURE__ */ n(
|
|
3604
|
+
return /* @__PURE__ */ n(Oi, { children: /* @__PURE__ */ n(
|
|
3605
3605
|
"div",
|
|
3606
3606
|
{
|
|
3607
3607
|
...g,
|
|
@@ -3867,7 +3867,7 @@ const N = re(function({
|
|
|
3867
3867
|
}) => {
|
|
3868
3868
|
const c = A(), d = Z(null), p = t.props.hrefLang, g = l.disabledKeys, h = e.filter(
|
|
3869
3869
|
(L) => !Array.from(g).includes(L) && L !== "All"
|
|
3870
|
-
), { optionProps: f, isSelected: x, isFocused: y, isDisabled: b } =
|
|
3870
|
+
), { optionProps: f, isSelected: x, isFocused: y, isDisabled: b } = Pi(
|
|
3871
3871
|
{ key: t.key },
|
|
3872
3872
|
l,
|
|
3873
3873
|
d
|
|
@@ -3881,9 +3881,9 @@ const N = re(function({
|
|
|
3881
3881
|
r?.(`${i}CheckAll`, v), a(v);
|
|
3882
3882
|
else {
|
|
3883
3883
|
r?.(`${i}CheckAll`, "");
|
|
3884
|
-
const
|
|
3884
|
+
const O = [...L].sort();
|
|
3885
3885
|
a(
|
|
3886
|
-
|
|
3886
|
+
O.length <= 2 ? O.join(", ") : `${O.slice(0, 2).join(", ")}, +${O.length - 2} more`
|
|
3887
3887
|
);
|
|
3888
3888
|
}
|
|
3889
3889
|
},
|
|
@@ -3899,7 +3899,7 @@ const N = re(function({
|
|
|
3899
3899
|
[h, i, a, r]
|
|
3900
3900
|
), E = w(
|
|
3901
3901
|
(L) => {
|
|
3902
|
-
const U = L.target.value,
|
|
3902
|
+
const U = L.target.value, O = s?.(`${i}Options`) ?? [], W = Array.isArray(O) ? O : O ? [O] : [], K = L.target.checked ? [...W, U] : W.filter((G) => G !== U);
|
|
3903
3903
|
r?.(`${i}Options`, K), S(K);
|
|
3904
3904
|
},
|
|
3905
3905
|
[i, r, s, S]
|
|
@@ -3987,9 +3987,9 @@ const N = re(function({
|
|
|
3987
3987
|
watch: z,
|
|
3988
3988
|
weight: R
|
|
3989
3989
|
}) => {
|
|
3990
|
-
const j = A(), M = t ? void 0 : i, D = e?.value ?? E, [F, Y] =
|
|
3990
|
+
const j = A(), M = t ? void 0 : i, D = e?.value ?? E, [F, Y] = P(
|
|
3991
3991
|
g.find((B) => B.value === D)?.name ?? ""
|
|
3992
|
-
), [T, L] =
|
|
3992
|
+
), [T, L] = P(D), [U, O] = P(g), [W, K] = P(!1), { contains: G } = Vi({ sensitivity: "base" }), X = Z(null), oe = Z(null), te = Z(null), ae = Z(null), $e = Z(null), At = Z(/* @__PURE__ */ new Set()), si = _(() => {
|
|
3993
3993
|
const B = At.current, le = Array.from(o ?? []), de = g.some((se) => se.group !== void 0);
|
|
3994
3994
|
return g.toSorted((se, ve) => {
|
|
3995
3995
|
if (se.value === "All") return -1;
|
|
@@ -4035,7 +4035,7 @@ const N = re(function({
|
|
|
4035
4035
|
Y(p ? le : B), B === "" || B.endsWith(",") ? K(!0) : (K(!1), L((de) => {
|
|
4036
4036
|
const fe = B === "" ? "" : de;
|
|
4037
4037
|
return e && e.onChange(fe), f && f(B), fe;
|
|
4038
|
-
}),
|
|
4038
|
+
}), O(
|
|
4039
4039
|
g.filter(
|
|
4040
4040
|
(de) => G(de.name, p ? le : B)
|
|
4041
4041
|
)
|
|
@@ -4044,7 +4044,7 @@ const N = re(function({
|
|
|
4044
4044
|
[G, g, e, p, f]
|
|
4045
4045
|
), di = w(
|
|
4046
4046
|
(B) => {
|
|
4047
|
-
Y(g.find((le) => le.value === B)?.name ?? ""), L(B ? String(B) : ""), e && e.onChange(B), f && f(B ? String(B) : ""),
|
|
4047
|
+
Y(g.find((le) => le.value === B)?.name ?? ""), L(B ? String(B) : ""), e && e.onChange(B), f && f(B ? String(B) : ""), O(g);
|
|
4048
4048
|
},
|
|
4049
4049
|
[g, e, f]
|
|
4050
4050
|
), $n = w(
|
|
@@ -4083,7 +4083,7 @@ const N = re(function({
|
|
|
4083
4083
|
onSelectionChange: p ? void 0 : di,
|
|
4084
4084
|
children: si
|
|
4085
4085
|
}), ui = w(() => {
|
|
4086
|
-
Y(""), L(null),
|
|
4086
|
+
Y(""), L(null), O(g), ge.setSelectedKey(null), ge.setInputValue(""), f && f(""), p && S && (S(`${d}Options`, []), S(`${d}CheckAll`, "")), x?.();
|
|
4087
4087
|
}, [g, p, d, x, f, S, ge]), {
|
|
4088
4088
|
buttonProps: hi,
|
|
4089
4089
|
inputProps: fi,
|
|
@@ -4562,7 +4562,7 @@ const N = re(function({
|
|
|
4562
4562
|
padding: 0 ${e.spacing[0.25]};
|
|
4563
4563
|
width: 100%;
|
|
4564
4564
|
`}
|
|
4565
|
-
`,
|
|
4565
|
+
`, Ol = ({ state: e, date: t }) => {
|
|
4566
4566
|
const o = Z(null), i = _i(t, Ui()), { cellProps: a, buttonProps: r, isSelected: l, isDisabled: s, formattedDate: c } = Yi({ date: t }, e, o), d = "highlightedRange" in e && !J.isNull(e.highlightedRange) ? Sn(t, e.highlightedRange.start) : l, p = "highlightedRange" in e && !J.isNull(e.highlightedRange) ? Sn(t, e.highlightedRange.end) : l, g = l && !s && !(d || p) ? "range" : "";
|
|
4567
4567
|
return /* @__PURE__ */ n(Al, { id: g, ...a, children: /* @__PURE__ */ u(
|
|
4568
4568
|
"div",
|
|
@@ -4591,11 +4591,11 @@ const N = re(function({
|
|
|
4591
4591
|
/* @__PURE__ */ n("tbody", { children: [...new Array(a).keys()].map(
|
|
4592
4592
|
(r) => /* @__PURE__ */ n(Gn, { children: e.getDatesInWeek(r).map((l, s) => {
|
|
4593
4593
|
const c = `key_${s}`;
|
|
4594
|
-
return l ? /* @__PURE__ */ n(
|
|
4594
|
+
return l ? /* @__PURE__ */ n(Ol, { date: l, state: e }, c) : /* @__PURE__ */ n("td", {}, c);
|
|
4595
4595
|
}) }, r)
|
|
4596
4596
|
) })
|
|
4597
4597
|
] });
|
|
4598
|
-
},
|
|
4598
|
+
}, Pl = m(Ro)`
|
|
4599
4599
|
align-items: center;
|
|
4600
4600
|
background-color: inherit;
|
|
4601
4601
|
border-color: inherit;
|
|
@@ -4857,7 +4857,7 @@ const N = re(function({
|
|
|
4857
4857
|
...e,
|
|
4858
4858
|
locale: "en-US",
|
|
4859
4859
|
shouldForceLeadingZeros: !0
|
|
4860
|
-
}), { timeValue: i } = o, a = !J.isNil(i) && i.hour < 12 ? "AM" : "PM", [r, l] =
|
|
4860
|
+
}), { timeValue: i } = o, a = !J.isNil(i) && i.hour < 12 ? "AM" : "PM", [r, l] = P(
|
|
4861
4861
|
J.isNil(i) ? "AM" : a
|
|
4862
4862
|
), { fieldProps: s } = er(e, o, t), c = w(
|
|
4863
4863
|
(d) => {
|
|
@@ -5276,7 +5276,7 @@ const N = re(function({
|
|
|
5276
5276
|
}), { close: f } = h, { groupProps: x, fieldProps: y, buttonProps: b, dialogProps: v, calendarProps: k } = To(e, h, g), S = w(
|
|
5277
5277
|
(E) => {
|
|
5278
5278
|
if (k.onChange && k.onChange(E), h.timeValue) {
|
|
5279
|
-
const z =
|
|
5279
|
+
const z = Pn(
|
|
5280
5280
|
E,
|
|
5281
5281
|
h.timeValue
|
|
5282
5282
|
);
|
|
@@ -5291,7 +5291,7 @@ const N = re(function({
|
|
|
5291
5291
|
h.setTimeValue(E);
|
|
5292
5292
|
const z = h.dateValue;
|
|
5293
5293
|
if (z) {
|
|
5294
|
-
const R =
|
|
5294
|
+
const R = Pn(z, E);
|
|
5295
5295
|
c?.(r, R, { shouldDirty: !0 });
|
|
5296
5296
|
}
|
|
5297
5297
|
}
|
|
@@ -5384,7 +5384,7 @@ const N = re(function({
|
|
|
5384
5384
|
weight: C,
|
|
5385
5385
|
...E
|
|
5386
5386
|
}) => {
|
|
5387
|
-
const { required: z, onBlur: R, onChange: j } = E, M = A(), D = e ? void 0 : r, [F, Y] =
|
|
5387
|
+
const { required: z, onBlur: R, onChange: j } = E, M = A(), D = e ? void 0 : r, [F, Y] = P(""), [T, L] = P(!1), U = h ? T ? "text" : "password" : S, O = w(() => {
|
|
5388
5388
|
L((X) => !X);
|
|
5389
5389
|
}, []), W = w(
|
|
5390
5390
|
(X) => {
|
|
@@ -5475,7 +5475,7 @@ const N = re(function({
|
|
|
5475
5475
|
iconColor: M.palette.gray[800],
|
|
5476
5476
|
iconSize: "lg",
|
|
5477
5477
|
iconType: "fa-light",
|
|
5478
|
-
onClick:
|
|
5478
|
+
onClick: O,
|
|
5479
5479
|
py: 0,
|
|
5480
5480
|
variant: "ghost"
|
|
5481
5481
|
}
|
|
@@ -5812,7 +5812,7 @@ const N = re(function({
|
|
|
5812
5812
|
border: 1px solid ${e.palette.success[500]};
|
|
5813
5813
|
}
|
|
5814
5814
|
`}
|
|
5815
|
-
`,
|
|
5815
|
+
`, Ot = m.button`
|
|
5816
5816
|
${({ theme: e, $variant: t }) => `
|
|
5817
5817
|
background: transparent;
|
|
5818
5818
|
border: none;
|
|
@@ -5930,7 +5930,7 @@ const N = re(function({
|
|
|
5930
5930
|
return a.toUpperCase();
|
|
5931
5931
|
});
|
|
5932
5932
|
return [...new Set(t)].join(", ");
|
|
5933
|
-
},
|
|
5933
|
+
}, Pt = (e, t = 2) => {
|
|
5934
5934
|
if (e === 0) return "0 Bytes";
|
|
5935
5935
|
const o = 1024, i = t < 0 ? 0 : t, a = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = Math.floor(Math.log(e) / Math.log(o));
|
|
5936
5936
|
return parseFloat((e / Math.pow(o, r)).toFixed(i)) + a[r];
|
|
@@ -6117,9 +6117,9 @@ const N = re(function({
|
|
|
6117
6117
|
(f ? L : [L[0]]).forEach(
|
|
6118
6118
|
(W) => U.items.add(W)
|
|
6119
6119
|
);
|
|
6120
|
-
const
|
|
6120
|
+
const O = U.files;
|
|
6121
6121
|
if (b?.current) {
|
|
6122
|
-
b.current.files =
|
|
6122
|
+
b.current.files = O;
|
|
6123
6123
|
const W = new Event("change", { bubbles: !0 });
|
|
6124
6124
|
b.current.dispatchEvent(W);
|
|
6125
6125
|
}
|
|
@@ -6156,10 +6156,10 @@ const N = re(function({
|
|
|
6156
6156
|
iconSize: "lg"
|
|
6157
6157
|
}
|
|
6158
6158
|
), R = !o && i ? /* @__PURE__ */ u(I, { color: s.palette.gray[400], size: "md", children: [
|
|
6159
|
-
p && y != null ?
|
|
6159
|
+
p && y != null ? Pt(y) : Array.from(d).map((F) => Pt(F.size)).join(", "),
|
|
6160
6160
|
g ? ` • ${g}% uploaded` : void 0
|
|
6161
6161
|
] }) : /* @__PURE__ */ n(pe, { priority: "low", tagLabel: "Error uploading", variant: "error" }), j = /* @__PURE__ */ n(
|
|
6162
|
-
|
|
6162
|
+
Ot,
|
|
6163
6163
|
{
|
|
6164
6164
|
$variant: "highRelevance",
|
|
6165
6165
|
disabled: e,
|
|
@@ -6168,7 +6168,7 @@ const N = re(function({
|
|
|
6168
6168
|
children: "click to browse"
|
|
6169
6169
|
}
|
|
6170
6170
|
), M = /* @__PURE__ */ n(
|
|
6171
|
-
|
|
6171
|
+
Ot,
|
|
6172
6172
|
{
|
|
6173
6173
|
$variant: "lowRelevance",
|
|
6174
6174
|
disabled: e,
|
|
@@ -6177,7 +6177,7 @@ const N = re(function({
|
|
|
6177
6177
|
children: "Try again"
|
|
6178
6178
|
}
|
|
6179
6179
|
), D = h ? /* @__PURE__ */ n(
|
|
6180
|
-
|
|
6180
|
+
Ot,
|
|
6181
6181
|
{
|
|
6182
6182
|
$variant: "lowRelevance",
|
|
6183
6183
|
disabled: e,
|
|
@@ -6224,7 +6224,7 @@ const N = re(function({
|
|
|
6224
6224
|
textAlign: "center",
|
|
6225
6225
|
children: [
|
|
6226
6226
|
`${ds(c)}`,
|
|
6227
|
-
x ? ` (max. ${
|
|
6227
|
+
x ? ` (max. ${Pt(x)} total limit)` : void 0
|
|
6228
6228
|
]
|
|
6229
6229
|
}
|
|
6230
6230
|
)
|
|
@@ -6303,15 +6303,15 @@ const N = re(function({
|
|
|
6303
6303
|
fileSize: z
|
|
6304
6304
|
}) => {
|
|
6305
6305
|
const R = A(), j = t ? void 0 : o, M = Z(null), D = g?.(c, { required: p }), F = y?.(c), Y = cs(F), T = w(
|
|
6306
|
-
(
|
|
6307
|
-
|
|
6306
|
+
(O) => {
|
|
6307
|
+
O.stopPropagation();
|
|
6308
6308
|
const W = qe("change", c, null);
|
|
6309
6309
|
h && h(c, void 0), D && D.onChange(W);
|
|
6310
6310
|
},
|
|
6311
6311
|
[D, c, h]
|
|
6312
6312
|
), L = w(
|
|
6313
|
-
(
|
|
6314
|
-
const { files: W } =
|
|
6313
|
+
(O) => {
|
|
6314
|
+
const { files: W } = O.currentTarget, K = qe(
|
|
6315
6315
|
"change",
|
|
6316
6316
|
c,
|
|
6317
6317
|
W && W.length > 0 ? W : null
|
|
@@ -6322,8 +6322,8 @@ const N = re(function({
|
|
|
6322
6322
|
},
|
|
6323
6323
|
[D, c, d, h]
|
|
6324
6324
|
), U = w(
|
|
6325
|
-
(
|
|
6326
|
-
|
|
6325
|
+
(O) => {
|
|
6326
|
+
O.stopPropagation(), t ? O.preventDefault() : M.current && M.current.click();
|
|
6327
6327
|
},
|
|
6328
6328
|
[t]
|
|
6329
6329
|
);
|
|
@@ -6435,7 +6435,7 @@ const N = re(function({
|
|
|
6435
6435
|
value: f,
|
|
6436
6436
|
weight: x
|
|
6437
6437
|
}) => {
|
|
6438
|
-
const y = A(), b = e ? void 0 : t, [v, k] =
|
|
6438
|
+
const y = A(), b = e ? void 0 : t, [v, k] = P(""), S = c ? f : o?.value, C = _(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), E = w(
|
|
6439
6439
|
(D) => {
|
|
6440
6440
|
const Y = [...new Set(D.filter(Boolean))].join(","), T = qe("change", s, Y);
|
|
6441
6441
|
o && o.onChange(T), c && c(T);
|
|
@@ -6585,7 +6585,7 @@ const N = re(function({
|
|
|
6585
6585
|
}
|
|
6586
6586
|
), rt = re(function({ disabled: t, icon: o, margin: i, onClick: a, ...r }, l) {
|
|
6587
6587
|
return /* @__PURE__ */ n(
|
|
6588
|
-
|
|
6588
|
+
Pl,
|
|
6589
6589
|
{
|
|
6590
6590
|
$margin: i,
|
|
6591
6591
|
"aria-label": o,
|
|
@@ -6626,7 +6626,7 @@ const N = re(function({
|
|
|
6626
6626
|
variant: b = "full",
|
|
6627
6627
|
defaultValue: v
|
|
6628
6628
|
}) => {
|
|
6629
|
-
const k = A(), S = o ? void 0 : e, C = t < 0 ? 0 : t, E = el(y?.toString(), v), [z, R] =
|
|
6629
|
+
const k = A(), S = o ? void 0 : e, C = t < 0 ? 0 : t, E = el(y?.toString(), v), [z, R] = P(
|
|
6630
6630
|
E
|
|
6631
6631
|
);
|
|
6632
6632
|
Q(() => {
|
|
@@ -6635,16 +6635,16 @@ const N = re(function({
|
|
|
6635
6635
|
const j = w(() => {
|
|
6636
6636
|
const L = ((z ?? Number(l)) - 10 ** -C).toFixed(C), U = Math.max(Number(l), Number(L));
|
|
6637
6637
|
f && f(s, U, { shouldDirty: !0 }), R(U);
|
|
6638
|
-
const
|
|
6639
|
-
c && c(
|
|
6638
|
+
const O = qe("change", s, L);
|
|
6639
|
+
c && c(O);
|
|
6640
6640
|
}, [z, C, l, f, s, c]), M = w(() => {
|
|
6641
6641
|
const L = ((z ?? Number(l)) + 10 ** -C).toFixed(C), U = Math.min(
|
|
6642
6642
|
Number(r),
|
|
6643
6643
|
Number(L) > Number(l) ? Number(L) : Number(l)
|
|
6644
6644
|
);
|
|
6645
6645
|
f && f(s, U, { shouldDirty: !0 }), R(U);
|
|
6646
|
-
const
|
|
6647
|
-
c && c(
|
|
6646
|
+
const O = qe("change", s, L);
|
|
6647
|
+
c && c(O);
|
|
6648
6648
|
}, [z, C, r, l, f, s, c]), D = w(
|
|
6649
6649
|
(T) => {
|
|
6650
6650
|
const { value: L } = T.target, U = /\d+/u.test(L) && !q.isEmpty(L);
|
|
@@ -7016,7 +7016,7 @@ const N = re(function({
|
|
|
7016
7016
|
watch: d,
|
|
7017
7017
|
weight: p
|
|
7018
7018
|
}) => {
|
|
7019
|
-
const g = A(), h = Z(null), f = e ? void 0 : t, x = d?.(i) ?? c, [y, b] =
|
|
7019
|
+
const g = A(), h = Z(null), f = e ? void 0 : t, x = d?.(i) ?? c, [y, b] = P(!1), [v, k] = P(""), [S, C] = P(!1), { refs: E, floatingStyles: z } = tn({
|
|
7020
7020
|
placement: "bottom-start",
|
|
7021
7021
|
whileElementsMounted: mt
|
|
7022
7022
|
}), { inputRef: R, inputValue: j, handlePhoneValueChange: M, country: D, setCountry: F } = sr({
|
|
@@ -7044,7 +7044,7 @@ const N = re(function({
|
|
|
7044
7044
|
G.key.length === 1 ? k((X) => X + G.key) : G.key === "Backspace" && k((X) => X.slice(0, -1));
|
|
7045
7045
|
},
|
|
7046
7046
|
[]
|
|
7047
|
-
),
|
|
7047
|
+
), O = w(() => {
|
|
7048
7048
|
C(!0);
|
|
7049
7049
|
}, []), W = w(() => {
|
|
7050
7050
|
C(!1);
|
|
@@ -7078,7 +7078,7 @@ const N = re(function({
|
|
|
7078
7078
|
id: "country-selector",
|
|
7079
7079
|
onBlur: W,
|
|
7080
7080
|
onClick: T,
|
|
7081
|
-
onFocus:
|
|
7081
|
+
onFocus: O,
|
|
7082
7082
|
onKeyDown: U,
|
|
7083
7083
|
ref: E.setReference,
|
|
7084
7084
|
children: [
|
|
@@ -7381,7 +7381,7 @@ const N = re(function({
|
|
|
7381
7381
|
defaultCollapsed: a,
|
|
7382
7382
|
onChange: r
|
|
7383
7383
|
}) => {
|
|
7384
|
-
const l = A(), [s, c] =
|
|
7384
|
+
const l = A(), [s, c] = P(a ?? !1), d = w(() => {
|
|
7385
7385
|
c((p) => !p);
|
|
7386
7386
|
}, []);
|
|
7387
7387
|
return /* @__PURE__ */ u(
|
|
@@ -7806,7 +7806,7 @@ const N = re(function({
|
|
|
7806
7806
|
position: relative;
|
|
7807
7807
|
transition: 0.2s;
|
|
7808
7808
|
width: 51px;
|
|
7809
|
-
`,
|
|
7809
|
+
`, Pe = m.div`
|
|
7810
7810
|
${({ theme: e }) => `
|
|
7811
7811
|
align-items: center;
|
|
7812
7812
|
background-color: ${e.palette.white};
|
|
@@ -7850,11 +7850,11 @@ const N = re(function({
|
|
|
7850
7850
|
border: 1px solid ${({ theme: e }) => e.palette.success[500]};
|
|
7851
7851
|
}
|
|
7852
7852
|
|
|
7853
|
-
input:checked + ${be} > ${
|
|
7853
|
+
input:checked + ${be} > ${Pe} {
|
|
7854
7854
|
transform: translateX(27px);
|
|
7855
7855
|
}
|
|
7856
7856
|
|
|
7857
|
-
input:checked + ${be} > ${
|
|
7857
|
+
input:checked + ${be} > ${Pe} svg {
|
|
7858
7858
|
color: ${({ theme: e }) => e.palette.success[500]};
|
|
7859
7859
|
}
|
|
7860
7860
|
|
|
@@ -7868,7 +7868,7 @@ const N = re(function({
|
|
|
7868
7868
|
right: 6px;
|
|
7869
7869
|
}
|
|
7870
7870
|
|
|
7871
|
-
input:not(:checked):not(:disabled) + ${be} > ${
|
|
7871
|
+
input:not(:checked):not(:disabled) + ${be} > ${Pe} svg {
|
|
7872
7872
|
color: ${({ theme: e }) => e.palette.gray[500]};
|
|
7873
7873
|
}
|
|
7874
7874
|
|
|
@@ -7878,11 +7878,11 @@ const N = re(function({
|
|
|
7878
7878
|
border: 1px solid ${({ theme: e }) => e.palette.gray[400]};
|
|
7879
7879
|
}
|
|
7880
7880
|
|
|
7881
|
-
input:disabled + ${be} > ${
|
|
7881
|
+
input:disabled + ${be} > ${Pe} {
|
|
7882
7882
|
background-color: ${({ theme: e }) => e.palette.gray[400]};
|
|
7883
7883
|
}
|
|
7884
7884
|
|
|
7885
|
-
input:disabled + ${be} > ${
|
|
7885
|
+
input:disabled + ${be} > ${Pe} svg {
|
|
7886
7886
|
color: ${({ theme: e }) => e.palette.white};
|
|
7887
7887
|
}
|
|
7888
7888
|
|
|
@@ -7926,7 +7926,7 @@ const N = re(function({
|
|
|
7926
7926
|
}
|
|
7927
7927
|
),
|
|
7928
7928
|
/* @__PURE__ */ u(be, { "aria-label": "Toggle Switch", id: `${l}Toggle`, children: [
|
|
7929
|
-
/* @__PURE__ */ n(
|
|
7929
|
+
/* @__PURE__ */ n(Pe, { children: t ? /* @__PURE__ */ n(N, { icon: "check", iconSize: "sm" }) : /* @__PURE__ */ n(N, { icon: "times", iconSize: "sm" }) }),
|
|
7930
7930
|
/* @__PURE__ */ n(pt, { children: t ? "YES" : "NO" })
|
|
7931
7931
|
] })
|
|
7932
7932
|
] }) : /* @__PURE__ */ u(Ns, { onClick: v, role: "switch", children: [
|
|
@@ -8106,7 +8106,7 @@ const N = re(function({
|
|
|
8106
8106
|
height: ${e.spacing[0.75]};
|
|
8107
8107
|
width: ${e.spacing[0.75]};
|
|
8108
8108
|
`}
|
|
8109
|
-
`,
|
|
8109
|
+
`, Os = m.div`
|
|
8110
8110
|
align-items: center;
|
|
8111
8111
|
display: flex;
|
|
8112
8112
|
gap: ${({ theme: e }) => e.spacing[0.5]};
|
|
@@ -8135,7 +8135,7 @@ const N = re(function({
|
|
|
8135
8135
|
c
|
|
8136
8136
|
);
|
|
8137
8137
|
}) }),
|
|
8138
|
-
/* @__PURE__ */ n(
|
|
8138
|
+
/* @__PURE__ */ n(Os, { children: e.map((l, s) => {
|
|
8139
8139
|
const c = `nav-button-${s}`;
|
|
8140
8140
|
return /* @__PURE__ */ n(
|
|
8141
8141
|
js,
|
|
@@ -8149,27 +8149,27 @@ const N = re(function({
|
|
|
8149
8149
|
);
|
|
8150
8150
|
}) })
|
|
8151
8151
|
] });
|
|
8152
|
-
},
|
|
8152
|
+
}, Oe = 68, Mt = 6, Sg = ({
|
|
8153
8153
|
percentage: e
|
|
8154
8154
|
}) => {
|
|
8155
|
-
const t = A(), o = t.palette.primary[500], i = t.palette.gray[200], a = Math.min(100, Math.max(0, e)), r = (
|
|
8155
|
+
const t = A(), o = t.palette.primary[500], i = t.palette.gray[200], a = Math.min(100, Math.max(0, e)), r = (Oe - Mt) / 2, l = 2 * Math.PI * r, s = l - a / 100 * l, c = Oe / 2;
|
|
8156
8156
|
return /* @__PURE__ */ u(
|
|
8157
8157
|
$,
|
|
8158
8158
|
{
|
|
8159
8159
|
alignItems: "center",
|
|
8160
8160
|
display: "inline-flex",
|
|
8161
8161
|
flexDirection: "column",
|
|
8162
|
-
height: `${
|
|
8162
|
+
height: `${Oe}px`,
|
|
8163
8163
|
justify: "center",
|
|
8164
8164
|
position: "relative",
|
|
8165
|
-
width: `${
|
|
8165
|
+
width: `${Oe}px`,
|
|
8166
8166
|
children: [
|
|
8167
8167
|
/* @__PURE__ */ u(
|
|
8168
8168
|
"svg",
|
|
8169
8169
|
{
|
|
8170
|
-
height:
|
|
8170
|
+
height: Oe,
|
|
8171
8171
|
style: { position: "absolute", transform: "rotate(-90deg)" },
|
|
8172
|
-
width:
|
|
8172
|
+
width: Oe,
|
|
8173
8173
|
children: [
|
|
8174
8174
|
/* @__PURE__ */ n(
|
|
8175
8175
|
"circle",
|
|
@@ -8288,7 +8288,7 @@ const Jn = Object.fromEntries(
|
|
|
8288
8288
|
specific: l,
|
|
8289
8289
|
variant: s = "normal"
|
|
8290
8290
|
}) => {
|
|
8291
|
-
const c = A(), [d, p] =
|
|
8291
|
+
const c = A(), [d, p] = P(!1);
|
|
8292
8292
|
Q(() => p(!1), [r]);
|
|
8293
8293
|
const g = s === "location", h = !q.isNil(r) && !q.isString(r) && !q.isEmpty(r.content), f = h ? r.content : null, x = h ? r.offset : 0, y = l !== void 0 ? Number(l) : null, b = q.isString(r) && !q.isEmpty(r), v = _(
|
|
8294
8294
|
() => b ? r.split(`
|
|
@@ -8441,7 +8441,7 @@ const Jn = Object.fromEntries(
|
|
|
8441
8441
|
]
|
|
8442
8442
|
}
|
|
8443
8443
|
);
|
|
8444
|
-
}, { getVariant:
|
|
8444
|
+
}, { getVariant: Ps } = Ee(
|
|
8445
8445
|
(e) => ({
|
|
8446
8446
|
fixed: `
|
|
8447
8447
|
height: auto;
|
|
@@ -8494,7 +8494,7 @@ const Jn = Object.fromEntries(
|
|
|
8494
8494
|
margin: auto;
|
|
8495
8495
|
white-space: pre-line;
|
|
8496
8496
|
|
|
8497
|
-
${
|
|
8497
|
+
${Ps(e, t)}
|
|
8498
8498
|
`}
|
|
8499
8499
|
`, Ms = m.div`
|
|
8500
8500
|
${({ theme: e }) => `
|
|
@@ -9021,7 +9021,7 @@ const Jn = Object.fromEntries(
|
|
|
9021
9021
|
description: i,
|
|
9022
9022
|
onClickClose: a
|
|
9023
9023
|
}) => {
|
|
9024
|
-
const [r, l] =
|
|
9024
|
+
const [r, l] = P(null), s = w(
|
|
9025
9025
|
(g) => () => {
|
|
9026
9026
|
a(g);
|
|
9027
9027
|
},
|
|
@@ -9135,7 +9135,7 @@ const Jn = Object.fromEntries(
|
|
|
9135
9135
|
maxLength: a = nc,
|
|
9136
9136
|
...r
|
|
9137
9137
|
}) => {
|
|
9138
|
-
const l = Z(null), s = A(), [c, d] =
|
|
9138
|
+
const l = Z(null), s = A(), [c, d] = P(i ?? "");
|
|
9139
9139
|
Q(() => {
|
|
9140
9140
|
d(i ?? "");
|
|
9141
9141
|
}, [i]);
|
|
@@ -9216,7 +9216,7 @@ const Jn = Object.fromEntries(
|
|
|
9216
9216
|
onChangeHandler: o,
|
|
9217
9217
|
variant: i
|
|
9218
9218
|
}) => {
|
|
9219
|
-
const a = Z(null), [r, l] =
|
|
9219
|
+
const a = Z(null), [r, l] = P([]), [s, c] = P(""), d = w(
|
|
9220
9220
|
(g) => {
|
|
9221
9221
|
const { value: h } = g.target;
|
|
9222
9222
|
c(h);
|
|
@@ -9334,7 +9334,7 @@ const Jn = Object.fromEntries(
|
|
|
9334
9334
|
modalRef: o,
|
|
9335
9335
|
variant: i
|
|
9336
9336
|
}) => {
|
|
9337
|
-
const a = A(), r = Z(null), [l, s] =
|
|
9337
|
+
const a = A(), r = Z(null), [l, s] = P(void 0), c = w(
|
|
9338
9338
|
(g) => {
|
|
9339
9339
|
const { checked: h, value: f } = g.target, x = o.columns.map((y) => y.name === f ? (y.toggleVisibility?.(h), { ...y, visible: h }) : y);
|
|
9340
9340
|
o.setColumns(x);
|
|
@@ -9475,7 +9475,7 @@ const Jn = Object.fromEntries(
|
|
|
9475
9475
|
size: f,
|
|
9476
9476
|
id: x = "modal-container"
|
|
9477
9477
|
}) => {
|
|
9478
|
-
const y = A(), [b, v] =
|
|
9478
|
+
const y = A(), [b, v] = P(void 0), k = Z(null), S = Z(!1), C = Array.isArray(g) && g.length > 0, E = o ?? a;
|
|
9479
9479
|
Q(() => {
|
|
9480
9480
|
if (C && !S.current && k.current) {
|
|
9481
9481
|
const R = k.current.getBoundingClientRect().height;
|
|
@@ -9560,7 +9560,7 @@ const Jn = Object.fromEntries(
|
|
|
9560
9560
|
return [r, ({
|
|
9561
9561
|
children: d
|
|
9562
9562
|
}) => {
|
|
9563
|
-
const [p, g] =
|
|
9563
|
+
const [p, g] = P(o), h = w(() => {
|
|
9564
9564
|
g({ ...o });
|
|
9565
9565
|
}, []), f = w((b) => () => {
|
|
9566
9566
|
g(
|
|
@@ -9608,7 +9608,7 @@ const Jn = Object.fromEntries(
|
|
|
9608
9608
|
);
|
|
9609
9609
|
}];
|
|
9610
9610
|
}, Tg = () => {
|
|
9611
|
-
const [e, t] =
|
|
9611
|
+
const [e, t] = P(!1), [o, i] = P(), a = Z(null), r = Rt("confirm-dialog-modal"), l = w(
|
|
9612
9612
|
async (p) => (i(p), t(!0), new Promise((g) => {
|
|
9613
9613
|
a.current = g;
|
|
9614
9614
|
})),
|
|
@@ -9646,7 +9646,7 @@ const Jn = Object.fromEntries(
|
|
|
9646
9646
|
}, rc = 2e3, Dg = ({
|
|
9647
9647
|
content: e
|
|
9648
9648
|
}) => {
|
|
9649
|
-
const [t, o] =
|
|
9649
|
+
const [t, o] = P("Copy"), i = w(() => {
|
|
9650
9650
|
navigator.clipboard.writeText(e).then(() => {
|
|
9651
9651
|
o("Copied"), setTimeout(() => {
|
|
9652
9652
|
o("Copy");
|
|
@@ -9713,7 +9713,7 @@ const Jn = Object.fromEntries(
|
|
|
9713
9713
|
options: a,
|
|
9714
9714
|
title: r
|
|
9715
9715
|
}) => {
|
|
9716
|
-
const l = A(), [s, c] =
|
|
9716
|
+
const l = A(), [s, c] = P(!1), d = s ? "chevron-up" : "chevron-down", { refs: p, floatingStyles: g } = Ze({
|
|
9717
9717
|
middleware: [wt({ mainAxis: 4 })],
|
|
9718
9718
|
placement: "bottom-start"
|
|
9719
9719
|
}), h = w(() => {
|
|
@@ -10293,7 +10293,7 @@ const Jn = Object.fromEntries(
|
|
|
10293
10293
|
)
|
|
10294
10294
|
] });
|
|
10295
10295
|
}), mc = (e) => {
|
|
10296
|
-
const [t, o] =
|
|
10296
|
+
const [t, o] = P({
|
|
10297
10297
|
includeSearch: e,
|
|
10298
10298
|
previousValue: ""
|
|
10299
10299
|
}), i = w(
|
|
@@ -10304,7 +10304,7 @@ const Jn = Object.fromEntries(
|
|
|
10304
10304
|
);
|
|
10305
10305
|
return { searchState: t, updateSearch: i };
|
|
10306
10306
|
}, wc = () => {
|
|
10307
|
-
const e = Z(null), [t, o] =
|
|
10307
|
+
const e = Z(null), [t, o] = P("0"), i = _(
|
|
10308
10308
|
() => ({ height: t, ref: e }),
|
|
10309
10309
|
[t]
|
|
10310
10310
|
), a = w((r) => {
|
|
@@ -10312,7 +10312,7 @@ const Jn = Object.fromEntries(
|
|
|
10312
10312
|
}, []);
|
|
10313
10313
|
return { scrollState: i, updateScrollHeight: a };
|
|
10314
10314
|
}, vc = () => {
|
|
10315
|
-
const [e, t] =
|
|
10315
|
+
const [e, t] = P(!1), o = w((i) => {
|
|
10316
10316
|
t(i);
|
|
10317
10317
|
}, []);
|
|
10318
10318
|
return { calendarState: { isOpen: e, updateCalendarState: o } };
|
|
@@ -10410,9 +10410,9 @@ const Jn = Object.fromEntries(
|
|
|
10410
10410
|
onToggle: a,
|
|
10411
10411
|
autoOpen: r = !1
|
|
10412
10412
|
}) => {
|
|
10413
|
-
const l = A(), [s, c] =
|
|
10413
|
+
const l = A(), [s, c] = P(r), [d, p] = P(
|
|
10414
10414
|
() => new Set(o)
|
|
10415
|
-
), [g, h] =
|
|
10415
|
+
), [g, h] = P(null), f = Z(null), x = _(() => new Set(o), [o]), y = _(
|
|
10416
10416
|
() => [...t].sort(
|
|
10417
10417
|
(D, F) => Number(d.has(F.value)) - Number(d.has(D.value))
|
|
10418
10418
|
),
|
|
@@ -10660,7 +10660,7 @@ const Jn = Object.fromEntries(
|
|
|
10660
10660
|
}) => {
|
|
10661
10661
|
const { text: s, checked: c } = Be(
|
|
10662
10662
|
t ?? ""
|
|
10663
|
-
), [d, p] =
|
|
10663
|
+
), [d, p] = P(s), [g, h] = P(s), f = Number.isFinite(l) && (l ?? 0) >= 0 ? Math.min(l ?? 0, 5e3) : 0, x = nn(i, f);
|
|
10664
10664
|
s !== g && (h(s), p(s), x.cancel());
|
|
10665
10665
|
const y = w(
|
|
10666
10666
|
(b) => {
|
|
@@ -10923,7 +10923,7 @@ const Jn = Object.fromEntries(
|
|
|
10923
10923
|
[r, s]
|
|
10924
10924
|
), Y = C.getTotalSize();
|
|
10925
10925
|
return Q(() => {
|
|
10926
|
-
const T = l.length >
|
|
10926
|
+
const T = l.length > Oo;
|
|
10927
10927
|
if (y.includeSearch !== T && b({ includeSearch: T }), s !== "checkboxes") return;
|
|
10928
10928
|
const L = t.length > 0 ? `${Y}px` : "fit-content";
|
|
10929
10929
|
x.height !== L && v(L);
|
|
@@ -10976,13 +10976,13 @@ const Jn = Object.fromEntries(
|
|
|
10976
10976
|
p((T) => {
|
|
10977
10977
|
const { mode: L, values: U } = Ie(
|
|
10978
10978
|
T[r] ?? ""
|
|
10979
|
-
),
|
|
10979
|
+
), O = [
|
|
10980
10980
|
...U,
|
|
10981
10981
|
...R.flat().map((W) => W.value)
|
|
10982
10982
|
];
|
|
10983
10983
|
return {
|
|
10984
10984
|
...T,
|
|
10985
|
-
[r]: dt({ mode: L, values:
|
|
10985
|
+
[r]: dt({ mode: L, values: O })
|
|
10986
10986
|
};
|
|
10987
10987
|
});
|
|
10988
10988
|
}, [p, r, R]), D = w(() => {
|
|
@@ -11008,26 +11008,26 @@ const Jn = Object.fromEntries(
|
|
|
11008
11008
|
[c]
|
|
11009
11009
|
), Y = w(
|
|
11010
11010
|
(T, L, U) => {
|
|
11011
|
-
p((
|
|
11011
|
+
p((O) => {
|
|
11012
11012
|
if (L === "checkboxes") {
|
|
11013
11013
|
const { mode: W, values: K } = Ie(
|
|
11014
|
-
|
|
11014
|
+
O[r] ?? ""
|
|
11015
11015
|
), G = K.includes(T) ? K.filter((X) => X !== T) : [...K, T];
|
|
11016
11016
|
return {
|
|
11017
|
-
...
|
|
11017
|
+
...O,
|
|
11018
11018
|
[r]: dt({ mode: W, values: G })
|
|
11019
11019
|
};
|
|
11020
11020
|
}
|
|
11021
11021
|
if (L === "dateRange") {
|
|
11022
|
-
const W = Vt(
|
|
11022
|
+
const W = Vt(O[r] ?? ""), K = W.filter(
|
|
11023
11023
|
(te) => te !== "-" && !RegExp(/^\d+\-\d+\-\d+$/).test(te.trim())
|
|
11024
11024
|
), G = W.filter(
|
|
11025
11025
|
(te) => ce(te).isValid() && ce(te).isAfter(ce("1903-01-01"))
|
|
11026
11026
|
), X = ce(T, "YYYY-MM-DD", !0), oe = ["-", "-"];
|
|
11027
|
-
return G.length === 2 ? (oe[0] = G[0], oe[1] = G[1]) : G.length === 1 && (X.isAfter(ce(G[0])) ? (oe[0] = G[0], oe[1] = T) : (oe[0] = T, oe[1] = G[0])), oe[U ?? 0] = T, { ...
|
|
11027
|
+
return G.length === 2 ? (oe[0] = G[0], oe[1] = G[1]) : G.length === 1 && (X.isAfter(ce(G[0])) ? (oe[0] = G[0], oe[1] = T) : (oe[0] = T, oe[1] = G[0])), oe[U ?? 0] = T, { ...O, [r]: [...K, ...oe].join(",") };
|
|
11028
11028
|
}
|
|
11029
11029
|
if (L === "numberRange") {
|
|
11030
|
-
const W = Vt(
|
|
11030
|
+
const W = Vt(O[r] ?? ""), K = W.filter(
|
|
11031
11031
|
(te) => te !== "-" && !RegExp(/^\d+$/).test(te.trim())
|
|
11032
11032
|
), G = W.filter(
|
|
11033
11033
|
(te) => te === "-" || RegExp(/^\d+$/).test(te.trim())
|
|
@@ -11045,28 +11045,28 @@ const Jn = Object.fromEntries(
|
|
|
11045
11045
|
X[oe] = J.isNaN(te) ? "-" : te;
|
|
11046
11046
|
}
|
|
11047
11047
|
return X[0] === "-" && X[1] === "-" ? {
|
|
11048
|
-
...
|
|
11048
|
+
...O,
|
|
11049
11049
|
[r]: K.length > 0 ? K.join(",") : ""
|
|
11050
11050
|
} : {
|
|
11051
|
-
...
|
|
11051
|
+
...O,
|
|
11052
11052
|
[r]: [...X, ...K].join(",")
|
|
11053
11053
|
};
|
|
11054
11054
|
}
|
|
11055
11055
|
if (L === "list") {
|
|
11056
|
-
const K = Vt(
|
|
11056
|
+
const K = Vt(O[r] ?? "").filter(
|
|
11057
11057
|
(G) => G === "-" || RegExp(/^\d+$/).test(G) || RegExp(/^\d+\-\d+\-\d+$/).test(G.trim())
|
|
11058
11058
|
);
|
|
11059
|
-
return { ...
|
|
11059
|
+
return { ...O, [r]: [...K, T].join(",") };
|
|
11060
11060
|
}
|
|
11061
11061
|
if (L === "textCheckbox") {
|
|
11062
|
-
const W =
|
|
11063
|
-
return !X && G === "" ? { ...
|
|
11062
|
+
const W = O[r] ?? "", K = W.match(/^textCheck:(true|false),(.*)$/), G = K ? K[2] : W, X = T === "true";
|
|
11063
|
+
return !X && G === "" ? { ...O, [r]: "" } : { ...O, [r]: `textCheck:${X},${G}` };
|
|
11064
11064
|
}
|
|
11065
11065
|
if (L === "text") {
|
|
11066
|
-
const K = (
|
|
11067
|
-
return K ? T === "" && K[1] === "false" ? { ...
|
|
11066
|
+
const K = (O[r] ?? "").match(/^textCheck:(true|false),/);
|
|
11067
|
+
return K ? T === "" && K[1] === "false" ? { ...O, [r]: "" } : { ...O, [r]: `textCheck:${K[1]},${T}` } : { ...O, [r]: T };
|
|
11068
11068
|
}
|
|
11069
|
-
return { ...
|
|
11069
|
+
return { ...O, [r]: T };
|
|
11070
11070
|
});
|
|
11071
11071
|
},
|
|
11072
11072
|
[r, p]
|
|
@@ -11200,7 +11200,7 @@ const Jn = Object.fromEntries(
|
|
|
11200
11200
|
]
|
|
11201
11201
|
}
|
|
11202
11202
|
);
|
|
11203
|
-
}), Bt = "y",
|
|
11203
|
+
}), Bt = "y", Oc = ({
|
|
11204
11204
|
disabled: e,
|
|
11205
11205
|
id: t,
|
|
11206
11206
|
label: o,
|
|
@@ -11226,7 +11226,7 @@ const Jn = Object.fromEntries(
|
|
|
11226
11226
|
variant: "inline"
|
|
11227
11227
|
}
|
|
11228
11228
|
);
|
|
11229
|
-
},
|
|
11229
|
+
}, Pc = ({
|
|
11230
11230
|
disabled: e,
|
|
11231
11231
|
filters: t,
|
|
11232
11232
|
tooltip: o,
|
|
@@ -11241,13 +11241,13 @@ const Jn = Object.fromEntries(
|
|
|
11241
11241
|
justify: g,
|
|
11242
11242
|
imperativeRef: h
|
|
11243
11243
|
}) => {
|
|
11244
|
-
const f = Rt("filters"), { calendarState: x } = vc(), { searchState: y, updateSearch: b } = mc(!1), { scrollState: v, updateScrollHeight: k } = wc(), [S, C] =
|
|
11244
|
+
const f = Rt("filters"), { calendarState: x } = vc(), { searchState: y, updateSearch: b } = mc(!1), { scrollState: v, updateScrollHeight: k } = wc(), [S, C] = P(""), [E, z] = P(null), { refs: R } = Ze({ placement: "bottom-start" }), { refs: j } = Ze({
|
|
11245
11245
|
elements: { reference: R.reference.current },
|
|
11246
11246
|
placement: "right-end"
|
|
11247
11247
|
}), { activeFilters: M, values: D, setValues: F } = i, { previousValue: Y } = y, { menu: T, inline: L } = _(
|
|
11248
|
-
() =>
|
|
11248
|
+
() => Po(t),
|
|
11249
11249
|
[t]
|
|
11250
|
-
), { label: U, options:
|
|
11250
|
+
), { label: U, options: O } = Pa(T, S, Y), W = Oa(T), K = Lr(l) || l === null || S !== l, G = w(
|
|
11251
11251
|
(ae, $e) => {
|
|
11252
11252
|
C(ae), s(ae), z($e);
|
|
11253
11253
|
},
|
|
@@ -11324,21 +11324,21 @@ const Jn = Object.fromEntries(
|
|
|
11324
11324
|
{
|
|
11325
11325
|
groupedFilters: W,
|
|
11326
11326
|
handleChangeId: X,
|
|
11327
|
-
includeSearch: T.length >
|
|
11327
|
+
includeSearch: T.length > Oo,
|
|
11328
11328
|
ref: R.setFloating
|
|
11329
11329
|
}
|
|
11330
11330
|
) : void 0,
|
|
11331
11331
|
K ? void 0 : /* @__PURE__ */ n(
|
|
11332
11332
|
jc,
|
|
11333
11333
|
{
|
|
11334
|
-
label:
|
|
11335
|
-
options:
|
|
11334
|
+
label: O?.[0]?.formatLabel ?? !0 ? Fr(U) : U,
|
|
11335
|
+
options: O,
|
|
11336
11336
|
ref: j.setFloating
|
|
11337
11337
|
}
|
|
11338
11338
|
),
|
|
11339
11339
|
L.map(
|
|
11340
11340
|
(ae) => /* @__PURE__ */ vi(
|
|
11341
|
-
|
|
11341
|
+
Oc,
|
|
11342
11342
|
{
|
|
11343
11343
|
...ae,
|
|
11344
11344
|
disabled: e || ae.disabled,
|
|
@@ -11353,7 +11353,7 @@ const Jn = Object.fromEntries(
|
|
|
11353
11353
|
);
|
|
11354
11354
|
}, Mc = re(
|
|
11355
11355
|
({ disabled: e = !1, filters: t, tooltip: o, storageKey: i, width: a, justify: r }, l) => {
|
|
11356
|
-
const s = _(Mo, []), c = _(() => i ?? s, [i, s]), d = Ho({ filters: t, storageKey: i }), [p, g] =
|
|
11356
|
+
const s = _(Mo, []), c = _(() => i ?? s, [i, s]), d = Ho({ filters: t, storageKey: i }), [p, g] = P(null), [h, f] = P({
|
|
11357
11357
|
searchGlobal: "",
|
|
11358
11358
|
searchFilter: ""
|
|
11359
11359
|
}), x = _(
|
|
@@ -11367,7 +11367,7 @@ const Jn = Object.fromEntries(
|
|
|
11367
11367
|
x || gt(c);
|
|
11368
11368
|
}, [x, c]);
|
|
11369
11369
|
return /* @__PURE__ */ n(
|
|
11370
|
-
|
|
11370
|
+
Pc,
|
|
11371
11371
|
{
|
|
11372
11372
|
disabled: e,
|
|
11373
11373
|
filterId: p,
|
|
@@ -11421,13 +11421,13 @@ const Lg = ({
|
|
|
11421
11421
|
const x = A(), y = jr({
|
|
11422
11422
|
...f,
|
|
11423
11423
|
mode: c ?? "all",
|
|
11424
|
-
resolver: h ?
|
|
11424
|
+
resolver: h ? Pr(h) : void 0
|
|
11425
11425
|
});
|
|
11426
11426
|
function b(C) {
|
|
11427
11427
|
C.stopPropagation(), y.handleSubmit(d)(C);
|
|
11428
11428
|
}
|
|
11429
11429
|
const k = g ? `calc(100% - ${e ? "139px" : "83px"})` : "100%", S = p ? 1.5 : 0;
|
|
11430
|
-
return /* @__PURE__ */ n(
|
|
11430
|
+
return /* @__PURE__ */ n(Or, { ...y, children: /* @__PURE__ */ n(Vc, { onSubmit: b, children: /* @__PURE__ */ u($, { scroll: "y", width: "100%", children: [
|
|
11431
11431
|
/* @__PURE__ */ n(
|
|
11432
11432
|
$,
|
|
11433
11433
|
{
|
|
@@ -11601,7 +11601,7 @@ const Lg = ({
|
|
|
11601
11601
|
title: l,
|
|
11602
11602
|
variant: s
|
|
11603
11603
|
}) => {
|
|
11604
|
-
const c = A(), [d, p] =
|
|
11604
|
+
const c = A(), [d, p] = P(t), [g, h] = P(""), f = w(
|
|
11605
11605
|
(v) => {
|
|
11606
11606
|
if (!v) {
|
|
11607
11607
|
p(t);
|
|
@@ -11755,7 +11755,7 @@ const Lg = ({
|
|
|
11755
11755
|
fill: url(#gradient-01);
|
|
11756
11756
|
}
|
|
11757
11757
|
`}
|
|
11758
|
-
`,
|
|
11758
|
+
`, Og = ({
|
|
11759
11759
|
backgroundColor: e,
|
|
11760
11760
|
title: t,
|
|
11761
11761
|
indicator: o,
|
|
@@ -11816,7 +11816,7 @@ const Lg = ({
|
|
|
11816
11816
|
),
|
|
11817
11817
|
i ? /* @__PURE__ */ n(I, { size: "md", ...l ? { color: l } : {}, children: i }) : void 0
|
|
11818
11818
|
] });
|
|
11819
|
-
},
|
|
11819
|
+
}, Pg = ({
|
|
11820
11820
|
actions: e,
|
|
11821
11821
|
children: t,
|
|
11822
11822
|
header: o,
|
|
@@ -11940,11 +11940,6 @@ const Lg = ({
|
|
|
11940
11940
|
color: ${e.palette.primary[400]};
|
|
11941
11941
|
}
|
|
11942
11942
|
}
|
|
11943
|
-
|
|
11944
|
-
.fill-gradient-01 path {
|
|
11945
|
-
fill: url(/gradients.svg#gradient-01);
|
|
11946
|
-
fill: url(#gradient-01);
|
|
11947
|
-
}
|
|
11948
11943
|
`}
|
|
11949
11944
|
`, Uc = m.div`
|
|
11950
11945
|
${({ theme: e, $hasImage: t, $width: o, $height: i }) => `
|
|
@@ -11990,13 +11985,7 @@ const Lg = ({
|
|
|
11990
11985
|
$height: i,
|
|
11991
11986
|
$width: a,
|
|
11992
11987
|
children: [
|
|
11993
|
-
o ? /* @__PURE__ */ n(
|
|
11994
|
-
"i",
|
|
11995
|
-
{
|
|
11996
|
-
className: `fa-solid fa-${o} fill-gradient-01`,
|
|
11997
|
-
style: { fontSize: 24 }
|
|
11998
|
-
}
|
|
11999
|
-
) : void 0,
|
|
11988
|
+
o ? /* @__PURE__ */ n(N, { icon: o, iconSize: "xl", iconType: "fa-gradient" }) : void 0,
|
|
12000
11989
|
c ? /* @__PURE__ */ n(
|
|
12001
11990
|
ze,
|
|
12002
11991
|
{
|
|
@@ -12210,7 +12199,7 @@ const Lg = ({
|
|
|
12210
12199
|
onClose: l,
|
|
12211
12200
|
buttonSide: s = "end"
|
|
12212
12201
|
}) => {
|
|
12213
|
-
const c = A(), [d, p] =
|
|
12202
|
+
const c = A(), [d, p] = P(a), g = w(() => {
|
|
12214
12203
|
p(!1), l?.();
|
|
12215
12204
|
}, [l]);
|
|
12216
12205
|
Q(() => {
|
|
@@ -12441,7 +12430,7 @@ const Lg = ({
|
|
|
12441
12430
|
manualOption: a,
|
|
12442
12431
|
providers: r
|
|
12443
12432
|
}) => {
|
|
12444
|
-
const l = A(), [s, c] =
|
|
12433
|
+
const l = A(), [s, c] = P(!1), d = Z(null);
|
|
12445
12434
|
Ce(d.current, () => {
|
|
12446
12435
|
c(!1);
|
|
12447
12436
|
});
|
|
@@ -12733,7 +12722,7 @@ const Lg = ({
|
|
|
12733
12722
|
pageSize: e,
|
|
12734
12723
|
setPageSize: t
|
|
12735
12724
|
}) => {
|
|
12736
|
-
const o = A(), [i, a] =
|
|
12725
|
+
const o = A(), [i, a] = P(!1), { refs: r, floatingStyles: l } = Ze({
|
|
12737
12726
|
middleware: [ko(), wt({ mainAxis: 4 })],
|
|
12738
12727
|
placement: "top-end",
|
|
12739
12728
|
whileElementsMounted: mt
|
|
@@ -13418,7 +13407,7 @@ const Lg = ({
|
|
|
13418
13407
|
items: t,
|
|
13419
13408
|
handleSetItems: o
|
|
13420
13409
|
}) => {
|
|
13421
|
-
const i = A(), [a, r] =
|
|
13410
|
+
const i = A(), [a, r] = P(t), [l, s] = P(void 0);
|
|
13422
13411
|
Q(() => {
|
|
13423
13412
|
r(t);
|
|
13424
13413
|
}, [t]);
|
|
@@ -13815,7 +13804,7 @@ const Lg = ({
|
|
|
13815
13804
|
right: a,
|
|
13816
13805
|
zIndex: r = 100
|
|
13817
13806
|
}) => {
|
|
13818
|
-
const [l, s] =
|
|
13807
|
+
const [l, s] = P(!1), [c, d] = P(null), p = A();
|
|
13819
13808
|
Q(() => {
|
|
13820
13809
|
d(document.getElementById(e)), c?.addEventListener("scroll", () => {
|
|
13821
13810
|
s(c.scrollTop > o);
|
|
@@ -13893,7 +13882,7 @@ const Lg = ({
|
|
|
13893
13882
|
box-shadow: ${e.shadows.md};
|
|
13894
13883
|
overflow: hidden;
|
|
13895
13884
|
`}
|
|
13896
|
-
`,
|
|
13885
|
+
`, Od = m.ul`
|
|
13897
13886
|
${({ theme: e }) => `
|
|
13898
13887
|
list-style: none;
|
|
13899
13888
|
margin: 0;
|
|
@@ -13901,7 +13890,7 @@ const Lg = ({
|
|
|
13901
13890
|
max-height: 300px;
|
|
13902
13891
|
overflow-y: auto;
|
|
13903
13892
|
`}
|
|
13904
|
-
`,
|
|
13893
|
+
`, Pd = m.li`
|
|
13905
13894
|
${({ theme: e }) => `
|
|
13906
13895
|
padding: ${e.spacing[0.5]} ${e.spacing[0.75]};
|
|
13907
13896
|
cursor: pointer;
|
|
@@ -13925,7 +13914,7 @@ const Lg = ({
|
|
|
13925
13914
|
openOnFocus: d = !0,
|
|
13926
13915
|
...p
|
|
13927
13916
|
}) => {
|
|
13928
|
-
const g = A(), h = Z(null), [f, x] =
|
|
13917
|
+
const g = A(), h = Z(null), [f, x] = P(!1), [y, b] = P(
|
|
13929
13918
|
String(l ?? "")
|
|
13930
13919
|
);
|
|
13931
13920
|
Q(() => {
|
|
@@ -13962,8 +13951,8 @@ const Lg = ({
|
|
|
13962
13951
|
},
|
|
13963
13952
|
[t, i]
|
|
13964
13953
|
), R = f && (y.trim().length > 0 || t.length > 0), j = _(
|
|
13965
|
-
() => t.length === 0 ? /* @__PURE__ */ n(Md, { children: c }) : /* @__PURE__ */ n(
|
|
13966
|
-
(D, F) => /* @__PURE__ */ n(
|
|
13954
|
+
() => t.length === 0 ? /* @__PURE__ */ n(Md, { children: c }) : /* @__PURE__ */ n(Od, { role: "listbox", children: t.map(
|
|
13955
|
+
(D, F) => /* @__PURE__ */ n(Pd, { onClick: z, role: "option", children: o(D) }, F)
|
|
13967
13956
|
) }),
|
|
13968
13957
|
[t, c, o, z]
|
|
13969
13958
|
), M = w(
|
|
@@ -14669,7 +14658,7 @@ const Lg = ({
|
|
|
14669
14658
|
button: { disabled: e = !1, text: t, type: o = "button", onClick: i },
|
|
14670
14659
|
steps: a
|
|
14671
14660
|
}) => {
|
|
14672
|
-
const [r, l] =
|
|
14661
|
+
const [r, l] = P(1), s = w(
|
|
14673
14662
|
(c, d) => () => {
|
|
14674
14663
|
l((p) => p + c), d?.();
|
|
14675
14664
|
},
|
|
@@ -14878,11 +14867,6 @@ const Lg = ({
|
|
|
14878
14867
|
flex-direction: column;
|
|
14879
14868
|
gap: ${e.spacing[1.25]};
|
|
14880
14869
|
padding: ${e.spacing[1.25]};
|
|
14881
|
-
|
|
14882
|
-
.fill-gradient-01 path {
|
|
14883
|
-
fill: url(/gradients.svg#gradient-01);
|
|
14884
|
-
fill: url(#gradient-01);
|
|
14885
|
-
}
|
|
14886
14870
|
`}
|
|
14887
14871
|
`, g0 = ({
|
|
14888
14872
|
children: e,
|
|
@@ -14923,13 +14907,7 @@ const Lg = ({
|
|
|
14923
14907
|
justifyContent: "center",
|
|
14924
14908
|
flexShrink: 0
|
|
14925
14909
|
},
|
|
14926
|
-
children: /* @__PURE__ */ n(
|
|
14927
|
-
"i",
|
|
14928
|
-
{
|
|
14929
|
-
className: `fa-solid fa-${a} fill-gradient-01`,
|
|
14930
|
-
style: { fontSize: "14px", width: "14px", height: "14px" }
|
|
14931
|
-
}
|
|
14932
|
-
)
|
|
14910
|
+
children: a ? /* @__PURE__ */ n(N, { icon: a, iconSize: "md", iconType: "fa-gradient" }) : void 0
|
|
14933
14911
|
}
|
|
14934
14912
|
),
|
|
14935
14913
|
t ? /* @__PURE__ */ n(ne, { fontWeight: "bold", size: o, children: t }) : void 0
|
|
@@ -15107,7 +15085,7 @@ const Lg = ({
|
|
|
15107
15085
|
}
|
|
15108
15086
|
) : /* @__PURE__ */ n(xe, { children: o });
|
|
15109
15087
|
}, gp = (e) => {
|
|
15110
|
-
const { table: t } = e, { meta: o } = t.options, [i, a] =
|
|
15088
|
+
const { table: t } = e, { meta: o } = t.options, [i, a] = P(0), [, r] = t.getHeaderGroups(), l = t.getState(), s = _(
|
|
15111
15089
|
() => t.getAllLeafColumns().filter((g) => g.id !== "selection"),
|
|
15112
15090
|
[t]
|
|
15113
15091
|
), c = _(() => s.map(
|
|
@@ -15773,7 +15751,7 @@ const Lg = ({
|
|
|
15773
15751
|
)
|
|
15774
15752
|
] });
|
|
15775
15753
|
}, vp = 10, kp = 20, Cp = 50, fo = 100, Sp = () => {
|
|
15776
|
-
const e = A(), { table: t } = we(Re), o = t?.options.meta?.hasNextPage ?? !1, i = t?.options.meta?.dataSize ?? 0, a = Number.isFinite(i) ? i : 0, r = t?.getRowCount() ?? 0, l = Number.isFinite(r) ? Math.max(0, r) : 0, s = o ? Math.max(a, fo) : l, [c, d] =
|
|
15754
|
+
const e = A(), { table: t } = we(Re), o = t?.options.meta?.hasNextPage ?? !1, i = t?.options.meta?.dataSize ?? 0, a = Number.isFinite(i) ? i : 0, r = t?.getRowCount() ?? 0, l = Number.isFinite(r) ? Math.max(0, r) : 0, s = o ? Math.max(a, fo) : l, [c, d] = P(!1), [p, g] = P(
|
|
15777
15755
|
t?.getState().pagination.pageSize ?? 10
|
|
15778
15756
|
), { refs: h, floatingStyles: f } = tn({
|
|
15779
15757
|
middleware: [wt({ mainAxis: 4 })],
|
|
@@ -16031,13 +16009,13 @@ const Lg = ({
|
|
|
16031
16009
|
children: e
|
|
16032
16010
|
}) => /* @__PURE__ */ n(Ep, { children: e }), jp = ({
|
|
16033
16011
|
children: e
|
|
16034
|
-
}) => /* @__PURE__ */ n("div", { className: "highlight-container", children: e }),
|
|
16012
|
+
}) => /* @__PURE__ */ n("div", { className: "highlight-container", children: e }), Op = 160, Pp = ({
|
|
16035
16013
|
children: e,
|
|
16036
16014
|
table: t
|
|
16037
16015
|
}) => {
|
|
16038
16016
|
const o = Z(null), i = Z(null), { id: a } = t.options.meta ?? {}, { enableMultiRowSelection: r } = t?.options ?? {}, l = Object.keys(t.getState().rowSelection).length, s = l === 1 ? "item" : "items", c = l === 0 || !r, d = Math.max(
|
|
16039
16017
|
o.current?.clientWidth ?? 0,
|
|
16040
|
-
t.getTotalSize() +
|
|
16018
|
+
t.getTotalSize() + Op
|
|
16041
16019
|
), p = w(() => {
|
|
16042
16020
|
t.resetRowSelection();
|
|
16043
16021
|
}, [t]), g = w(
|
|
@@ -16065,7 +16043,7 @@ const Lg = ({
|
|
|
16065
16043
|
children: /* @__PURE__ */ n(hp, { id: a, children: e })
|
|
16066
16044
|
}
|
|
16067
16045
|
);
|
|
16068
|
-
}, h0 = Object.assign(
|
|
16046
|
+
}, h0 = Object.assign(Pp, {
|
|
16069
16047
|
Caption: Fp,
|
|
16070
16048
|
Columns: gp,
|
|
16071
16049
|
Content: mp,
|
|
@@ -16190,7 +16168,7 @@ const Lg = ({
|
|
|
16190
16168
|
}) })
|
|
16191
16169
|
] });
|
|
16192
16170
|
}, f0 = ({ items: e }) => {
|
|
16193
|
-
const t = Z(null), [o, i] =
|
|
16171
|
+
const t = Z(null), [o, i] = P("long");
|
|
16194
16172
|
return Q(() => {
|
|
16195
16173
|
t.current && i(t.current.offsetWidth <= 1100 ? "small" : "long");
|
|
16196
16174
|
}, []), /* @__PURE__ */ n($, { ref: t, width: "100%", children: /* @__PURE__ */ n(Vp, { $size: o, children: e.map((a, r) => /* @__PURE__ */ n(
|
|
@@ -16241,7 +16219,7 @@ const Lg = ({
|
|
|
16241
16219
|
onFinish: o,
|
|
16242
16220
|
options: i
|
|
16243
16221
|
}) => {
|
|
16244
|
-
const [a, r] =
|
|
16222
|
+
const [a, r] = P(e), [l, s] = P(0), c = w(
|
|
16245
16223
|
(d) => {
|
|
16246
16224
|
const { action: p, index: g, status: h, type: f } = d;
|
|
16247
16225
|
[En.STEP_AFTER, En.TARGET_NOT_FOUND].includes(
|
|
@@ -16396,7 +16374,7 @@ const Lg = ({
|
|
|
16396
16374
|
}
|
|
16397
16375
|
) });
|
|
16398
16376
|
}, x0 = re(function({ nodes: t, defaultExpanded: o = [] }, i) {
|
|
16399
|
-
const [a, r] =
|
|
16377
|
+
const [a, r] = P(
|
|
16400
16378
|
new Set(o)
|
|
16401
16379
|
), l = w((s) => {
|
|
16402
16380
|
r((c) => {
|
|
@@ -16604,8 +16582,8 @@ export {
|
|
|
16604
16582
|
N as V,
|
|
16605
16583
|
ie as W,
|
|
16606
16584
|
kg as X,
|
|
16607
|
-
|
|
16608
|
-
|
|
16585
|
+
Og as Y,
|
|
16586
|
+
Pg as Z,
|
|
16609
16587
|
Lg as _,
|
|
16610
16588
|
Rg as a,
|
|
16611
16589
|
Bp as a$,
|
|
@@ -16702,7 +16680,7 @@ export {
|
|
|
16702
16680
|
Ke as bP,
|
|
16703
16681
|
El as bQ,
|
|
16704
16682
|
Hn as bR,
|
|
16705
|
-
|
|
16683
|
+
Ol as bS,
|
|
16706
16684
|
sn as bT,
|
|
16707
16685
|
qt as bU,
|
|
16708
16686
|
cn as bV,
|
|
@@ -16713,7 +16691,7 @@ export {
|
|
|
16713
16691
|
dn as b_,
|
|
16714
16692
|
ut as ba,
|
|
16715
16693
|
Qa as bb,
|
|
16716
|
-
|
|
16694
|
+
Pn as bc,
|
|
16717
16695
|
Zt as bd,
|
|
16718
16696
|
eg as be,
|
|
16719
16697
|
Mo as bf,
|
|
@@ -16729,7 +16707,7 @@ export {
|
|
|
16729
16707
|
Ie as bp,
|
|
16730
16708
|
Ve as bq,
|
|
16731
16709
|
Be as br,
|
|
16732
|
-
|
|
16710
|
+
Po as bs,
|
|
16733
16711
|
Te as bt,
|
|
16734
16712
|
zt as bu,
|
|
16735
16713
|
It as bv,
|
|
@@ -16759,7 +16737,7 @@ export {
|
|
|
16759
16737
|
Fp as cI,
|
|
16760
16738
|
Ap as cJ,
|
|
16761
16739
|
jp as cK,
|
|
16762
|
-
|
|
16740
|
+
Pp as cL,
|
|
16763
16741
|
oc as ca,
|
|
16764
16742
|
eo as cb,
|
|
16765
16743
|
fc as cc,
|