@fluidattacks/design 3.46.1 → 3.46.2
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/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/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/filters-modal/applied-filter/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/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/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/severity-badge/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/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-Sx6bJ8Bs.mjs → components-BCN80bjY.mjs} +143 -140
- package/dist/context/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/next/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 i, jsxs as h, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import rt, { forwardRef as ne, useState as R, useCallback as v, useEffect as U, useMemo as Y, useRef as _, StrictMode as Ki, Fragment as fe, Children as zt, isValidElement as Mn, cloneElement as Gn, createContext as _n, useContext as ye } from "react";
|
|
3
3
|
import qi, { ThemeProvider as Ji, styled as m, useTheme as j, css as Me, keyframes as Un } from "styled-components";
|
|
4
|
-
import { C as Qi, s as er, _ as
|
|
4
|
+
import { C as Qi, s as er, _ as W, A as tr, l as nr, p as ir, c as At, u as We, a as rr, b as or, d as ar, e as lr, f as X, g as ot, h as Yn, o as at, i as sr, $ as cr, j as dr, k as pr, m as gr, n as ur, q as hr, r as fr, t as yr, v as $r, w as Xn, x as Zn, y as jt, z as br, B as xr, D as mr, E as nn, F as lt, G as wr, H as vr, I as Kn, J as st, K as qn, L as kr, M as Cr, N as Sr, O as zr, P as Ir, Q, R as Tr, S as Jn, T as Dr, U as Qn, V as ei, W as Nr, X as Fr, Y as Er, Z as Lr, a0 as Ar, a1 as jr, a2 as Rt, a3 as Rr, a4 as rn, a5 as on, a6 as an, a7 as Re, a8 as Or, a9 as Vr, aa as Wr, ab as Pr, ac as Hr, ad as Br, ae as Mr, af as Gr, ag as _r, ah as Ur, ai as Yr, aj as Xr, ak as Zr, al as Kr, am as qr, an as Jr, ao as Qr, ap as eo, aq as to, ar as no, as as It, at as io, au as ti, av as ni, aw as ii, ax as ri, ay as oi, az as ro, aA as ai, aB as ln, aC as oo, aD as ao, aE as lo, aF as so, aG as co, aK as li, aL as po, aM as go, aN as uo, aO as ho, aP as fo, aQ as yo, aR as $o, aS as bo, aT as xo, aU as mo, aV as Tt, aW as wo, aX as sn, aY as vo, aZ as cn, a_ as ko } from "./vendor-Cd3-cAwa.mjs";
|
|
5
5
|
import { useQueryStates as si, parseAsString as Dt, useQueryState as Co } from "nuqs";
|
|
6
6
|
import { createPortal as Ee } from "react-dom";
|
|
7
7
|
import { Link as So, useLocation as zo, NavLink as Io } from "react-router-dom";
|
|
@@ -191,11 +191,11 @@ const me = (e) => ({
|
|
|
191
191
|
sm: "0px 1px 2px 0px rgba(16, 24, 40, 0.15)",
|
|
192
192
|
md: "0px 4px 6px 0px rgba(16, 24, 40, 0.15)",
|
|
193
193
|
lg: "0px 8px 24px 0px rgba(16, 24, 40, 0.15)"
|
|
194
|
-
},
|
|
194
|
+
}, Wo = {
|
|
195
195
|
sm: "1024px",
|
|
196
196
|
md: "1440px",
|
|
197
197
|
lg: "1920px"
|
|
198
|
-
},
|
|
198
|
+
}, Po = {
|
|
199
199
|
0: "0rem",
|
|
200
200
|
0.125: "0.125rem",
|
|
201
201
|
0.25: "0.25rem",
|
|
@@ -263,11 +263,11 @@ const me = (e) => ({
|
|
|
263
263
|
"minus",
|
|
264
264
|
"check",
|
|
265
265
|
"circle-question"
|
|
266
|
-
],
|
|
266
|
+
], P = {
|
|
267
267
|
typography: Oo,
|
|
268
268
|
shadows: Vo,
|
|
269
|
-
breakpoints:
|
|
270
|
-
spacing:
|
|
269
|
+
breakpoints: Wo,
|
|
270
|
+
spacing: Po,
|
|
271
271
|
palette: {
|
|
272
272
|
primary: No,
|
|
273
273
|
complementary: Fo,
|
|
@@ -282,20 +282,20 @@ const me = (e) => ({
|
|
|
282
282
|
}
|
|
283
283
|
}, dp = ({
|
|
284
284
|
children: e
|
|
285
|
-
}) => /* @__PURE__ */ i(Ji, { theme:
|
|
285
|
+
}) => /* @__PURE__ */ i(Ji, { theme: P, children: e }), B = (e, t) => t === void 0 ? "" : `${e}: ${t};`, ct = (e) => {
|
|
286
286
|
const t = e.py ?? e.pt ?? 0, n = e.px ?? e.pr ?? 0, r = e.py ?? e.pb ?? 0, o = e.px ?? e.pl ?? 0;
|
|
287
287
|
if (e.padding) {
|
|
288
288
|
const [a, l, s, c] = e.padding;
|
|
289
|
-
return `padding: ${
|
|
289
|
+
return `padding: ${P.spacing[a]} ${P.spacing[l]} ${P.spacing[s]} ${P.spacing[c]};`;
|
|
290
290
|
}
|
|
291
|
-
return `padding: ${
|
|
291
|
+
return `padding: ${P.spacing[t]} ${P.spacing[n]} ${P.spacing[r]} ${P.spacing[o]};`;
|
|
292
292
|
}, dt = (e) => {
|
|
293
293
|
const t = e.my ?? e.mt ?? 0, n = e.mx ?? e.mr ?? 0, r = e.my ?? e.mb ?? 0, o = e.mx ?? e.ml ?? 0;
|
|
294
294
|
if (e.margin) {
|
|
295
295
|
const [a, l, s, c] = e.margin;
|
|
296
|
-
return `margin: ${
|
|
296
|
+
return `margin: ${P.spacing[a]} ${P.spacing[l]} ${P.spacing[s]} ${P.spacing[c]};`;
|
|
297
297
|
}
|
|
298
|
-
return `margin: ${
|
|
298
|
+
return `margin: ${P.spacing[t]} ${P.spacing[n]} ${P.spacing[r]} ${P.spacing[o]};`;
|
|
299
299
|
}, pt = (e) => {
|
|
300
300
|
const t = B("position", e.position), n = B("top", e.top), r = B("right", e.right), o = B("bottom", e.bottom), a = B("left", e.left), l = B("z-index", e.zIndex);
|
|
301
301
|
return `
|
|
@@ -323,10 +323,10 @@ const me = (e) => ({
|
|
|
323
323
|
${Bo(e.scroll)}
|
|
324
324
|
` : "", n = B("visibility", e.visibility), r = B("display", e.display), o = B("height", e.height), a = B("width", e.width), l = B("max-height", e.maxHeight), s = B("max-width", e.maxWidth), c = B("min-height", e.minHeight), p = B("min-width", e.minWidth), d = B(
|
|
325
325
|
"box-shadow",
|
|
326
|
-
e.shadow ?
|
|
326
|
+
e.shadow ? P.shadows[e.shadow] : void 0
|
|
327
327
|
), g = B(
|
|
328
328
|
"gap",
|
|
329
|
-
e.gap === void 0 ? void 0 :
|
|
329
|
+
e.gap === void 0 ? void 0 : P.spacing[e.gap]
|
|
330
330
|
), u = B("background-color", e.bgColor), f = B("background", e.bgGradient), $ = B("flex-direction", e.flexDirection), y = B("flex-grow", e.flexGrow), b = B("justify-content", e.justify), w = B("justify-self", e.justifySelf), k = B("align-items", e.alignItems), S = B("align-self", e.alignSelf), C = B("flex-wrap", e.wrap);
|
|
331
331
|
return `
|
|
332
332
|
${t}
|
|
@@ -369,7 +369,7 @@ const me = (e) => ({
|
|
|
369
369
|
}, ft = (e) => {
|
|
370
370
|
const t = B("cursor", e.cursor), n = B("border-color", e.borderColorHover), r = B("background-color", e.bgColorHover), o = B(
|
|
371
371
|
"box-shadow",
|
|
372
|
-
e.shadowHover === void 0 ? void 0 :
|
|
372
|
+
e.shadowHover === void 0 ? void 0 : P.shadows[e.shadowHover]
|
|
373
373
|
), a = B("transition", e.transition);
|
|
374
374
|
return `
|
|
375
375
|
${t}
|
|
@@ -1127,7 +1127,7 @@ const A = ne(function({
|
|
|
1127
1127
|
hasChanged: d
|
|
1128
1128
|
};
|
|
1129
1129
|
}, hi = (e, t) => Y(
|
|
1130
|
-
() =>
|
|
1130
|
+
() => W.debounce(e, t),
|
|
1131
1131
|
[e, t]
|
|
1132
1132
|
), oa = (e, t) => {
|
|
1133
1133
|
const [n, r] = R(() => {
|
|
@@ -1397,29 +1397,29 @@ const A = ne(function({
|
|
|
1397
1397
|
] });
|
|
1398
1398
|
}, ha = {
|
|
1399
1399
|
critical: {
|
|
1400
|
-
bgColor:
|
|
1401
|
-
colorL:
|
|
1402
|
-
colorR:
|
|
1400
|
+
bgColor: P.palette.primary[700],
|
|
1401
|
+
colorL: P.palette.gray[800],
|
|
1402
|
+
colorR: P.palette.white
|
|
1403
1403
|
},
|
|
1404
1404
|
disable: {
|
|
1405
|
-
bgColor:
|
|
1406
|
-
colorL:
|
|
1407
|
-
colorR:
|
|
1405
|
+
bgColor: P.palette.gray[200],
|
|
1406
|
+
colorL: P.palette.gray[400],
|
|
1407
|
+
colorR: P.palette.gray[400]
|
|
1408
1408
|
},
|
|
1409
1409
|
high: {
|
|
1410
|
-
bgColor:
|
|
1411
|
-
colorL:
|
|
1412
|
-
colorR:
|
|
1410
|
+
bgColor: P.palette.error[500],
|
|
1411
|
+
colorL: P.palette.gray[800],
|
|
1412
|
+
colorR: P.palette.white
|
|
1413
1413
|
},
|
|
1414
1414
|
low: {
|
|
1415
|
-
bgColor:
|
|
1416
|
-
colorL:
|
|
1417
|
-
colorR:
|
|
1415
|
+
bgColor: P.palette.warning[200],
|
|
1416
|
+
colorL: P.palette.gray[800],
|
|
1417
|
+
colorR: P.palette.gray[800]
|
|
1418
1418
|
},
|
|
1419
1419
|
medium: {
|
|
1420
|
-
bgColor:
|
|
1421
|
-
colorL:
|
|
1422
|
-
colorR:
|
|
1420
|
+
bgColor: P.palette.warning[500],
|
|
1421
|
+
colorL: P.palette.gray[800],
|
|
1422
|
+
colorR: P.palette.gray[800]
|
|
1423
1423
|
}
|
|
1424
1424
|
}, Ot = ({
|
|
1425
1425
|
textL: e,
|
|
@@ -1904,7 +1904,7 @@ const A = ne(function({
|
|
|
1904
1904
|
hide: f = g === "" && u === "" && p === void 0,
|
|
1905
1905
|
width: $
|
|
1906
1906
|
}) => {
|
|
1907
|
-
const y = j(), [b, w] = R(!1), { refs: k, floatingStyles: S, context: C, placement: I } =
|
|
1907
|
+
const y = j(), [b, w] = R(!1), { refs: k, floatingStyles: S, context: C, placement: I } = We({
|
|
1908
1908
|
middleware: [
|
|
1909
1909
|
Yn({
|
|
1910
1910
|
fallbackAxisSideDirection: "start"
|
|
@@ -2384,7 +2384,7 @@ const A = ne(function({
|
|
|
2384
2384
|
}
|
|
2385
2385
|
`
|
|
2386
2386
|
})
|
|
2387
|
-
),
|
|
2387
|
+
), Wt = Me`
|
|
2388
2388
|
${({ theme: e, $color: t, $variant: n, $wrap: r }) => `
|
|
2389
2389
|
align-items: center;
|
|
2390
2390
|
cursor: pointer;
|
|
@@ -2414,9 +2414,9 @@ const A = ne(function({
|
|
|
2414
2414
|
${t ? `color: ${t}` : Na(e, n)}
|
|
2415
2415
|
`}
|
|
2416
2416
|
`, Fa = m.a`
|
|
2417
|
-
${
|
|
2417
|
+
${Wt}
|
|
2418
2418
|
`, Ea = m(So)`
|
|
2419
|
-
${
|
|
2419
|
+
${Wt}
|
|
2420
2420
|
`, Te = ({
|
|
2421
2421
|
children: e,
|
|
2422
2422
|
color: t,
|
|
@@ -2701,7 +2701,7 @@ const A = ne(function({
|
|
|
2701
2701
|
]
|
|
2702
2702
|
}
|
|
2703
2703
|
) });
|
|
2704
|
-
}),
|
|
2704
|
+
}), Pt = ({
|
|
2705
2705
|
authorEmail: e,
|
|
2706
2706
|
date: t,
|
|
2707
2707
|
description: n,
|
|
@@ -2806,10 +2806,10 @@ const A = ne(function({
|
|
|
2806
2806
|
${({ $opacity: e = 0 }) => `background-color: rgba(0, 0, 0, ${e});`}
|
|
2807
2807
|
}
|
|
2808
2808
|
`, La = (e) => {
|
|
2809
|
-
if (
|
|
2809
|
+
if (W.isNil(e)) return "";
|
|
2810
2810
|
const t = e.split(".");
|
|
2811
|
-
return (t.length > 1 ?
|
|
2812
|
-
}, Aa = (e, t) =>
|
|
2811
|
+
return (t.length > 1 ? W.last(t) : "").toLowerCase();
|
|
2812
|
+
}, Aa = (e, t) => W.isUndefined(t) ? !1 : W.includes(e, La(t)), ja = ({
|
|
2813
2813
|
alt: e,
|
|
2814
2814
|
fileType: t,
|
|
2815
2815
|
width: n = "100%",
|
|
@@ -2890,7 +2890,7 @@ const A = ne(function({
|
|
|
2890
2890
|
}
|
|
2891
2891
|
),
|
|
2892
2892
|
p ? null : /* @__PURE__ */ i(
|
|
2893
|
-
|
|
2893
|
+
Pt,
|
|
2894
2894
|
{
|
|
2895
2895
|
authorEmail: t,
|
|
2896
2896
|
date: n,
|
|
@@ -3272,7 +3272,7 @@ const A = ne(function({
|
|
|
3272
3272
|
}
|
|
3273
3273
|
) : void 0
|
|
3274
3274
|
] });
|
|
3275
|
-
},
|
|
3275
|
+
}, Pe = ({
|
|
3276
3276
|
className: e,
|
|
3277
3277
|
children: t,
|
|
3278
3278
|
isFilter: n = !1,
|
|
@@ -3340,7 +3340,7 @@ const A = ne(function({
|
|
|
3340
3340
|
border-bottom: ${t ? `1px solid ${e.palette.gray[200]}` : "unset"};
|
|
3341
3341
|
}
|
|
3342
3342
|
`}
|
|
3343
|
-
`,
|
|
3343
|
+
`, Wa = m.li`
|
|
3344
3344
|
${({ theme: e, $multiSelection: t }) => `
|
|
3345
3345
|
align-items: center;
|
|
3346
3346
|
color: ${e.palette.gray[800]};
|
|
@@ -3383,7 +3383,7 @@ const A = ne(function({
|
|
|
3383
3383
|
}
|
|
3384
3384
|
}
|
|
3385
3385
|
`}
|
|
3386
|
-
`,
|
|
3386
|
+
`, Pa = m.li`
|
|
3387
3387
|
${({ theme: e }) => `
|
|
3388
3388
|
align-items: center;
|
|
3389
3389
|
color: ${e.palette.gray[400]};
|
|
@@ -3612,7 +3612,7 @@ const A = ne(function({
|
|
|
3612
3612
|
!0,
|
|
3613
3613
|
[document.getElementById("combobox")]
|
|
3614
3614
|
), /* @__PURE__ */ h(
|
|
3615
|
-
|
|
3615
|
+
Wa,
|
|
3616
3616
|
{
|
|
3617
3617
|
...!t && !d ? f : {},
|
|
3618
3618
|
$multiSelection: t,
|
|
@@ -3655,7 +3655,7 @@ const A = ne(function({
|
|
|
3655
3655
|
var Qt, en;
|
|
3656
3656
|
const D = j(), T = t ? void 0 : r, E = (e == null ? void 0 : e.value) ?? z, [V, H] = R(
|
|
3657
3657
|
((Qt = g.find((G) => G.value === E)) == null ? void 0 : Qt.name) ?? ""
|
|
3658
|
-
), [O, M] = R(E), [K, te] = R(g), [ve, q] = R(!1), { contains: J } = ur({ sensitivity: "base" }), ue = _(null), ke = _(null), Le = _(null), Ae = _(null), _e = _(null),
|
|
3658
|
+
), [O, M] = R(E), [K, te] = R(g), [ve, q] = R(!1), { contains: J } = ur({ sensitivity: "base" }), ue = _(null), ke = _(null), Le = _(null), Ae = _(null), _e = _(null), Pi = Y(() => g.toSorted((G, ae) => {
|
|
3659
3659
|
const se = Array.from(n ?? []), je = se.includes(G.value), tn = se.includes(ae.value);
|
|
3660
3660
|
return je && !tn ? 1 : !je && tn ? -1 : 0;
|
|
3661
3661
|
}).map(
|
|
@@ -3719,7 +3719,7 @@ const A = ne(function({
|
|
|
3719
3719
|
}, 50);
|
|
3720
3720
|
},
|
|
3721
3721
|
onSelectionChange: d ? void 0 : Bi,
|
|
3722
|
-
children:
|
|
3722
|
+
children: Pi
|
|
3723
3723
|
}), _i = v(() => {
|
|
3724
3724
|
H(""), M(null), te(g), re.setSelectedKey(null), re.setInputValue(""), f && f(""), $ == null || $();
|
|
3725
3725
|
}, [g, $, re, f]), {
|
|
@@ -3854,7 +3854,7 @@ const A = ne(function({
|
|
|
3854
3854
|
}
|
|
3855
3855
|
),
|
|
3856
3856
|
re.isOpen && re.collection.size > 0 && !t ? /* @__PURE__ */ i(
|
|
3857
|
-
|
|
3857
|
+
Pe,
|
|
3858
3858
|
{
|
|
3859
3859
|
className: "dropdown",
|
|
3860
3860
|
offset: 4,
|
|
@@ -3912,7 +3912,7 @@ const A = ne(function({
|
|
|
3912
3912
|
)
|
|
3913
3913
|
}
|
|
3914
3914
|
) : g.length > 0 || !re.isOpen || t || !w ? null : /* @__PURE__ */ i(
|
|
3915
|
-
|
|
3915
|
+
Pe,
|
|
3916
3916
|
{
|
|
3917
3917
|
className: "dropdown",
|
|
3918
3918
|
offset: 4,
|
|
@@ -3927,7 +3927,7 @@ const A = ne(function({
|
|
|
3927
3927
|
$multiSelection: !1,
|
|
3928
3928
|
$width: Kt,
|
|
3929
3929
|
ref: Le,
|
|
3930
|
-
children: /* @__PURE__ */ i(
|
|
3930
|
+
children: /* @__PURE__ */ i(Pa, { children: /* @__PURE__ */ i(
|
|
3931
3931
|
N,
|
|
3932
3932
|
{
|
|
3933
3933
|
color: D.palette.gray[400],
|
|
@@ -4321,7 +4321,7 @@ const A = ne(function({
|
|
|
4321
4321
|
A,
|
|
4322
4322
|
{
|
|
4323
4323
|
icon: t,
|
|
4324
|
-
iconColor:
|
|
4324
|
+
iconColor: P.palette.gray[e ? 400 : 700],
|
|
4325
4325
|
iconSize: "lg",
|
|
4326
4326
|
iconType: "fa-light"
|
|
4327
4327
|
}
|
|
@@ -4501,12 +4501,12 @@ const A = ne(function({
|
|
|
4501
4501
|
] });
|
|
4502
4502
|
}, Qe = (e) => e && e !== "-" ? Q(e).format("YYYY-MM-DD") : "-", rl = (e) => e && e !== "-" ? Q(e).format("YYYY-MM-DD hh:mm A") : "-", mn = (e, t) => Q(String(e).replace(/-/gu, "/")).hour(t.hour).minute(t.minute).second(t.second).format("YYYY/MM/DD hh:mm A"), et = (e, t = "day") => {
|
|
4503
4503
|
const n = t === "day" ? Tr : Jn, r = t === "day" ? Q(e).isValid() : Q(e, "YYYY/MM/DD hh:mm A").isValid();
|
|
4504
|
-
return !
|
|
4504
|
+
return !W.isNil(e) && !W.isEmpty(e) && e !== "-" && r ? n(
|
|
4505
4505
|
t === "day" ? e.trim().replace(/\//gu, "-") : Q(e).format("YYYY-MM-DDTHH:mm:ss")
|
|
4506
4506
|
) : null;
|
|
4507
4507
|
}, ol = (e, t) => {
|
|
4508
|
-
const n = !
|
|
4509
|
-
return n ?
|
|
4508
|
+
const n = !W.isNil(e) && /\d+/u.test(e ?? ""), r = W.isNil(t) ? void 0 : W.toNumber(t);
|
|
4509
|
+
return n ? W.toNumber(e) : r;
|
|
4510
4510
|
}, tt = ({
|
|
4511
4511
|
error: e,
|
|
4512
4512
|
buttonProps: t,
|
|
@@ -4651,7 +4651,7 @@ const A = ne(function({
|
|
|
4651
4651
|
}
|
|
4652
4652
|
),
|
|
4653
4653
|
w.isOpen && !e ? /* @__PURE__ */ i(
|
|
4654
|
-
|
|
4654
|
+
Pe,
|
|
4655
4655
|
{
|
|
4656
4656
|
offset: 8,
|
|
4657
4657
|
placement: "bottom start",
|
|
@@ -4806,7 +4806,7 @@ const A = ne(function({
|
|
|
4806
4806
|
}
|
|
4807
4807
|
),
|
|
4808
4808
|
S.isOpen && !e ? /* @__PURE__ */ i(
|
|
4809
|
-
|
|
4809
|
+
Pe,
|
|
4810
4810
|
{
|
|
4811
4811
|
offset: 8,
|
|
4812
4812
|
placement: "bottom start",
|
|
@@ -4883,7 +4883,7 @@ const A = ne(function({
|
|
|
4883
4883
|
isDisabled: t,
|
|
4884
4884
|
isRequired: r,
|
|
4885
4885
|
shouldCloseOnSelect: !1,
|
|
4886
|
-
value:
|
|
4886
|
+
value: W.isNil(d) || W.isEmpty(d) || d === "-" || Q(d, "YYYY/MM/DD hh:mm A").isValid() === !1 ? null : Jn(
|
|
4887
4887
|
Q(d, "YYYY/MM/DD hh:mm A").format("YYYY-MM-DDTHH:mm:ss")
|
|
4888
4888
|
)
|
|
4889
4889
|
}), { close: f } = u, { groupProps: $, fieldProps: y, buttonProps: b, dialogProps: w, calendarProps: k } = ei(e, u, g), S = v(
|
|
@@ -4937,7 +4937,7 @@ const A = ne(function({
|
|
|
4937
4937
|
}
|
|
4938
4938
|
),
|
|
4939
4939
|
u.isOpen && !t ? /* @__PURE__ */ i(
|
|
4940
|
-
|
|
4940
|
+
Pe,
|
|
4941
4941
|
{
|
|
4942
4942
|
offset: 8,
|
|
4943
4943
|
placement: "bottom start",
|
|
@@ -6257,8 +6257,8 @@ const A = ne(function({
|
|
|
6257
6257
|
c && c(K);
|
|
6258
6258
|
}, [z, C, a, l, f, s, c]), T = v(
|
|
6259
6259
|
(H) => {
|
|
6260
|
-
const { value: O } = H.target, M = /\d+/u.test(O) && !
|
|
6261
|
-
f && f(s, M ? O : void 0), c && c(H), F(
|
|
6260
|
+
const { value: O } = H.target, M = /\d+/u.test(O) && !W.isEmpty(O);
|
|
6261
|
+
f && f(s, M ? O : void 0), c && c(H), F(W.isEmpty(O) ? void 0 : Number(O));
|
|
6262
6262
|
},
|
|
6263
6263
|
[s, c, f]
|
|
6264
6264
|
), E = v(
|
|
@@ -6974,7 +6974,7 @@ const A = ne(function({
|
|
|
6974
6974
|
$minWidth: p,
|
|
6975
6975
|
children: [
|
|
6976
6976
|
/* @__PURE__ */ i(
|
|
6977
|
-
|
|
6977
|
+
Pt,
|
|
6978
6978
|
{
|
|
6979
6979
|
description: t,
|
|
6980
6980
|
id: r,
|
|
@@ -7061,13 +7061,13 @@ const A = ne(function({
|
|
|
7061
7061
|
]
|
|
7062
7062
|
}
|
|
7063
7063
|
);
|
|
7064
|
-
},
|
|
7064
|
+
}, Wl = m.div`
|
|
7065
7065
|
display: flex;
|
|
7066
7066
|
align-self: flex-start;
|
|
7067
7067
|
margin-left: auto;
|
|
7068
7068
|
width: 40px;
|
|
7069
7069
|
height: auto;
|
|
7070
|
-
`,
|
|
7070
|
+
`, Pl = m.label`
|
|
7071
7071
|
${({ theme: e }) => `
|
|
7072
7072
|
align-items: center;
|
|
7073
7073
|
display: flex;
|
|
@@ -7157,7 +7157,7 @@ const A = ne(function({
|
|
|
7157
7157
|
...c
|
|
7158
7158
|
}, p) {
|
|
7159
7159
|
return /* @__PURE__ */ h(
|
|
7160
|
-
|
|
7160
|
+
Pl,
|
|
7161
7161
|
{
|
|
7162
7162
|
"aria-disabled": n,
|
|
7163
7163
|
"aria-label": r ?? o,
|
|
@@ -7260,7 +7260,7 @@ const A = ne(function({
|
|
|
7260
7260
|
}
|
|
7261
7261
|
)
|
|
7262
7262
|
] }),
|
|
7263
|
-
p && /* @__PURE__ */ i(
|
|
7263
|
+
p && /* @__PURE__ */ i(Wl, { children: /* @__PURE__ */ i(
|
|
7264
7264
|
xe,
|
|
7265
7265
|
{
|
|
7266
7266
|
alt: e ?? "tag image",
|
|
@@ -7559,7 +7559,7 @@ const A = ne(function({
|
|
|
7559
7559
|
minWidth: r,
|
|
7560
7560
|
padding: [1.25, 1.25, 1.25, 1.25],
|
|
7561
7561
|
children: [
|
|
7562
|
-
/* @__PURE__ */ i(
|
|
7562
|
+
/* @__PURE__ */ i(Pt, { id: e, title: t }),
|
|
7563
7563
|
/* @__PURE__ */ i(
|
|
7564
7564
|
x,
|
|
7565
7565
|
{
|
|
@@ -7735,8 +7735,8 @@ const A = ne(function({
|
|
|
7735
7735
|
[
|
|
7736
7736
|
["bash", Or],
|
|
7737
7737
|
["csharp", Vr],
|
|
7738
|
-
["dart",
|
|
7739
|
-
["docker",
|
|
7738
|
+
["dart", Wr],
|
|
7739
|
+
["docker", Pr],
|
|
7740
7740
|
["go", Hr],
|
|
7741
7741
|
["hcl", Br],
|
|
7742
7742
|
["java", Mr],
|
|
@@ -7773,7 +7773,8 @@ const zn = Object.fromEntries(
|
|
|
7773
7773
|
lineHeight: e.spacing[1.25],
|
|
7774
7774
|
margin: 0,
|
|
7775
7775
|
overflowX: "auto",
|
|
7776
|
-
padding: e.spacing[0.5]
|
|
7776
|
+
padding: e.spacing[0.5],
|
|
7777
|
+
width: "100%"
|
|
7777
7778
|
}), Op = ({
|
|
7778
7779
|
expanded: e = !1,
|
|
7779
7780
|
language: t = "none",
|
|
@@ -7786,7 +7787,7 @@ const zn = Object.fromEntries(
|
|
|
7786
7787
|
}) => {
|
|
7787
7788
|
const c = j(), [p, d] = R(!1);
|
|
7788
7789
|
U(() => d(!1), [a]);
|
|
7789
|
-
const g = s === "location", u = !
|
|
7790
|
+
const g = s === "location", u = !W.isNil(a) && !W.isString(a) && !W.isEmpty(a.content), f = u ? a.content : null, $ = u ? a.offset : 0, y = l !== void 0 ? Number(l) : null, b = W.isString(a) && !W.isEmpty(a), w = Y(
|
|
7790
7791
|
() => b ? a.split(`
|
|
7791
7792
|
`) : [],
|
|
7792
7793
|
[b, a]
|
|
@@ -7795,6 +7796,8 @@ const zn = Object.fromEntries(
|
|
|
7795
7796
|
(L) => ({
|
|
7796
7797
|
style: {
|
|
7797
7798
|
display: "block",
|
|
7799
|
+
width: "100%",
|
|
7800
|
+
minWidth: "max-content",
|
|
7798
7801
|
backgroundColor: y === L ? "hsl(354deg 100% 85% / 40%)" : void 0,
|
|
7799
7802
|
borderRadius: y === L ? c.spacing[0.25] : void 0
|
|
7800
7803
|
}
|
|
@@ -8347,7 +8350,7 @@ const zn = Object.fromEntries(
|
|
|
8347
8350
|
}
|
|
8348
8351
|
);
|
|
8349
8352
|
}, Be = ne(function({
|
|
8350
|
-
color: t =
|
|
8353
|
+
color: t = P.palette.gray[100],
|
|
8351
8354
|
mt: n = 0.5,
|
|
8352
8355
|
mb: r = 0.5,
|
|
8353
8356
|
width: o,
|
|
@@ -9545,21 +9548,21 @@ function Is(e) {
|
|
|
9545
9548
|
return r.length > a || l > a ? `${n(r, a)} +${o} more` : `${t[0]}, ${t[1]}`;
|
|
9546
9549
|
}
|
|
9547
9550
|
function Ts(e, t, n) {
|
|
9548
|
-
const r = n ?? "", o =
|
|
9549
|
-
if (!
|
|
9551
|
+
const r = n ?? "", o = W.isEmpty(e) && typeof e != "number" || Number.isNaN(e) ? void 0 : Number(e), a = W.isEmpty(t) && typeof t != "number" || Number.isNaN(t) ? void 0 : Number(String(t));
|
|
9552
|
+
if (!W.isUndefined(o) && !W.isUndefined(a))
|
|
9550
9553
|
return `${o}${r} - ${a}${r}`;
|
|
9551
|
-
if (!
|
|
9554
|
+
if (!W.isUndefined(o))
|
|
9552
9555
|
return `Min ${o}${r}`;
|
|
9553
|
-
if (!
|
|
9556
|
+
if (!W.isUndefined(a))
|
|
9554
9557
|
return `Max ${a}${r}`;
|
|
9555
9558
|
}
|
|
9556
9559
|
function Ds(e, t) {
|
|
9557
|
-
if (ri.extend(oi), !(
|
|
9558
|
-
if (e !== "" && t !== "" && !
|
|
9560
|
+
if (ri.extend(oi), !(W.isUndefined(e) && W.isUndefined(t))) {
|
|
9561
|
+
if (e !== "" && t !== "" && !W.isUndefined(e) && !W.isUndefined(t))
|
|
9559
9562
|
return `${Q(e).format("LL")} - ${Q(t).format("LL")}`;
|
|
9560
|
-
if (e !== "" && !
|
|
9563
|
+
if (e !== "" && !W.isUndefined(e))
|
|
9561
9564
|
return `From ${Q(e).format("LL")}`;
|
|
9562
|
-
if (t !== "" && !
|
|
9565
|
+
if (t !== "" && !W.isUndefined(t))
|
|
9563
9566
|
return `To ${Q(t).format("LL")}`;
|
|
9564
9567
|
}
|
|
9565
9568
|
}
|
|
@@ -9573,7 +9576,7 @@ const Xe = ({
|
|
|
9573
9576
|
onClose: r,
|
|
9574
9577
|
filterValue: o
|
|
9575
9578
|
}) => {
|
|
9576
|
-
if (
|
|
9579
|
+
if (W.isNil(o) || W.isEmpty(String(o)))
|
|
9577
9580
|
return null;
|
|
9578
9581
|
const a = e.type === "checkboxes" ? (e.options ?? []).filter((c) => c.checked).map((c) => c.label ?? c.value) : [], {
|
|
9579
9582
|
tooltipContent: l,
|
|
@@ -9714,7 +9717,7 @@ const Xe = ({
|
|
|
9714
9717
|
).filter((r) => {
|
|
9715
9718
|
if (r === null) return !1;
|
|
9716
9719
|
const { filterValue: o } = r.props;
|
|
9717
|
-
return !
|
|
9720
|
+
return !W.isNil(o) && !W.isEmpty(String(o));
|
|
9718
9721
|
});
|
|
9719
9722
|
return n.length > 0 ? /* @__PURE__ */ i(
|
|
9720
9723
|
x,
|
|
@@ -9775,7 +9778,7 @@ const Xe = ({
|
|
|
9775
9778
|
}
|
|
9776
9779
|
}, As = (e, t) => {
|
|
9777
9780
|
function n(l, s) {
|
|
9778
|
-
if (s.value === "" || s.value === void 0 ||
|
|
9781
|
+
if (s.value === "" || s.value === void 0 || W.defaultTo(s.isBackFilter, !1))
|
|
9779
9782
|
return !0;
|
|
9780
9783
|
switch (s.filterFn) {
|
|
9781
9784
|
case "includesInsensitive":
|
|
@@ -9792,8 +9795,8 @@ const Xe = ({
|
|
|
9792
9795
|
return c.length === 0 ? !0 : c.includes(String(l[s.key]));
|
|
9793
9796
|
}
|
|
9794
9797
|
function o(l, s, c) {
|
|
9795
|
-
const p = c(String(l[s.key])), { minValue: d, maxValue: g } = s, u =
|
|
9796
|
-
return
|
|
9798
|
+
const p = c(String(l[s.key])), { minValue: d, maxValue: g } = s, u = W.isEmpty(d) && typeof d != "number" ? void 0 : c(String(d)), f = W.isEmpty(g) && typeof g != "number" ? void 0 : c(String(g));
|
|
9799
|
+
return W.isUndefined(u) && W.isUndefined(f) ? !0 : (u ?? -1 / 0) <= p && p <= (f ?? 1 / 0);
|
|
9797
9800
|
}
|
|
9798
9801
|
function a(l) {
|
|
9799
9802
|
return t.every((s) => {
|
|
@@ -9839,7 +9842,7 @@ const Xe = ({
|
|
|
9839
9842
|
value: void 0,
|
|
9840
9843
|
options: t
|
|
9841
9844
|
};
|
|
9842
|
-
},
|
|
9845
|
+
}, Wp = ({
|
|
9843
9846
|
dataset: e,
|
|
9844
9847
|
setValues: t,
|
|
9845
9848
|
getValues: n,
|
|
@@ -9962,7 +9965,7 @@ const Xe = ({
|
|
|
9962
9965
|
ref: S ? w : void 0,
|
|
9963
9966
|
style: S && y ? { height: y } : void 0,
|
|
9964
9967
|
children: [
|
|
9965
|
-
!
|
|
9968
|
+
!W.isEmpty(g) && !W.isNil(g) && /* @__PURE__ */ i(
|
|
9966
9969
|
rs,
|
|
9967
9970
|
{
|
|
9968
9971
|
description: l,
|
|
@@ -9982,14 +9985,14 @@ const Xe = ({
|
|
|
9982
9985
|
children: /* @__PURE__ */ i(Di, { items: d })
|
|
9983
9986
|
}
|
|
9984
9987
|
),
|
|
9985
|
-
(
|
|
9988
|
+
(W.isObject(a) || r) && /* @__PURE__ */ h(
|
|
9986
9989
|
Jl,
|
|
9987
9990
|
{
|
|
9988
9991
|
style: C ? { borderBottom: `1px solid ${$.palette.gray[200]}` } : void 0,
|
|
9989
9992
|
children: [
|
|
9990
9993
|
r,
|
|
9991
|
-
|
|
9992
|
-
|
|
9994
|
+
W.isObject(a) && W.isString(a.imageSrc) && /* @__PURE__ */ i(ns, { $framed: a.imageFramed, children: /* @__PURE__ */ i(xe, { alt: "modal-img", publicId: a.imageSrc }) }),
|
|
9995
|
+
W.isObject(a) && W.isString(a.imageText) && /* @__PURE__ */ i(N, { size: "md", children: a.imageText })
|
|
9993
9996
|
]
|
|
9994
9997
|
}
|
|
9995
9998
|
),
|
|
@@ -10011,7 +10014,7 @@ const Xe = ({
|
|
|
10011
10014
|
I,
|
|
10012
10015
|
document.getElementById("portals") ?? document.body
|
|
10013
10016
|
) : s.isOpen ? I : null;
|
|
10014
|
-
},
|
|
10017
|
+
}, Pp = (e, t, n) => {
|
|
10015
10018
|
const r = Ge("confirm-dialog-modal"), o = _(null), a = v(async () => (r.open(), new Promise((p) => {
|
|
10016
10019
|
o.current = p;
|
|
10017
10020
|
})), [r]), l = v(() => {
|
|
@@ -10145,7 +10148,7 @@ const Xe = ({
|
|
|
10145
10148
|
width: 166px;
|
|
10146
10149
|
z-index: 9999;
|
|
10147
10150
|
`}
|
|
10148
|
-
`,
|
|
10151
|
+
`, Ws = m.li`
|
|
10149
10152
|
${({ theme: e }) => `
|
|
10150
10153
|
align-items: center;
|
|
10151
10154
|
background: ${e.palette.white}
|
|
@@ -10179,7 +10182,7 @@ const Xe = ({
|
|
|
10179
10182
|
options: o,
|
|
10180
10183
|
title: a
|
|
10181
10184
|
}) => {
|
|
10182
|
-
const l = j(), [s, c] = R(!1), p = s ? "chevron-up" : "chevron-down", { refs: d, floatingStyles: g } =
|
|
10185
|
+
const l = j(), [s, c] = R(!1), p = s ? "chevron-up" : "chevron-down", { refs: d, floatingStyles: g } = We({
|
|
10183
10186
|
middleware: [at({ mainAxis: 4 })],
|
|
10184
10187
|
placement: "bottom-start"
|
|
10185
10188
|
}), u = v(() => {
|
|
@@ -10213,7 +10216,7 @@ const Xe = ({
|
|
|
10213
10216
|
f.onClick(), c(!1);
|
|
10214
10217
|
};
|
|
10215
10218
|
return /* @__PURE__ */ h(
|
|
10216
|
-
|
|
10219
|
+
Ws,
|
|
10217
10220
|
{
|
|
10218
10221
|
"aria-disabled": f.disabled,
|
|
10219
10222
|
"aria-label": f.label,
|
|
@@ -10235,7 +10238,7 @@ const Xe = ({
|
|
|
10235
10238
|
);
|
|
10236
10239
|
}) }) : void 0
|
|
10237
10240
|
] });
|
|
10238
|
-
}, En = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(Z, { onClick: e.onClick, variant: t, children: e.text }),
|
|
10241
|
+
}, En = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(Z, { onClick: e.onClick, variant: t, children: e.text }), Ps = m.div`
|
|
10239
10242
|
display: flex;
|
|
10240
10243
|
flex-direction: column;
|
|
10241
10244
|
align-items: center;
|
|
@@ -10282,7 +10285,7 @@ const Xe = ({
|
|
|
10282
10285
|
size: l = "md"
|
|
10283
10286
|
}) => {
|
|
10284
10287
|
const s = (t ?? e) !== void 0;
|
|
10285
|
-
return /* @__PURE__ */ h(
|
|
10288
|
+
return /* @__PURE__ */ h(Ps, { $padding: o, children: [
|
|
10286
10289
|
/* @__PURE__ */ i(Hs, { children: /* @__PURE__ */ i(xe, { alt: "empty-icon", publicId: r }) }),
|
|
10287
10290
|
/* @__PURE__ */ i(
|
|
10288
10291
|
ie,
|
|
@@ -10463,7 +10466,7 @@ const Xe = ({
|
|
|
10463
10466
|
}
|
|
10464
10467
|
`}
|
|
10465
10468
|
`, Lt = m.button`
|
|
10466
|
-
${
|
|
10469
|
+
${Wt}
|
|
10467
10470
|
min-width: fit-content;
|
|
10468
10471
|
`, Xs = m.div`
|
|
10469
10472
|
${({ theme: e }) => `
|
|
@@ -10799,7 +10802,7 @@ const Xe = ({
|
|
|
10799
10802
|
/* @__PURE__ */ i(
|
|
10800
10803
|
Fe,
|
|
10801
10804
|
{
|
|
10802
|
-
color:
|
|
10805
|
+
color: P.palette.gray[800],
|
|
10803
10806
|
display: "block",
|
|
10804
10807
|
overflow: "hidden",
|
|
10805
10808
|
size: "md",
|
|
@@ -11151,7 +11154,7 @@ const Xe = ({
|
|
|
11151
11154
|
onOutsideClick: p
|
|
11152
11155
|
}) => {
|
|
11153
11156
|
var M;
|
|
11154
|
-
const d = Ge("filters"), { calendarState: g } = nc(), { searchState: u, updateSearch: f } = ec(!1), { scrollState: $, updateScrollHeight: y } = tc(), [b, w] = R(""), { refs: k } =
|
|
11157
|
+
const d = Ge("filters"), { calendarState: g } = nc(), { searchState: u, updateSearch: f } = ec(!1), { scrollState: $, updateScrollHeight: y } = tc(), [b, w] = R(""), { refs: k } = We({ placement: "bottom-start" }), { refs: S } = We({
|
|
11155
11158
|
elements: { reference: k.reference.current },
|
|
11156
11159
|
placement: "right-end"
|
|
11157
11160
|
}), { activeFilters: C, values: I, setValues: z } = r, { previousValue: F } = u, { label: L, options: D } = qs(t, b, F), T = Ks(t), E = oo(l) || l === null || b !== l, V = v(
|
|
@@ -12080,11 +12083,11 @@ const Xe = ({
|
|
|
12080
12083
|
padding: 0;
|
|
12081
12084
|
|
|
12082
12085
|
&:hover p {
|
|
12083
|
-
color: ${
|
|
12086
|
+
color: ${P.palette.primary[200]};
|
|
12084
12087
|
}
|
|
12085
12088
|
|
|
12086
12089
|
&:hover span {
|
|
12087
|
-
color: ${
|
|
12090
|
+
color: ${P.palette.primary[200]};
|
|
12088
12091
|
}
|
|
12089
12092
|
`, r0 = ({
|
|
12090
12093
|
message: e,
|
|
@@ -12460,7 +12463,7 @@ const Xe = ({
|
|
|
12460
12463
|
pageSize: e,
|
|
12461
12464
|
setPageSize: t
|
|
12462
12465
|
}) => {
|
|
12463
|
-
const n = j(), [r, o] = R(!1), { refs: a, floatingStyles: l } =
|
|
12466
|
+
const n = j(), [r, o] = R(!1), { refs: a, floatingStyles: l } = We({
|
|
12464
12467
|
middleware: [Yn(), at({ mainAxis: 4 })],
|
|
12465
12468
|
placement: "top-end",
|
|
12466
12469
|
whileElementsMounted: ot
|
|
@@ -12737,7 +12740,7 @@ const Xe = ({
|
|
|
12737
12740
|
font-size: ${e.spacing[0.5]};
|
|
12738
12741
|
}
|
|
12739
12742
|
`}
|
|
12740
|
-
`,
|
|
12743
|
+
`, Wc = ({
|
|
12741
12744
|
margin: e,
|
|
12742
12745
|
onClick: t,
|
|
12743
12746
|
text: n
|
|
@@ -12780,7 +12783,7 @@ const Xe = ({
|
|
|
12780
12783
|
)
|
|
12781
12784
|
}
|
|
12782
12785
|
) : /* @__PURE__ */ i(x, { display: "inline-block", mr: e, onClick: t, children: o });
|
|
12783
|
-
},
|
|
12786
|
+
}, Pc = m.div`
|
|
12784
12787
|
${({ theme: e, $isDragging: t }) => `
|
|
12785
12788
|
align-items: center;
|
|
12786
12789
|
display: flex;
|
|
@@ -12893,7 +12896,7 @@ const Xe = ({
|
|
|
12893
12896
|
position: n === e.title ? "relative" : "static"
|
|
12894
12897
|
},
|
|
12895
12898
|
value: e,
|
|
12896
|
-
children: /* @__PURE__ */ h(
|
|
12899
|
+
children: /* @__PURE__ */ h(Pc, { $isDragging: n === e.title, children: [
|
|
12897
12900
|
/* @__PURE__ */ h(
|
|
12898
12901
|
x,
|
|
12899
12902
|
{
|
|
@@ -13749,20 +13752,20 @@ const Xe = ({
|
|
|
13749
13752
|
] });
|
|
13750
13753
|
}, ad = (e, t) => {
|
|
13751
13754
|
const n = {
|
|
13752
|
-
critical:
|
|
13753
|
-
high:
|
|
13754
|
-
low:
|
|
13755
|
-
medium:
|
|
13756
|
-
none:
|
|
13755
|
+
critical: P.palette.primary[700],
|
|
13756
|
+
high: P.palette.error[500],
|
|
13757
|
+
low: P.palette.warning[200],
|
|
13758
|
+
medium: P.palette.warning[500],
|
|
13759
|
+
none: P.palette.gray[200]
|
|
13757
13760
|
}, r = {
|
|
13758
|
-
disabled:
|
|
13759
|
-
enabled:
|
|
13761
|
+
disabled: P.palette.gray[400],
|
|
13762
|
+
enabled: P.palette.gray[800]
|
|
13760
13763
|
}, o = {
|
|
13761
|
-
critical:
|
|
13762
|
-
high:
|
|
13763
|
-
low:
|
|
13764
|
-
medium:
|
|
13765
|
-
none:
|
|
13764
|
+
critical: P.palette.white,
|
|
13765
|
+
high: P.palette.white,
|
|
13766
|
+
low: P.palette.gray[800],
|
|
13767
|
+
medium: P.palette.gray[800],
|
|
13768
|
+
none: P.palette.gray[400]
|
|
13766
13769
|
};
|
|
13767
13770
|
return {
|
|
13768
13771
|
iconColor: t < 1 ? n.none : n[e],
|
|
@@ -13885,7 +13888,7 @@ const Xe = ({
|
|
|
13885
13888
|
/* @__PURE__ */ h(x, { children: [
|
|
13886
13889
|
/* @__PURE__ */ h(x, { alignItems: "center", display: "inline-flex", gap: 0.5, children: [
|
|
13887
13890
|
/* @__PURE__ */ i(N, { color: l.palette.gray[800], size: "md", children: a }),
|
|
13888
|
-
o ? /* @__PURE__ */ i(
|
|
13891
|
+
o ? /* @__PURE__ */ i(Wc, { text: "Upgrade" }) : void 0,
|
|
13889
13892
|
e
|
|
13890
13893
|
] }),
|
|
13891
13894
|
/* @__PURE__ */ i(N, { color: l.palette.gray[400], size: "sm", children: t })
|
|
@@ -14355,16 +14358,16 @@ const Xe = ({
|
|
|
14355
14358
|
headers: a = {},
|
|
14356
14359
|
name: l = "Report"
|
|
14357
14360
|
} = e, s = Y(
|
|
14358
|
-
() =>
|
|
14359
|
-
(d) =>
|
|
14361
|
+
() => W.isUndefined(r) ? Rn(t) : Rn(t).map(
|
|
14362
|
+
(d) => W.pick(d, r)
|
|
14360
14363
|
),
|
|
14361
14364
|
[t, r]
|
|
14362
14365
|
), c = Y(
|
|
14363
|
-
() => s.length > 0 && !
|
|
14366
|
+
() => s.length > 0 && !W.isEmpty(a),
|
|
14364
14367
|
[s.length, a]
|
|
14365
14368
|
), p = Y(
|
|
14366
14369
|
() => (c ? Object.keys(s[0]) : []).map(
|
|
14367
|
-
(d) =>
|
|
14370
|
+
(d) => W.includes(Object.keys(a), d) ? { key: d, label: a[d] } : { key: d, label: d }
|
|
14368
14371
|
),
|
|
14369
14372
|
[c, s, a]
|
|
14370
14373
|
);
|
|
@@ -14737,7 +14740,7 @@ const Xe = ({
|
|
|
14737
14740
|
(p) => /* @__PURE__ */ i("tr", { "data-testid": "row-headers", children: p.headers.map((d) => {
|
|
14738
14741
|
var $;
|
|
14739
14742
|
const { isPlaceholder: g } = d, u = g ? d.subHeaders[0] : d;
|
|
14740
|
-
return
|
|
14743
|
+
return W.isUndefined(d.column.parent) && d.depth > 1 ? null : /* @__PURE__ */ h(
|
|
14741
14744
|
"th",
|
|
14742
14745
|
{
|
|
14743
14746
|
colSpan: u.colSpan,
|
|
@@ -14971,7 +14974,7 @@ const Xe = ({
|
|
|
14971
14974
|
/* @__PURE__ */ i(Nd, {})
|
|
14972
14975
|
] })
|
|
14973
14976
|
] });
|
|
14974
|
-
},
|
|
14977
|
+
}, Wn = m(ee)`
|
|
14975
14978
|
${({ theme: e, $padding: t }) => `
|
|
14976
14979
|
background-color: ${e.palette.white};
|
|
14977
14980
|
border: 1px solid ${e.palette.gray[200]};
|
|
@@ -15006,7 +15009,7 @@ const Xe = ({
|
|
|
15006
15009
|
}, [e]), a = !n && !t;
|
|
15007
15010
|
return /* @__PURE__ */ h(x, { alignItems: "center", display: "flex", gap: 0.5, children: [
|
|
15008
15011
|
/* @__PURE__ */ i(
|
|
15009
|
-
|
|
15012
|
+
Wn,
|
|
15010
15013
|
{
|
|
15011
15014
|
$padding: "4px 6px",
|
|
15012
15015
|
disabled: !(e != null && e.getCanPreviousPage()),
|
|
@@ -15019,7 +15022,7 @@ const Xe = ({
|
|
|
15019
15022
|
}
|
|
15020
15023
|
),
|
|
15021
15024
|
/* @__PURE__ */ i(
|
|
15022
|
-
|
|
15025
|
+
Wn,
|
|
15023
15026
|
{
|
|
15024
15027
|
$padding: "4px 6px",
|
|
15025
15028
|
disabled: a,
|
|
@@ -15032,9 +15035,9 @@ const Xe = ({
|
|
|
15032
15035
|
}
|
|
15033
15036
|
)
|
|
15034
15037
|
] });
|
|
15035
|
-
}, Ld = 10, Ad = 20, jd = 50,
|
|
15038
|
+
}, Ld = 10, Ad = 20, jd = 50, Pn = 100, Rd = () => {
|
|
15036
15039
|
var k, S;
|
|
15037
|
-
const e = j(), { table: t } = ye(we), n = ((k = t == null ? void 0 : t.options.meta) == null ? void 0 : k.hasNextPage) ?? !1, r = ((S = t == null ? void 0 : t.options.meta) == null ? void 0 : S.dataSize) ?? 0, o = Number.isFinite(r) ? r : 0, a = (t == null ? void 0 : t.getRowCount()) ?? 0, l = Number.isFinite(a) ? Math.max(0, a) : 0, s = n ? Math.max(o,
|
|
15040
|
+
const e = j(), { table: t } = ye(we), n = ((k = t == null ? void 0 : t.options.meta) == null ? void 0 : k.hasNextPage) ?? !1, r = ((S = t == null ? void 0 : t.options.meta) == null ? void 0 : S.dataSize) ?? 0, o = Number.isFinite(r) ? r : 0, a = (t == null ? void 0 : t.getRowCount()) ?? 0, l = Number.isFinite(a) ? Math.max(0, a) : 0, s = n ? Math.max(o, Pn) : l, [c, p] = R(!1), [d, g] = R(
|
|
15038
15041
|
(t == null ? void 0 : t.getState().pagination.pageSize) ?? 10
|
|
15039
15042
|
), { refs: u, floatingStyles: f } = Rt({
|
|
15040
15043
|
middleware: [at({ mainAxis: 4 })],
|
|
@@ -15043,7 +15046,7 @@ const Xe = ({
|
|
|
15043
15046
|
whileElementsMounted: ot
|
|
15044
15047
|
}), $ = Y(
|
|
15045
15048
|
() => wo(
|
|
15046
|
-
[Ld, Ad, jd,
|
|
15049
|
+
[Ld, Ad, jd, Pn],
|
|
15047
15050
|
// eslint-disable-next-line functional/prefer-immutable-types
|
|
15048
15051
|
(C, I) => (C.push(I), I === s ? !1 : I <= s),
|
|
15049
15052
|
[]
|
|
@@ -15174,9 +15177,9 @@ const Xe = ({
|
|
|
15174
15177
|
/* @__PURE__ */ i(Ed, {})
|
|
15175
15178
|
] }),
|
|
15176
15179
|
e
|
|
15177
|
-
] }),
|
|
15180
|
+
] }), Wd = ({
|
|
15178
15181
|
children: e
|
|
15179
|
-
}) => /* @__PURE__ */ i("div", { className: "footer-container", children: e }),
|
|
15182
|
+
}) => /* @__PURE__ */ i("div", { className: "footer-container", children: e }), Pd = m.div.attrs({ className: "search-container" })`
|
|
15180
15183
|
${({ theme: e }) => `
|
|
15181
15184
|
display: flex;
|
|
15182
15185
|
flex-direction: column;
|
|
@@ -15271,7 +15274,7 @@ const Xe = ({
|
|
|
15271
15274
|
n == null || n("");
|
|
15272
15275
|
}, [n]);
|
|
15273
15276
|
return /* @__PURE__ */ h(Bd, { children: [
|
|
15274
|
-
n === void 0 ? void 0 : /* @__PURE__ */ i(
|
|
15277
|
+
n === void 0 ? void 0 : /* @__PURE__ */ i(Pd, { children: /* @__PURE__ */ i(
|
|
15275
15278
|
Ie,
|
|
15276
15279
|
{
|
|
15277
15280
|
maxLength: Hn,
|
|
@@ -15332,7 +15335,7 @@ const Xe = ({
|
|
|
15332
15335
|
Controls: Ud,
|
|
15333
15336
|
Export: vd,
|
|
15334
15337
|
Footer: Vd,
|
|
15335
|
-
FooterContent:
|
|
15338
|
+
FooterContent: Wd,
|
|
15336
15339
|
Highlighted: Yd,
|
|
15337
15340
|
Options: Gd
|
|
15338
15341
|
}), Kd = m.button`
|
|
@@ -15741,7 +15744,7 @@ const Xe = ({
|
|
|
15741
15744
|
}
|
|
15742
15745
|
}
|
|
15743
15746
|
);
|
|
15744
|
-
}, Bn = 20, St = 0.25, it = 0.5,
|
|
15747
|
+
}, Bn = 20, St = 0.25, it = 0.5, Wi = ({
|
|
15745
15748
|
node: e,
|
|
15746
15749
|
level: t,
|
|
15747
15750
|
isExpanded: n,
|
|
@@ -15853,7 +15856,7 @@ const Xe = ({
|
|
|
15853
15856
|
),
|
|
15854
15857
|
n && l ? /* @__PURE__ */ i("div", { children: (g = e.children) == null ? void 0 : g.map(
|
|
15855
15858
|
(u) => /* @__PURE__ */ i(
|
|
15856
|
-
|
|
15859
|
+
Wi,
|
|
15857
15860
|
{
|
|
15858
15861
|
expandedNodes: o,
|
|
15859
15862
|
isExpanded: o.has(u.id),
|
|
@@ -15882,7 +15885,7 @@ const Xe = ({
|
|
|
15882
15885
|
{
|
|
15883
15886
|
padding: [0.625, it, 0.625, it],
|
|
15884
15887
|
children: /* @__PURE__ */ i(
|
|
15885
|
-
|
|
15888
|
+
Wi,
|
|
15886
15889
|
{
|
|
15887
15890
|
expandedNodes: o,
|
|
15888
15891
|
isExpanded: o.has(s.id),
|
|
@@ -16057,7 +16060,7 @@ export {
|
|
|
16057
16060
|
fp as C,
|
|
16058
16061
|
yp as D,
|
|
16059
16062
|
Z as E,
|
|
16060
|
-
|
|
16063
|
+
Pt as F,
|
|
16061
16064
|
Fp as G,
|
|
16062
16065
|
$p as H,
|
|
16063
16066
|
Ep as I,
|
|
@@ -16070,9 +16073,9 @@ export {
|
|
|
16070
16073
|
xe as P,
|
|
16071
16074
|
Op as Q,
|
|
16072
16075
|
dp as R,
|
|
16073
|
-
|
|
16076
|
+
P as S,
|
|
16074
16077
|
cp as T,
|
|
16075
|
-
|
|
16078
|
+
Pp as U,
|
|
16076
16079
|
Hp as V,
|
|
16077
16080
|
x as W,
|
|
16078
16081
|
Bp as X,
|
|
@@ -16104,14 +16107,14 @@ export {
|
|
|
16104
16107
|
ys as aK,
|
|
16105
16108
|
Ss as aL,
|
|
16106
16109
|
Vp as aM,
|
|
16107
|
-
|
|
16110
|
+
Wp as aN,
|
|
16108
16111
|
Is as aO,
|
|
16109
16112
|
o0 as aP,
|
|
16110
16113
|
Ft as aQ,
|
|
16111
16114
|
a0 as aR,
|
|
16112
16115
|
An as aS,
|
|
16113
16116
|
l0 as aT,
|
|
16114
|
-
|
|
16117
|
+
Wc as aU,
|
|
16115
16118
|
s0 as aV,
|
|
16116
16119
|
c0 as aW,
|
|
16117
16120
|
Si as aX,
|
|
@@ -16158,7 +16161,7 @@ export {
|
|
|
16158
16161
|
x0 as b9,
|
|
16159
16162
|
Uo as bA,
|
|
16160
16163
|
mi as bB,
|
|
16161
|
-
|
|
16164
|
+
Pe as bC,
|
|
16162
16165
|
Ma as bD,
|
|
16163
16166
|
fn as bE,
|
|
16164
16167
|
Za as bF,
|
|
@@ -16246,7 +16249,7 @@ export {
|
|
|
16246
16249
|
Rd as cu,
|
|
16247
16250
|
Od as cv,
|
|
16248
16251
|
Vd as cw,
|
|
16249
|
-
|
|
16252
|
+
Wd as cx,
|
|
16250
16253
|
Gd as cy,
|
|
16251
16254
|
_d as cz,
|
|
16252
16255
|
Je as d,
|