@paygreen/pgui 3.1.1 → 3.1.2
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/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import be, { forwardRef as ge, useState as X, useCallback as z, useMemo as _, createContext as We, memo as xt, useContext as Ee, useRef as $, useEffect as le, useLayoutEffect as
|
|
3
|
-
import { IconButton as ce, Collapsible as Vt, Card as Pt, HStack as je, Box as M, Text as ae, Wrap as
|
|
2
|
+
import be, { forwardRef as ge, useState as X, useCallback as z, useMemo as _, createContext as We, memo as xt, useContext as Ee, useRef as $, useEffect as le, useLayoutEffect as Bo, Component as Ro, Fragment as xe, Children as wo, isValidElement as Mt } from "react";
|
|
3
|
+
import { IconButton as ce, Collapsible as Vt, Card as Pt, HStack as je, Box as M, Text as ae, Wrap as Mo, useBreakpointValue as ye, Flex as me, Accordion as Qe, Center as nr, Spinner as Vo, Table as Ce, Input as Fe, VStack as Te, useToken as $t, Separator as Po, defineStyle as rr, DatePicker as N, Portal as Xe, Button as or, InputGroup as yt, Field as tt, Presence as To, Stack as ar, useControllableState as ir, mergeRefs as lr, useListCollection as Do, Combobox as Ie, Icon as xn, Dialog as pe, Drawer as K, CloseButton as jo, ScrollArea as ze, Tooltip as we, ClientOnly as Oo, Skeleton as No, Span as ur, createToaster as Wo, Toaster as Xo, Toast as Me, defineAnimationStyles as Ho, defineRecipe as ln, defineSlotRecipe as un, defineSemanticTokens as Lo, defineTokens as ko, createSystem as Zo, defaultConfig as zo, createShikiAdapter as Yo } from "@chakra-ui/react";
|
|
4
4
|
import { useReactTable as Jo, getSortedRowModel as _o, getFilteredRowModel as $o, getCoreRowModel as Uo, flexRender as ct } from "@tanstack/react-table";
|
|
5
5
|
import { withMask as Qo } from "use-mask-input";
|
|
6
6
|
import qo, { getCountryCallingCode as Ko, parsePhoneNumber as yn, formatPhoneNumberIntl as ea, isValidPhoneNumber as ta } from "react-phone-number-input";
|
|
7
7
|
import na, { components as ra } from "react-select";
|
|
8
|
-
import { jsx as B, css as
|
|
8
|
+
import { jsx as B, css as sr, keyframes as oa } from "@emotion/react";
|
|
9
9
|
import { createPortal as aa } from "react-dom";
|
|
10
10
|
import { useTheme as ia, ThemeProvider as la } from "next-themes";
|
|
11
11
|
var nt = { exports: {} }, Ye = {};
|
|
@@ -58,7 +58,7 @@ function sa() {
|
|
|
58
58
|
switch (typeof I.tag == "number" && console.error(
|
|
59
59
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
60
60
|
), I.$$typeof) {
|
|
61
|
-
case
|
|
61
|
+
case f:
|
|
62
62
|
return "Portal";
|
|
63
63
|
case y:
|
|
64
64
|
return I.displayName || "Context";
|
|
@@ -223,12 +223,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
223
223
|
);
|
|
224
224
|
}
|
|
225
225
|
function g(I) {
|
|
226
|
-
|
|
226
|
+
p(I) ? I._store && (I._store.validated = 1) : typeof I == "object" && I !== null && I.$$typeof === P && (I._payload.status === "fulfilled" ? p(I._payload.value) && I._payload.value._store && (I._payload.value._store.validated = 1) : I._store && (I._store.validated = 1));
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function p(I) {
|
|
229
229
|
return typeof I == "object" && I !== null && I.$$typeof === h;
|
|
230
230
|
}
|
|
231
|
-
var m = be, h = /* @__PURE__ */ Symbol.for("react.transitional.element"),
|
|
231
|
+
var m = be, h = /* @__PURE__ */ Symbol.for("react.transitional.element"), f = /* @__PURE__ */ Symbol.for("react.portal"), b = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__PURE__ */ Symbol.for("react.strict_mode"), C = /* @__PURE__ */ Symbol.for("react.profiler"), S = /* @__PURE__ */ Symbol.for("react.consumer"), y = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), w = /* @__PURE__ */ Symbol.for("react.suspense_list"), E = /* @__PURE__ */ Symbol.for("react.memo"), P = /* @__PURE__ */ Symbol.for("react.lazy"), V = /* @__PURE__ */ Symbol.for("react.activity"), L = /* @__PURE__ */ Symbol.for("react.client.reference"), j = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, ee = Array.isArray, k = console.createTask ? console.createTask : function() {
|
|
232
232
|
return null;
|
|
233
233
|
};
|
|
234
234
|
m = {
|
|
@@ -267,13 +267,13 @@ var Fn;
|
|
|
267
267
|
function ca() {
|
|
268
268
|
return Fn || (Fn = 1, process.env.NODE_ENV === "production" ? nt.exports = ua() : nt.exports = sa()), nt.exports;
|
|
269
269
|
}
|
|
270
|
-
var u = ca(),
|
|
270
|
+
var u = ca(), cr = {
|
|
271
271
|
color: void 0,
|
|
272
272
|
size: void 0,
|
|
273
273
|
className: void 0,
|
|
274
274
|
style: void 0,
|
|
275
275
|
attr: void 0
|
|
276
|
-
}, Gn = be.createContext && /* @__PURE__ */ be.createContext(
|
|
276
|
+
}, Gn = be.createContext && /* @__PURE__ */ be.createContext(cr), da = ["attr", "size", "title"];
|
|
277
277
|
function ga(e, t) {
|
|
278
278
|
if (e == null) return {};
|
|
279
279
|
var r, o, n = ba(e, t);
|
|
@@ -323,13 +323,13 @@ function gt(e) {
|
|
|
323
323
|
return e;
|
|
324
324
|
}
|
|
325
325
|
function ma(e, t, r) {
|
|
326
|
-
return (t =
|
|
326
|
+
return (t = pa(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
var t =
|
|
328
|
+
function pa(e) {
|
|
329
|
+
var t = fa(e, "string");
|
|
330
330
|
return typeof t == "symbol" ? t : t + "";
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function fa(e, t) {
|
|
333
333
|
if (typeof e != "object" || !e) return e;
|
|
334
334
|
var r = e[Symbol.toPrimitive];
|
|
335
335
|
if (r !== void 0) {
|
|
@@ -339,15 +339,15 @@ function pa(e, t) {
|
|
|
339
339
|
}
|
|
340
340
|
return (t === "string" ? String : Number)(e);
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function dr(e) {
|
|
343
343
|
return e && e.map((t, r) => /* @__PURE__ */ be.createElement(t.tag, gt({
|
|
344
344
|
key: r
|
|
345
|
-
}, t.attr),
|
|
345
|
+
}, t.attr), dr(t.child)));
|
|
346
346
|
}
|
|
347
347
|
function J(e) {
|
|
348
348
|
return (t) => /* @__PURE__ */ be.createElement(ha, dt({
|
|
349
349
|
attr: gt({}, e.attr)
|
|
350
|
-
}, t),
|
|
350
|
+
}, t), dr(e.child));
|
|
351
351
|
}
|
|
352
352
|
function ha(e) {
|
|
353
353
|
var t = (r) => {
|
|
@@ -370,7 +370,7 @@ function ha(e) {
|
|
|
370
370
|
xmlns: "http://www.w3.org/2000/svg"
|
|
371
371
|
}), a && /* @__PURE__ */ be.createElement("title", null, a), e.children);
|
|
372
372
|
};
|
|
373
|
-
return Gn !== void 0 ? /* @__PURE__ */ be.createElement(Gn.Consumer, null, (r) => t(r)) : t(
|
|
373
|
+
return Gn !== void 0 ? /* @__PURE__ */ be.createElement(Gn.Consumer, null, (r) => t(r)) : t(cr);
|
|
374
374
|
}
|
|
375
375
|
function va(e) {
|
|
376
376
|
return J({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "18", y1: "6", x2: "6", y2: "18" }, child: [] }, { tag: "line", attr: { x1: "6", y1: "6", x2: "18", y2: "18" }, child: [] }] })(e);
|
|
@@ -431,9 +431,9 @@ const Ga = ({
|
|
|
431
431
|
isLazy: c = !1,
|
|
432
432
|
...d
|
|
433
433
|
}) => {
|
|
434
|
-
const [g,
|
|
434
|
+
const [g, p] = X(a), [m, h] = X(a), f = z(
|
|
435
435
|
(C) => {
|
|
436
|
-
|
|
436
|
+
p(C.open), C.open && h(!0), l?.(C.open);
|
|
437
437
|
},
|
|
438
438
|
[l]
|
|
439
439
|
), b = _(() => {
|
|
@@ -458,7 +458,7 @@ const Ga = ({
|
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
460
|
}, [s]), v = _(() => !c || m ? n : null, [c, m, n]);
|
|
461
|
-
return /* @__PURE__ */ u.jsx(Vt.Root, { open: g, onOpenChange:
|
|
461
|
+
return /* @__PURE__ */ u.jsx(Vt.Root, { open: g, onOpenChange: f, children: /* @__PURE__ */ u.jsxs(
|
|
462
462
|
Pt.Root,
|
|
463
463
|
{
|
|
464
464
|
w: "full",
|
|
@@ -525,7 +525,7 @@ const Ga = ({
|
|
|
525
525
|
)
|
|
526
526
|
] })
|
|
527
527
|
] }),
|
|
528
|
-
o.length > 0 && /* @__PURE__ */ u.jsx(
|
|
528
|
+
o.length > 0 && /* @__PURE__ */ u.jsx(Mo, { children: o.map((C, S) => /* @__PURE__ */ u.jsx(M, { children: C }, S)) })
|
|
529
529
|
]
|
|
530
530
|
}
|
|
531
531
|
) }),
|
|
@@ -549,7 +549,7 @@ const sn = We({
|
|
|
549
549
|
},
|
|
550
550
|
columns: {},
|
|
551
551
|
isHover: !1
|
|
552
|
-
}),
|
|
552
|
+
}), gr = We(!1), ve = ({
|
|
553
553
|
multiple: e = !0,
|
|
554
554
|
collapsible: t = !1,
|
|
555
555
|
isHover: r = !0,
|
|
@@ -582,7 +582,7 @@ ve.Cell = xt(function({
|
|
|
582
582
|
isVisible: n = !0,
|
|
583
583
|
...a
|
|
584
584
|
}) {
|
|
585
|
-
const { columns: l, setColumns: s } = Ee(sn), i = Ee(
|
|
585
|
+
const { columns: l, setColumns: s } = Ee(sn), i = Ee(gr), c = $(a);
|
|
586
586
|
c.current = a, le(() => {
|
|
587
587
|
i && r && s((v) => ({
|
|
588
588
|
...v,
|
|
@@ -591,7 +591,7 @@ ve.Cell = xt(function({
|
|
|
591
591
|
}, [i, r, o, n, s]);
|
|
592
592
|
const d = i ? {} : l?.[r ?? ""] ?? {}, {
|
|
593
593
|
isVisible: g = !0,
|
|
594
|
-
colWidth:
|
|
594
|
+
colWidth: p = !0,
|
|
595
595
|
...m
|
|
596
596
|
} = {
|
|
597
597
|
colWidth: o,
|
|
@@ -601,19 +601,19 @@ ve.Cell = xt(function({
|
|
|
601
601
|
}, h = ye(
|
|
602
602
|
typeof g == "object" ? g : { base: g }
|
|
603
603
|
);
|
|
604
|
-
let
|
|
605
|
-
if (typeof
|
|
606
|
-
const v = ye(
|
|
607
|
-
v !== void 0 && (
|
|
608
|
-
} else (typeof
|
|
604
|
+
let f = 0;
|
|
605
|
+
if (typeof p == "object") {
|
|
606
|
+
const v = ye(p);
|
|
607
|
+
v !== void 0 && (f = v);
|
|
608
|
+
} else (typeof p == "string" || typeof p == "number") && (f = ye({ base: p }) ?? p);
|
|
609
609
|
if (!h) return null;
|
|
610
|
-
const b = /^[0-9.]+$/.test(String(
|
|
610
|
+
const b = /^[0-9.]+$/.test(String(f));
|
|
611
611
|
return /* @__PURE__ */ u.jsx(
|
|
612
612
|
me,
|
|
613
613
|
{
|
|
614
614
|
direction: "column",
|
|
615
|
-
minW: b ? 0 : String(
|
|
616
|
-
flexBasis: b ? `${Number(
|
|
615
|
+
minW: b ? 0 : String(f),
|
|
616
|
+
flexBasis: b ? `${Number(f) * 100}%` : String(f),
|
|
617
617
|
py: "2",
|
|
618
618
|
px: "3",
|
|
619
619
|
align: "flex-start",
|
|
@@ -664,7 +664,7 @@ ve.Row = function({
|
|
|
664
664
|
);
|
|
665
665
|
};
|
|
666
666
|
ve.Header = function({ ...t }) {
|
|
667
|
-
return /* @__PURE__ */ u.jsx(
|
|
667
|
+
return /* @__PURE__ */ u.jsx(gr.Provider, { value: !0, children: /* @__PURE__ */ u.jsx(
|
|
668
668
|
ve.Row,
|
|
669
669
|
{
|
|
670
670
|
fontSize: "sm",
|
|
@@ -783,7 +783,7 @@ function Oa({
|
|
|
783
783
|
}) {
|
|
784
784
|
const [s, i] = X([]), [c, d] = X([]), g = _(() => r ? r.maxPerPage <= 0 ? (console.warn("DataTable: maxPerPage must be greater than 0"), { ...r, maxPerPage: 10 }) : r.page < 1 ? (console.warn("DataTable: page must be greater than or equal to 1"), { ...r, page: 1 }) : r.totalResults < 0 ? (console.warn(
|
|
785
785
|
"DataTable: totalResults must be greater than or equal to 0"
|
|
786
|
-
), { ...r, totalResults: 0 }) : r : null, [r]),
|
|
786
|
+
), { ...r, totalResults: 0 }) : r : null, [r]), p = z(
|
|
787
787
|
(b) => {
|
|
788
788
|
i((v) => {
|
|
789
789
|
const C = typeof b == "function" ? b(v) : b;
|
|
@@ -818,7 +818,7 @@ function Oa({
|
|
|
818
818
|
getSortedRowModel: n ? _o() : void 0,
|
|
819
819
|
manualPagination: g ? !g.enableClientSide : !1,
|
|
820
820
|
pageCount: h,
|
|
821
|
-
onColumnFiltersChange:
|
|
821
|
+
onColumnFiltersChange: p,
|
|
822
822
|
onSortingChange: m,
|
|
823
823
|
state: {
|
|
824
824
|
columnFilters: s,
|
|
@@ -850,7 +850,7 @@ const At = ({
|
|
|
850
850
|
color: r = "neutral.solid",
|
|
851
851
|
...o
|
|
852
852
|
}) => e ? /* @__PURE__ */ u.jsx(nr, { children: /* @__PURE__ */ u.jsx(
|
|
853
|
-
|
|
853
|
+
Vo,
|
|
854
854
|
{
|
|
855
855
|
role: "progressbar",
|
|
856
856
|
"aria-label": "Loading",
|
|
@@ -864,7 +864,7 @@ const At = ({
|
|
|
864
864
|
}
|
|
865
865
|
) }) : null;
|
|
866
866
|
At.displayName = "Loader";
|
|
867
|
-
const
|
|
867
|
+
const br = ({
|
|
868
868
|
isLoading: e,
|
|
869
869
|
emptyState: t,
|
|
870
870
|
variant: r = "desktop",
|
|
@@ -896,7 +896,7 @@ const mr = ({
|
|
|
896
896
|
colorPalette: a,
|
|
897
897
|
buttonProps: l
|
|
898
898
|
}) => {
|
|
899
|
-
const [s, i] = X(e.toString()), [c, d] = X(!1), [g,
|
|
899
|
+
const [s, i] = X(e.toString()), [c, d] = X(!1), [g, p] = X(!1), m = Math.ceil(o / r);
|
|
900
900
|
le(() => {
|
|
901
901
|
i(e.toString()), d(!1);
|
|
902
902
|
}, [e]);
|
|
@@ -906,15 +906,15 @@ const mr = ({
|
|
|
906
906
|
d(!0), i(e.toString());
|
|
907
907
|
return;
|
|
908
908
|
}
|
|
909
|
-
d(!1), t(x),
|
|
910
|
-
},
|
|
909
|
+
d(!1), t(x), p(!1);
|
|
910
|
+
}, f = (A) => {
|
|
911
911
|
i(A.target.value), d(!1);
|
|
912
912
|
}, b = (A) => {
|
|
913
|
-
A.key === "Enter" ? h(s) : A.key === "Escape" && (i(e.toString()), d(!1),
|
|
913
|
+
A.key === "Enter" ? h(s) : A.key === "Escape" && (i(e.toString()), d(!1), p(!1));
|
|
914
914
|
}, v = () => {
|
|
915
915
|
h(s);
|
|
916
916
|
}, C = () => {
|
|
917
|
-
|
|
917
|
+
p(!0);
|
|
918
918
|
}, S = e > 1, y = e < m;
|
|
919
919
|
return /* @__PURE__ */ u.jsxs(me, { justify: "center", align: "center", p: 2, gap: 2, children: [
|
|
920
920
|
/* @__PURE__ */ u.jsx(
|
|
@@ -951,7 +951,7 @@ const mr = ({
|
|
|
951
951
|
{
|
|
952
952
|
type: "number",
|
|
953
953
|
value: s,
|
|
954
|
-
onChange:
|
|
954
|
+
onChange: f,
|
|
955
955
|
onKeyDown: b,
|
|
956
956
|
onBlur: v,
|
|
957
957
|
size: "xs",
|
|
@@ -1026,7 +1026,7 @@ Ut.displayName = "Pagination";
|
|
|
1026
1026
|
const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.length === 0, Na = (e) => {
|
|
1027
1027
|
const t = e;
|
|
1028
1028
|
return !("accessorKey" in t || "accessorFn" in t || "accessor" in t);
|
|
1029
|
-
},
|
|
1029
|
+
}, mr = (e, t = "-") => {
|
|
1030
1030
|
const r = ct(e.column.columnDef.cell, e.getContext());
|
|
1031
1031
|
if (Na(e.column.columnDef)) {
|
|
1032
1032
|
const n = e.column.columnDef.cell;
|
|
@@ -1156,7 +1156,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1156
1156
|
opacity: n ? 0.6 : 1,
|
|
1157
1157
|
children: e
|
|
1158
1158
|
}
|
|
1159
|
-
),
|
|
1159
|
+
), fr = (e) => {
|
|
1160
1160
|
const { to: t, navigate: r } = e || {}, o = z(
|
|
1161
1161
|
(n, a) => {
|
|
1162
1162
|
const l = a?.target, s = a?.currentTarget, i = l?.closest?.(
|
|
@@ -1187,7 +1187,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1187
1187
|
bg: { base: "lm_gray.90", _dark: "lm_gray.30/20" },
|
|
1188
1188
|
hover: { base: "lm_gray.80", _dark: "lm_gray.30/40" }
|
|
1189
1189
|
}
|
|
1190
|
-
},
|
|
1190
|
+
}, hr = (e, t) => {
|
|
1191
1191
|
const r = _(
|
|
1192
1192
|
() => Bn[t ?? "neutral"],
|
|
1193
1193
|
[t]
|
|
@@ -1215,7 +1215,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1215
1215
|
paginationButtonProps: s,
|
|
1216
1216
|
countLabel: i
|
|
1217
1217
|
}) => {
|
|
1218
|
-
const c = $t("colors", "fg.muted")[0], { getRowBg: d, getRowHoverBg: g } =
|
|
1218
|
+
const c = $t("colors", "fg.muted")[0], { getRowBg: d, getRowHoverBg: g } = hr(n), { handleClick: p, handleAuxClick: m } = fr(a);
|
|
1219
1219
|
return /* @__PURE__ */ u.jsxs(M, { position: "relative", w: "100%", children: [
|
|
1220
1220
|
t && /* @__PURE__ */ u.jsx(Te, { gap: 3, mb: 4, align: "stretch", children: e.getHeaderGroups()[0]?.headers.filter((h) => h.column.getCanFilter()).map((h) => /* @__PURE__ */ u.jsxs(M, { children: [
|
|
1221
1221
|
/* @__PURE__ */ u.jsx(ae, { fontSize: "sm", fontWeight: "medium", mb: 1, color: "fg", children: ct(
|
|
@@ -1227,7 +1227,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1227
1227
|
{
|
|
1228
1228
|
placeholder: `Filter ${ct(h.column.columnDef.header, h.getContext())}...`,
|
|
1229
1229
|
value: h.column.getFilterValue() ?? "",
|
|
1230
|
-
onChange: (
|
|
1230
|
+
onChange: (f) => h.column.setFilterValue(f.target.value),
|
|
1231
1231
|
size: "sm",
|
|
1232
1232
|
bg: "bg",
|
|
1233
1233
|
disabled: r
|
|
@@ -1235,22 +1235,22 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1235
1235
|
)
|
|
1236
1236
|
] }, h.id)) }),
|
|
1237
1237
|
/* @__PURE__ */ u.jsx(M, { position: "relative", children: e.getRowModel().rows.length === 0 || r ? /* @__PURE__ */ u.jsx(
|
|
1238
|
-
|
|
1238
|
+
br,
|
|
1239
1239
|
{
|
|
1240
1240
|
isLoading: r,
|
|
1241
1241
|
emptyState: o,
|
|
1242
1242
|
variant: "mobile"
|
|
1243
1243
|
}
|
|
1244
|
-
) : /* @__PURE__ */ u.jsx(Te, { gap: 3, align: "stretch", children: e.getRowModel().rows.map((h,
|
|
1244
|
+
) : /* @__PURE__ */ u.jsx(Te, { gap: 3, align: "stretch", children: e.getRowModel().rows.map((h, f) => /* @__PURE__ */ u.jsx(
|
|
1245
1245
|
Wa,
|
|
1246
1246
|
{
|
|
1247
|
-
index:
|
|
1247
|
+
index: f,
|
|
1248
1248
|
variant: n,
|
|
1249
|
-
bg: d(
|
|
1250
|
-
hoverBg: g(
|
|
1249
|
+
bg: d(f),
|
|
1250
|
+
hoverBg: g(f),
|
|
1251
1251
|
cursor: a && !r ? "pointer" : "default",
|
|
1252
1252
|
isLoading: r,
|
|
1253
|
-
onClick: r ? void 0 : (b) =>
|
|
1253
|
+
onClick: r ? void 0 : (b) => p(h.original, b),
|
|
1254
1254
|
onAuxClick: r ? void 0 : (b) => m(h.original, b),
|
|
1255
1255
|
children: /* @__PURE__ */ u.jsx(Te, { align: "stretch", gap: 2, children: h.getVisibleCells().map((b) => {
|
|
1256
1256
|
const v = b.column.columnDef.header, C = b.column.columnDef.meta?.hideLabel;
|
|
@@ -1275,7 +1275,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1275
1275
|
children: typeof v == "string" ? v : "Field"
|
|
1276
1276
|
}
|
|
1277
1277
|
),
|
|
1278
|
-
/* @__PURE__ */ u.jsx(
|
|
1278
|
+
/* @__PURE__ */ u.jsx(Po, { flex: 1, borderColor: "border" })
|
|
1279
1279
|
] }),
|
|
1280
1280
|
/* @__PURE__ */ u.jsx(
|
|
1281
1281
|
M,
|
|
@@ -1288,7 +1288,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1288
1288
|
overflow: "hidden",
|
|
1289
1289
|
textOverflow: "ellipsis",
|
|
1290
1290
|
whiteSpace: "nowrap",
|
|
1291
|
-
children:
|
|
1291
|
+
children: mr(b, /* @__PURE__ */ u.jsx(ja, { color: c }))
|
|
1292
1292
|
}
|
|
1293
1293
|
)
|
|
1294
1294
|
]
|
|
@@ -1323,13 +1323,13 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1323
1323
|
paginationButtonProps: c,
|
|
1324
1324
|
responsive: d,
|
|
1325
1325
|
mobileView: g,
|
|
1326
|
-
countLabel:
|
|
1326
|
+
countLabel: p,
|
|
1327
1327
|
colorPalette: m
|
|
1328
1328
|
}) => {
|
|
1329
|
-
const { headerBg: h, headerHover:
|
|
1329
|
+
const { headerBg: h, headerHover: f, getRowBg: b, getRowHoverBg: v } = hr(
|
|
1330
1330
|
l,
|
|
1331
1331
|
m
|
|
1332
|
-
), { handleClick: C, handleAuxClick: S } =
|
|
1332
|
+
), { handleClick: C, handleAuxClick: S } = fr(s);
|
|
1333
1333
|
return /* @__PURE__ */ u.jsxs(M, { position: "relative", w: "100%", children: [
|
|
1334
1334
|
n && e.getRowModel().rows.length > 0 && /* @__PURE__ */ u.jsx(
|
|
1335
1335
|
nr,
|
|
@@ -1368,7 +1368,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1368
1368
|
borderColor: "border",
|
|
1369
1369
|
onClick: r && A.column.getCanSort() && !n ? A.column.getToggleSortingHandler() : void 0,
|
|
1370
1370
|
cursor: r && A.column.getCanSort() && !n ? "pointer" : "default",
|
|
1371
|
-
_hover: r && A.column.getCanSort() && !n ? { bg:
|
|
1371
|
+
_hover: r && A.column.getCanSort() && !n ? { bg: f } : void 0,
|
|
1372
1372
|
children: [
|
|
1373
1373
|
/* @__PURE__ */ u.jsxs(
|
|
1374
1374
|
me,
|
|
@@ -1407,7 +1407,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1407
1407
|
A.id
|
|
1408
1408
|
)) }, y.id)) }),
|
|
1409
1409
|
/* @__PURE__ */ u.jsx(Ce.Body, { children: e.getRowModel().rows.length === 0 ? /* @__PURE__ */ u.jsx(
|
|
1410
|
-
|
|
1410
|
+
br,
|
|
1411
1411
|
{
|
|
1412
1412
|
isLoading: n,
|
|
1413
1413
|
emptyState: a,
|
|
@@ -1434,7 +1434,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1434
1434
|
color: "fg",
|
|
1435
1435
|
fontSize: "sm",
|
|
1436
1436
|
textAlign: x.column.columnDef.meta?.align || "left",
|
|
1437
|
-
children:
|
|
1437
|
+
children: mr(x)
|
|
1438
1438
|
},
|
|
1439
1439
|
x.id
|
|
1440
1440
|
))
|
|
@@ -1447,7 +1447,7 @@ const Tt = (e) => e == null || e === !1 || e === "" || Array.isArray(e) && e.len
|
|
|
1447
1447
|
{
|
|
1448
1448
|
pagination: i,
|
|
1449
1449
|
paginationButtonProps: c,
|
|
1450
|
-
countLabel:
|
|
1450
|
+
countLabel: p,
|
|
1451
1451
|
isTableLoading: n,
|
|
1452
1452
|
variant: "desktop"
|
|
1453
1453
|
}
|
|
@@ -1470,10 +1470,10 @@ function La({
|
|
|
1470
1470
|
isMobile: c,
|
|
1471
1471
|
isLoading: d = !1,
|
|
1472
1472
|
onFilterChange: g,
|
|
1473
|
-
onSortingChange:
|
|
1473
|
+
onSortingChange: p,
|
|
1474
1474
|
rowLink: m,
|
|
1475
1475
|
paginationButtonProps: h,
|
|
1476
|
-
countLabel:
|
|
1476
|
+
countLabel: f,
|
|
1477
1477
|
colorPalette: b
|
|
1478
1478
|
}) {
|
|
1479
1479
|
const { table: v } = Oa({
|
|
@@ -1483,19 +1483,19 @@ function La({
|
|
|
1483
1483
|
enableFiltering: n,
|
|
1484
1484
|
enableSorting: a,
|
|
1485
1485
|
onFilterChange: g,
|
|
1486
|
-
onSortingChange:
|
|
1486
|
+
onSortingChange: p
|
|
1487
1487
|
}), C = ye({ base: !0, md: !1 }), S = s && (c ?? C) && i === "cards", y = d || (r?.isLoadingPage ?? !1);
|
|
1488
1488
|
return le(() => {
|
|
1489
|
-
r && !
|
|
1489
|
+
r && !f && console.warn(
|
|
1490
1490
|
'[DataTable] Pagination is provided but `countLabel` is missing. The pagination details will not be rendered. Please provide a `countLabel` prop (e.g., { singular: "result", plural: "results" }) to enable pagination display.'
|
|
1491
1491
|
);
|
|
1492
|
-
}, [r,
|
|
1492
|
+
}, [r, f]), /* @__PURE__ */ u.jsxs(Te, { w: "100%", alignItems: "flex-start", gap: 1, children: [
|
|
1493
1493
|
/* @__PURE__ */ u.jsx(ae, { fontSize: "sm", color: "fg.muted", ml: "auto", mr: 2, children: Qt(
|
|
1494
1494
|
!1,
|
|
1495
1495
|
1,
|
|
1496
1496
|
1,
|
|
1497
1497
|
r?.totalResults ?? 0,
|
|
1498
|
-
|
|
1498
|
+
f
|
|
1499
1499
|
) }),
|
|
1500
1500
|
S && /* @__PURE__ */ u.jsx(
|
|
1501
1501
|
Xa,
|
|
@@ -1508,7 +1508,7 @@ function La({
|
|
|
1508
1508
|
rowLink: m,
|
|
1509
1509
|
pagination: r,
|
|
1510
1510
|
paginationButtonProps: h,
|
|
1511
|
-
countLabel:
|
|
1511
|
+
countLabel: f
|
|
1512
1512
|
}
|
|
1513
1513
|
),
|
|
1514
1514
|
!S && /* @__PURE__ */ u.jsx(
|
|
@@ -1526,7 +1526,7 @@ function La({
|
|
|
1526
1526
|
paginationButtonProps: h,
|
|
1527
1527
|
responsive: s,
|
|
1528
1528
|
mobileView: i,
|
|
1529
|
-
countLabel:
|
|
1529
|
+
countLabel: f,
|
|
1530
1530
|
colorPalette: b
|
|
1531
1531
|
}
|
|
1532
1532
|
)
|
|
@@ -1536,11 +1536,11 @@ La.displayName = "DataTable";
|
|
|
1536
1536
|
function Dt(e, t) {
|
|
1537
1537
|
return e - t * Math.floor(e / t);
|
|
1538
1538
|
}
|
|
1539
|
-
const
|
|
1539
|
+
const vr = 1721426;
|
|
1540
1540
|
function rt(e, t, r, o) {
|
|
1541
1541
|
t = cn(e, t);
|
|
1542
1542
|
let n = t - 1, a = -2;
|
|
1543
|
-
return r <= 2 ? a = 0 : ut(t) && (a = -1),
|
|
1543
|
+
return r <= 2 ? a = 0 : ut(t) && (a = -1), vr - 1 + 365 * n + Math.floor(n / 4) - Math.floor(n / 100) + Math.floor(n / 400) + Math.floor((367 * r - 362) / 12 + a + o);
|
|
1544
1544
|
}
|
|
1545
1545
|
function ut(e) {
|
|
1546
1546
|
return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
|
|
@@ -1587,10 +1587,10 @@ const Za = {
|
|
|
1587
1587
|
};
|
|
1588
1588
|
class St {
|
|
1589
1589
|
fromJulianDay(t) {
|
|
1590
|
-
let r = t, o = r -
|
|
1591
|
-
r < rt(
|
|
1592
|
-
let b = Math.floor(((h +
|
|
1593
|
-
return new Ne(
|
|
1590
|
+
let r = t, o = r - vr, n = Math.floor(o / 146097), a = Dt(o, 146097), l = Math.floor(a / 36524), s = Dt(a, 36524), i = Math.floor(s / 1461), c = Dt(s, 1461), d = Math.floor(c / 365), g = n * 400 + l * 100 + i * 4 + d + (l !== 4 && d !== 4 ? 1 : 0), [p, m] = ka(g), h = r - rt(p, m, 1, 1), f = 2;
|
|
1591
|
+
r < rt(p, m, 3, 1) ? f = 0 : ut(m) && (f = 1);
|
|
1592
|
+
let b = Math.floor(((h + f) * 12 + 373) / 367), v = r - rt(p, m, b, 1) + 1;
|
|
1593
|
+
return new Ne(p, m, b, v);
|
|
1594
1594
|
}
|
|
1595
1595
|
toJulianDay(t) {
|
|
1596
1596
|
return rt(t.era, t.year, t.month, t.day);
|
|
@@ -1634,7 +1634,7 @@ class St {
|
|
|
1634
1634
|
function za(e, t) {
|
|
1635
1635
|
return e.isEqual?.(t) ?? t.isEqual?.(e) ?? e.identifier === t.identifier;
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function Ir(e, t) {
|
|
1638
1638
|
return e.calendar.toJulianDay(e) - t.calendar.toJulianDay(t);
|
|
1639
1639
|
}
|
|
1640
1640
|
function Ya(e, t) {
|
|
@@ -1647,26 +1647,26 @@ let jt = null, Ja = !1;
|
|
|
1647
1647
|
function qe() {
|
|
1648
1648
|
return jt == null && (jt = new Intl.DateTimeFormat().resolvedOptions().timeZone), jt;
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function Cr() {
|
|
1651
1651
|
return Ja;
|
|
1652
1652
|
}
|
|
1653
1653
|
function wn(e) {
|
|
1654
1654
|
e = dn(e, new St());
|
|
1655
1655
|
let t = cn(e.era, e.year);
|
|
1656
|
-
return
|
|
1656
|
+
return xr(t, e.month, e.day, e.hour, e.minute, e.second, e.millisecond);
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function xr(e, t, r, o, n, a, l) {
|
|
1659
1659
|
let s = /* @__PURE__ */ new Date();
|
|
1660
1660
|
return s.setUTCHours(o, n, a, l), s.setUTCFullYear(e, t - 1, r), s.getTime();
|
|
1661
1661
|
}
|
|
1662
1662
|
function Mn(e, t) {
|
|
1663
1663
|
if (t === "UTC") return 0;
|
|
1664
|
-
if (e > 0 && t === qe() && !
|
|
1665
|
-
let { year: r, month: o, day: n, hour: a, minute: l, second: s } =
|
|
1666
|
-
return
|
|
1664
|
+
if (e > 0 && t === qe() && !Cr()) return new Date(e).getTimezoneOffset() * -6e4;
|
|
1665
|
+
let { year: r, month: o, day: n, hour: a, minute: l, second: s } = yr(e, t);
|
|
1666
|
+
return xr(r, o, n, a, l, s, 0) - Math.floor(e / 1e3) * 1e3;
|
|
1667
1667
|
}
|
|
1668
1668
|
const Vn = /* @__PURE__ */ new Map();
|
|
1669
|
-
function
|
|
1669
|
+
function yr(e, t) {
|
|
1670
1670
|
let r = Vn.get(t);
|
|
1671
1671
|
r || (r = new Intl.DateTimeFormat("en-US", {
|
|
1672
1672
|
timeZone: t,
|
|
@@ -1701,13 +1701,13 @@ function _a(e, t, r, o) {
|
|
|
1701
1701
|
]).filter((a) => $a(e, t, a));
|
|
1702
1702
|
}
|
|
1703
1703
|
function $a(e, t, r) {
|
|
1704
|
-
let o =
|
|
1704
|
+
let o = yr(r, t);
|
|
1705
1705
|
return e.year === o.year && e.month === o.month && e.day === o.day && e.hour === o.hour && e.minute === o.minute && e.second === o.second;
|
|
1706
1706
|
}
|
|
1707
1707
|
function Ua(e, t, r = "compatible") {
|
|
1708
|
-
let o =
|
|
1708
|
+
let o = Sr(e);
|
|
1709
1709
|
if (t === "UTC") return wn(o);
|
|
1710
|
-
if (t === qe() && r === "compatible" && !
|
|
1710
|
+
if (t === qe() && r === "compatible" && !Cr()) {
|
|
1711
1711
|
o = dn(o, new St());
|
|
1712
1712
|
let i = /* @__PURE__ */ new Date(), c = cn(o.era, o.year);
|
|
1713
1713
|
return i.setFullYear(c, o.month - 1, o.day), i.setHours(o.hour, o.minute, o.second, o.millisecond), i.getTime();
|
|
@@ -1735,10 +1735,10 @@ function Ua(e, t, r = "compatible") {
|
|
|
1735
1735
|
throw new RangeError("No such absolute time found");
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function Ar(e, t, r = "compatible") {
|
|
1739
1739
|
return new Date(Ua(e, t, r));
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function Sr(e, t) {
|
|
1742
1742
|
let r = 0, o = 0, n = 0, a = 0;
|
|
1743
1743
|
if ("timeZone" in e) ({ hour: r, minute: o, second: n, millisecond: a } = e);
|
|
1744
1744
|
else if ("hour" in e && !t) return e;
|
|
@@ -1751,7 +1751,7 @@ function dn(e, t) {
|
|
|
1751
1751
|
}
|
|
1752
1752
|
function gn(e, t) {
|
|
1753
1753
|
let r = e.copy(), o = "hour" in r ? ni(r, t) : 0;
|
|
1754
|
-
qt(r, t.years || 0), r.calendar.balanceYearMonth && r.calendar.balanceYearMonth(r, e), r.month += t.months || 0, Kt(r),
|
|
1754
|
+
qt(r, t.years || 0), r.calendar.balanceYearMonth && r.calendar.balanceYearMonth(r, e), r.month += t.months || 0, Kt(r), Fr(r), r.day += (t.weeks || 0) * 7, r.day += t.days || 0, r.day += o, Qa(r), r.calendar.balanceDate && r.calendar.balanceDate(r), r.year < 1 && (r.year = 1, r.month = 1, r.day = 1);
|
|
1755
1755
|
let n = r.calendar.getYearsInEra(r);
|
|
1756
1756
|
if (r.year > n) {
|
|
1757
1757
|
let l = r.calendar.isInverseEra?.(r);
|
|
@@ -1777,21 +1777,21 @@ function Qa(e) {
|
|
|
1777
1777
|
for (; e.day > e.calendar.getDaysInMonth(e); )
|
|
1778
1778
|
e.day -= e.calendar.getDaysInMonth(e), e.month++, Kt(e);
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1780
|
+
function Fr(e) {
|
|
1781
1781
|
e.month = Math.max(1, Math.min(e.calendar.getMonthsInYear(e), e.month)), e.day = Math.max(1, Math.min(e.calendar.getDaysInMonth(e), e.day));
|
|
1782
1782
|
}
|
|
1783
1783
|
function Oe(e) {
|
|
1784
|
-
e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)),
|
|
1784
|
+
e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)), Fr(e);
|
|
1785
1785
|
}
|
|
1786
1786
|
function qa(e) {
|
|
1787
1787
|
let t = {};
|
|
1788
1788
|
for (let r in e) typeof e[r] == "number" && (t[r] = -e[r]);
|
|
1789
1789
|
return t;
|
|
1790
1790
|
}
|
|
1791
|
-
function
|
|
1791
|
+
function Gr(e, t) {
|
|
1792
1792
|
return gn(e, qa(t));
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function Er(e, t) {
|
|
1795
1795
|
let r = e.copy();
|
|
1796
1796
|
return t.era != null && (r.era = t.era), t.year != null && (r.year = t.year), t.month != null && (r.month = t.month), t.day != null && (r.day = t.day), Oe(r), r;
|
|
1797
1797
|
}
|
|
@@ -1814,7 +1814,7 @@ function ot(e, t) {
|
|
|
1814
1814
|
function ni(e, t) {
|
|
1815
1815
|
return e.hour += t.hours || 0, e.minute += t.minutes || 0, e.second += t.seconds || 0, e.millisecond += t.milliseconds || 0, ei(e);
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Br(e, t, r, o) {
|
|
1818
1818
|
let n = e.copy();
|
|
1819
1819
|
switch (t) {
|
|
1820
1820
|
case "era": {
|
|
@@ -1875,14 +1875,14 @@ function Se(e, t, r, o, n = !1) {
|
|
|
1875
1875
|
function oi(e) {
|
|
1876
1876
|
return `${String(e.hour).padStart(2, "0")}:${String(e.minute).padStart(2, "0")}:${String(e.second).padStart(2, "0")}${e.millisecond ? String(e.millisecond / 1e3).slice(1) : ""}`;
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1878
|
+
function Rr(e) {
|
|
1879
1879
|
let t = dn(e, new St()), r;
|
|
1880
1880
|
return t.era === "BC" ? r = t.year === 1 ? "0000" : "-" + String(Math.abs(1 - t.year)).padStart(6, "00") : r = String(t.year).padStart(4, "0"), `${r}-${String(t.month).padStart(2, "0")}-${String(t.day).padStart(2, "0")}`;
|
|
1881
1881
|
}
|
|
1882
1882
|
function ai(e) {
|
|
1883
|
-
return `${
|
|
1883
|
+
return `${Rr(e)}T${oi(e)}`;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function wr(e) {
|
|
1886
1886
|
let t = typeof e[0] == "object" ? e.shift() : new St(), r;
|
|
1887
1887
|
if (typeof e[0] == "string") r = e.shift();
|
|
1888
1888
|
else {
|
|
@@ -1905,7 +1905,7 @@ class Ne {
|
|
|
1905
1905
|
// @ts-ignore
|
|
1906
1906
|
#e;
|
|
1907
1907
|
constructor(...t) {
|
|
1908
|
-
let [r, o, n, a, l] =
|
|
1908
|
+
let [r, o, n, a, l] = wr(t);
|
|
1909
1909
|
this.calendar = r, this.era = o, this.year = n, this.month = a, this.day = l, Oe(this);
|
|
1910
1910
|
}
|
|
1911
1911
|
/** Returns a copy of this date. */
|
|
@@ -1918,39 +1918,39 @@ class Ne {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
/** Returns a new `CalendarDate` with the given duration subtracted from it. */
|
|
1920
1920
|
subtract(t) {
|
|
1921
|
-
return
|
|
1921
|
+
return Gr(this, t);
|
|
1922
1922
|
}
|
|
1923
1923
|
/**
|
|
1924
1924
|
* Returns a new `CalendarDate` with the given fields set to the provided values. Other fields
|
|
1925
1925
|
* will be constrained accordingly.
|
|
1926
1926
|
*/
|
|
1927
1927
|
set(t) {
|
|
1928
|
-
return
|
|
1928
|
+
return Er(this, t);
|
|
1929
1929
|
}
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Returns a new `CalendarDate` with the given field adjusted by a specified amount.
|
|
1932
1932
|
* When the resulting value reaches the limits of the field, it wraps around.
|
|
1933
1933
|
*/
|
|
1934
1934
|
cycle(t, r, o) {
|
|
1935
|
-
return
|
|
1935
|
+
return Br(this, t, r, o);
|
|
1936
1936
|
}
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Converts the date to a native JavaScript Date object, with the time set to midnight in the
|
|
1939
1939
|
* given time zone.
|
|
1940
1940
|
*/
|
|
1941
1941
|
toDate(t) {
|
|
1942
|
-
return
|
|
1942
|
+
return Ar(this, t);
|
|
1943
1943
|
}
|
|
1944
1944
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
1945
1945
|
toString() {
|
|
1946
|
-
return
|
|
1946
|
+
return Rr(this);
|
|
1947
1947
|
}
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Compares this date with another. A negative result indicates that this date is before the given
|
|
1950
1950
|
* one, and a positive date indicates that it is after.
|
|
1951
1951
|
*/
|
|
1952
1952
|
compare(t) {
|
|
1953
|
-
return
|
|
1953
|
+
return Ir(this, t);
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
1956
|
class Ue {
|
|
@@ -1958,7 +1958,7 @@ class Ue {
|
|
|
1958
1958
|
// @ts-ignore
|
|
1959
1959
|
#e;
|
|
1960
1960
|
constructor(...t) {
|
|
1961
|
-
let [r, o, n, a, l] =
|
|
1961
|
+
let [r, o, n, a, l] = wr(t);
|
|
1962
1962
|
this.calendar = r, this.era = o, this.year = n, this.month = a, this.day = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Oe(this);
|
|
1963
1963
|
}
|
|
1964
1964
|
/** Returns a copy of this date. */
|
|
@@ -1971,14 +1971,14 @@ class Ue {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
/** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
|
|
1973
1973
|
subtract(t) {
|
|
1974
|
-
return
|
|
1974
|
+
return Gr(this, t);
|
|
1975
1975
|
}
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields
|
|
1978
1978
|
* will be constrained accordingly.
|
|
1979
1979
|
*/
|
|
1980
1980
|
set(t) {
|
|
1981
|
-
return
|
|
1981
|
+
return Er(Ka(this, t), t);
|
|
1982
1982
|
}
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
|
|
@@ -1990,14 +1990,14 @@ class Ue {
|
|
|
1990
1990
|
case "year":
|
|
1991
1991
|
case "month":
|
|
1992
1992
|
case "day":
|
|
1993
|
-
return
|
|
1993
|
+
return Br(this, t, r, o);
|
|
1994
1994
|
default:
|
|
1995
1995
|
return ri(this, t, r, o);
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
1998
|
/** Converts the date to a native JavaScript Date object in the given time zone. */
|
|
1999
1999
|
toDate(t, r) {
|
|
2000
|
-
return
|
|
2000
|
+
return Ar(this, t, r);
|
|
2001
2001
|
}
|
|
2002
2002
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
2003
2003
|
toString() {
|
|
@@ -2008,14 +2008,14 @@ class Ue {
|
|
|
2008
2008
|
* one, and a positive date indicates that it is after.
|
|
2009
2009
|
*/
|
|
2010
2010
|
compare(t) {
|
|
2011
|
-
let r =
|
|
2012
|
-
return r === 0 ? Ya(this,
|
|
2011
|
+
let r = Ir(this, t);
|
|
2012
|
+
return r === 0 ? Ya(this, Sr(t)) : r;
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
let Ot = /* @__PURE__ */ new Map();
|
|
2016
|
-
class
|
|
2016
|
+
class Mr {
|
|
2017
2017
|
constructor(t, r = {}) {
|
|
2018
|
-
this.formatter =
|
|
2018
|
+
this.formatter = Vr(t, r), this.options = r;
|
|
2019
2019
|
}
|
|
2020
2020
|
/**
|
|
2021
2021
|
* Formats a date as a string according to the locale and format options passed to the
|
|
@@ -2070,7 +2070,7 @@ const ii = {
|
|
|
2070
2070
|
},
|
|
2071
2071
|
false: {}
|
|
2072
2072
|
};
|
|
2073
|
-
function
|
|
2073
|
+
function Vr(e, t = {}) {
|
|
2074
2074
|
if (typeof t.hour12 == "boolean" && li()) {
|
|
2075
2075
|
t = {
|
|
2076
2076
|
...t
|
|
@@ -2100,7 +2100,7 @@ function ui() {
|
|
|
2100
2100
|
function si(e, t) {
|
|
2101
2101
|
if (!t.timeStyle && !t.hour) return;
|
|
2102
2102
|
e = e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), e += (e.includes("-u-") ? "" : "-u") + "-nu-latn";
|
|
2103
|
-
let r =
|
|
2103
|
+
let r = Vr(e, {
|
|
2104
2104
|
...t,
|
|
2105
2105
|
timeZone: void 0
|
|
2106
2106
|
// use local timezone
|
|
@@ -2127,7 +2127,7 @@ const en = (e) => {
|
|
|
2127
2127
|
e.getHours(),
|
|
2128
2128
|
e.getMinutes()
|
|
2129
2129
|
);
|
|
2130
|
-
}, Xt = (e) => e ? e.toDate(qe()) : null, di = (e) => e === "fr" ? "fr-FR" : "en-US", gi = (e, t, r) => new
|
|
2130
|
+
}, Xt = (e) => e ? e.toDate(qe()) : null, di = (e) => e === "fr" ? "fr-FR" : "en-US", gi = (e, t, r) => new Mr(
|
|
2131
2131
|
t,
|
|
2132
2132
|
r ? {
|
|
2133
2133
|
day: "2-digit",
|
|
@@ -2138,7 +2138,7 @@ const en = (e) => {
|
|
|
2138
2138
|
} : { day: "2-digit", month: "2-digit", year: "numeric" }
|
|
2139
2139
|
).format(e.toDate(qe())), bi = (e, t) => {
|
|
2140
2140
|
if (e.length === 0) return "";
|
|
2141
|
-
const r = new
|
|
2141
|
+
const r = new Mr(t, {
|
|
2142
2142
|
day: "numeric",
|
|
2143
2143
|
month: "short",
|
|
2144
2144
|
year: "numeric"
|
|
@@ -2156,10 +2156,10 @@ const en = (e) => {
|
|
|
2156
2156
|
const c = new Date(i, s, 0).getDate();
|
|
2157
2157
|
if (!(l < 1 || l > c))
|
|
2158
2158
|
return new Ne(i, s, l);
|
|
2159
|
-
},
|
|
2159
|
+
}, Pr = {
|
|
2160
2160
|
pointerEvents: "auto",
|
|
2161
2161
|
pl: 2
|
|
2162
|
-
},
|
|
2162
|
+
}, pi = rr({
|
|
2163
2163
|
pos: "absolute",
|
|
2164
2164
|
px: "0.5",
|
|
2165
2165
|
top: "-0.5rem",
|
|
@@ -2184,23 +2184,23 @@ const en = (e) => {
|
|
|
2184
2184
|
zIndex: "hide",
|
|
2185
2185
|
borderRadius: "9999px"
|
|
2186
2186
|
}
|
|
2187
|
-
}),
|
|
2187
|
+
}), fi = (e, t) => {
|
|
2188
2188
|
if (!e) return [];
|
|
2189
2189
|
const r = (n) => t ? ci(n) : en(n);
|
|
2190
2190
|
if (Array.isArray(e))
|
|
2191
2191
|
return e.map(r).filter((n) => !!n);
|
|
2192
2192
|
const o = r(e);
|
|
2193
2193
|
return o ? [o] : [];
|
|
2194
|
-
},
|
|
2194
|
+
}, Tr = ({
|
|
2195
2195
|
inputLabel: e,
|
|
2196
2196
|
required: t
|
|
2197
|
-
}) => /* @__PURE__ */ u.jsxs(M, { as: "label", css:
|
|
2197
|
+
}) => /* @__PURE__ */ u.jsxs(M, { as: "label", css: pi, children: [
|
|
2198
2198
|
e,
|
|
2199
2199
|
t && /* @__PURE__ */ u.jsxs(M, { as: "span", color: "fg.error", "aria-label": "required", children: [
|
|
2200
2200
|
" ",
|
|
2201
2201
|
"*"
|
|
2202
2202
|
] })
|
|
2203
|
-
] }),
|
|
2203
|
+
] }), Dr = ({ disabled: e }) => /* @__PURE__ */ u.jsx(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u.jsx(
|
|
2204
2204
|
ce,
|
|
2205
2205
|
{
|
|
2206
2206
|
variant: "ghost",
|
|
@@ -2210,7 +2210,7 @@ const en = (e) => {
|
|
|
2210
2210
|
disabled: e,
|
|
2211
2211
|
children: /* @__PURE__ */ u.jsx(Sa, {})
|
|
2212
2212
|
}
|
|
2213
|
-
) }),
|
|
2213
|
+
) }), jr = () => /* @__PURE__ */ u.jsx(N.ClearTrigger, { asChild: !0, children: /* @__PURE__ */ u.jsx(
|
|
2214
2214
|
ce,
|
|
2215
2215
|
{
|
|
2216
2216
|
variant: "ghost",
|
|
@@ -2232,17 +2232,17 @@ const en = (e) => {
|
|
|
2232
2232
|
name: s,
|
|
2233
2233
|
formatRange: i
|
|
2234
2234
|
}) => /* @__PURE__ */ u.jsxs(M, { pos: "relative", w: "full", minW: "15rem", children: [
|
|
2235
|
-
e != null && /* @__PURE__ */ u.jsx(
|
|
2235
|
+
e != null && /* @__PURE__ */ u.jsx(Tr, { inputLabel: e, required: t }),
|
|
2236
2236
|
/* @__PURE__ */ u.jsx(N.Control, { children: /* @__PURE__ */ u.jsx(N.Context, { children: (c) => {
|
|
2237
2237
|
const d = i(c.value), g = o && c.value.length > 0 && !r;
|
|
2238
2238
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
2239
2239
|
/* @__PURE__ */ u.jsx(
|
|
2240
2240
|
yt,
|
|
2241
2241
|
{
|
|
2242
|
-
startElement: /* @__PURE__ */ u.jsx(
|
|
2243
|
-
startElementProps:
|
|
2242
|
+
startElement: /* @__PURE__ */ u.jsx(Dr, { disabled: r }),
|
|
2243
|
+
startElementProps: Pr,
|
|
2244
2244
|
startOffset: "-0.5rem",
|
|
2245
|
-
endElement: g ? /* @__PURE__ */ u.jsx(
|
|
2245
|
+
endElement: g ? /* @__PURE__ */ u.jsx(jr, {}) : void 0,
|
|
2246
2246
|
w: "full",
|
|
2247
2247
|
children: /* @__PURE__ */ u.jsx(N.Trigger, { asChild: !0, unstyled: !0, children: /* @__PURE__ */ u.jsx(
|
|
2248
2248
|
Fe,
|
|
@@ -2291,16 +2291,16 @@ const en = (e) => {
|
|
|
2291
2291
|
onBlur: l,
|
|
2292
2292
|
name: s
|
|
2293
2293
|
}) => /* @__PURE__ */ u.jsxs(M, { pos: "relative", w: "full", minW: "15rem", children: [
|
|
2294
|
-
e != null && /* @__PURE__ */ u.jsx(
|
|
2294
|
+
e != null && /* @__PURE__ */ u.jsx(Tr, { inputLabel: e, required: t }),
|
|
2295
2295
|
/* @__PURE__ */ u.jsx(N.Control, { children: /* @__PURE__ */ u.jsx(N.Context, { children: (i) => {
|
|
2296
2296
|
const c = o && i.value.length > 0 && !r;
|
|
2297
2297
|
return /* @__PURE__ */ u.jsx(
|
|
2298
2298
|
yt,
|
|
2299
2299
|
{
|
|
2300
|
-
startElement: /* @__PURE__ */ u.jsx(
|
|
2301
|
-
startElementProps:
|
|
2300
|
+
startElement: /* @__PURE__ */ u.jsx(Dr, { disabled: r }),
|
|
2301
|
+
startElementProps: Pr,
|
|
2302
2302
|
startOffset: "-0.5rem",
|
|
2303
|
-
endElement: c ? /* @__PURE__ */ u.jsx(
|
|
2303
|
+
endElement: c ? /* @__PURE__ */ u.jsx(jr, {}) : void 0,
|
|
2304
2304
|
w: "full",
|
|
2305
2305
|
children: /* @__PURE__ */ u.jsx(
|
|
2306
2306
|
N.Input,
|
|
@@ -2327,10 +2327,10 @@ const en = (e) => {
|
|
|
2327
2327
|
maxDate: c,
|
|
2328
2328
|
onBlur: d,
|
|
2329
2329
|
disabled: g = !1,
|
|
2330
|
-
required:
|
|
2330
|
+
required: p = !1,
|
|
2331
2331
|
clearable: m = !0,
|
|
2332
2332
|
name: h,
|
|
2333
|
-
invalid:
|
|
2333
|
+
invalid: f,
|
|
2334
2334
|
presets: b
|
|
2335
2335
|
} = e, v = !o && "withTime" in e && e.withTime === !0, C = di(s), S = _(
|
|
2336
2336
|
() => (V) => gi(V, C, v),
|
|
@@ -2392,7 +2392,7 @@ const en = (e) => {
|
|
|
2392
2392
|
size: "sm",
|
|
2393
2393
|
selectionMode: o ? "range" : "single",
|
|
2394
2394
|
locale: C,
|
|
2395
|
-
value:
|
|
2395
|
+
value: fi(r, v),
|
|
2396
2396
|
onValueChange: w,
|
|
2397
2397
|
min: en(i),
|
|
2398
2398
|
max: en(c),
|
|
@@ -2407,11 +2407,11 @@ const en = (e) => {
|
|
|
2407
2407
|
hi,
|
|
2408
2408
|
{
|
|
2409
2409
|
inputLabel: a,
|
|
2410
|
-
required:
|
|
2410
|
+
required: p,
|
|
2411
2411
|
disabled: g,
|
|
2412
2412
|
clearable: m,
|
|
2413
2413
|
placeholder: l,
|
|
2414
|
-
invalid:
|
|
2414
|
+
invalid: f,
|
|
2415
2415
|
onBlur: d,
|
|
2416
2416
|
name: h,
|
|
2417
2417
|
formatRange: y
|
|
@@ -2420,11 +2420,11 @@ const en = (e) => {
|
|
|
2420
2420
|
vi,
|
|
2421
2421
|
{
|
|
2422
2422
|
inputLabel: a,
|
|
2423
|
-
required:
|
|
2423
|
+
required: p,
|
|
2424
2424
|
disabled: g,
|
|
2425
2425
|
clearable: m,
|
|
2426
2426
|
placeholder: l,
|
|
2427
|
-
invalid:
|
|
2427
|
+
invalid: f,
|
|
2428
2428
|
onBlur: d,
|
|
2429
2429
|
name: h
|
|
2430
2430
|
}
|
|
@@ -2453,7 +2453,7 @@ const en = (e) => {
|
|
|
2453
2453
|
{
|
|
2454
2454
|
value: V.value,
|
|
2455
2455
|
asChild: !0,
|
|
2456
|
-
children: /* @__PURE__ */ u.jsx(
|
|
2456
|
+
children: /* @__PURE__ */ u.jsx(or, { variant: "surface", size: "sm", width: "100%", children: V.label })
|
|
2457
2457
|
},
|
|
2458
2458
|
V.value
|
|
2459
2459
|
))
|
|
@@ -2516,7 +2516,7 @@ const en = (e) => {
|
|
|
2516
2516
|
);
|
|
2517
2517
|
});
|
|
2518
2518
|
Ii.displayName = "DatePicker";
|
|
2519
|
-
const
|
|
2519
|
+
const Or = We(void 0), Ci = ge(
|
|
2520
2520
|
({
|
|
2521
2521
|
label: e,
|
|
2522
2522
|
errorMessage: t,
|
|
@@ -2536,7 +2536,7 @@ const Nr = We(void 0), Ci = ge(
|
|
|
2536
2536
|
}),
|
|
2537
2537
|
[r, o, n]
|
|
2538
2538
|
);
|
|
2539
|
-
return /* @__PURE__ */ u.jsx(
|
|
2539
|
+
return /* @__PURE__ */ u.jsx(Or.Provider, { value: d, children: /* @__PURE__ */ u.jsx(
|
|
2540
2540
|
tt.Root,
|
|
2541
2541
|
{
|
|
2542
2542
|
invalid: r,
|
|
@@ -2570,9 +2570,9 @@ const Nr = We(void 0), Ci = ge(
|
|
|
2570
2570
|
}
|
|
2571
2571
|
) });
|
|
2572
2572
|
}
|
|
2573
|
-
), xi = () => Ee(
|
|
2573
|
+
), xi = () => Ee(Or) || { invalid: !1, required: !1, disabled: !1 };
|
|
2574
2574
|
Ci.displayName = "FieldWrapper";
|
|
2575
|
-
const yi =
|
|
2575
|
+
const yi = rr({
|
|
2576
2576
|
pos: "absolute",
|
|
2577
2577
|
px: "0.5",
|
|
2578
2578
|
top: "-0.5rem",
|
|
@@ -2603,9 +2603,9 @@ const yi = or({
|
|
|
2603
2603
|
children: t
|
|
2604
2604
|
}) => /* @__PURE__ */ u.jsx(M, { as: "label", css: yi, htmlFor: e, children: t }), Ft = ge(
|
|
2605
2605
|
({ id: e, name: t, label: r, disabled: o, ...n }, a) => {
|
|
2606
|
-
const { invalid: l, required: s, disabled: i } = xi(), c = l || !1, d = s || !1, g = i || o || !1,
|
|
2606
|
+
const { invalid: l, required: s, disabled: i } = xi(), c = l || !1, d = s || !1, g = i || o || !1, p = e || `input-${Math.random().toString(36).substr(2, 9)}`;
|
|
2607
2607
|
return /* @__PURE__ */ u.jsxs(M, { pos: "relative", w: "full", children: [
|
|
2608
|
-
r && /* @__PURE__ */ u.jsxs(Ai, { htmlFor:
|
|
2608
|
+
r && /* @__PURE__ */ u.jsxs(Ai, { htmlFor: p, children: [
|
|
2609
2609
|
r,
|
|
2610
2610
|
" ",
|
|
2611
2611
|
s && /* @__PURE__ */ u.jsx(M, { as: "span", color: "fg.error", "aria-label": "required", children: "*" })
|
|
@@ -2619,7 +2619,7 @@ const yi = or({
|
|
|
2619
2619
|
"aria-required": d,
|
|
2620
2620
|
"aria-disabled": g,
|
|
2621
2621
|
...n,
|
|
2622
|
-
id:
|
|
2622
|
+
id: p,
|
|
2623
2623
|
name: t
|
|
2624
2624
|
}
|
|
2625
2625
|
)
|
|
@@ -2687,7 +2687,7 @@ const Mi = D.forwardRef(
|
|
|
2687
2687
|
}
|
|
2688
2688
|
), Sc = D.forwardRef(function(t, r) {
|
|
2689
2689
|
const { max: o = 4, value: n, ...a } = t, l = n / o * 100, { label: s, colorPalette: i } = wi(l);
|
|
2690
|
-
return /* @__PURE__ */ u.jsxs(
|
|
2690
|
+
return /* @__PURE__ */ u.jsxs(ar, { align: "flex-end", gap: "1", ref: r, ...a, children: [
|
|
2691
2691
|
/* @__PURE__ */ u.jsx(je, { width: "full", ...a, children: Array.from({ length: o }).map((c, d) => /* @__PURE__ */ u.jsx(
|
|
2692
2692
|
M,
|
|
2693
2693
|
{
|
|
@@ -2716,11 +2716,11 @@ const Mi = D.forwardRef(
|
|
|
2716
2716
|
visibilityIcon: s = { on: /* @__PURE__ */ u.jsx(Ei, {}), off: /* @__PURE__ */ u.jsx(Bi, {}) },
|
|
2717
2717
|
label: i,
|
|
2718
2718
|
...c
|
|
2719
|
-
} = t, [d, g] =
|
|
2719
|
+
} = t, [d, g] = ir({
|
|
2720
2720
|
value: a,
|
|
2721
2721
|
defaultValue: n || !1,
|
|
2722
2722
|
onChange: l
|
|
2723
|
-
}),
|
|
2723
|
+
}), p = D.useRef(null);
|
|
2724
2724
|
return /* @__PURE__ */ u.jsx(
|
|
2725
2725
|
yt,
|
|
2726
2726
|
{
|
|
@@ -2742,7 +2742,7 @@ const Mi = D.forwardRef(
|
|
|
2742
2742
|
Ft,
|
|
2743
2743
|
{
|
|
2744
2744
|
label: i,
|
|
2745
|
-
ref:
|
|
2745
|
+
ref: lr(r, p),
|
|
2746
2746
|
type: d ? "text" : "password",
|
|
2747
2747
|
...c
|
|
2748
2748
|
}
|
|
@@ -3291,18 +3291,18 @@ const Pi = {
|
|
|
3291
3291
|
}) => {
|
|
3292
3292
|
const l = ye({ base: !0, sm: !1 }), [s, i] = X(""), c = $(null), [d, g] = X(
|
|
3293
3293
|
null
|
|
3294
|
-
),
|
|
3294
|
+
), p = {
|
|
3295
3295
|
...Di[o],
|
|
3296
3296
|
...n
|
|
3297
|
-
}, { collection: m, filter: h, set:
|
|
3297
|
+
}, { collection: m, filter: h, set: f } = Do({
|
|
3298
3298
|
initialItems: e,
|
|
3299
3299
|
itemToString: (b) => b.label,
|
|
3300
3300
|
itemToValue: (b) => b.value,
|
|
3301
3301
|
filter: (b, v, C) => b.toLowerCase().includes(v.toLowerCase()) || C.value.toLowerCase().includes(v.toLowerCase())
|
|
3302
3302
|
});
|
|
3303
3303
|
return le(() => {
|
|
3304
|
-
|
|
3305
|
-
}, [e,
|
|
3304
|
+
f(e);
|
|
3305
|
+
}, [e, f]), le(() => {
|
|
3306
3306
|
g(
|
|
3307
3307
|
c.current?.closest(
|
|
3308
3308
|
'[role="dialog"], [role="alertdialog"]'
|
|
@@ -3330,7 +3330,7 @@ const Pi = {
|
|
|
3330
3330
|
size: l ? "sm" : "md",
|
|
3331
3331
|
children: [
|
|
3332
3332
|
/* @__PURE__ */ u.jsx(Ie.Context, { children: (b) => /* @__PURE__ */ u.jsx(Ie.Trigger, { asChild: !0, focusable: !0, children: /* @__PURE__ */ u.jsxs(
|
|
3333
|
-
|
|
3333
|
+
or,
|
|
3334
3334
|
{
|
|
3335
3335
|
ref: c,
|
|
3336
3336
|
display: "flex",
|
|
@@ -3393,7 +3393,7 @@ const Pi = {
|
|
|
3393
3393
|
/* @__PURE__ */ u.jsx(M, { flexShrink: 0, padding: 2, children: /* @__PURE__ */ u.jsx(
|
|
3394
3394
|
Ie.Input,
|
|
3395
3395
|
{
|
|
3396
|
-
placeholder:
|
|
3396
|
+
placeholder: p.search,
|
|
3397
3397
|
px: 3,
|
|
3398
3398
|
minH: l ? "8" : "10",
|
|
3399
3399
|
_focusWithin: { borderColor: "secondary" }
|
|
@@ -3406,7 +3406,7 @@ const Pi = {
|
|
|
3406
3406
|
textAlign: "center",
|
|
3407
3407
|
color: "fg.muted",
|
|
3408
3408
|
textStyle: "sm",
|
|
3409
|
-
children:
|
|
3409
|
+
children: p.noResults
|
|
3410
3410
|
}
|
|
3411
3411
|
),
|
|
3412
3412
|
/* @__PURE__ */ u.jsx(M, { overflowY: "auto", flex: "1", p: 1, children: m.items.map((b) => /* @__PURE__ */ u.jsx(Ie.Item, { item: b, children: /* @__PURE__ */ u.jsxs(me, { alignItems: "center", gap: 2, overflow: "hidden", flex: "1", children: [
|
|
@@ -3485,14 +3485,14 @@ const Pi = {
|
|
|
3485
3485
|
searchLabels: d,
|
|
3486
3486
|
...g
|
|
3487
3487
|
}) => {
|
|
3488
|
-
const [
|
|
3489
|
-
|
|
3488
|
+
const [p, m] = X(r), h = e?.toUpperCase() === "FR" ? "FR" : "GB", f = $(e);
|
|
3489
|
+
f.current = e;
|
|
3490
3490
|
const b = $(d);
|
|
3491
3491
|
b.current = d;
|
|
3492
3492
|
const v = $((x) => /* @__PURE__ */ u.jsx(
|
|
3493
3493
|
ji,
|
|
3494
3494
|
{
|
|
3495
|
-
locale:
|
|
3495
|
+
locale: f.current,
|
|
3496
3496
|
labels: b.current,
|
|
3497
3497
|
...x
|
|
3498
3498
|
}
|
|
@@ -3532,7 +3532,7 @@ const Pi = {
|
|
|
3532
3532
|
borderBottomLeftRadius: "none",
|
|
3533
3533
|
...a
|
|
3534
3534
|
},
|
|
3535
|
-
value:
|
|
3535
|
+
value: p,
|
|
3536
3536
|
labels: e === "fr" ? Ti : Pi,
|
|
3537
3537
|
defaultCountry: C,
|
|
3538
3538
|
disabled: n,
|
|
@@ -3560,19 +3560,19 @@ const Ec = ge(
|
|
|
3560
3560
|
customEndElement: i,
|
|
3561
3561
|
...c
|
|
3562
3562
|
}, d) => {
|
|
3563
|
-
const [g,
|
|
3563
|
+
const [g, p] = ir({
|
|
3564
3564
|
value: e,
|
|
3565
3565
|
defaultValue: t,
|
|
3566
3566
|
onChange: r
|
|
3567
|
-
}), m = $(null), h =
|
|
3568
|
-
v.current =
|
|
3567
|
+
}), m = $(null), h = lr(m, d), [f, b] = X(g), v = $(f);
|
|
3568
|
+
v.current = f;
|
|
3569
3569
|
const C = $(null);
|
|
3570
|
-
C.current =
|
|
3570
|
+
C.current = p, le(() => {
|
|
3571
3571
|
const x = setTimeout(() => {
|
|
3572
|
-
C.current?.(
|
|
3572
|
+
C.current?.(f);
|
|
3573
3573
|
}, o);
|
|
3574
3574
|
return () => clearTimeout(x);
|
|
3575
|
-
}, [
|
|
3575
|
+
}, [f, o]), le(() => {
|
|
3576
3576
|
g !== v.current && b(g);
|
|
3577
3577
|
}, [g]);
|
|
3578
3578
|
const S = (x) => {
|
|
@@ -3586,7 +3586,7 @@ const Ec = ge(
|
|
|
3586
3586
|
yt,
|
|
3587
3587
|
{
|
|
3588
3588
|
startElement: /* @__PURE__ */ u.jsx(M, { color: l ? "fg.muted" : "fg.subtle", children: /* @__PURE__ */ u.jsx(Ia, {}) }),
|
|
3589
|
-
endElement: !l &&
|
|
3589
|
+
endElement: !l && f ? /* @__PURE__ */ u.jsx(
|
|
3590
3590
|
ce,
|
|
3591
3591
|
{
|
|
3592
3592
|
onClick: y,
|
|
@@ -3602,7 +3602,7 @@ const Ec = ge(
|
|
|
3602
3602
|
{
|
|
3603
3603
|
ref: h,
|
|
3604
3604
|
onChange: S,
|
|
3605
|
-
value:
|
|
3605
|
+
value: f || "",
|
|
3606
3606
|
placeholder: n ?? "Recherche...",
|
|
3607
3607
|
disabled: l,
|
|
3608
3608
|
onKeyDown: A,
|
|
@@ -3649,8 +3649,8 @@ const Ec = ge(
|
|
|
3649
3649
|
] })
|
|
3650
3650
|
]
|
|
3651
3651
|
}
|
|
3652
|
-
) }),
|
|
3653
|
-
const e = Ee(
|
|
3652
|
+
) }), Nr = We(null), Ge = () => {
|
|
3653
|
+
const e = Ee(Nr);
|
|
3654
3654
|
if (e === null)
|
|
3655
3655
|
throw new Error(
|
|
3656
3656
|
"Modal subcomponent must be used within <Modal.Root>. Make sure Modal.Header, Modal.Body, and Modal.Footer are inside a Modal.Root component."
|
|
@@ -3662,8 +3662,8 @@ const Ec = ge(
|
|
|
3662
3662
|
children: r,
|
|
3663
3663
|
...o
|
|
3664
3664
|
}) => {
|
|
3665
|
-
const n = ye({ base: !0, md: !1 }) ?? !1, a = o?.size === "full", l = !n && !a, s = l ?
|
|
3666
|
-
return /* @__PURE__ */ u.jsx(
|
|
3665
|
+
const n = ye({ base: !0, md: !1 }) ?? !1, a = o?.size === "full", l = !n && !a, s = l ? pe.Root : K.Root;
|
|
3666
|
+
return /* @__PURE__ */ u.jsx(Nr.Provider, { value: { useDialog: l, isFull: a }, children: /* @__PURE__ */ u.jsx(
|
|
3667
3667
|
s,
|
|
3668
3668
|
{
|
|
3669
3669
|
open: e,
|
|
@@ -3679,43 +3679,43 @@ oe.Trigger = function({
|
|
|
3679
3679
|
children: t,
|
|
3680
3680
|
...r
|
|
3681
3681
|
}) {
|
|
3682
|
-
const { useDialog: o } = Ge(), n = o ?
|
|
3682
|
+
const { useDialog: o } = Ge(), n = o ? pe.Trigger : K.Trigger;
|
|
3683
3683
|
return /* @__PURE__ */ u.jsx(n, { asChild: !0, ...r, children: t });
|
|
3684
3684
|
};
|
|
3685
3685
|
oe.Header = function({
|
|
3686
3686
|
children: t,
|
|
3687
3687
|
...r
|
|
3688
3688
|
}) {
|
|
3689
|
-
const { useDialog: o } = Ge(), n = o ?
|
|
3689
|
+
const { useDialog: o } = Ge(), n = o ? pe.Header : K.Header, a = o ? pe.Title : K.Title, l = typeof t == "string" || typeof t == "number";
|
|
3690
3690
|
return /* @__PURE__ */ u.jsx(n, { ...r, children: l ? /* @__PURE__ */ u.jsx(a, { children: t }) : t });
|
|
3691
3691
|
};
|
|
3692
3692
|
oe.Body = function({
|
|
3693
3693
|
children: t,
|
|
3694
3694
|
...r
|
|
3695
3695
|
}) {
|
|
3696
|
-
const { useDialog: o } = Ge(), n = o ?
|
|
3696
|
+
const { useDialog: o } = Ge(), n = o ? pe.Body : K.Body;
|
|
3697
3697
|
return /* @__PURE__ */ u.jsx(n, { ...r, children: t });
|
|
3698
3698
|
};
|
|
3699
3699
|
oe.Footer = function({
|
|
3700
3700
|
children: t,
|
|
3701
3701
|
...r
|
|
3702
3702
|
}) {
|
|
3703
|
-
const { useDialog: o } = Ge(), n = o ?
|
|
3703
|
+
const { useDialog: o } = Ge(), n = o ? pe.Footer : K.Footer;
|
|
3704
3704
|
return /* @__PURE__ */ u.jsx(n, { ...r, children: t });
|
|
3705
3705
|
};
|
|
3706
3706
|
oe.ActionTrigger = function({
|
|
3707
3707
|
children: t,
|
|
3708
3708
|
...r
|
|
3709
3709
|
}) {
|
|
3710
|
-
const { useDialog: o } = Ge(), n = o ?
|
|
3710
|
+
const { useDialog: o } = Ge(), n = o ? pe.ActionTrigger : K.ActionTrigger;
|
|
3711
3711
|
return /* @__PURE__ */ u.jsx(n, { asChild: !0, ...r, children: t });
|
|
3712
3712
|
};
|
|
3713
3713
|
oe.Backdrop = function(t) {
|
|
3714
|
-
const { useDialog: r } = Ge(), o = r ?
|
|
3714
|
+
const { useDialog: r } = Ge(), o = r ? pe.Backdrop : K.Backdrop;
|
|
3715
3715
|
return /* @__PURE__ */ u.jsx(o, { ...t });
|
|
3716
3716
|
};
|
|
3717
3717
|
oe.Positioner = function(t) {
|
|
3718
|
-
const { useDialog: r } = Ge(), o = r ?
|
|
3718
|
+
const { useDialog: r } = Ge(), o = r ? pe.Positioner : K.Positioner;
|
|
3719
3719
|
return /* @__PURE__ */ u.jsx(o, { ...t });
|
|
3720
3720
|
};
|
|
3721
3721
|
oe.Portal = function({
|
|
@@ -3728,7 +3728,7 @@ oe.ContentWrapper = function({
|
|
|
3728
3728
|
children: t,
|
|
3729
3729
|
...r
|
|
3730
3730
|
}) {
|
|
3731
|
-
const { useDialog: o, isFull: n } = Ge(), a = ye({ base: !0, md: !1 }) ?? !1, l = o ?
|
|
3731
|
+
const { useDialog: o, isFull: n } = Ge(), a = ye({ base: !0, md: !1 }) ?? !1, l = o ? pe.Content : K.Content, s = o ? pe.CloseTrigger : K.CloseTrigger;
|
|
3732
3732
|
return /* @__PURE__ */ u.jsxs(oe.Portal, { children: [
|
|
3733
3733
|
/* @__PURE__ */ u.jsx(oe.Backdrop, {}),
|
|
3734
3734
|
/* @__PURE__ */ u.jsx(oe.Positioner, { children: /* @__PURE__ */ u.jsxs(
|
|
@@ -3748,7 +3748,7 @@ oe.ContentWrapper = function({
|
|
|
3748
3748
|
oe.displayName = "Modal.Root";
|
|
3749
3749
|
const Ni = oe;
|
|
3750
3750
|
Ni.Root = oe;
|
|
3751
|
-
const
|
|
3751
|
+
const Wr = (e, t) => {
|
|
3752
3752
|
const r = $(null), o = z(
|
|
3753
3753
|
(n, a) => {
|
|
3754
3754
|
if (r.current && clearTimeout(r.current), !e) {
|
|
@@ -3871,12 +3871,12 @@ function Hi(e, t) {
|
|
|
3871
3871
|
}
|
|
3872
3872
|
return (t === "string" ? String : Number)(e);
|
|
3873
3873
|
}
|
|
3874
|
-
function
|
|
3874
|
+
function Xr(e) {
|
|
3875
3875
|
var t = Hi(e, "string");
|
|
3876
3876
|
return Be(t) == "symbol" ? t : t + "";
|
|
3877
3877
|
}
|
|
3878
3878
|
function Pe(e, t, r) {
|
|
3879
|
-
return (t =
|
|
3879
|
+
return (t = Xr(t)) in e ? Object.defineProperty(e, t, {
|
|
3880
3880
|
value: r,
|
|
3881
3881
|
enumerable: !0,
|
|
3882
3882
|
configurable: !0,
|
|
@@ -3910,7 +3910,7 @@ function Li(e, t) {
|
|
|
3910
3910
|
function Dn(e, t) {
|
|
3911
3911
|
for (var r = 0; r < t.length; r++) {
|
|
3912
3912
|
var o = t[r];
|
|
3913
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e,
|
|
3913
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Xr(o.key), o);
|
|
3914
3914
|
}
|
|
3915
3915
|
}
|
|
3916
3916
|
function ki(e, t, r) {
|
|
@@ -3940,13 +3940,13 @@ function bt(e) {
|
|
|
3940
3940
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
3941
3941
|
}, bt(e);
|
|
3942
3942
|
}
|
|
3943
|
-
function
|
|
3943
|
+
function Hr() {
|
|
3944
3944
|
try {
|
|
3945
3945
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
3946
3946
|
}));
|
|
3947
3947
|
} catch {
|
|
3948
3948
|
}
|
|
3949
|
-
return (
|
|
3949
|
+
return (Hr = function() {
|
|
3950
3950
|
return !!e;
|
|
3951
3951
|
})();
|
|
3952
3952
|
}
|
|
@@ -3960,7 +3960,7 @@ function Yi(e, t) {
|
|
|
3960
3960
|
return zi(e);
|
|
3961
3961
|
}
|
|
3962
3962
|
function Ji(e) {
|
|
3963
|
-
var t =
|
|
3963
|
+
var t = Hr();
|
|
3964
3964
|
return function() {
|
|
3965
3965
|
var r, o = bt(e);
|
|
3966
3966
|
if (t) {
|
|
@@ -3981,7 +3981,7 @@ function _i(e) {
|
|
|
3981
3981
|
function $i(e) {
|
|
3982
3982
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function Lr(e, t) {
|
|
3985
3985
|
if (e) {
|
|
3986
3986
|
if (typeof e == "string") return nn(e, t);
|
|
3987
3987
|
var r = {}.toString.call(e).slice(8, -1);
|
|
@@ -3993,7 +3993,7 @@ function Ui() {
|
|
|
3993
3993
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3994
3994
|
}
|
|
3995
3995
|
function De(e) {
|
|
3996
|
-
return _i(e) || $i(e) ||
|
|
3996
|
+
return _i(e) || $i(e) || Lr(e) || Ui();
|
|
3997
3997
|
}
|
|
3998
3998
|
function Qi(e) {
|
|
3999
3999
|
if (Array.isArray(e)) return e;
|
|
@@ -4024,7 +4024,7 @@ function Ki() {
|
|
|
4024
4024
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4025
4025
|
}
|
|
4026
4026
|
function ne(e, t) {
|
|
4027
|
-
return Qi(e) || qi(e, t) ||
|
|
4027
|
+
return Qi(e) || qi(e, t) || Lr(e, t) || Ki();
|
|
4028
4028
|
}
|
|
4029
4029
|
function el(e, t) {
|
|
4030
4030
|
if (e == null) return {};
|
|
@@ -4035,7 +4035,7 @@ function el(e, t) {
|
|
|
4035
4035
|
}
|
|
4036
4036
|
return r;
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4038
|
+
function fe(e, t) {
|
|
4039
4039
|
if (e == null) return {};
|
|
4040
4040
|
var r, o, n = el(e, t);
|
|
4041
4041
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -4051,7 +4051,7 @@ function tl(e, t) {
|
|
|
4051
4051
|
}
|
|
4052
4052
|
}));
|
|
4053
4053
|
}
|
|
4054
|
-
const nl = Math.min, rl = Math.max, mt = Math.round, at = Math.floor,
|
|
4054
|
+
const nl = Math.min, rl = Math.max, mt = Math.round, at = Math.floor, pt = (e) => ({
|
|
4055
4055
|
x: e,
|
|
4056
4056
|
y: e
|
|
4057
4057
|
});
|
|
@@ -4076,18 +4076,18 @@ function ol(e) {
|
|
|
4076
4076
|
function Gt() {
|
|
4077
4077
|
return typeof window < "u";
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return
|
|
4079
|
+
function kr(e) {
|
|
4080
|
+
return zr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
4081
4081
|
}
|
|
4082
4082
|
function Ae(e) {
|
|
4083
4083
|
var t;
|
|
4084
4084
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
4085
4085
|
}
|
|
4086
|
-
function
|
|
4086
|
+
function Zr(e) {
|
|
4087
4087
|
var t;
|
|
4088
|
-
return (t = (
|
|
4088
|
+
return (t = (zr(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
4089
4089
|
}
|
|
4090
|
-
function
|
|
4090
|
+
function zr(e) {
|
|
4091
4091
|
return Gt() ? e instanceof Node || e instanceof Ae(e).Node : !1;
|
|
4092
4092
|
}
|
|
4093
4093
|
function al(e) {
|
|
@@ -4099,7 +4099,7 @@ function bn(e) {
|
|
|
4099
4099
|
function jn(e) {
|
|
4100
4100
|
return !Gt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ae(e).ShadowRoot;
|
|
4101
4101
|
}
|
|
4102
|
-
function
|
|
4102
|
+
function Yr(e) {
|
|
4103
4103
|
const {
|
|
4104
4104
|
overflow: t,
|
|
4105
4105
|
overflowX: r,
|
|
@@ -4113,36 +4113,36 @@ function il() {
|
|
|
4113
4113
|
return Ht == null && (Ht = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Ht;
|
|
4114
4114
|
}
|
|
4115
4115
|
function ll(e) {
|
|
4116
|
-
return /^(html|body|#document)$/.test(
|
|
4116
|
+
return /^(html|body|#document)$/.test(kr(e));
|
|
4117
4117
|
}
|
|
4118
4118
|
function mn(e) {
|
|
4119
4119
|
return Ae(e).getComputedStyle(e);
|
|
4120
4120
|
}
|
|
4121
4121
|
function ul(e) {
|
|
4122
|
-
if (
|
|
4122
|
+
if (kr(e) === "html")
|
|
4123
4123
|
return e;
|
|
4124
4124
|
const t = (
|
|
4125
4125
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4126
4126
|
e.assignedSlot || // DOM Element detected.
|
|
4127
4127
|
e.parentNode || // ShadowRoot detected.
|
|
4128
4128
|
jn(e) && e.host || // Fallback.
|
|
4129
|
-
|
|
4129
|
+
Zr(e)
|
|
4130
4130
|
);
|
|
4131
4131
|
return jn(t) ? t.host : t;
|
|
4132
4132
|
}
|
|
4133
|
-
function
|
|
4133
|
+
function Jr(e) {
|
|
4134
4134
|
const t = ul(e);
|
|
4135
|
-
return ll(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bn(t) &&
|
|
4135
|
+
return ll(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bn(t) && Yr(t) ? t : Jr(t);
|
|
4136
4136
|
}
|
|
4137
|
-
function
|
|
4137
|
+
function ft(e, t, r) {
|
|
4138
4138
|
var o;
|
|
4139
4139
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
4140
|
-
const n =
|
|
4140
|
+
const n = Jr(e), a = n === ((o = e.ownerDocument) == null ? void 0 : o.body), l = Ae(n);
|
|
4141
4141
|
if (a) {
|
|
4142
4142
|
const s = rn(l);
|
|
4143
|
-
return t.concat(l, l.visualViewport || [],
|
|
4143
|
+
return t.concat(l, l.visualViewport || [], Yr(n) ? n : [], s && r ? ft(s) : []);
|
|
4144
4144
|
} else
|
|
4145
|
-
return t.concat(n,
|
|
4145
|
+
return t.concat(n, ft(n, [], r));
|
|
4146
4146
|
}
|
|
4147
4147
|
function rn(e) {
|
|
4148
4148
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
@@ -4157,13 +4157,13 @@ function sl(e) {
|
|
|
4157
4157
|
$: s
|
|
4158
4158
|
};
|
|
4159
4159
|
}
|
|
4160
|
-
function
|
|
4160
|
+
function pn(e) {
|
|
4161
4161
|
return al(e) ? e : e.contextElement;
|
|
4162
4162
|
}
|
|
4163
4163
|
function On(e) {
|
|
4164
|
-
const t =
|
|
4164
|
+
const t = pn(e);
|
|
4165
4165
|
if (!bn(t))
|
|
4166
|
-
return
|
|
4166
|
+
return pt(1);
|
|
4167
4167
|
const r = t.getBoundingClientRect(), {
|
|
4168
4168
|
width: o,
|
|
4169
4169
|
height: n,
|
|
@@ -4175,7 +4175,7 @@ function On(e) {
|
|
|
4175
4175
|
y: s
|
|
4176
4176
|
};
|
|
4177
4177
|
}
|
|
4178
|
-
const cl = /* @__PURE__ */
|
|
4178
|
+
const cl = /* @__PURE__ */ pt(0);
|
|
4179
4179
|
function dl(e) {
|
|
4180
4180
|
const t = Ae(e);
|
|
4181
4181
|
return !il() || !t.visualViewport ? cl : {
|
|
@@ -4188,17 +4188,17 @@ function gl(e, t, r) {
|
|
|
4188
4188
|
}
|
|
4189
4189
|
function Nn(e, t, r, o) {
|
|
4190
4190
|
t === void 0 && (t = !1);
|
|
4191
|
-
const n = e.getBoundingClientRect(), a =
|
|
4192
|
-
let l =
|
|
4191
|
+
const n = e.getBoundingClientRect(), a = pn(e);
|
|
4192
|
+
let l = pt(1);
|
|
4193
4193
|
t && (l = On(e));
|
|
4194
|
-
const s = gl() ? dl(a) :
|
|
4194
|
+
const s = gl() ? dl(a) : pt(0);
|
|
4195
4195
|
let i = (n.left + s.x) / l.x, c = (n.top + s.y) / l.y, d = n.width / l.x, g = n.height / l.y;
|
|
4196
4196
|
if (a) {
|
|
4197
|
-
const
|
|
4198
|
-
let h =
|
|
4199
|
-
for (;
|
|
4200
|
-
const b = On(
|
|
4201
|
-
i *= b.x, c *= b.y, d *= b.x, g *= b.y, i += S, c += y, h = Ae(
|
|
4197
|
+
const p = Ae(a), m = o;
|
|
4198
|
+
let h = p, f = rn(h);
|
|
4199
|
+
for (; f && o && m !== h; ) {
|
|
4200
|
+
const b = On(f), v = f.getBoundingClientRect(), C = mn(f), S = v.left + (f.clientLeft + parseFloat(C.paddingLeft)) * b.x, y = v.top + (f.clientTop + parseFloat(C.paddingTop)) * b.y;
|
|
4201
|
+
i *= b.x, c *= b.y, d *= b.x, g *= b.y, i += S, c += y, h = Ae(f), f = rn(h);
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
return ol({
|
|
@@ -4208,12 +4208,12 @@ function Nn(e, t, r, o) {
|
|
|
4208
4208
|
y: c
|
|
4209
4209
|
});
|
|
4210
4210
|
}
|
|
4211
|
-
function
|
|
4211
|
+
function _r(e, t) {
|
|
4212
4212
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
4213
4213
|
}
|
|
4214
4214
|
function bl(e, t) {
|
|
4215
4215
|
let r = null, o;
|
|
4216
|
-
const n =
|
|
4216
|
+
const n = Zr(e);
|
|
4217
4217
|
function a() {
|
|
4218
4218
|
var s;
|
|
4219
4219
|
clearTimeout(o), (s = r) == null || s.disconnect(), r = null;
|
|
@@ -4223,13 +4223,13 @@ function bl(e, t) {
|
|
|
4223
4223
|
const c = e.getBoundingClientRect(), {
|
|
4224
4224
|
left: d,
|
|
4225
4225
|
top: g,
|
|
4226
|
-
width:
|
|
4226
|
+
width: p,
|
|
4227
4227
|
height: m
|
|
4228
4228
|
} = c;
|
|
4229
|
-
if (s || t(), !
|
|
4229
|
+
if (s || t(), !p || !m)
|
|
4230
4230
|
return;
|
|
4231
|
-
const h = at(g),
|
|
4232
|
-
rootMargin: -h + "px " + -
|
|
4231
|
+
const h = at(g), f = at(n.clientWidth - (d + p)), b = at(n.clientHeight - (g + m)), v = at(d), S = {
|
|
4232
|
+
rootMargin: -h + "px " + -f + "px " + -b + "px " + -v + "px",
|
|
4233
4233
|
threshold: rl(0, nl(1, i)) || 1
|
|
4234
4234
|
};
|
|
4235
4235
|
let y = !0;
|
|
@@ -4242,7 +4242,7 @@ function bl(e, t) {
|
|
|
4242
4242
|
l(!1, 1e-7);
|
|
4243
4243
|
}, 1e3);
|
|
4244
4244
|
}
|
|
4245
|
-
w === 1 &&
|
|
4245
|
+
w === 1 && !_r(c, e.getBoundingClientRect()) && l(), y = !1;
|
|
4246
4246
|
}
|
|
4247
4247
|
try {
|
|
4248
4248
|
r = new IntersectionObserver(A, {
|
|
@@ -4265,26 +4265,26 @@ function ml(e, t, r, o) {
|
|
|
4265
4265
|
elementResize: l = typeof ResizeObserver == "function",
|
|
4266
4266
|
layoutShift: s = typeof IntersectionObserver == "function",
|
|
4267
4267
|
animationFrame: i = !1
|
|
4268
|
-
} = o, c =
|
|
4268
|
+
} = o, c = pn(e), d = n || a ? [...c ? ft(c) : [], ...t ? ft(t) : []] : [];
|
|
4269
4269
|
d.forEach((v) => {
|
|
4270
4270
|
n && v.addEventListener("scroll", r, {
|
|
4271
4271
|
passive: !0
|
|
4272
4272
|
}), a && v.addEventListener("resize", r);
|
|
4273
4273
|
});
|
|
4274
4274
|
const g = c && s ? bl(c, r) : null;
|
|
4275
|
-
let
|
|
4275
|
+
let p = -1, m = null;
|
|
4276
4276
|
l && (m = new ResizeObserver((v) => {
|
|
4277
4277
|
let [C] = v;
|
|
4278
|
-
C && C.target === c && m && t && (m.unobserve(t), cancelAnimationFrame(
|
|
4278
|
+
C && C.target === c && m && t && (m.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
4279
4279
|
var S;
|
|
4280
4280
|
(S = m) == null || S.observe(t);
|
|
4281
4281
|
})), r();
|
|
4282
4282
|
}), c && !i && m.observe(c), t && m.observe(t));
|
|
4283
|
-
let h,
|
|
4283
|
+
let h, f = i ? Nn(e) : null;
|
|
4284
4284
|
i && b();
|
|
4285
4285
|
function b() {
|
|
4286
4286
|
const v = Nn(e);
|
|
4287
|
-
|
|
4287
|
+
f && !_r(f, v) && r(), f = v, h = requestAnimationFrame(b);
|
|
4288
4288
|
}
|
|
4289
4289
|
return r(), () => {
|
|
4290
4290
|
var v;
|
|
@@ -4293,9 +4293,9 @@ function ml(e, t, r, o) {
|
|
|
4293
4293
|
}), g?.(), (v = m) == null || v.disconnect(), m = null, i && cancelAnimationFrame(h);
|
|
4294
4294
|
};
|
|
4295
4295
|
}
|
|
4296
|
-
var on =
|
|
4296
|
+
var on = Bo, pl = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], ht = function() {
|
|
4297
4297
|
};
|
|
4298
|
-
function
|
|
4298
|
+
function fl(e, t) {
|
|
4299
4299
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
|
4300
4300
|
}
|
|
4301
4301
|
function hl(e, t) {
|
|
@@ -4304,7 +4304,7 @@ function hl(e, t) {
|
|
|
4304
4304
|
var a = [].concat(o);
|
|
4305
4305
|
if (t && e)
|
|
4306
4306
|
for (var l in t)
|
|
4307
|
-
t.hasOwnProperty(l) && t[l] && a.push("".concat(
|
|
4307
|
+
t.hasOwnProperty(l) && t[l] && a.push("".concat(fl(e, l)));
|
|
4308
4308
|
return a.filter(function(s) {
|
|
4309
4309
|
return s;
|
|
4310
4310
|
}).map(function(s) {
|
|
@@ -4313,9 +4313,9 @@ function hl(e, t) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
var vt = function(t) {
|
|
4315
4315
|
return El(t) ? t.filter(Boolean) : Be(t) === "object" && t !== null ? [t] : [];
|
|
4316
|
-
},
|
|
4316
|
+
}, $r = function(t) {
|
|
4317
4317
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
|
4318
|
-
var r =
|
|
4318
|
+
var r = fe(t, pl);
|
|
4319
4319
|
return G({}, r);
|
|
4320
4320
|
}, Y = function(t, r, o) {
|
|
4321
4321
|
var n = t.cx, a = t.getStyles, l = t.getClassNames, s = t.className;
|
|
@@ -4337,7 +4337,7 @@ function Et(e) {
|
|
|
4337
4337
|
function Il(e) {
|
|
4338
4338
|
return Et(e) ? window.innerHeight : e.clientHeight;
|
|
4339
4339
|
}
|
|
4340
|
-
function
|
|
4340
|
+
function Ur(e) {
|
|
4341
4341
|
return Et(e) ? window.pageYOffset : e.scrollTop;
|
|
4342
4342
|
}
|
|
4343
4343
|
function It(e, t) {
|
|
@@ -4359,7 +4359,7 @@ function xl(e, t, r, o) {
|
|
|
4359
4359
|
return r * ((e = e / o - 1) * e * e + 1) + t;
|
|
4360
4360
|
}
|
|
4361
4361
|
function it(e, t) {
|
|
4362
|
-
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ht, n =
|
|
4362
|
+
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ht, n = Ur(e), a = t - n, l = 10, s = 0;
|
|
4363
4363
|
function i() {
|
|
4364
4364
|
s += l;
|
|
4365
4365
|
var c = xl(s, n, a, r);
|
|
@@ -4396,13 +4396,13 @@ function Al() {
|
|
|
4396
4396
|
return !1;
|
|
4397
4397
|
}
|
|
4398
4398
|
}
|
|
4399
|
-
var
|
|
4399
|
+
var Qr = !1, Sl = {
|
|
4400
4400
|
get passive() {
|
|
4401
|
-
return
|
|
4401
|
+
return Qr = !0;
|
|
4402
4402
|
}
|
|
4403
4403
|
}, lt = typeof window < "u" ? window : {};
|
|
4404
4404
|
lt.addEventListener && lt.removeEventListener && (lt.addEventListener("p", ht, Sl), lt.removeEventListener("p", ht, !1));
|
|
4405
|
-
var Fl =
|
|
4405
|
+
var Fl = Qr;
|
|
4406
4406
|
function Gl(e) {
|
|
4407
4407
|
return e != null;
|
|
4408
4408
|
}
|
|
@@ -4430,7 +4430,7 @@ function Ml(e) {
|
|
|
4430
4430
|
maxHeight: t
|
|
4431
4431
|
};
|
|
4432
4432
|
if (!r || !r.offsetParent) return c;
|
|
4433
|
-
var d = i.getBoundingClientRect(), g = d.height,
|
|
4433
|
+
var d = i.getBoundingClientRect(), g = d.height, p = r.getBoundingClientRect(), m = p.bottom, h = p.height, f = p.top, b = r.offsetParent.getBoundingClientRect(), v = b.top, C = l ? window.innerHeight : Il(i), S = Ur(i), y = parseInt(getComputedStyle(r).marginBottom, 10), A = parseInt(getComputedStyle(r).marginTop, 10), x = v - A, w = C - f, E = x + S, P = g - S - f, V = m - C + S + y, L = S + f - A, j = 160;
|
|
4434
4434
|
switch (n) {
|
|
4435
4435
|
case "auto":
|
|
4436
4436
|
case "bottom":
|
|
@@ -4499,7 +4499,7 @@ function Vl(e) {
|
|
|
4499
4499
|
};
|
|
4500
4500
|
return e ? t[e] : "bottom";
|
|
4501
4501
|
}
|
|
4502
|
-
var
|
|
4502
|
+
var qr = function(t) {
|
|
4503
4503
|
return t === "auto" ? "bottom" : t;
|
|
4504
4504
|
}, Pl = function(t, r) {
|
|
4505
4505
|
var o, n = t.placement, a = t.theme, l = a.borderRadius, s = a.spacing, i = a.colors;
|
|
@@ -4512,8 +4512,8 @@ var Kr = function(t) {
|
|
|
4512
4512
|
marginBottom: s.menuGutter,
|
|
4513
4513
|
marginTop: s.menuGutter
|
|
4514
4514
|
});
|
|
4515
|
-
},
|
|
4516
|
-
var r = t.children, o = t.minMenuHeight, n = t.maxMenuHeight, a = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, i = t.theme, c = Ee(
|
|
4515
|
+
}, Kr = /* @__PURE__ */ We(null), Tl = function(t) {
|
|
4516
|
+
var r = t.children, o = t.minMenuHeight, n = t.maxMenuHeight, a = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, i = t.theme, c = Ee(Kr) || {}, d = c.setPortalPlacement, g = $(null), p = X(n), m = ne(p, 2), h = m[0], f = m[1], b = X(null), v = ne(b, 2), C = v[0], S = v[1], y = i.spacing.controlHeight;
|
|
4517
4517
|
return on(function() {
|
|
4518
4518
|
var A = g.current;
|
|
4519
4519
|
if (A) {
|
|
@@ -4526,12 +4526,12 @@ var Kr = function(t) {
|
|
|
4526
4526
|
isFixedPosition: x,
|
|
4527
4527
|
controlHeight: y
|
|
4528
4528
|
});
|
|
4529
|
-
|
|
4529
|
+
f(E.maxHeight), S(E.placement), d?.(E.placement);
|
|
4530
4530
|
}
|
|
4531
4531
|
}, [n, a, l, s, o, d, y]), r({
|
|
4532
4532
|
ref: g,
|
|
4533
4533
|
placerProps: G(G({}, t), {}, {
|
|
4534
|
-
placement: C ||
|
|
4534
|
+
placement: C || qr(a),
|
|
4535
4535
|
maxHeight: h
|
|
4536
4536
|
})
|
|
4537
4537
|
});
|
|
@@ -4562,7 +4562,7 @@ var Kr = function(t) {
|
|
|
4562
4562
|
}), {
|
|
4563
4563
|
ref: n
|
|
4564
4564
|
}, o), r);
|
|
4565
|
-
},
|
|
4565
|
+
}, eo = function(t, r) {
|
|
4566
4566
|
var o = t.theme, n = o.spacing.baseUnit, a = o.colors;
|
|
4567
4567
|
return G({
|
|
4568
4568
|
textAlign: "center"
|
|
@@ -4570,8 +4570,8 @@ var Kr = function(t) {
|
|
|
4570
4570
|
color: a.neutral40,
|
|
4571
4571
|
padding: "".concat(n * 2, "px ").concat(n * 3, "px")
|
|
4572
4572
|
});
|
|
4573
|
-
}, Wl =
|
|
4574
|
-
var r = t.children, o = r === void 0 ? "No options" : r, n = t.innerProps, a =
|
|
4573
|
+
}, Wl = eo, Xl = eo, Hl = function(t) {
|
|
4574
|
+
var r = t.children, o = r === void 0 ? "No options" : r, n = t.innerProps, a = fe(t, Rl);
|
|
4575
4575
|
return B("div", R({}, Y(G(G({}, a), {}, {
|
|
4576
4576
|
children: o,
|
|
4577
4577
|
innerProps: n
|
|
@@ -4580,7 +4580,7 @@ var Kr = function(t) {
|
|
|
4580
4580
|
"menu-notice--no-options": !0
|
|
4581
4581
|
}), n), o);
|
|
4582
4582
|
}, Ll = function(t) {
|
|
4583
|
-
var r = t.children, o = r === void 0 ? "Loading..." : r, n = t.innerProps, a =
|
|
4583
|
+
var r = t.children, o = r === void 0 ? "Loading..." : r, n = t.innerProps, a = fe(t, wl);
|
|
4584
4584
|
return B("div", R({}, Y(G(G({}, a), {}, {
|
|
4585
4585
|
children: o,
|
|
4586
4586
|
innerProps: n
|
|
@@ -4598,19 +4598,19 @@ var Kr = function(t) {
|
|
|
4598
4598
|
zIndex: 1
|
|
4599
4599
|
};
|
|
4600
4600
|
}, Zl = function(t) {
|
|
4601
|
-
var r = t.appendTo, o = t.children, n = t.controlElement, a = t.innerProps, l = t.menuPlacement, s = t.menuPosition, i = $(null), c = $(null), d = X(
|
|
4601
|
+
var r = t.appendTo, o = t.children, n = t.controlElement, a = t.innerProps, l = t.menuPlacement, s = t.menuPosition, i = $(null), c = $(null), d = X(qr(l)), g = ne(d, 2), p = g[0], m = g[1], h = _(function() {
|
|
4602
4602
|
return {
|
|
4603
4603
|
setPortalPlacement: m
|
|
4604
4604
|
};
|
|
4605
|
-
}, []),
|
|
4605
|
+
}, []), f = X(null), b = ne(f, 2), v = b[0], C = b[1], S = z(function() {
|
|
4606
4606
|
if (n) {
|
|
4607
|
-
var w = yl(n), E = s === "fixed" ? 0 : window.pageYOffset, P = w[
|
|
4607
|
+
var w = yl(n), E = s === "fixed" ? 0 : window.pageYOffset, P = w[p] + E;
|
|
4608
4608
|
(P !== v?.offset || w.left !== v?.rect.left || w.width !== v?.rect.width) && C({
|
|
4609
4609
|
offset: P,
|
|
4610
4610
|
rect: w
|
|
4611
4611
|
});
|
|
4612
4612
|
}
|
|
4613
|
-
}, [n, s,
|
|
4613
|
+
}, [n, s, p, v?.offset, v?.rect.left, v?.rect.width]);
|
|
4614
4614
|
on(function() {
|
|
4615
4615
|
S();
|
|
4616
4616
|
}, [S]);
|
|
@@ -4635,7 +4635,7 @@ var Kr = function(t) {
|
|
|
4635
4635
|
}), "menuPortal", {
|
|
4636
4636
|
"menu-portal": !0
|
|
4637
4637
|
}), a), o);
|
|
4638
|
-
return B(
|
|
4638
|
+
return B(Kr.Provider, {
|
|
4639
4639
|
value: h
|
|
4640
4640
|
}, r ? /* @__PURE__ */ aa(x, r) : x);
|
|
4641
4641
|
}, zl = function(t) {
|
|
@@ -4697,8 +4697,8 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4697
4697
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
4698
4698
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8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b2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
|
|
4699
4699
|
toString: Kl
|
|
4700
|
-
},
|
|
4701
|
-
var r = t.size, o =
|
|
4700
|
+
}, to = function(t) {
|
|
4701
|
+
var r = t.size, o = fe(t, Ql);
|
|
4702
4702
|
return B("svg", R({
|
|
4703
4703
|
height: r,
|
|
4704
4704
|
width: r,
|
|
@@ -4707,19 +4707,19 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4707
4707
|
focusable: "false",
|
|
4708
4708
|
css: eu
|
|
4709
4709
|
}, o));
|
|
4710
|
-
},
|
|
4711
|
-
return B(
|
|
4710
|
+
}, fn = function(t) {
|
|
4711
|
+
return B(to, R({
|
|
4712
4712
|
size: 20
|
|
4713
4713
|
}, t), B("path", {
|
|
4714
4714
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
4715
4715
|
}));
|
|
4716
|
-
},
|
|
4717
|
-
return B(
|
|
4716
|
+
}, no = function(t) {
|
|
4717
|
+
return B(to, R({
|
|
4718
4718
|
size: 20
|
|
4719
4719
|
}, t), B("path", {
|
|
4720
4720
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
4721
4721
|
}));
|
|
4722
|
-
},
|
|
4722
|
+
}, ro = function(t, r) {
|
|
4723
4723
|
var o = t.isFocused, n = t.theme, a = n.spacing.baseUnit, l = n.colors;
|
|
4724
4724
|
return G({
|
|
4725
4725
|
label: "indicatorContainer",
|
|
@@ -4732,18 +4732,18 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4732
4732
|
color: o ? l.neutral80 : l.neutral40
|
|
4733
4733
|
}
|
|
4734
4734
|
});
|
|
4735
|
-
}, tu =
|
|
4735
|
+
}, tu = ro, nu = function(t) {
|
|
4736
4736
|
var r = t.children, o = t.innerProps;
|
|
4737
4737
|
return B("div", R({}, Y(t, "dropdownIndicator", {
|
|
4738
4738
|
indicator: !0,
|
|
4739
4739
|
"dropdown-indicator": !0
|
|
4740
|
-
}), o), r || B(
|
|
4741
|
-
}, ru =
|
|
4740
|
+
}), o), r || B(no, null));
|
|
4741
|
+
}, ru = ro, ou = function(t) {
|
|
4742
4742
|
var r = t.children, o = t.innerProps;
|
|
4743
4743
|
return B("div", R({}, Y(t, "clearIndicator", {
|
|
4744
4744
|
indicator: !0,
|
|
4745
4745
|
"clear-indicator": !0
|
|
4746
|
-
}), o), r || B(
|
|
4746
|
+
}), o), r || B(fn, null));
|
|
4747
4747
|
}, au = function(t, r) {
|
|
4748
4748
|
var o = t.isDisabled, n = t.theme, a = n.spacing.baseUnit, l = n.colors;
|
|
4749
4749
|
return G({
|
|
@@ -4782,7 +4782,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4782
4782
|
}, Lt = function(t) {
|
|
4783
4783
|
var r = t.delay, o = t.offset;
|
|
4784
4784
|
return B("span", {
|
|
4785
|
-
css: /* @__PURE__ */
|
|
4785
|
+
css: /* @__PURE__ */ sr({
|
|
4786
4786
|
animation: "".concat(lu, " 1s ease-in-out ").concat(r, "ms infinite;"),
|
|
4787
4787
|
backgroundColor: "currentColor",
|
|
4788
4788
|
borderRadius: "1em",
|
|
@@ -4794,7 +4794,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4794
4794
|
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm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4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
|
|
4795
4795
|
});
|
|
4796
4796
|
}, su = function(t) {
|
|
4797
|
-
var r = t.innerProps, o = t.isRtl, n = t.size, a = n === void 0 ? 4 : n, l =
|
|
4797
|
+
var r = t.innerProps, o = t.isRtl, n = t.size, a = n === void 0 ? 4 : n, l = fe(t, ql);
|
|
4798
4798
|
return B("div", R({}, Y(G(G({}, l), {}, {
|
|
4799
4799
|
innerProps: r,
|
|
4800
4800
|
isRtl: o,
|
|
@@ -4854,7 +4854,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4854
4854
|
paddingBottom: o.baseUnit * 2,
|
|
4855
4855
|
paddingTop: o.baseUnit * 2
|
|
4856
4856
|
};
|
|
4857
|
-
},
|
|
4857
|
+
}, pu = function(t) {
|
|
4858
4858
|
var r = t.children, o = t.cx, n = t.getStyles, a = t.getClassNames, l = t.Heading, s = t.headingProps, i = t.innerProps, c = t.label, d = t.theme, g = t.selectProps;
|
|
4859
4859
|
return B("div", R({}, Y(t, "group", {
|
|
4860
4860
|
group: !0
|
|
@@ -4865,7 +4865,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4865
4865
|
getClassNames: a,
|
|
4866
4866
|
cx: o
|
|
4867
4867
|
}), c), B("div", null, r));
|
|
4868
|
-
},
|
|
4868
|
+
}, fu = function(t, r) {
|
|
4869
4869
|
var o = t.theme, n = o.colors, a = o.spacing;
|
|
4870
4870
|
return G({
|
|
4871
4871
|
label: "group",
|
|
@@ -4881,13 +4881,13 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4881
4881
|
textTransform: "uppercase"
|
|
4882
4882
|
});
|
|
4883
4883
|
}, hu = function(t) {
|
|
4884
|
-
var r =
|
|
4884
|
+
var r = $r(t);
|
|
4885
4885
|
r.data;
|
|
4886
|
-
var o =
|
|
4886
|
+
var o = fe(r, bu);
|
|
4887
4887
|
return B("div", R({}, Y(t, "groupHeading", {
|
|
4888
4888
|
"group-heading": !0
|
|
4889
4889
|
}), o));
|
|
4890
|
-
}, vu =
|
|
4890
|
+
}, vu = pu, Iu = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Cu = function(t, r) {
|
|
4891
4891
|
var o = t.isDisabled, n = t.value, a = t.theme, l = a.spacing, s = a.colors;
|
|
4892
4892
|
return G(G({
|
|
4893
4893
|
visibility: o ? "hidden" : "visible",
|
|
@@ -4900,7 +4900,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4900
4900
|
paddingTop: l.baseUnit / 2,
|
|
4901
4901
|
color: s.neutral80
|
|
4902
4902
|
});
|
|
4903
|
-
},
|
|
4903
|
+
}, oo = {
|
|
4904
4904
|
gridArea: "1 / 2",
|
|
4905
4905
|
font: "inherit",
|
|
4906
4906
|
minWidth: "2px",
|
|
@@ -4917,7 +4917,7 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4917
4917
|
content: 'attr(data-value) " "',
|
|
4918
4918
|
visibility: "hidden",
|
|
4919
4919
|
whiteSpace: "pre"
|
|
4920
|
-
},
|
|
4920
|
+
}, oo)
|
|
4921
4921
|
}, yu = function(t) {
|
|
4922
4922
|
return G({
|
|
4923
4923
|
label: "input",
|
|
@@ -4925,9 +4925,9 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4925
4925
|
background: 0,
|
|
4926
4926
|
opacity: t ? 0 : 1,
|
|
4927
4927
|
width: "100%"
|
|
4928
|
-
},
|
|
4928
|
+
}, oo);
|
|
4929
4929
|
}, Au = function(t) {
|
|
4930
|
-
var r = t.cx, o = t.value, n =
|
|
4930
|
+
var r = t.cx, o = t.value, n = $r(t), a = n.innerRef, l = n.isDisabled, s = n.isHidden, i = n.inputClassName, c = fe(n, Iu);
|
|
4931
4931
|
return B("div", R({}, Y(t, "input", {
|
|
4932
4932
|
"input-container": !0
|
|
4933
4933
|
}), {
|
|
@@ -4979,15 +4979,15 @@ var eu = process.env.NODE_ENV === "production" ? {
|
|
|
4979
4979
|
color: l.danger
|
|
4980
4980
|
}
|
|
4981
4981
|
});
|
|
4982
|
-
},
|
|
4982
|
+
}, ao = function(t) {
|
|
4983
4983
|
var r = t.children, o = t.innerProps;
|
|
4984
4984
|
return B("div", o, r);
|
|
4985
|
-
}, Bu =
|
|
4985
|
+
}, Bu = ao, Ru = ao;
|
|
4986
4986
|
function wu(e) {
|
|
4987
4987
|
var t = e.children, r = e.innerProps;
|
|
4988
4988
|
return B("div", R({
|
|
4989
4989
|
role: "button"
|
|
4990
|
-
}, r), t || B(
|
|
4990
|
+
}, r), t || B(fn, {
|
|
4991
4991
|
size: 14
|
|
4992
4992
|
}));
|
|
4993
4993
|
}
|
|
@@ -5084,8 +5084,8 @@ var Mu = function(t) {
|
|
|
5084
5084
|
ClearIndicator: ou,
|
|
5085
5085
|
Control: gu,
|
|
5086
5086
|
DropdownIndicator: nu,
|
|
5087
|
-
DownChevron:
|
|
5088
|
-
CrossIcon:
|
|
5087
|
+
DownChevron: no,
|
|
5088
|
+
CrossIcon: fn,
|
|
5089
5089
|
Group: vu,
|
|
5090
5090
|
GroupHeading: hu,
|
|
5091
5091
|
IndicatorsContainer: Ul,
|
|
@@ -5188,13 +5188,13 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5188
5188
|
}
|
|
5189
5189
|
},
|
|
5190
5190
|
onFocus: function(t) {
|
|
5191
|
-
var r = t.context, o = t.focused, n = t.options, a = t.label, l = a === void 0 ? "" : a, s = t.selectValue, i = t.isDisabled, c = t.isSelected, d = t.isAppleDevice, g = function(
|
|
5192
|
-
return
|
|
5191
|
+
var r = t.context, o = t.focused, n = t.options, a = t.label, l = a === void 0 ? "" : a, s = t.selectValue, i = t.isDisabled, c = t.isSelected, d = t.isAppleDevice, g = function(f, b) {
|
|
5192
|
+
return f && f.length ? "".concat(f.indexOf(b) + 1, " of ").concat(f.length) : "";
|
|
5193
5193
|
};
|
|
5194
5194
|
if (r === "value" && s)
|
|
5195
5195
|
return "value ".concat(l, " focused, ").concat(g(s, o), ".");
|
|
5196
5196
|
if (r === "menu" && d) {
|
|
5197
|
-
var
|
|
5197
|
+
var p = i ? " disabled" : "", m = "".concat(c ? " selected" : "").concat(p);
|
|
5198
5198
|
return "".concat(l).concat(m, ", ").concat(g(n, o), ".");
|
|
5199
5199
|
}
|
|
5200
5200
|
return "";
|
|
@@ -5204,30 +5204,30 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5204
5204
|
return "".concat(o).concat(r ? " for search term " + r : "", ".");
|
|
5205
5205
|
}
|
|
5206
5206
|
}, Qu = function(t) {
|
|
5207
|
-
var r = t.ariaSelection, o = t.focusedOption, n = t.focusedValue, a = t.focusableOptions, l = t.isFocused, s = t.selectValue, i = t.selectProps, c = t.id, d = t.isAppleDevice, g = i.ariaLiveMessages,
|
|
5207
|
+
var r = t.ariaSelection, o = t.focusedOption, n = t.focusedValue, a = t.focusableOptions, l = t.isFocused, s = t.selectValue, i = t.selectProps, c = t.id, d = t.isAppleDevice, g = i.ariaLiveMessages, p = i.getOptionLabel, m = i.inputValue, h = i.isMulti, f = i.isOptionDisabled, b = i.isSearchable, v = i.menuIsOpen, C = i.options, S = i.screenReaderStatus, y = i.tabSelectsValue, A = i.isLoading, x = i["aria-label"], w = i["aria-live"], E = _(function() {
|
|
5208
5208
|
return G(G({}, Uu), g || {});
|
|
5209
5209
|
}, [g]), P = _(function() {
|
|
5210
5210
|
var k = "";
|
|
5211
5211
|
if (r && E.onChange) {
|
|
5212
5212
|
var Z = r.option, re = r.options, U = r.removedValue, ue = r.removedValues, ie = r.value, I = function(q) {
|
|
5213
5213
|
return Array.isArray(q) ? null : q;
|
|
5214
|
-
}, F = U || Z || I(ie), T = F ?
|
|
5214
|
+
}, F = U || Z || I(ie), T = F ? p(F) : "", O = re || ue || void 0, Q = O ? O.map(p) : [], te = G({
|
|
5215
5215
|
// multiSelected items are usually items that have already been selected
|
|
5216
5216
|
// or set by the user as a default value so we assume they are not disabled
|
|
5217
|
-
isDisabled: F &&
|
|
5217
|
+
isDisabled: F && f(F, s),
|
|
5218
5218
|
label: T,
|
|
5219
5219
|
labels: Q
|
|
5220
5220
|
}, r);
|
|
5221
5221
|
k = E.onChange(te);
|
|
5222
5222
|
}
|
|
5223
5223
|
return k;
|
|
5224
|
-
}, [r, E,
|
|
5224
|
+
}, [r, E, f, s, p]), V = _(function() {
|
|
5225
5225
|
var k = "", Z = o || n, re = !!(o && s && s.includes(o));
|
|
5226
5226
|
if (Z && E.onFocus) {
|
|
5227
5227
|
var U = {
|
|
5228
5228
|
focused: Z,
|
|
5229
|
-
label:
|
|
5230
|
-
isDisabled:
|
|
5229
|
+
label: p(Z),
|
|
5230
|
+
isDisabled: f(Z, s),
|
|
5231
5231
|
isSelected: re,
|
|
5232
5232
|
options: a,
|
|
5233
5233
|
context: Z === o ? "menu" : "value",
|
|
@@ -5237,7 +5237,7 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5237
5237
|
k = E.onFocus(U);
|
|
5238
5238
|
}
|
|
5239
5239
|
return k;
|
|
5240
|
-
}, [o, n,
|
|
5240
|
+
}, [o, n, p, f, E, a, s, d]), L = _(function() {
|
|
5241
5241
|
var k = "";
|
|
5242
5242
|
if (v && C.length && !A && E.onFilter) {
|
|
5243
5243
|
var Z = S({
|
|
@@ -5256,7 +5256,7 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5256
5256
|
k = E.guidance({
|
|
5257
5257
|
"aria-label": x,
|
|
5258
5258
|
context: Z,
|
|
5259
|
-
isDisabled: o &&
|
|
5259
|
+
isDisabled: o && f(o, s),
|
|
5260
5260
|
isMulti: h,
|
|
5261
5261
|
isSearchable: b,
|
|
5262
5262
|
tabSelectsValue: y,
|
|
@@ -5264,7 +5264,7 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5264
5264
|
});
|
|
5265
5265
|
}
|
|
5266
5266
|
return k;
|
|
5267
|
-
}, [x, o, n, h,
|
|
5267
|
+
}, [x, o, n, h, f, b, v, E, s, y, j]), ee = B(xe, null, B("span", {
|
|
5268
5268
|
id: "aria-selection"
|
|
5269
5269
|
}, P), B("span", {
|
|
5270
5270
|
id: "aria-focused"
|
|
@@ -5535,15 +5535,15 @@ var _u = process.env.NODE_ENV === "production" ? {
|
|
|
5535
5535
|
letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
|
|
5536
5536
|
}], Ku = new RegExp("[" + an.map(function(e) {
|
|
5537
5537
|
return e.letters;
|
|
5538
|
-
}).join("") + "]", "g"),
|
|
5538
|
+
}).join("") + "]", "g"), io = {};
|
|
5539
5539
|
for (var kt = 0; kt < an.length; kt++)
|
|
5540
5540
|
for (var Zt = an[kt], zt = 0; zt < Zt.letters.length; zt++)
|
|
5541
|
-
|
|
5542
|
-
var
|
|
5541
|
+
io[Zt.letters[zt]] = Zt.base;
|
|
5542
|
+
var lo = function(t) {
|
|
5543
5543
|
return t.replace(Ku, function(r) {
|
|
5544
|
-
return
|
|
5544
|
+
return io[r];
|
|
5545
5545
|
});
|
|
5546
|
-
}, es = Yu(
|
|
5546
|
+
}, es = Yu(lo), Zn = function(t) {
|
|
5547
5547
|
return t.replace(/^\s+|\s+$/g, "");
|
|
5548
5548
|
}, ts = function(t) {
|
|
5549
5549
|
return "".concat(t.label, " ").concat(t.value);
|
|
@@ -5557,15 +5557,15 @@ var uo = function(t) {
|
|
|
5557
5557
|
trim: !0,
|
|
5558
5558
|
matchFrom: "any"
|
|
5559
5559
|
}, t), a = n.ignoreCase, l = n.ignoreAccents, s = n.stringify, i = n.trim, c = n.matchFrom, d = i ? Zn(o) : o, g = i ? Zn(s(r)) : s(r);
|
|
5560
|
-
return a && (d = d.toLowerCase(), g = g.toLowerCase()), l && (d = es(d), g =
|
|
5560
|
+
return a && (d = d.toLowerCase(), g = g.toLowerCase()), l && (d = es(d), g = lo(g)), c === "start" ? g.substr(0, d.length) === d : g.indexOf(d) > -1;
|
|
5561
5561
|
};
|
|
5562
5562
|
}, rs = ["innerRef"];
|
|
5563
5563
|
function os(e) {
|
|
5564
|
-
var t = e.innerRef, r =
|
|
5564
|
+
var t = e.innerRef, r = fe(e, rs), o = Bl(r, "onExited", "in", "enter", "exit", "appear");
|
|
5565
5565
|
return B("input", R({
|
|
5566
5566
|
ref: t
|
|
5567
5567
|
}, o, {
|
|
5568
|
-
css: /* @__PURE__ */
|
|
5568
|
+
css: /* @__PURE__ */ sr({
|
|
5569
5569
|
label: "dummyInput",
|
|
5570
5570
|
// get rid of any default styles
|
|
5571
5571
|
background: 0,
|
|
@@ -5599,7 +5599,7 @@ function is(e) {
|
|
|
5599
5599
|
}
|
|
5600
5600
|
}, [r, o, n, a]), g = z(function(b) {
|
|
5601
5601
|
d(b, b.deltaY);
|
|
5602
|
-
}, [d]),
|
|
5602
|
+
}, [d]), p = z(function(b) {
|
|
5603
5603
|
i.current = b.changedTouches[0].clientY;
|
|
5604
5604
|
}, []), m = z(function(b) {
|
|
5605
5605
|
var v = i.current - b.changedTouches[0].clientY;
|
|
@@ -5609,19 +5609,19 @@ function is(e) {
|
|
|
5609
5609
|
var v = Fl ? {
|
|
5610
5610
|
passive: !1
|
|
5611
5611
|
} : !1;
|
|
5612
|
-
b.addEventListener("wheel", g, v), b.addEventListener("touchstart",
|
|
5612
|
+
b.addEventListener("wheel", g, v), b.addEventListener("touchstart", p, v), b.addEventListener("touchmove", m, v);
|
|
5613
5613
|
}
|
|
5614
|
-
}, [m,
|
|
5615
|
-
b && (b.removeEventListener("wheel", g, !1), b.removeEventListener("touchstart",
|
|
5616
|
-
}, [m,
|
|
5614
|
+
}, [m, p, g]), f = z(function(b) {
|
|
5615
|
+
b && (b.removeEventListener("wheel", g, !1), b.removeEventListener("touchstart", p, !1), b.removeEventListener("touchmove", m, !1));
|
|
5616
|
+
}, [m, p, g]);
|
|
5617
5617
|
return le(function() {
|
|
5618
5618
|
if (t) {
|
|
5619
5619
|
var b = c.current;
|
|
5620
5620
|
return h(b), function() {
|
|
5621
|
-
|
|
5621
|
+
f(b);
|
|
5622
5622
|
};
|
|
5623
5623
|
}
|
|
5624
|
-
}, [t, h,
|
|
5624
|
+
}, [t, h, f]), function(b) {
|
|
5625
5625
|
c.current = b;
|
|
5626
5626
|
};
|
|
5627
5627
|
}
|
|
@@ -5654,13 +5654,13 @@ function ls(e) {
|
|
|
5654
5654
|
if (Qn) {
|
|
5655
5655
|
var c = document.body, d = c && c.style;
|
|
5656
5656
|
if (o && zn.forEach(function(h) {
|
|
5657
|
-
var
|
|
5658
|
-
n.current[h] =
|
|
5657
|
+
var f = d && d[h];
|
|
5658
|
+
n.current[h] = f;
|
|
5659
5659
|
}), o && _e < 1) {
|
|
5660
|
-
var g = parseInt(n.current.paddingRight, 10) || 0,
|
|
5660
|
+
var g = parseInt(n.current.paddingRight, 10) || 0, p = document.body ? document.body.clientWidth : 0, m = window.innerWidth - p + g || 0;
|
|
5661
5661
|
Object.keys(Yn).forEach(function(h) {
|
|
5662
|
-
var
|
|
5663
|
-
d && (d[h] =
|
|
5662
|
+
var f = Yn[h];
|
|
5663
|
+
d && (d[h] = f);
|
|
5664
5664
|
}), d && (d.paddingRight = "".concat(m, "px"));
|
|
5665
5665
|
}
|
|
5666
5666
|
c && Un() && (c.addEventListener("touchmove", Jn, Ve), i && (i.addEventListener("touchstart", $n, Ve), i.addEventListener("touchmove", _n, Ve))), _e += 1;
|
|
@@ -5669,8 +5669,8 @@ function ls(e) {
|
|
|
5669
5669
|
if (Qn) {
|
|
5670
5670
|
var c = document.body, d = c && c.style;
|
|
5671
5671
|
_e = Math.max(_e - 1, 0), o && _e < 1 && zn.forEach(function(g) {
|
|
5672
|
-
var
|
|
5673
|
-
d && (d[g] =
|
|
5672
|
+
var p = n.current[g];
|
|
5673
|
+
d && (d[g] = p);
|
|
5674
5674
|
}), c && Un() && (c.removeEventListener("touchmove", Jn, Ve), i && (i.removeEventListener("touchstart", $n, Ve), i.removeEventListener("touchmove", _n, Ve)));
|
|
5675
5675
|
}
|
|
5676
5676
|
}, [o]);
|
|
@@ -5741,32 +5741,32 @@ var bs = process.env.NODE_ENV === "production" ? {
|
|
|
5741
5741
|
onChange: function() {
|
|
5742
5742
|
}
|
|
5743
5743
|
});
|
|
5744
|
-
},
|
|
5744
|
+
}, ps = ms;
|
|
5745
5745
|
function hn(e) {
|
|
5746
5746
|
var t;
|
|
5747
5747
|
return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
|
|
5748
5748
|
}
|
|
5749
|
-
function
|
|
5749
|
+
function fs() {
|
|
5750
5750
|
return hn(/^iPhone/i);
|
|
5751
5751
|
}
|
|
5752
|
-
function
|
|
5752
|
+
function uo() {
|
|
5753
5753
|
return hn(/^Mac/i);
|
|
5754
5754
|
}
|
|
5755
5755
|
function hs() {
|
|
5756
5756
|
return hn(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
5757
|
-
|
|
5757
|
+
uo() && navigator.maxTouchPoints > 1;
|
|
5758
5758
|
}
|
|
5759
5759
|
function vs() {
|
|
5760
|
-
return
|
|
5760
|
+
return fs() || hs();
|
|
5761
5761
|
}
|
|
5762
5762
|
function Is() {
|
|
5763
|
-
return
|
|
5763
|
+
return uo() || vs();
|
|
5764
5764
|
}
|
|
5765
5765
|
var Cs = function(t) {
|
|
5766
5766
|
return t.label;
|
|
5767
|
-
},
|
|
5767
|
+
}, so = function(t) {
|
|
5768
5768
|
return t.label;
|
|
5769
|
-
},
|
|
5769
|
+
}, co = function(t) {
|
|
5770
5770
|
return t.value;
|
|
5771
5771
|
}, xs = function(t) {
|
|
5772
5772
|
return !!t.isDisabled;
|
|
@@ -5776,7 +5776,7 @@ var Cs = function(t) {
|
|
|
5776
5776
|
control: cu,
|
|
5777
5777
|
dropdownIndicator: tu,
|
|
5778
5778
|
group: mu,
|
|
5779
|
-
groupHeading:
|
|
5779
|
+
groupHeading: fu,
|
|
5780
5780
|
indicatorsContainer: $l,
|
|
5781
5781
|
indicatorSeparator: au,
|
|
5782
5782
|
input: Cu,
|
|
@@ -5811,8 +5811,8 @@ var Cs = function(t) {
|
|
|
5811
5811
|
neutral70: "hsl(0, 0%, 30%)",
|
|
5812
5812
|
neutral80: "hsl(0, 0%, 20%)",
|
|
5813
5813
|
neutral90: "hsl(0, 0%, 10%)"
|
|
5814
|
-
}, Ss = 4,
|
|
5815
|
-
baseUnit:
|
|
5814
|
+
}, Ss = 4, go = 4, Fs = 38, Gs = go * 2, Es = {
|
|
5815
|
+
baseUnit: go,
|
|
5816
5816
|
controlHeight: Fs,
|
|
5817
5817
|
menuGutter: Gs
|
|
5818
5818
|
}, Yt = {
|
|
@@ -5832,8 +5832,8 @@ var Cs = function(t) {
|
|
|
5832
5832
|
escapeClearsValue: !1,
|
|
5833
5833
|
filterOption: ns(),
|
|
5834
5834
|
formatGroupLabel: Cs,
|
|
5835
|
-
getOptionLabel:
|
|
5836
|
-
getOptionValue:
|
|
5835
|
+
getOptionLabel: so,
|
|
5836
|
+
getOptionValue: co,
|
|
5837
5837
|
isDisabled: !1,
|
|
5838
5838
|
isLoading: !1,
|
|
5839
5839
|
isMulti: !1,
|
|
@@ -5868,7 +5868,7 @@ var Cs = function(t) {
|
|
|
5868
5868
|
unstyled: !1
|
|
5869
5869
|
};
|
|
5870
5870
|
function qn(e, t, r, o) {
|
|
5871
|
-
var n = po(e, t, r), a =
|
|
5871
|
+
var n = po(e, t, r), a = fo(e, t, r), l = mo(e, t), s = Ct(e, t);
|
|
5872
5872
|
return {
|
|
5873
5873
|
type: "option",
|
|
5874
5874
|
data: t,
|
|
@@ -5898,7 +5898,7 @@ function st(e, t) {
|
|
|
5898
5898
|
return er(e, a) ? a : void 0;
|
|
5899
5899
|
}).filter(Gl);
|
|
5900
5900
|
}
|
|
5901
|
-
function
|
|
5901
|
+
function bo(e) {
|
|
5902
5902
|
return e.reduce(function(t, r) {
|
|
5903
5903
|
return r.type === "group" ? t.push.apply(t, De(r.options.map(function(o) {
|
|
5904
5904
|
return o.data;
|
|
@@ -5919,11 +5919,11 @@ function Kn(e, t) {
|
|
|
5919
5919
|
}, []);
|
|
5920
5920
|
}
|
|
5921
5921
|
function Rs(e, t) {
|
|
5922
|
-
return
|
|
5922
|
+
return bo(st(e, t));
|
|
5923
5923
|
}
|
|
5924
5924
|
function er(e, t) {
|
|
5925
5925
|
var r = e.inputValue, o = r === void 0 ? "" : r, n = t.data, a = t.isSelected, l = t.label, s = t.value;
|
|
5926
|
-
return (!
|
|
5926
|
+
return (!vo(e) || !a) && ho(e, {
|
|
5927
5927
|
label: l,
|
|
5928
5928
|
value: s,
|
|
5929
5929
|
data: n
|
|
@@ -5949,7 +5949,7 @@ var Jt = function(t, r) {
|
|
|
5949
5949
|
return a.data === r;
|
|
5950
5950
|
})) === null || o === void 0 ? void 0 : o.id;
|
|
5951
5951
|
return n || null;
|
|
5952
|
-
},
|
|
5952
|
+
}, mo = function(t, r) {
|
|
5953
5953
|
return t.getOptionLabel(r);
|
|
5954
5954
|
}, Ct = function(t, r) {
|
|
5955
5955
|
return t.getOptionValue(r);
|
|
@@ -5957,7 +5957,7 @@ var Jt = function(t, r) {
|
|
|
5957
5957
|
function po(e, t, r) {
|
|
5958
5958
|
return typeof e.isOptionDisabled == "function" ? e.isOptionDisabled(t, r) : !1;
|
|
5959
5959
|
}
|
|
5960
|
-
function
|
|
5960
|
+
function fo(e, t, r) {
|
|
5961
5961
|
if (r.indexOf(t) > -1) return !0;
|
|
5962
5962
|
if (typeof e.isOptionSelected == "function")
|
|
5963
5963
|
return e.isOptionSelected(t, r);
|
|
@@ -5966,10 +5966,10 @@ function ho(e, t, r) {
|
|
|
5966
5966
|
return Ct(e, n) === o;
|
|
5967
5967
|
});
|
|
5968
5968
|
}
|
|
5969
|
-
function
|
|
5969
|
+
function ho(e, t, r) {
|
|
5970
5970
|
return e.filterOption ? e.filterOption(t, r) : !0;
|
|
5971
5971
|
}
|
|
5972
|
-
var
|
|
5972
|
+
var vo = function(t) {
|
|
5973
5973
|
var r = t.hideSelectedOptions, o = t.isMulti;
|
|
5974
5974
|
return r === void 0 ? o : r;
|
|
5975
5975
|
}, Vs = 1, Bt = /* @__PURE__ */ (function(e) {
|
|
@@ -6001,14 +6001,14 @@ var Io = function(t) {
|
|
|
6001
6001
|
}, n.inputRef = null, n.getInputRef = function(i) {
|
|
6002
6002
|
n.inputRef = i;
|
|
6003
6003
|
}, n.focus = n.focusInput, n.blur = n.blurInput, n.onChange = function(i, c) {
|
|
6004
|
-
var d = n.props, g = d.onChange,
|
|
6005
|
-
c.name =
|
|
6004
|
+
var d = n.props, g = d.onChange, p = d.name;
|
|
6005
|
+
c.name = p, n.ariaOnChange(i, c), g(i, c);
|
|
6006
6006
|
}, n.setValue = function(i, c, d) {
|
|
6007
|
-
var g = n.props,
|
|
6007
|
+
var g = n.props, p = g.closeMenuOnSelect, m = g.isMulti, h = g.inputValue;
|
|
6008
6008
|
n.onInputChange("", {
|
|
6009
6009
|
action: "set-value",
|
|
6010
6010
|
prevInputValue: h
|
|
6011
|
-
}),
|
|
6011
|
+
}), p && (n.setState({
|
|
6012
6012
|
inputIsHiddenAfterUpdate: !m
|
|
6013
6013
|
}), n.onMenuClose()), n.setState({
|
|
6014
6014
|
clearFocusValueOnUpdate: !0
|
|
@@ -6017,27 +6017,27 @@ var Io = function(t) {
|
|
|
6017
6017
|
option: d
|
|
6018
6018
|
});
|
|
6019
6019
|
}, n.selectOption = function(i) {
|
|
6020
|
-
var c = n.props, d = c.blurInputOnSelect, g = c.isMulti,
|
|
6020
|
+
var c = n.props, d = c.blurInputOnSelect, g = c.isMulti, p = c.name, m = n.state.selectValue, h = g && n.isOptionSelected(i, m), f = n.isOptionDisabled(i, m);
|
|
6021
6021
|
if (h) {
|
|
6022
6022
|
var b = n.getOptionValue(i);
|
|
6023
6023
|
n.setValue(m.filter(function(v) {
|
|
6024
6024
|
return n.getOptionValue(v) !== b;
|
|
6025
6025
|
}), "deselect-option", i);
|
|
6026
|
-
} else if (!
|
|
6026
|
+
} else if (!f)
|
|
6027
6027
|
g ? n.setValue([].concat(De(m), [i]), "select-option", i) : n.setValue(i, "select-option");
|
|
6028
6028
|
else {
|
|
6029
6029
|
n.ariaOnChange(i, {
|
|
6030
6030
|
action: "select-option",
|
|
6031
6031
|
option: i,
|
|
6032
|
-
name:
|
|
6032
|
+
name: p
|
|
6033
6033
|
});
|
|
6034
6034
|
return;
|
|
6035
6035
|
}
|
|
6036
6036
|
d && n.blurInput();
|
|
6037
6037
|
}, n.removeValue = function(i) {
|
|
6038
|
-
var c = n.props.isMulti, d = n.state.selectValue, g = n.getOptionValue(i),
|
|
6038
|
+
var c = n.props.isMulti, d = n.state.selectValue, g = n.getOptionValue(i), p = d.filter(function(h) {
|
|
6039
6039
|
return n.getOptionValue(h) !== g;
|
|
6040
|
-
}), m = $e(c,
|
|
6040
|
+
}), m = $e(c, p, p[0] || null);
|
|
6041
6041
|
n.onChange(m, {
|
|
6042
6042
|
action: "remove-value",
|
|
6043
6043
|
removedValue: i
|
|
@@ -6049,8 +6049,8 @@ var Io = function(t) {
|
|
|
6049
6049
|
removedValues: i
|
|
6050
6050
|
});
|
|
6051
6051
|
}, n.popValue = function() {
|
|
6052
|
-
var i = n.props.isMulti, c = n.state.selectValue, d = c[c.length - 1], g = c.slice(0, c.length - 1),
|
|
6053
|
-
d && n.onChange(
|
|
6052
|
+
var i = n.props.isMulti, c = n.state.selectValue, d = c[c.length - 1], g = c.slice(0, c.length - 1), p = $e(i, g, g[0] || null);
|
|
6053
|
+
d && n.onChange(p, {
|
|
6054
6054
|
action: "pop-value",
|
|
6055
6055
|
removedValue: d
|
|
6056
6056
|
});
|
|
@@ -6065,14 +6065,14 @@ var Io = function(t) {
|
|
|
6065
6065
|
c[d] = arguments[d];
|
|
6066
6066
|
return hl.apply(void 0, [n.props.classNamePrefix].concat(c));
|
|
6067
6067
|
}, n.getOptionLabel = function(i) {
|
|
6068
|
-
return
|
|
6068
|
+
return mo(n.props, i);
|
|
6069
6069
|
}, n.getOptionValue = function(i) {
|
|
6070
6070
|
return Ct(n.props, i);
|
|
6071
6071
|
}, n.getStyles = function(i, c) {
|
|
6072
6072
|
var d = n.props.unstyled, g = ys[i](c, d);
|
|
6073
6073
|
g.boxSizing = "border-box";
|
|
6074
|
-
var
|
|
6075
|
-
return
|
|
6074
|
+
var p = n.props.styles[i];
|
|
6075
|
+
return p ? p(g, c) : g;
|
|
6076
6076
|
}, n.getClassNames = function(i, c) {
|
|
6077
6077
|
var d, g;
|
|
6078
6078
|
return (d = (g = n.props.classNames)[i]) === null || d === void 0 ? void 0 : d.call(g, c);
|
|
@@ -6085,7 +6085,7 @@ var Io = function(t) {
|
|
|
6085
6085
|
}, n.getCategorizedOptions = function() {
|
|
6086
6086
|
return n.props.menuIsOpen ? n.buildCategorizedOptions() : [];
|
|
6087
6087
|
}, n.buildFocusableOptions = function() {
|
|
6088
|
-
return
|
|
6088
|
+
return bo(n.buildCategorizedOptions());
|
|
6089
6089
|
}, n.getFocusableOptions = function() {
|
|
6090
6090
|
return n.props.menuIsOpen ? n.buildFocusableOptions() : [];
|
|
6091
6091
|
}, n.ariaOnChange = function(i, c) {
|
|
@@ -6126,8 +6126,8 @@ var Io = function(t) {
|
|
|
6126
6126
|
}, n.onTouchMove = function(i) {
|
|
6127
6127
|
var c = i.touches, d = c && c.item(0);
|
|
6128
6128
|
if (d) {
|
|
6129
|
-
var g = Math.abs(d.clientX - n.initialTouchX),
|
|
6130
|
-
n.userIsDragging = g > m ||
|
|
6129
|
+
var g = Math.abs(d.clientX - n.initialTouchX), p = Math.abs(d.clientY - n.initialTouchY), m = 5;
|
|
6130
|
+
n.userIsDragging = g > m || p > m;
|
|
6131
6131
|
}
|
|
6132
6132
|
}, n.onTouchEnd = function(i) {
|
|
6133
6133
|
n.userIsDragging || (n.controlRef && !n.controlRef.contains(i.target) && n.menuListRef && !n.menuListRef.contains(i.target) && n.blurInput(), n.initialTouchX = 0, n.initialTouchY = 0);
|
|
@@ -6172,12 +6172,12 @@ var Io = function(t) {
|
|
|
6172
6172
|
});
|
|
6173
6173
|
}
|
|
6174
6174
|
}, n.shouldHideSelectedOptions = function() {
|
|
6175
|
-
return
|
|
6175
|
+
return vo(n.props);
|
|
6176
6176
|
}, n.onValueInputFocus = function(i) {
|
|
6177
6177
|
i.preventDefault(), i.stopPropagation(), n.focus();
|
|
6178
6178
|
}, n.onKeyDown = function(i) {
|
|
6179
|
-
var c = n.props, d = c.isMulti, g = c.backspaceRemovesValue,
|
|
6180
|
-
if (!
|
|
6179
|
+
var c = n.props, d = c.isMulti, g = c.backspaceRemovesValue, p = c.escapeClearsValue, m = c.inputValue, h = c.isClearable, f = c.isDisabled, b = c.menuIsOpen, v = c.onKeyDown, C = c.tabSelectsValue, S = c.openMenuOnFocus, y = n.state, A = y.focusedOption, x = y.focusedValue, w = y.selectValue;
|
|
6180
|
+
if (!f && !(typeof v == "function" && (v(i), i.defaultPrevented))) {
|
|
6181
6181
|
switch (n.blockOptionHover = !0, i.key) {
|
|
6182
6182
|
case "ArrowLeft":
|
|
6183
6183
|
if (!d || m) return;
|
|
@@ -6219,7 +6219,7 @@ var Io = function(t) {
|
|
|
6219
6219
|
}), n.onInputChange("", {
|
|
6220
6220
|
action: "menu-close",
|
|
6221
6221
|
prevInputValue: m
|
|
6222
|
-
}), n.onMenuClose()) : h &&
|
|
6222
|
+
}), n.onMenuClose()) : h && p && n.clearValue();
|
|
6223
6223
|
break;
|
|
6224
6224
|
case " ":
|
|
6225
6225
|
if (m)
|
|
@@ -6393,15 +6393,15 @@ var Io = function(t) {
|
|
|
6393
6393
|
}, {
|
|
6394
6394
|
key: "getCommonProps",
|
|
6395
6395
|
value: function() {
|
|
6396
|
-
var n = this.clearValue, a = this.cx, l = this.getStyles, s = this.getClassNames, i = this.getValue, c = this.selectOption, d = this.setValue, g = this.props,
|
|
6396
|
+
var n = this.clearValue, a = this.cx, l = this.getStyles, s = this.getClassNames, i = this.getValue, c = this.selectOption, d = this.setValue, g = this.props, p = g.isMulti, m = g.isRtl, h = g.options, f = this.hasValue();
|
|
6397
6397
|
return {
|
|
6398
6398
|
clearValue: n,
|
|
6399
6399
|
cx: a,
|
|
6400
6400
|
getStyles: l,
|
|
6401
6401
|
getClassNames: s,
|
|
6402
6402
|
getValue: i,
|
|
6403
|
-
hasValue:
|
|
6404
|
-
isMulti:
|
|
6403
|
+
hasValue: f,
|
|
6404
|
+
isMulti: p,
|
|
6405
6405
|
isRtl: m,
|
|
6406
6406
|
options: h,
|
|
6407
6407
|
selectOption: c,
|
|
@@ -6435,12 +6435,12 @@ var Io = function(t) {
|
|
|
6435
6435
|
}, {
|
|
6436
6436
|
key: "isOptionSelected",
|
|
6437
6437
|
value: function(n, a) {
|
|
6438
|
-
return
|
|
6438
|
+
return fo(this.props, n, a);
|
|
6439
6439
|
}
|
|
6440
6440
|
}, {
|
|
6441
6441
|
key: "filterOption",
|
|
6442
6442
|
value: function(n, a) {
|
|
6443
|
-
return
|
|
6443
|
+
return ho(this.props, n, a);
|
|
6444
6444
|
}
|
|
6445
6445
|
}, {
|
|
6446
6446
|
key: "formatOptionLabel",
|
|
@@ -6500,7 +6500,7 @@ var Io = function(t) {
|
|
|
6500
6500
|
// Renderers
|
|
6501
6501
|
// ==============================
|
|
6502
6502
|
function() {
|
|
6503
|
-
var n = this.props, a = n.isDisabled, l = n.isSearchable, s = n.inputId, i = n.inputValue, c = n.tabIndex, d = n.form, g = n.menuIsOpen,
|
|
6503
|
+
var n = this.props, a = n.isDisabled, l = n.isSearchable, s = n.inputId, i = n.inputValue, c = n.tabIndex, d = n.form, g = n.menuIsOpen, p = n.required, m = this.getComponents(), h = m.Input, f = this.state, b = f.inputIsHidden, v = f.ariaSelection, C = this.commonProps, S = s || this.getElementId("input"), y = G(G(G({
|
|
6504
6504
|
"aria-autocomplete": "list",
|
|
6505
6505
|
"aria-expanded": g,
|
|
6506
6506
|
"aria-haspopup": !0,
|
|
@@ -6508,7 +6508,7 @@ var Io = function(t) {
|
|
|
6508
6508
|
"aria-invalid": this.props["aria-invalid"],
|
|
6509
6509
|
"aria-label": this.props["aria-label"],
|
|
6510
6510
|
"aria-labelledby": this.props["aria-labelledby"],
|
|
6511
|
-
"aria-required":
|
|
6511
|
+
"aria-required": p,
|
|
6512
6512
|
role: "combobox",
|
|
6513
6513
|
"aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
|
|
6514
6514
|
}, g && {
|
|
@@ -6553,11 +6553,11 @@ var Io = function(t) {
|
|
|
6553
6553
|
}, {
|
|
6554
6554
|
key: "renderPlaceholderOrValue",
|
|
6555
6555
|
value: function() {
|
|
6556
|
-
var n = this, a = this.getComponents(), l = a.MultiValue, s = a.MultiValueContainer, i = a.MultiValueLabel, c = a.MultiValueRemove, d = a.SingleValue, g = a.Placeholder,
|
|
6556
|
+
var n = this, a = this.getComponents(), l = a.MultiValue, s = a.MultiValueContainer, i = a.MultiValueLabel, c = a.MultiValueRemove, d = a.SingleValue, g = a.Placeholder, p = this.commonProps, m = this.props, h = m.controlShouldRenderValue, f = m.isDisabled, b = m.isMulti, v = m.inputValue, C = m.placeholder, S = this.state, y = S.selectValue, A = S.focusedValue, x = S.isFocused;
|
|
6557
6557
|
if (!this.hasValue() || !h)
|
|
6558
|
-
return v ? null : /* @__PURE__ */ D.createElement(g, R({},
|
|
6558
|
+
return v ? null : /* @__PURE__ */ D.createElement(g, R({}, p, {
|
|
6559
6559
|
key: "placeholder",
|
|
6560
|
-
isDisabled:
|
|
6560
|
+
isDisabled: f,
|
|
6561
6561
|
isFocused: x,
|
|
6562
6562
|
innerProps: {
|
|
6563
6563
|
id: this.getElementId("placeholder")
|
|
@@ -6566,14 +6566,14 @@ var Io = function(t) {
|
|
|
6566
6566
|
if (b)
|
|
6567
6567
|
return y.map(function(E, P) {
|
|
6568
6568
|
var V = E === A, L = "".concat(n.getOptionLabel(E), "-").concat(n.getOptionValue(E));
|
|
6569
|
-
return /* @__PURE__ */ D.createElement(l, R({},
|
|
6569
|
+
return /* @__PURE__ */ D.createElement(l, R({}, p, {
|
|
6570
6570
|
components: {
|
|
6571
6571
|
Container: s,
|
|
6572
6572
|
Label: i,
|
|
6573
6573
|
Remove: c
|
|
6574
6574
|
},
|
|
6575
6575
|
isFocused: V,
|
|
6576
|
-
isDisabled:
|
|
6576
|
+
isDisabled: f,
|
|
6577
6577
|
key: L,
|
|
6578
6578
|
index: P,
|
|
6579
6579
|
removeProps: {
|
|
@@ -6593,9 +6593,9 @@ var Io = function(t) {
|
|
|
6593
6593
|
if (v)
|
|
6594
6594
|
return null;
|
|
6595
6595
|
var w = y[0];
|
|
6596
|
-
return /* @__PURE__ */ D.createElement(d, R({},
|
|
6596
|
+
return /* @__PURE__ */ D.createElement(d, R({}, p, {
|
|
6597
6597
|
data: w,
|
|
6598
|
-
isDisabled:
|
|
6598
|
+
isDisabled: f
|
|
6599
6599
|
}), this.formatOptionLabel(w, "value"));
|
|
6600
6600
|
}
|
|
6601
6601
|
}, {
|
|
@@ -6658,10 +6658,10 @@ var Io = function(t) {
|
|
|
6658
6658
|
}, {
|
|
6659
6659
|
key: "renderMenu",
|
|
6660
6660
|
value: function() {
|
|
6661
|
-
var n = this, a = this.getComponents(), l = a.Group, s = a.GroupHeading, i = a.Menu, c = a.MenuList, d = a.MenuPortal, g = a.LoadingMessage,
|
|
6661
|
+
var n = this, a = this.getComponents(), l = a.Group, s = a.GroupHeading, i = a.Menu, c = a.MenuList, d = a.MenuPortal, g = a.LoadingMessage, p = a.NoOptionsMessage, m = a.Option, h = this.commonProps, f = this.state.focusedOption, b = this.props, v = b.captureMenuScroll, C = b.inputValue, S = b.isLoading, y = b.loadingMessage, A = b.minMenuHeight, x = b.maxMenuHeight, w = b.menuIsOpen, E = b.menuPlacement, P = b.menuPosition, V = b.menuPortalTarget, L = b.menuShouldBlockScroll, j = b.menuShouldScrollIntoView, H = b.noOptionsMessage, ee = b.onMenuScrollToTop, k = b.onMenuScrollToBottom;
|
|
6662
6662
|
if (!w) return null;
|
|
6663
6663
|
var Z = function(T, O) {
|
|
6664
|
-
var Q = T.type, te = T.data, W = T.isDisabled, q = T.isSelected, he = T.label, He = T.value, Ke =
|
|
6664
|
+
var Q = T.type, te = T.data, W = T.isDisabled, q = T.isSelected, he = T.label, He = T.value, Ke = f === te, Le = W ? void 0 : function() {
|
|
6665
6665
|
return n.onOptionHover(te);
|
|
6666
6666
|
}, Rt = W ? void 0 : function() {
|
|
6667
6667
|
return n.selectOption(te);
|
|
@@ -6719,7 +6719,7 @@ var Io = function(t) {
|
|
|
6719
6719
|
inputValue: C
|
|
6720
6720
|
});
|
|
6721
6721
|
if (ue === null) return null;
|
|
6722
|
-
re = /* @__PURE__ */ D.createElement(
|
|
6722
|
+
re = /* @__PURE__ */ D.createElement(p, h, ue);
|
|
6723
6723
|
}
|
|
6724
6724
|
var ie = {
|
|
6725
6725
|
minMenuHeight: A,
|
|
@@ -6754,7 +6754,7 @@ var Io = function(t) {
|
|
|
6754
6754
|
},
|
|
6755
6755
|
isLoading: S,
|
|
6756
6756
|
maxHeight: te,
|
|
6757
|
-
focusedOption:
|
|
6757
|
+
focusedOption: f
|
|
6758
6758
|
}), re);
|
|
6759
6759
|
}));
|
|
6760
6760
|
});
|
|
@@ -6770,28 +6770,28 @@ var Io = function(t) {
|
|
|
6770
6770
|
value: function() {
|
|
6771
6771
|
var n = this, a = this.props, l = a.delimiter, s = a.isDisabled, i = a.isMulti, c = a.name, d = a.required, g = this.state.selectValue;
|
|
6772
6772
|
if (d && !this.hasValue() && !s)
|
|
6773
|
-
return /* @__PURE__ */ D.createElement(
|
|
6773
|
+
return /* @__PURE__ */ D.createElement(ps, {
|
|
6774
6774
|
name: c,
|
|
6775
6775
|
onFocus: this.onValueInputFocus
|
|
6776
6776
|
});
|
|
6777
6777
|
if (!(!c || s))
|
|
6778
6778
|
if (i)
|
|
6779
6779
|
if (l) {
|
|
6780
|
-
var
|
|
6781
|
-
return n.getOptionValue(
|
|
6780
|
+
var p = g.map(function(f) {
|
|
6781
|
+
return n.getOptionValue(f);
|
|
6782
6782
|
}).join(l);
|
|
6783
6783
|
return /* @__PURE__ */ D.createElement("input", {
|
|
6784
6784
|
name: c,
|
|
6785
6785
|
type: "hidden",
|
|
6786
|
-
value:
|
|
6786
|
+
value: p
|
|
6787
6787
|
});
|
|
6788
6788
|
} else {
|
|
6789
|
-
var m = g.length > 0 ? g.map(function(
|
|
6789
|
+
var m = g.length > 0 ? g.map(function(f, b) {
|
|
6790
6790
|
return /* @__PURE__ */ D.createElement("input", {
|
|
6791
6791
|
key: "i-".concat(b),
|
|
6792
6792
|
name: c,
|
|
6793
6793
|
type: "hidden",
|
|
6794
|
-
value: n.getOptionValue(
|
|
6794
|
+
value: n.getOptionValue(f)
|
|
6795
6795
|
});
|
|
6796
6796
|
}) : /* @__PURE__ */ D.createElement("input", {
|
|
6797
6797
|
name: c,
|
|
@@ -6827,36 +6827,36 @@ var Io = function(t) {
|
|
|
6827
6827
|
}, {
|
|
6828
6828
|
key: "render",
|
|
6829
6829
|
value: function() {
|
|
6830
|
-
var n = this.getComponents(), a = n.Control, l = n.IndicatorsContainer, s = n.SelectContainer, i = n.ValueContainer, c = this.props, d = c.className, g = c.id,
|
|
6831
|
-
return /* @__PURE__ */ D.createElement(s, R({},
|
|
6830
|
+
var n = this.getComponents(), a = n.Control, l = n.IndicatorsContainer, s = n.SelectContainer, i = n.ValueContainer, c = this.props, d = c.className, g = c.id, p = c.isDisabled, m = c.menuIsOpen, h = this.state.isFocused, f = this.commonProps = this.getCommonProps();
|
|
6831
|
+
return /* @__PURE__ */ D.createElement(s, R({}, f, {
|
|
6832
6832
|
className: d,
|
|
6833
6833
|
innerProps: {
|
|
6834
6834
|
id: g,
|
|
6835
6835
|
onKeyDown: this.onKeyDown
|
|
6836
6836
|
},
|
|
6837
|
-
isDisabled:
|
|
6837
|
+
isDisabled: p,
|
|
6838
6838
|
isFocused: h
|
|
6839
|
-
}), this.renderLiveRegion(), /* @__PURE__ */ D.createElement(a, R({},
|
|
6839
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ D.createElement(a, R({}, f, {
|
|
6840
6840
|
innerRef: this.getControlRef,
|
|
6841
6841
|
innerProps: {
|
|
6842
6842
|
onMouseDown: this.onControlMouseDown,
|
|
6843
6843
|
onTouchEnd: this.onControlTouchEnd
|
|
6844
6844
|
},
|
|
6845
|
-
isDisabled:
|
|
6845
|
+
isDisabled: p,
|
|
6846
6846
|
isFocused: h,
|
|
6847
6847
|
menuIsOpen: m
|
|
6848
|
-
}), /* @__PURE__ */ D.createElement(i, R({},
|
|
6849
|
-
isDisabled:
|
|
6850
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ D.createElement(l, R({},
|
|
6851
|
-
isDisabled:
|
|
6848
|
+
}), /* @__PURE__ */ D.createElement(i, R({}, f, {
|
|
6849
|
+
isDisabled: p
|
|
6850
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ D.createElement(l, R({}, f, {
|
|
6851
|
+
isDisabled: p
|
|
6852
6852
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
6853
6853
|
}
|
|
6854
6854
|
}], [{
|
|
6855
6855
|
key: "getDerivedStateFromProps",
|
|
6856
6856
|
value: function(n, a) {
|
|
6857
|
-
var l = a.prevProps, s = a.clearFocusValueOnUpdate, i = a.inputIsHiddenAfterUpdate, c = a.ariaSelection, d = a.isFocused, g = a.prevWasFocused,
|
|
6858
|
-
if (l && (h !== l.value || m !== l.options ||
|
|
6859
|
-
var y =
|
|
6857
|
+
var l = a.prevProps, s = a.clearFocusValueOnUpdate, i = a.inputIsHiddenAfterUpdate, c = a.ariaSelection, d = a.isFocused, g = a.prevWasFocused, p = a.instancePrefix, m = n.options, h = n.value, f = n.menuIsOpen, b = n.inputValue, v = n.isMulti, C = vt(h), S = {};
|
|
6858
|
+
if (l && (h !== l.value || m !== l.options || f !== l.menuIsOpen || b !== l.inputValue)) {
|
|
6859
|
+
var y = f ? Rs(n, C) : [], A = f ? Kn(st(n, C), "".concat(p, "-option")) : [], x = s ? ws(a, C) : null, w = Ms(a, y), E = Jt(A, w);
|
|
6860
6860
|
S = {
|
|
6861
6861
|
selectValue: C,
|
|
6862
6862
|
focusedOption: w,
|
|
@@ -6881,18 +6881,18 @@ var Io = function(t) {
|
|
|
6881
6881
|
});
|
|
6882
6882
|
}
|
|
6883
6883
|
}]), r;
|
|
6884
|
-
})(
|
|
6884
|
+
})(Ro);
|
|
6885
6885
|
Bt.defaultProps = Bs;
|
|
6886
6886
|
var Ps = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
6887
6887
|
function vn(e) {
|
|
6888
|
-
var t = e.defaultInputValue, r = t === void 0 ? "" : t, o = e.defaultMenuIsOpen, n = o === void 0 ? !1 : o, a = e.defaultValue, l = a === void 0 ? null : a, s = e.inputValue, i = e.menuIsOpen, c = e.onChange, d = e.onInputChange, g = e.onMenuClose,
|
|
6888
|
+
var t = e.defaultInputValue, r = t === void 0 ? "" : t, o = e.defaultMenuIsOpen, n = o === void 0 ? !1 : o, a = e.defaultValue, l = a === void 0 ? null : a, s = e.inputValue, i = e.menuIsOpen, c = e.onChange, d = e.onInputChange, g = e.onMenuClose, p = e.onMenuOpen, m = e.value, h = fe(e, Ps), f = X(s !== void 0 ? s : r), b = ne(f, 2), v = b[0], C = b[1], S = X(i !== void 0 ? i : n), y = ne(S, 2), A = y[0], x = y[1], w = X(m !== void 0 ? m : l), E = ne(w, 2), P = E[0], V = E[1], L = z(function(U, ue) {
|
|
6889
6889
|
typeof c == "function" && c(U, ue), V(U);
|
|
6890
6890
|
}, [c]), j = z(function(U, ue) {
|
|
6891
6891
|
var ie;
|
|
6892
6892
|
typeof d == "function" && (ie = d(U, ue)), C(ie !== void 0 ? ie : U);
|
|
6893
6893
|
}, [d]), H = z(function() {
|
|
6894
|
-
typeof
|
|
6895
|
-
}, [
|
|
6894
|
+
typeof p == "function" && p(), x(!0);
|
|
6895
|
+
}, [p]), ee = z(function() {
|
|
6896
6896
|
typeof g == "function" && g(), x(!1);
|
|
6897
6897
|
}, [g]), k = s !== void 0 ? s : v, Z = i !== void 0 ? i : A, re = m !== void 0 ? m : P;
|
|
6898
6898
|
return G(G({}, h), {}, {
|
|
@@ -6906,10 +6906,10 @@ function vn(e) {
|
|
|
6906
6906
|
});
|
|
6907
6907
|
}
|
|
6908
6908
|
var Ts = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
6909
|
-
function
|
|
6909
|
+
function Io(e) {
|
|
6910
6910
|
var t = e.defaultOptions, r = t === void 0 ? !1 : t, o = e.cacheOptions, n = o === void 0 ? !1 : o, a = e.loadOptions;
|
|
6911
6911
|
e.options;
|
|
6912
|
-
var l = e.isLoading, s = l === void 0 ? !1 : l, i = e.onInputChange, c = e.filterOption, d = c === void 0 ? null : c, g =
|
|
6912
|
+
var l = e.isLoading, s = l === void 0 ? !1 : l, i = e.onInputChange, c = e.filterOption, d = c === void 0 ? null : c, g = fe(e, Ts), p = g.inputValue, m = $(void 0), h = $(!1), f = X(Array.isArray(r) ? r : void 0), b = ne(f, 2), v = b[0], C = b[1], S = X(typeof p < "u" ? p : ""), y = ne(S, 2), A = y[0], x = y[1], w = X(r === !0), E = ne(w, 2), P = E[0], V = E[1], L = X(void 0), j = ne(L, 2), H = j[0], ee = j[1], k = X([]), Z = ne(k, 2), re = Z[0], U = Z[1], ue = X(!1), ie = ne(ue, 2), I = ie[0], F = ie[1], T = X({}), O = ne(T, 2), Q = O[0], te = O[1], W = X(void 0), q = ne(W, 2), he = q[0], He = q[1], Ke = X(void 0), Le = ne(Ke, 2), Rt = Le[0], et = Le[1];
|
|
6913
6913
|
n !== Rt && (te({}), et(n)), r !== he && (C(Array.isArray(r) ? r : void 0), He(r)), le(function() {
|
|
6914
6914
|
return h.current = !0, function() {
|
|
6915
6915
|
h.current = !1;
|
|
@@ -6927,7 +6927,7 @@ function Co(e) {
|
|
|
6927
6927
|
h.current && (C(Ze || []), V(!!m.current));
|
|
6928
6928
|
});
|
|
6929
6929
|
}, []);
|
|
6930
|
-
var
|
|
6930
|
+
var Fo = z(function(Ze, Re) {
|
|
6931
6931
|
var se = vl(Ze, Re, i);
|
|
6932
6932
|
if (!se) {
|
|
6933
6933
|
m.current = void 0, x(""), ee(""), U([]), V(!1), F(!1);
|
|
@@ -6936,21 +6936,21 @@ function Co(e) {
|
|
|
6936
6936
|
if (n && Q[se])
|
|
6937
6937
|
x(se), ee(se), U(Q[se]), V(!1), F(!1);
|
|
6938
6938
|
else {
|
|
6939
|
-
var
|
|
6939
|
+
var Eo = m.current = {};
|
|
6940
6940
|
x(se), V(!0), F(!H), ke(se, function(wt) {
|
|
6941
|
-
h &&
|
|
6941
|
+
h && Eo === m.current && (m.current = void 0, V(!1), ee(se), U(wt || []), F(!1), te(wt ? G(G({}, Q), {}, Pe({}, se, wt)) : Q));
|
|
6942
6942
|
});
|
|
6943
6943
|
}
|
|
6944
|
-
}, [n, ke, H, Q, i]),
|
|
6944
|
+
}, [n, ke, H, Q, i]), Go = I ? [] : A && H ? re : v || [];
|
|
6945
6945
|
return G(G({}, g), {}, {
|
|
6946
|
-
options:
|
|
6946
|
+
options: Go,
|
|
6947
6947
|
isLoading: P || s,
|
|
6948
|
-
onInputChange:
|
|
6948
|
+
onInputChange: Fo,
|
|
6949
6949
|
filterOption: d
|
|
6950
6950
|
});
|
|
6951
6951
|
}
|
|
6952
6952
|
var Ds = /* @__PURE__ */ ge(function(e, t) {
|
|
6953
|
-
var r =
|
|
6953
|
+
var r = Io(e), o = vn(r);
|
|
6954
6954
|
return /* @__PURE__ */ D.createElement(Bt, R({
|
|
6955
6955
|
ref: t
|
|
6956
6956
|
}, o));
|
|
@@ -6976,8 +6976,8 @@ var Ds = /* @__PURE__ */ ge(function(e, t) {
|
|
|
6976
6976
|
};
|
|
6977
6977
|
}
|
|
6978
6978
|
};
|
|
6979
|
-
function
|
|
6980
|
-
var t = e.allowCreateWhileLoading, r = t === void 0 ? !1 : t, o = e.createOptionPosition, n = o === void 0 ? "last" : o, a = e.formatCreateLabel, l = a === void 0 ? _t.formatCreateLabel : a, s = e.isValidNewOption, i = s === void 0 ? _t.isValidNewOption : s, c = e.getNewOptionData, d = c === void 0 ? _t.getNewOptionData : c, g = e.onCreateOption,
|
|
6979
|
+
function Co(e) {
|
|
6980
|
+
var t = e.allowCreateWhileLoading, r = t === void 0 ? !1 : t, o = e.createOptionPosition, n = o === void 0 ? "last" : o, a = e.formatCreateLabel, l = a === void 0 ? _t.formatCreateLabel : a, s = e.isValidNewOption, i = s === void 0 ? _t.isValidNewOption : s, c = e.getNewOptionData, d = c === void 0 ? _t.getNewOptionData : c, g = e.onCreateOption, p = e.options, m = p === void 0 ? [] : p, h = e.onChange, f = fe(e, Os), b = f.getOptionValue, v = b === void 0 ? co : b, C = f.getOptionLabel, S = C === void 0 ? so : C, y = f.inputValue, A = f.isLoading, x = f.isMulti, w = f.value, E = f.name, P = _(function() {
|
|
6981
6981
|
return i(y, vt(w), m, {
|
|
6982
6982
|
getOptionValue: v,
|
|
6983
6983
|
getOptionLabel: S
|
|
@@ -7002,23 +7002,23 @@ function xo(e) {
|
|
|
7002
7002
|
}
|
|
7003
7003
|
h(j, H);
|
|
7004
7004
|
}, [d, y, x, E, P, g, h, w]);
|
|
7005
|
-
return G(G({},
|
|
7005
|
+
return G(G({}, f), {}, {
|
|
7006
7006
|
options: V,
|
|
7007
7007
|
onChange: L
|
|
7008
7008
|
});
|
|
7009
7009
|
}
|
|
7010
7010
|
var Ns = /* @__PURE__ */ ge(function(e, t) {
|
|
7011
|
-
var r =
|
|
7011
|
+
var r = Io(e), o = vn(r), n = Co(o);
|
|
7012
7012
|
return /* @__PURE__ */ D.createElement(Bt, R({
|
|
7013
7013
|
ref: t
|
|
7014
7014
|
}, n));
|
|
7015
7015
|
}), Ws = Ns, Xs = /* @__PURE__ */ ge(function(e, t) {
|
|
7016
|
-
var r = vn(e), o =
|
|
7016
|
+
var r = vn(e), o = Co(r);
|
|
7017
7017
|
return /* @__PURE__ */ D.createElement(Bt, R({
|
|
7018
7018
|
ref: t
|
|
7019
7019
|
}, o));
|
|
7020
7020
|
}), Hs = Xs;
|
|
7021
|
-
const
|
|
7021
|
+
const xo = (e) => {
|
|
7022
7022
|
const [t] = $t("colors", ["fg.muted"]), [r] = $t("colors", ["fg"]);
|
|
7023
7023
|
return _(
|
|
7024
7024
|
() => ({
|
|
@@ -7038,7 +7038,7 @@ const yo = (e) => {
|
|
|
7038
7038
|
}),
|
|
7039
7039
|
[e, r, t]
|
|
7040
7040
|
);
|
|
7041
|
-
},
|
|
7041
|
+
}, yo = (e, t) => e && t ? Ws : e ? js : t ? Hs : na, Ao = (e) => {
|
|
7042
7042
|
const t = e.selectProps?.customNoOptionsMessage || "No options available";
|
|
7043
7043
|
return /* @__PURE__ */ u.jsx(ra.NoOptionsMessage, { ...e, children: /* @__PURE__ */ u.jsx("span", { children: t }) });
|
|
7044
7044
|
}, Ls = ge(
|
|
@@ -7055,12 +7055,12 @@ const yo = (e) => {
|
|
|
7055
7055
|
invalid: c = !1,
|
|
7056
7056
|
disabled: d = !1,
|
|
7057
7057
|
noOptionsMessage: g = "No options available",
|
|
7058
|
-
...
|
|
7058
|
+
...p
|
|
7059
7059
|
}, m) => {
|
|
7060
|
-
const h =
|
|
7060
|
+
const h = yo(t, r), f = Wr(
|
|
7061
7061
|
n,
|
|
7062
7062
|
a
|
|
7063
|
-
), b =
|
|
7063
|
+
), b = xo(p.styles), v = {
|
|
7064
7064
|
ref: m,
|
|
7065
7065
|
placeholder: o,
|
|
7066
7066
|
closeMenuOnSelect: !0,
|
|
@@ -7072,25 +7072,25 @@ const yo = (e) => {
|
|
|
7072
7072
|
name: i,
|
|
7073
7073
|
disabled: d,
|
|
7074
7074
|
customNoOptionsMessage: g,
|
|
7075
|
-
...
|
|
7075
|
+
...p,
|
|
7076
7076
|
styles: b,
|
|
7077
7077
|
components: {
|
|
7078
|
-
NoOptionsMessage:
|
|
7079
|
-
...
|
|
7078
|
+
NoOptionsMessage: Ao,
|
|
7079
|
+
...p.components
|
|
7080
7080
|
}
|
|
7081
7081
|
};
|
|
7082
7082
|
return t && !n ? (console.warn("[Select] isAsync is true but loadOptions is not provided"), null) : t ? /* @__PURE__ */ u.jsx(
|
|
7083
7083
|
h,
|
|
7084
7084
|
{
|
|
7085
|
-
loadOptions:
|
|
7086
|
-
isDisabled: d ||
|
|
7085
|
+
loadOptions: f,
|
|
7086
|
+
isDisabled: d || p?.isDisabled,
|
|
7087
7087
|
...v
|
|
7088
7088
|
}
|
|
7089
7089
|
) : /* @__PURE__ */ u.jsx(
|
|
7090
7090
|
h,
|
|
7091
7091
|
{
|
|
7092
7092
|
options: e,
|
|
7093
|
-
isDisabled: d ||
|
|
7093
|
+
isDisabled: d || p?.isDisabled,
|
|
7094
7094
|
...v
|
|
7095
7095
|
}
|
|
7096
7096
|
);
|
|
@@ -7109,12 +7109,12 @@ const yo = (e) => {
|
|
|
7109
7109
|
invalid: c = !1,
|
|
7110
7110
|
disabled: d = !1,
|
|
7111
7111
|
noOptionsMessage: g = "No options available",
|
|
7112
|
-
...
|
|
7112
|
+
...p
|
|
7113
7113
|
}, m) => {
|
|
7114
|
-
const h =
|
|
7114
|
+
const h = yo(t, r), f = Wr(
|
|
7115
7115
|
n,
|
|
7116
7116
|
a
|
|
7117
|
-
), b =
|
|
7117
|
+
), b = xo(p.styles), v = {
|
|
7118
7118
|
ref: m,
|
|
7119
7119
|
placeholder: o,
|
|
7120
7120
|
closeMenuOnSelect: !1,
|
|
@@ -7126,25 +7126,25 @@ const yo = (e) => {
|
|
|
7126
7126
|
name: i,
|
|
7127
7127
|
disabled: d,
|
|
7128
7128
|
customNoOptionsMessage: g,
|
|
7129
|
-
...
|
|
7129
|
+
...p,
|
|
7130
7130
|
styles: b,
|
|
7131
7131
|
components: {
|
|
7132
|
-
NoOptionsMessage:
|
|
7133
|
-
...
|
|
7132
|
+
NoOptionsMessage: Ao,
|
|
7133
|
+
...p.components
|
|
7134
7134
|
}
|
|
7135
7135
|
};
|
|
7136
7136
|
return t && !n ? (console.warn("[Select] isAsync is true but loadOptions is not provided"), null) : t ? /* @__PURE__ */ u.jsx(
|
|
7137
7137
|
h,
|
|
7138
7138
|
{
|
|
7139
|
-
loadOptions:
|
|
7140
|
-
isDisabled: d ||
|
|
7139
|
+
loadOptions: f,
|
|
7140
|
+
isDisabled: d || p?.isDisabled,
|
|
7141
7141
|
...v
|
|
7142
7142
|
}
|
|
7143
7143
|
) : /* @__PURE__ */ u.jsx(
|
|
7144
7144
|
h,
|
|
7145
7145
|
{
|
|
7146
7146
|
options: e,
|
|
7147
|
-
isDisabled: d ||
|
|
7147
|
+
isDisabled: d || p?.isDisabled,
|
|
7148
7148
|
...v
|
|
7149
7149
|
}
|
|
7150
7150
|
);
|
|
@@ -7157,9 +7157,9 @@ const zs = {
|
|
|
7157
7157
|
boxShadow: "xs",
|
|
7158
7158
|
zIndex: "sidebar",
|
|
7159
7159
|
transitionDuration: "slow"
|
|
7160
|
-
},
|
|
7160
|
+
}, So = We(null);
|
|
7161
7161
|
function In() {
|
|
7162
|
-
const e = Ee(
|
|
7162
|
+
const e = Ee(So);
|
|
7163
7163
|
if (!e)
|
|
7164
7164
|
throw new Error("Sidebar components must be used within Sidebar.Root");
|
|
7165
7165
|
if (e.displayDrawer === void 0)
|
|
@@ -7177,21 +7177,21 @@ const de = ({
|
|
|
7177
7177
|
...a
|
|
7178
7178
|
}) => {
|
|
7179
7179
|
const l = { ...zs, ...n }, { displayDrawer: s = !1 } = In(), { header: i, body: c, footer: d } = _(() => {
|
|
7180
|
-
const
|
|
7180
|
+
const p = wo.toArray(o);
|
|
7181
7181
|
return {
|
|
7182
|
-
header:
|
|
7182
|
+
header: p.find(
|
|
7183
7183
|
(m) => Mt(m) && m.type === de.Header
|
|
7184
7184
|
),
|
|
7185
|
-
body:
|
|
7185
|
+
body: p.find(
|
|
7186
7186
|
(m) => Mt(m) && m.type === de.Body
|
|
7187
7187
|
),
|
|
7188
|
-
footer:
|
|
7188
|
+
footer: p.find(
|
|
7189
7189
|
(m) => Mt(m) && m.type === de.Footer
|
|
7190
7190
|
)
|
|
7191
7191
|
};
|
|
7192
7192
|
}, [o]), g = z(
|
|
7193
|
-
(
|
|
7194
|
-
t(
|
|
7193
|
+
(p) => {
|
|
7194
|
+
t(p.open);
|
|
7195
7195
|
},
|
|
7196
7196
|
[t]
|
|
7197
7197
|
);
|
|
@@ -7285,7 +7285,7 @@ const de = ({
|
|
|
7285
7285
|
displayDrawer: o,
|
|
7286
7286
|
...n
|
|
7287
7287
|
}) => /* @__PURE__ */ u.jsx(
|
|
7288
|
-
|
|
7288
|
+
So.Provider,
|
|
7289
7289
|
{
|
|
7290
7290
|
value: { pathname: e, displayDrawer: o, navItemsAs: t, navItemsProps: r },
|
|
7291
7291
|
children: /* @__PURE__ */ u.jsx(de, { ...n })
|
|
@@ -7302,11 +7302,11 @@ de.NavItem = xt(function(t) {
|
|
|
7302
7302
|
disabled: i = !1,
|
|
7303
7303
|
link: c,
|
|
7304
7304
|
...d
|
|
7305
|
-
} = t, { pathname: g, navItemsAs:
|
|
7305
|
+
} = t, { pathname: g, navItemsAs: p, navItemsProps: m } = In(), h = c === g;
|
|
7306
7306
|
return /* @__PURE__ */ u.jsx(M, { as: "li", children: /* @__PURE__ */ u.jsxs(
|
|
7307
7307
|
je,
|
|
7308
7308
|
{
|
|
7309
|
-
as:
|
|
7309
|
+
as: p || "a",
|
|
7310
7310
|
...m?.(t),
|
|
7311
7311
|
role: "menuitem",
|
|
7312
7312
|
"aria-current": h ? "page" : void 0,
|
|
@@ -7317,7 +7317,7 @@ de.NavItem = xt(function(t) {
|
|
|
7317
7317
|
my: 1,
|
|
7318
7318
|
borderRadius: "md",
|
|
7319
7319
|
bg: h ? "sidebar.bgItemActive" : "transparent",
|
|
7320
|
-
color: i ? "sidebar.fgSubtle" : "sidebar.fg",
|
|
7320
|
+
color: i ? "sidebar.fgSubtle" : h ? "sidebar.fgActive" : "sidebar.fg",
|
|
7321
7321
|
cursor: i ? "not-allowed" : "pointer",
|
|
7322
7322
|
opacity: i ? 0.6 : 1,
|
|
7323
7323
|
_hover: i ? {} : {
|
|
@@ -7369,8 +7369,7 @@ de.NavSection = xt(function({
|
|
|
7369
7369
|
o && /* @__PURE__ */ u.jsx(M, { as: o, boxSize: 4 }),
|
|
7370
7370
|
/* @__PURE__ */ u.jsx(ae, { fontSize: "xs", color: "sidebar.fgSubtle", fontWeight: "bold", children: t })
|
|
7371
7371
|
] }),
|
|
7372
|
-
/* @__PURE__ */ u.jsx(M, { as: "ul", role: "menu", children: n.map((a, l) => /* @__PURE__ */ u.jsx(de.NavItem, { ...a }, `${a.label}-${l}`)) })
|
|
7373
|
-
/* @__PURE__ */ u.jsx(rr, { my: 2, borderColor: "sidebar.border" })
|
|
7372
|
+
/* @__PURE__ */ u.jsx(M, { as: "ul", role: "menu", children: n.map((a, l) => /* @__PURE__ */ u.jsx(de.NavItem, { ...a }, `${a.label}-${l}`)) })
|
|
7374
7373
|
] });
|
|
7375
7374
|
});
|
|
7376
7375
|
de.Body = xt(function({ navSections: t }) {
|
|
@@ -7422,14 +7421,14 @@ const Rc = D.forwardRef(
|
|
|
7422
7421
|
portalRef: c,
|
|
7423
7422
|
openDelay: d = 500,
|
|
7424
7423
|
closeDelay: g = 200,
|
|
7425
|
-
...
|
|
7424
|
+
...p
|
|
7426
7425
|
} = t;
|
|
7427
7426
|
return a || !s ? n : /* @__PURE__ */ u.jsxs(
|
|
7428
7427
|
we.Root,
|
|
7429
7428
|
{
|
|
7430
7429
|
openDelay: d,
|
|
7431
7430
|
closeDelay: g,
|
|
7432
|
-
...
|
|
7431
|
+
...p,
|
|
7433
7432
|
children: [
|
|
7434
7433
|
/* @__PURE__ */ u.jsx(we.Trigger, { asChild: !0, children: n }),
|
|
7435
7434
|
/* @__PURE__ */ u.jsx(Xe, { disabled: !l, container: c, children: /* @__PURE__ */ u.jsx(we.Positioner, { children: /* @__PURE__ */ u.jsxs(we.Content, { ref: r, ...i, children: [
|
|
@@ -7485,7 +7484,7 @@ const Vc = be.forwardRef(function(t, r) {
|
|
|
7485
7484
|
}), Pc = be.forwardRef(
|
|
7486
7485
|
function(t, r) {
|
|
7487
7486
|
return /* @__PURE__ */ u.jsx(
|
|
7488
|
-
|
|
7487
|
+
ur,
|
|
7489
7488
|
{
|
|
7490
7489
|
color: "fg",
|
|
7491
7490
|
display: "contents",
|
|
@@ -7500,7 +7499,7 @@ const Vc = be.forwardRef(function(t, r) {
|
|
|
7500
7499
|
), Tc = be.forwardRef(
|
|
7501
7500
|
function(t, r) {
|
|
7502
7501
|
return /* @__PURE__ */ u.jsx(
|
|
7503
|
-
|
|
7502
|
+
ur,
|
|
7504
7503
|
{
|
|
7505
7504
|
color: "fg",
|
|
7506
7505
|
display: "contents",
|
|
@@ -7526,7 +7525,7 @@ const Vc = be.forwardRef(function(t, r) {
|
|
|
7526
7525
|
borderColor: "border",
|
|
7527
7526
|
children: [
|
|
7528
7527
|
e.type === "loading" ? /* @__PURE__ */ u.jsx(At, { size: "sm", color: "info.fg" }) : /* @__PURE__ */ u.jsx(Me.Indicator, {}),
|
|
7529
|
-
/* @__PURE__ */ u.jsxs(
|
|
7528
|
+
/* @__PURE__ */ u.jsxs(ar, { gap: "1", flex: "1", maxWidth: "100%", children: [
|
|
7530
7529
|
e.title && /* @__PURE__ */ u.jsx(Me.Title, { children: e.title }),
|
|
7531
7530
|
e.description && /* @__PURE__ */ u.jsx(Me.Description, { children: e.description })
|
|
7532
7531
|
] }),
|
|
@@ -7625,6 +7624,23 @@ const Vc = be.forwardRef(function(t, r) {
|
|
|
7625
7624
|
lg: { h: "10", minW: "10", px: "4" },
|
|
7626
7625
|
xl: { h: "11", minW: "11", px: "4.5" },
|
|
7627
7626
|
"2xl": { h: "14", minW: "14", px: "6" }
|
|
7627
|
+
},
|
|
7628
|
+
/**
|
|
7629
|
+
* `white` — an outline-style button with a white foreground, meant to sit
|
|
7630
|
+
* on a dark or coloured surface (e.g. the blue auth/onboarding layouts).
|
|
7631
|
+
* It stays white in both light and dark mode (the surface it lives on is
|
|
7632
|
+
* the same in both), so it intentionally does not flip with the color mode.
|
|
7633
|
+
*/
|
|
7634
|
+
variant: {
|
|
7635
|
+
white: {
|
|
7636
|
+
color: "white",
|
|
7637
|
+
bg: "transparent",
|
|
7638
|
+
borderWidth: "1px",
|
|
7639
|
+
borderColor: "opacities.white.50",
|
|
7640
|
+
_hover: { bg: "opacities.white.20" },
|
|
7641
|
+
_active: { bg: "opacities.white.30" },
|
|
7642
|
+
_expanded: { bg: "opacities.white.20" }
|
|
7643
|
+
}
|
|
7628
7644
|
}
|
|
7629
7645
|
}
|
|
7630
7646
|
}), Qs = ln({
|
|
@@ -8067,6 +8083,12 @@ const Vc = be.forwardRef(function(t, r) {
|
|
|
8067
8083
|
fgSubtle: {
|
|
8068
8084
|
value: { _light: "{colors.lm_gray.60}", _dark: "{colors.lm_gray.60}" }
|
|
8069
8085
|
},
|
|
8086
|
+
fgActive: {
|
|
8087
|
+
value: {
|
|
8088
|
+
_light: "{colors.lm_brand.green}",
|
|
8089
|
+
_dark: "{colors.lm_brand.green}"
|
|
8090
|
+
}
|
|
8091
|
+
},
|
|
8070
8092
|
fgLink: {
|
|
8071
8093
|
value: {
|
|
8072
8094
|
_light: "{colors.opacities.white.60}",
|