@xola/ui-kit 2.4.1-x2-14336.3 → 2.6.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/build/ui-kit.mjs +154 -154
- package/build/ui-kit.umd.js +2 -2
- package/package.json +1 -1
package/build/ui-kit.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import n from "prop-types";
|
|
|
3
3
|
import o, { useState as N, useEffect as t1, cloneElement as Z1, createContext as le, useContext as x1, useRef as G, forwardRef as b1, Fragment as h1, useMemo as ce, Children as v1, useCallback as E0 } from "react";
|
|
4
4
|
import u from "clsx";
|
|
5
5
|
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
6
|
-
import { range as Bt, noop as Vt, round as R1, isNumber as Rt, isString as h0, isEmpty as u0, startCase as Dt, kebabCase as St, isFunction as xe, isArray as
|
|
6
|
+
import { range as Bt, noop as Vt, round as R1, isNumber as Rt, isString as h0, isEmpty as u0, startCase as Dt, kebabCase as St, isFunction as xe, isArray as Le, merge as N1 } from "lodash";
|
|
7
7
|
import { useMemoizedFn as s1, useEventListener as Ft, useIsomorphicLayoutEffect as Ot, useThrottleFn as Wt, useUpdateEffect as p0, useLatest as Pt, useMount as Ut, useUnmount as qt, useClickAway as Zt, useResponsive as Yt } from "ahooks";
|
|
8
8
|
import de from "@tippyjs/react";
|
|
9
9
|
import { followCursor as H0 } from "tippy.js";
|
|
@@ -571,7 +571,7 @@ const wo = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
571
571
|
)
|
|
572
572
|
] }));
|
|
573
573
|
x2.tags = ["email"];
|
|
574
|
-
const
|
|
574
|
+
const L2 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t(
|
|
575
575
|
"path",
|
|
576
576
|
{
|
|
577
577
|
d: "M10.792 5.196c0 2.152-1.744 4.87-3.896 4.87S3 7.348 3 5.196v0a3.896 3.896 0 117.792 0v0zM6.833 10.062s-.55 1.941.548 2.738",
|
|
@@ -580,8 +580,8 @@ const C2 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
580
580
|
strokeLinejoin: "round"
|
|
581
581
|
}
|
|
582
582
|
) }));
|
|
583
|
-
|
|
584
|
-
const
|
|
583
|
+
L2.tags = ["child", "demographic"];
|
|
584
|
+
const C2 = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
585
585
|
/* @__PURE__ */ t(
|
|
586
586
|
"path",
|
|
587
587
|
{
|
|
@@ -603,7 +603,7 @@ const L2 = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
603
603
|
}
|
|
604
604
|
)
|
|
605
605
|
] }));
|
|
606
|
-
|
|
606
|
+
C2.tags = ["cheque", "payment"];
|
|
607
607
|
const b2 = i((e) => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", fill: "none", viewBox: "0 0 14 14", ...e, children: /* @__PURE__ */ t(
|
|
608
608
|
"path",
|
|
609
609
|
{
|
|
@@ -954,7 +954,7 @@ const T2 = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
954
954
|
)
|
|
955
955
|
] }));
|
|
956
956
|
T2.tags = ["date"];
|
|
957
|
-
const
|
|
957
|
+
const Lo = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
958
958
|
/* @__PURE__ */ t("circle", { cx: 3.5, cy: 3.5, r: 1.444, stroke: "currentColor" }),
|
|
959
959
|
/* @__PURE__ */ t(
|
|
960
960
|
"path",
|
|
@@ -1154,7 +1154,7 @@ const Z2 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
1154
1154
|
}
|
|
1155
1155
|
) }));
|
|
1156
1156
|
Z2.tags = ["x", "close"];
|
|
1157
|
-
const
|
|
1157
|
+
const Co = i(({ className: e, ...r }) => /* @__PURE__ */ d(
|
|
1158
1158
|
"svg",
|
|
1159
1159
|
{
|
|
1160
1160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2067,7 +2067,7 @@ const Wo = i(({ className: e, ...r }) => /* @__PURE__ */ d(
|
|
|
2067
2067
|
}
|
|
2068
2068
|
) }));
|
|
2069
2069
|
xr.tags = ["inventory"];
|
|
2070
|
-
const
|
|
2070
|
+
const Lr = i((e) => /* @__PURE__ */ d("svg", { viewBox: "2 4 20 16", width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
2071
2071
|
/* @__PURE__ */ t(
|
|
2072
2072
|
"path",
|
|
2073
2073
|
{
|
|
@@ -2088,8 +2088,8 @@ const Cr = i((e) => /* @__PURE__ */ d("svg", { viewBox: "2 4 20 16", width: 24,
|
|
|
2088
2088
|
}
|
|
2089
2089
|
)
|
|
2090
2090
|
] }));
|
|
2091
|
-
|
|
2092
|
-
const
|
|
2091
|
+
Lr.tags = ["inventory", "equipment checkout"];
|
|
2092
|
+
const Cr = i((e) => /* @__PURE__ */ d("svg", { viewBox: "2 3 20 18", width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
2093
2093
|
/* @__PURE__ */ t(
|
|
2094
2094
|
"path",
|
|
2095
2095
|
{
|
|
@@ -2110,7 +2110,7 @@ const Lr = i((e) => /* @__PURE__ */ d("svg", { viewBox: "2 3 20 18", width: 24,
|
|
|
2110
2110
|
}
|
|
2111
2111
|
)
|
|
2112
2112
|
] }));
|
|
2113
|
-
|
|
2113
|
+
Cr.tags = ["inventory", "equipment return"];
|
|
2114
2114
|
const Po = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 18 18", width: 18, height: 18, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
2115
2115
|
/* @__PURE__ */ t(
|
|
2116
2116
|
"path",
|
|
@@ -3449,7 +3449,7 @@ const r5 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
3449
3449
|
stroke: "currentColor",
|
|
3450
3450
|
strokeWidth: 1.3
|
|
3451
3451
|
}
|
|
3452
|
-
) })),
|
|
3452
|
+
) })), L3 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t(
|
|
3453
3453
|
"path",
|
|
3454
3454
|
{
|
|
3455
3455
|
d: "M8.927 1.313L1.813 8.427c-.173.172-.125.5.106.731l2.423 2.423c.231.231.559.279.731.106l7.114-7.114c.173-.172.125-.5-.106-.731L9.658 1.419c-.231-.231-.559-.279-.731-.106zM4.042 6.774l1.482 1.482M5.233 5.588l1.038 1.038M6.556 4.26l1.482 1.482M7.741 3.075l1.192 1.18",
|
|
@@ -3458,7 +3458,7 @@ const r5 = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14,
|
|
|
3458
3458
|
strokeLinejoin: "round"
|
|
3459
3459
|
}
|
|
3460
3460
|
) }));
|
|
3461
|
-
|
|
3461
|
+
L3.tags = ["measure", "scale", "size"];
|
|
3462
3462
|
const o5 = i((e) => /* @__PURE__ */ d("svg", { width: 21, height: 21, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 21", ...e, children: [
|
|
3463
3463
|
/* @__PURE__ */ t(
|
|
3464
3464
|
"path",
|
|
@@ -3488,7 +3488,7 @@ const o5 = i((e) => /* @__PURE__ */ d("svg", { width: 21, height: 21, fill: "non
|
|
|
3488
3488
|
}
|
|
3489
3489
|
),
|
|
3490
3490
|
/* @__PURE__ */ t("path", { fill: "currentColor", d: "M14.64 10.986a.486.486 0 1 1-.688.687.486.486 0 0 1 .688-.687" })
|
|
3491
|
-
] })),
|
|
3491
|
+
] })), C3 = i((e) => /* @__PURE__ */ d("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
3492
3492
|
/* @__PURE__ */ t(
|
|
3493
3493
|
"path",
|
|
3494
3494
|
{
|
|
@@ -3508,7 +3508,7 @@ const o5 = i((e) => /* @__PURE__ */ d("svg", { width: 21, height: 21, fill: "non
|
|
|
3508
3508
|
}
|
|
3509
3509
|
)
|
|
3510
3510
|
] }));
|
|
3511
|
-
|
|
3511
|
+
C3.tags = ["magnifying glass"];
|
|
3512
3512
|
const B0 = i((e) => /* @__PURE__ */ t("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...e, children: /* @__PURE__ */ t(
|
|
3513
3513
|
"path",
|
|
3514
3514
|
{
|
|
@@ -4831,7 +4831,7 @@ const p4 = {
|
|
|
4831
4831
|
warning: "!bg-warning-light",
|
|
4832
4832
|
caution: "!bg-caution-light",
|
|
4833
4833
|
danger: "!bg-danger-light"
|
|
4834
|
-
},
|
|
4834
|
+
}, Ce = ({
|
|
4835
4835
|
color: e = "primary",
|
|
4836
4836
|
isLoading: r,
|
|
4837
4837
|
isSuccess: s,
|
|
@@ -4845,8 +4845,8 @@ const p4 = {
|
|
|
4845
4845
|
t1(() => {
|
|
4846
4846
|
if (s && !r) {
|
|
4847
4847
|
g(!0);
|
|
4848
|
-
const
|
|
4849
|
-
return () => clearTimeout(
|
|
4848
|
+
const L = setTimeout(() => g(!1), 3e3);
|
|
4849
|
+
return () => clearTimeout(L);
|
|
4850
4850
|
}
|
|
4851
4851
|
r && m && g(!1);
|
|
4852
4852
|
}, [s, r]);
|
|
@@ -4894,7 +4894,7 @@ const p4 = {
|
|
|
4894
4894
|
/* @__PURE__ */ o.createElement("span", { className: u(f ? "flex-shrink flex-grow opacity-0" : "opacity-100") }, h)
|
|
4895
4895
|
);
|
|
4896
4896
|
};
|
|
4897
|
-
|
|
4897
|
+
Ce.propTypes = {
|
|
4898
4898
|
...c1.propTypes,
|
|
4899
4899
|
isLoading: n.bool,
|
|
4900
4900
|
isSuccess: n.bool,
|
|
@@ -5085,7 +5085,7 @@ K0.propTypes = {
|
|
|
5085
5085
|
name: n.string,
|
|
5086
5086
|
size: n.oneOf(Object.keys(G0))
|
|
5087
5087
|
};
|
|
5088
|
-
const m1 = { MIN: 64, MAX: 200 }, i1 = { ICONS: "icons", TEXT: "text", ICONS_AND_TEXT: "iconsAndText" }, P1 = { TEXT: 140, ICONS_AND_TEXT: 174 },
|
|
5088
|
+
const m1 = { MIN: 64, MAX: 200 }, i1 = { ICONS: "icons", TEXT: "text", ICONS_AND_TEXT: "iconsAndText" }, P1 = { TEXT: 140, ICONS_AND_TEXT: 174 }, L4 = 1024, C4 = 24, b4 = (e) => e >= P1.ICONS_AND_TEXT ? i1.ICONS_AND_TEXT : e >= P1.TEXT ? i1.TEXT : i1.ICONS, k0 = (e) => e === i1.ICONS ? m1.MIN : e === i1.TEXT ? P1.ICONS_AND_TEXT - 1 : m1.MAX, z1 = (e, r, s) => {
|
|
5089
5089
|
if (e == null || typeof e == "string" && e.trim() === "")
|
|
5090
5090
|
return s;
|
|
5091
5091
|
const a = Number(e);
|
|
@@ -5093,7 +5093,7 @@ const m1 = { MIN: 64, MAX: 200 }, i1 = { ICONS: "icons", TEXT: "text", ICONS_AND
|
|
|
5093
5093
|
}, y4 = (e, r, s) => {
|
|
5094
5094
|
const l = [r, P1.TEXT, P1.ICONS_AND_TEXT, s].filter(
|
|
5095
5095
|
(h) => h >= r && h <= s
|
|
5096
|
-
).filter((h) => Math.abs(h - e) <=
|
|
5096
|
+
).filter((h) => Math.abs(h - e) <= C4), c = l.length > 0 ? l.sort((h, p) => Math.abs(h - e) - Math.abs(p - e))[0] : e;
|
|
5097
5097
|
return z1(c, r, s);
|
|
5098
5098
|
}, M4 = ({ storedWidth: e, hasIntent: r, viewportWidth: s, minWidth: a, maxWidth: l, autoCollapseBelow: c }) => {
|
|
5099
5099
|
const h = z1(e, a, l);
|
|
@@ -5499,7 +5499,7 @@ const j4 = {
|
|
|
5499
5499
|
be,
|
|
5500
5500
|
{
|
|
5501
5501
|
style: { ...j4, ...x0(r) },
|
|
5502
|
-
onClick: () => c("left")
|
|
5502
|
+
onClick: () => c == null ? void 0 : c("left")
|
|
5503
5503
|
},
|
|
5504
5504
|
/* @__PURE__ */ o.createElement(f2, { className: u(r && "hidden") }),
|
|
5505
5505
|
h.count
|
|
@@ -5509,7 +5509,7 @@ const j4 = {
|
|
|
5509
5509
|
{
|
|
5510
5510
|
className: "text-sm",
|
|
5511
5511
|
style: x0(r),
|
|
5512
|
-
onClick: () => c("right")
|
|
5512
|
+
onClick: () => c == null ? void 0 : c("right")
|
|
5513
5513
|
},
|
|
5514
5514
|
/* @__PURE__ */ o.createElement(N0, { className: u(r && "hidden") }),
|
|
5515
5515
|
p.count
|
|
@@ -5523,7 +5523,7 @@ const j4 = {
|
|
|
5523
5523
|
size: "xl",
|
|
5524
5524
|
title: h.title,
|
|
5525
5525
|
content: h.content,
|
|
5526
|
-
onClose: (g) => !!g && c("left")
|
|
5526
|
+
onClose: (g) => !!g && (c == null ? void 0 : c("left"))
|
|
5527
5527
|
}
|
|
5528
5528
|
), p && /* @__PURE__ */ o.createElement(
|
|
5529
5529
|
re,
|
|
@@ -5534,7 +5534,7 @@ const j4 = {
|
|
|
5534
5534
|
size: "xl",
|
|
5535
5535
|
title: p.title,
|
|
5536
5536
|
content: p.content,
|
|
5537
|
-
onClose: (g) => !!g && c("right")
|
|
5537
|
+
onClose: (g) => !!g && (c == null ? void 0 : c("right"))
|
|
5538
5538
|
}
|
|
5539
5539
|
));
|
|
5540
5540
|
};
|
|
@@ -5551,9 +5551,9 @@ Oe.propTypes = {
|
|
|
5551
5551
|
width: n.number.isRequired,
|
|
5552
5552
|
isLeftDrawerOpen: n.bool,
|
|
5553
5553
|
isRightDrawerOpen: n.bool,
|
|
5554
|
-
//
|
|
5555
|
-
//
|
|
5556
|
-
onDrawerStateChange: n.func
|
|
5554
|
+
// Optional: Sidebar forwards its own optional `handleDrawerStateChange` prop here, so a
|
|
5555
|
+
// consumer can render notification badges without wiring up drawer toggling.
|
|
5556
|
+
onDrawerStateChange: n.func
|
|
5557
5557
|
};
|
|
5558
5558
|
const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? { width: e, preferred: `${e}:preferred`, intent: `${e}:intent` } : null, ye = (e) => {
|
|
5559
5559
|
if (O1)
|
|
@@ -5569,7 +5569,7 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5569
5569
|
window.localStorage.setItem(e, r);
|
|
5570
5570
|
} catch {
|
|
5571
5571
|
}
|
|
5572
|
-
},
|
|
5572
|
+
}, L0 = (e) => {
|
|
5573
5573
|
const r = F1(e);
|
|
5574
5574
|
return !!r && ye(r.intent) === "1";
|
|
5575
5575
|
}, S4 = ({
|
|
@@ -5584,7 +5584,7 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5584
5584
|
onVariantChange: m,
|
|
5585
5585
|
onCollapsedChange: g
|
|
5586
5586
|
}) => {
|
|
5587
|
-
const f = h === void 0 ? O1 ? void 0 : document.documentElement : h,
|
|
5587
|
+
const f = h === void 0 ? O1 ? void 0 : document.documentElement : h, L = Math.min(
|
|
5588
5588
|
s,
|
|
5589
5589
|
k0(a ?? (l ? i1.ICONS : i1.ICONS_AND_TEXT))
|
|
5590
5590
|
), H = Math.min(s, k0(a ?? i1.ICONS_AND_TEXT)), A = () => {
|
|
@@ -5592,20 +5592,20 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5592
5592
|
return null;
|
|
5593
5593
|
const y = F1(e);
|
|
5594
5594
|
return ye(y.preferred) ?? ye(y.width);
|
|
5595
|
-
}, [I,
|
|
5595
|
+
}, [I, C] = N(() => {
|
|
5596
5596
|
const y = M4({
|
|
5597
5597
|
storedWidth: A(),
|
|
5598
|
-
hasIntent:
|
|
5598
|
+
hasIntent: L0(e),
|
|
5599
5599
|
viewportWidth: O1 ? R4 : window.innerWidth,
|
|
5600
5600
|
minWidth: r,
|
|
5601
|
-
maxWidth:
|
|
5601
|
+
maxWidth: L,
|
|
5602
5602
|
autoCollapseBelow: c
|
|
5603
5603
|
});
|
|
5604
5604
|
return e && X1(F1(e).width, String(y)), y;
|
|
5605
5605
|
}), [j, B] = N(() => {
|
|
5606
|
-
const y = z1(A(), r,
|
|
5606
|
+
const y = z1(A(), r, L);
|
|
5607
5607
|
return y > r ? y : null;
|
|
5608
|
-
}), R = G(!O1 && window.innerWidth < (c ?? 0)), x = G(
|
|
5608
|
+
}), R = G(!O1 && window.innerWidth < (c ?? 0)), x = G(L0(e)), U = b4(I), W = I <= r, $ = s1(() => {
|
|
5609
5609
|
const y = window.innerWidth < c, Y = E4({
|
|
5610
5610
|
width: I,
|
|
5611
5611
|
lastExpandedWidth: j,
|
|
@@ -5613,9 +5613,9 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5613
5613
|
isBelow: y,
|
|
5614
5614
|
hasIntentBelow: x.current,
|
|
5615
5615
|
minWidth: r,
|
|
5616
|
-
maxWidth:
|
|
5616
|
+
maxWidth: L
|
|
5617
5617
|
});
|
|
5618
|
-
R.current = y, !(Y.width === I && Y.lastExpandedWidth === j) && (
|
|
5618
|
+
R.current = y, !(Y.width === I && Y.lastExpandedWidth === j) && (C(Y.width), B(Y.lastExpandedWidth));
|
|
5619
5619
|
});
|
|
5620
5620
|
Ft("resize", $, { enable: c != null });
|
|
5621
5621
|
const Z = s1((y) => p == null ? void 0 : p(y)), F = s1((y) => m == null ? void 0 : m(y)), X = s1((y) => g == null ? void 0 : g(y));
|
|
@@ -5651,7 +5651,7 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5651
5651
|
minWidth: y.minWidth,
|
|
5652
5652
|
maxWidth: y.uncollapsedMaxWidth
|
|
5653
5653
|
});
|
|
5654
|
-
|
|
5654
|
+
C(Y.width), B(Y.lastExpandedWidth);
|
|
5655
5655
|
}, [l, D]);
|
|
5656
5656
|
const Q = ce(() => X0(U), [U]), n1 = s1((y) => {
|
|
5657
5657
|
if (window.innerWidth < (c ?? 0) && (x.current = !0), !e)
|
|
@@ -5659,10 +5659,10 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5659
5659
|
const Y = F1(e);
|
|
5660
5660
|
X1(Y.intent, "1"), X1(Y.preferred, String(y));
|
|
5661
5661
|
}), o1 = s1((y) => {
|
|
5662
|
-
n1(y), y !== I && (
|
|
5662
|
+
n1(y), y !== I && (C(y), b(y), V());
|
|
5663
5663
|
});
|
|
5664
|
-
return { width: I, setWidth:
|
|
5665
|
-
}, F4 = 8, O4 = 32, fe = /* @__PURE__ */ new Set(),
|
|
5664
|
+
return { width: I, setWidth: C, commitWidth: o1, variantValue: Q, effectiveMaxWidth: L, resolvedCssVariableTarget: f };
|
|
5665
|
+
}, F4 = 8, O4 = 32, fe = /* @__PURE__ */ new Set(), C0 = (e, r, s) => {
|
|
5666
5666
|
const a = e[r];
|
|
5667
5667
|
return a === void 0 ? null : typeof a != "number" || a < m1.MIN || a > m1.MAX ? new Error(
|
|
5668
5668
|
`UI Kit: ${s} \`${r}\` must be a number between ${m1.MIN} and ${m1.MAX}.`
|
|
@@ -5680,25 +5680,25 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5680
5680
|
isRightDrawerOpen: m,
|
|
5681
5681
|
handleDrawerStateChange: g,
|
|
5682
5682
|
onSidebarResize: f,
|
|
5683
|
-
variant:
|
|
5683
|
+
variant: L,
|
|
5684
5684
|
isCollapsed: H,
|
|
5685
5685
|
minWidth: A = m1.MIN,
|
|
5686
5686
|
maxWidth: I = m1.MAX,
|
|
5687
|
-
autoCollapseBelow:
|
|
5687
|
+
autoCollapseBelow: C = L4,
|
|
5688
5688
|
storageKey: j = "sidebarWidth",
|
|
5689
5689
|
cssVariableTarget: B,
|
|
5690
5690
|
onCollapsedChange: R,
|
|
5691
5691
|
onVariantChange: x
|
|
5692
5692
|
}, U) => {
|
|
5693
5693
|
const W = G(!1);
|
|
5694
|
-
Y0 && (
|
|
5694
|
+
Y0 && (L !== void 0 && H !== void 0) && !W.current && (W.current = !0, console.warn("UI Kit: Sidebar received both `variant` and `isCollapsed`; `variant` wins."));
|
|
5695
5695
|
const Z = H ?? !1, { width: F, setWidth: X, commitWidth: E, variantValue: T, effectiveMaxWidth: b, resolvedCssVariableTarget: V } = S4({
|
|
5696
5696
|
storageKey: j,
|
|
5697
5697
|
minWidth: A,
|
|
5698
5698
|
maxWidth: I,
|
|
5699
|
-
variant:
|
|
5699
|
+
variant: L,
|
|
5700
5700
|
isCollapsedProperty: Z,
|
|
5701
|
-
autoCollapseBelow:
|
|
5701
|
+
autoCollapseBelow: C,
|
|
5702
5702
|
cssVariableTarget: B,
|
|
5703
5703
|
onSidebarResize: f,
|
|
5704
5704
|
onVariantChange: x,
|
|
@@ -5731,7 +5731,7 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5731
5731
|
else
|
|
5732
5732
|
return;
|
|
5733
5733
|
O.preventDefault(), E(J);
|
|
5734
|
-
}),
|
|
5734
|
+
}), L1 = s1(() => {
|
|
5735
5735
|
E(b);
|
|
5736
5736
|
});
|
|
5737
5737
|
return /* @__PURE__ */ o.createElement(_0.Provider, { value: T }, /* @__PURE__ */ o.createElement(J0.Provider, { value: F }, /* @__PURE__ */ o.createElement(
|
|
@@ -5767,7 +5767,7 @@ const V4 = {}, R4 = 1280, D4 = 100, O1 = typeof window > "u", F1 = (e) => e ? {
|
|
|
5767
5767
|
onPointerUp: p1,
|
|
5768
5768
|
onPointerCancel: p1,
|
|
5769
5769
|
onKeyDown: A1,
|
|
5770
|
-
onDoubleClick:
|
|
5770
|
+
onDoubleClick: L1,
|
|
5771
5771
|
onMouseEnter: () => n1(!0),
|
|
5772
5772
|
onMouseLeave: () => n1(!1)
|
|
5773
5773
|
}
|
|
@@ -5812,8 +5812,8 @@ w1.propTypes = {
|
|
|
5812
5812
|
handleDrawerStateChange: n.func,
|
|
5813
5813
|
onSidebarResize: n.func,
|
|
5814
5814
|
variant: n.oneOf(["icons", "text", "iconsAndText"]),
|
|
5815
|
-
minWidth:
|
|
5816
|
-
maxWidth:
|
|
5815
|
+
minWidth: C0,
|
|
5816
|
+
maxWidth: C0,
|
|
5817
5817
|
isCollapsed: n.bool,
|
|
5818
5818
|
onCollapsedChange: n.func,
|
|
5819
5819
|
onVariantChange: n.func,
|
|
@@ -6229,22 +6229,22 @@ K.Cell.propTypes = {
|
|
|
6229
6229
|
className: n.string
|
|
6230
6230
|
};
|
|
6231
6231
|
const Z4 = ({ className: e, value: r, onSave: s, ...a }) => {
|
|
6232
|
-
const [l, c] = N(!1), [h, p] = N(r), m = G(null), g = G(null), [f,
|
|
6232
|
+
const [l, c] = N(!1), [h, p] = N(r), m = G(null), g = G(null), [f, L] = N("auto"), H = async () => {
|
|
6233
6233
|
c(!1), h !== r && s(h);
|
|
6234
6234
|
}, A = () => {
|
|
6235
6235
|
l || c(!0);
|
|
6236
|
-
}, I = (
|
|
6237
|
-
p(
|
|
6236
|
+
}, I = (C) => {
|
|
6237
|
+
p(C.target.value), C.target.style.height = "auto", C.target.style.height = `${C.target.scrollHeight}px`;
|
|
6238
6238
|
};
|
|
6239
6239
|
return t1(() => {
|
|
6240
6240
|
if (l) {
|
|
6241
6241
|
requestAnimationFrame(() => {
|
|
6242
|
-
var
|
|
6243
|
-
(
|
|
6242
|
+
var C;
|
|
6243
|
+
(C = g.current) == null || C.focus();
|
|
6244
6244
|
});
|
|
6245
6245
|
return;
|
|
6246
6246
|
}
|
|
6247
|
-
m.current &&
|
|
6247
|
+
m.current && L(`${m.current.scrollHeight * 1.07}px`);
|
|
6248
6248
|
}, [l]), /* @__PURE__ */ o.createElement(
|
|
6249
6249
|
"td",
|
|
6250
6250
|
{
|
|
@@ -6347,7 +6347,7 @@ const K1 = le({
|
|
|
6347
6347
|
), Y4++),
|
|
6348
6348
|
localize: !0,
|
|
6349
6349
|
locale: "en_US"
|
|
6350
|
-
}),
|
|
6350
|
+
}), L5 = ({ children: e, localize: r = !0, locale: s = "en_US" }) => {
|
|
6351
6351
|
const a = G(1), l = E0(() => a.current++, [a]), c = ce(() => ({ generateId: l, localize: r, locale: s }), [l, r, s]);
|
|
6352
6352
|
return /* @__PURE__ */ o.createElement(K1.Provider, { value: c }, e);
|
|
6353
6353
|
}, Me = (e) => {
|
|
@@ -6396,15 +6396,15 @@ const Q4 = Gt((e, r) => e(r), 500), at = ({
|
|
|
6396
6396
|
shouldStayOpen: m = !1,
|
|
6397
6397
|
shouldDestroyOnClose: g = !0,
|
|
6398
6398
|
shouldHideMenu: f = !1,
|
|
6399
|
-
minChars:
|
|
6399
|
+
minChars: L = 0,
|
|
6400
6400
|
...H
|
|
6401
6401
|
}) => {
|
|
6402
|
-
const [A, I] = N(!0), [
|
|
6402
|
+
const [A, I] = N(!0), [C, j] = N(s ?? ""), [B, R] = N(!1), x = G(), U = Me("search-input"), W = Me("search-menu"), $ = G4(), Z = G(), [F, X] = N(!0);
|
|
6403
6403
|
t1(() => {
|
|
6404
|
-
|
|
6405
|
-
}, [
|
|
6406
|
-
const E = { value:
|
|
6407
|
-
J !== we.stateChangeTypes.InputBlur && J !== we.stateChangeTypes.FunctionCloseMenu && (S === E ? (l == null || l(
|
|
6404
|
+
C.length > 0 ? R(!0) : R(!1);
|
|
6405
|
+
}, [C]);
|
|
6406
|
+
const E = { value: C }, T = C ? [E, ...r] : [], b = ({ selectedItem: S, type: J }) => {
|
|
6407
|
+
J !== we.stateChangeTypes.InputBlur && J !== we.stateChangeTypes.FunctionCloseMenu && (S === E ? (l == null || l(C), x.current.blur()) : S && (c == null || c(S), x.current.blur()), V1());
|
|
6408
6408
|
}, V = ({ inputValue: S }) => {
|
|
6409
6409
|
j(S), a && Q4(a, S);
|
|
6410
6410
|
}, {
|
|
@@ -6418,9 +6418,9 @@ const Q4 = Gt((e, r) => e(r), 500), at = ({
|
|
|
6418
6418
|
closeMenu: V1
|
|
6419
6419
|
} = we({
|
|
6420
6420
|
items: T,
|
|
6421
|
-
inputValue:
|
|
6421
|
+
inputValue: C,
|
|
6422
6422
|
onInputValueChange: V,
|
|
6423
|
-
itemToString: () =>
|
|
6423
|
+
itemToString: () => C,
|
|
6424
6424
|
// We will not change the search input after an item is selected.
|
|
6425
6425
|
defaultHighlightedIndex: 0,
|
|
6426
6426
|
onSelectedItemChange: b
|
|
@@ -6442,11 +6442,11 @@ const Q4 = Gt((e, r) => e(r), 500), at = ({
|
|
|
6442
6442
|
), g0(
|
|
6443
6443
|
"esc",
|
|
6444
6444
|
(S) => {
|
|
6445
|
-
(document == null ? void 0 : document.activeElement) === x.current && (S.preventDefault(),
|
|
6445
|
+
(document == null ? void 0 : document.activeElement) === x.current && (S.preventDefault(), C.length > 0 ? A1() : x.current.blur());
|
|
6446
6446
|
},
|
|
6447
6447
|
{ enableOnTags: ["INPUT"] }
|
|
6448
6448
|
);
|
|
6449
|
-
const
|
|
6449
|
+
const L1 = (D || !F || m) && T.length > 0 && !f, O = L1 && !p && T.length <= 1 && C.length >= L, e1 = L1 || !g;
|
|
6450
6450
|
return /* @__PURE__ */ o.createElement("div", { className: "ui-search relative w-full" }, /* @__PURE__ */ o.createElement("div", { ...y({ className: "w-full relative rounded-md" }) }, /* @__PURE__ */ o.createElement("div", { className: "pointer-events-none absolute inset-y-0 -top-0.5 left-0 hidden items-center md:flex" }, /* @__PURE__ */ o.createElement(B0, { className: "h-4 w-4 text-gray-darker" })), /* @__PURE__ */ o.createElement(
|
|
6451
6451
|
"input",
|
|
6452
6452
|
{
|
|
@@ -6482,11 +6482,11 @@ const Q4 = Gt((e, r) => e(r), 500), at = ({
|
|
|
6482
6482
|
className: u(
|
|
6483
6483
|
"ui-search-menu",
|
|
6484
6484
|
"absolute top-10 divide-y divide-gray-light w-full xl:w-[590px] max-h-[75vh] border border-secondary-lighter shadow-xl mt-1 rounded overflow-auto z-20 bg-white",
|
|
6485
|
-
{ hidden: !
|
|
6485
|
+
{ hidden: !L1 }
|
|
6486
6486
|
)
|
|
6487
6487
|
})
|
|
6488
6488
|
},
|
|
6489
|
-
e1 ? T.map((S, J) => /* @__PURE__ */ o.createElement("li", { key: S, ...B1({ key: J, item: S, index: J, className: "ui-search-item" }) }, S === E ? p ? /* @__PURE__ */ o.createElement("div", { className: "p-3 text-center" }, /* @__PURE__ */ o.createElement(ue, { size: "small" })) :
|
|
6489
|
+
e1 ? T.map((S, J) => /* @__PURE__ */ o.createElement("li", { key: S, ...B1({ key: J, item: S, index: J, className: "ui-search-item" }) }, S === E ? p ? /* @__PURE__ */ o.createElement("div", { className: "p-3 text-center" }, /* @__PURE__ */ o.createElement(ue, { size: "small" })) : C.length < L ? /* @__PURE__ */ o.createElement(
|
|
6490
6490
|
"div",
|
|
6491
6491
|
{
|
|
6492
6492
|
className: u(
|
|
@@ -6494,7 +6494,7 @@ const Q4 = Gt((e, r) => e(r), 500), at = ({
|
|
|
6494
6494
|
Y === J ? "bg-blue-light text-white" : ""
|
|
6495
6495
|
)
|
|
6496
6496
|
},
|
|
6497
|
-
`Enter at least ${
|
|
6497
|
+
`Enter at least ${L} characters to begin search`
|
|
6498
6498
|
) : null : h == null ? void 0 : h(S, Y === J))) : null,
|
|
6499
6499
|
e1 && O ? /* @__PURE__ */ o.createElement("li", { className: "cursor-not-allowed p-2" }, "No results found") : null,
|
|
6500
6500
|
e1 && T.length < 5 ? /* @__PURE__ */ o.createElement("li", { className: "search-footer pointer-events sticky bottom-0 flex space-x-5 p-2 text-sm text-gray-dark" }, /* @__PURE__ */ o.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ o.createElement(f1, { char: "up", className: "mr-0.5" }), /* @__PURE__ */ o.createElement(f1, { char: "down", className: "mr-2" }), " navigate results"), /* @__PURE__ */ o.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ o.createElement(f1, { char: "enter", className: "mr-2" }), " submit"), /* @__PURE__ */ o.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ o.createElement(f1, { char: "esc", className: "mr-2" }), " close search")) : null
|
|
@@ -6691,7 +6691,7 @@ const mt = {
|
|
|
6691
6691
|
return;
|
|
6692
6692
|
let H = c;
|
|
6693
6693
|
return h && (H = H.replace(new RegExp(`^${h}`), "")), p && (H = H.replace(new RegExp(`${p}$`), "")), H.replace(/[^.\S]+/g, "").replace(/[\p{Sc}]/u, "");
|
|
6694
|
-
},
|
|
6694
|
+
}, L = h0(c) ? u0(f()) : u0(c == null ? void 0 : c.toString());
|
|
6695
6695
|
return /* @__PURE__ */ o.createElement("div", { className: "relative flex w-full items-center" }, /* @__PURE__ */ o.createElement(
|
|
6696
6696
|
e,
|
|
6697
6697
|
{
|
|
@@ -6709,7 +6709,7 @@ const mt = {
|
|
|
6709
6709
|
value: c,
|
|
6710
6710
|
...m
|
|
6711
6711
|
}
|
|
6712
|
-
), l &&
|
|
6712
|
+
), l && L && /* @__PURE__ */ o.createElement(I1, { className: "absolute right-3", color: "danger" }));
|
|
6713
6713
|
}
|
|
6714
6714
|
);
|
|
6715
6715
|
u1.propTypes = {
|
|
@@ -6926,7 +6926,7 @@ const sn = ({
|
|
|
6926
6926
|
tooltipSuffix: g,
|
|
6927
6927
|
onChange: f
|
|
6928
6928
|
}) => {
|
|
6929
|
-
const
|
|
6929
|
+
const L = m ?? r.map(() => ({
|
|
6930
6930
|
from: (H) => H,
|
|
6931
6931
|
to: (H) => Math.round(H) + g
|
|
6932
6932
|
}));
|
|
@@ -6939,7 +6939,7 @@ const sn = ({
|
|
|
6939
6939
|
start: r,
|
|
6940
6940
|
range: { min: s, max: a },
|
|
6941
6941
|
step: h,
|
|
6942
|
-
tooltips: p ?
|
|
6942
|
+
tooltips: p ? L : !1,
|
|
6943
6943
|
onChange: f
|
|
6944
6944
|
}
|
|
6945
6945
|
);
|
|
@@ -6997,29 +6997,29 @@ T1.Breadcrumb.displayName = "HeaderToolbar.Search";
|
|
|
6997
6997
|
T1.Search = (e) => /* @__PURE__ */ o.createElement(at, { className: "ui-header-toolbar-search w-full flex-grow pr-1", ...e });
|
|
6998
6998
|
const kt = ({ initialValue: e, onSelect: r, apiBaseUrl: s, remoteId: a }) => {
|
|
6999
6999
|
var X;
|
|
7000
|
-
const [l, c] = N(e || ""), [h, p] = N([]), [m, g] = N(!1), [f,
|
|
7000
|
+
const [l, c] = N(e || ""), [h, p] = N([]), [m, g] = N(!1), [f, L] = N(!1), [H, A] = N(""), [I, C] = N(0), j = (X = h[I]) != null && X.place_id ? `autocomplete-item-${I}` : void 0, B = G(null), R = G(!1), x = G(!1), U = G(r);
|
|
7001
7001
|
t1(() => {
|
|
7002
7002
|
U.current = r;
|
|
7003
7003
|
}, [r]);
|
|
7004
7004
|
const W = E0((E) => {
|
|
7005
7005
|
var T;
|
|
7006
|
-
c(E.description || E.name || ""),
|
|
7006
|
+
c(E.description || E.name || ""), L(!1), x.current || (T = U.current) == null || T.call(U, E), x.current = !1;
|
|
7007
7007
|
}, []), $ = (E) => {
|
|
7008
|
-
c(E.target.value),
|
|
7008
|
+
c(E.target.value), L(!0), x.current = !1, F(E.target.value);
|
|
7009
7009
|
}, Z = (E) => {
|
|
7010
7010
|
if (!(!f || h.length === 0))
|
|
7011
7011
|
switch (E.key) {
|
|
7012
7012
|
case "ArrowDown":
|
|
7013
|
-
E.preventDefault(),
|
|
7013
|
+
E.preventDefault(), C((T) => (T + 1) % h.length);
|
|
7014
7014
|
break;
|
|
7015
7015
|
case "ArrowUp":
|
|
7016
|
-
E.preventDefault(),
|
|
7016
|
+
E.preventDefault(), C((T) => (T - 1 + h.length) % h.length);
|
|
7017
7017
|
break;
|
|
7018
7018
|
case "Enter":
|
|
7019
7019
|
E.preventDefault(), W(h[I]);
|
|
7020
7020
|
break;
|
|
7021
7021
|
case "Escape":
|
|
7022
|
-
|
|
7022
|
+
L(!1);
|
|
7023
7023
|
break;
|
|
7024
7024
|
}
|
|
7025
7025
|
}, F = $t(
|
|
@@ -7035,7 +7035,7 @@ const kt = ({ initialValue: e, onSelect: r, apiBaseUrl: s, remoteId: a }) => {
|
|
|
7035
7035
|
}), V = Array.isArray(b) ? b : b.predictions || [];
|
|
7036
7036
|
if (p(V), T !== null) {
|
|
7037
7037
|
const D = V.findIndex((Q) => Q.place_id === T);
|
|
7038
|
-
D !== -1 && (
|
|
7038
|
+
D !== -1 && (C(D), W(V[D]));
|
|
7039
7039
|
}
|
|
7040
7040
|
} catch (b) {
|
|
7041
7041
|
console.error("Google Places error:", b), p([]), A("Failed to load suggestions. Please try again.");
|
|
@@ -7049,7 +7049,7 @@ const kt = ({ initialValue: e, onSelect: r, apiBaseUrl: s, remoteId: a }) => {
|
|
|
7049
7049
|
return t1(() => {
|
|
7050
7050
|
e && !R.current && (R.current = !0, x.current = !0, F(e, a));
|
|
7051
7051
|
}, [e, a]), Zt(() => {
|
|
7052
|
-
|
|
7052
|
+
L(!1);
|
|
7053
7053
|
}, B), /* @__PURE__ */ o.createElement("div", { ref: B, className: "relative" }, /* @__PURE__ */ o.createElement(
|
|
7054
7054
|
j1,
|
|
7055
7055
|
{
|
|
@@ -7078,7 +7078,7 @@ const kt = ({ initialValue: e, onSelect: r, apiBaseUrl: s, remoteId: a }) => {
|
|
|
7078
7078
|
"data-testid": "google-places-option",
|
|
7079
7079
|
className: "flex cursor-pointer flex-col gap-2 border-b border-gray bg-white px-3 py-2 hover:bg-gray-light hover:text-blue-light",
|
|
7080
7080
|
onClick: () => W(E),
|
|
7081
|
-
onMouseEnter: () =>
|
|
7081
|
+
onMouseEnter: () => C(T)
|
|
7082
7082
|
},
|
|
7083
7083
|
/* @__PURE__ */ o.createElement("div", { className: "flex flex-wrap items-center gap-1" }, /* @__PURE__ */ o.createElement("p", { className: "mr-2 whitespace-nowrap text-md" }, E.description || E.name), (E.types || []).slice(0, 4).map((b) => /* @__PURE__ */ o.createElement(O0, { key: b, color: "secondary" }, Dt(b)))),
|
|
7084
7084
|
E.formatted_address && /* @__PURE__ */ o.createElement("p", null, E.formatted_address)
|
|
@@ -7196,7 +7196,7 @@ const b0 = {
|
|
|
7196
7196
|
backgroundType: p = "default",
|
|
7197
7197
|
...m
|
|
7198
7198
|
}) => {
|
|
7199
|
-
const [g, f] = N({ email: "", password: "", shouldRemember: !1, ...e }),
|
|
7199
|
+
const [g, f] = N({ email: "", password: "", shouldRemember: !1, ...e }), L = (j) => {
|
|
7200
7200
|
const { name: B, value: R } = j.target;
|
|
7201
7201
|
f({ ...g, [B]: R });
|
|
7202
7202
|
}, H = (j) => {
|
|
@@ -7204,7 +7204,7 @@ const b0 = {
|
|
|
7204
7204
|
f({ ...g, [B]: R });
|
|
7205
7205
|
}, A = (j) => {
|
|
7206
7206
|
j.preventDefault(), a(g);
|
|
7207
|
-
},
|
|
7207
|
+
}, C = {
|
|
7208
7208
|
backgroundImage: `url("${h ?? b0[p] ?? b0.default}")`,
|
|
7209
7209
|
backgroundRepeat: "no-repeat",
|
|
7210
7210
|
backgroundPosition: "center",
|
|
@@ -7214,7 +7214,7 @@ const b0 = {
|
|
|
7214
7214
|
"div",
|
|
7215
7215
|
{
|
|
7216
7216
|
className: "ui-login h-screen overflow-hidden bg-white bg-opacity-100 bg-blend-overlay md:bg-opacity-0",
|
|
7217
|
-
style:
|
|
7217
|
+
style: C,
|
|
7218
7218
|
...m
|
|
7219
7219
|
},
|
|
7220
7220
|
/* @__PURE__ */ o.createElement("div", { className: "md:full flex h-[88%] w-full flex-col items-center justify-center space-y-8" }, /* @__PURE__ */ o.createElement("div", { className: "w-85 rounded-lg px-9 py-0 md:bg-white md:py-10" }, /* @__PURE__ */ o.createElement("div", { className: "mb-12 space-y-4 md:mb-20" }, /* @__PURE__ */ o.createElement(D0, { className: "mx-auto h-10 w-auto md:h-12" }), c && /* @__PURE__ */ o.createElement("div", { className: "flex items-center justify-center" }, c)), /* @__PURE__ */ o.createElement("form", { onSubmit: A }, /* @__PURE__ */ o.createElement("fieldset", { className: "space-y-6", disabled: r }, /* @__PURE__ */ o.createElement("div", { className: "-space-y-px rounded-md bg-white" }, /* @__PURE__ */ o.createElement(Ee, { className: "md:mb-7" }, /* @__PURE__ */ o.createElement(He, null, "Email"), /* @__PURE__ */ o.createElement(
|
|
@@ -7226,7 +7226,7 @@ const b0 = {
|
|
|
7226
7226
|
autoComplete: "email",
|
|
7227
7227
|
value: g.email,
|
|
7228
7228
|
isError: !!s,
|
|
7229
|
-
onChange:
|
|
7229
|
+
onChange: L
|
|
7230
7230
|
}
|
|
7231
7231
|
)), /* @__PURE__ */ o.createElement(Ee, null, /* @__PURE__ */ o.createElement(He, null, "Password"), /* @__PURE__ */ o.createElement(
|
|
7232
7232
|
j1,
|
|
@@ -7237,7 +7237,7 @@ const b0 = {
|
|
|
7237
7237
|
autoComplete: "current-password",
|
|
7238
7238
|
value: g.password,
|
|
7239
7239
|
isError: !!s,
|
|
7240
|
-
onChange:
|
|
7240
|
+
onChange: L
|
|
7241
7241
|
}
|
|
7242
7242
|
))), /* @__PURE__ */ o.createElement(
|
|
7243
7243
|
ft,
|
|
@@ -7287,7 +7287,7 @@ z.extend(o2);
|
|
|
7287
7287
|
z.extend(s2);
|
|
7288
7288
|
z.extend(a2);
|
|
7289
7289
|
z.extend(i2);
|
|
7290
|
-
const
|
|
7290
|
+
const Lt = {
|
|
7291
7291
|
DATE_ISO: "YYYY-MM-DD"
|
|
7292
7292
|
}, hn = (e) => {
|
|
7293
7293
|
try {
|
|
@@ -7296,7 +7296,7 @@ const Ct = {
|
|
|
7296
7296
|
return !1;
|
|
7297
7297
|
}
|
|
7298
7298
|
return !0;
|
|
7299
|
-
},
|
|
7299
|
+
}, Ct = (e, r = Lt.DATE_ISO) => z(e).format(r), C5 = (e, r = "h:mm a") => {
|
|
7300
7300
|
const s = String(e).padStart(4, 0);
|
|
7301
7301
|
return z(s, "hhmm").format(r);
|
|
7302
7302
|
}, b5 = (e) => z(new Date(Number.parseInt(e.slice(0, 8), 16) * 1e3)), k = (e, r) => {
|
|
@@ -7312,7 +7312,7 @@ const Ct = {
|
|
|
7312
7312
|
return `${r} ${s}`;
|
|
7313
7313
|
}, un = "T00:00:00", pn = "T23:59:59", v = (e, r = !0) => {
|
|
7314
7314
|
const s = r ? un : pn;
|
|
7315
|
-
return te(e) ? new Date(e.format(
|
|
7315
|
+
return te(e) ? new Date(e.format(Lt.DATE_ISO) + s) : new Date(Ct(e) + s);
|
|
7316
7316
|
}, J1 = (e, r, s = "day") => te(e) && te(r) ? e.isSame(r, s) : !1, ie = ({ selectedDate: e, date: r, getContent: s, currentMonth: a, isLoading: l = !1, disabled: c = !1 }) => {
|
|
7317
7317
|
const h = z(a).isSame(r, "month");
|
|
7318
7318
|
if (s && h)
|
|
@@ -7382,8 +7382,8 @@ const gn = {
|
|
|
7382
7382
|
const l = [...Array.from({ length: 12 }).keys()].map((g) => ve.locale(r).month(g).format("MMM")), c = [...Array.from({ length: ve.year() - 2012 + 5 + 1 }).keys()].map(
|
|
7383
7383
|
(g) => ve.locale(r).year(2012 + g).format("YYYY")
|
|
7384
7384
|
), h = wn(e, a), p = (g) => {
|
|
7385
|
-
const { year: f, month:
|
|
7386
|
-
s(new Date(f.value, Number(
|
|
7385
|
+
const { year: f, month: L } = g.target.form;
|
|
7386
|
+
s(new Date(f.value, Number(L.value) - h));
|
|
7387
7387
|
}, m = (g) => {
|
|
7388
7388
|
const { year: f } = g.target.form;
|
|
7389
7389
|
s(new Date(f.value, a.getMonth()));
|
|
@@ -7423,19 +7423,19 @@ const fn = z(), n0 = ({ year: e, value: r, onChange: s, handleYearChange: a, loc
|
|
|
7423
7423
|
const { locale: p } = x1(K1), m = [...Array.from({ length: 12 }).keys()].map(
|
|
7424
7424
|
(f) => fn.locale(l ?? p).month(f).format("MMM")
|
|
7425
7425
|
), g = (f) => {
|
|
7426
|
-
const
|
|
7427
|
-
s(
|
|
7426
|
+
const L = new Date(e, f);
|
|
7427
|
+
s(L);
|
|
7428
7428
|
};
|
|
7429
|
-
return /* @__PURE__ */ o.createElement("span", { className: "min-w-72" }, /* @__PURE__ */ o.createElement("div", { className: "mb-4 flex items-center justify-between" }, /* @__PURE__ */ o.createElement(q1, { onClick: () => a(-1) }, /* @__PURE__ */ o.createElement(Ie, null)), /* @__PURE__ */ o.createElement("span", { className: "text-lg font-bold" }, e), /* @__PURE__ */ o.createElement(q1, { onClick: () => a(1) }, /* @__PURE__ */ o.createElement(Y1, null))), /* @__PURE__ */ o.createElement("div", { className: "grid grid-cols-4 gap-2" }, m.map((f,
|
|
7429
|
+
return /* @__PURE__ */ o.createElement("span", { className: "min-w-72" }, /* @__PURE__ */ o.createElement("div", { className: "mb-4 flex items-center justify-between" }, /* @__PURE__ */ o.createElement(q1, { onClick: () => a(-1) }, /* @__PURE__ */ o.createElement(Ie, null)), /* @__PURE__ */ o.createElement("span", { className: "text-lg font-bold" }, e), /* @__PURE__ */ o.createElement(q1, { onClick: () => a(1) }, /* @__PURE__ */ o.createElement(Y1, null))), /* @__PURE__ */ o.createElement("div", { className: "grid grid-cols-4 gap-2" }, m.map((f, L) => /* @__PURE__ */ o.createElement(
|
|
7430
7430
|
"button",
|
|
7431
7431
|
{
|
|
7432
7432
|
key: f,
|
|
7433
7433
|
type: "button",
|
|
7434
7434
|
className: u(
|
|
7435
|
-
r && r.getMonth() ===
|
|
7435
|
+
r && r.getMonth() === L && r.getFullYear() === e ? "bg-blue-dark text-white" : "text-black",
|
|
7436
7436
|
"rounded-md p-4 text-center hover:bg-blue-dark hover:text-white"
|
|
7437
7437
|
),
|
|
7438
|
-
onClick: () => g(
|
|
7438
|
+
onClick: () => g(L)
|
|
7439
7439
|
},
|
|
7440
7440
|
f
|
|
7441
7441
|
))), /* @__PURE__ */ o.createElement("div", { className: "mt-2 flex justify-between border-t border-gray-lighter pt-2" }, /* @__PURE__ */ o.createElement(c1, { size: "small", color: "secondary", variant: "outline", onClick: c }, "Clear"), /* @__PURE__ */ o.createElement(c1, { size: "small", color: "secondary", variant: "outline", onClick: h }, "Today")));
|
|
@@ -7453,12 +7453,12 @@ const yt = ({ date: e, locale: r, onChange: s, currentMonth: a }) => {
|
|
|
7453
7453
|
s(A), c(!1);
|
|
7454
7454
|
}, f = (A) => {
|
|
7455
7455
|
p(h + A);
|
|
7456
|
-
},
|
|
7456
|
+
}, L = () => {
|
|
7457
7457
|
c(!1);
|
|
7458
7458
|
}, H = () => {
|
|
7459
7459
|
s(/* @__PURE__ */ new Date()), c(!1);
|
|
7460
7460
|
};
|
|
7461
|
-
return /* @__PURE__ */ o.createElement("span", { className: "DayPicker-Caption" }, /* @__PURE__ */ o.createElement("span", { className: "inline-block" }, /* @__PURE__ */ o.createElement(a1, { visible: l, distance: 5, skidding: 60, placement: "bottom", onClickOutside:
|
|
7461
|
+
return /* @__PURE__ */ o.createElement("span", { className: "DayPicker-Caption" }, /* @__PURE__ */ o.createElement("span", { className: "inline-block" }, /* @__PURE__ */ o.createElement(a1, { visible: l, distance: 5, skidding: 60, placement: "bottom", onClickOutside: L }, /* @__PURE__ */ o.createElement(
|
|
7462
7462
|
"div",
|
|
7463
7463
|
{
|
|
7464
7464
|
className: "mt-2 min-w-40 cursor-pointer items-center justify-between text-left font-bold",
|
|
@@ -7472,7 +7472,7 @@ const yt = ({ date: e, locale: r, onChange: s, currentMonth: a }) => {
|
|
|
7472
7472
|
year: h,
|
|
7473
7473
|
value: e,
|
|
7474
7474
|
locale: r,
|
|
7475
|
-
handleClear:
|
|
7475
|
+
handleClear: L,
|
|
7476
7476
|
handleToday: H,
|
|
7477
7477
|
handleYearChange: f,
|
|
7478
7478
|
onChange: g
|
|
@@ -7495,15 +7495,15 @@ const Mt = ({
|
|
|
7495
7495
|
modifiers: m,
|
|
7496
7496
|
selectedDays: g,
|
|
7497
7497
|
handleDayClick: f,
|
|
7498
|
-
handleStartMonthChange:
|
|
7498
|
+
handleStartMonthChange: L,
|
|
7499
7499
|
handleEndMonthChange: H,
|
|
7500
7500
|
handleTodayClick: A,
|
|
7501
7501
|
locale: I,
|
|
7502
|
-
timezoneName:
|
|
7502
|
+
timezoneName: C,
|
|
7503
7503
|
...j
|
|
7504
7504
|
}) => {
|
|
7505
|
-
const B = k(r == null ? void 0 : r.from,
|
|
7506
|
-
const V = k(b,
|
|
7505
|
+
const B = k(r == null ? void 0 : r.from, C).isSame(k(r == null ? void 0 : r.to, C), "month"), R = k(r == null ? void 0 : r.from, C).isSame(k(r == null ? void 0 : r.to, C), "day"), x = (b, V) => l && b ? ({ date: D }) => /* @__PURE__ */ o.createElement(r0, { date: D, currentMonth: b, locale: I, onChange: V }) : void 0, U = x(c, L), W = x(p, H), $ = (b) => xe(h) ? h(b) : Le(h) ? h.some((V) => k(V, C).isSame(b, "day")) : !1, Z = (b) => $(b), F = (b) => {
|
|
7506
|
+
const V = k(b, C).isBefore(r == null ? void 0 : r.from, "day");
|
|
7507
7507
|
return $(b) || V && !R;
|
|
7508
7508
|
}, X = (b, V, D) => {
|
|
7509
7509
|
const Q = e == null ? void 0 : e(b), n1 = V(b), o1 = Q ? G1 : o.Fragment, y = Q ? { placement: "top", content: Q } : {};
|
|
@@ -7536,7 +7536,7 @@ const Mt = ({
|
|
|
7536
7536
|
renderDay: E,
|
|
7537
7537
|
getTooltip: e,
|
|
7538
7538
|
onDayClick: (b, V, D) => f(b, V, D, !0),
|
|
7539
|
-
onMonthChange:
|
|
7539
|
+
onMonthChange: L,
|
|
7540
7540
|
onTodayButtonClick: A,
|
|
7541
7541
|
...j
|
|
7542
7542
|
}
|
|
@@ -7698,7 +7698,7 @@ const w = {
|
|
|
7698
7698
|
w.LEADING_MONTH,
|
|
7699
7699
|
w.LEADING_QUARTER,
|
|
7700
7700
|
w.LEADING_YEAR
|
|
7701
|
-
]),
|
|
7701
|
+
]), Ln = {
|
|
7702
7702
|
[w.YESTERDAY]: (e) => {
|
|
7703
7703
|
const r = k(null, e).subtract(1, "day");
|
|
7704
7704
|
return {
|
|
@@ -7844,7 +7844,7 @@ const w = {
|
|
|
7844
7844
|
// This prop used to be able to select Future Dates in RelativeDateRange,
|
|
7845
7845
|
}) => {
|
|
7846
7846
|
const p = (m) => {
|
|
7847
|
-
const g = m.target.value, f =
|
|
7847
|
+
const g = m.target.value, f = Ln[g](c);
|
|
7848
7848
|
a(g, f);
|
|
7849
7849
|
};
|
|
7850
7850
|
return /* @__PURE__ */ o.createElement("div", { className: "flex space-x-2" }, /* @__PURE__ */ o.createElement(se, { size: "medium", value: r, className: "pr-8 leading-5", onChange: p }, /* @__PURE__ */ o.createElement("option", { value: "" }, "Relative Date Range"), e.map((m) => {
|
|
@@ -7900,11 +7900,11 @@ const ee = {
|
|
|
7900
7900
|
onChange: m,
|
|
7901
7901
|
onMonthChange: g,
|
|
7902
7902
|
onSubmitDateRange: f,
|
|
7903
|
-
modifiers:
|
|
7903
|
+
modifiers: L = {},
|
|
7904
7904
|
ranges: H,
|
|
7905
7905
|
shouldShowRelativeRanges: A = !1,
|
|
7906
7906
|
isFutureDatesAllowed: I = !1,
|
|
7907
|
-
components:
|
|
7907
|
+
components: C = {},
|
|
7908
7908
|
getTooltip: j,
|
|
7909
7909
|
upcomingDates: B,
|
|
7910
7910
|
locale: R,
|
|
@@ -7922,13 +7922,13 @@ const ee = {
|
|
|
7922
7922
|
return;
|
|
7923
7923
|
const g1 = x ? v(k(M, x)) : /* @__PURE__ */ new Date();
|
|
7924
7924
|
q.disabled || Y(g1) ? (F(g1), g == null || g(g1)) : m(g1, q, l1);
|
|
7925
|
-
}, Y = (M) =>
|
|
7926
|
-
F(q.from), E(q.from), b(q.to), m({ ...q, rangeName: M },
|
|
7925
|
+
}, Y = (M) => Le(a) ? a.some((q) => J1(k(q, x), M, "day")) : (xe(a), a(M)), B1 = (M) => Le(c) ? c.some((q) => J1(k(q, x), M, "day")) : (xe(c), c(M)), V1 = (M, q) => {
|
|
7926
|
+
F(q.from), E(q.from), b(q.to), m({ ...q, rangeName: M }, L, null);
|
|
7927
7927
|
}, p1 = (M) => {
|
|
7928
7928
|
F(M), g == null || g(M);
|
|
7929
7929
|
}, A1 = (M) => {
|
|
7930
7930
|
E(M), g == null || g(M);
|
|
7931
|
-
},
|
|
7931
|
+
}, L1 = (M) => {
|
|
7932
7932
|
b(M), g == null || g(M);
|
|
7933
7933
|
}, O = (M, q, l1) => {
|
|
7934
7934
|
if (!q.disabled)
|
|
@@ -8008,14 +8008,14 @@ const ee = {
|
|
|
8008
8008
|
shouldShowYearPicker: h,
|
|
8009
8009
|
startMonth: X,
|
|
8010
8010
|
endMonth: T,
|
|
8011
|
-
modifiers: { ...
|
|
8011
|
+
modifiers: { ...L, ...J },
|
|
8012
8012
|
getTooltip: j,
|
|
8013
8013
|
disabledDays: a,
|
|
8014
8014
|
getDayContent: s,
|
|
8015
8015
|
value: r,
|
|
8016
8016
|
handleDayClick: O,
|
|
8017
8017
|
handleStartMonthChange: A1,
|
|
8018
|
-
handleEndMonthChange:
|
|
8018
|
+
handleEndMonthChange: L1,
|
|
8019
8019
|
handleTodayClick: y,
|
|
8020
8020
|
selectedDays: i0,
|
|
8021
8021
|
locale: R ?? W,
|
|
@@ -8030,12 +8030,12 @@ const ee = {
|
|
|
8030
8030
|
s0 ? "date-range-picker" : null,
|
|
8031
8031
|
jt ? "date-range-picker max-w-[400px]" : null,
|
|
8032
8032
|
s ? "has-custom-content" : null,
|
|
8033
|
-
|
|
8033
|
+
L.waitlist ? "has-custom-content" : null
|
|
8034
8034
|
),
|
|
8035
8035
|
todayButton: "Today",
|
|
8036
8036
|
selectedDays: i0,
|
|
8037
8037
|
month: Z,
|
|
8038
|
-
modifiers: { ...
|
|
8038
|
+
modifiers: { ...L, ...J },
|
|
8039
8039
|
disabledDays: a,
|
|
8040
8040
|
captionElement: e1,
|
|
8041
8041
|
renderDay: S,
|
|
@@ -8045,7 +8045,7 @@ const ee = {
|
|
|
8045
8045
|
onTodayButtonClick: y,
|
|
8046
8046
|
...U
|
|
8047
8047
|
}
|
|
8048
|
-
)),
|
|
8048
|
+
)), C.Footer ? /* @__PURE__ */ o.createElement(C.Footer, null) : null, A && /* @__PURE__ */ o.createElement("div", { className: "max-w-200 " }, /* @__PURE__ */ o.createElement("div", { className: "ml-auto w-5/12" }, /* @__PURE__ */ o.createElement(
|
|
8049
8049
|
Et,
|
|
8050
8050
|
{
|
|
8051
8051
|
value: V,
|
|
@@ -8078,7 +8078,7 @@ o0.propTypes = {
|
|
|
8078
8078
|
locale: n.string,
|
|
8079
8079
|
timezoneName: n.string
|
|
8080
8080
|
};
|
|
8081
|
-
const
|
|
8081
|
+
const Cn = () => {
|
|
8082
8082
|
const e = Yt();
|
|
8083
8083
|
return !(e != null && e.md);
|
|
8084
8084
|
}, At = ({ value: e, onChange: r, locale: s }) => {
|
|
@@ -8120,10 +8120,10 @@ const bn = ({
|
|
|
8120
8120
|
components: m = {},
|
|
8121
8121
|
popoverProps: g,
|
|
8122
8122
|
getDayContent: f,
|
|
8123
|
-
...
|
|
8123
|
+
...L
|
|
8124
8124
|
}) => {
|
|
8125
|
-
const [H] = N(e), [A, I] = N(e), [
|
|
8126
|
-
j(!
|
|
8125
|
+
const [H] = N(e), [A, I] = N(e), [C, j] = N(!1), B = () => {
|
|
8126
|
+
j(!C);
|
|
8127
8127
|
}, R = ($, Z, F) => {
|
|
8128
8128
|
r === "single" ? (c == null || c($, Z, F), B()) : c == null || c($, A, Z, F);
|
|
8129
8129
|
}, x = () => {
|
|
@@ -8134,11 +8134,11 @@ const bn = ({
|
|
|
8134
8134
|
t1(() => {
|
|
8135
8135
|
I(e);
|
|
8136
8136
|
}, [e]);
|
|
8137
|
-
const W =
|
|
8137
|
+
const W = Cn();
|
|
8138
8138
|
return /* @__PURE__ */ o.createElement(
|
|
8139
8139
|
a1,
|
|
8140
8140
|
{
|
|
8141
|
-
visible:
|
|
8141
|
+
visible: C,
|
|
8142
8142
|
maxWidth: 900,
|
|
8143
8143
|
distance: 18,
|
|
8144
8144
|
placement: "bottom",
|
|
@@ -8152,13 +8152,13 @@ const bn = ({
|
|
|
8152
8152
|
{
|
|
8153
8153
|
readOnly: !0,
|
|
8154
8154
|
size: "medium",
|
|
8155
|
-
value: e ?
|
|
8155
|
+
value: e ? Ct(e, s) : "",
|
|
8156
8156
|
placeholder: a,
|
|
8157
8157
|
className: p == null ? void 0 : p.input,
|
|
8158
8158
|
onClick: B
|
|
8159
8159
|
}
|
|
8160
8160
|
),
|
|
8161
|
-
/* @__PURE__ */ o.createElement(a1.Content, { className: "pr-1" },
|
|
8161
|
+
/* @__PURE__ */ o.createElement(a1.Content, { className: "pr-1" }, C && (l === "month" ? /* @__PURE__ */ o.createElement(At, { value: e, onChange: R, ...L }) : /* @__PURE__ */ o.createElement(
|
|
8162
8162
|
o0,
|
|
8163
8163
|
{
|
|
8164
8164
|
variant: r,
|
|
@@ -8167,7 +8167,7 @@ const bn = ({
|
|
|
8167
8167
|
components: m,
|
|
8168
8168
|
onChange: R,
|
|
8169
8169
|
onSubmitDateRange: x,
|
|
8170
|
-
...
|
|
8170
|
+
...L
|
|
8171
8171
|
}
|
|
8172
8172
|
)))
|
|
8173
8173
|
);
|
|
@@ -8195,7 +8195,7 @@ const yn = ({ value: e, error: r }) => /* @__PURE__ */ o.createElement("span", n
|
|
|
8195
8195
|
error: m = null,
|
|
8196
8196
|
...g
|
|
8197
8197
|
}) => {
|
|
8198
|
-
const f = G(),
|
|
8198
|
+
const f = G(), L = (H) => {
|
|
8199
8199
|
setTimeout(() => {
|
|
8200
8200
|
const A = f == null ? void 0 : f.current.querySelector("select,textarea,input");
|
|
8201
8201
|
A && (A.focus(), a && A.select());
|
|
@@ -8209,7 +8209,7 @@ const yn = ({ value: e, error: r }) => /* @__PURE__ */ o.createElement("span", n
|
|
|
8209
8209
|
m && "!border-danger !text-danger",
|
|
8210
8210
|
h == null ? void 0 : h.text
|
|
8211
8211
|
),
|
|
8212
|
-
onClick:
|
|
8212
|
+
onClick: L
|
|
8213
8213
|
},
|
|
8214
8214
|
/* @__PURE__ */ o.createElement("span", { className: u("border-b border-b-black font-bold text-black", h == null ? void 0 : h.textField) }, /* @__PURE__ */ o.createElement(yn, { value: e, error: m })),
|
|
8215
8215
|
s && /* @__PURE__ */ o.createElement(ze, { size: "medium" })
|
|
@@ -8226,9 +8226,9 @@ const yn = ({ value: e, error: r }) => /* @__PURE__ */ o.createElement("span", n
|
|
|
8226
8226
|
onChange: m,
|
|
8227
8227
|
onDelete: g,
|
|
8228
8228
|
onError: f,
|
|
8229
|
-
...
|
|
8229
|
+
...L
|
|
8230
8230
|
}) => {
|
|
8231
|
-
const H = G(), [A, I] = N(0),
|
|
8231
|
+
const H = G(), [A, I] = N(0), C = () => {
|
|
8232
8232
|
H.current.click();
|
|
8233
8233
|
}, j = (U) => {
|
|
8234
8234
|
const [W] = U.target.files;
|
|
@@ -8259,7 +8259,7 @@ const yn = ({ value: e, error: r }) => /* @__PURE__ */ o.createElement("span", n
|
|
|
8259
8259
|
onClick: B
|
|
8260
8260
|
},
|
|
8261
8261
|
"Delete"
|
|
8262
|
-
), /* @__PURE__ */ o.createElement(
|
|
8262
|
+
), /* @__PURE__ */ o.createElement(Ce, { disabled: s, isLoading: s, onClick: C }, x ? h.trim() : "Upload New Photo")) : /* @__PURE__ */ o.createElement(Ce, { disabled: s, isLoading: s, onClick: C }, x ? h.trim() : e ? "Replace Photo" : "Upload New Photo")), /* @__PURE__ */ o.createElement(
|
|
8263
8263
|
"input",
|
|
8264
8264
|
{
|
|
8265
8265
|
key: A,
|
|
@@ -8269,7 +8269,7 @@ const yn = ({ value: e, error: r }) => /* @__PURE__ */ o.createElement("span", n
|
|
|
8269
8269
|
multiple: !1,
|
|
8270
8270
|
accept: p,
|
|
8271
8271
|
onChange: j,
|
|
8272
|
-
...
|
|
8272
|
+
...L
|
|
8273
8273
|
}
|
|
8274
8274
|
), /* @__PURE__ */ o.createElement("div", { className: "text-xs text-gray-darker" }, R ? c : /* @__PURE__ */ o.createElement("div", null, "Check that the image is in PNG, JPG or WebP format", a ? ` and does not exceed ${a}MB` : ""))));
|
|
8275
8275
|
};
|
|
@@ -8750,7 +8750,7 @@ const zn = {
|
|
|
8750
8750
|
"7.5": "30px"
|
|
8751
8751
|
}
|
|
8752
8752
|
}
|
|
8753
|
-
}, { colors: _ } = d1,
|
|
8753
|
+
}, { colors: _ } = d1, C1 = {
|
|
8754
8754
|
color: _.gray.darker,
|
|
8755
8755
|
fontSize: d1.fontSize.sm,
|
|
8756
8756
|
// 12px
|
|
@@ -8778,12 +8778,12 @@ const zn = {
|
|
|
8778
8778
|
_.orange.darker
|
|
8779
8779
|
],
|
|
8780
8780
|
xAxis: {
|
|
8781
|
-
title: { style: N1({},
|
|
8782
|
-
labels: { style:
|
|
8781
|
+
title: { style: N1({}, C1, { color: _.black }) },
|
|
8782
|
+
labels: { style: C1 }
|
|
8783
8783
|
},
|
|
8784
8784
|
yAxis: {
|
|
8785
|
-
title: { style: N1({},
|
|
8786
|
-
labels: { style:
|
|
8785
|
+
title: { style: N1({}, C1, { color: _.black }) },
|
|
8786
|
+
labels: { style: C1 }
|
|
8787
8787
|
},
|
|
8788
8788
|
tooltip: {
|
|
8789
8789
|
enabled: !0,
|
|
@@ -8797,7 +8797,7 @@ const zn = {
|
|
|
8797
8797
|
shadow: !1,
|
|
8798
8798
|
useHTML: !0,
|
|
8799
8799
|
// This is used to insert spans with classes for custom css
|
|
8800
|
-
style: N1({},
|
|
8800
|
+
style: N1({}, C1, {
|
|
8801
8801
|
opacity: 0.9,
|
|
8802
8802
|
color: "#cccccc"
|
|
8803
8803
|
})
|
|
@@ -8805,7 +8805,7 @@ const zn = {
|
|
|
8805
8805
|
title: {
|
|
8806
8806
|
text: "",
|
|
8807
8807
|
// No title by default
|
|
8808
|
-
style: N1({},
|
|
8808
|
+
style: N1({}, C1, { color: _.black, fontSize: "18px", fontWeight: 600 })
|
|
8809
8809
|
},
|
|
8810
8810
|
plotOptions: {
|
|
8811
8811
|
series: {
|
|
@@ -8827,7 +8827,7 @@ const zn = {
|
|
|
8827
8827
|
enabled: !1,
|
|
8828
8828
|
// By default legend is disabled
|
|
8829
8829
|
// The style applied to each item in the legend
|
|
8830
|
-
itemStyle:
|
|
8830
|
+
itemStyle: C1,
|
|
8831
8831
|
itemMarginBottom: 5,
|
|
8832
8832
|
align: "center",
|
|
8833
8833
|
// Center it in the chart canvas
|
|
@@ -8971,8 +8971,8 @@ export {
|
|
|
8971
8971
|
x2 as AtIcon,
|
|
8972
8972
|
K0 as Avatar,
|
|
8973
8973
|
O0 as Badge,
|
|
8974
|
-
|
|
8975
|
-
|
|
8974
|
+
L2 as BalloonIcon,
|
|
8975
|
+
C2 as BankCheckIcon,
|
|
8976
8976
|
b2 as BarGraphIcon,
|
|
8977
8977
|
zt as BaseChartOptions,
|
|
8978
8978
|
N0 as BellIcon,
|
|
@@ -8993,7 +8993,7 @@ export {
|
|
|
8993
8993
|
z2 as CalendarListIcon,
|
|
8994
8994
|
j2 as CalendarMonthIcon,
|
|
8995
8995
|
T2 as CalendarWeekIcon,
|
|
8996
|
-
|
|
8996
|
+
Lo as CapacityIcon,
|
|
8997
8997
|
B2 as CardAltIcon,
|
|
8998
8998
|
V2 as CardIcon,
|
|
8999
8999
|
R2 as CartIcon,
|
|
@@ -9011,7 +9011,7 @@ export {
|
|
|
9011
9011
|
q2 as CircleCheckFilledIcon,
|
|
9012
9012
|
U2 as CircleCheckIcon,
|
|
9013
9013
|
Z2 as CircleCrossIcon,
|
|
9014
|
-
|
|
9014
|
+
Co as CircleCrossImage,
|
|
9015
9015
|
bo as CircleCrownIcon,
|
|
9016
9016
|
Y2 as CircleDollarIcon,
|
|
9017
9017
|
yo as CircleDotIcon,
|
|
@@ -9069,9 +9069,9 @@ export {
|
|
|
9069
9069
|
kr as EmailResendIcon,
|
|
9070
9070
|
vr as EmptyChecklistIcon,
|
|
9071
9071
|
Wo as EmvImage,
|
|
9072
|
-
|
|
9072
|
+
Lr as EquipmentCheckoutIcon,
|
|
9073
9073
|
xr as EquipmentIcon,
|
|
9074
|
-
|
|
9074
|
+
Cr as EquipmentReturnIcon,
|
|
9075
9075
|
Po as ExpediaImage,
|
|
9076
9076
|
br as ExportIcon,
|
|
9077
9077
|
Uo as EyeClosedIcon,
|
|
@@ -9152,7 +9152,7 @@ export {
|
|
|
9152
9152
|
ne as PopoverList,
|
|
9153
9153
|
$o as PrintIcon,
|
|
9154
9154
|
w3 as ProductsIcon,
|
|
9155
|
-
|
|
9155
|
+
L5 as Provider,
|
|
9156
9156
|
f3 as QuestionIcon,
|
|
9157
9157
|
e5 as QuestionnaireIcon,
|
|
9158
9158
|
sn as RangeSlider,
|
|
@@ -9163,13 +9163,13 @@ export {
|
|
|
9163
9163
|
Et as RelativeDateRange,
|
|
9164
9164
|
r5 as RosterIcon,
|
|
9165
9165
|
n5 as RoundedSquareIcon,
|
|
9166
|
-
|
|
9166
|
+
L3 as RulerIcon,
|
|
9167
9167
|
i1 as SIDEBAR_VARIANT,
|
|
9168
9168
|
P1 as SIDEBAR_VARIANT_WIDTH,
|
|
9169
9169
|
m1 as SIDEBAR_WIDTH,
|
|
9170
9170
|
o5 as ScanQrCodeIcon,
|
|
9171
9171
|
at as Search,
|
|
9172
|
-
|
|
9172
|
+
C3 as SearchAltIcon,
|
|
9173
9173
|
B0 as SearchIcon,
|
|
9174
9174
|
se as Select,
|
|
9175
9175
|
b3 as SendIcon,
|
|
@@ -9194,7 +9194,7 @@ export {
|
|
|
9194
9194
|
z3 as StarFilledIcon,
|
|
9195
9195
|
j3 as StarIcon,
|
|
9196
9196
|
u5 as StoreCreditIcon,
|
|
9197
|
-
|
|
9197
|
+
Ce as SubmitButton,
|
|
9198
9198
|
H1 as Switch,
|
|
9199
9199
|
K as Table,
|
|
9200
9200
|
T3 as TableIcon,
|
|
@@ -9247,9 +9247,9 @@ export {
|
|
|
9247
9247
|
ct as almostZero,
|
|
9248
9248
|
b5 as dateFromObjectId,
|
|
9249
9249
|
M0 as flash,
|
|
9250
|
-
|
|
9250
|
+
Ct as formatDate,
|
|
9251
9251
|
Hn as formatPhoneNumber,
|
|
9252
|
-
|
|
9252
|
+
C5 as formatTime,
|
|
9253
9253
|
J4 as getSymbol,
|
|
9254
9254
|
$0 as isIosBrowser,
|
|
9255
9255
|
$1 as isOSX,
|
|
@@ -9260,7 +9260,7 @@ export {
|
|
|
9260
9260
|
dt as roundNumber,
|
|
9261
9261
|
d1 as theme,
|
|
9262
9262
|
Me as useId,
|
|
9263
|
-
|
|
9263
|
+
Cn as useIsMobile,
|
|
9264
9264
|
je as useSidebar,
|
|
9265
9265
|
x5 as useSidebarWidth
|
|
9266
9266
|
};
|