@fluidattacks/design 3.22.1 → 3.23.0
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/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-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/scroll-button/styles.d.ts +4 -0
- package/dist/components/scroll-button/types.d.ts +16 -2
- 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-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-C8i4rtts.js → components-BGJL25LE.js} +5 -4
- package/dist/{components-BvEDjsq2.mjs → components-C0ad1QHm.mjs} +114 -94
- 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 Ke } from "react/jsx-runtime";
|
|
2
|
-
import Lt, { forwardRef as Y, useState as
|
|
3
|
-
import { X as kn, s as m, J as
|
|
2
|
+
import Lt, { forwardRef as Y, useState as A, useCallback as v, StrictMode as wn, useEffect as V, useRef as B, useMemo as Q, Fragment as Te, Children as Ve, isValidElement as vn, cloneElement as jt } from "react";
|
|
3
|
+
import { X as kn, s as m, J as E, u as Et, a as Cn, b as Sn, c as zn, d as In, l as M, e as At, f as Tn, o as Rt, g as Nn, n as me, _ as W, $ as Dn, h as Fn, i as Ln, j as jn, k as En, m as An, p as Rn, q as Wn, r as Pn, t as Wt, C as Ze, v as On, w as Hn, x as Mn, y as st, z as Ne, A as Bn, B as Un, D as Pt, E as Ot, F as De, G as Gn, H as Vn, I as Yn, K as _n, L as Kn, M as ee, N as Zn, O as Ht, P as qn, Q as Mt, R as Jn, S as Xn, T as Qn, U as ei, V as ti, W as ni, Y as Bt, Z as ii, a0 as ct, a1 as dt, a2 as pt, a3 as ai, a4 as ri, a5 as oi, a6 as li, a7 as si, a8 as ci, a9 as di, aa as pi, ab as Ut, ac as gi, ad as ui, ae as fi, af as hi, ag as yi, ak as Gt, al as $i, am as bi, an as xi, ao as mi, ap as wi, aq as vi, ar as ki, as as Ci, at as Si, au as gt, av as zi, aw as ut, ax as Ii } from "./vendor-BzUP-0MT.mjs";
|
|
4
4
|
import { createPortal as ue } from "react-dom";
|
|
5
5
|
import { Link as Ti, useLocation as Ni, NavLink as Di } from "react-router-dom";
|
|
6
6
|
const le = (e) => ({
|
|
@@ -829,7 +829,7 @@ const j = Y(function({
|
|
|
829
829
|
`${d}-${r}`
|
|
830
830
|
);
|
|
831
831
|
}), Nl = Y(function({ aligned: t = "end", items: n, bgColor: a }, r) {
|
|
832
|
-
const o =
|
|
832
|
+
const o = E(), [l, s] = A(
|
|
833
833
|
n.map((p) => p.expanded ?? !1)
|
|
834
834
|
), c = v(
|
|
835
835
|
(p) => (d) => {
|
|
@@ -1155,7 +1155,7 @@ const j = Y(function({
|
|
|
1155
1155
|
hide: f = g === "" && u === "" && p === void 0,
|
|
1156
1156
|
width: y
|
|
1157
1157
|
}) => {
|
|
1158
|
-
const $ =
|
|
1158
|
+
const $ = E(), [x, k] = A(!1), { refs: w, floatingStyles: C, context: S } = Et({
|
|
1159
1159
|
middleware: [
|
|
1160
1160
|
Tn({
|
|
1161
1161
|
fallbackAxisSideDirection: "start"
|
|
@@ -1301,7 +1301,7 @@ const j = Y(function({
|
|
|
1301
1301
|
id: p,
|
|
1302
1302
|
...d
|
|
1303
1303
|
}, g) {
|
|
1304
|
-
const [u, f] =
|
|
1304
|
+
const [u, f] = A(l), y = v(() => {
|
|
1305
1305
|
f(!1);
|
|
1306
1306
|
}, []);
|
|
1307
1307
|
return V(() => {
|
|
@@ -1848,7 +1848,7 @@ const j = Y(function({
|
|
|
1848
1848
|
textSpacing: c = 0,
|
|
1849
1849
|
tooltip: p
|
|
1850
1850
|
}) => {
|
|
1851
|
-
const d =
|
|
1851
|
+
const d = E();
|
|
1852
1852
|
return /* @__PURE__ */ h(b, { width: "100%", children: [
|
|
1853
1853
|
typeof o == "string" || p ? /* @__PURE__ */ h(
|
|
1854
1854
|
b,
|
|
@@ -1953,7 +1953,7 @@ const j = Y(function({
|
|
|
1953
1953
|
height: o = "auto",
|
|
1954
1954
|
videoViewStatus: l
|
|
1955
1955
|
}) => {
|
|
1956
|
-
const [s, c] =
|
|
1956
|
+
const [s, c] = A({
|
|
1957
1957
|
start: !1,
|
|
1958
1958
|
half: !1,
|
|
1959
1959
|
end: !1
|
|
@@ -1993,7 +1993,7 @@ const j = Y(function({
|
|
|
1993
1993
|
showMaximize: g = !0,
|
|
1994
1994
|
videoViewStatus: u
|
|
1995
1995
|
}) => {
|
|
1996
|
-
const f =
|
|
1996
|
+
const f = E(), [y, $] = A(!1), x = v(() => {
|
|
1997
1997
|
$(!0);
|
|
1998
1998
|
}, []), k = v(() => {
|
|
1999
1999
|
$(!1);
|
|
@@ -2094,7 +2094,7 @@ const j = Y(function({
|
|
|
2094
2094
|
tooltip: r,
|
|
2095
2095
|
weight: o = "normal"
|
|
2096
2096
|
}) => {
|
|
2097
|
-
const l =
|
|
2097
|
+
const l = E(), s = `${e}-tooltip`, c = r !== void 0 && !M.isEmpty(r);
|
|
2098
2098
|
return /* @__PURE__ */ h(
|
|
2099
2099
|
"label",
|
|
2100
2100
|
{
|
|
@@ -2284,7 +2284,7 @@ const j = Y(function({
|
|
|
2284
2284
|
value: u,
|
|
2285
2285
|
weight: f
|
|
2286
2286
|
}) => {
|
|
2287
|
-
const y =
|
|
2287
|
+
const y = E(), $ = u ? u.length : 0;
|
|
2288
2288
|
return /* @__PURE__ */ h(ya, { id: t, children: [
|
|
2289
2289
|
s === void 0 ? void 0 : /* @__PURE__ */ i(
|
|
2290
2290
|
Xt,
|
|
@@ -2612,7 +2612,7 @@ const j = Y(function({
|
|
|
2612
2612
|
watch: s
|
|
2613
2613
|
}) => {
|
|
2614
2614
|
var F, I, P;
|
|
2615
|
-
const c =
|
|
2615
|
+
const c = E(), p = B(null), d = e.props.hrefLang, g = l.disabledKeys, u = Array.from(l.collection.getKeys()).filter(
|
|
2616
2616
|
(N) => !Array.from(g).includes(N) && N !== "All"
|
|
2617
2617
|
), { optionProps: f, isSelected: y, isFocused: $, isDisabled: x } = Ln(
|
|
2618
2618
|
{ key: e.key },
|
|
@@ -2712,9 +2712,9 @@ const j = Y(function({
|
|
|
2712
2712
|
weight: z
|
|
2713
2713
|
}) => {
|
|
2714
2714
|
var ot;
|
|
2715
|
-
const T =
|
|
2715
|
+
const T = E(), F = t ? void 0 : a, I = (e == null ? void 0 : e.value) ?? C, [P, N] = A(
|
|
2716
2716
|
((ot = g.find((H) => H.value === I)) == null ? void 0 : ot.name) ?? ""
|
|
2717
|
-
), [O, te] =
|
|
2717
|
+
), [O, te] = A(I), [re, de] = A(g), [G, Z] = A(!1), { contains: _ } = En({ sensitivity: "base" }), he = B(null), Ue = B(null), Ge = B(null), it = B(null), at = B(null), pn = Q(() => g.toSorted((H, q) => {
|
|
2718
2718
|
const J = Array.from(n ?? []), ye = J.includes(H.value), lt = J.includes(q.value);
|
|
2719
2719
|
return ye && !lt ? 1 : !ye && lt ? -1 : 0;
|
|
2720
2720
|
}).map(
|
|
@@ -3325,7 +3325,7 @@ const j = Y(function({
|
|
|
3325
3325
|
segment: e,
|
|
3326
3326
|
state: t
|
|
3327
3327
|
}) => {
|
|
3328
|
-
const n =
|
|
3328
|
+
const n = E(), a = B(null), o = { ...e, placeholder: {
|
|
3329
3329
|
day: "dd",
|
|
3330
3330
|
dayPeriod: "(AM/PM)",
|
|
3331
3331
|
era: "",
|
|
@@ -3356,7 +3356,7 @@ const j = Y(function({
|
|
|
3356
3356
|
error: t = !1,
|
|
3357
3357
|
props: n
|
|
3358
3358
|
}) => {
|
|
3359
|
-
const a =
|
|
3359
|
+
const a = E(), r = B(null), o = Gn({
|
|
3360
3360
|
...n,
|
|
3361
3361
|
createCalendar: De,
|
|
3362
3362
|
locale: "en-US"
|
|
@@ -3403,7 +3403,7 @@ const j = Y(function({
|
|
|
3403
3403
|
...e,
|
|
3404
3404
|
locale: "en-US",
|
|
3405
3405
|
shouldForceLeadingZeros: !0
|
|
3406
|
-
}), { timeValue: a } = n, r = !M.isNil(a) && a.hour < 12 ? "AM" : "PM", [o, l] =
|
|
3406
|
+
}), { timeValue: a } = n, r = !M.isNil(a) && a.hour < 12 ? "AM" : "PM", [o, l] = A(
|
|
3407
3407
|
M.isNil(a) ? "AM" : r
|
|
3408
3408
|
), { fieldProps: s } = _n(e, n, t), c = v(
|
|
3409
3409
|
(p) => {
|
|
@@ -3758,7 +3758,7 @@ const j = Y(function({
|
|
|
3758
3758
|
props: n,
|
|
3759
3759
|
timeState: a
|
|
3760
3760
|
}) => {
|
|
3761
|
-
const r =
|
|
3761
|
+
const r = E(), { locale: o } = Ne(), l = Pt({ ...n, createCalendar: De, locale: o }), { prevButtonProps: s, nextButtonProps: c, title: p } = Ot(n, l);
|
|
3762
3762
|
return /* @__PURE__ */ h("div", { className: "calendar", children: [
|
|
3763
3763
|
/* @__PURE__ */ i(
|
|
3764
3764
|
Qe,
|
|
@@ -3917,7 +3917,7 @@ const j = Y(function({
|
|
|
3917
3917
|
weight: z,
|
|
3918
3918
|
...T
|
|
3919
3919
|
}) => {
|
|
3920
|
-
const { required: F, onBlur: I, onChange: P } = T, N =
|
|
3920
|
+
const { required: F, onBlur: I, onChange: P } = T, N = E(), O = e ? void 0 : o, [te, re] = A(""), de = v(
|
|
3921
3921
|
(_) => {
|
|
3922
3922
|
re(_.target.value), P == null || P(_);
|
|
3923
3923
|
},
|
|
@@ -4272,7 +4272,7 @@ const j = Y(function({
|
|
|
4272
4272
|
watch: y,
|
|
4273
4273
|
weight: $
|
|
4274
4274
|
}) => {
|
|
4275
|
-
const x =
|
|
4275
|
+
const x = E(), k = t ? void 0 : n, w = B(null), C = g == null ? void 0 : g(c, { required: d }), S = y == null ? void 0 : y(c), z = Za(S), T = v(() => {
|
|
4276
4276
|
const P = be("change", c, void 0);
|
|
4277
4277
|
u && u(c, void 0), C && C.onChange(P);
|
|
4278
4278
|
}, [C, c, u]), F = v(
|
|
@@ -4396,7 +4396,7 @@ const j = Y(function({
|
|
|
4396
4396
|
value: f,
|
|
4397
4397
|
weight: y
|
|
4398
4398
|
}) => {
|
|
4399
|
-
const $ =
|
|
4399
|
+
const $ = E(), x = e ? void 0 : t, [k, w] = A(""), C = c ? f : n == null ? void 0 : n.value, S = Q(() => C && typeof C == "string" ? C.split(",").filter(Boolean) : [], [C]), z = v(
|
|
4400
4400
|
(N) => {
|
|
4401
4401
|
const te = [...new Set(N.filter(Boolean))].join(","), re = be("change", s, te);
|
|
4402
4402
|
n && n.onChange(re), c && c(re);
|
|
@@ -4582,7 +4582,7 @@ const j = Y(function({
|
|
|
4582
4582
|
setValue: u,
|
|
4583
4583
|
value: f
|
|
4584
4584
|
}) => {
|
|
4585
|
-
const y =
|
|
4585
|
+
const y = E(), $ = n ? void 0 : e, x = t < 0 ? 0 : t, [k, w] = A(
|
|
4586
4586
|
f ? W.toNumber(f) : 0
|
|
4587
4587
|
), C = v(() => {
|
|
4588
4588
|
const F = (k - 10 ** -x).toFixed(x), I = Math.max(Number(l), Number(F));
|
|
@@ -4892,7 +4892,7 @@ const j = Y(function({
|
|
|
4892
4892
|
watch: p,
|
|
4893
4893
|
weight: d
|
|
4894
4894
|
}) => {
|
|
4895
|
-
const g =
|
|
4895
|
+
const g = E(), u = B(null), f = e ? void 0 : t, y = (p == null ? void 0 : p(a)) ?? c, [$, x] = A(!1), [k, w] = A(""), { refs: C, floatingStyles: S } = Bt({
|
|
4896
4896
|
placement: "bottom-start",
|
|
4897
4897
|
whileElementsMounted: At
|
|
4898
4898
|
}), { inputRef: z, inputValue: T, handlePhoneValueChange: F, country: I, setCountry: P } = ii({
|
|
@@ -5064,7 +5064,7 @@ const j = Y(function({
|
|
|
5064
5064
|
weight: w,
|
|
5065
5065
|
value: C
|
|
5066
5066
|
}) => {
|
|
5067
|
-
const S =
|
|
5067
|
+
const S = E(), z = (k == null ? void 0 : k(s)) ?? C, T = o && r && !e, F = e ? void 0 : t;
|
|
5068
5068
|
return /* @__PURE__ */ i(
|
|
5069
5069
|
X,
|
|
5070
5070
|
{
|
|
@@ -5252,7 +5252,7 @@ const j = Y(function({
|
|
|
5252
5252
|
width: 40px;
|
|
5253
5253
|
height: auto;
|
|
5254
5254
|
`, rr = (e, t) => {
|
|
5255
|
-
const [a, r] =
|
|
5255
|
+
const [a, r] = A(0), [o, l] = A(0);
|
|
5256
5256
|
return V(() => {
|
|
5257
5257
|
o === 100 && (() => {
|
|
5258
5258
|
r(
|
|
@@ -5280,7 +5280,7 @@ const j = Y(function({
|
|
|
5280
5280
|
}), []);
|
|
5281
5281
|
return Q(() => n.image(e).format(t), [n, e, t]);
|
|
5282
5282
|
}, Me = (e) => {
|
|
5283
|
-
const [t, n] =
|
|
5283
|
+
const [t, n] = A(!1), a = v(() => {
|
|
5284
5284
|
n(!0);
|
|
5285
5285
|
}, []), r = v(() => {
|
|
5286
5286
|
n(!1);
|
|
@@ -5305,7 +5305,7 @@ const j = Y(function({
|
|
|
5305
5305
|
...t.filter(({ locked: d }) => !d)
|
|
5306
5306
|
],
|
|
5307
5307
|
[t]
|
|
5308
|
-
), [o, l] =
|
|
5308
|
+
), [o, l] = A(r), s = v(
|
|
5309
5309
|
(d) => {
|
|
5310
5310
|
const g = d.filter(({ locked: $ }) => !$), f = [...d.filter(({ locked: $ }) => $), ...g], y = f.map(({ name: $ }) => $);
|
|
5311
5311
|
l(($) => [
|
|
@@ -5339,7 +5339,7 @@ const j = Y(function({
|
|
|
5339
5339
|
() => W.debounce(e, t),
|
|
5340
5340
|
[e, t]
|
|
5341
5341
|
), Yl = (e) => {
|
|
5342
|
-
const [t, n] =
|
|
5342
|
+
const [t, n] = A(), a = lr((r) => {
|
|
5343
5343
|
n(r);
|
|
5344
5344
|
}, (e == null ? void 0 : e.debounceWait) ?? 300);
|
|
5345
5345
|
return [t, a];
|
|
@@ -5492,7 +5492,7 @@ const j = Y(function({
|
|
|
5492
5492
|
isATag: p = !1,
|
|
5493
5493
|
width: d = "fit-content"
|
|
5494
5494
|
}) => {
|
|
5495
|
-
const g =
|
|
5495
|
+
const g = E();
|
|
5496
5496
|
return /* @__PURE__ */ h(
|
|
5497
5497
|
b,
|
|
5498
5498
|
{
|
|
@@ -5671,7 +5671,7 @@ const j = Y(function({
|
|
|
5671
5671
|
minWidth: a = "auto",
|
|
5672
5672
|
height: r = "auto"
|
|
5673
5673
|
}) => {
|
|
5674
|
-
const o =
|
|
5674
|
+
const o = E();
|
|
5675
5675
|
return /* @__PURE__ */ h(
|
|
5676
5676
|
b,
|
|
5677
5677
|
{
|
|
@@ -5865,7 +5865,7 @@ const j = Y(function({
|
|
|
5865
5865
|
specific: n,
|
|
5866
5866
|
variant: a = "normal"
|
|
5867
5867
|
}) => {
|
|
5868
|
-
const r =
|
|
5868
|
+
const r = E(), [o, l] = A(!1), [s, c] = A(!0), p = v(() => {
|
|
5869
5869
|
l((f) => !f);
|
|
5870
5870
|
}, [l]), d = v(() => {
|
|
5871
5871
|
if (W.isNil(t) || W.isEmpty(t) || !W.isString(t))
|
|
@@ -6115,7 +6115,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6115
6115
|
otherActions: a,
|
|
6116
6116
|
onClose: r
|
|
6117
6117
|
}) => {
|
|
6118
|
-
const o =
|
|
6118
|
+
const o = E(), l = v(() => {
|
|
6119
6119
|
r == null || r(), n.close();
|
|
6120
6120
|
}, [n, r]);
|
|
6121
6121
|
return V(() => {
|
|
@@ -6321,7 +6321,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6321
6321
|
box: n = !1,
|
|
6322
6322
|
variant: a = "primary"
|
|
6323
6323
|
}) => {
|
|
6324
|
-
const r =
|
|
6324
|
+
const r = E();
|
|
6325
6325
|
return /* @__PURE__ */ i(
|
|
6326
6326
|
b,
|
|
6327
6327
|
{
|
|
@@ -6460,7 +6460,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6460
6460
|
value: d,
|
|
6461
6461
|
...g
|
|
6462
6462
|
}) => {
|
|
6463
|
-
const f =
|
|
6463
|
+
const f = E().palette.gray[t ? 300 : 800], y = t ? Ve.map(e, ($) => vn($) ? jt($, {
|
|
6464
6464
|
disabled: t,
|
|
6465
6465
|
...$.props
|
|
6466
6466
|
}) : $) : e;
|
|
@@ -6614,7 +6614,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6614
6614
|
defaultCollapsed: a,
|
|
6615
6615
|
onChange: r
|
|
6616
6616
|
}) => {
|
|
6617
|
-
const o =
|
|
6617
|
+
const o = E(), [l, s] = A(a ?? !1), c = v(() => {
|
|
6618
6618
|
s((p) => !p);
|
|
6619
6619
|
}, []);
|
|
6620
6620
|
return /* @__PURE__ */ h(
|
|
@@ -6751,7 +6751,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6751
6751
|
value: r,
|
|
6752
6752
|
...o
|
|
6753
6753
|
}, l) {
|
|
6754
|
-
const s =
|
|
6754
|
+
const s = E(), [c, p] = A(!1), { refs: d, floatingStyles: g } = Bt(), u = v(() => {
|
|
6755
6755
|
p(($) => !$);
|
|
6756
6756
|
}, []), f = v(
|
|
6757
6757
|
($) => {
|
|
@@ -6824,7 +6824,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6824
6824
|
onChangeHandler: n,
|
|
6825
6825
|
variant: a
|
|
6826
6826
|
}) => {
|
|
6827
|
-
const r = B(null), [o, l] =
|
|
6827
|
+
const r = B(null), [o, l] = A([]), [s, c] = A(""), p = v(
|
|
6828
6828
|
(g) => {
|
|
6829
6829
|
const { value: u } = g.target;
|
|
6830
6830
|
c(u);
|
|
@@ -6944,7 +6944,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6944
6944
|
modalRef: n,
|
|
6945
6945
|
variant: a
|
|
6946
6946
|
}) => {
|
|
6947
|
-
const r =
|
|
6947
|
+
const r = E(), o = B(null), [l, s] = A(void 0), c = v(
|
|
6948
6948
|
(g) => {
|
|
6949
6949
|
const { checked: u, value: f } = g.target, y = n.columns.map(($) => {
|
|
6950
6950
|
var x;
|
|
@@ -7248,7 +7248,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
7248
7248
|
] }, l);
|
|
7249
7249
|
}) }), qr = (e) => {
|
|
7250
7250
|
var s, c, p, d, g;
|
|
7251
|
-
const [t, n] =
|
|
7251
|
+
const [t, n] = A([...e]), { control: a, register: r, handleSubmit: o, setValue: l } = Ut({
|
|
7252
7252
|
defaultValues: {
|
|
7253
7253
|
checkbox: e.filter((u) => u.type === "checkboxes").flatMap(
|
|
7254
7254
|
(u) => {
|
|
@@ -7381,9 +7381,9 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
7381
7381
|
setDirection: r,
|
|
7382
7382
|
setHandler: o
|
|
7383
7383
|
}) => {
|
|
7384
|
-
const l =
|
|
7384
|
+
const l = E(), [s, c] = A(e), [p, d] = A(
|
|
7385
7385
|
[]
|
|
7386
|
-
), [g, u] =
|
|
7386
|
+
), [g, u] = A({}), [f, y] = A(""), $ = v(
|
|
7387
7387
|
(w) => () => {
|
|
7388
7388
|
const C = s.find((z) => z.label === w), S = !(C != null && C.filterOptions.some(
|
|
7389
7389
|
(z) => z.type === "dateRange" || z.type === "select"
|
|
@@ -7519,7 +7519,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
7519
7519
|
modalRef: a,
|
|
7520
7520
|
variant: r
|
|
7521
7521
|
}) => {
|
|
7522
|
-
const [o, l] =
|
|
7522
|
+
const [o, l] = A("row"), [s, c] = A(!0), p = E(), d = B(null), g = /* @__PURE__ */ i(
|
|
7523
7523
|
K,
|
|
7524
7524
|
{
|
|
7525
7525
|
icon: "close",
|
|
@@ -7794,7 +7794,7 @@ const ve = ({
|
|
|
7794
7794
|
onSearch: s,
|
|
7795
7795
|
variant: c = "ungrouped"
|
|
7796
7796
|
}) => {
|
|
7797
|
-
const p = Me("filters-modal"), [d, g] =
|
|
7797
|
+
const p = Me("filters-modal"), [d, g] = A([]), [u, f] = A(
|
|
7798
7798
|
Tt(d)
|
|
7799
7799
|
), y = a.map((C) => ({
|
|
7800
7800
|
...C,
|
|
@@ -7872,7 +7872,7 @@ const ve = ({
|
|
|
7872
7872
|
size: u,
|
|
7873
7873
|
id: f = "modal-container"
|
|
7874
7874
|
}) => {
|
|
7875
|
-
const y =
|
|
7875
|
+
const y = E(), $ = /* @__PURE__ */ i(
|
|
7876
7876
|
rn,
|
|
7877
7877
|
{
|
|
7878
7878
|
"aria-label": s.name,
|
|
@@ -7942,7 +7942,7 @@ const ve = ({
|
|
|
7942
7942
|
return [o, ({
|
|
7943
7943
|
children: p
|
|
7944
7944
|
}) => {
|
|
7945
|
-
const [d, g] =
|
|
7945
|
+
const [d, g] = A(n), u = v(() => {
|
|
7946
7946
|
g({ ...n });
|
|
7947
7947
|
}, []), f = v((x) => () => {
|
|
7948
7948
|
g(
|
|
@@ -7990,7 +7990,7 @@ const ve = ({
|
|
|
7990
7990
|
);
|
|
7991
7991
|
}];
|
|
7992
7992
|
}, ts = () => {
|
|
7993
|
-
const [e, t] =
|
|
7993
|
+
const [e, t] = A(!1), [n, a] = A(), r = B(null), o = Me("confirm-dialog-modal"), l = v(
|
|
7994
7994
|
async (d) => (a(d), t(!0), new Promise((g) => {
|
|
7995
7995
|
r.current = g;
|
|
7996
7996
|
})),
|
|
@@ -8030,7 +8030,7 @@ const ve = ({
|
|
|
8030
8030
|
}, co = 2e3, ns = ({
|
|
8031
8031
|
content: e
|
|
8032
8032
|
}) => {
|
|
8033
|
-
const [t, n] =
|
|
8033
|
+
const [t, n] = A("Copy"), a = v(() => {
|
|
8034
8034
|
navigator.clipboard.writeText(e).then(() => {
|
|
8035
8035
|
n("Copied"), setTimeout(() => {
|
|
8036
8036
|
n("Copy");
|
|
@@ -8097,7 +8097,7 @@ const ve = ({
|
|
|
8097
8097
|
options: r,
|
|
8098
8098
|
title: o
|
|
8099
8099
|
}) => {
|
|
8100
|
-
const l =
|
|
8100
|
+
const l = E(), [s, c] = A(!1), p = s ? "chevron-up" : "chevron-down", { refs: d, floatingStyles: g } = Et({
|
|
8101
8101
|
middleware: [Rt({ mainAxis: 4 })],
|
|
8102
8102
|
placement: "bottom-start"
|
|
8103
8103
|
}), u = v(() => {
|
|
@@ -8258,7 +8258,7 @@ const ve = ({
|
|
|
8258
8258
|
yupSchema: u,
|
|
8259
8259
|
...f
|
|
8260
8260
|
}) => {
|
|
8261
|
-
const y =
|
|
8261
|
+
const y = E(), $ = Ut({
|
|
8262
8262
|
...f,
|
|
8263
8263
|
mode: c ?? "all",
|
|
8264
8264
|
resolver: u ? yi(u) : void 0
|
|
@@ -8405,7 +8405,7 @@ const ve = ({
|
|
|
8405
8405
|
label: t,
|
|
8406
8406
|
onSelect: n
|
|
8407
8407
|
}) => {
|
|
8408
|
-
const a =
|
|
8408
|
+
const a = E(), r = v(() => {
|
|
8409
8409
|
n && n(t);
|
|
8410
8410
|
}, [n, t]);
|
|
8411
8411
|
return /* @__PURE__ */ h(cn, { $isSelected: e, onClick: r, children: [
|
|
@@ -8429,7 +8429,7 @@ const ve = ({
|
|
|
8429
8429
|
title: l,
|
|
8430
8430
|
variant: s
|
|
8431
8431
|
}) => {
|
|
8432
|
-
const c =
|
|
8432
|
+
const c = E(), [p, d] = A(t), [g, u] = A(""), f = v(
|
|
8433
8433
|
(x) => {
|
|
8434
8434
|
d(
|
|
8435
8435
|
(k) => k.filter(
|
|
@@ -8552,7 +8552,7 @@ const ve = ({
|
|
|
8552
8552
|
variant: p = "centered",
|
|
8553
8553
|
width: d = "318px"
|
|
8554
8554
|
}) => {
|
|
8555
|
-
const g =
|
|
8555
|
+
const g = E(), u = p === "centered", f = l && /* @__PURE__ */ i(
|
|
8556
8556
|
ie,
|
|
8557
8557
|
{
|
|
8558
8558
|
icon: r ?? n,
|
|
@@ -8609,7 +8609,7 @@ const ve = ({
|
|
|
8609
8609
|
tabs: r,
|
|
8610
8610
|
footer: o
|
|
8611
8611
|
}) => {
|
|
8612
|
-
const l =
|
|
8612
|
+
const l = E();
|
|
8613
8613
|
return /* @__PURE__ */ h(
|
|
8614
8614
|
b,
|
|
8615
8615
|
{
|
|
@@ -8797,7 +8797,7 @@ const ve = ({
|
|
|
8797
8797
|
label: t,
|
|
8798
8798
|
size: n
|
|
8799
8799
|
}) => {
|
|
8800
|
-
const a =
|
|
8800
|
+
const a = E();
|
|
8801
8801
|
return /* @__PURE__ */ h(b, { alignItems: "center", display: "flex", children: [
|
|
8802
8802
|
/* @__PURE__ */ h(So, { $size: n, viewBox: "0 0 100 100", children: [
|
|
8803
8803
|
/* @__PURE__ */ i(Io, { $color: e, cx: "50", cy: "50", r: "45" }),
|
|
@@ -8840,7 +8840,7 @@ const ve = ({
|
|
|
8840
8840
|
userInfo: r,
|
|
8841
8841
|
setVisibility: o
|
|
8842
8842
|
}) => {
|
|
8843
|
-
const l =
|
|
8843
|
+
const l = E(), { userName: s, email: c, phone: p, userRole: d } = r;
|
|
8844
8844
|
return fe(a, () => {
|
|
8845
8845
|
o(!1);
|
|
8846
8846
|
}), /* @__PURE__ */ h(Wr, { children: [
|
|
@@ -8908,7 +8908,7 @@ const ve = ({
|
|
|
8908
8908
|
onClose: l,
|
|
8909
8909
|
buttonSide: s = "end"
|
|
8910
8910
|
}) => {
|
|
8911
|
-
const c =
|
|
8911
|
+
const c = E(), [p, d] = A(r), g = v(() => {
|
|
8912
8912
|
d(!1), l == null || l();
|
|
8913
8913
|
}, [l]);
|
|
8914
8914
|
V(() => {
|
|
@@ -9021,7 +9021,7 @@ const ve = ({
|
|
|
9021
9021
|
title: n,
|
|
9022
9022
|
variant: a
|
|
9023
9023
|
}) => {
|
|
9024
|
-
const r =
|
|
9024
|
+
const r = E(), o = v(() => {
|
|
9025
9025
|
t == null || t();
|
|
9026
9026
|
}, [t]);
|
|
9027
9027
|
return /* @__PURE__ */ h(
|
|
@@ -9109,7 +9109,7 @@ const ve = ({
|
|
|
9109
9109
|
tooltipMessage: c,
|
|
9110
9110
|
...p
|
|
9111
9111
|
}, d) {
|
|
9112
|
-
const g = n < 0 ? 0 : n, [u, f] =
|
|
9112
|
+
const g = n < 0 ? 0 : n, [u, f] = A(Number(a).toFixed(g)), y = v(
|
|
9113
9113
|
(k) => {
|
|
9114
9114
|
const w = M.toNumber(k.target.value);
|
|
9115
9115
|
k.target.value.endsWith(".") ? f(k.target.value) : w >= Number(o) && w <= Number(r) && (f(String(w)), t && s(M.toNumber(w.toFixed(g)))), k.stopPropagation();
|
|
@@ -9157,7 +9157,7 @@ const ve = ({
|
|
|
9157
9157
|
onlyLabel: a = !1,
|
|
9158
9158
|
provider: r = "GitLab"
|
|
9159
9159
|
}) => {
|
|
9160
|
-
const o =
|
|
9160
|
+
const o = E();
|
|
9161
9161
|
return /* @__PURE__ */ h(
|
|
9162
9162
|
b,
|
|
9163
9163
|
{
|
|
@@ -9217,7 +9217,7 @@ const ve = ({
|
|
|
9217
9217
|
manualOption: r,
|
|
9218
9218
|
providers: o
|
|
9219
9219
|
}) => {
|
|
9220
|
-
const l =
|
|
9220
|
+
const l = E(), [s, c] = A(!1), p = B(null);
|
|
9221
9221
|
fe(
|
|
9222
9222
|
p.current,
|
|
9223
9223
|
() => {
|
|
@@ -9333,7 +9333,7 @@ const ve = ({
|
|
|
9333
9333
|
onClick: t,
|
|
9334
9334
|
text: n
|
|
9335
9335
|
}) => {
|
|
9336
|
-
const a =
|
|
9336
|
+
const a = E(), r = /* @__PURE__ */ h(Wo, { children: [
|
|
9337
9337
|
/* @__PURE__ */ i(j, { icon: "circle", iconClass: "ellipse-1", iconSize: "xs" }),
|
|
9338
9338
|
/* @__PURE__ */ i(j, { icon: "circle", iconClass: "ellipse-2", iconSize: "xs" }),
|
|
9339
9339
|
/* @__PURE__ */ i(j, { icon: "crown", iconClass: "icon", iconSize: "xs" })
|
|
@@ -9374,7 +9374,7 @@ const ve = ({
|
|
|
9374
9374
|
}, ms = ({
|
|
9375
9375
|
score: e
|
|
9376
9376
|
}) => {
|
|
9377
|
-
const t =
|
|
9377
|
+
const t = E(), n = e <= 33 ? "priority-bars-low" : "priority-bars-medium", a = e > 66 || e === 0 ? "priority-bars-high" : n;
|
|
9378
9378
|
return /* @__PURE__ */ h(b, { alignItems: "center", display: "inline-flex", gap: 0.25, children: [
|
|
9379
9379
|
/* @__PURE__ */ i(
|
|
9380
9380
|
j,
|
|
@@ -9616,7 +9616,7 @@ const ve = ({
|
|
|
9616
9616
|
onClick: o,
|
|
9617
9617
|
orientation: l = "horizontal"
|
|
9618
9618
|
}) => {
|
|
9619
|
-
const s =
|
|
9619
|
+
const s = E(), c = {
|
|
9620
9620
|
completed: "circle-check",
|
|
9621
9621
|
disabled: "circle-dashed",
|
|
9622
9622
|
error: "circle-exclamation",
|
|
@@ -9704,7 +9704,7 @@ const ve = ({
|
|
|
9704
9704
|
highlightDescription: t = "",
|
|
9705
9705
|
mobile: n
|
|
9706
9706
|
}) => {
|
|
9707
|
-
const a =
|
|
9707
|
+
const a = E(), r = n ? "md" : "lg", o = typeof t == "string", l = o ? "" : new RegExp(`(${t.join("|")})`, "u");
|
|
9708
9708
|
return t.length > 0 ? /* @__PURE__ */ i(
|
|
9709
9709
|
D,
|
|
9710
9710
|
{
|
|
@@ -9764,7 +9764,7 @@ const ve = ({
|
|
|
9764
9764
|
title: g,
|
|
9765
9765
|
titleColor: u
|
|
9766
9766
|
}) => {
|
|
9767
|
-
const f =
|
|
9767
|
+
const f = E(), { alt: y, src: $, width: x = "77px", height: k = "77px" } = c, w = v(() => {
|
|
9768
9768
|
t == null || t.onClick();
|
|
9769
9769
|
}, [t]), C = v(() => {
|
|
9770
9770
|
r == null || r.onClick();
|
|
@@ -9902,37 +9902,57 @@ const ve = ({
|
|
|
9902
9902
|
}, qo = m.div.attrs({
|
|
9903
9903
|
className: "comp-scroll-up"
|
|
9904
9904
|
})`
|
|
9905
|
-
bottom: 15px;
|
|
9906
9905
|
position: fixed;
|
|
9907
|
-
|
|
9908
|
-
|
|
9906
|
+
bottom: ${({ bottom: e }) => e ?? 15}px;
|
|
9907
|
+
right: ${({ right: e }) => e ?? 140}px;
|
|
9908
|
+
z-index: ${({ zIndex: e }) => e ?? 100};
|
|
9909
|
+
left: ${({ left: e }) => e ?? 0}px;
|
|
9909
9910
|
`, Cs = ({
|
|
9910
9911
|
scrollerId: e = "dashboard",
|
|
9911
|
-
|
|
9912
|
+
left: t,
|
|
9913
|
+
visibleAt: n = 500,
|
|
9914
|
+
bottom: a = 10,
|
|
9915
|
+
right: r = 140,
|
|
9916
|
+
zIndex: o = 100
|
|
9912
9917
|
}) => {
|
|
9913
|
-
const [
|
|
9918
|
+
const [l, s] = A(!1), [c, p] = A(null), d = E();
|
|
9914
9919
|
V(() => {
|
|
9915
|
-
|
|
9916
|
-
|
|
9920
|
+
p(document.getElementById(e)), c == null || c.addEventListener("scroll", () => {
|
|
9921
|
+
s(c.scrollTop > n);
|
|
9917
9922
|
});
|
|
9918
|
-
}, [
|
|
9919
|
-
const
|
|
9920
|
-
|
|
9923
|
+
}, [c, e, n]);
|
|
9924
|
+
const g = v(() => {
|
|
9925
|
+
c == null || c.scrollTo({
|
|
9921
9926
|
behavior: "smooth",
|
|
9922
9927
|
top: 0
|
|
9923
9928
|
});
|
|
9924
|
-
}, [
|
|
9925
|
-
return
|
|
9926
|
-
|
|
9929
|
+
}, [c]);
|
|
9930
|
+
return l ? /* @__PURE__ */ i(
|
|
9931
|
+
qo,
|
|
9927
9932
|
{
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9933
|
+
bottom: a,
|
|
9934
|
+
right: r,
|
|
9935
|
+
zIndex: o,
|
|
9936
|
+
left: t,
|
|
9937
|
+
children: /* @__PURE__ */ i(
|
|
9938
|
+
K,
|
|
9939
|
+
{
|
|
9940
|
+
borderRadius: "50%",
|
|
9941
|
+
height: "40px",
|
|
9942
|
+
icon: "arrow-up",
|
|
9943
|
+
iconSize: "sm",
|
|
9944
|
+
id: "scroll-up",
|
|
9945
|
+
onClick: g,
|
|
9946
|
+
style: {
|
|
9947
|
+
backgroundColor: d.palette.black,
|
|
9948
|
+
borderRadius: "50%",
|
|
9949
|
+
color: d.palette.white
|
|
9950
|
+
},
|
|
9951
|
+
width: "40px"
|
|
9952
|
+
}
|
|
9953
|
+
)
|
|
9954
|
+
}
|
|
9955
|
+
) : null;
|
|
9936
9956
|
}, Jo = {
|
|
9937
9957
|
critical: {
|
|
9938
9958
|
bgColor: L.palette.primary[700],
|
|
@@ -9964,7 +9984,7 @@ const ve = ({
|
|
|
9964
9984
|
textR: t,
|
|
9965
9985
|
variant: n
|
|
9966
9986
|
}) => {
|
|
9967
|
-
const a =
|
|
9987
|
+
const a = E(), { bgColor: r, colorL: o, colorR: l } = Jo[n];
|
|
9968
9988
|
return /* @__PURE__ */ h(b, { alignItems: "flex-start", display: "inline-flex", children: [
|
|
9969
9989
|
e ? /* @__PURE__ */ i(
|
|
9970
9990
|
b,
|
|
@@ -10095,7 +10115,7 @@ const ve = ({
|
|
|
10095
10115
|
requiresUpgrade: r = !1,
|
|
10096
10116
|
title: o
|
|
10097
10117
|
}) => {
|
|
10098
|
-
const l =
|
|
10118
|
+
const l = E();
|
|
10099
10119
|
return /* @__PURE__ */ h(
|
|
10100
10120
|
b,
|
|
10101
10121
|
{
|
|
@@ -10177,7 +10197,7 @@ const ve = ({
|
|
|
10177
10197
|
secondaryOnClick: c,
|
|
10178
10198
|
title: p
|
|
10179
10199
|
}) => {
|
|
10180
|
-
const d =
|
|
10200
|
+
const d = E(), g = B(null), u = v(
|
|
10181
10201
|
(f) => () => {
|
|
10182
10202
|
f(), r();
|
|
10183
10203
|
},
|
|
@@ -10419,7 +10439,7 @@ const ve = ({
|
|
|
10419
10439
|
);
|
|
10420
10440
|
return /* @__PURE__ */ i("div", { ...o, className: `thumb ${s ? "dragging" : ""}`, children: /* @__PURE__ */ i(vi, { children: /* @__PURE__ */ i("input", { ...l, "aria-label": a, ref: r }) }) });
|
|
10421
10441
|
}, ll = (e, t, n) => Math.round((n - e) / (t - e) * 100), Ns = (e) => {
|
|
10422
|
-
const t =
|
|
10442
|
+
const t = E(), n = B(null), { label: a, minValue: r = 0, maxValue: o = 100, name: l, setValue: s, watch: c } = e, p = ki(), d = Ci({
|
|
10423
10443
|
...e,
|
|
10424
10444
|
numberFormatter: p,
|
|
10425
10445
|
onChange(y) {
|
|
@@ -10557,7 +10577,7 @@ const ve = ({
|
|
|
10557
10577
|
button: { disabled: e = !1, text: t, type: n = "button", onClick: a },
|
|
10558
10578
|
steps: r
|
|
10559
10579
|
}) => {
|
|
10560
|
-
const [o, l] =
|
|
10580
|
+
const [o, l] = A(1), s = v(
|
|
10561
10581
|
(c, p) => (
|
|
10562
10582
|
// eslint-disable-next-line functional/functional-parameters
|
|
10563
10583
|
() => {
|
|
@@ -10675,7 +10695,7 @@ const ve = ({
|
|
|
10675
10695
|
type: l = "button",
|
|
10676
10696
|
variant: s
|
|
10677
10697
|
}) => {
|
|
10678
|
-
const c =
|
|
10698
|
+
const c = E(), p = /* @__PURE__ */ h(
|
|
10679
10699
|
ul,
|
|
10680
10700
|
{
|
|
10681
10701
|
"aria-label": r ?? void 0,
|
|
@@ -10781,7 +10801,7 @@ const ve = ({
|
|
|
10781
10801
|
title: n,
|
|
10782
10802
|
size: a = "long"
|
|
10783
10803
|
}) => {
|
|
10784
|
-
const r =
|
|
10804
|
+
const r = E();
|
|
10785
10805
|
return /* @__PURE__ */ h(hl, { $size: a, className: "timeline-card", children: [
|
|
10786
10806
|
/* @__PURE__ */ i(
|
|
10787
10807
|
D,
|
|
@@ -10820,7 +10840,7 @@ const ve = ({
|
|
|
10820
10840
|
}) })
|
|
10821
10841
|
] });
|
|
10822
10842
|
}, Ls = ({ items: e }) => {
|
|
10823
|
-
const t = B(null), [n, a] =
|
|
10843
|
+
const t = B(null), [n, a] = A("long");
|
|
10824
10844
|
return V(() => {
|
|
10825
10845
|
t.current && a(t.current.offsetWidth <= 1100 ? "small" : "long");
|
|
10826
10846
|
}, []), /* @__PURE__ */ i(b, { ref: t, width: "100%", children: /* @__PURE__ */ i(yl, { $size: n, children: e.map((r, o) => /* @__PURE__ */ i(
|
|
@@ -10866,7 +10886,7 @@ const ve = ({
|
|
|
10866
10886
|
},
|
|
10867
10887
|
target: ""
|
|
10868
10888
|
}, Es = ({ run: e, steps: t, onFinish: n }) => {
|
|
10869
|
-
const [a, r] =
|
|
10889
|
+
const [a, r] = A(e), [o, l] = A(0), s = v(
|
|
10870
10890
|
(c) => {
|
|
10871
10891
|
const { action: p, index: d, status: g, type: u } = c;
|
|
10872
10892
|
[gt.STEP_AFTER, gt.TARGET_NOT_FOUND].includes(
|