@fluidattacks/design 3.25.10 → 3.25.12
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/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.d.ts +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/code-snippet/index.stories.d.ts +2 -1
- package/dist/components/code-snippet/location-code/index.js +1 -1
- package/dist/components/code-snippet/types.d.ts +2 -0
- 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.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-4TWeBEhl.js → components-ChvbGJx4.js} +14 -14
- package/dist/{components-QKaFt2CY.mjs → components-DiW1fi8M.mjs} +59 -56
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{vendor-D8KIL_Kx.mjs → vendor-Nr1PjBcL.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as f, Fragment as et } from "react/jsx-runtime";
|
|
2
2
|
import tt, { forwardRef as Z, useState as R, useCallback as v, StrictMode as Fn, useEffect as U, useRef as B, useMemo as K, Fragment as ye, Children as Xe, isValidElement as Ut, cloneElement as Gt, createContext as En, useContext as he } from "react";
|
|
3
|
-
import { X as Rn, s as b, J as E, u as _t, a as jn, b as Ln, c as An, d as Pn, l as M, e as nt, f as On, o as it, 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 at, 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
|
|
3
|
+
import { X as Rn, s as b, J as E, u as _t, a as jn, b as Ln, c as An, d as Pn, l as M, e as nt, f as On, o as it, 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 at, 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 ne, N as ri, O as Xt, P as oi, Q as qt, R as li, S as si, T as ci, U as di, V as pi, W as gi, Y as rt, Z as ui, a0 as $t, a1 as bt, a2 as xt, a3 as hi, a4 as fi, a5 as yi, a6 as $i, a7 as bi, 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 qe, ax as Oi, ay as mt, az as Wi, aA as wt, aB as Hi } from "./vendor-Nr1PjBcL.mjs";
|
|
4
4
|
import { createPortal as $e } from "react-dom";
|
|
5
5
|
import { Link as Mi, useLocation as Bi, NavLink as Vi } from "react-router-dom";
|
|
6
6
|
const oe = (e) => ({
|
|
@@ -2727,19 +2727,12 @@ const F = Z(function({
|
|
|
2727
2727
|
var ht;
|
|
2728
2728
|
const j = E(), T = t ? void 0 : a, z = (e == null ? void 0 : e.value) ?? S, [O, D] = R(
|
|
2729
2729
|
((ht = g.find((H) => H.value === z)) == null ? void 0 : ht.name) ?? ""
|
|
2730
|
-
), [W,
|
|
2731
|
-
de(
|
|
2732
|
-
Ye.current,
|
|
2733
|
-
() => ie.close(),
|
|
2734
|
-
!0,
|
|
2735
|
-
Ke.current
|
|
2736
|
-
);
|
|
2737
|
-
const wn = K(() => g.toSorted((H, q) => {
|
|
2730
|
+
), [W, ie] = R(z), [re, ge] = R(g), [G, X] = R(!1), { contains: Y } = Un({ sensitivity: "base" }), be = B(null), Ge = B(null), _e = B(null), Ye = B(null), Ke = B(null), wn = K(() => g.toSorted((H, q) => {
|
|
2738
2731
|
const J = Array.from(n ?? []), xe = J.includes(H.value), ft = J.includes(q.value);
|
|
2739
2732
|
return xe && !ft ? 1 : !xe && ft ? -1 : 0;
|
|
2740
2733
|
}).map(
|
|
2741
2734
|
(H) => Y(H.name, O) || G ? /* @__PURE__ */ i(
|
|
2742
|
-
|
|
2735
|
+
Gn,
|
|
2743
2736
|
{
|
|
2744
2737
|
"aria-label": H.value,
|
|
2745
2738
|
hrefLang: H.href,
|
|
@@ -2751,7 +2744,7 @@ const F = Z(function({
|
|
|
2751
2744
|
), [Y, n, O, g, G]), vn = v(
|
|
2752
2745
|
(H) => {
|
|
2753
2746
|
const q = H.split(/,|\s/u).slice(-1)[0].trim();
|
|
2754
|
-
D(p ? q : H), H === "" || H.endsWith(",") ? X(!0) : (X(!1),
|
|
2747
|
+
D(p ? q : H), H === "" || H.endsWith(",") ? X(!0) : (X(!1), ie((J) => {
|
|
2755
2748
|
const xe = H === "" ? "" : J;
|
|
2756
2749
|
return e && e.onChange(xe), h && h(H), xe;
|
|
2757
2750
|
}), ge(
|
|
@@ -2764,7 +2757,7 @@ const F = Z(function({
|
|
|
2764
2757
|
), kn = v(
|
|
2765
2758
|
(H) => {
|
|
2766
2759
|
var q;
|
|
2767
|
-
D(((q = g.find((J) => J.value === H)) == null ? void 0 : q.name) ?? ""),
|
|
2760
|
+
D(((q = g.find((J) => J.value === H)) == null ? void 0 : q.name) ?? ""), ie(H ? String(H) : ""), e && e.onChange(H), h && h(H ? String(H) : ""), ge(g);
|
|
2768
2761
|
},
|
|
2769
2762
|
[g, e, h]
|
|
2770
2763
|
), ut = v(
|
|
@@ -2776,7 +2769,7 @@ const F = Z(function({
|
|
|
2776
2769
|
u && u(), e && e.onBlur();
|
|
2777
2770
|
}, [e, u]), Sn = v(() => {
|
|
2778
2771
|
X(!0);
|
|
2779
|
-
}, []),
|
|
2772
|
+
}, []), te = _n({
|
|
2780
2773
|
allowsCustomValue: p,
|
|
2781
2774
|
allowsEmptyCollection: !0,
|
|
2782
2775
|
disabledKeys: n,
|
|
@@ -2815,13 +2808,20 @@ const F = Z(function({
|
|
|
2815
2808
|
placeholder: y,
|
|
2816
2809
|
popoverRef: Ke
|
|
2817
2810
|
},
|
|
2818
|
-
|
|
2819
|
-
), { listBoxProps: Nn } = Kn(Tn,
|
|
2820
|
-
return
|
|
2811
|
+
te
|
|
2812
|
+
), { listBoxProps: Nn } = Kn(Tn, te, _e), { buttonProps: Dn } = Yt(zn, Ge);
|
|
2813
|
+
return de(
|
|
2814
|
+
Ye.current,
|
|
2815
|
+
() => {
|
|
2816
|
+
te.isOpen && te.close();
|
|
2817
|
+
},
|
|
2818
|
+
!0,
|
|
2819
|
+
Ke.current
|
|
2820
|
+
), U(() => {
|
|
2821
2821
|
var H;
|
|
2822
2822
|
if ((c === !1 || !z) && !p) {
|
|
2823
2823
|
const q = ((H = g.find((J) => J.value === z)) == null ? void 0 : H.name) ?? "";
|
|
2824
|
-
D(q),
|
|
2824
|
+
D(q), ie(q);
|
|
2825
2825
|
}
|
|
2826
2826
|
}, [z, g, c, p]), /* @__PURE__ */ f(
|
|
2827
2827
|
Q,
|
|
@@ -2869,7 +2869,7 @@ const F = Z(function({
|
|
|
2869
2869
|
...Dn,
|
|
2870
2870
|
className: "action",
|
|
2871
2871
|
disabled: t,
|
|
2872
|
-
icon:
|
|
2872
|
+
icon: te.isOpen && !t ? "chevron-up" : "chevron-down",
|
|
2873
2873
|
iconColor: j.palette.gray[400],
|
|
2874
2874
|
iconSize: "xxs",
|
|
2875
2875
|
iconType: "fa-light",
|
|
@@ -2883,14 +2883,14 @@ const F = Z(function({
|
|
|
2883
2883
|
]
|
|
2884
2884
|
}
|
|
2885
2885
|
),
|
|
2886
|
-
|
|
2886
|
+
te.isOpen && te.collection.size > 0 && !t ? /* @__PURE__ */ i(
|
|
2887
2887
|
Be,
|
|
2888
2888
|
{
|
|
2889
2889
|
className: "dropdown",
|
|
2890
2890
|
offset: 4,
|
|
2891
2891
|
placement: "bottom start",
|
|
2892
2892
|
popoverRef: Ke,
|
|
2893
|
-
state:
|
|
2893
|
+
state: te,
|
|
2894
2894
|
triggerRef: Ye,
|
|
2895
2895
|
children: /* @__PURE__ */ i(
|
|
2896
2896
|
Da,
|
|
@@ -2898,7 +2898,7 @@ const F = Z(function({
|
|
|
2898
2898
|
...Nn,
|
|
2899
2899
|
$multiSelection: p && !Array.from(n ?? []).includes("All"),
|
|
2900
2900
|
ref: _e,
|
|
2901
|
-
children: [...
|
|
2901
|
+
children: [...te.collection].map((H) => /* @__PURE__ */ i(
|
|
2902
2902
|
Ra,
|
|
2903
2903
|
{
|
|
2904
2904
|
item: H,
|
|
@@ -2907,7 +2907,7 @@ const F = Z(function({
|
|
|
2907
2907
|
register: x,
|
|
2908
2908
|
setInputValue: D,
|
|
2909
2909
|
setValue: k,
|
|
2910
|
-
state:
|
|
2910
|
+
state: te,
|
|
2911
2911
|
watch: C
|
|
2912
2912
|
},
|
|
2913
2913
|
H.key
|
|
@@ -3460,7 +3460,7 @@ const F = Z(function({
|
|
|
3460
3460
|
)
|
|
3461
3461
|
] })
|
|
3462
3462
|
] });
|
|
3463
|
-
}, Ne = (e) => e && e !== "-" ?
|
|
3463
|
+
}, Ne = (e) => e && e !== "-" ? ne(e).format("YYYY-MM-DD") : "-", Ka = (e) => e && e !== "-" ? ne(e).format("YYYY-MM-DD hh:mm A") : "-", Nt = (e, t) => ne(String(e).replace(/-/gu, "/")).hour(t.hour).minute(t.minute).second(t.second).format("YYYY/MM/DD hh:mm A"), De = ({
|
|
3464
3464
|
error: e,
|
|
3465
3465
|
buttonProps: t,
|
|
3466
3466
|
datePickerRef: n,
|
|
@@ -3560,7 +3560,7 @@ const F = Z(function({
|
|
|
3560
3560
|
onChange(T) {
|
|
3561
3561
|
x(T);
|
|
3562
3562
|
},
|
|
3563
|
-
...!L.isNil(y) && !L.isEmpty(y) &&
|
|
3563
|
+
...!L.isNil(y) && !L.isEmpty(y) && ne(y).isValid() ? { defaultValue: oi(y.replace(/\//gu, "-")) } : {}
|
|
3564
3564
|
}), { close: k } = m, { groupProps: w, fieldProps: S, buttonProps: C, dialogProps: I, calendarProps: j } = qt(
|
|
3565
3565
|
{ ...u, "aria-label": s ?? l, name: l },
|
|
3566
3566
|
m,
|
|
@@ -3822,8 +3822,8 @@ const F = Z(function({
|
|
|
3822
3822
|
isDisabled: t,
|
|
3823
3823
|
isRequired: a,
|
|
3824
3824
|
shouldCloseOnSelect: !1,
|
|
3825
|
-
value: L.isNil(p) || L.isEmpty(p) || p === "-" ||
|
|
3826
|
-
|
|
3825
|
+
value: L.isNil(p) || L.isEmpty(p) || p === "-" || ne(p, "YYYY/MM/DD hh:mm A").isValid() === !1 ? null : pi(
|
|
3826
|
+
ne(p, "YYYY/MM/DD hh:mm A").format("YYYY-MM-DDTHH:mm:ss")
|
|
3827
3827
|
)
|
|
3828
3828
|
}), { close: h } = u, { groupProps: y, fieldProps: x, buttonProps: m, dialogProps: k, calendarProps: w } = qt(e, u, g), S = v(
|
|
3829
3829
|
(I) => {
|
|
@@ -3937,12 +3937,12 @@ const F = Z(function({
|
|
|
3937
3937
|
weight: I,
|
|
3938
3938
|
...j
|
|
3939
3939
|
}) => {
|
|
3940
|
-
const { required: T, onBlur: z, onChange: O } = j, D = E(), W = e ? void 0 : o, [
|
|
3940
|
+
const { required: T, onBlur: z, onChange: O } = j, D = E(), W = e ? void 0 : o, [ie, re] = R(""), ge = v(
|
|
3941
3941
|
(Y) => {
|
|
3942
3942
|
re(Y.target.value), O == null || O(Y);
|
|
3943
3943
|
},
|
|
3944
3944
|
[O]
|
|
3945
|
-
), G = c && d && !e &&
|
|
3945
|
+
), G = c && d && !e && ie.trim() !== "", X = v(
|
|
3946
3946
|
(Y) => {
|
|
3947
3947
|
Y.key === "Enter" && Y.preventDefault();
|
|
3948
3948
|
},
|
|
@@ -4418,7 +4418,7 @@ const F = Z(function({
|
|
|
4418
4418
|
}) => {
|
|
4419
4419
|
const x = E(), m = e ? void 0 : t, [k, w] = R(""), S = c ? h : n == null ? void 0 : n.value, C = K(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), I = v(
|
|
4420
4420
|
(D) => {
|
|
4421
|
-
const
|
|
4421
|
+
const ie = [...new Set(D.filter(Boolean))].join(","), re = we("change", l, ie);
|
|
4422
4422
|
n && n.onChange(re), c && c(re);
|
|
4423
4423
|
},
|
|
4424
4424
|
[n, l, c]
|
|
@@ -4930,7 +4930,7 @@ const F = Z(function({
|
|
|
4930
4930
|
G.preventDefault(), m((X) => !X), x || w("");
|
|
4931
4931
|
},
|
|
4932
4932
|
[x]
|
|
4933
|
-
),
|
|
4933
|
+
), ie = v(
|
|
4934
4934
|
(G) => () => {
|
|
4935
4935
|
O(G), m(!1), w("");
|
|
4936
4936
|
},
|
|
@@ -5035,7 +5035,7 @@ const F = Z(function({
|
|
|
5035
5035
|
return /* @__PURE__ */ f(
|
|
5036
5036
|
fr,
|
|
5037
5037
|
{
|
|
5038
|
-
onClick:
|
|
5038
|
+
onClick: ie(Y),
|
|
5039
5039
|
value: Y,
|
|
5040
5040
|
children: [
|
|
5041
5041
|
/* @__PURE__ */ i(xt, { iso2: Y, size: "16px" }),
|
|
@@ -5905,21 +5905,22 @@ const F = Z(function({
|
|
|
5905
5905
|
noCodeMessage: e = "Code snippet not available",
|
|
5906
5906
|
snippet: t,
|
|
5907
5907
|
specific: n,
|
|
5908
|
-
variant: a = "normal"
|
|
5908
|
+
variant: a = "normal",
|
|
5909
|
+
expanded: r = !1
|
|
5909
5910
|
}) => {
|
|
5910
|
-
const
|
|
5911
|
-
|
|
5912
|
-
}, [
|
|
5911
|
+
const o = E(), [s, l] = R(!1), [c, d] = R(!0), p = v(() => {
|
|
5912
|
+
l((y) => !y);
|
|
5913
|
+
}, [l]), g = v(() => {
|
|
5913
5914
|
if (L.isNil(t) || L.isEmpty(t) || !L.isString(t))
|
|
5914
|
-
return
|
|
5915
|
-
const
|
|
5915
|
+
return d(!1), e;
|
|
5916
|
+
const y = t.split(`
|
|
5916
5917
|
`);
|
|
5917
|
-
return
|
|
5918
|
+
return y.length > 8 && !s ? `${[...y].splice(0, 7).join(`
|
|
5918
5919
|
`)}
|
|
5919
|
-
${
|
|
5920
|
-
}, [
|
|
5921
|
-
await navigator.clipboard.writeText(
|
|
5922
|
-
}, [
|
|
5920
|
+
${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
5921
|
+
}, [s, t, e]), u = K(g, [g]), h = v(async () => {
|
|
5922
|
+
await navigator.clipboard.writeText(u);
|
|
5923
|
+
}, [u]);
|
|
5923
5924
|
return a === "location" ? /* @__PURE__ */ i(
|
|
5924
5925
|
jr,
|
|
5925
5926
|
{
|
|
@@ -5930,38 +5931,40 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
|
|
|
5930
5931
|
) : /* @__PURE__ */ f(
|
|
5931
5932
|
$,
|
|
5932
5933
|
{
|
|
5933
|
-
bgColor:
|
|
5934
|
+
bgColor: o.palette.gray[100],
|
|
5934
5935
|
borderRadius: "4px",
|
|
5935
5936
|
display: "inline-flex",
|
|
5937
|
+
justify: r ? "space-between" : "center",
|
|
5936
5938
|
minWidth: "565px",
|
|
5937
5939
|
position: "relative",
|
|
5940
|
+
width: r ? "100%" : "565px",
|
|
5938
5941
|
children: [
|
|
5939
|
-
/* @__PURE__ */ i(hn, { "data-private": !0, children: /* @__PURE__ */ i("pre", { children: /* @__PURE__ */ i("code", { className: "language-none", children:
|
|
5942
|
+
/* @__PURE__ */ i(hn, { "data-private": !0, children: /* @__PURE__ */ i("pre", { children: /* @__PURE__ */ i("code", { className: "language-none", children: u }) }) }),
|
|
5940
5943
|
/* @__PURE__ */ f(Rr, { children: [
|
|
5941
5944
|
/* @__PURE__ */ i(
|
|
5942
5945
|
_,
|
|
5943
5946
|
{
|
|
5944
|
-
height:
|
|
5947
|
+
height: o.spacing[2.5],
|
|
5945
5948
|
icon: "copy",
|
|
5946
|
-
iconColor:
|
|
5949
|
+
iconColor: o.palette.gray[700],
|
|
5947
5950
|
iconSize: "xs",
|
|
5948
5951
|
iconType: "fa-light",
|
|
5949
|
-
onClick:
|
|
5952
|
+
onClick: h,
|
|
5950
5953
|
variant: "ghost",
|
|
5951
|
-
width:
|
|
5954
|
+
width: o.spacing[2.5]
|
|
5952
5955
|
}
|
|
5953
5956
|
),
|
|
5954
|
-
|
|
5955
|
-
|
|
5957
|
+
c ? /* @__PURE__ */ f(V, { onClick: p, variant: "ghost", children: [
|
|
5958
|
+
s ? "Show Less" : "Show more",
|
|
5956
5959
|
/* @__PURE__ */ i(
|
|
5957
5960
|
F,
|
|
5958
5961
|
{
|
|
5959
|
-
icon:
|
|
5960
|
-
iconColor:
|
|
5962
|
+
icon: s ? "chevron-up" : "chevron-down",
|
|
5963
|
+
iconColor: o.palette.gray[700],
|
|
5961
5964
|
iconSize: "xxs",
|
|
5962
5965
|
iconType: "fa-light",
|
|
5963
5966
|
ml: 0.25,
|
|
5964
|
-
onClick:
|
|
5967
|
+
onClick: h
|
|
5965
5968
|
}
|
|
5966
5969
|
)
|
|
5967
5970
|
] }) : !1
|
|
@@ -7657,11 +7660,11 @@ function mo(e, t, n) {
|
|
|
7657
7660
|
function wo(e, t) {
|
|
7658
7661
|
if (vi.extend(ki), !(L.isUndefined(e) && L.isUndefined(t))) {
|
|
7659
7662
|
if (e !== "" && t !== "" && !L.isUndefined(e) && !L.isUndefined(t))
|
|
7660
|
-
return `${
|
|
7663
|
+
return `${ne(e).format("LL")} - ${ne(t).format("LL")}`;
|
|
7661
7664
|
if (e !== "" && !L.isUndefined(e))
|
|
7662
|
-
return `From ${
|
|
7665
|
+
return `From ${ne(e).format("LL")}`;
|
|
7663
7666
|
if (t !== "" && !L.isUndefined(t))
|
|
7664
|
-
return `To ${
|
|
7667
|
+
return `To ${ne(t).format("LL")}`;
|
|
7665
7668
|
}
|
|
7666
7669
|
}
|
|
7667
7670
|
function vo(e, t, n) {
|
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-ChvbGJx4.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-ChvbGJx4.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.CardContainer=e.CardContainer;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.ErrorMessage=e.ErrorMessage;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;
|
|
@@ -45691,10 +45691,10 @@ export {
|
|
|
45691
45691
|
ede as j,
|
|
45692
45692
|
KW as k,
|
|
45693
45693
|
QU as l,
|
|
45694
|
-
|
|
45694
|
+
jfe as m,
|
|
45695
45695
|
e5 as n,
|
|
45696
45696
|
dfe as o,
|
|
45697
|
-
|
|
45697
|
+
Zfe as p,
|
|
45698
45698
|
Ufe as q,
|
|
45699
45699
|
Nfe as r,
|
|
45700
45700
|
jK as s,
|
package/package.json
CHANGED