@fluidattacks/design 3.25.3-pr.1 → 3.25.4-pr
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/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/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/code-snippet/location-code/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/file-preview/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/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/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/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/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/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/number-input/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/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-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/scroll-button/index.js +1 -1
- package/dist/components/search/index.d.ts +1 -1
- package/dist/components/search/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/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/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-CfKMj7pg.js → components-CaofXyDH.js} +2 -2
- package/dist/{components-sjIYwAvV.mjs → components-D7mt_Qr_.mjs} +99 -94
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as f, Fragment as Je } from "react/jsx-runtime";
|
|
2
|
-
import Qe, { forwardRef as
|
|
2
|
+
import Qe, { forwardRef as Z, useState as E, useCallback as v, StrictMode as Fn, useEffect as U, useRef as B, useMemo as K, Fragment as ye, Children as Ke, isValidElement as Ut, cloneElement as Gt, createContext as En, useContext as ue } from "react";
|
|
3
3
|
import { X as Rn, s as x, J as R, u as _t, a as jn, b as Ln, c as An, d as Pn, l as M, e as et, f as On, o as tt, g as Wn, n as Ce, _ as L, $ as Hn, h as Mn, i as Bn, j as Vn, k as Un, m as Gn, p as _n, q as Yn, r as Kn, t as Yt, C as nt, v as Zn, w as Xn, x as qn, y as yt, z as Fe, A as Jn, B as Qn, D as Kt, E as Zt, F as Ee, G as ei, H as ti, I as ni, K as ii, L as ai, M as te, N as oi, O as Xt, P as ri, Q as qt, R as li, S as si, T as ci, U as di, V as pi, W as gi, Y as it, Z as ui, a0 as bt, a1 as $t, a2 as xt, a3 as hi, a4 as fi, a5 as yi, a6 as bi, a7 as $i, a8 as xi, a9 as mi, aa as wi, ab as Jt, ac as vi, ad as ki, ae as Ci, af as Si, ag as zi, ak as Qt, al as Ii, am as Ti, an as Ni, ao as Di, ap as Fi, aq as Ei, ar as Ri, as as ji, at as Li, au as Ai, av as Pi, aw as Ze, ax as Oi, ay as mt, az as Wi, aA as wt, aB as Hi } from "./vendor-Nr1PjBcL.mjs";
|
|
4
4
|
import { createPortal as be } from "react-dom";
|
|
5
5
|
import { Link as Mi, useLocation as Bi, NavLink as Vi } from "react-router-dom";
|
|
@@ -445,7 +445,7 @@ const re = (e) => ({
|
|
|
445
445
|
${a};
|
|
446
446
|
}
|
|
447
447
|
`}
|
|
448
|
-
`, b =
|
|
448
|
+
`, b = Z(function({
|
|
449
449
|
as: t = "div",
|
|
450
450
|
center: n,
|
|
451
451
|
children: a,
|
|
@@ -588,7 +588,7 @@ const re = (e) => ({
|
|
|
588
588
|
|
|
589
589
|
${n === void 0 ? "" : `&::after { content: "${n}"; }`}
|
|
590
590
|
`}
|
|
591
|
-
`, le =
|
|
591
|
+
`, le = Z(function({
|
|
592
592
|
bgGradient: t,
|
|
593
593
|
children: n,
|
|
594
594
|
className: a,
|
|
@@ -632,7 +632,7 @@ const re = (e) => ({
|
|
|
632
632
|
children: n
|
|
633
633
|
}
|
|
634
634
|
);
|
|
635
|
-
}), Te =
|
|
635
|
+
}), Te = Z(function({
|
|
636
636
|
children: t,
|
|
637
637
|
color: n,
|
|
638
638
|
content: a,
|
|
@@ -666,7 +666,7 @@ const re = (e) => ({
|
|
|
666
666
|
children: t
|
|
667
667
|
}
|
|
668
668
|
);
|
|
669
|
-
}), N =
|
|
669
|
+
}), N = Z(function({
|
|
670
670
|
bgGradient: t,
|
|
671
671
|
children: n,
|
|
672
672
|
className: a,
|
|
@@ -785,7 +785,7 @@ x.div`
|
|
|
785
785
|
transform: scale(1.2);
|
|
786
786
|
}
|
|
787
787
|
`;
|
|
788
|
-
const F =
|
|
788
|
+
const F = Z(function({
|
|
789
789
|
clickable: t,
|
|
790
790
|
disabled: n,
|
|
791
791
|
hoverColor: a,
|
|
@@ -828,7 +828,7 @@ const F = Y(function({
|
|
|
828
828
|
},
|
|
829
829
|
`${p}-${o}`
|
|
830
830
|
);
|
|
831
|
-
}), ms =
|
|
831
|
+
}), ms = Z(function({ aligned: t = "end", items: n, bgColor: a }, o) {
|
|
832
832
|
const r = R(), [s, l] = E(
|
|
833
833
|
n.map((d) => d.expanded ?? !1)
|
|
834
834
|
), c = v(
|
|
@@ -1238,7 +1238,7 @@ const F = Y(function({
|
|
|
1238
1238
|
document.getElementById("root") ?? document.body
|
|
1239
1239
|
)
|
|
1240
1240
|
] });
|
|
1241
|
-
}, _ =
|
|
1241
|
+
}, _ = Z(function({
|
|
1242
1242
|
borderRadius: t,
|
|
1243
1243
|
disabled: n,
|
|
1244
1244
|
icon: a,
|
|
@@ -1289,7 +1289,7 @@ const F = Y(function({
|
|
|
1289
1289
|
}
|
|
1290
1290
|
), j = (h + (k ?? "") + (c ?? a)).replace(/ /u, "_");
|
|
1291
1291
|
return y === void 0 ? S : /* @__PURE__ */ i(ee, { id: `${j}-tooltip`, place: $, tip: y, children: S });
|
|
1292
|
-
}), ws =
|
|
1292
|
+
}), ws = Z(function({
|
|
1293
1293
|
autoHide: t = !1,
|
|
1294
1294
|
children: n,
|
|
1295
1295
|
closable: a = !1,
|
|
@@ -1700,7 +1700,7 @@ const F = Y(function({
|
|
|
1700
1700
|
"noopener,noreferrer,"
|
|
1701
1701
|
);
|
|
1702
1702
|
M.isObject(n) && (n.opener = null);
|
|
1703
|
-
}, V =
|
|
1703
|
+
}, V = Z(function({
|
|
1704
1704
|
children: t,
|
|
1705
1705
|
disabled: n = !1,
|
|
1706
1706
|
external: a = !1,
|
|
@@ -1776,7 +1776,7 @@ const F = Y(function({
|
|
|
1776
1776
|
children: D
|
|
1777
1777
|
}
|
|
1778
1778
|
) : D;
|
|
1779
|
-
}), vs =
|
|
1779
|
+
}), vs = Z(function({
|
|
1780
1780
|
children: t,
|
|
1781
1781
|
onClick: n,
|
|
1782
1782
|
userName: a,
|
|
@@ -2538,7 +2538,7 @@ const F = Y(function({
|
|
|
2538
2538
|
fill: ${e.palette.white};
|
|
2539
2539
|
}
|
|
2540
2540
|
`}
|
|
2541
|
-
`, fe =
|
|
2541
|
+
`, fe = Z(function({
|
|
2542
2542
|
checked: t,
|
|
2543
2543
|
disabled: n = !1,
|
|
2544
2544
|
label: a,
|
|
@@ -2714,11 +2714,11 @@ const F = Y(function({
|
|
|
2714
2714
|
var ht;
|
|
2715
2715
|
const j = R(), T = t ? void 0 : a, I = (e == null ? void 0 : e.value) ?? C, [O, D] = E(
|
|
2716
2716
|
((ht = g.find((H) => H.value === I)) == null ? void 0 : ht.name) ?? ""
|
|
2717
|
-
), [W, ne] = E(I), [ae, pe] = E(g), [G, X] = E(!1), { contains:
|
|
2717
|
+
), [W, ne] = E(I), [ae, pe] = E(g), [G, X] = E(!1), { contains: Y } = Un({ sensitivity: "base" }), $e = B(null), Ge = B(null), _e = B(null), pt = B(null), gt = B(null), wn = K(() => g.toSorted((H, q) => {
|
|
2718
2718
|
const J = Array.from(n ?? []), xe = J.includes(H.value), ft = J.includes(q.value);
|
|
2719
2719
|
return xe && !ft ? 1 : !xe && ft ? -1 : 0;
|
|
2720
2720
|
}).map(
|
|
2721
|
-
(H) =>
|
|
2721
|
+
(H) => Y(H.name, O) || G ? /* @__PURE__ */ i(
|
|
2722
2722
|
Gn,
|
|
2723
2723
|
{
|
|
2724
2724
|
"aria-label": H.value,
|
|
@@ -2728,7 +2728,7 @@ const F = Y(function({
|
|
|
2728
2728
|
},
|
|
2729
2729
|
H.value
|
|
2730
2730
|
) : null
|
|
2731
|
-
), [
|
|
2731
|
+
), [Y, n, O, g, G]), vn = v(
|
|
2732
2732
|
(H) => {
|
|
2733
2733
|
const q = H.split(/,|\s/u).slice(-1)[0].trim();
|
|
2734
2734
|
D(p ? q : H), H === "" || H.endsWith(",") ? X(!0) : (X(!1), ne((J) => {
|
|
@@ -2736,11 +2736,11 @@ const F = Y(function({
|
|
|
2736
2736
|
return e && e.onChange(xe), h && h(H), xe;
|
|
2737
2737
|
}), pe(
|
|
2738
2738
|
g.filter(
|
|
2739
|
-
(J) =>
|
|
2739
|
+
(J) => Y(J.name, p ? q : H)
|
|
2740
2740
|
)
|
|
2741
2741
|
));
|
|
2742
2742
|
},
|
|
2743
|
-
[
|
|
2743
|
+
[Y, g, e, p, h]
|
|
2744
2744
|
), kn = v(
|
|
2745
2745
|
(H) => {
|
|
2746
2746
|
var q;
|
|
@@ -3918,13 +3918,13 @@ const F = Y(function({
|
|
|
3918
3918
|
...j
|
|
3919
3919
|
}) => {
|
|
3920
3920
|
const { required: T, onBlur: I, onChange: O } = j, D = R(), W = e ? void 0 : r, [ne, ae] = E(""), pe = v(
|
|
3921
|
-
(
|
|
3922
|
-
ae(
|
|
3921
|
+
(Y) => {
|
|
3922
|
+
ae(Y.target.value), O == null || O(Y);
|
|
3923
3923
|
},
|
|
3924
3924
|
[O]
|
|
3925
3925
|
), G = c && d && !e && ne.trim() !== "", X = v(
|
|
3926
|
-
(
|
|
3927
|
-
|
|
3926
|
+
(Y) => {
|
|
3927
|
+
Y.key === "Enter" && Y.preventDefault();
|
|
3928
3928
|
},
|
|
3929
3929
|
[]
|
|
3930
3930
|
);
|
|
@@ -4003,7 +4003,7 @@ const F = Y(function({
|
|
|
4003
4003
|
}
|
|
4004
4004
|
),
|
|
4005
4005
|
w ? /* @__PURE__ */ i("datalist", { id: `list_${u}`, children: w.map(
|
|
4006
|
-
(
|
|
4006
|
+
(Y) => /* @__PURE__ */ i("option", { value: Y }, Y)
|
|
4007
4007
|
) }) : void 0
|
|
4008
4008
|
]
|
|
4009
4009
|
}
|
|
@@ -4396,7 +4396,7 @@ const F = Y(function({
|
|
|
4396
4396
|
value: h,
|
|
4397
4397
|
weight: y
|
|
4398
4398
|
}) => {
|
|
4399
|
-
const $ = R(), m = e ? void 0 : t, [k, w] = E(""), C = c ? h : n == null ? void 0 : n.value, S =
|
|
4399
|
+
const $ = R(), m = e ? void 0 : t, [k, w] = E(""), C = c ? h : n == null ? void 0 : n.value, S = K(() => C && typeof C == "string" ? C.split(",").filter(Boolean) : [], [C]), z = v(
|
|
4400
4400
|
(D) => {
|
|
4401
4401
|
const ne = [...new Set(D.filter(Boolean))].join(","), ae = we("change", l, ne);
|
|
4402
4402
|
n && n.onChange(ae), c && c(ae);
|
|
@@ -4543,7 +4543,7 @@ const F = Y(function({
|
|
|
4543
4543
|
value: h,
|
|
4544
4544
|
weight: y
|
|
4545
4545
|
}
|
|
4546
|
-
), Rt =
|
|
4546
|
+
), Rt = Z(function({ disabled: t, icon: n, margin: a, onClick: o, ...r }, s) {
|
|
4547
4547
|
return /* @__PURE__ */ i(
|
|
4548
4548
|
Ha,
|
|
4549
4549
|
{
|
|
@@ -5011,14 +5011,14 @@ const F = Y(function({
|
|
|
5011
5011
|
),
|
|
5012
5012
|
$ && be(
|
|
5013
5013
|
/* @__PURE__ */ i(fo, { ref: C.setFloating, style: S, children: pe.map((G) => {
|
|
5014
|
-
const { dialCode: X, iso2:
|
|
5014
|
+
const { dialCode: X, iso2: Y, name: $e } = $t(G);
|
|
5015
5015
|
return /* @__PURE__ */ f(
|
|
5016
5016
|
yo,
|
|
5017
5017
|
{
|
|
5018
|
-
onClick: ne(
|
|
5019
|
-
value:
|
|
5018
|
+
onClick: ne(Y),
|
|
5019
|
+
value: Y,
|
|
5020
5020
|
children: [
|
|
5021
|
-
/* @__PURE__ */ i(xt, { iso2:
|
|
5021
|
+
/* @__PURE__ */ i(xt, { iso2: Y, size: "16px" }),
|
|
5022
5022
|
/* @__PURE__ */ i(bo, { children: $e }),
|
|
5023
5023
|
/* @__PURE__ */ i(
|
|
5024
5024
|
N,
|
|
@@ -5032,7 +5032,7 @@ const F = Y(function({
|
|
|
5032
5032
|
)
|
|
5033
5033
|
]
|
|
5034
5034
|
},
|
|
5035
|
-
|
|
5035
|
+
Y
|
|
5036
5036
|
);
|
|
5037
5037
|
}) }),
|
|
5038
5038
|
document.getElementById("modal-wrapper") ?? document.getElementById("root") ?? document.body
|
|
@@ -5151,7 +5151,7 @@ const F = Y(function({
|
|
|
5151
5151
|
setValue: z,
|
|
5152
5152
|
watch: j
|
|
5153
5153
|
}) => {
|
|
5154
|
-
const T =
|
|
5154
|
+
const T = K(() => {
|
|
5155
5155
|
if (s === "text")
|
|
5156
5156
|
return /* @__PURE__ */ i(
|
|
5157
5157
|
ct,
|
|
@@ -5273,12 +5273,12 @@ const F = Y(function({
|
|
|
5273
5273
|
publicId: e,
|
|
5274
5274
|
format: t = "webp"
|
|
5275
5275
|
}) => {
|
|
5276
|
-
const n =
|
|
5276
|
+
const n = K(() => new hi({
|
|
5277
5277
|
cloud: {
|
|
5278
5278
|
cloudName: "fluid-attacks"
|
|
5279
5279
|
}
|
|
5280
5280
|
}), []);
|
|
5281
|
-
return
|
|
5281
|
+
return K(() => n.image(e).format(t), [n, e, t]);
|
|
5282
5282
|
}, Ve = (e) => {
|
|
5283
5283
|
const [t, n] = E(!1), a = v(() => {
|
|
5284
5284
|
n(!0);
|
|
@@ -5294,7 +5294,7 @@ const F = Y(function({
|
|
|
5294
5294
|
columnOrder: n,
|
|
5295
5295
|
setColumnOrder: a
|
|
5296
5296
|
}) => {
|
|
5297
|
-
const o =
|
|
5297
|
+
const o = K(
|
|
5298
5298
|
() => [
|
|
5299
5299
|
// locked -> visible -> hidden
|
|
5300
5300
|
...t.filter(({ locked: p }) => p).map(({ locked: p, ...g }) => ({
|
|
@@ -5327,7 +5327,7 @@ const F = Y(function({
|
|
|
5327
5327
|
return Number(u.visible) !== Number(g.visible) ? Number(u.visible) - Number(g.visible) : h - y;
|
|
5328
5328
|
});
|
|
5329
5329
|
s(p), a == null || a(n);
|
|
5330
|
-
}, [r, n, a]), d =
|
|
5330
|
+
}, [r, n, a]), d = K(() => fi(r, (p) => ((n == null ? void 0 : n.includes(p.id)) ?? !1) !== p.visible), [r, n]);
|
|
5331
5331
|
return {
|
|
5332
5332
|
setColumns: l,
|
|
5333
5333
|
resetToDefault: c,
|
|
@@ -5335,7 +5335,7 @@ const F = Y(function({
|
|
|
5335
5335
|
...Ve(e),
|
|
5336
5336
|
hasChanged: d
|
|
5337
5337
|
};
|
|
5338
|
-
}, gn = (e, t) =>
|
|
5338
|
+
}, gn = (e, t) => K(
|
|
5339
5339
|
() => L.debounce(e, t),
|
|
5340
5340
|
[e, t]
|
|
5341
5341
|
), As = (e) => {
|
|
@@ -5440,7 +5440,7 @@ const F = Y(function({
|
|
|
5440
5440
|
}
|
|
5441
5441
|
|
|
5442
5442
|
`}
|
|
5443
|
-
`, Co = x.span.attrs({ className: "checkmark" })``, un =
|
|
5443
|
+
`, Co = x.span.attrs({ className: "checkmark" })``, un = Z(function({
|
|
5444
5444
|
checked: t,
|
|
5445
5445
|
disabled: n = !1,
|
|
5446
5446
|
label: a,
|
|
@@ -5616,7 +5616,7 @@ const F = Y(function({
|
|
|
5616
5616
|
background-color: ${({ theme: e }) => e.palette.gray[200]};
|
|
5617
5617
|
border: 1px solid ${({ theme: e }) => e.palette.gray[200]};
|
|
5618
5618
|
}
|
|
5619
|
-
`, Io =
|
|
5619
|
+
`, Io = Z(function({
|
|
5620
5620
|
defaultChecked: t,
|
|
5621
5621
|
disabled: n = !1,
|
|
5622
5622
|
justify: a,
|
|
@@ -5872,7 +5872,7 @@ const F = Y(function({
|
|
|
5872
5872
|
return h.length > 8 && !r ? `${[...h].splice(0, 7).join(`
|
|
5873
5873
|
`)}
|
|
5874
5874
|
${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
5875
|
-
}, [r, t, e]), g =
|
|
5875
|
+
}, [r, t, e]), g = K(p, [p]), u = v(async () => {
|
|
5876
5876
|
await navigator.clipboard.writeText(g);
|
|
5877
5877
|
}, [g]);
|
|
5878
5878
|
return a === "location" ? /* @__PURE__ */ i(
|
|
@@ -6266,7 +6266,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
6266
6266
|
font-size: 6px;
|
|
6267
6267
|
font-weight: ${({ theme: e }) => e.typography.weight.bold};
|
|
6268
6268
|
justify-content: center;
|
|
6269
|
-
`, Ko =
|
|
6269
|
+
`, Ko = Z(function({
|
|
6270
6270
|
numberIndicator: t,
|
|
6271
6271
|
show: n,
|
|
6272
6272
|
variant: a = "error",
|
|
@@ -6366,7 +6366,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
6366
6366
|
)
|
|
6367
6367
|
}
|
|
6368
6368
|
);
|
|
6369
|
-
}, ve =
|
|
6369
|
+
}, ve = Z(function({
|
|
6370
6370
|
color: t = A.palette.gray[100],
|
|
6371
6371
|
mt: n = 0.5,
|
|
6372
6372
|
mb: a = 0.5,
|
|
@@ -6741,36 +6741,42 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
6741
6741
|
border-radius: ${e.spacing[0.5]};
|
|
6742
6742
|
width: 250px;
|
|
6743
6743
|
`}
|
|
6744
|
-
`, ke =
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6744
|
+
`, ke = ({
|
|
6745
|
+
name: e,
|
|
6746
|
+
smallSearch: t = !1,
|
|
6747
|
+
onClear: n,
|
|
6748
|
+
onChange: a,
|
|
6749
|
+
value: o,
|
|
6750
|
+
...r
|
|
6751
|
+
}) => {
|
|
6752
|
+
const s = B(null), l = R(), [c, d] = E(!1), [p, g] = E(o ?? ""), { refs: u, floatingStyles: h } = it(), y = v(() => {
|
|
6753
|
+
d((C) => !C);
|
|
6754
|
+
}, []), $ = v(
|
|
6755
|
+
(C) => {
|
|
6756
|
+
C.key === "Enter" && C.preventDefault();
|
|
6750
6757
|
},
|
|
6751
6758
|
[]
|
|
6752
|
-
),
|
|
6753
|
-
(
|
|
6754
|
-
|
|
6755
|
-
p(w.target.value), (C = o.onChange) == null || C.call(o, w);
|
|
6759
|
+
), m = v(
|
|
6760
|
+
(C) => {
|
|
6761
|
+
g(C.target.value), a == null || a(C);
|
|
6756
6762
|
},
|
|
6757
|
-
[
|
|
6758
|
-
),
|
|
6759
|
-
|
|
6760
|
-
}, [
|
|
6763
|
+
[a]
|
|
6764
|
+
), k = v(() => {
|
|
6765
|
+
g(""), n == null || n();
|
|
6766
|
+
}, [n]);
|
|
6761
6767
|
he(
|
|
6762
|
-
|
|
6768
|
+
u.floating.current,
|
|
6763
6769
|
() => {
|
|
6764
|
-
|
|
6770
|
+
d(!1);
|
|
6765
6771
|
},
|
|
6766
6772
|
!0
|
|
6767
6773
|
);
|
|
6768
|
-
const
|
|
6774
|
+
const w = /* @__PURE__ */ f(ir, { children: [
|
|
6769
6775
|
/* @__PURE__ */ i(
|
|
6770
6776
|
F,
|
|
6771
6777
|
{
|
|
6772
6778
|
icon: "magnifying-glass",
|
|
6773
|
-
iconColor:
|
|
6779
|
+
iconColor: l.palette.gray[700],
|
|
6774
6780
|
iconSize: "xs",
|
|
6775
6781
|
iconType: "fa-light"
|
|
6776
6782
|
}
|
|
@@ -6778,24 +6784,24 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
6778
6784
|
/* @__PURE__ */ i(
|
|
6779
6785
|
nr,
|
|
6780
6786
|
{
|
|
6781
|
-
id:
|
|
6782
|
-
name:
|
|
6783
|
-
onChange:
|
|
6784
|
-
onKeyDown:
|
|
6785
|
-
ref:
|
|
6787
|
+
id: e,
|
|
6788
|
+
name: e,
|
|
6789
|
+
onChange: m,
|
|
6790
|
+
onKeyDown: $,
|
|
6791
|
+
ref: s,
|
|
6786
6792
|
type: "search",
|
|
6787
|
-
value:
|
|
6788
|
-
...
|
|
6793
|
+
value: p,
|
|
6794
|
+
...r
|
|
6789
6795
|
}
|
|
6790
6796
|
),
|
|
6791
|
-
!M.isEmpty(
|
|
6797
|
+
!M.isEmpty(p) && /* @__PURE__ */ i(
|
|
6792
6798
|
_,
|
|
6793
6799
|
{
|
|
6794
6800
|
icon: "xmark",
|
|
6795
|
-
iconColor:
|
|
6801
|
+
iconColor: l.palette.gray[300],
|
|
6796
6802
|
iconSize: "xs",
|
|
6797
6803
|
iconType: "fa-light",
|
|
6798
|
-
onClick:
|
|
6804
|
+
onClick: k,
|
|
6799
6805
|
px: 0.25,
|
|
6800
6806
|
py: 0.25,
|
|
6801
6807
|
type: "reset",
|
|
@@ -6803,22 +6809,22 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
6803
6809
|
}
|
|
6804
6810
|
)
|
|
6805
6811
|
] });
|
|
6806
|
-
return
|
|
6812
|
+
return t ? /* @__PURE__ */ f(ye, { children: [
|
|
6807
6813
|
/* @__PURE__ */ i(
|
|
6808
6814
|
_,
|
|
6809
6815
|
{
|
|
6810
|
-
border: `1px solid ${
|
|
6816
|
+
border: `1px solid ${l.palette.gray[300]} !important`,
|
|
6811
6817
|
icon: "magnifying-glass",
|
|
6812
6818
|
iconSize: "xs",
|
|
6813
6819
|
iconType: "fa-light",
|
|
6814
|
-
onClick:
|
|
6815
|
-
ref:
|
|
6820
|
+
onClick: y,
|
|
6821
|
+
ref: u.setReference,
|
|
6816
6822
|
variant: "ghost"
|
|
6817
6823
|
}
|
|
6818
6824
|
),
|
|
6819
|
-
|
|
6820
|
-
] }) :
|
|
6821
|
-
}
|
|
6825
|
+
c ? /* @__PURE__ */ i(ar, { ref: u.setFloating, style: h, children: w }) : void 0
|
|
6826
|
+
] }) : w;
|
|
6827
|
+
}, or = ({
|
|
6822
6828
|
columns: e,
|
|
6823
6829
|
formId: t,
|
|
6824
6830
|
onChangeHandler: n,
|
|
@@ -8405,7 +8411,7 @@ const ze = ({
|
|
|
8405
8411
|
grid-template-columns: repeat(${t}, 1fr);
|
|
8406
8412
|
}
|
|
8407
8413
|
`}
|
|
8408
|
-
`, Xs =
|
|
8414
|
+
`, Xs = Z(function({
|
|
8409
8415
|
children: t,
|
|
8410
8416
|
md: n,
|
|
8411
8417
|
sm: a,
|
|
@@ -9161,7 +9167,7 @@ const ze = ({
|
|
|
9161
9167
|
&::-webkit-inner-spin-button {
|
|
9162
9168
|
opacity: 1;
|
|
9163
9169
|
}
|
|
9164
|
-
`, rc =
|
|
9170
|
+
`, rc = Z(function({
|
|
9165
9171
|
autoUpdate: t = !1,
|
|
9166
9172
|
decimalPlaces: n = 0,
|
|
9167
9173
|
defaultValue: a = 0,
|
|
@@ -9747,10 +9753,10 @@ const ze = ({
|
|
|
9747
9753
|
}) => {
|
|
9748
9754
|
const a = Ke.toArray(
|
|
9749
9755
|
e
|
|
9750
|
-
), o =
|
|
9756
|
+
), o = K(
|
|
9751
9757
|
() => Ke.count(e),
|
|
9752
9758
|
[e]
|
|
9753
|
-
), r =
|
|
9759
|
+
), r = K(
|
|
9754
9760
|
() => o * n,
|
|
9755
9761
|
[o, n]
|
|
9756
9762
|
);
|
|
@@ -10714,15 +10720,15 @@ const ze = ({
|
|
|
10714
10720
|
export: o = !1,
|
|
10715
10721
|
headers: r = {},
|
|
10716
10722
|
name: s = "Report"
|
|
10717
|
-
} = e, l =
|
|
10723
|
+
} = e, l = K(
|
|
10718
10724
|
() => L.isUndefined(a) ? Ht(t) : Ht(t).map(
|
|
10719
10725
|
(p) => L.pick(p, a)
|
|
10720
10726
|
),
|
|
10721
10727
|
[t, a]
|
|
10722
|
-
), c =
|
|
10728
|
+
), c = K(
|
|
10723
10729
|
() => l.length > 0 && !L.isEmpty(r),
|
|
10724
10730
|
[l.length, r]
|
|
10725
|
-
), d =
|
|
10731
|
+
), d = K(
|
|
10726
10732
|
() => (c ? Object.keys(l[0]) : []).map(
|
|
10727
10733
|
(p) => L.includes(Object.keys(r), p) ? { key: p, label: r[p] } : { key: p, label: p }
|
|
10728
10734
|
),
|
|
@@ -10738,10 +10744,10 @@ const ze = ({
|
|
|
10738
10744
|
}
|
|
10739
10745
|
) : /* @__PURE__ */ i(ye, { children: n });
|
|
10740
10746
|
}, Rl = (e) => {
|
|
10741
|
-
const { table: t } = e, { meta: n } = t.options, [a, o] = E(0), [, r] = t.getHeaderGroups(), s = t.getState(), l =
|
|
10747
|
+
const { table: t } = e, { meta: n } = t.options, [a, o] = E(0), [, r] = t.getHeaderGroups(), s = t.getState(), l = K(
|
|
10742
10748
|
() => t.getAllLeafColumns().filter((g) => g.id !== "selection"),
|
|
10743
10749
|
[t]
|
|
10744
|
-
), c =
|
|
10750
|
+
), c = K(() => l.map(
|
|
10745
10751
|
(g) => {
|
|
10746
10752
|
var u;
|
|
10747
10753
|
return {
|
|
@@ -11217,7 +11223,7 @@ const ze = ({
|
|
|
11217
11223
|
display: flex;
|
|
11218
11224
|
width: 100%;
|
|
11219
11225
|
`, Hl = () => {
|
|
11220
|
-
const e = R(), { table: t } = ue(de), { loading: n } = (t == null ? void 0 : t.options.meta) ?? {}, a =
|
|
11226
|
+
const e = R(), { table: t } = ue(de), { loading: n } = (t == null ? void 0 : t.options.meta) ?? {}, a = K(() => {
|
|
11221
11227
|
const { enableRowSelection: l, enableMultiRowSelection: c } = (t == null ? void 0 : t.options) ?? {};
|
|
11222
11228
|
return l || c ? 1 : 0;
|
|
11223
11229
|
}, [t == null ? void 0 : t.options]), o = v(
|
|
@@ -11395,7 +11401,7 @@ const ze = ({
|
|
|
11395
11401
|
open: a,
|
|
11396
11402
|
placement: "top-end",
|
|
11397
11403
|
whileElementsMounted: et
|
|
11398
|
-
}), d =
|
|
11404
|
+
}), d = K(
|
|
11399
11405
|
() => Oi(
|
|
11400
11406
|
[Vl, Ul, Gl, _l],
|
|
11401
11407
|
// eslint-disable-next-line functional/prefer-immutable-types
|
|
@@ -11604,24 +11610,23 @@ const ze = ({
|
|
|
11604
11610
|
onSearch: n,
|
|
11605
11611
|
search: a,
|
|
11606
11612
|
searchPlaceholder: o = "Search"
|
|
11607
|
-
} = (t == null ? void 0 : t.options.meta) ?? {}, r =
|
|
11608
|
-
U(() => {
|
|
11609
|
-
a === "" && (r.current.value = "");
|
|
11610
|
-
}, [a]);
|
|
11611
|
-
const s = gn(
|
|
11613
|
+
} = (t == null ? void 0 : t.options.meta) ?? {}, r = gn(
|
|
11612
11614
|
(l) => {
|
|
11613
11615
|
n == null || n(l.target.value);
|
|
11614
11616
|
},
|
|
11615
11617
|
es
|
|
11616
|
-
)
|
|
11618
|
+
), s = v(() => {
|
|
11619
|
+
n == null || n("");
|
|
11620
|
+
}, [n]);
|
|
11617
11621
|
return /* @__PURE__ */ f(Ql, { children: [
|
|
11618
11622
|
n === void 0 ? void 0 : /* @__PURE__ */ i(ql, { children: /* @__PURE__ */ i(
|
|
11619
11623
|
ke,
|
|
11620
11624
|
{
|
|
11621
11625
|
name: "search",
|
|
11622
|
-
onChange:
|
|
11626
|
+
onChange: r,
|
|
11627
|
+
onClear: s,
|
|
11623
11628
|
placeholder: o,
|
|
11624
|
-
|
|
11629
|
+
value: a
|
|
11625
11630
|
}
|
|
11626
11631
|
) }),
|
|
11627
11632
|
e
|
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../components-CaofXyDH.js");exports.useCarousel=e.useCarousel;exports.useClickOutside=e.useClickOutside;exports.useCloudinaryImage=e.useCloudinaryImage;exports.useColumnsModal=e.useColumnsModal;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useModal=e.useModal;exports.useSearch=e.useSearch;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components-CaofXyDH.js"),t=require("./vendor-DGfjRRUz.js");exports.Accordion=e.Accordion;exports.Alert=e.Alert;exports.AppliedFilters=e.AppliedFilters;exports.Avatar=e.Avatar;exports.BaseButtonComponent=e.BaseButtonComponent;exports.BaseComponent=e.BaseComponent;exports.BaseSpanComponent=e.BaseSpanComponent;exports.BaseTextComponent=e.BaseTextComponent;exports.Button=e.Button;exports.ButtonToolbarCenter=e.ButtonToolbarCenter;exports.ButtonToolbarRow=e.ButtonToolbarRow;exports.ButtonToolbarStartRow=e.ButtonToolbarStartRow;exports.CardHeader=e.CardHeader;exports.CardWithImage=e.CardWithImage;exports.CardWithInput=e.CardWithInput;exports.CardWithSelector=e.CardWithSelector;exports.CardWithSwitch=e.CardWithSwitch;exports.Carousel=e.Carousel;exports.Checkbox=e.Checkbox;exports.CloudImage=e.MemoizedImage;exports.CodeSnippet=e.CodeSnippet;exports.Col=e.Col;exports.ColumFilters=e.ColumFilters;exports.ColumnsModal=e.ColumnsModal;exports.ComboBox=e.ComboBox;exports.Container=e.Container;exports.CopyButton=e.CopyButton;exports.CustomThemeProvider=e.CustomThemeProvider;exports.Divider=e.Divider;exports.Dropdown=e.Dropdown;exports.Editable=e.Editable;exports.EmptyState=e.EmptyState;exports.FilePreview=e.FilePreview;exports.Form=e.Form;exports.Gap=e.Gap;exports.GridContainer=e.GridContainer;exports.GroupSelector=e.GroupSelector;exports.Heading=e.Heading;exports.Icon=e.Icon;exports.IconButton=e.IconButton;exports.IndicatorCard=e.IndicatorCard;exports.InfoSidebar=e.InfoSidebar;exports.InnerForm=e.InnerForm;exports.Input=e.Input;exports.InputArray=e.InputArray;exports.InputDate=e.InputDate;exports.InputDateRange=e.InputDateRange;exports.InputDateTime=e.InputDateTime;exports.InputFile=e.InputFile;exports.InputNumber=e.InputNumber;exports.InputNumberRange=e.InputNumberRange;exports.InputTags=e.InputTags;exports.Link=e.Link;exports.ListItem=e.ListItem;exports.ListItemsWrapper=e.ListItemsWrapper;exports.LittleFlag=e.LittleFlag;exports.Loading=e.Loading;exports.Logo=e.Logo;exports.Lottie=e.Lottie;exports.Menu=e.Menu;exports.MessageBanner=e.MessageBanner;exports.Modal=e.Modal;exports.ModalConfirm=e.ModalConfirm;exports.ModalFooter=e.ModalFooter;exports.Notification=e.Notification;exports.NotificationSign=e.NotificationSign;exports.NumberInput=e.NumberInput;exports.OAuthSelector=e.OAuthSelector;exports.OptionContainer=e.OptionContainer;exports.OutlineContainer=e.OutlineContainer;exports.PhoneInput=e.PhoneInput;exports.PopUp=e.PopUp;exports.PremiumFeature=e.PremiumFeature;exports.PriorityScore=e.PriorityScore;exports.ProgressBar=e.ProgressBar;exports.ProgressIndicator=e.ProgressIndicator;exports.ProgressStep=e.ProgressStep;exports.RadioButton=e.RadioButton;exports.Row=e.Row;exports.ScrollUpButton=e.ScrollUpButton;exports.Search=e.Search;exports.SeverityBadge=e.SeverityBadge;exports.SeverityOverview=e.SeverityOverview;exports.ShowOnHover=e.ShowOnHover;exports.SlideOutMenu=e.SlideOutMenu;exports.Slider=e.Slider;exports.Span=e.Span;exports.StepLapse=e.StepLapse;exports.Table=e.Table;exports.TableButton=e.TableButton;exports.Tabs=e.Tabs;exports.Tag=e.Tag;exports.Text=e.Text;exports.TextArea=e.TextArea;exports.TimeLine=e.TimeLine;exports.TimeLineCard=e.TimeLineCard;exports.Toggle=e.Toggle;exports.Tooltip=e.Tooltip;exports.Tour=e.Tour;exports.baseStep=e.baseStep;exports.formatCheckValues=e.formatCheckValues;exports.getStyledConfig=e.getStyledConfig;exports.hiddenProps=e.hiddenProps;exports.icons=e.icons;exports.setBorder=e.setBorder;exports.setDisplay=e.setDisplay;exports.setInteraction=e.setInteraction;exports.setMargin=e.setMargin;exports.setPadding=e.setPadding;exports.setPosition=e.setPosition;exports.setText=e.setText;exports.theme=e.theme;exports.uniqueIcons=e.uniqueIcons;exports.useCarousel=e.useCarousel;exports.useClickOutside=e.useClickOutside;exports.useCloudinaryImage=e.useCloudinaryImage;exports.useColumnsModal=e.useColumnsModal;exports.useConditionsDialog=e.useConditionsDialog;exports.useConfirmDialog=e.useConfirmDialog;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useFilters=e.useFilters;exports.useModal=e.useModal;exports.useSearch=e.useSearch;exports.variantBuilder=e.variantBuilder;exports.Controller=t.Controller;exports.useController=t.useController;exports.useFieldArray=t.useFieldArray;exports.useFormContext=t.useFormContext;exports.useWatch=t.useWatch;
|
package/package.json
CHANGED