@fluidattacks/design 3.13.7-pr-01 → 3.13.7-pr-02
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/confirm-dialog/index.js +1 -1
- package/dist/components/confirm-dialog/types.d.ts +1 -0
- package/dist/components/container/index.js +1 -1
- package/dist/components/content-card/category-tag/index.js +1 -1
- package/dist/components/content-card/event-date/index.js +1 -1
- package/dist/components/content-card/index.js +1 -1
- package/dist/components/content-card-carousel/index.js +1 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
- package/dist/components/divider/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-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/interactive-card/icon/index.js +1 -1
- package/dist/components/interactive-card/index.js +1 -1
- package/dist/components/language-selector/index.js +1 -1
- package/dist/components/language-selector/item-list/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/logo-carousel/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/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/filters-modal/single-column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/two-columns-filters/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/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/plan-card/index.js +1 -1
- package/dist/components/plan-card/recommended-tag/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/index.js +1 -1
- package/dist/components/progress-bar/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.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/item-searching/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-button/index.js +1 -1
- package/dist/components/tabs/fixed-tabs/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/toggle-buttons/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/web-form/index.js +1 -1
- package/dist/{components-BYYdjBRM.js → components-BmTW6a80.js} +1 -6
- package/dist/{components-DenaOm3J.mjs → components-s8vcZ2iO.mjs} +83 -85
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as h, Fragment as Me } from "react/jsx-runtime";
|
|
2
2
|
import Ge, { forwardRef as G, useState as D, useCallback as v, StrictMode as di, useEffect as M, useRef as H, useMemo as Z, Children as pi, isValidElement as gi, cloneElement as ui, Fragment as It } from "react";
|
|
3
|
-
import { o as hi, d as b, n as F, u as fi, a as bi, b as yi, c as $i, e as xi, l as W, f as Nt, g as mi, h as wi, s as vi, i as pe, _ as E, $ as ki, j as Ci, k as Si, m as zi, p as Ii, q as Ni, r as Ti, t as Fi, v as Tt, C as Ft, w as Di, x as ji, y as Li, z as it, A as Ce, B as Ei, D as Ri, E as Dt, F as jt, G as Se, H as Wi, I as
|
|
3
|
+
import { o as hi, d as b, n as F, u as fi, a as bi, b as yi, c as $i, e as xi, l as W, f as Nt, g as mi, h as wi, s as vi, i as pe, _ as E, $ as ki, j as Ci, k as Si, m as zi, p as Ii, q as Ni, r as Ti, t as Fi, v as Tt, C as Ft, w as Di, x as ji, y as Li, z as it, A as Ce, B as Ei, D as Ri, E as Dt, F as jt, G as Se, H as Wi, I as Ai, J as Pi, K as Vi, L as Hi, M as oe, N as Bi, O as Lt, P as Oi, Q as Et, R as Mi, S as Gi, T as _i, U as Ui, V as Yi, W as Rt, X as Ki, Y as nt, Z as at, a0 as rt, a1 as qi, a2 as Xi, a3 as Ji, a4 as Zi, a5 as Wt, a6 as Qi, a7 as en, a8 as tn, a9 as At, aa as nn, ab as an, ac as rn, ad as on, ae as ln, ag as sn, ah as Pt, ai as cn, aj as dn, ak as pn, al as gn, am as un, an as hn, ao as fn, ap as bn, aq as ot, ar as yn, as as lt, at as $n } from "./vendor-CxCOfBAY.mjs";
|
|
4
4
|
import { createPortal as Q } from "react-dom";
|
|
5
5
|
import { Link as xn, useLocation as mn, NavLink as wn } from "react-router-dom";
|
|
6
6
|
const ne = (e) => ({
|
|
@@ -224,7 +224,7 @@ const ne = (e) => ({
|
|
|
224
224
|
4.5: "4.5rem",
|
|
225
225
|
5: "5rem",
|
|
226
226
|
6: "6rem"
|
|
227
|
-
},
|
|
227
|
+
}, Pl = [
|
|
228
228
|
"lock-keyhole",
|
|
229
229
|
"bars-sort",
|
|
230
230
|
"bolt",
|
|
@@ -428,7 +428,7 @@ const ne = (e) => ({
|
|
|
428
428
|
${De}
|
|
429
429
|
${Te}
|
|
430
430
|
${je}
|
|
431
|
-
`,
|
|
431
|
+
`, An = b(ge)`
|
|
432
432
|
${({ theme: e, $center: t = !1, $styleMd: n, $styleSm: a }) => `
|
|
433
433
|
${t ? "margin: auto;" : ""}
|
|
434
434
|
scrollbar-color: ${e.palette.gray[600]} ${e.palette.gray[100]};
|
|
@@ -457,7 +457,7 @@ const ne = (e) => ({
|
|
|
457
457
|
...d
|
|
458
458
|
}, p) {
|
|
459
459
|
return /* @__PURE__ */ i(
|
|
460
|
-
|
|
460
|
+
An,
|
|
461
461
|
{
|
|
462
462
|
$center: n,
|
|
463
463
|
$styleMd: s,
|
|
@@ -471,7 +471,7 @@ const ne = (e) => ({
|
|
|
471
471
|
children: a
|
|
472
472
|
}
|
|
473
473
|
);
|
|
474
|
-
}),
|
|
474
|
+
}), Pn = b(Ht)`
|
|
475
475
|
${({
|
|
476
476
|
theme: e,
|
|
477
477
|
$bgGradient: t = "unset",
|
|
@@ -601,7 +601,7 @@ const ne = (e) => ({
|
|
|
601
601
|
...w
|
|
602
602
|
}, k) {
|
|
603
603
|
return /* @__PURE__ */ i(
|
|
604
|
-
|
|
604
|
+
Pn,
|
|
605
605
|
{
|
|
606
606
|
$bgGradient: t,
|
|
607
607
|
$color: r,
|
|
@@ -2399,11 +2399,11 @@ const z = G(function({
|
|
|
2399
2399
|
var tt;
|
|
2400
2400
|
const w = F(), k = t ? void 0 : n, T = (e == null ? void 0 : e.value) ?? y, [N, C] = D(
|
|
2401
2401
|
((tt = d.find((V) => V.value === T)) == null ? void 0 : tt.name) ?? ""
|
|
2402
|
-
), [R, L] = D(T), [O, _] = D(d), [
|
|
2403
|
-
(V) => K(V.name, N) ||
|
|
2404
|
-
), [K, N, d,
|
|
2402
|
+
), [R, L] = D(T), [O, _] = D(d), [P, A] = D(!1), { contains: K } = zi({ sensitivity: "base" }), J = H(null), se = H(null), We = H(null), Ze = H(null), Qe = H(null), ti = Z(() => d.map(
|
|
2403
|
+
(V) => K(V.name, N) || P ? /* @__PURE__ */ i(Ii, { children: V.name }, V.value) : null
|
|
2404
|
+
), [K, N, d, P]), ii = v(
|
|
2405
2405
|
(V) => {
|
|
2406
|
-
C(V), V === "" ?
|
|
2406
|
+
C(V), V === "" ? A(!0) : (A(!1), L((X) => {
|
|
2407
2407
|
const be = V === "" ? "" : X;
|
|
2408
2408
|
return e && e.onChange(be), g && g(V), be;
|
|
2409
2409
|
}), _(d.filter((X) => K(X.name, V))));
|
|
@@ -2417,7 +2417,7 @@ const z = G(function({
|
|
|
2417
2417
|
[d, e, g]
|
|
2418
2418
|
), et = v(
|
|
2419
2419
|
(V) => {
|
|
2420
|
-
V.key === "Enter" && V.preventDefault(),
|
|
2420
|
+
V.key === "Enter" && V.preventDefault(), A(!1);
|
|
2421
2421
|
},
|
|
2422
2422
|
[]
|
|
2423
2423
|
), ai = v(() => {
|
|
@@ -2434,10 +2434,10 @@ const z = G(function({
|
|
|
2434
2434
|
onKeyDown: et,
|
|
2435
2435
|
// eslint-disable-next-line functional/functional-parameters
|
|
2436
2436
|
onKeyUp: () => {
|
|
2437
|
-
|
|
2437
|
+
A(!0);
|
|
2438
2438
|
},
|
|
2439
2439
|
onOpenChange(V, X) {
|
|
2440
|
-
|
|
2440
|
+
A(
|
|
2441
2441
|
V && (X === "manual" || X === "focus")
|
|
2442
2442
|
);
|
|
2443
2443
|
},
|
|
@@ -2984,7 +2984,7 @@ const z = G(function({
|
|
|
2984
2984
|
...n,
|
|
2985
2985
|
createCalendar: Se,
|
|
2986
2986
|
locale: "en-US"
|
|
2987
|
-
}), { fieldProps: l } =
|
|
2987
|
+
}), { fieldProps: l } = Ai(n, o, r), s = v(
|
|
2988
2988
|
(c) => {
|
|
2989
2989
|
const d = document.getElementsByClassName("segment-cell"), p = c.currentTarget;
|
|
2990
2990
|
Object.values(d).some(
|
|
@@ -3023,7 +3023,7 @@ const z = G(function({
|
|
|
3023
3023
|
) : void 0
|
|
3024
3024
|
] });
|
|
3025
3025
|
}, za = (e) => {
|
|
3026
|
-
const t = H(null), n =
|
|
3026
|
+
const t = H(null), n = Pi({
|
|
3027
3027
|
...e,
|
|
3028
3028
|
locale: "en-US",
|
|
3029
3029
|
shouldForceLeadingZeros: !0
|
|
@@ -3521,8 +3521,8 @@ const z = G(function({
|
|
|
3521
3521
|
...k
|
|
3522
3522
|
}) => {
|
|
3523
3523
|
const { required: T, onBlur: N, onChange: C } = k, R = F(), L = e ? void 0 : o, O = l && s && !e, _ = v(
|
|
3524
|
-
(
|
|
3525
|
-
|
|
3524
|
+
(P) => {
|
|
3525
|
+
P.key === "Enter" && P.preventDefault();
|
|
3526
3526
|
},
|
|
3527
3527
|
[]
|
|
3528
3528
|
);
|
|
@@ -3595,7 +3595,7 @@ const z = G(function({
|
|
|
3595
3595
|
text-overflow: ellipsis;
|
|
3596
3596
|
overflow: hidden;
|
|
3597
3597
|
max-width: 80%;
|
|
3598
|
-
`,
|
|
3598
|
+
`, Aa = b.input`
|
|
3599
3599
|
opacity: 0;
|
|
3600
3600
|
position: absolute;
|
|
3601
3601
|
visibility: hidden;
|
|
@@ -3605,7 +3605,7 @@ const z = G(function({
|
|
|
3605
3605
|
return Object.defineProperty(a, "target", {
|
|
3606
3606
|
value: { name: t, value: n }
|
|
3607
3607
|
}), a;
|
|
3608
|
-
},
|
|
3608
|
+
}, Pa = (e) => {
|
|
3609
3609
|
const t = e;
|
|
3610
3610
|
return t ? Array.from(t).map((n) => n.name).join(", ") : "";
|
|
3611
3611
|
}, Yl = ({
|
|
@@ -3626,19 +3626,19 @@ const z = G(function({
|
|
|
3626
3626
|
watch: $,
|
|
3627
3627
|
weight: y
|
|
3628
3628
|
}) => {
|
|
3629
|
-
const m = F(), w = t ? void 0 : n, k = H(null), T = $ == null ? void 0 : $(c), N =
|
|
3629
|
+
const m = F(), w = t ? void 0 : n, k = H(null), T = $ == null ? void 0 : $(c), N = Pa(T), C = g == null ? void 0 : g(c, { required: p }), R = v(() => {
|
|
3630
3630
|
const _ = He("change", c, void 0);
|
|
3631
3631
|
u && u(c, ""), C && C.onChange(_);
|
|
3632
3632
|
}, [C, c, u]), L = v(
|
|
3633
3633
|
(_) => {
|
|
3634
|
-
const { files:
|
|
3634
|
+
const { files: P } = _.currentTarget, A = He(
|
|
3635
3635
|
"change",
|
|
3636
3636
|
c,
|
|
3637
|
-
|
|
3637
|
+
P && P.length > 0 ? P : void 0
|
|
3638
3638
|
);
|
|
3639
3639
|
d == null || d(
|
|
3640
|
-
|
|
3641
|
-
), C && C.onChange(
|
|
3640
|
+
A
|
|
3641
|
+
), C && C.onChange(A);
|
|
3642
3642
|
},
|
|
3643
3643
|
[C, c, d]
|
|
3644
3644
|
), O = v(
|
|
@@ -3709,7 +3709,7 @@ const z = G(function({
|
|
|
3709
3709
|
}
|
|
3710
3710
|
),
|
|
3711
3711
|
/* @__PURE__ */ i(
|
|
3712
|
-
|
|
3712
|
+
Aa,
|
|
3713
3713
|
{
|
|
3714
3714
|
...C && {
|
|
3715
3715
|
ref: C.ref,
|
|
@@ -3757,31 +3757,31 @@ const z = G(function({
|
|
|
3757
3757
|
weight: $
|
|
3758
3758
|
}) => {
|
|
3759
3759
|
const y = F(), m = e ? void 0 : t, [w, k] = D(""), T = c ? f : n == null ? void 0 : n.value, N = Z(() => T && typeof T == "string" ? T.split(",").filter(Boolean) : [], [T]), C = v(
|
|
3760
|
-
(
|
|
3761
|
-
const K = [...new Set(
|
|
3760
|
+
(P) => {
|
|
3761
|
+
const K = [...new Set(P.filter(Boolean))].join(","), J = He("change", s, K);
|
|
3762
3762
|
n && n.onChange(J), c && c(J);
|
|
3763
3763
|
},
|
|
3764
3764
|
[n, s, c]
|
|
3765
3765
|
), R = v(
|
|
3766
|
-
(
|
|
3767
|
-
k(
|
|
3766
|
+
(P) => {
|
|
3767
|
+
k(P.target.value);
|
|
3768
3768
|
},
|
|
3769
3769
|
[]
|
|
3770
3770
|
), L = v(
|
|
3771
|
-
(
|
|
3772
|
-
const
|
|
3773
|
-
|
|
3771
|
+
(P) => {
|
|
3772
|
+
const A = w.trim();
|
|
3773
|
+
A.length && !N.includes(A) && (P.preventDefault(), C([...N, A]), k("")), n && n.onBlur();
|
|
3774
3774
|
},
|
|
3775
3775
|
[w, n, C, N]
|
|
3776
3776
|
), O = v(
|
|
3777
|
-
(
|
|
3778
|
-
const
|
|
3779
|
-
|
|
3777
|
+
(P) => {
|
|
3778
|
+
const A = w.trim();
|
|
3779
|
+
P.key === "Enter" && A.length === 0 && P.preventDefault(), ["Enter", ","].includes(P.key) && A.length > 0 && !N.includes(A) ? (P.preventDefault(), C([...N, A]), k("")) : P.key === "Backspace" && !A.length && N.length && (P.preventDefault(), d == null || d(N[N.length - 1]), C(N.slice(0, -1)));
|
|
3780
3780
|
},
|
|
3781
3781
|
[w, d, C, N]
|
|
3782
3782
|
), _ = v(
|
|
3783
|
-
(
|
|
3784
|
-
d == null || d(
|
|
3783
|
+
(P) => () => {
|
|
3784
|
+
d == null || d(P), C(N.filter((A) => A !== P));
|
|
3785
3785
|
},
|
|
3786
3786
|
[d, C, N]
|
|
3787
3787
|
);
|
|
@@ -3803,14 +3803,14 @@ const z = G(function({
|
|
|
3803
3803
|
$overflowX: "auto",
|
|
3804
3804
|
className: `${e ? "disabled" : ""} ${m ? "error" : ""}`,
|
|
3805
3805
|
children: [
|
|
3806
|
-
N.map((
|
|
3806
|
+
N.map((P) => /* @__PURE__ */ i(
|
|
3807
3807
|
ae,
|
|
3808
3808
|
{
|
|
3809
3809
|
disabled: e,
|
|
3810
|
-
onClose: _(
|
|
3811
|
-
tagLabel:
|
|
3810
|
+
onClose: _(P),
|
|
3811
|
+
tagLabel: P
|
|
3812
3812
|
},
|
|
3813
|
-
|
|
3813
|
+
P
|
|
3814
3814
|
)),
|
|
3815
3815
|
/* @__PURE__ */ i(
|
|
3816
3816
|
Va,
|
|
@@ -4267,19 +4267,19 @@ const z = G(function({
|
|
|
4267
4267
|
forceDialCode: !0,
|
|
4268
4268
|
value: c ? String(c) : void 0
|
|
4269
4269
|
}), L = v(() => {
|
|
4270
|
-
$((
|
|
4270
|
+
$((A) => !A), f || m("");
|
|
4271
4271
|
}, [f]), O = v(
|
|
4272
|
-
(
|
|
4273
|
-
R(
|
|
4272
|
+
(A) => () => {
|
|
4273
|
+
R(A), $(!1), m("");
|
|
4274
4274
|
},
|
|
4275
4275
|
[R, $]
|
|
4276
4276
|
), _ = v(
|
|
4277
|
-
(
|
|
4278
|
-
|
|
4277
|
+
(A) => {
|
|
4278
|
+
A.key.length === 1 ? m((K) => K + A.key) : A.key === "Backspace" && m((K) => K.slice(0, -1));
|
|
4279
4279
|
},
|
|
4280
4280
|
[]
|
|
4281
|
-
),
|
|
4282
|
-
const { name: K } = at(
|
|
4281
|
+
), P = nt.filter((A) => {
|
|
4282
|
+
const { name: K } = at(A);
|
|
4283
4283
|
return K.toLowerCase().includes(y.toLowerCase());
|
|
4284
4284
|
});
|
|
4285
4285
|
return ue(
|
|
@@ -4366,8 +4366,8 @@ const z = G(function({
|
|
|
4366
4366
|
}
|
|
4367
4367
|
),
|
|
4368
4368
|
f && Q(
|
|
4369
|
-
/* @__PURE__ */ i(Ga, { ref: w.setFloating, style: k, children:
|
|
4370
|
-
const { dialCode: K, iso2: J, name: se } = at(
|
|
4369
|
+
/* @__PURE__ */ i(Ga, { ref: w.setFloating, style: k, children: P.map((A) => {
|
|
4370
|
+
const { dialCode: K, iso2: J, name: se } = at(A);
|
|
4371
4371
|
return /* @__PURE__ */ h(
|
|
4372
4372
|
_a,
|
|
4373
4373
|
{
|
|
@@ -5461,11 +5461,6 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5461
5461
|
padding: ${({ theme: e }) => `${e.spacing[1.25]}`};
|
|
5462
5462
|
padding-bottom: ${({ theme: e }) => `${e.spacing[1.5]}`};
|
|
5463
5463
|
position: sticky;
|
|
5464
|
-
|
|
5465
|
-
span {
|
|
5466
|
-
overflow: auto;
|
|
5467
|
-
max-height: 60vh;
|
|
5468
|
-
}
|
|
5469
5464
|
`, hr = b.div.attrs({
|
|
5470
5465
|
className: "flex items-center justify-between"
|
|
5471
5466
|
})``, fr = b.div`
|
|
@@ -6444,7 +6439,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6444
6439
|
`, Qt = b(Y)`
|
|
6445
6440
|
background-color: ${({ theme: e }) => e.palette.white};
|
|
6446
6441
|
color: ${({ theme: e }) => e.palette.gray[400]};
|
|
6447
|
-
`,
|
|
6442
|
+
`, Ar = ({
|
|
6448
6443
|
control: e,
|
|
6449
6444
|
option: t,
|
|
6450
6445
|
register: n,
|
|
@@ -6570,7 +6565,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6570
6565
|
default:
|
|
6571
6566
|
return /* @__PURE__ */ i("div", {});
|
|
6572
6567
|
}
|
|
6573
|
-
},
|
|
6568
|
+
}, Pr = ({
|
|
6574
6569
|
control: e,
|
|
6575
6570
|
items: t,
|
|
6576
6571
|
register: n,
|
|
@@ -6579,7 +6574,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6579
6574
|
const l = `${r.type}-${r.value}-${r.filterFn ?? "default"}`;
|
|
6580
6575
|
return /* @__PURE__ */ h("div", { children: [
|
|
6581
6576
|
/* @__PURE__ */ i(
|
|
6582
|
-
|
|
6577
|
+
Ar,
|
|
6583
6578
|
{
|
|
6584
6579
|
control: e,
|
|
6585
6580
|
option: r,
|
|
@@ -6591,7 +6586,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6591
6586
|
] }, l);
|
|
6592
6587
|
}) }), Vr = (e) => {
|
|
6593
6588
|
var s, c, d, p, g;
|
|
6594
|
-
const [t, n] = D([...e]), { control: a, register: r, handleSubmit: o, setValue: l } =
|
|
6589
|
+
const [t, n] = D([...e]), { control: a, register: r, handleSubmit: o, setValue: l } = At({
|
|
6595
6590
|
defaultValues: {
|
|
6596
6591
|
checkbox: e.filter((u) => u.type === "checkboxes").flatMap(
|
|
6597
6592
|
(u) => {
|
|
@@ -6695,7 +6690,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6695
6690
|
p && /* @__PURE__ */ i(ke, { onChange: g }),
|
|
6696
6691
|
/* @__PURE__ */ h("form", { id: n, onSubmit: c(u), children: [
|
|
6697
6692
|
/* @__PURE__ */ i(
|
|
6698
|
-
|
|
6693
|
+
Pr,
|
|
6699
6694
|
{
|
|
6700
6695
|
control: r,
|
|
6701
6696
|
items: o,
|
|
@@ -7329,7 +7324,7 @@ const ye = ({
|
|
|
7329
7324
|
}, []);
|
|
7330
7325
|
return M(() => {
|
|
7331
7326
|
o.setIsOpen(e);
|
|
7332
|
-
}, [e, o]), { ConfirmDialog: ({ id: p = "confirm-dialog-modal", children: g }) => /* @__PURE__ */
|
|
7327
|
+
}, [e, o]), { ConfirmDialog: ({ id: p = "confirm-dialog-modal", children: g }) => /* @__PURE__ */ h(
|
|
7333
7328
|
Jr,
|
|
7334
7329
|
{
|
|
7335
7330
|
confirmButton: {
|
|
@@ -7345,7 +7340,10 @@ const ye = ({
|
|
|
7345
7340
|
modalRef: { ...o, close: c },
|
|
7346
7341
|
size: "sm",
|
|
7347
7342
|
title: n == null ? void 0 : n.title,
|
|
7348
|
-
children:
|
|
7343
|
+
children: [
|
|
7344
|
+
n == null ? void 0 : n.content,
|
|
7345
|
+
g
|
|
7346
|
+
]
|
|
7349
7347
|
}
|
|
7350
7348
|
), confirm: l };
|
|
7351
7349
|
}, Zr = b.button`
|
|
@@ -7892,7 +7890,7 @@ const ye = ({
|
|
|
7892
7890
|
yupSchema: p,
|
|
7893
7891
|
...g
|
|
7894
7892
|
}) => {
|
|
7895
|
-
const u = F(), f =
|
|
7893
|
+
const u = F(), f = At({
|
|
7896
7894
|
...g,
|
|
7897
7895
|
mode: s ?? "all",
|
|
7898
7896
|
resolver: p ? ln(p) : void 0
|
|
@@ -8817,14 +8815,14 @@ const ye = ({
|
|
|
8817
8815
|
red: `stroke: ${e.palette.primary[500]};`,
|
|
8818
8816
|
white: `stroke: ${e.palette.white};`
|
|
8819
8817
|
})
|
|
8820
|
-
), zo =
|
|
8818
|
+
), zo = Pt`
|
|
8821
8819
|
0% {
|
|
8822
8820
|
transform: rotateZ(0deg);
|
|
8823
8821
|
}
|
|
8824
8822
|
100% {
|
|
8825
8823
|
transform: rotateZ(360deg)
|
|
8826
8824
|
}
|
|
8827
|
-
`, Io =
|
|
8825
|
+
`, Io = Pt`
|
|
8828
8826
|
0%,
|
|
8829
8827
|
25% {
|
|
8830
8828
|
stroke-dashoffset: 280;
|
|
@@ -9123,7 +9121,7 @@ const ye = ({
|
|
|
9123
9121
|
right: 16px;
|
|
9124
9122
|
}
|
|
9125
9123
|
`}
|
|
9126
|
-
`,
|
|
9124
|
+
`, Ao = b.div`
|
|
9127
9125
|
${({ theme: e, $variant: t }) => `
|
|
9128
9126
|
height: ${e.spacing[2.5]};
|
|
9129
9127
|
width: ${e.spacing[2.5]};
|
|
@@ -9154,7 +9152,7 @@ const ye = ({
|
|
|
9154
9152
|
color: ${e.palette[t][500]};
|
|
9155
9153
|
}
|
|
9156
9154
|
`}
|
|
9157
|
-
`,
|
|
9155
|
+
`, Po = (e) => e === "warning" ? "triangle-exclamation" : e === "info" ? "circle-info" : e === "success" ? "circle-check" : "circle-exclamation", Fs = ({
|
|
9158
9156
|
description: e,
|
|
9159
9157
|
onClose: t,
|
|
9160
9158
|
title: n,
|
|
@@ -9170,13 +9168,13 @@ const ye = ({
|
|
|
9170
9168
|
className: `notification notification__${a}`,
|
|
9171
9169
|
role: "alertdialog",
|
|
9172
9170
|
children: [
|
|
9173
|
-
/* @__PURE__ */ h(
|
|
9171
|
+
/* @__PURE__ */ h(Ao, { $variant: a, children: [
|
|
9174
9172
|
/* @__PURE__ */ i(z, { icon: "circle", iconClass: "ellipse-1", iconSize: "xs" }),
|
|
9175
9173
|
/* @__PURE__ */ i(z, { icon: "circle", iconClass: "ellipse-2", iconSize: "xs" }),
|
|
9176
9174
|
/* @__PURE__ */ i(
|
|
9177
9175
|
z,
|
|
9178
9176
|
{
|
|
9179
|
-
icon:
|
|
9177
|
+
icon: Po(a),
|
|
9180
9178
|
iconClass: "icon",
|
|
9181
9179
|
iconSize: "xs",
|
|
9182
9180
|
iconType: "fa-light"
|
|
@@ -10022,7 +10020,7 @@ const Go = {
|
|
|
10022
10020
|
width: 100%;
|
|
10023
10021
|
}
|
|
10024
10022
|
}
|
|
10025
|
-
`, Qo = (e) => e * 1e3 / 100,
|
|
10023
|
+
`, Qo = (e) => e * 1e3 / 100, As = ({
|
|
10026
10024
|
progressTime: e = 10,
|
|
10027
10025
|
onComplete: t
|
|
10028
10026
|
}) => {
|
|
@@ -10054,7 +10052,7 @@ const Go = {
|
|
|
10054
10052
|
position: fixed;
|
|
10055
10053
|
right: 140px;
|
|
10056
10054
|
z-index: 100;
|
|
10057
|
-
`,
|
|
10055
|
+
`, Ps = ({
|
|
10058
10056
|
scrollerId: e = "dashboard",
|
|
10059
10057
|
visibleAt: t = 500
|
|
10060
10058
|
}) => {
|
|
@@ -10228,7 +10226,7 @@ const Go = {
|
|
|
10228
10226
|
background-color: ${e.palette.gray[100]};
|
|
10229
10227
|
}
|
|
10230
10228
|
`}
|
|
10231
|
-
`,
|
|
10229
|
+
`, Ae = b.div.attrs({ className: "dropdown" })`
|
|
10232
10230
|
${({ theme: e, $empty: t = !1, $showHits: n = !1 }) => `
|
|
10233
10231
|
align-items: flex-start;
|
|
10234
10232
|
align-self: stretch;
|
|
@@ -10271,7 +10269,7 @@ const Go = {
|
|
|
10271
10269
|
height: ${e.spacing[0.5]};
|
|
10272
10270
|
}
|
|
10273
10271
|
`}
|
|
10274
|
-
`,
|
|
10272
|
+
`, Pe = ({
|
|
10275
10273
|
hit: e,
|
|
10276
10274
|
icon: t = "infinity",
|
|
10277
10275
|
showIcon: n = !1
|
|
@@ -10411,7 +10409,7 @@ const Go = {
|
|
|
10411
10409
|
]
|
|
10412
10410
|
}
|
|
10413
10411
|
),
|
|
10414
|
-
l && r.length < 2 && /* @__PURE__ */ h(
|
|
10412
|
+
l && r.length < 2 && /* @__PURE__ */ h(Ae, { children: [
|
|
10415
10413
|
/* @__PURE__ */ i(
|
|
10416
10414
|
S,
|
|
10417
10415
|
{
|
|
@@ -10424,7 +10422,7 @@ const Go = {
|
|
|
10424
10422
|
}
|
|
10425
10423
|
),
|
|
10426
10424
|
/* @__PURE__ */ i("div", { className: "flex flex-col items-start self-stretch", children: ll.map(({ hit: w, icon: k }, T) => /* @__PURE__ */ i(
|
|
10427
|
-
|
|
10425
|
+
Pe,
|
|
10428
10426
|
{
|
|
10429
10427
|
hit: w,
|
|
10430
10428
|
icon: k,
|
|
@@ -10444,7 +10442,7 @@ const Go = {
|
|
|
10444
10442
|
}
|
|
10445
10443
|
),
|
|
10446
10444
|
/* @__PURE__ */ i(
|
|
10447
|
-
|
|
10445
|
+
Pe,
|
|
10448
10446
|
{
|
|
10449
10447
|
hit: zt.hit,
|
|
10450
10448
|
icon: zt.icon,
|
|
@@ -10452,7 +10450,7 @@ const Go = {
|
|
|
10452
10450
|
}
|
|
10453
10451
|
)
|
|
10454
10452
|
] }),
|
|
10455
|
-
p && e.length > 0 && /* @__PURE__ */ h(
|
|
10453
|
+
p && e.length > 0 && /* @__PURE__ */ h(Ae, { $showHits: p, children: [
|
|
10456
10454
|
/* @__PURE__ */ i(
|
|
10457
10455
|
S,
|
|
10458
10456
|
{
|
|
@@ -10464,9 +10462,9 @@ const Go = {
|
|
|
10464
10462
|
children: "Results"
|
|
10465
10463
|
}
|
|
10466
10464
|
),
|
|
10467
|
-
/* @__PURE__ */ i("div", { className: "flex flex-col items-start self-stretch", children: e.map((w) => /* @__PURE__ */ i(
|
|
10465
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col items-start self-stretch", children: e.map((w) => /* @__PURE__ */ i(Pe, { hit: w }, w.objectID)) })
|
|
10468
10466
|
] }),
|
|
10469
|
-
p && e.length === 0 && /* @__PURE__ */ i(
|
|
10467
|
+
p && e.length === 0 && /* @__PURE__ */ i(Ae, { $empty: e.length === 0, children: /* @__PURE__ */ h("div", { className: "items-center flex flex-col gap-4 py-[90px] w-full", children: [
|
|
10470
10468
|
/* @__PURE__ */ i(
|
|
10471
10469
|
te,
|
|
10472
10470
|
{
|
|
@@ -11710,7 +11708,7 @@ export {
|
|
|
11710
11708
|
vs as a8,
|
|
11711
11709
|
ks as a9,
|
|
11712
11710
|
qt as aA,
|
|
11713
|
-
|
|
11711
|
+
Ps as aB,
|
|
11714
11712
|
ke as aC,
|
|
11715
11713
|
Vs as aD,
|
|
11716
11714
|
Hs as aE,
|
|
@@ -11759,7 +11757,7 @@ export {
|
|
|
11759
11757
|
St as au,
|
|
11760
11758
|
Yo as av,
|
|
11761
11759
|
Rs as aw,
|
|
11762
|
-
|
|
11760
|
+
As as ax,
|
|
11763
11761
|
Ws as ay,
|
|
11764
11762
|
Es as az,
|
|
11765
11763
|
Ht as b,
|
|
@@ -11786,7 +11784,7 @@ export {
|
|
|
11786
11784
|
Oo as bK,
|
|
11787
11785
|
Ls as bL,
|
|
11788
11786
|
_o as bM,
|
|
11789
|
-
|
|
11787
|
+
Pe as bN,
|
|
11790
11788
|
xe as bO,
|
|
11791
11789
|
pl as bP,
|
|
11792
11790
|
yl as bQ,
|
|
@@ -11810,8 +11808,8 @@ export {
|
|
|
11810
11808
|
zr as bq,
|
|
11811
11809
|
Fr as br,
|
|
11812
11810
|
Rr as bs,
|
|
11813
|
-
|
|
11814
|
-
|
|
11811
|
+
Ar as bt,
|
|
11812
|
+
Pr as bu,
|
|
11815
11813
|
Vr as bv,
|
|
11816
11814
|
$t as bw,
|
|
11817
11815
|
Oe as bx,
|
|
@@ -11840,5 +11838,5 @@ export {
|
|
|
11840
11838
|
ns as w,
|
|
11841
11839
|
Hl as x,
|
|
11842
11840
|
I as y,
|
|
11843
|
-
|
|
11841
|
+
Pl as z
|
|
11844
11842
|
};
|
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-BmTW6a80.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-BmTW6a80.js"),t=require("./vendor-Fd8GJpo1.js");exports.Accordion=e.Accordion;exports.Alert=e.Alert;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.ColumnsModal=e.ColumnsModal;exports.ComboBox=e.ComboBox;exports.Container=e.Container;exports.CustomThemeProvider=e.CustomThemeProvider;exports.Divider=e.Divider;exports.Editable=e.Editable;exports.EmptyState=e.EmptyState;exports.FilePreview=e.FilePreview;exports.Filters=e.Filters;exports.Form=e.Form;exports.FormItem=e.FormItem;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.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.InteractiveCard=e.InteractiveCard;exports.LanguageSelector=e.LanguageSelector;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.LogoCarousel=e.LogoCarousel;exports.Menu=e.Menu;exports.MessageBanner=e.MessageBanner;exports.Modal=e.Modal;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.Progress=e.Progress;exports.ProgressBar=e.ProgressBar;exports.RadioButton=e.RadioButton;exports.Row=e.Row;exports.ScrollUpButton=e.ScrollUpButton;exports.Search=e.Search;exports.SearchBar=e.SearchBar;exports.SeverityBadge=e.SeverityBadge;exports.SeverityOverview=e.SeverityOverview;exports.ShowOnHover=e.ShowOnHover;exports.SingleColumFilters=e.SingleColumFilters;exports.SlideOutMenu=e.SlideOutMenu;exports.Slider=e.Slider;exports.Span=e.Span;exports.StepLapse=e.StepLapse;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.ToggleButton=e.ToggleButton;exports.Tooltip=e.Tooltip;exports.Tour=e.Tour;exports.TwoColumnsFilters=e.TwoColumnsFilters;exports.WebForm=e.WebForm;exports.baseStep=e.baseStep;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.useConfirmDialog=e.useConfirmDialog;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useModal=e.useModal;exports.useSearch=e.useSearch;exports.variantBuilder=e.variantBuilder;exports.useFormContext=t.useFormContext;exports.useWatch=t.useWatch;
|
package/package.json
CHANGED