@kosdev-code/base-ui-components 0.1.0-dev.5799 → 0.1.0-dev.5802
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/components/atoms/icon/common/types.d.ts +1 -1
- package/components/atoms/icon/common/types.d.ts.map +1 -1
- package/components/molecules/modal/common/components/modal-layout.d.ts +2 -2
- package/components/molecules/modal/common/components/modal-layout.d.ts.map +1 -1
- package/components/molecules/modal/common/styles/modal.styles.d.ts.map +1 -1
- package/components/molecules/modal/info-modal/index.d.ts +2 -0
- package/components/molecules/modal/info-modal/index.d.ts.map +1 -0
- package/components/molecules/modal/info-modal/info-modal.d.ts +9 -0
- package/components/molecules/modal/info-modal/info-modal.d.ts.map +1 -0
- package/components/molecules/modal/modal.d.ts.map +1 -1
- package/components/molecules/modal/types.d.ts +5 -2
- package/components/molecules/modal/types.d.ts.map +1 -1
- package/index.cjs +405 -399
- package/index.cjs.map +1 -1
- package/index.js +827 -804
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -2,21 +2,21 @@ var Ea = Object.defineProperty;
|
|
|
2
2
|
var Ma = (e, t, o) => t in e ? Ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
3
|
var E = (e, t, o) => (Ma(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
4
|
import { jsx as c, jsxs as C, Fragment as fe } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import * as
|
|
6
|
-
import M, { forwardRef as
|
|
5
|
+
import * as Oo from "react";
|
|
6
|
+
import M, { forwardRef as ie, createContext as ve, useContext as me, useMemo as U, memo as L, useReducer as Oa, useState as P, useRef as H, useLayoutEffect as Ie, useEffect as G, useCallback as I, cloneElement as Yt, isValidElement as It, useId as _e, Children as Qn, Suspense as Kr, Fragment as qr } from "react";
|
|
7
7
|
import g from "@emotion/styled";
|
|
8
8
|
import { css as Z, ClassNames as ne, keyframes as _t, createElement as Na } from "@emotion/react";
|
|
9
9
|
import { flushSync as Zr } from "react-dom";
|
|
10
|
-
import { useMergeRefs as Kt, useFloating as bo, useClick as
|
|
10
|
+
import { useMergeRefs as Kt, useFloating as bo, useClick as Fo, useDismiss as yo, useInteractions as vo, useTransitionStatus as Ra, FloatingPortal as qt, FloatingFocusManager as Ao, FloatingOverlay as Xr, flip as Bo, size as Fa, autoUpdate as Lo, useListNavigation as Aa, useRole as Wo, FloatingList as Ba, useListItem as La, offset as Jr, shift as Qr, arrow as Wa, useHover as Pa, useFocus as ja, FloatingArrow as Va } from "@floating-ui/react";
|
|
11
11
|
import { useDrag as Ha } from "@use-gesture/react";
|
|
12
12
|
import { addDays as Ua, addMonths as Ga, addWeeks as Ya, addYears as Ka, differenceInCalendarDays as qa, differenceInCalendarMonths as Za, eachMonthOfInterval as Xa, endOfISOWeek as Ja, endOfMonth as Qa, endOfWeek as el, endOfYear as tl, format as ol, getISOWeek as nl, getMonth as rl, getYear as il, getWeek as sl, isAfter as al, isBefore as ll, isDate as cl, isSameDay as dl, isSameMonth as ul, isSameYear as hl, max as pl, min as gl, setMonth as fl, setYear as ml, startOfDay as bl, startOfISOWeek as yl, startOfMonth as vl, startOfWeek as xl, startOfYear as wl } from "date-fns";
|
|
13
13
|
import { useForm as ei, FormProvider as ti, useFormContext as Se, useController as Ae, useWatch as kl } from "react-hook-form";
|
|
14
|
-
import { useFormContext as
|
|
15
|
-
import { kosComponent as
|
|
14
|
+
import { useFormContext as O1, useController as N1, useWatch as R1 } from "react-hook-form";
|
|
15
|
+
import { kosComponent as de, KosLog as $l, kosAction as st, isKosDataModel as oi, whenReady as ni, kosAutoEffect as To, useKosTranslation as Cl, FutureEndState as tn, debounce as Sl, EventBus as ri, getKosModelSync as ii } from "@kosdev-code/kos-ui-sdk";
|
|
16
16
|
import { Observer as Zt } from "mobx-react-lite";
|
|
17
|
-
import { observable as be, makeObservable as
|
|
18
|
-
import { flexRender as
|
|
19
|
-
import { flexRender as
|
|
17
|
+
import { observable as be, makeObservable as Rt, action as Vt, computed as ye, reaction as Po, runInAction as le } from "mobx";
|
|
18
|
+
import { flexRender as jo, useReactTable as si, getSortedRowModel as ai, getCoreRowModel as li, createColumnHelper as Il } from "@tanstack/react-table";
|
|
19
|
+
import { flexRender as A1 } from "@tanstack/react-table";
|
|
20
20
|
const _l = (e) => {
|
|
21
21
|
const t = /[\\^$.*+?()[\]{}|]/g;
|
|
22
22
|
return RegExp(t.source).test(e) ? e.replace(t, "\\$&") : e;
|
|
@@ -1096,7 +1096,7 @@ const _l = (e) => {
|
|
|
1096
1096
|
(o) => Object.keys(e[o]).map(
|
|
1097
1097
|
(n) => `--${t}-${o}-${n}: ${e[o][n]}`
|
|
1098
1098
|
)
|
|
1099
|
-
),
|
|
1099
|
+
), wx = (e, t = {}) => {
|
|
1100
1100
|
const { prefix: o = "studio-c", cssRootSelector: n = ":root" } = t, r = (a) => (
|
|
1101
1101
|
// @ts-expect-error Type mapping converts key to 'never' but runtime behavior is correct
|
|
1102
1102
|
a.map(
|
|
@@ -1112,7 +1112,7 @@ const _l = (e) => {
|
|
|
1112
1112
|
getLocalComponentTokenHelpers: r,
|
|
1113
1113
|
localComponentTokenCss: i
|
|
1114
1114
|
};
|
|
1115
|
-
},
|
|
1115
|
+
}, kx = (e, t = "studio-c") => (o, n) => Xt(`--${t}-${e}-${o}`, n), $x = (e, t = {}) => {
|
|
1116
1116
|
const { prefix: o = "studio-c" } = t;
|
|
1117
1117
|
return Z`
|
|
1118
1118
|
${ci(e, o).join(`;
|
|
@@ -1127,11 +1127,11 @@ const _l = (e) => {
|
|
|
1127
1127
|
(o) => Object.keys(e[o]).map(
|
|
1128
1128
|
(n) => `${t(`${o}-${n}`, !0)}: ${e[o][n]}`
|
|
1129
1129
|
)
|
|
1130
|
-
),
|
|
1130
|
+
), Cx = Z`
|
|
1131
1131
|
:root {
|
|
1132
1132
|
${zn(Rc, l)}
|
|
1133
1133
|
}
|
|
1134
|
-
`,
|
|
1134
|
+
`, Sx = Z`
|
|
1135
1135
|
:root {
|
|
1136
1136
|
.rdp-root {
|
|
1137
1137
|
--rdp-accent-color: ${l("color-primary")};
|
|
@@ -1139,7 +1139,7 @@ const _l = (e) => {
|
|
|
1139
1139
|
|
|
1140
1140
|
${zn(Ec, R)}
|
|
1141
1141
|
}
|
|
1142
|
-
`,
|
|
1142
|
+
`, Ix = Z`
|
|
1143
1143
|
:root {
|
|
1144
1144
|
${zn(
|
|
1145
1145
|
_c,
|
|
@@ -1660,7 +1660,7 @@ const _l = (e) => {
|
|
|
1660
1660
|
code {
|
|
1661
1661
|
font-family: var(--ddk-generic-font-family-code);
|
|
1662
1662
|
}
|
|
1663
|
-
`,
|
|
1663
|
+
`, _x = (e) => e === "studio" ? [
|
|
1664
1664
|
//fontStyles,
|
|
1665
1665
|
nr,
|
|
1666
1666
|
tr,
|
|
@@ -2112,14 +2112,14 @@ const _l = (e) => {
|
|
|
2112
2112
|
"--kos-font-weight-heading-small": "700",
|
|
2113
2113
|
"--kos-font-weight-heading-medium": "700",
|
|
2114
2114
|
"--kos-font-weight-heading-large": "700"
|
|
2115
|
-
},
|
|
2115
|
+
}, Dx = Z`
|
|
2116
2116
|
scrollbar-gutter: stable;
|
|
2117
2117
|
//AUTO might be the one that overlays things
|
|
2118
2118
|
|
|
2119
2119
|
/* Hide scrollbar for IE, Edge, Firefox, and other browsers */
|
|
2120
2120
|
scrollbar-width: thin; /* Firefox */
|
|
2121
2121
|
overflow-y: auto;
|
|
2122
|
-
`,
|
|
2122
|
+
`, zx = () => Z`
|
|
2123
2123
|
:root {
|
|
2124
2124
|
--kos-font-size-base: 10px;
|
|
2125
2125
|
--kos-font-size-small: 10px;
|
|
@@ -2255,7 +2255,7 @@ const _l = (e) => {
|
|
|
2255
2255
|
}
|
|
2256
2256
|
`;
|
|
2257
2257
|
function Jt(e) {
|
|
2258
|
-
return
|
|
2258
|
+
return ie(e);
|
|
2259
2259
|
}
|
|
2260
2260
|
const [je] = O(["text"]), di = [
|
|
2261
2261
|
"blue",
|
|
@@ -2351,7 +2351,7 @@ const [je] = O(["text"]), di = [
|
|
|
2351
2351
|
}`
|
|
2352
2352
|
).join(`
|
|
2353
2353
|
`)}
|
|
2354
|
-
`, [Ct] = O(["link"]), ui =
|
|
2354
|
+
`, [Ct] = O(["link"]), ui = ie(
|
|
2355
2355
|
({ children: e, onClick: t, size: o = "med", isDisabled: n, ...r }, i) => /* @__PURE__ */ c(
|
|
2356
2356
|
"span",
|
|
2357
2357
|
{
|
|
@@ -2402,7 +2402,7 @@ const [je] = O(["text"]), di = [
|
|
|
2402
2402
|
"xlrg",
|
|
2403
2403
|
"xxlrg",
|
|
2404
2404
|
"xxxlrg"
|
|
2405
|
-
], hi = ve(null),
|
|
2405
|
+
], hi = ve(null), Tx = ({
|
|
2406
2406
|
children: e,
|
|
2407
2407
|
publicPath: t
|
|
2408
2408
|
}) => {
|
|
@@ -2417,7 +2417,7 @@ const [je] = O(["text"]), di = [
|
|
|
2417
2417
|
"BaseUIComponentsContext cannot be used outside of its provider."
|
|
2418
2418
|
);
|
|
2419
2419
|
return e;
|
|
2420
|
-
}, [oo] = O(["icon"]), ed =
|
|
2420
|
+
}, [oo] = O(["icon"]), ed = ie(
|
|
2421
2421
|
({ iconId: e, size: t = "sm", color: o, ...n }, r) => {
|
|
2422
2422
|
const { basePath: i } = Qc();
|
|
2423
2423
|
return /* @__PURE__ */ c(
|
|
@@ -2455,7 +2455,7 @@ const td = g.svg`
|
|
|
2455
2455
|
min-width: ${oo(`size-${e}`)};
|
|
2456
2456
|
}`
|
|
2457
2457
|
).join("")}
|
|
2458
|
-
`, [pi] = O(["actionable-blurb"]),
|
|
2458
|
+
`, [pi] = O(["actionable-blurb"]), Ex = L(
|
|
2459
2459
|
({
|
|
2460
2460
|
text: e,
|
|
2461
2461
|
actions: t,
|
|
@@ -2504,7 +2504,7 @@ const td = g.svg`
|
|
|
2504
2504
|
flex-direction: column;
|
|
2505
2505
|
row-gap: ${pi("row-gap")};
|
|
2506
2506
|
`, Qe = () => {
|
|
2507
|
-
}, id = (e) => (t, o) => e[t][o] ?? t, sd = (e, t) => Oa(id(t), e),
|
|
2507
|
+
}, id = (e) => (t, o) => e[t][o] ?? t, sd = (e, t) => Oa(id(t), e), Io = (e) => (e == null ? void 0 : e.animationName) || "none", ad = (e, t) => {
|
|
2508
2508
|
const [o, n] = P(), r = H(), i = H(e), a = H("none"), s = H(
|
|
2509
2509
|
t
|
|
2510
2510
|
);
|
|
@@ -2529,23 +2529,23 @@ const td = g.svg`
|
|
|
2529
2529
|
}
|
|
2530
2530
|
);
|
|
2531
2531
|
G(() => {
|
|
2532
|
-
const f =
|
|
2532
|
+
const f = Io(r.current);
|
|
2533
2533
|
a.current = d === "mounted" ? f : "none";
|
|
2534
2534
|
}, [d]), Ie(() => {
|
|
2535
2535
|
const f = r.current, b = i.current;
|
|
2536
2536
|
if (b !== e) {
|
|
2537
|
-
const y = a.current, v =
|
|
2537
|
+
const y = a.current, v = Io(f);
|
|
2538
2538
|
e ? u("MOUNT") : v === "none" || (f == null ? void 0 : f.display) === "none" ? u("UNMOUNT") : u(b && y !== v ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2539
2539
|
}
|
|
2540
2540
|
}, [e, u]), Ie(() => {
|
|
2541
2541
|
if (o) {
|
|
2542
2542
|
const f = (m) => {
|
|
2543
|
-
const v =
|
|
2543
|
+
const v = Io(r.current).includes(
|
|
2544
2544
|
m.animationName
|
|
2545
2545
|
);
|
|
2546
2546
|
m.target === o && v && Zr(() => u("ANIMATION_END"));
|
|
2547
2547
|
}, b = (m) => {
|
|
2548
|
-
m.target === o && (a.current =
|
|
2548
|
+
m.target === o && (a.current = Io(r.current));
|
|
2549
2549
|
};
|
|
2550
2550
|
return o.addEventListener("animationstart", b), o.addEventListener("animationcancel", f), o.addEventListener("animationend", f), () => {
|
|
2551
2551
|
o.removeEventListener("animationstart", b), o.removeEventListener("animationcancel", f), o.removeEventListener("animationend", f);
|
|
@@ -2569,7 +2569,7 @@ const td = g.svg`
|
|
|
2569
2569
|
}
|
|
2570
2570
|
);
|
|
2571
2571
|
ld.displayName = "AnimatePresence";
|
|
2572
|
-
const
|
|
2572
|
+
const Mx = ({
|
|
2573
2573
|
offlineContent: e,
|
|
2574
2574
|
onlineContent: t
|
|
2575
2575
|
}) => t ? e ? /* @__PURE__ */ c(cd, { children: /* @__PURE__ */ C(dd, { children: [
|
|
@@ -2617,7 +2617,7 @@ const Tx = ({
|
|
|
2617
2617
|
${({ $back: e }) => e && `
|
|
2618
2618
|
transform: rotateX(180deg) translateZ(20px);
|
|
2619
2619
|
`}
|
|
2620
|
-
`, [B, Ee] = O(["button", "icon"]), ud =
|
|
2620
|
+
`, [B, Ee] = O(["button", "icon"]), ud = ie(
|
|
2621
2621
|
({ variant: e, text: t, disabled: o, className: n, icon: r, ...i }, a) => /* @__PURE__ */ c(ne, { children: ({ cx: s }) => /* @__PURE__ */ C(
|
|
2622
2622
|
hd,
|
|
2623
2623
|
{
|
|
@@ -2762,7 +2762,7 @@ function gd() {
|
|
|
2762
2762
|
);
|
|
2763
2763
|
return e;
|
|
2764
2764
|
}
|
|
2765
|
-
const [Bt] = O(["button-group"]),
|
|
2765
|
+
const [Bt] = O(["button-group"]), Ox = ({
|
|
2766
2766
|
value: e,
|
|
2767
2767
|
defaultValue: t,
|
|
2768
2768
|
onValueChange: o,
|
|
@@ -2850,7 +2850,7 @@ const yd = g.button`
|
|
|
2850
2850
|
|
|
2851
2851
|
${`${md("fill-grey", !0)}: ${kt("item-color-active")}`};
|
|
2852
2852
|
}
|
|
2853
|
-
`, [Ve] = O(["checkbox"]), Qt =
|
|
2853
|
+
`, [Ve] = O(["checkbox"]), Qt = ie((e, t) => /* @__PURE__ */ C(vd, { children: [
|
|
2854
2854
|
/* @__PURE__ */ c(xd, { ref: t, ...e, type: "checkbox" }),
|
|
2855
2855
|
/* @__PURE__ */ c(sr, { className: "check-icon", children: /* @__PURE__ */ c(A, { iconId: "CheckSmall", size: "xsm", color: "white" }) }),
|
|
2856
2856
|
/* @__PURE__ */ c(sr, { className: "minus-icon", children: /* @__PURE__ */ c(A, { iconId: "Minus", size: "xsm", color: "white" }) })
|
|
@@ -2928,7 +2928,7 @@ const yd = g.button`
|
|
|
2928
2928
|
open: i,
|
|
2929
2929
|
setOpen: a
|
|
2930
2930
|
}), [i, a]);
|
|
2931
|
-
}, fi = ve(null),
|
|
2931
|
+
}, fi = ve(null), Vo = () => {
|
|
2932
2932
|
const e = me(fi);
|
|
2933
2933
|
if (e == null)
|
|
2934
2934
|
throw new Error(
|
|
@@ -2939,7 +2939,7 @@ const yd = g.button`
|
|
|
2939
2939
|
const o = wd(t);
|
|
2940
2940
|
return /* @__PURE__ */ c(fi.Provider, { value: o, children: e });
|
|
2941
2941
|
}, mi = ({ children: e }) => {
|
|
2942
|
-
const { open: t, setOpen: o } =
|
|
2942
|
+
const { open: t, setOpen: o } = Vo(), n = I(() => {
|
|
2943
2943
|
o(!t);
|
|
2944
2944
|
}, [t, o]);
|
|
2945
2945
|
if (It(e))
|
|
@@ -2952,7 +2952,7 @@ const yd = g.button`
|
|
|
2952
2952
|
});
|
|
2953
2953
|
throw new Error("Passed CollapsibleTrigger an invalid element");
|
|
2954
2954
|
}, En = ({ children: e }) => {
|
|
2955
|
-
const { open: t } =
|
|
2955
|
+
const { open: t } = Vo();
|
|
2956
2956
|
return t ? e : null;
|
|
2957
2957
|
};
|
|
2958
2958
|
function bi(e) {
|
|
@@ -3019,7 +3019,7 @@ function Id(e, t) {
|
|
|
3019
3019
|
return d;
|
|
3020
3020
|
}
|
|
3021
3021
|
var _d = Id;
|
|
3022
|
-
const Dd = /* @__PURE__ */ bi(_d), zd = 250, Td = 500,
|
|
3022
|
+
const Dd = /* @__PURE__ */ bi(_d), zd = 250, Td = 500, Nx = ({
|
|
3023
3023
|
children: e,
|
|
3024
3024
|
color: t,
|
|
3025
3025
|
copyable: o = !0,
|
|
@@ -3144,7 +3144,7 @@ function Od({
|
|
|
3144
3144
|
), d = bo({
|
|
3145
3145
|
open: a,
|
|
3146
3146
|
onOpenChange: s
|
|
3147
|
-
}), u = d.context, h =
|
|
3147
|
+
}), u = d.context, h = Fo(u), p = yo(
|
|
3148
3148
|
u,
|
|
3149
3149
|
n ? { outsidePressEvent: "mousedown", ...n } : { outsidePressEvent: "mousedown" }
|
|
3150
3150
|
), f = vo([h, p]);
|
|
@@ -3160,7 +3160,7 @@ const Nd = Z`
|
|
|
3160
3160
|
display: grid;
|
|
3161
3161
|
place-items: center;
|
|
3162
3162
|
z-index: 1;
|
|
3163
|
-
`, yi = ve(null),
|
|
3163
|
+
`, yi = ve(null), Dt = () => {
|
|
3164
3164
|
const e = me(yi);
|
|
3165
3165
|
if (e == null)
|
|
3166
3166
|
throw new Error("Dialog components must be wrapped in <Dialog />");
|
|
@@ -3168,9 +3168,9 @@ const Nd = Z`
|
|
|
3168
3168
|
}, vi = L(({ children: e, ...t }) => {
|
|
3169
3169
|
const o = Od(t);
|
|
3170
3170
|
return /* @__PURE__ */ c(yi.Provider, { value: o, children: e });
|
|
3171
|
-
}), xi =
|
|
3171
|
+
}), xi = ie(
|
|
3172
3172
|
({ children: e }, t) => {
|
|
3173
|
-
const o =
|
|
3173
|
+
const o = Dt();
|
|
3174
3174
|
return Md({
|
|
3175
3175
|
children: e,
|
|
3176
3176
|
forwardedRef: t,
|
|
@@ -3179,7 +3179,7 @@ const Nd = Z`
|
|
|
3179
3179
|
open: o.open
|
|
3180
3180
|
});
|
|
3181
3181
|
}
|
|
3182
|
-
), wi =
|
|
3182
|
+
), wi = ie(
|
|
3183
3183
|
({
|
|
3184
3184
|
disableScrollLock: e,
|
|
3185
3185
|
modal: t,
|
|
@@ -3193,13 +3193,13 @@ const Nd = Z`
|
|
|
3193
3193
|
initialFocus: u,
|
|
3194
3194
|
...h
|
|
3195
3195
|
}, p) => {
|
|
3196
|
-
const { context: f, ...b } =
|
|
3196
|
+
const { context: f, ...b } = Dt(), m = Kt([b.refs.setFloating, p]), { isMounted: y, status: v } = Ra(f, {
|
|
3197
3197
|
duration: i || 0
|
|
3198
3198
|
});
|
|
3199
3199
|
if (!It(d))
|
|
3200
3200
|
throw new Error("Passed an invalid child element to Dialog.");
|
|
3201
3201
|
return y ? /* @__PURE__ */ c(qt, { id: n, root: o, children: /* @__PURE__ */ c(
|
|
3202
|
-
|
|
3202
|
+
Ao,
|
|
3203
3203
|
{
|
|
3204
3204
|
context: f,
|
|
3205
3205
|
modal: r,
|
|
@@ -3253,7 +3253,7 @@ const Rd = g.div`
|
|
|
3253
3253
|
right: -4px;
|
|
3254
3254
|
top: 0;
|
|
3255
3255
|
}
|
|
3256
|
-
`,
|
|
3256
|
+
`, Ho = ({
|
|
3257
3257
|
inverse: e = !1,
|
|
3258
3258
|
maxSize: t,
|
|
3259
3259
|
minSize: o = 200,
|
|
@@ -3303,10 +3303,10 @@ const Rd = g.div`
|
|
|
3303
3303
|
display: grid;
|
|
3304
3304
|
overflow: hidden !important;
|
|
3305
3305
|
z-index: 1;
|
|
3306
|
-
`,
|
|
3306
|
+
`, Rx = Z`
|
|
3307
3307
|
place-items: start;
|
|
3308
3308
|
${$i};
|
|
3309
|
-
`,
|
|
3309
|
+
`, Fx = Z`
|
|
3310
3310
|
place-items: end;
|
|
3311
3311
|
${$i};
|
|
3312
3312
|
`, Ci = g.div`
|
|
@@ -3333,7 +3333,7 @@ const Rd = g.div`
|
|
|
3333
3333
|
flex: 1;
|
|
3334
3334
|
width: 100%;
|
|
3335
3335
|
height: 100%;
|
|
3336
|
-
`, Bd =
|
|
3336
|
+
`, Bd = ie(
|
|
3337
3337
|
({ children: e, className: t, ...o }, n) => {
|
|
3338
3338
|
const { minSize: r, size: i, setSize: a } = Ft(), [s, d] = ki(), u = d !== void 0, h = i / (d || 1);
|
|
3339
3339
|
return /* @__PURE__ */ c(Si, { ref: s, children: u && /* @__PURE__ */ C(fe, { children: [
|
|
@@ -3348,7 +3348,7 @@ const Rd = g.div`
|
|
|
3348
3348
|
}
|
|
3349
3349
|
),
|
|
3350
3350
|
/* @__PURE__ */ c(
|
|
3351
|
-
|
|
3351
|
+
Ho,
|
|
3352
3352
|
{
|
|
3353
3353
|
inverse: !0,
|
|
3354
3354
|
size: i,
|
|
@@ -3359,12 +3359,12 @@ const Rd = g.div`
|
|
|
3359
3359
|
/* @__PURE__ */ c(Ii, { style: { flexGrow: 1 - h } })
|
|
3360
3360
|
] }) });
|
|
3361
3361
|
}
|
|
3362
|
-
), Ld =
|
|
3362
|
+
), Ld = ie(
|
|
3363
3363
|
({ children: e, className: t, ...o }, n) => {
|
|
3364
3364
|
const { minSize: r, size: i, setSize: a } = Ft(), [s, d] = ki(), u = d !== void 0, h = i / (d || 1);
|
|
3365
3365
|
return /* @__PURE__ */ c(Si, { ref: s, children: u && /* @__PURE__ */ C(fe, { children: [
|
|
3366
3366
|
/* @__PURE__ */ c(Ii, { style: { flexGrow: 1 - h } }),
|
|
3367
|
-
/* @__PURE__ */ c(
|
|
3367
|
+
/* @__PURE__ */ c(Ho, { size: i, minSize: r, onChange: a }),
|
|
3368
3368
|
/* @__PURE__ */ c(
|
|
3369
3369
|
Ci,
|
|
3370
3370
|
{
|
|
@@ -3383,7 +3383,7 @@ const Rd = g.div`
|
|
|
3383
3383
|
}), Pd = _t({
|
|
3384
3384
|
"0%": { transform: "translateX(0%)" },
|
|
3385
3385
|
"100%": { transform: "translateX(-100%)" }
|
|
3386
|
-
}),
|
|
3386
|
+
}), Ax = g(Bd)`
|
|
3387
3387
|
border-right-width: ${$e("border-width")};
|
|
3388
3388
|
box-shadow: ${$e("left-drop-shadow")};
|
|
3389
3389
|
&[data-status="open"] {
|
|
@@ -3398,7 +3398,7 @@ const Rd = g.div`
|
|
|
3398
3398
|
}), Vd = _t({
|
|
3399
3399
|
from: { transform: "translateX(0%)" },
|
|
3400
3400
|
to: { transform: "translateX(100%)" }
|
|
3401
|
-
}),
|
|
3401
|
+
}), Bx = g(Ld)`
|
|
3402
3402
|
border-left-width: ${$e("border-width")};
|
|
3403
3403
|
box-shadow: ${$e("right-drop-shadow")};
|
|
3404
3404
|
&[data-status="open"] {
|
|
@@ -3424,7 +3424,7 @@ const Rd = g.div`
|
|
|
3424
3424
|
}), Ud = _t({
|
|
3425
3425
|
from: { transform: "translateY(0)", opacity: 1 },
|
|
3426
3426
|
to: { transform: "translateY(-30px)", opacity: 0 }
|
|
3427
|
-
}),
|
|
3427
|
+
}), Lx = g(_i)`
|
|
3428
3428
|
border-bottom-width: ${$e("border-width")};
|
|
3429
3429
|
&[data-status="open"] {
|
|
3430
3430
|
animation-name: ${Hd};
|
|
@@ -3438,7 +3438,7 @@ const Rd = g.div`
|
|
|
3438
3438
|
}), zi = _t({
|
|
3439
3439
|
from: { transform: "translateY(0)", opacity: 1 },
|
|
3440
3440
|
to: { transform: "translateY(30px)", opacity: 0 }
|
|
3441
|
-
}),
|
|
3441
|
+
}), Wx = g(_i)`
|
|
3442
3442
|
border-top-width: ${$e("border-width")};
|
|
3443
3443
|
&[data-status="open"] {
|
|
3444
3444
|
animation-name: ${Di};
|
|
@@ -3457,11 +3457,11 @@ const Rd = g.div`
|
|
|
3457
3457
|
border-width: 0px;
|
|
3458
3458
|
border-color: ${$e("border-color")};
|
|
3459
3459
|
border-style: solid;
|
|
3460
|
-
`, Gd =
|
|
3460
|
+
`, Gd = ie(
|
|
3461
3461
|
({ children: e, className: t }, o) => {
|
|
3462
3462
|
const { size: n, setSize: r } = Ft();
|
|
3463
3463
|
return /* @__PURE__ */ C(fe, { children: [
|
|
3464
|
-
/* @__PURE__ */ c(
|
|
3464
|
+
/* @__PURE__ */ c(Ho, { inverse: !0, size: n, onChange: r }),
|
|
3465
3465
|
/* @__PURE__ */ c(
|
|
3466
3466
|
Ti,
|
|
3467
3467
|
{
|
|
@@ -3473,11 +3473,11 @@ const Rd = g.div`
|
|
|
3473
3473
|
)
|
|
3474
3474
|
] });
|
|
3475
3475
|
}
|
|
3476
|
-
), Yd =
|
|
3476
|
+
), Yd = ie(
|
|
3477
3477
|
({ children: e, className: t }, o) => {
|
|
3478
3478
|
const { size: n, setSize: r } = Ft();
|
|
3479
3479
|
return /* @__PURE__ */ C(fe, { children: [
|
|
3480
|
-
/* @__PURE__ */ c(
|
|
3480
|
+
/* @__PURE__ */ c(Ho, { size: n, onChange: r }),
|
|
3481
3481
|
/* @__PURE__ */ c(
|
|
3482
3482
|
Ti,
|
|
3483
3483
|
{
|
|
@@ -3489,10 +3489,10 @@ const Rd = g.div`
|
|
|
3489
3489
|
)
|
|
3490
3490
|
] });
|
|
3491
3491
|
}
|
|
3492
|
-
),
|
|
3492
|
+
), Px = g(Gd)`
|
|
3493
3493
|
border-right-width: ${$e("border-width")};
|
|
3494
3494
|
box-shadow: ${$e("left-drop-shadow")};
|
|
3495
|
-
`,
|
|
3495
|
+
`, jx = g(Yd)`
|
|
3496
3496
|
border-left-width: ${$e("border-width")};
|
|
3497
3497
|
box-shadow: ${$e("right-drop-shadow")};
|
|
3498
3498
|
`, Ei = g.div`
|
|
@@ -3502,9 +3502,9 @@ const Rd = g.div`
|
|
|
3502
3502
|
border-width: 0px;
|
|
3503
3503
|
border-color: ${$e("border-color")};
|
|
3504
3504
|
border-style: solid;
|
|
3505
|
-
`,
|
|
3505
|
+
`, Vx = g(Ei)`
|
|
3506
3506
|
border-bottom-width: ${$e("border-width")};
|
|
3507
|
-
`,
|
|
3507
|
+
`, Hx = g(Ei)`
|
|
3508
3508
|
border-top-width: ${$e("border-width")};
|
|
3509
3509
|
&[data-status="open"] {
|
|
3510
3510
|
animation-name: ${Di};
|
|
@@ -3515,7 +3515,7 @@ const Rd = g.div`
|
|
|
3515
3515
|
`, Kd = {
|
|
3516
3516
|
escapeKey: !0,
|
|
3517
3517
|
outsidePress: !1
|
|
3518
|
-
},
|
|
3518
|
+
}, Ux = L(({ children: e, ...t }) => {
|
|
3519
3519
|
const o = Fd(t);
|
|
3520
3520
|
return t.mode === "dialog" ? /* @__PURE__ */ c(vn.Provider, { value: o, children: /* @__PURE__ */ c(
|
|
3521
3521
|
vi,
|
|
@@ -3527,7 +3527,7 @@ const Rd = g.div`
|
|
|
3527
3527
|
children: e
|
|
3528
3528
|
}
|
|
3529
3529
|
) }) : /* @__PURE__ */ c(vn.Provider, { value: o, children: e });
|
|
3530
|
-
}),
|
|
3530
|
+
}), Gx = L(({ children: e }) => {
|
|
3531
3531
|
const { mode: t, open: o, setOpen: n } = Ft(), r = I(() => {
|
|
3532
3532
|
n(!o);
|
|
3533
3533
|
}, [o, n]);
|
|
@@ -3542,7 +3542,7 @@ const Rd = g.div`
|
|
|
3542
3542
|
"data-state": o ? "open" : "closed"
|
|
3543
3543
|
});
|
|
3544
3544
|
throw new Error("Passed DialogTrigger an invalid element");
|
|
3545
|
-
}),
|
|
3545
|
+
}), Yx = L(
|
|
3546
3546
|
({ children: e, OverlayStyles: t, ...o }) => {
|
|
3547
3547
|
const { mode: n, open: r } = Ft();
|
|
3548
3548
|
if (n === "dialog")
|
|
@@ -3599,7 +3599,7 @@ var Mi = { exports: {} };
|
|
|
3599
3599
|
})();
|
|
3600
3600
|
})(Mi);
|
|
3601
3601
|
var qd = Mi.exports;
|
|
3602
|
-
const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]),
|
|
3602
|
+
const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ce = ie(
|
|
3603
3603
|
({
|
|
3604
3604
|
iconId: e,
|
|
3605
3605
|
badgeOffset: t,
|
|
@@ -3688,11 +3688,11 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3688
3688
|
).join("")}
|
|
3689
3689
|
width: ${l("spacing-8")};
|
|
3690
3690
|
height: ${l("spacing-8")};
|
|
3691
|
-
`,
|
|
3691
|
+
`, Kx = g(ce)`
|
|
3692
3692
|
&.isLocked {
|
|
3693
3693
|
cursor: url("/ui/custom-cursors/locked-cursor.png"), not-allowed !important;
|
|
3694
3694
|
}
|
|
3695
|
-
`, [no] = O(["drawer"]),
|
|
3695
|
+
`, [no] = O(["drawer"]), qx = L(
|
|
3696
3696
|
({
|
|
3697
3697
|
children: e,
|
|
3698
3698
|
className: t,
|
|
@@ -3718,7 +3718,7 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3718
3718
|
),
|
|
3719
3719
|
e,
|
|
3720
3720
|
n && /* @__PURE__ */ c(
|
|
3721
|
-
|
|
3721
|
+
ce,
|
|
3722
3722
|
{
|
|
3723
3723
|
onClick: u,
|
|
3724
3724
|
iconId: o || "Close",
|
|
@@ -3737,11 +3737,11 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3737
3737
|
background-color: ${no("header-bg")};
|
|
3738
3738
|
border-bottom: ${no("header-border-size")} solid ${no("header-border-color")};
|
|
3739
3739
|
padding: 0px ${no("header-x-padding")};
|
|
3740
|
-
`, [lr] = O(["horizontal-rule"]),
|
|
3740
|
+
`, [lr] = O(["horizontal-rule"]), Zx = g.div`
|
|
3741
3741
|
width: 100%;
|
|
3742
3742
|
border-bottom: ${lr("border-width")} solid
|
|
3743
3743
|
${lr("border-color")};
|
|
3744
|
-
`, [
|
|
3744
|
+
`, [he] = O(["input"]), eo = ie(
|
|
3745
3745
|
({
|
|
3746
3746
|
className: e,
|
|
3747
3747
|
type: t,
|
|
@@ -3812,7 +3812,7 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3812
3812
|
onClick: b
|
|
3813
3813
|
}
|
|
3814
3814
|
) : v ? /* @__PURE__ */ c(
|
|
3815
|
-
|
|
3815
|
+
ce,
|
|
3816
3816
|
{
|
|
3817
3817
|
iconId: "Close",
|
|
3818
3818
|
size: "sm",
|
|
@@ -3820,7 +3820,7 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3820
3820
|
onClick: v
|
|
3821
3821
|
}
|
|
3822
3822
|
) : /* @__PURE__ */ c(
|
|
3823
|
-
|
|
3823
|
+
ce,
|
|
3824
3824
|
{
|
|
3825
3825
|
onClick: D,
|
|
3826
3826
|
iconId: S ? "Eye" : "EyeInvisible",
|
|
@@ -3836,47 +3836,47 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3836
3836
|
position: relative;
|
|
3837
3837
|
display: flex;
|
|
3838
3838
|
`, eu = g.input`
|
|
3839
|
-
border: ${
|
|
3840
|
-
border-radius: ${
|
|
3841
|
-
height: ${
|
|
3842
|
-
line-height: ${
|
|
3839
|
+
border: ${he("border-width")} solid ${he("border-color")};
|
|
3840
|
+
border-radius: ${he("border-radius")};
|
|
3841
|
+
height: ${he("height")};
|
|
3842
|
+
line-height: ${he("line-height")};
|
|
3843
3843
|
width: 100%;
|
|
3844
|
-
background-color: ${
|
|
3845
|
-
padding: ${
|
|
3844
|
+
background-color: ${he("background-color")};
|
|
3845
|
+
padding: ${he("padding-y")} ${he("padding-x")};
|
|
3846
3846
|
outline: none;
|
|
3847
3847
|
box-shadow: none;
|
|
3848
|
-
font-size: ${
|
|
3849
|
-
font-weight: ${
|
|
3850
|
-
font-family: ${
|
|
3851
|
-
color: ${
|
|
3848
|
+
font-size: ${he("font-size")};
|
|
3849
|
+
font-weight: ${he("font-weight")};
|
|
3850
|
+
font-family: ${he("font-family")};
|
|
3851
|
+
color: ${he("color")};
|
|
3852
3852
|
transition: border 0.2s ease-in-out, background 0.2s ease-in-out;
|
|
3853
3853
|
:active:not(:disabled):not(:read-only):not([aria-invalid="true"]),
|
|
3854
3854
|
:focus:not(:disabled):not(:read-only):not([aria-invalid="true"]) {
|
|
3855
|
-
border-color: ${
|
|
3855
|
+
border-color: ${he("border-color-active")};
|
|
3856
3856
|
}
|
|
3857
3857
|
&[aria-invalid="true"]:not(:disabled) {
|
|
3858
|
-
border-color: ${
|
|
3858
|
+
border-color: ${he("border-color-invalid")};
|
|
3859
3859
|
~ svg {
|
|
3860
|
-
fill: ${
|
|
3860
|
+
fill: ${he("border-color-invalid")};
|
|
3861
3861
|
}
|
|
3862
3862
|
}
|
|
3863
3863
|
:disabled,
|
|
3864
3864
|
:read-only {
|
|
3865
3865
|
cursor: not-allowed;
|
|
3866
|
-
color: ${
|
|
3867
|
-
background-color: ${
|
|
3866
|
+
color: ${he("color-disabled")};
|
|
3867
|
+
background-color: ${he("background-color-disabled")};
|
|
3868
3868
|
~ svg {
|
|
3869
|
-
fill: ${
|
|
3869
|
+
fill: ${he("color-disabled")};
|
|
3870
3870
|
}
|
|
3871
3871
|
}
|
|
3872
3872
|
&.isSmall {
|
|
3873
|
-
padding: ${
|
|
3873
|
+
padding: ${he("padding-y-small")} ${he("padding-x")};
|
|
3874
3874
|
}
|
|
3875
3875
|
&.hasLeftIcon {
|
|
3876
|
-
padding-left: ${
|
|
3876
|
+
padding-left: ${he("padding-left-icon")};
|
|
3877
3877
|
}
|
|
3878
3878
|
&.hasRightIcon {
|
|
3879
|
-
padding-right: ${
|
|
3879
|
+
padding-right: ${he("padding-right-icon")};
|
|
3880
3880
|
}
|
|
3881
3881
|
`, tu = g(A)`
|
|
3882
3882
|
position: absolute;
|
|
@@ -3884,7 +3884,7 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3884
3884
|
transform: translateY(-50%);
|
|
3885
3885
|
pointer-events: none;
|
|
3886
3886
|
z-index: 1;
|
|
3887
|
-
left: ${
|
|
3887
|
+
left: ${he("icon-left")};
|
|
3888
3888
|
`, ou = g.div`
|
|
3889
3889
|
position: absolute;
|
|
3890
3890
|
right: 8px;
|
|
@@ -3895,7 +3895,7 @@ const At = /* @__PURE__ */ bi(qd), [qe] = O(["icon-button"]), ge = le(
|
|
|
3895
3895
|
place-content: center;
|
|
3896
3896
|
`;
|
|
3897
3897
|
eo.displayName = "Input";
|
|
3898
|
-
const nu =
|
|
3898
|
+
const nu = ie(
|
|
3899
3899
|
({
|
|
3900
3900
|
onSearch: e,
|
|
3901
3901
|
onChange: t,
|
|
@@ -3942,7 +3942,7 @@ const nu = le(
|
|
|
3942
3942
|
t,
|
|
3943
3943
|
e,
|
|
3944
3944
|
o
|
|
3945
|
-
] }), [su] = O(["label-with-action"]), au = Z([Oi, { gap: su("gap") }]),
|
|
3945
|
+
] }), [su] = O(["label-with-action"]), au = Z([Oi, { gap: su("gap") }]), Xx = ({
|
|
3946
3946
|
action: e,
|
|
3947
3947
|
variant: t = "h2",
|
|
3948
3948
|
...o
|
|
@@ -3956,17 +3956,17 @@ const nu = le(
|
|
|
3956
3956
|
}
|
|
3957
3957
|
), [lu] = O(["label-with-content-link"]), cu = Z`
|
|
3958
3958
|
color: ${lu("color")};
|
|
3959
|
-
`,
|
|
3959
|
+
`, Jx = (e) => /* @__PURE__ */ c(Ni, { css: cu, ...e }), Qx = new RegExp(/^[a-zA-Z0-9 _.-]*$/), du = new RegExp(
|
|
3960
3960
|
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
|
|
3961
|
-
),
|
|
3961
|
+
), ew = new RegExp(/^\d+$/), tw = new RegExp(/^\S*$/), ow = new RegExp(/^[a-zA-Z].*/), uu = new RegExp(
|
|
3962
3962
|
/^[-a-zA-Z0-9-_'().-]+(\s+[-a-zA-Z0-9-_'().-]+)*$/
|
|
3963
3963
|
);
|
|
3964
3964
|
var hu = /* @__PURE__ */ ((e) => (e.email = "email", e))(hu || {});
|
|
3965
|
-
const
|
|
3965
|
+
const nw = () => ({
|
|
3966
3966
|
email: (e) => du.test(e)
|
|
3967
|
-
}),
|
|
3968
|
-
var
|
|
3969
|
-
const
|
|
3967
|
+
}), rw = 12;
|
|
3968
|
+
var Eo = /* @__PURE__ */ ((e) => (e.noDigit = "noDigit", e.noUpperCase = "noUpperCase", e.noSpecialCharacter = "noSpecialCharacter", e.tooSimilar = "tooSimilar", e))(Eo || {});
|
|
3969
|
+
const iw = (e, t) => ({
|
|
3970
3970
|
...e ? {
|
|
3971
3971
|
tooSimilar: (o, n) => {
|
|
3972
3972
|
const r = n[t ?? "password_current"];
|
|
@@ -3976,7 +3976,7 @@ const nw = (e, t) => ({
|
|
|
3976
3976
|
noDigit: (o) => new RegExp(/\d/).test(o),
|
|
3977
3977
|
noSpecialCharacter: (o) => new RegExp(/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]+/).test(o),
|
|
3978
3978
|
noUpperCase: (o) => new RegExp(/[A-Z]+/).test(o)
|
|
3979
|
-
}), pu = (e) => typeof e == "object" && e !== null && "message" in e && typeof e.message == "string",
|
|
3979
|
+
}), pu = (e) => typeof e == "object" && e !== null && "message" in e && typeof e.message == "string", sw = (e) => {
|
|
3980
3980
|
if (pu(e))
|
|
3981
3981
|
return e.message;
|
|
3982
3982
|
}, gu = () => {
|
|
@@ -4092,7 +4092,7 @@ function ku(e, t) {
|
|
|
4092
4092
|
}, t - (Date.now() - n))) : (e.apply(i, r), n = Date.now());
|
|
4093
4093
|
};
|
|
4094
4094
|
}
|
|
4095
|
-
const
|
|
4095
|
+
const aw = ({
|
|
4096
4096
|
initialStartSizePct: e = 50,
|
|
4097
4097
|
startClampSizePx: t = 210,
|
|
4098
4098
|
minStartSizePct: o = 10,
|
|
@@ -4153,7 +4153,7 @@ const iw = ({
|
|
|
4153
4153
|
/* @__PURE__ */ c(wu, { onMouseDown: f, orientation: a }),
|
|
4154
4154
|
/* @__PURE__ */ c(xu, { children: i })
|
|
4155
4155
|
] });
|
|
4156
|
-
}, [He] = O(["radio-button"]), Fi =
|
|
4156
|
+
}, [He] = O(["radio-button"]), Fi = ie(
|
|
4157
4157
|
({ checked: e, onChange: t, ...o }, n) => /* @__PURE__ */ c(
|
|
4158
4158
|
$u,
|
|
4159
4159
|
{
|
|
@@ -4213,7 +4213,7 @@ function Cu(e, t = document) {
|
|
|
4213
4213
|
);
|
|
4214
4214
|
return o || null;
|
|
4215
4215
|
}
|
|
4216
|
-
const Su = (e) => e.type.startsWith("mouse"), Iu = (e) => e.type.startsWith("pointer"),
|
|
4216
|
+
const Su = (e) => e.type.startsWith("mouse"), Iu = (e) => e.type.startsWith("pointer"), Uo = (e) => {
|
|
4217
4217
|
if (Iu(e)) {
|
|
4218
4218
|
if (e.isPrimary)
|
|
4219
4219
|
return {
|
|
@@ -4230,7 +4230,7 @@ const Su = (e) => e.type.startsWith("mouse"), Iu = (e) => e.type.startsWith("poi
|
|
|
4230
4230
|
y: 1 / 0
|
|
4231
4231
|
};
|
|
4232
4232
|
}, Ai = (e, t) => {
|
|
4233
|
-
const o = e === "horizontal", { x: n, y: r } =
|
|
4233
|
+
const o = e === "horizontal", { x: n, y: r } = Uo(t);
|
|
4234
4234
|
return o ? n : r;
|
|
4235
4235
|
}, Bi = (e, t = document) => {
|
|
4236
4236
|
const o = t.querySelector(
|
|
@@ -4538,7 +4538,7 @@ const Su = (e) => e.type.startsWith("mouse"), Iu = (e) => e.type.startsWith("poi
|
|
|
4538
4538
|
min-width: 0px;
|
|
4539
4539
|
overflow: hidden;
|
|
4540
4540
|
`;
|
|
4541
|
-
let xn = null,
|
|
4541
|
+
let xn = null, Et = null;
|
|
4542
4542
|
function Ru(e) {
|
|
4543
4543
|
switch (e) {
|
|
4544
4544
|
case "horizontal":
|
|
@@ -4552,11 +4552,11 @@ function Ru(e) {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
}
|
|
4554
4554
|
function Fu() {
|
|
4555
|
-
|
|
4555
|
+
Et !== null && (document.head.removeChild(Et), xn = null, Et = null);
|
|
4556
4556
|
}
|
|
4557
4557
|
function sn(e) {
|
|
4558
4558
|
const t = Ru(e);
|
|
4559
|
-
xn !== t && (xn = t,
|
|
4559
|
+
xn !== t && (xn = t, Et === null && (Et = document.createElement("style"), document.head.appendChild(Et)), Et.innerHTML = `*{cursor: ${t}!important;}`);
|
|
4560
4560
|
}
|
|
4561
4561
|
const Au = (e, t, o) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
|
|
4562
4562
|
function Bu(e, t) {
|
|
@@ -4635,10 +4635,10 @@ const ju = () => {
|
|
|
4635
4635
|
hitAreaMargins: o,
|
|
4636
4636
|
setResizeHandlerState: n
|
|
4637
4637
|
}, a = St.get(r) ?? 0;
|
|
4638
|
-
return St.set(r, a + 1), fo.add(i),
|
|
4638
|
+
return St.set(r, a + 1), fo.add(i), No(), function() {
|
|
4639
4639
|
fo.delete(i);
|
|
4640
4640
|
const d = St.get(r) ?? 1;
|
|
4641
|
-
if (St.set(r, d - 1),
|
|
4641
|
+
if (St.set(r, d - 1), No(), d === 1 && St.delete(r), Je.includes(i)) {
|
|
4642
4642
|
const u = Je.indexOf(i);
|
|
4643
4643
|
u >= 0 && Je.splice(u, 1), Rn(), n("up", !0, null);
|
|
4644
4644
|
}
|
|
@@ -4675,19 +4675,19 @@ const ju = () => {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
});
|
|
4677
4677
|
}, gr = (e) => {
|
|
4678
|
-
const { target: t } = e, { x: o, y: n } =
|
|
4679
|
-
Ht = !0, Nn({ target: t, x: o, y: n }),
|
|
4678
|
+
const { target: t } = e, { x: o, y: n } = Uo(e);
|
|
4679
|
+
Ht = !0, Nn({ target: t, x: o, y: n }), No(), Je.length > 0 && (Ro("down", e), e.preventDefault(), e.stopPropagation());
|
|
4680
4680
|
}, ro = (e) => {
|
|
4681
|
-
const { x: t, y: o } =
|
|
4682
|
-
if (Ht && e.buttons === 0 && (Ht = !1,
|
|
4681
|
+
const { x: t, y: o } = Uo(e);
|
|
4682
|
+
if (Ht && e.buttons === 0 && (Ht = !1, Ro("up", e)), !Ht) {
|
|
4683
4683
|
const { target: n } = e;
|
|
4684
4684
|
Nn({ target: n, x: t, y: o });
|
|
4685
4685
|
}
|
|
4686
|
-
|
|
4686
|
+
Ro("move", e), Rn(), Je.length > 0 && e.preventDefault();
|
|
4687
4687
|
}, Lt = (e) => {
|
|
4688
|
-
const { target: t } = e, { x: o, y: n } =
|
|
4689
|
-
Ht = !1, Je.length > 0 && e.preventDefault(),
|
|
4690
|
-
},
|
|
4688
|
+
const { target: t } = e, { x: o, y: n } = Uo(e);
|
|
4689
|
+
Ht = !1, Je.length > 0 && e.preventDefault(), Ro("up", e), Nn({ target: t, x: o, y: n }), Rn(), No();
|
|
4690
|
+
}, No = () => {
|
|
4691
4691
|
St.forEach((e, t) => {
|
|
4692
4692
|
const { body: o } = t;
|
|
4693
4693
|
o.removeEventListener("contextmenu", Lt), o.removeEventListener("pointerdown", gr), o.removeEventListener("pointerleave", ro), o.removeEventListener("pointermove", ro);
|
|
@@ -4700,7 +4700,7 @@ const ju = () => {
|
|
|
4700
4700
|
capture: !0
|
|
4701
4701
|
}), o.addEventListener("pointermove", ro));
|
|
4702
4702
|
}));
|
|
4703
|
-
},
|
|
4703
|
+
}, Ro = (e, t) => {
|
|
4704
4704
|
fo.forEach((o) => {
|
|
4705
4705
|
const { setResizeHandlerState: n } = o, r = Je.includes(o);
|
|
4706
4706
|
n(e, r, t);
|
|
@@ -4856,8 +4856,8 @@ const ju = () => {
|
|
|
4856
4856
|
display: grid;
|
|
4857
4857
|
place-items: center;
|
|
4858
4858
|
z-index: 1;
|
|
4859
|
-
`, qu = [
|
|
4860
|
-
|
|
4859
|
+
`, qu = [Bo()], Vi = [
|
|
4860
|
+
Bo(),
|
|
4861
4861
|
Fa({
|
|
4862
4862
|
apply({ rects: e, elements: t }) {
|
|
4863
4863
|
Object.assign(t.floating.style, {
|
|
@@ -4896,7 +4896,7 @@ const ju = () => {
|
|
|
4896
4896
|
placement: u || "bottom-end",
|
|
4897
4897
|
open: b,
|
|
4898
4898
|
onOpenChange: k,
|
|
4899
|
-
whileElementsMounted:
|
|
4899
|
+
whileElementsMounted: Lo,
|
|
4900
4900
|
middleware: s ? Vi : qu
|
|
4901
4901
|
}), N = H([]), V = H([]), j = I(
|
|
4902
4902
|
(J) => {
|
|
@@ -4911,7 +4911,7 @@ const ju = () => {
|
|
|
4911
4911
|
focusItemOnHover: !d,
|
|
4912
4912
|
focusItemOnOpen: !d,
|
|
4913
4913
|
onNavigate: v
|
|
4914
|
-
}), ee =
|
|
4914
|
+
}), ee = Fo(D, { enabled: !n }), oe = yo(D), re = Wo(D, { role: "listbox" }), { getReferenceProps: Le, getFloatingProps: tt, getItemProps: xe } = vo(
|
|
4915
4915
|
[F, ee, oe, re]
|
|
4916
4916
|
), X = U(() => ({
|
|
4917
4917
|
activeIndex: y,
|
|
@@ -4934,7 +4934,7 @@ const ju = () => {
|
|
|
4934
4934
|
}),
|
|
4935
4935
|
children: f ? /* @__PURE__ */ C(Qu, { children: [
|
|
4936
4936
|
o ?? /* @__PURE__ */ c(
|
|
4937
|
-
|
|
4937
|
+
ce,
|
|
4938
4938
|
{
|
|
4939
4939
|
className: "select-reference",
|
|
4940
4940
|
size: "sm",
|
|
@@ -4944,7 +4944,7 @@ const ju = () => {
|
|
|
4944
4944
|
),
|
|
4945
4945
|
/* @__PURE__ */ c(A, { size: "xsm", iconId: b ? "CaretUp" : "CaretDown" })
|
|
4946
4946
|
] }) : o ?? /* @__PURE__ */ c(
|
|
4947
|
-
|
|
4947
|
+
ce,
|
|
4948
4948
|
{
|
|
4949
4949
|
className: "select-reference",
|
|
4950
4950
|
size: "sm",
|
|
@@ -4955,7 +4955,7 @@ const ju = () => {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
),
|
|
4957
4957
|
b && /* @__PURE__ */ c(qt, { children: /* @__PURE__ */ c(
|
|
4958
|
-
|
|
4958
|
+
Ao,
|
|
4959
4959
|
{
|
|
4960
4960
|
disabled: d,
|
|
4961
4961
|
context: D,
|
|
@@ -4993,7 +4993,7 @@ const ju = () => {
|
|
|
4993
4993
|
align-items: center;
|
|
4994
4994
|
justify-content: flex-start;
|
|
4995
4995
|
gap: 2px;
|
|
4996
|
-
`, [ot, fr] = O(["option", "text"]),
|
|
4996
|
+
`, [ot, fr] = O(["option", "text"]), Nt = L(
|
|
4997
4997
|
({
|
|
4998
4998
|
label: e,
|
|
4999
4999
|
optionKey: t,
|
|
@@ -5088,14 +5088,14 @@ const ju = () => {
|
|
|
5088
5088
|
}
|
|
5089
5089
|
`, th = g(A)`
|
|
5090
5090
|
transform: translate(-2px, -1px);
|
|
5091
|
-
`,
|
|
5091
|
+
`, lw = ({
|
|
5092
5092
|
actionItems: e,
|
|
5093
5093
|
disabled: t,
|
|
5094
5094
|
onSelect: o
|
|
5095
5095
|
}) => {
|
|
5096
5096
|
const n = U(
|
|
5097
5097
|
() => e.map((r) => /* @__PURE__ */ c(
|
|
5098
|
-
|
|
5098
|
+
Nt,
|
|
5099
5099
|
{
|
|
5100
5100
|
disabled: t || r.disabled,
|
|
5101
5101
|
label: /* @__PURE__ */ c(
|
|
@@ -5116,7 +5116,7 @@ const ju = () => {
|
|
|
5116
5116
|
[e, t]
|
|
5117
5117
|
);
|
|
5118
5118
|
return /* @__PURE__ */ c(xo, { disabled: t, onSelect: o, children: n });
|
|
5119
|
-
},
|
|
5119
|
+
}, _o = (e) => {
|
|
5120
5120
|
switch (e) {
|
|
5121
5121
|
case "normal":
|
|
5122
5122
|
return;
|
|
@@ -5136,14 +5136,14 @@ const ju = () => {
|
|
|
5136
5136
|
{
|
|
5137
5137
|
iconId: t,
|
|
5138
5138
|
size: r || "sm",
|
|
5139
|
-
color: n ? "grey" :
|
|
5139
|
+
color: n ? "grey" : _o(o) ? _o(o) : "black"
|
|
5140
5140
|
}
|
|
5141
5141
|
),
|
|
5142
5142
|
/* @__PURE__ */ c(
|
|
5143
5143
|
T,
|
|
5144
5144
|
{
|
|
5145
5145
|
variant: "body",
|
|
5146
|
-
color: n ? "grey" :
|
|
5146
|
+
color: n ? "grey" : _o(o) ? _o(o) : "dark",
|
|
5147
5147
|
children: e
|
|
5148
5148
|
}
|
|
5149
5149
|
)
|
|
@@ -5152,17 +5152,17 @@ const ju = () => {
|
|
|
5152
5152
|
display: flex;
|
|
5153
5153
|
gap: 8px;
|
|
5154
5154
|
align-items: center;
|
|
5155
|
-
`, [rh] = O(["shell-icon-button"]), ih = g(
|
|
5155
|
+
`, [rh] = O(["shell-icon-button"]), ih = g(ce)`
|
|
5156
5156
|
padding: ${rh("padding")};
|
|
5157
5157
|
|
|
5158
5158
|
--studio-c-icon-button-badge-top: 6px;
|
|
5159
5159
|
--studio-c-icon-button-badge-right: 6px;
|
|
5160
|
-
`,
|
|
5160
|
+
`, cw = (e) => /* @__PURE__ */ c(ih, { badgeBorderColor: "black", ...e }), Gi = ve(null), Fn = () => {
|
|
5161
5161
|
const e = me(Gi);
|
|
5162
5162
|
if (e === null)
|
|
5163
5163
|
throw new Error("Unable to use TabContext outside of a TabProvider");
|
|
5164
5164
|
return e;
|
|
5165
|
-
},
|
|
5165
|
+
}, dw = L(
|
|
5166
5166
|
({
|
|
5167
5167
|
children: e,
|
|
5168
5168
|
activeTab: t,
|
|
@@ -5179,7 +5179,7 @@ const ju = () => {
|
|
|
5179
5179
|
}), [d, s, r]);
|
|
5180
5180
|
return /* @__PURE__ */ c(Gi.Provider, { value: u, children: e });
|
|
5181
5181
|
}
|
|
5182
|
-
), [
|
|
5182
|
+
), [pe] = O(["tab"]), uw = L(
|
|
5183
5183
|
({
|
|
5184
5184
|
value: e,
|
|
5185
5185
|
text: t,
|
|
@@ -5253,9 +5253,9 @@ const ju = () => {
|
|
|
5253
5253
|
display: flex;
|
|
5254
5254
|
align-items: center;
|
|
5255
5255
|
justify-content: flex-start;
|
|
5256
|
-
column-gap: ${
|
|
5256
|
+
column-gap: ${pe("column-gap")};
|
|
5257
5257
|
background-color: transparent;
|
|
5258
|
-
padding: ${
|
|
5258
|
+
padding: ${pe("trigger-padding-y")} ${pe("trigger-padding-x")};
|
|
5259
5259
|
white-space: nowrap;
|
|
5260
5260
|
transition: all 0.15s ease;
|
|
5261
5261
|
|
|
@@ -5266,20 +5266,20 @@ const ju = () => {
|
|
|
5266
5266
|
|
|
5267
5267
|
/* Standard variant styling — file-folder tab metaphor */
|
|
5268
5268
|
&[data-variant="standard"] {
|
|
5269
|
-
padding: ${
|
|
5270
|
-
color: ${
|
|
5271
|
-
background-color: ${
|
|
5272
|
-
border-bottom: 1px solid ${
|
|
5269
|
+
padding: ${pe("trigger-padding-y")} ${pe("column-gap")};
|
|
5270
|
+
color: ${pe("standard-inactive-color")};
|
|
5271
|
+
background-color: ${pe("standard-inactive-bg")};
|
|
5272
|
+
border-bottom: 1px solid ${pe("standard-separator-color")};
|
|
5273
5273
|
|
|
5274
5274
|
/* Separator between tabs */
|
|
5275
5275
|
&:not(:last-of-type) {
|
|
5276
|
-
border-right: 1px solid ${
|
|
5276
|
+
border-right: 1px solid ${pe("standard-separator-color")};
|
|
5277
5277
|
}
|
|
5278
5278
|
|
|
5279
5279
|
/* Active tab: clear background, no bottom border (opens into content) */
|
|
5280
5280
|
&[data-active="true"] {
|
|
5281
|
-
color: ${
|
|
5282
|
-
background-color: ${
|
|
5281
|
+
color: ${pe("standard-active-color")};
|
|
5282
|
+
background-color: ${pe("standard-active-bg")};
|
|
5283
5283
|
border-bottom-color: transparent;
|
|
5284
5284
|
}
|
|
5285
5285
|
}
|
|
@@ -5305,31 +5305,31 @@ const ju = () => {
|
|
|
5305
5305
|
display: flex;
|
|
5306
5306
|
align-items: center;
|
|
5307
5307
|
justify-content: center;
|
|
5308
|
-
min-width: ${
|
|
5309
|
-
height: ${
|
|
5310
|
-
padding: ${
|
|
5311
|
-
border-radius: ${
|
|
5312
|
-
background-color: ${
|
|
5313
|
-
color: ${
|
|
5314
|
-
font-size: ${
|
|
5308
|
+
min-width: ${pe("badge-min-width")};
|
|
5309
|
+
height: ${pe("badge-height")};
|
|
5310
|
+
padding: ${pe("badge-padding")};
|
|
5311
|
+
border-radius: ${pe("badge-border-radius")};
|
|
5312
|
+
background-color: ${pe("badge-bg")};
|
|
5313
|
+
color: ${pe("badge-color")};
|
|
5314
|
+
font-size: ${pe("badge-font-size")};
|
|
5315
5315
|
font-weight: 600;
|
|
5316
5316
|
`, ch = g.button`
|
|
5317
5317
|
display: flex;
|
|
5318
5318
|
align-items: center;
|
|
5319
5319
|
justify-content: center;
|
|
5320
|
-
width: ${
|
|
5321
|
-
height: ${
|
|
5320
|
+
width: ${pe("close-size")};
|
|
5321
|
+
height: ${pe("close-size")};
|
|
5322
5322
|
padding: 0;
|
|
5323
5323
|
border: none;
|
|
5324
|
-
border-radius: ${
|
|
5324
|
+
border-radius: ${pe("close-border-radius")};
|
|
5325
5325
|
background-color: transparent;
|
|
5326
|
-
color: ${
|
|
5326
|
+
color: ${pe("close-color")};
|
|
5327
5327
|
cursor: pointer;
|
|
5328
5328
|
opacity: 0.6;
|
|
5329
5329
|
transition: all 0.15s ease;
|
|
5330
5330
|
|
|
5331
5331
|
&:hover {
|
|
5332
|
-
background-color: ${
|
|
5332
|
+
background-color: ${pe("close-hover-bg")};
|
|
5333
5333
|
opacity: 1;
|
|
5334
5334
|
}
|
|
5335
5335
|
|
|
@@ -5338,7 +5338,7 @@ const ju = () => {
|
|
|
5338
5338
|
outline-offset: -2px;
|
|
5339
5339
|
opacity: 1;
|
|
5340
5340
|
}
|
|
5341
|
-
`, [Ut] = O(["tab"]),
|
|
5341
|
+
`, [Ut] = O(["tab"]), hw = ({
|
|
5342
5342
|
children: e,
|
|
5343
5343
|
className: t
|
|
5344
5344
|
}) => {
|
|
@@ -5403,7 +5403,7 @@ const ju = () => {
|
|
|
5403
5403
|
height: ${Ut("indicator-height")};
|
|
5404
5404
|
background-color: ${Ut("indicator-color")};
|
|
5405
5405
|
transition: all 0.25s ease-in-out;
|
|
5406
|
-
`,
|
|
5406
|
+
`, pw = ({
|
|
5407
5407
|
children: e,
|
|
5408
5408
|
className: t,
|
|
5409
5409
|
style: o,
|
|
@@ -5456,7 +5456,7 @@ const ju = () => {
|
|
|
5456
5456
|
`, kn = (e) => {
|
|
5457
5457
|
const t = typeof e.children == "string" ? /* @__PURE__ */ c(T, { color: gh[e.color], variant: "body", children: e.children }) : e.children;
|
|
5458
5458
|
return /* @__PURE__ */ c(fh, { ...e, children: t });
|
|
5459
|
-
},
|
|
5459
|
+
}, gw = ({
|
|
5460
5460
|
tagName: e,
|
|
5461
5461
|
onRemove: t,
|
|
5462
5462
|
color: o = "light"
|
|
@@ -5489,7 +5489,7 @@ const ju = () => {
|
|
|
5489
5489
|
children: M.Children.map(u.props.children, d)
|
|
5490
5490
|
}) : u;
|
|
5491
5491
|
return /* @__PURE__ */ c(fe, { children: M.Children.map(o, d) });
|
|
5492
|
-
}, [Me] = O(["badge"]),
|
|
5492
|
+
}, [Me] = O(["badge"]), fw = ({
|
|
5493
5493
|
color: e,
|
|
5494
5494
|
children: t,
|
|
5495
5495
|
position: o,
|
|
@@ -5585,7 +5585,7 @@ const ju = () => {
|
|
|
5585
5585
|
height: ${l("spacing-16")};
|
|
5586
5586
|
--xform-factor: ${l("spacing-8")};
|
|
5587
5587
|
}
|
|
5588
|
-
`, [De] = O(["textarea"]), Yi =
|
|
5588
|
+
`, [De] = O(["textarea"]), Yi = ie(
|
|
5589
5589
|
({
|
|
5590
5590
|
autoCapitalize: e = "off",
|
|
5591
5591
|
autoComplete: t = "off",
|
|
@@ -5807,15 +5807,15 @@ const [vh, Ue, Oe] = O([
|
|
|
5807
5807
|
open: h,
|
|
5808
5808
|
onOpenChange: n === void 0 ? p : void 0,
|
|
5809
5809
|
placement: a ?? "top",
|
|
5810
|
-
whileElementsMounted:
|
|
5810
|
+
whileElementsMounted: Lo,
|
|
5811
5811
|
// Make sure the tooltip stays on the screen
|
|
5812
5812
|
middleware: [
|
|
5813
5813
|
Jr(s ?? 12),
|
|
5814
|
-
|
|
5814
|
+
Bo({ fallbackAxisSideDirection: "start" }),
|
|
5815
5815
|
Qr(),
|
|
5816
5816
|
Wa({ element: u })
|
|
5817
5817
|
]
|
|
5818
|
-
}), y = Pa(m, { move: !1, restMs: r }), v = ja(m), w = yo(m), $ =
|
|
5818
|
+
}), y = Pa(m, { move: !1, restMs: r }), v = ja(m), w = yo(m), $ = Wo(m, { role: "tooltip" }), { getReferenceProps: x, getFloatingProps: S } = vo(
|
|
5819
5819
|
d ? [] : [y, v, w, $]
|
|
5820
5820
|
);
|
|
5821
5821
|
return /* @__PURE__ */ C(fe, { children: [
|
|
@@ -5945,7 +5945,7 @@ const [vh, Ue, Oe] = O([
|
|
|
5945
5945
|
height: 10,
|
|
5946
5946
|
tipRadius: 2,
|
|
5947
5947
|
width: 11
|
|
5948
|
-
}, Ln =
|
|
5948
|
+
}, Ln = ie(
|
|
5949
5949
|
({ arrow: e = Rh, children: t, contain: o = !0, content: n, ...r }, i) => /* @__PURE__ */ c(
|
|
5950
5950
|
Ki,
|
|
5951
5951
|
{
|
|
@@ -5982,7 +5982,7 @@ const [vh, Ue, Oe] = O([
|
|
|
5982
5982
|
openDelay: o,
|
|
5983
5983
|
children: e
|
|
5984
5984
|
}
|
|
5985
|
-
), Wh =
|
|
5985
|
+
), Wh = ie(
|
|
5986
5986
|
({ variant: e, ...t }, o) => {
|
|
5987
5987
|
let n;
|
|
5988
5988
|
switch (e) {
|
|
@@ -6029,7 +6029,7 @@ const [vh, Ue, Oe] = O([
|
|
|
6029
6029
|
&:hover {
|
|
6030
6030
|
background-color: ${io("item-hover-bg")};
|
|
6031
6031
|
}
|
|
6032
|
-
`, [
|
|
6032
|
+
`, [Do] = O(["multi-select"]), Vh = L(
|
|
6033
6033
|
({ SelectAllItemTemplate: e, options: t }) => {
|
|
6034
6034
|
const { selected: o, onSetSelected: n, setOpen: r } = jh(), i = H(null), { isAllSelected: a, isPartiallySelected: s } = U(() => {
|
|
6035
6035
|
const u = t.every(
|
|
@@ -6057,12 +6057,12 @@ const [vh, Ue, Oe] = O([
|
|
|
6057
6057
|
] });
|
|
6058
6058
|
}
|
|
6059
6059
|
), Hh = g(Xi)`
|
|
6060
|
-
border-bottom: ${
|
|
6060
|
+
border-bottom: ${Do("border")} solid ${Do("select-all-border-color")};
|
|
6061
6061
|
position: sticky;
|
|
6062
6062
|
top: 0;
|
|
6063
6063
|
z-index: 2;
|
|
6064
|
-
padding-top: calc(${
|
|
6065
|
-
background-color: ${
|
|
6064
|
+
padding-top: calc(${Do("item-padding-y")} * 2);
|
|
6065
|
+
background-color: ${Do("background")};
|
|
6066
6066
|
`, Uh = L(
|
|
6067
6067
|
({
|
|
6068
6068
|
value: e,
|
|
@@ -6083,7 +6083,7 @@ const [vh, Ue, Oe] = O([
|
|
|
6083
6083
|
}) => n ? /* @__PURE__ */ c(n, { value: e, label: t, onRemove: o }) : /* @__PURE__ */ C(Yh, { children: [
|
|
6084
6084
|
/* @__PURE__ */ c(T, { variant: "body", color: "dark", children: t }),
|
|
6085
6085
|
/* @__PURE__ */ c(
|
|
6086
|
-
|
|
6086
|
+
ce,
|
|
6087
6087
|
{
|
|
6088
6088
|
size: "xxsm",
|
|
6089
6089
|
color: "black",
|
|
@@ -6123,12 +6123,12 @@ const [vh, Ue, Oe] = O([
|
|
|
6123
6123
|
placement: "bottom",
|
|
6124
6124
|
open: h,
|
|
6125
6125
|
onOpenChange: f,
|
|
6126
|
-
whileElementsMounted:
|
|
6126
|
+
whileElementsMounted: Lo,
|
|
6127
6127
|
middleware: Vi
|
|
6128
|
-
}), v =
|
|
6128
|
+
}), v = Fo(y, {
|
|
6129
6129
|
enabled: !i,
|
|
6130
6130
|
toggle: !!n
|
|
6131
|
-
}), w = yo(y), $ =
|
|
6131
|
+
}), w = yo(y), $ = Wo(y, { role: "listbox" }), { getReferenceProps: x, getFloatingProps: S } = vo([
|
|
6132
6132
|
v,
|
|
6133
6133
|
w,
|
|
6134
6134
|
$
|
|
@@ -6166,7 +6166,7 @@ const [vh, Ue, Oe] = O([
|
|
|
6166
6166
|
onRemove: k
|
|
6167
6167
|
}
|
|
6168
6168
|
)),
|
|
6169
|
-
h && /* @__PURE__ */ c(qt, { children: /* @__PURE__ */ c(
|
|
6169
|
+
h && /* @__PURE__ */ c(qt, { children: /* @__PURE__ */ c(Ao, { context: y, modal: !1, children: /* @__PURE__ */ C(
|
|
6170
6170
|
Zh,
|
|
6171
6171
|
{
|
|
6172
6172
|
ref: b.setFloating,
|
|
@@ -6237,7 +6237,7 @@ const [vh, Ue, Oe] = O([
|
|
|
6237
6237
|
&.selectAllHidden {
|
|
6238
6238
|
padding-top: ${ke("list-padding")};
|
|
6239
6239
|
}
|
|
6240
|
-
`,
|
|
6240
|
+
`, mw = L(({ className: e }) => {
|
|
6241
6241
|
const t = _e();
|
|
6242
6242
|
return /* @__PURE__ */ C(
|
|
6243
6243
|
"svg",
|
|
@@ -6466,7 +6466,7 @@ const ap = g.div`
|
|
|
6466
6466
|
-webkit-box-orient: vertical;
|
|
6467
6467
|
overflow: hidden;
|
|
6468
6468
|
text-overflow: ellipsis;
|
|
6469
|
-
`, cp = (e) => /* @__PURE__ */ c(lp, { ...e, variant: "body", color: "dark" }),
|
|
6469
|
+
`, cp = (e) => /* @__PURE__ */ c(lp, { ...e, variant: "body", color: "dark" }), bw = L(
|
|
6470
6470
|
({
|
|
6471
6471
|
color: e,
|
|
6472
6472
|
title: t,
|
|
@@ -6489,7 +6489,7 @@ const ap = g.div`
|
|
|
6489
6489
|
] }) }) })
|
|
6490
6490
|
), dp = L(
|
|
6491
6491
|
({ description: e }) => {
|
|
6492
|
-
const { open: t } =
|
|
6492
|
+
const { open: t } = Vo();
|
|
6493
6493
|
return /* @__PURE__ */ c(
|
|
6494
6494
|
up,
|
|
6495
6495
|
{
|
|
@@ -6511,7 +6511,7 @@ const ap = g.div`
|
|
|
6511
6511
|
white-space: normal;
|
|
6512
6512
|
word-break: break-word;
|
|
6513
6513
|
}
|
|
6514
|
-
`, [at] = O(["collapsible-artifact"]),
|
|
6514
|
+
`, [at] = O(["collapsible-artifact"]), yw = L(
|
|
6515
6515
|
({
|
|
6516
6516
|
onExternalClick: e,
|
|
6517
6517
|
id: t,
|
|
@@ -6574,7 +6574,7 @@ const ap = g.div`
|
|
|
6574
6574
|
justify-content: flex-start;
|
|
6575
6575
|
position: relative;
|
|
6576
6576
|
width: 100%;
|
|
6577
|
-
`, pp = g(
|
|
6577
|
+
`, pp = g(ce)`
|
|
6578
6578
|
z-index: 1;
|
|
6579
6579
|
`, gp = g.div`
|
|
6580
6580
|
align-items: flex-start;
|
|
@@ -6582,7 +6582,7 @@ const ap = g.div`
|
|
|
6582
6582
|
gap: ${at("name-and-selected-spacing")};
|
|
6583
6583
|
padding: ${at("padding")};
|
|
6584
6584
|
width: 100%;
|
|
6585
|
-
`, fp = g(
|
|
6585
|
+
`, fp = g(ce)`
|
|
6586
6586
|
z-index: 1;
|
|
6587
6587
|
|
|
6588
6588
|
&[data-state="open"] {
|
|
@@ -6608,7 +6608,7 @@ const ap = g.div`
|
|
|
6608
6608
|
`, vp = g.div`
|
|
6609
6609
|
padding: ${at("name-and-selected-spacing")};
|
|
6610
6610
|
width: 100%;
|
|
6611
|
-
`, [Ge] = O(["collapsible-artifact-version"]),
|
|
6611
|
+
`, [Ge] = O(["collapsible-artifact-version"]), vw = L(
|
|
6612
6612
|
({
|
|
6613
6613
|
onListItemAction: e,
|
|
6614
6614
|
isSelected: t,
|
|
@@ -6693,7 +6693,7 @@ const ap = g.div`
|
|
|
6693
6693
|
"collapsible-list-container",
|
|
6694
6694
|
"collapsible-list-header-container",
|
|
6695
6695
|
"collapsible-list-toggled-container"
|
|
6696
|
-
]),
|
|
6696
|
+
]), xw = ({
|
|
6697
6697
|
headerContent: e,
|
|
6698
6698
|
toggledContent: t,
|
|
6699
6699
|
isOpen: o,
|
|
@@ -6701,7 +6701,7 @@ const ap = g.div`
|
|
|
6701
6701
|
}) => /* @__PURE__ */ c(Tn, { open: o, onOpenChange: n, children: /* @__PURE__ */ C(Ip, { children: [
|
|
6702
6702
|
/* @__PURE__ */ c(mi, { children: /* @__PURE__ */ C(_p, { children: [
|
|
6703
6703
|
/* @__PURE__ */ c(
|
|
6704
|
-
|
|
6704
|
+
ce,
|
|
6705
6705
|
{
|
|
6706
6706
|
className: "caret-button",
|
|
6707
6707
|
color: "black",
|
|
@@ -6770,7 +6770,7 @@ const ap = g.div`
|
|
|
6770
6770
|
}
|
|
6771
6771
|
),
|
|
6772
6772
|
e && /* @__PURE__ */ c(Tp, { children: /* @__PURE__ */ c(Wh, { variant: "dark", content: a, children: /* @__PURE__ */ c(
|
|
6773
|
-
|
|
6773
|
+
ce,
|
|
6774
6774
|
{
|
|
6775
6775
|
onClick: u,
|
|
6776
6776
|
iconId: "DeleteOutlined",
|
|
@@ -6952,7 +6952,7 @@ const ap = g.div`
|
|
|
6952
6952
|
`, Lp = g.div`
|
|
6953
6953
|
cursor: pointer;
|
|
6954
6954
|
width: 100%;
|
|
6955
|
-
`, Wp = g(
|
|
6955
|
+
`, Wp = g(Nt)`
|
|
6956
6956
|
width: 100%;
|
|
6957
6957
|
display: flex;
|
|
6958
6958
|
align-items: center;
|
|
@@ -7012,7 +7012,7 @@ function jp(e, t, o = "long") {
|
|
|
7012
7012
|
}).format(t).split(/\s/g).slice(2).join(" ");
|
|
7013
7013
|
}
|
|
7014
7014
|
const cn = {}, uo = {};
|
|
7015
|
-
function
|
|
7015
|
+
function Mt(e, t) {
|
|
7016
7016
|
try {
|
|
7017
7017
|
const n = (cn[e] || (cn[e] = new Intl.DateTimeFormat("en-US", {
|
|
7018
7018
|
timeZone: e,
|
|
@@ -7034,7 +7034,7 @@ function yr(e, t) {
|
|
|
7034
7034
|
class lt extends Date {
|
|
7035
7035
|
//#region static
|
|
7036
7036
|
constructor(...t) {
|
|
7037
|
-
super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(
|
|
7037
|
+
super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Mt(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), es(this), Cn(this)) : this.setTime(Date.now());
|
|
7038
7038
|
}
|
|
7039
7039
|
static tz(t, ...o) {
|
|
7040
7040
|
return o.length ? new lt(...o, t) : new lt(Date.now(), t);
|
|
@@ -7045,7 +7045,7 @@ class lt extends Date {
|
|
|
7045
7045
|
return new lt(+this, t);
|
|
7046
7046
|
}
|
|
7047
7047
|
getTimezoneOffset() {
|
|
7048
|
-
const t = -
|
|
7048
|
+
const t = -Mt(this.timeZone, this);
|
|
7049
7049
|
return t > 0 ? Math.floor(t) : Math.ceil(t);
|
|
7050
7050
|
}
|
|
7051
7051
|
//#endregion
|
|
@@ -7074,13 +7074,13 @@ Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
|
|
|
7074
7074
|
}));
|
|
7075
7075
|
});
|
|
7076
7076
|
function Cn(e) {
|
|
7077
|
-
e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-
|
|
7077
|
+
e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-Mt(e.timeZone, e) * 60));
|
|
7078
7078
|
}
|
|
7079
7079
|
function Hp(e) {
|
|
7080
7080
|
Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), es(e);
|
|
7081
7081
|
}
|
|
7082
7082
|
function es(e) {
|
|
7083
|
-
const t =
|
|
7083
|
+
const t = Mt(e.timeZone, e), o = t > 0 ? Math.floor(t) : Math.ceil(t), n = /* @__PURE__ */ new Date(+e);
|
|
7084
7084
|
n.setUTCHours(n.getUTCHours() - 1);
|
|
7085
7085
|
const r = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), i = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), a = r - i, s = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
|
|
7086
7086
|
a && s && e.internal.setUTCMinutes(e.internal.getUTCMinutes() + a);
|
|
@@ -7088,12 +7088,12 @@ function es(e) {
|
|
|
7088
7088
|
d && Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + d);
|
|
7089
7089
|
const u = /* @__PURE__ */ new Date(+e);
|
|
7090
7090
|
u.setUTCSeconds(0);
|
|
7091
|
-
const h = r > 0 ? u.getSeconds() : (u.getSeconds() - 60) % 60, p = Math.round(-(
|
|
7091
|
+
const h = r > 0 ? u.getSeconds() : (u.getSeconds() - 60) % 60, p = Math.round(-(Mt(e.timeZone, e) * 60)) % 60;
|
|
7092
7092
|
(p || h) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + p), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + p + h));
|
|
7093
|
-
const f =
|
|
7093
|
+
const f = Mt(e.timeZone, e), b = f > 0 ? Math.floor(f) : Math.ceil(f), y = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - b, v = b !== o, w = y - d;
|
|
7094
7094
|
if (v && w) {
|
|
7095
7095
|
Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + w);
|
|
7096
|
-
const $ =
|
|
7096
|
+
const $ = Mt(e.timeZone, e), x = $ > 0 ? Math.floor($) : Math.ceil($), S = b - x;
|
|
7097
7097
|
S && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + S), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + S));
|
|
7098
7098
|
}
|
|
7099
7099
|
}
|
|
@@ -7812,10 +7812,10 @@ var W;
|
|
|
7812
7812
|
(function(e) {
|
|
7813
7813
|
e.Root = "root", e.Chevron = "chevron", e.Day = "day", e.DayButton = "day_button", e.CaptionLabel = "caption_label", e.Dropdowns = "dropdowns", e.Dropdown = "dropdown", e.DropdownRoot = "dropdown_root", e.Footer = "footer", e.MonthGrid = "month_grid", e.MonthCaption = "month_caption", e.MonthsDropdown = "months_dropdown", e.Month = "month", e.Months = "months", e.Nav = "nav", e.NextMonthButton = "button_next", e.PreviousMonthButton = "button_previous", e.Week = "week", e.Weeks = "weeks", e.Weekday = "weekday", e.Weekdays = "weekdays", e.WeekNumber = "week_number", e.WeekNumberHeader = "week_number_header", e.YearsDropdown = "years_dropdown";
|
|
7814
7814
|
})(W || (W = {}));
|
|
7815
|
-
var
|
|
7815
|
+
var ge;
|
|
7816
7816
|
(function(e) {
|
|
7817
7817
|
e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
|
|
7818
|
-
})(
|
|
7818
|
+
})(ge || (ge = {}));
|
|
7819
7819
|
var Xe;
|
|
7820
7820
|
(function(e) {
|
|
7821
7821
|
e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
|
|
@@ -8010,11 +8010,11 @@ function yt(e, t, o = ut) {
|
|
|
8010
8010
|
}
|
|
8011
8011
|
function tf(e, t, o, n, r) {
|
|
8012
8012
|
const { disabled: i, hidden: a, modifiers: s, showOutsideDays: d, broadcastCalendar: u, today: h } = t, { isSameDay: p, isSameMonth: f, startOfMonth: b, isBefore: m, endOfMonth: y, isAfter: v } = r, w = o && b(o), $ = n && y(n), x = {
|
|
8013
|
-
[
|
|
8014
|
-
[
|
|
8015
|
-
[
|
|
8016
|
-
[
|
|
8017
|
-
[
|
|
8013
|
+
[ge.focused]: [],
|
|
8014
|
+
[ge.outside]: [],
|
|
8015
|
+
[ge.disabled]: [],
|
|
8016
|
+
[ge.hidden]: [],
|
|
8017
|
+
[ge.today]: []
|
|
8018
8018
|
}, S = {};
|
|
8019
8019
|
for (const k of e) {
|
|
8020
8020
|
const { date: z, displayMonth: _ } = k, D = !!(_ && !f(z, _)), N = !!(w && m(z, w)), V = !!($ && v(z, $)), j = !!(i && yt(z, i, r)), F = !!(a && yt(z, a, r)) || N || V || // Broadcast calendar will show outside days as default
|
|
@@ -8026,11 +8026,11 @@ function tf(e, t, o, n, r) {
|
|
|
8026
8026
|
}
|
|
8027
8027
|
return (k) => {
|
|
8028
8028
|
const z = {
|
|
8029
|
-
[
|
|
8030
|
-
[
|
|
8031
|
-
[
|
|
8032
|
-
[
|
|
8033
|
-
[
|
|
8029
|
+
[ge.focused]: !1,
|
|
8030
|
+
[ge.disabled]: !1,
|
|
8031
|
+
[ge.hidden]: !1,
|
|
8032
|
+
[ge.outside]: !1,
|
|
8033
|
+
[ge.today]: !1
|
|
8034
8034
|
}, _ = {};
|
|
8035
8035
|
for (const D in x) {
|
|
8036
8036
|
const N = x[D];
|
|
@@ -8046,7 +8046,7 @@ function tf(e, t, o, n, r) {
|
|
|
8046
8046
|
};
|
|
8047
8047
|
}
|
|
8048
8048
|
function of(e, t, o = {}) {
|
|
8049
|
-
return Object.entries(e).filter(([, r]) => r === !0).reduce((r, [i]) => (o[i] ? r.push(o[i]) : t[
|
|
8049
|
+
return Object.entries(e).filter(([, r]) => r === !0).reduce((r, [i]) => (o[i] ? r.push(o[i]) : t[ge[i]] ? r.push(t[ge[i]]) : t[Xe[i]] && r.push(t[Xe[i]]), r), [t[W.Day]]);
|
|
8050
8050
|
}
|
|
8051
8051
|
function nf(e) {
|
|
8052
8052
|
return {
|
|
@@ -8071,8 +8071,8 @@ function sf() {
|
|
|
8071
8071
|
const e = {};
|
|
8072
8072
|
for (const t in W)
|
|
8073
8073
|
e[W[t]] = `rdp-${W[t]}`;
|
|
8074
|
-
for (const t in
|
|
8075
|
-
e[
|
|
8074
|
+
for (const t in ge)
|
|
8075
|
+
e[ge[t]] = `rdp-${ge[t]}`;
|
|
8076
8076
|
for (const t in Xe)
|
|
8077
8077
|
e[Xe[t]] = `rdp-${Xe[t]}`;
|
|
8078
8078
|
for (const t in ze)
|
|
@@ -8360,12 +8360,12 @@ function Vf(e) {
|
|
|
8360
8360
|
const t = [];
|
|
8361
8361
|
return e.reduce((o, n) => o.concat(n.weeks.slice()), t.slice());
|
|
8362
8362
|
}
|
|
8363
|
-
function
|
|
8363
|
+
function Go(e, t) {
|
|
8364
8364
|
const [o, n] = P(e);
|
|
8365
8365
|
return [t === void 0 ? o : t, n];
|
|
8366
8366
|
}
|
|
8367
8367
|
function Hf(e, t) {
|
|
8368
|
-
const [o, n] = Wf(e, t), { startOfMonth: r, endOfMonth: i } = t, a = wr(e, o, n, t), [s, d] =
|
|
8368
|
+
const [o, n] = Wf(e, t), { startOfMonth: r, endOfMonth: i } = t, a = wr(e, o, n, t), [s, d] = Go(
|
|
8369
8369
|
a,
|
|
8370
8370
|
// initialMonth is always computed from props.month if provided
|
|
8371
8371
|
e.month ? a : void 0
|
|
@@ -8399,13 +8399,13 @@ var rt;
|
|
|
8399
8399
|
e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
|
|
8400
8400
|
})(rt || (rt = {}));
|
|
8401
8401
|
function kr(e) {
|
|
8402
|
-
return !e[
|
|
8402
|
+
return !e[ge.disabled] && !e[ge.hidden] && !e[ge.outside];
|
|
8403
8403
|
}
|
|
8404
8404
|
function Uf(e, t, o, n) {
|
|
8405
8405
|
let r, i = -1;
|
|
8406
8406
|
for (const a of e) {
|
|
8407
8407
|
const s = t(a);
|
|
8408
|
-
kr(s) && (s[
|
|
8408
|
+
kr(s) && (s[ge.focused] && i < rt.FocusedModifier ? (r = a, i = rt.FocusedModifier) : n != null && n.isEqualTo(a) && i < rt.LastFocused ? (r = a, i = rt.LastFocused) : o(a.date) && i < rt.Selected ? (r = a, i = rt.Selected) : s[ge.today] && i < rt.Today && (r = a, i = rt.Today));
|
|
8409
8409
|
}
|
|
8410
8410
|
return r || (r = e.find((a) => kr(t(a)))), r;
|
|
8411
8411
|
}
|
|
@@ -8445,7 +8445,7 @@ function Yf(e, t, o, n, r) {
|
|
|
8445
8445
|
};
|
|
8446
8446
|
}
|
|
8447
8447
|
function Kf(e, t) {
|
|
8448
|
-
const { selected: o, required: n, onSelect: r } = e, [i, a] =
|
|
8448
|
+
const { selected: o, required: n, onSelect: r } = e, [i, a] = Go(o, r ? o : void 0), s = r ? o : i, { isSameDay: d } = t, u = (b) => (s == null ? void 0 : s.some((m) => d(m, b))) ?? !1, { min: h, max: p } = e;
|
|
8449
8449
|
return {
|
|
8450
8450
|
selected: s,
|
|
8451
8451
|
select: (b, m, y) => {
|
|
@@ -8523,7 +8523,7 @@ function Xf(e, t, o = ut) {
|
|
|
8523
8523
|
return !1;
|
|
8524
8524
|
}
|
|
8525
8525
|
function Jf(e, t) {
|
|
8526
|
-
const { disabled: o, excludeDisabled: n, selected: r, required: i, onSelect: a } = e, [s, d] =
|
|
8526
|
+
const { disabled: o, excludeDisabled: n, selected: r, required: i, onSelect: a } = e, [s, d] = Go(r, a ? r : void 0), u = a ? r : s;
|
|
8527
8527
|
return {
|
|
8528
8528
|
selected: u,
|
|
8529
8529
|
select: (f, b, m) => {
|
|
@@ -8534,7 +8534,7 @@ function Jf(e, t) {
|
|
|
8534
8534
|
};
|
|
8535
8535
|
}
|
|
8536
8536
|
function Qf(e, t) {
|
|
8537
|
-
const { selected: o, required: n, onSelect: r } = e, [i, a] =
|
|
8537
|
+
const { selected: o, required: n, onSelect: r } = e, [i, a] = Go(o, r ? o : void 0), s = r ? o : i, { isSameDay: d } = t;
|
|
8538
8538
|
return {
|
|
8539
8539
|
selected: s,
|
|
8540
8540
|
select: (p, f, b) => {
|
|
@@ -8598,18 +8598,18 @@ function tm(e) {
|
|
|
8598
8598
|
t.formatters,
|
|
8599
8599
|
t.labels,
|
|
8600
8600
|
t.classNames
|
|
8601
|
-
]), { captionLayout: d, mode: u, navLayout: h, numberOfMonths: p = 1, onDayBlur: f, onDayClick: b, onDayFocus: m, onDayKeyDown: y, onDayMouseEnter: v, onDayMouseLeave: w, onNextClick: $, onPrevClick: x, showWeekNumber: S, styles: k } = t, { formatCaption: z, formatDay: _, formatMonthDropdown: D, formatWeekNumber: N, formatWeekNumberHeader: V, formatWeekdayName: j, formatYearDropdown: F } = n, ee = Hf(t, i), { days: oe, months: re, navStart: Le, navEnd: tt, previousMonth: xe, nextMonth: X, goToMonth: J } = ee, K = tf(oe, t, Le, tt, i), { isSelected: te, select: We, selected:
|
|
8601
|
+
]), { captionLayout: d, mode: u, navLayout: h, numberOfMonths: p = 1, onDayBlur: f, onDayClick: b, onDayFocus: m, onDayKeyDown: y, onDayMouseEnter: v, onDayMouseLeave: w, onNextClick: $, onPrevClick: x, showWeekNumber: S, styles: k } = t, { formatCaption: z, formatDay: _, formatMonthDropdown: D, formatWeekNumber: N, formatWeekNumberHeader: V, formatWeekdayName: j, formatYearDropdown: F } = n, ee = Hf(t, i), { days: oe, months: re, navStart: Le, navEnd: tt, previousMonth: xe, nextMonth: X, goToMonth: J } = ee, K = tf(oe, t, Le, tt, i), { isSelected: te, select: We, selected: se } = em(t, i) ?? {}, { blur: Pe, focused: gt, isFocusTarget: ra, moveFocus: Kn, setFocused: So } = Yf(t, ee, K, te ?? (() => !1), i), { labelDayButton: ia, labelGridcell: sa, labelGrid: aa, labelMonthDropdown: la, labelNav: qn, labelPrevious: ca, labelNext: da, labelWeekday: ua, labelWeekNumber: ha, labelWeekNumberHeader: pa, labelYearDropdown: ga } = r, fa = U(() => yf(i, t.ISOWeek), [i, t.ISOWeek]), Zn = u !== void 0 || b !== void 0, Xo = I(() => {
|
|
8602
8602
|
xe && (J(xe), x == null || x(xe));
|
|
8603
8603
|
}, [xe, J, x]), Jo = I(() => {
|
|
8604
8604
|
X && (J(X), $ == null || $(X));
|
|
8605
|
-
}, [J, X, $]), ma = I((q,
|
|
8606
|
-
Y.preventDefault(), Y.stopPropagation(),
|
|
8607
|
-
}, [We, b,
|
|
8608
|
-
|
|
8609
|
-
}, [m,
|
|
8610
|
-
Pe(), f == null || f(q.date,
|
|
8611
|
-
}, [Pe, f]), va = I((q,
|
|
8612
|
-
const
|
|
8605
|
+
}, [J, X, $]), ma = I((q, ae) => (Y) => {
|
|
8606
|
+
Y.preventDefault(), Y.stopPropagation(), So(q), We == null || We(q.date, ae, Y), b == null || b(q.date, ae, Y);
|
|
8607
|
+
}, [We, b, So]), ba = I((q, ae) => (Y) => {
|
|
8608
|
+
So(q), m == null || m(q.date, ae, Y);
|
|
8609
|
+
}, [m, So]), ya = I((q, ae) => (Y) => {
|
|
8610
|
+
Pe(), f == null || f(q.date, ae, Y);
|
|
8611
|
+
}, [Pe, f]), va = I((q, ae) => (Y) => {
|
|
8612
|
+
const ue = {
|
|
8613
8613
|
ArrowLeft: [
|
|
8614
8614
|
Y.shiftKey ? "month" : "day",
|
|
8615
8615
|
t.dir === "rtl" ? "after" : "before"
|
|
@@ -8625,22 +8625,22 @@ function tm(e) {
|
|
|
8625
8625
|
Home: ["startOfWeek", "before"],
|
|
8626
8626
|
End: ["endOfWeek", "after"]
|
|
8627
8627
|
};
|
|
8628
|
-
if (
|
|
8628
|
+
if (ue[Y.key]) {
|
|
8629
8629
|
Y.preventDefault(), Y.stopPropagation();
|
|
8630
|
-
const [Te, Q] =
|
|
8630
|
+
const [Te, Q] = ue[Y.key];
|
|
8631
8631
|
Kn(Te, Q);
|
|
8632
8632
|
}
|
|
8633
|
-
y == null || y(q.date,
|
|
8634
|
-
}, [Kn, y, t.dir]), xa = I((q,
|
|
8635
|
-
v == null || v(q.date,
|
|
8636
|
-
}, [v]), wa = I((q,
|
|
8637
|
-
w == null || w(q.date,
|
|
8638
|
-
}, [w]), ka = I((q) => (
|
|
8639
|
-
const Y = Number(
|
|
8640
|
-
J(
|
|
8641
|
-
}, [i, J]), $a = I((q) => (
|
|
8642
|
-
const Y = Number(
|
|
8643
|
-
J(
|
|
8633
|
+
y == null || y(q.date, ae, Y);
|
|
8634
|
+
}, [Kn, y, t.dir]), xa = I((q, ae) => (Y) => {
|
|
8635
|
+
v == null || v(q.date, ae, Y);
|
|
8636
|
+
}, [v]), wa = I((q, ae) => (Y) => {
|
|
8637
|
+
w == null || w(q.date, ae, Y);
|
|
8638
|
+
}, [w]), ka = I((q) => (ae) => {
|
|
8639
|
+
const Y = Number(ae.target.value), ue = i.setMonth(i.startOfMonth(q), Y);
|
|
8640
|
+
J(ue);
|
|
8641
|
+
}, [i, J]), $a = I((q) => (ae) => {
|
|
8642
|
+
const Y = Number(ae.target.value), ue = i.setYear(i.startOfMonth(q), Y);
|
|
8643
|
+
J(ue);
|
|
8644
8644
|
}, [i, J]), { className: Ca, style: Sa } = U(() => ({
|
|
8645
8645
|
className: [s[W.Root], t.className].filter(Boolean).join(" "),
|
|
8646
8646
|
style: { ...k == null ? void 0 : k[W.Root], ...t.style }
|
|
@@ -8653,7 +8653,7 @@ function tm(e) {
|
|
|
8653
8653
|
});
|
|
8654
8654
|
const _a = {
|
|
8655
8655
|
dayPickerProps: t,
|
|
8656
|
-
selected:
|
|
8656
|
+
selected: se,
|
|
8657
8657
|
select: We,
|
|
8658
8658
|
isSelected: te,
|
|
8659
8659
|
months: re,
|
|
@@ -8677,23 +8677,23 @@ function tm(e) {
|
|
|
8677
8677
|
o.Months,
|
|
8678
8678
|
{ className: s[W.Months], style: k == null ? void 0 : k[W.Months] },
|
|
8679
8679
|
!t.hideNavigation && !h && M.createElement(o.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: s[W.Nav], style: k == null ? void 0 : k[W.Nav], "aria-label": qn(), onPreviousClick: Xo, onNextClick: Jo, previousMonth: xe, nextMonth: X }),
|
|
8680
|
-
re.map((q,
|
|
8680
|
+
re.map((q, ae) => M.createElement(
|
|
8681
8681
|
o.Month,
|
|
8682
8682
|
{
|
|
8683
8683
|
"data-animated-month": t.animate ? "true" : void 0,
|
|
8684
8684
|
className: s[W.Month],
|
|
8685
8685
|
style: k == null ? void 0 : k[W.Month],
|
|
8686
8686
|
// biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
|
|
8687
|
-
key:
|
|
8688
|
-
displayIndex:
|
|
8687
|
+
key: ae,
|
|
8688
|
+
displayIndex: ae,
|
|
8689
8689
|
calendarMonth: q
|
|
8690
8690
|
},
|
|
8691
|
-
h === "around" && !t.hideNavigation &&
|
|
8691
|
+
h === "around" && !t.hideNavigation && ae === 0 && M.createElement(
|
|
8692
8692
|
o.PreviousMonthButton,
|
|
8693
8693
|
{ type: "button", className: s[W.PreviousMonthButton], tabIndex: xe ? void 0 : -1, "aria-disabled": xe ? void 0 : !0, "aria-label": ca(xe), onClick: Xo, "data-animated-button": t.animate ? "true" : void 0 },
|
|
8694
8694
|
M.createElement(o.Chevron, { disabled: xe ? void 0 : !0, className: s[W.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
|
|
8695
8695
|
),
|
|
8696
|
-
M.createElement(o.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: s[W.MonthCaption], style: k == null ? void 0 : k[W.MonthCaption], calendarMonth: q, displayIndex:
|
|
8696
|
+
M.createElement(o.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: s[W.MonthCaption], style: k == null ? void 0 : k[W.MonthCaption], calendarMonth: q, displayIndex: ae }, d != null && d.startsWith("dropdown") ? M.createElement(
|
|
8697
8697
|
o.DropdownNav,
|
|
8698
8698
|
{ className: s[W.Dropdowns], style: k == null ? void 0 : k[W.Dropdowns] },
|
|
8699
8699
|
d === "dropdown" || d === "dropdown-months" ? M.createElement(o.MonthsDropdown, { className: s[W.MonthsDropdown], "aria-label": la(), classNames: s, components: o, disabled: !!t.disableNavigation, onChange: ka(q.date), options: mf(q.date, Le, tt, n, i), style: k == null ? void 0 : k[W.Dropdown], value: i.getMonth(q.date) }) : M.createElement("span", null, D(q.date, i)),
|
|
@@ -8714,12 +8714,12 @@ function tm(e) {
|
|
|
8714
8714
|
// biome-ignore lint/a11y/useSemanticElements: breaking change
|
|
8715
8715
|
M.createElement(o.CaptionLabel, { className: s[W.CaptionLabel], role: "status", "aria-live": "polite" }, z(q.date, i.options, i))
|
|
8716
8716
|
)),
|
|
8717
|
-
h === "around" && !t.hideNavigation &&
|
|
8717
|
+
h === "around" && !t.hideNavigation && ae === p - 1 && M.createElement(
|
|
8718
8718
|
o.NextMonthButton,
|
|
8719
8719
|
{ type: "button", className: s[W.NextMonthButton], tabIndex: X ? void 0 : -1, "aria-disabled": X ? void 0 : !0, "aria-label": da(X), onClick: Jo, "data-animated-button": t.animate ? "true" : void 0 },
|
|
8720
8720
|
M.createElement(o.Chevron, { disabled: X ? void 0 : !0, className: s[W.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
|
|
8721
8721
|
),
|
|
8722
|
-
|
|
8722
|
+
ae === p - 1 && h === "after" && !t.hideNavigation && M.createElement(o.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: s[W.Nav], style: k == null ? void 0 : k[W.Nav], "aria-label": qn(), onPreviousClick: Xo, onNextClick: Jo, previousMonth: xe, nextMonth: X }),
|
|
8723
8723
|
M.createElement(
|
|
8724
8724
|
o.MonthGrid,
|
|
8725
8725
|
{ role: "grid", "aria-multiselectable": u === "multiple" || u === "range", "aria-label": aa(q.date, i.options, i) || void 0, className: s[W.MonthGrid], style: k == null ? void 0 : k[W.MonthGrid] },
|
|
@@ -8736,16 +8736,16 @@ function tm(e) {
|
|
|
8736
8736
|
M.createElement(o.WeekNumber, { week: Y, style: k == null ? void 0 : k[W.WeekNumber], "aria-label": ha(Y.weekNumber, {
|
|
8737
8737
|
locale: a
|
|
8738
8738
|
}), className: s[W.WeekNumber], scope: "row", role: "rowheader" }, N(Y.weekNumber, i)),
|
|
8739
|
-
Y.days.map((
|
|
8740
|
-
const { date: Te } =
|
|
8741
|
-
if (Q[
|
|
8742
|
-
const { from: Qo, to: en } =
|
|
8743
|
-
Q[Xe.range_start] = !!(Qo && en && i.isSameDay(Te, Qo)), Q[Xe.range_end] = !!(Qo && en && i.isSameDay(Te, en)), Q[Xe.range_middle] = bt(
|
|
8739
|
+
Y.days.map((ue) => {
|
|
8740
|
+
const { date: Te } = ue, Q = K(ue);
|
|
8741
|
+
if (Q[ge.focused] = !Q.hidden && !!(gt != null && gt.isEqualTo(ue)), Q[Xe.selected] = (te == null ? void 0 : te(Te)) || Q.selected, Wn(se)) {
|
|
8742
|
+
const { from: Qo, to: en } = se;
|
|
8743
|
+
Q[Xe.range_start] = !!(Qo && en && i.isSameDay(Te, Qo)), Q[Xe.range_end] = !!(Qo && en && i.isSameDay(Te, en)), Q[Xe.range_middle] = bt(se, Te, !0, i);
|
|
8744
8744
|
}
|
|
8745
8745
|
const Da = bf(Q, k, t.modifiersStyles), za = of(Q, s, t.modifiersClassNames), Ta = !Zn && !Q.hidden ? sa(Te, Q, i.options, i) : void 0;
|
|
8746
8746
|
return (
|
|
8747
8747
|
// biome-ignore lint/a11y/useSemanticElements: react component
|
|
8748
|
-
M.createElement(o.Day, { key: `${i.format(Te, "yyyy-MM-dd")}_${i.format(
|
|
8748
|
+
M.createElement(o.Day, { key: `${i.format(Te, "yyyy-MM-dd")}_${i.format(ue.displayMonth, "yyyy-MM")}`, day: ue, modifiers: Q, className: za.join(" "), style: Da, role: "gridcell", "aria-selected": Q.selected || void 0, "aria-label": Ta, "data-day": i.format(Te, "yyyy-MM-dd"), "data-month": ue.outside ? i.format(Te, "yyyy-MM") : void 0, "data-selected": Q.selected || void 0, "data-disabled": Q.disabled || void 0, "data-hidden": Q.hidden || void 0, "data-outside": ue.outside || void 0, "data-focused": Q.focused || void 0, "data-today": Q.today || void 0 }, !Q.hidden && Zn ? M.createElement(o.DayButton, { className: s[W.DayButton], style: k == null ? void 0 : k[W.DayButton], type: "button", day: ue, modifiers: Q, disabled: Q.disabled || void 0, tabIndex: ra(ue) ? 0 : -1, "aria-label": ia(Te, Q, i.options, i), onClick: ma(ue, Q), onBlur: ya(ue, Q), onFocus: ba(ue, Q), onKeyDown: va(ue, Q), onMouseEnter: xa(ue, Q), onMouseLeave: wa(ue, Q) }, _(Te, i.options, i)) : !Q.hidden && _(ue.date, i.options, i))
|
|
8749
8749
|
);
|
|
8750
8750
|
})
|
|
8751
8751
|
)))
|
|
@@ -8757,7 +8757,7 @@ function tm(e) {
|
|
|
8757
8757
|
)
|
|
8758
8758
|
);
|
|
8759
8759
|
}
|
|
8760
|
-
const
|
|
8760
|
+
const ww = L(({ ...e }) => /* @__PURE__ */ c(om, { mode: "single", ...e })), om = g(tm)`
|
|
8761
8761
|
font-family: ${l("font-family-default")};
|
|
8762
8762
|
`, nm = ({
|
|
8763
8763
|
disabled: e,
|
|
@@ -8857,7 +8857,7 @@ const vw = L(({ ...e }) => /* @__PURE__ */ c(om, { mode: "single", ...e })), om
|
|
|
8857
8857
|
menuPlacement: "bottom-start",
|
|
8858
8858
|
children: o
|
|
8859
8859
|
}
|
|
8860
|
-
),
|
|
8860
|
+
), kw = g(Nt)`
|
|
8861
8861
|
${`${gn("bg-color", !0)}: ${l("color-black")}`};
|
|
8862
8862
|
${`${gn("color", !0)}: ${l("color-white")}`};
|
|
8863
8863
|
${`${gn("bg-color-active", !0)}: ${l("color-grey70")}`};
|
|
@@ -8870,7 +8870,7 @@ const vw = L(({ ...e }) => /* @__PURE__ */ c(om, { mode: "single", ...e })), om
|
|
|
8870
8870
|
cursor: default;
|
|
8871
8871
|
border-bottom: 0.5px solid ${l("color-grey60")};
|
|
8872
8872
|
pointer-events: none;
|
|
8873
|
-
`,
|
|
8873
|
+
`, $w = L(
|
|
8874
8874
|
({ title: e, message: t }) => /* @__PURE__ */ C(lm, { children: [
|
|
8875
8875
|
/* @__PURE__ */ c(T, { variant: "body", bold: !0, children: e }),
|
|
8876
8876
|
/* @__PURE__ */ c(T, { variant: "body", color: "grey", children: t })
|
|
@@ -9017,11 +9017,11 @@ const hm = L(() => /* @__PURE__ */ c(
|
|
|
9017
9017
|
id: "tooSimilar"
|
|
9018
9018
|
},
|
|
9019
9019
|
...bs
|
|
9020
|
-
],
|
|
9020
|
+
], Cw = L(
|
|
9021
9021
|
({ name: e, t, hasLabel: o, includeTooSimilar: n }) => {
|
|
9022
9022
|
const { getFieldState: r, formState: i } = vm(), { error: a, isDirty: s } = r(e ?? "password", i), d = U(() => {
|
|
9023
9023
|
const u = (a == null ? void 0 : a.types) ?? {}, h = [];
|
|
9024
|
-
return !u.minLength && !u.required && h.push("length"), !u.tooSimilar && n && h.push("tooSimilar"), !u[
|
|
9024
|
+
return !u.minLength && !u.required && h.push("length"), !u.tooSimilar && n && h.push("tooSimilar"), !u[Eo.noDigit] && !u[Eo.noUpperCase] && h.push("uppercaseAndNumber"), u[Eo.noSpecialCharacter] || h.push("specialCharacter"), h;
|
|
9025
9025
|
}, [a == null ? void 0 : a.types, n]);
|
|
9026
9026
|
return /* @__PURE__ */ c(ne, { children: ({ cx: u }) => /* @__PURE__ */ c(
|
|
9027
9027
|
wm,
|
|
@@ -9042,7 +9042,7 @@ const hm = L(() => /* @__PURE__ */ c(
|
|
|
9042
9042
|
&.hasLabel {
|
|
9043
9043
|
padding-left: calc(${Cr("label-width")} + ${Cr("label-column-gap")});
|
|
9044
9044
|
}
|
|
9045
|
-
`, [
|
|
9045
|
+
`, [zt] = O(["form"]), Be = ie(
|
|
9046
9046
|
({ className: e, required: t, formItemId: o, isValid: n, ...r }, i) => /* @__PURE__ */ c(ne, { children: ({ cx: a }) => /* @__PURE__ */ c(
|
|
9047
9047
|
km,
|
|
9048
9048
|
{
|
|
@@ -9055,18 +9055,18 @@ const hm = L(() => /* @__PURE__ */ c(
|
|
|
9055
9055
|
}
|
|
9056
9056
|
) })
|
|
9057
9057
|
), km = g.label`
|
|
9058
|
-
font-family: ${
|
|
9059
|
-
font-size: ${
|
|
9060
|
-
font-weight: ${
|
|
9061
|
-
height: ${
|
|
9062
|
-
line-height: ${
|
|
9058
|
+
font-family: ${zt("label-font-family")};
|
|
9059
|
+
font-size: ${zt("label-font-size")};
|
|
9060
|
+
font-weight: ${zt("label-font-weight")};
|
|
9061
|
+
height: ${zt("label-height")};
|
|
9062
|
+
line-height: ${zt("label-line-height")};
|
|
9063
9063
|
text-align: right;
|
|
9064
9064
|
width: 100%;
|
|
9065
9065
|
&[aria-required="true"] {
|
|
9066
9066
|
::before {
|
|
9067
9067
|
content: "*";
|
|
9068
|
-
padding-right: ${
|
|
9069
|
-
color: ${
|
|
9068
|
+
padding-right: ${zt("label-star-padding")};
|
|
9069
|
+
color: ${zt("label-error-color")};
|
|
9070
9070
|
}
|
|
9071
9071
|
}
|
|
9072
9072
|
`;
|
|
@@ -9128,7 +9128,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9128
9128
|
right: 0;
|
|
9129
9129
|
top: 0;
|
|
9130
9130
|
pointer-events: none;
|
|
9131
|
-
`,
|
|
9131
|
+
`, Sw = ({
|
|
9132
9132
|
name: e,
|
|
9133
9133
|
disabled: t,
|
|
9134
9134
|
label: o,
|
|
@@ -9231,7 +9231,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9231
9231
|
}
|
|
9232
9232
|
)
|
|
9233
9233
|
] }) });
|
|
9234
|
-
},
|
|
9234
|
+
}, Iw = Jt(Sm), Im = ({ onSubmit: e, enabledIfClean: t, disabled: o, ...n }, r) => {
|
|
9235
9235
|
const {
|
|
9236
9236
|
handleSubmit: i,
|
|
9237
9237
|
setError: a,
|
|
@@ -9252,7 +9252,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9252
9252
|
onClick: i(h)
|
|
9253
9253
|
}
|
|
9254
9254
|
);
|
|
9255
|
-
}, xs = Jt(Im),
|
|
9255
|
+
}, xs = Jt(Im), _w = ({
|
|
9256
9256
|
name: e,
|
|
9257
9257
|
disabled: t,
|
|
9258
9258
|
label: o,
|
|
@@ -9374,7 +9374,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9374
9374
|
}
|
|
9375
9375
|
)
|
|
9376
9376
|
] }) });
|
|
9377
|
-
}, ws = Jt(_m),
|
|
9377
|
+
}, ws = Jt(_m), Dw = ({
|
|
9378
9378
|
areaField: e,
|
|
9379
9379
|
name: t,
|
|
9380
9380
|
disabled: o,
|
|
@@ -9473,7 +9473,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9473
9473
|
}
|
|
9474
9474
|
)
|
|
9475
9475
|
] }) });
|
|
9476
|
-
},
|
|
9476
|
+
}, zw = Jt(Dm), [go] = O(["form"]), Sr = ({
|
|
9477
9477
|
control: e,
|
|
9478
9478
|
name: t,
|
|
9479
9479
|
t: o,
|
|
@@ -9506,7 +9506,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9506
9506
|
column-gap: ${go("access-toggle-gap")};
|
|
9507
9507
|
`, Tm = g(Be)`
|
|
9508
9508
|
width: auto;
|
|
9509
|
-
`,
|
|
9509
|
+
`, Tw = ({
|
|
9510
9510
|
className: e,
|
|
9511
9511
|
t,
|
|
9512
9512
|
isAdmin: o,
|
|
@@ -9544,7 +9544,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9544
9544
|
align-items: center;
|
|
9545
9545
|
justify-content: flex-start;
|
|
9546
9546
|
column-gap: ${go("label-column-gap")};
|
|
9547
|
-
`,
|
|
9547
|
+
`, Ew = L(
|
|
9548
9548
|
({ nameBlackList: e, maxLength: t, t: o, ...n }) => {
|
|
9549
9549
|
const r = I(
|
|
9550
9550
|
(i) => uu.test(i) ? t && i.length > t ? (o == null ? void 0 : o("form.tooLongName")) ?? `Cannot be longer than ${t}.` : e && e.includes(i) ? (o == null ? void 0 : o("form.duplicateName")) ?? "This name is already taken" : !0 : (o == null ? void 0 : o("form.noLeadingOrTrailingSpacesName")) ?? "Cannot have leading or trailing spaces.",
|
|
@@ -9560,7 +9560,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9560
9560
|
}
|
|
9561
9561
|
);
|
|
9562
9562
|
}
|
|
9563
|
-
),
|
|
9563
|
+
), Mw = ({
|
|
9564
9564
|
name: e,
|
|
9565
9565
|
disabled: t,
|
|
9566
9566
|
label: o,
|
|
@@ -9636,7 +9636,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9636
9636
|
display: flex;
|
|
9637
9637
|
align-items: center;
|
|
9638
9638
|
justify-content: center;
|
|
9639
|
-
`,
|
|
9639
|
+
`, Ow = ({
|
|
9640
9640
|
name: e,
|
|
9641
9641
|
disabled: t,
|
|
9642
9642
|
label: o,
|
|
@@ -9750,9 +9750,9 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9750
9750
|
align-items: flex-start;
|
|
9751
9751
|
justify-content: flex-start;
|
|
9752
9752
|
column-gap: ${l("spacing-4")};
|
|
9753
|
-
`, Bm = g(
|
|
9753
|
+
`, Bm = g(ce)`
|
|
9754
9754
|
margin-left: auto;
|
|
9755
|
-
`,
|
|
9755
|
+
`, Nw = ({
|
|
9756
9756
|
name: e,
|
|
9757
9757
|
disabled: t,
|
|
9758
9758
|
label: o,
|
|
@@ -9811,13 +9811,13 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9811
9811
|
}
|
|
9812
9812
|
)
|
|
9813
9813
|
] }) });
|
|
9814
|
-
},
|
|
9814
|
+
}, Rw = ({
|
|
9815
9815
|
name: e,
|
|
9816
9816
|
disabled: t
|
|
9817
9817
|
}) => {
|
|
9818
9818
|
const { control: o } = Se();
|
|
9819
9819
|
return Ae({ name: e, control: o, disabled: t }), null;
|
|
9820
|
-
},
|
|
9820
|
+
}, Fw = ({
|
|
9821
9821
|
name: e,
|
|
9822
9822
|
label: t,
|
|
9823
9823
|
disabled: o
|
|
@@ -9835,7 +9835,7 @@ const [fn] = O(["form"]), wt = L(
|
|
|
9835
9835
|
padding: 6px 0;
|
|
9836
9836
|
line-height: 1.4;
|
|
9837
9837
|
user-select: text;
|
|
9838
|
-
`,
|
|
9838
|
+
`, Yo = (e, t) => {
|
|
9839
9839
|
const [o, n] = P(!1);
|
|
9840
9840
|
return G(() => {
|
|
9841
9841
|
async function r() {
|
|
@@ -9992,7 +9992,7 @@ const jm = g.div`
|
|
|
9992
9992
|
function Hm(e) {
|
|
9993
9993
|
return (e == null ? void 0 : e.build) !== void 0;
|
|
9994
9994
|
}
|
|
9995
|
-
const Um =
|
|
9995
|
+
const Um = de(
|
|
9996
9996
|
({
|
|
9997
9997
|
item: e,
|
|
9998
9998
|
provider: t,
|
|
@@ -10064,7 +10064,7 @@ const Um = ce(
|
|
|
10064
10064
|
}
|
|
10065
10065
|
return v;
|
|
10066
10066
|
}
|
|
10067
|
-
), Gm =
|
|
10067
|
+
), Gm = de(
|
|
10068
10068
|
({
|
|
10069
10069
|
dataProvider: e,
|
|
10070
10070
|
ItemTemplate: t,
|
|
@@ -10141,7 +10141,7 @@ const Um = ce(
|
|
|
10141
10141
|
viewing: void 0,
|
|
10142
10142
|
onItemView: Qe
|
|
10143
10143
|
};
|
|
10144
|
-
},
|
|
10144
|
+
}, Aw = de(
|
|
10145
10145
|
({
|
|
10146
10146
|
selected: e,
|
|
10147
10147
|
onSelect: t,
|
|
@@ -10297,7 +10297,7 @@ const Km = g.div`
|
|
|
10297
10297
|
visibility: hidden;
|
|
10298
10298
|
pointer-events: none;
|
|
10299
10299
|
z-index: 1;
|
|
10300
|
-
`, _r = g(
|
|
10300
|
+
`, _r = g(Nt)`
|
|
10301
10301
|
${`${mn("bg-color", !0)}: ${l("color-white")}`};
|
|
10302
10302
|
${`${mn("color", !0)}: ${l("color-black")}`};
|
|
10303
10303
|
${`${mn("bg-color-active", !0)}: ${l(
|
|
@@ -10374,12 +10374,12 @@ const zs = M.createContext(
|
|
|
10374
10374
|
t && Er(t) && ((d = t == null ? void 0 : t.removeContextChangeListener) == null || d.call(t, a));
|
|
10375
10375
|
};
|
|
10376
10376
|
}, [t]), /* @__PURE__ */ c(zs.Provider, { value: i, children: e });
|
|
10377
|
-
},
|
|
10377
|
+
}, Bw = () => {
|
|
10378
10378
|
const e = me(zs);
|
|
10379
10379
|
return e || $l.info(
|
|
10380
10380
|
"useListDataContext must be used within a DataProviderContextProvider"
|
|
10381
10381
|
), e;
|
|
10382
|
-
}, [lo] = O(["studio-list-item"]), Xm = 20, Jm =
|
|
10382
|
+
}, [lo] = O(["studio-list-item"]), Xm = 20, Jm = de(
|
|
10383
10383
|
({
|
|
10384
10384
|
id: e,
|
|
10385
10385
|
name: t,
|
|
@@ -10500,7 +10500,7 @@ const Qm = g.div`
|
|
|
10500
10500
|
padding-left: 8px;
|
|
10501
10501
|
`, nb = g(A)`
|
|
10502
10502
|
opacity: 0.8;
|
|
10503
|
-
`, [nt] = O(["studio-list-item"]), rb = 20, ib =
|
|
10503
|
+
`, [nt] = O(["studio-list-item"]), rb = 20, ib = de(
|
|
10504
10504
|
({
|
|
10505
10505
|
id: e,
|
|
10506
10506
|
name: t,
|
|
@@ -10646,7 +10646,7 @@ const sb = g.div`
|
|
|
10646
10646
|
gap: 4px;
|
|
10647
10647
|
`, Mr = g(A)`
|
|
10648
10648
|
opacity: 0.8;
|
|
10649
|
-
`, [co] = O(["studio-list-item"]), pb = 20, gb =
|
|
10649
|
+
`, [co] = O(["studio-list-item"]), pb = 20, gb = de(
|
|
10650
10650
|
({
|
|
10651
10651
|
id: e,
|
|
10652
10652
|
name: t,
|
|
@@ -10785,7 +10785,7 @@ class Es {
|
|
|
10785
10785
|
E(this, "initialized");
|
|
10786
10786
|
this.parent = t, this.context = be.map(
|
|
10787
10787
|
new Map(Object.entries(r || {}))
|
|
10788
|
-
), this.version = 0, this._itemMap = n, this.initialized = !1, this._items = be.map(/* @__PURE__ */ new Map()), this.resolvedItems = [], this.resolver = o.bind(t), this.listeners = [],
|
|
10788
|
+
), this.version = 0, this._itemMap = n, this.initialized = !1, this._items = be.map(/* @__PURE__ */ new Map()), this.resolvedItems = [], this.resolver = o.bind(t), this.listeners = [], Rt(this, {
|
|
10789
10789
|
items: ye,
|
|
10790
10790
|
initialized: be,
|
|
10791
10791
|
version: be,
|
|
@@ -10839,7 +10839,7 @@ class Es {
|
|
|
10839
10839
|
if (!this.initialized) {
|
|
10840
10840
|
if (oi(this.parent) && await ni(this.parent), this.resolver) {
|
|
10841
10841
|
const t = wb(this.parent)(this.context)(this.resolver);
|
|
10842
|
-
this.disposer =
|
|
10842
|
+
this.disposer = Po(
|
|
10843
10843
|
t,
|
|
10844
10844
|
(o) => {
|
|
10845
10845
|
this.resolvedItems = o, this.refresh();
|
|
@@ -10854,7 +10854,7 @@ class Es {
|
|
|
10854
10854
|
}
|
|
10855
10855
|
whenReady() {
|
|
10856
10856
|
return new Promise((t) => {
|
|
10857
|
-
const o =
|
|
10857
|
+
const o = To(() => {
|
|
10858
10858
|
this.initialized && (t(), o());
|
|
10859
10859
|
});
|
|
10860
10860
|
});
|
|
@@ -10887,9 +10887,9 @@ class Ms extends Es {
|
|
|
10887
10887
|
this._key = Array.isArray(n) ? n : [n];
|
|
10888
10888
|
}
|
|
10889
10889
|
}
|
|
10890
|
-
class
|
|
10890
|
+
class Lw extends Ms {
|
|
10891
10891
|
constructor(t, o, n, r) {
|
|
10892
|
-
super(t, o, n, r),
|
|
10892
|
+
super(t, o, n, r), Rt(this, {
|
|
10893
10893
|
groups: ye,
|
|
10894
10894
|
itemsByGroup: ye
|
|
10895
10895
|
});
|
|
@@ -10910,7 +10910,7 @@ class Aw extends Ms {
|
|
|
10910
10910
|
return t.name.localeCompare(o.name);
|
|
10911
10911
|
}
|
|
10912
10912
|
}
|
|
10913
|
-
class
|
|
10913
|
+
class Ww {
|
|
10914
10914
|
constructor(t, o = []) {
|
|
10915
10915
|
E(this, "items");
|
|
10916
10916
|
E(this, "parent");
|
|
@@ -10934,14 +10934,14 @@ function _n(e, t) {
|
|
|
10934
10934
|
function Cb(e) {
|
|
10935
10935
|
return e[Os] ?? e[Ns];
|
|
10936
10936
|
}
|
|
10937
|
-
function
|
|
10937
|
+
function Pw(e, t) {
|
|
10938
10938
|
if (t in e)
|
|
10939
10939
|
return e[t];
|
|
10940
10940
|
const o = Cb(e);
|
|
10941
10941
|
if (o && typeof o == "object" && t in o)
|
|
10942
10942
|
return o[t];
|
|
10943
10943
|
}
|
|
10944
|
-
function
|
|
10944
|
+
function jw(e) {
|
|
10945
10945
|
return typeof e == "object" && e !== null && "locked" in e && typeof e.locked == "boolean";
|
|
10946
10946
|
}
|
|
10947
10947
|
class Sb {
|
|
@@ -10993,7 +10993,7 @@ class Sb {
|
|
|
10993
10993
|
E(this, "_childDisposers", /* @__PURE__ */ new Map());
|
|
10994
10994
|
this.parent = t, this.context = be.map(
|
|
10995
10995
|
new Map(Object.entries(i || {}))
|
|
10996
|
-
), this._nodes = be.map(/* @__PURE__ */ new Map()), this._rootIds = be.array([]), this.version = 0, this.initialized = !1, this._itemMap = r, this.rootResolver = o.bind(t), this.childResolver = n.bind(t),
|
|
10996
|
+
), this._nodes = be.map(/* @__PURE__ */ new Map()), this._rootIds = be.array([]), this.version = 0, this.initialized = !1, this._itemMap = r, this.rootResolver = o.bind(t), this.childResolver = n.bind(t), Rt(this, {
|
|
10997
10997
|
context: be,
|
|
10998
10998
|
version: be,
|
|
10999
10999
|
initialized: be,
|
|
@@ -11197,7 +11197,7 @@ class Sb {
|
|
|
11197
11197
|
const a = [...o.filter(
|
|
11198
11198
|
(s) => this.filterByInputItem(s, this.context)
|
|
11199
11199
|
)].sort(this.sortByInputItem.bind(this)).map((s) => this.setNode(s, t));
|
|
11200
|
-
|
|
11200
|
+
le(() => {
|
|
11201
11201
|
n.childIds = a, n.fetchState = "loaded", n.timestamp = Date.now();
|
|
11202
11202
|
});
|
|
11203
11203
|
}
|
|
@@ -11216,16 +11216,16 @@ class Sb {
|
|
|
11216
11216
|
return;
|
|
11217
11217
|
}
|
|
11218
11218
|
if (!(n.fetchState === "loading" || n.fetchState === "loaded")) {
|
|
11219
|
-
|
|
11219
|
+
le(() => {
|
|
11220
11220
|
n.fetchState = "loading", n.timestamp = Date.now();
|
|
11221
11221
|
});
|
|
11222
11222
|
try {
|
|
11223
11223
|
const r = await this.getChildren(o, this.context);
|
|
11224
|
-
|
|
11224
|
+
le(() => {
|
|
11225
11225
|
this.setChildren(t, r);
|
|
11226
11226
|
}), this.setupChildReaction(t, o);
|
|
11227
11227
|
} catch (r) {
|
|
11228
|
-
|
|
11228
|
+
le(() => {
|
|
11229
11229
|
n.fetchState = "error", n.error = r, n.timestamp = Date.now();
|
|
11230
11230
|
});
|
|
11231
11231
|
}
|
|
@@ -11238,7 +11238,7 @@ class Sb {
|
|
|
11238
11238
|
setupChildReaction(t, o) {
|
|
11239
11239
|
const n = this._childDisposers.get(t);
|
|
11240
11240
|
n && n();
|
|
11241
|
-
const r =
|
|
11241
|
+
const r = To(() => {
|
|
11242
11242
|
this.childTrackingFn ? this.childTrackingFn(this.parent, o, this.context) : this.childResolver.call(this.parent, o, this.context), this.reloadChildren(t, o);
|
|
11243
11243
|
});
|
|
11244
11244
|
this._childDisposers.set(t, r);
|
|
@@ -11252,7 +11252,7 @@ class Sb {
|
|
|
11252
11252
|
if (!(!n || n.fetchState !== "loaded"))
|
|
11253
11253
|
try {
|
|
11254
11254
|
const r = await this.getChildren(o, this.context);
|
|
11255
|
-
|
|
11255
|
+
le(() => {
|
|
11256
11256
|
const i = new Set(n.childIds), d = [...r.filter(
|
|
11257
11257
|
(h) => this.filterByInputItem(h, this.context)
|
|
11258
11258
|
)].sort(this.sortByInputItem.bind(this)).map((h) => this.setNode(h, t)), u = new Set(d);
|
|
@@ -11316,7 +11316,7 @@ class Sb {
|
|
|
11316
11316
|
*/
|
|
11317
11317
|
collapseBranch(t) {
|
|
11318
11318
|
const o = this._nodes.get(t);
|
|
11319
|
-
o && (this.disposeChildReaction(t),
|
|
11319
|
+
o && (this.disposeChildReaction(t), le(() => {
|
|
11320
11320
|
this.disposeDescendantReactions(o.childIds), this.removeChildrenRecursively(o.childIds), o.childIds = [], o.fetchState = "idle", o.error = void 0, o.timestamp = Date.now();
|
|
11321
11321
|
}));
|
|
11322
11322
|
}
|
|
@@ -11343,7 +11343,7 @@ class Sb {
|
|
|
11343
11343
|
* Clear cached children for a branch or all branches.
|
|
11344
11344
|
*/
|
|
11345
11345
|
clearCache(t) {
|
|
11346
|
-
t ? this.collapseBranch(t) : (this._childDisposers.forEach((o) => o()), this._childDisposers.clear(),
|
|
11346
|
+
t ? this.collapseBranch(t) : (this._childDisposers.forEach((o) => o()), this._childDisposers.clear(), le(() => {
|
|
11347
11347
|
const o = new Set(this._rootIds), n = [];
|
|
11348
11348
|
this._nodes.forEach((r, i) => {
|
|
11349
11349
|
o.has(i) ? (r.childIds = [], r.fetchState = "idle", r.error = void 0) : n.push(i);
|
|
@@ -11359,23 +11359,23 @@ class Sb {
|
|
|
11359
11359
|
* If already initialized, clears cache and reloads.
|
|
11360
11360
|
*/
|
|
11361
11361
|
async init() {
|
|
11362
|
-
this.initialized &&
|
|
11362
|
+
this.initialized && le(() => {
|
|
11363
11363
|
this._nodes.clear(), this._rootIds.clear(), this.initialized = !1;
|
|
11364
11364
|
}), oi(this.parent) && await ni(this.parent);
|
|
11365
11365
|
try {
|
|
11366
11366
|
const t = await this.getRootItems();
|
|
11367
|
-
|
|
11367
|
+
le(() => {
|
|
11368
11368
|
const r = [...t.filter(
|
|
11369
11369
|
(i) => this.filterByInputItem(i, this.context)
|
|
11370
11370
|
)].sort(this.sortByInputItem.bind(this)).map((i) => this.setNode(i));
|
|
11371
11371
|
this._rootIds.replace(r), this.initialized = !0;
|
|
11372
11372
|
});
|
|
11373
11373
|
} catch (t) {
|
|
11374
|
-
console.error("Failed to load root items:", t),
|
|
11374
|
+
console.error("Failed to load root items:", t), le(() => {
|
|
11375
11375
|
this.initialized = !0;
|
|
11376
11376
|
});
|
|
11377
11377
|
}
|
|
11378
|
-
this.rootDisposer =
|
|
11378
|
+
this.rootDisposer = To(() => {
|
|
11379
11379
|
this.rootTrackingFn ? this.rootTrackingFn(this.parent, this.context) : this.rootResolver.call(this.parent, this.context), this.reloadRoots();
|
|
11380
11380
|
});
|
|
11381
11381
|
}
|
|
@@ -11387,7 +11387,7 @@ class Sb {
|
|
|
11387
11387
|
if (this.initialized)
|
|
11388
11388
|
try {
|
|
11389
11389
|
const t = await this.getRootItems();
|
|
11390
|
-
|
|
11390
|
+
le(() => {
|
|
11391
11391
|
const o = new Set(this._rootIds), i = [...t.filter(
|
|
11392
11392
|
(s) => this.filterByInputItem(s, this.context)
|
|
11393
11393
|
)].sort(this.sortByInputItem.bind(this)).map((s) => this.setNode(s)), a = new Set(i);
|
|
@@ -11407,7 +11407,7 @@ class Sb {
|
|
|
11407
11407
|
*/
|
|
11408
11408
|
whenReady() {
|
|
11409
11409
|
return new Promise((t) => {
|
|
11410
|
-
const o =
|
|
11410
|
+
const o = To(() => {
|
|
11411
11411
|
this.initialized && (t(), o());
|
|
11412
11412
|
});
|
|
11413
11413
|
});
|
|
@@ -11417,7 +11417,7 @@ class Sb {
|
|
|
11417
11417
|
* Cleans up all state.
|
|
11418
11418
|
*/
|
|
11419
11419
|
dispose() {
|
|
11420
|
-
this.rootDisposer && this.rootDisposer(), this._childDisposers.forEach((t) => t()), this._childDisposers.clear(),
|
|
11420
|
+
this.rootDisposer && this.rootDisposer(), this._childDisposers.forEach((t) => t()), this._childDisposers.clear(), le(() => {
|
|
11421
11421
|
this._nodes.clear(), this._rootIds.clear(), this.initialized = !1;
|
|
11422
11422
|
});
|
|
11423
11423
|
}
|
|
@@ -11438,7 +11438,7 @@ const Ib = g.div`
|
|
|
11438
11438
|
},
|
|
11439
11439
|
n.id
|
|
11440
11440
|
);
|
|
11441
|
-
}), Rs =
|
|
11441
|
+
}), Rs = de(
|
|
11442
11442
|
({
|
|
11443
11443
|
dataProvider: e,
|
|
11444
11444
|
firstChild: t,
|
|
@@ -11450,7 +11450,7 @@ const Ib = g.div`
|
|
|
11450
11450
|
className: s,
|
|
11451
11451
|
itemListRenderer: d = _b
|
|
11452
11452
|
}) => {
|
|
11453
|
-
const u =
|
|
11453
|
+
const u = Yo(e, i), h = u && e ? d(e, o, r) : [];
|
|
11454
11454
|
return /* @__PURE__ */ c(
|
|
11455
11455
|
Ts,
|
|
11456
11456
|
{
|
|
@@ -11464,7 +11464,7 @@ const Ib = g.div`
|
|
|
11464
11464
|
}
|
|
11465
11465
|
);
|
|
11466
11466
|
}
|
|
11467
|
-
), Hn =
|
|
11467
|
+
), Hn = de(
|
|
11468
11468
|
({
|
|
11469
11469
|
isSingleSelect: e = !0,
|
|
11470
11470
|
onSelect: t,
|
|
@@ -11551,7 +11551,7 @@ const zb = (e) => (t, o, n) => t.groups.reduce((i, a) => i.find((s) => s.groupId
|
|
|
11551
11551
|
openedGroups: [],
|
|
11552
11552
|
toggleGroup: Qe
|
|
11553
11553
|
});
|
|
11554
|
-
function
|
|
11554
|
+
function Vw(e) {
|
|
11555
11555
|
const t = e.supportMultipleOpen ?? !0, [o, n] = P(e.openedGroups ?? []), r = I(
|
|
11556
11556
|
(a) => {
|
|
11557
11557
|
var s;
|
|
@@ -11581,7 +11581,7 @@ const Tb = () => {
|
|
|
11581
11581
|
openedGroups: [],
|
|
11582
11582
|
toggleGroup: Qe
|
|
11583
11583
|
};
|
|
11584
|
-
},
|
|
11584
|
+
}, Hw = ({
|
|
11585
11585
|
children: e,
|
|
11586
11586
|
name: t,
|
|
11587
11587
|
groupId: o,
|
|
@@ -11597,7 +11597,7 @@ const Tb = () => {
|
|
|
11597
11597
|
] }),
|
|
11598
11598
|
/* @__PURE__ */ c(Mb, { children: a ? /* @__PURE__ */ c(Ob, { className: "list-container", children: e }) : null })
|
|
11599
11599
|
] }, o);
|
|
11600
|
-
},
|
|
11600
|
+
}, Uw = ({
|
|
11601
11601
|
children: e,
|
|
11602
11602
|
groupId: t,
|
|
11603
11603
|
className: o
|
|
@@ -11620,15 +11620,15 @@ const Tb = () => {
|
|
|
11620
11620
|
align-items: center;
|
|
11621
11621
|
gap: 6px;
|
|
11622
11622
|
padding-block-start: 8px;
|
|
11623
|
-
`,
|
|
11623
|
+
`, Ko = g.div`
|
|
11624
11624
|
align-items: center;
|
|
11625
11625
|
align-self: stretch;
|
|
11626
11626
|
background: var(--Grey-White, #fff);
|
|
11627
11627
|
border-bottom: 0.5px solid var(--Grey-20, #dfdfdf);
|
|
11628
11628
|
display: flex;
|
|
11629
|
-
`, Bs = g(
|
|
11629
|
+
`, Bs = g(Ko)`
|
|
11630
11630
|
padding: 0 0 6px 0;
|
|
11631
|
-
`, Nb = g(
|
|
11631
|
+
`, Nb = g(Ko)`
|
|
11632
11632
|
border-bottom: 0.5px solid var(--Grey-20, #dfdfdf);
|
|
11633
11633
|
`, Rb = g(
|
|
11634
11634
|
Bs
|
|
@@ -11669,7 +11669,7 @@ const Tb = () => {
|
|
|
11669
11669
|
const { selected: s, toggleSelection: d, isDisabled: u } = et(), h = I(() => {
|
|
11670
11670
|
d(o);
|
|
11671
11671
|
}, [o, d]), p = r === "compact" ? Fb : Un, f = r === "compact" ? Ab : Gn;
|
|
11672
|
-
return /* @__PURE__ */ C(a ? r === "compact" ? Rb : Nb : r === "compact" ? Bs :
|
|
11672
|
+
return /* @__PURE__ */ C(a ? r === "compact" ? Rb : Nb : r === "compact" ? Bs : Ko, { className: e, children: [
|
|
11673
11673
|
/* @__PURE__ */ c(p, { children: /* @__PURE__ */ c(
|
|
11674
11674
|
Qt,
|
|
11675
11675
|
{
|
|
@@ -11708,7 +11708,7 @@ const Tb = () => {
|
|
|
11708
11708
|
padding: 8px 8px 8px 4px;
|
|
11709
11709
|
gap: 4px;
|
|
11710
11710
|
align-self: stretch;
|
|
11711
|
-
`,
|
|
11711
|
+
`, Gw = (e) => {
|
|
11712
11712
|
const { selected: t, toggleSelection: o, isDisabled: n } = et(), r = I(() => {
|
|
11713
11713
|
o(e.id);
|
|
11714
11714
|
}, [e, o]);
|
|
@@ -11724,7 +11724,7 @@ const Tb = () => {
|
|
|
11724
11724
|
) }),
|
|
11725
11725
|
/* @__PURE__ */ c(Pb, { children: /* @__PURE__ */ c(T, { variant: "body", children: e.name }) })
|
|
11726
11726
|
] });
|
|
11727
|
-
}, [it] = O(["named-list-item"]),
|
|
11727
|
+
}, [it] = O(["named-list-item"]), Yw = L(
|
|
11728
11728
|
({
|
|
11729
11729
|
id: e,
|
|
11730
11730
|
iconId: t,
|
|
@@ -11831,7 +11831,7 @@ const Tb = () => {
|
|
|
11831
11831
|
color: ${l("color-white")};
|
|
11832
11832
|
background-color: ${l("color-primary")};
|
|
11833
11833
|
}
|
|
11834
|
-
`,
|
|
11834
|
+
`, Kw = (e) => {
|
|
11835
11835
|
const { selected: t, toggleSelection: o } = et(), n = I(() => {
|
|
11836
11836
|
o(e.id);
|
|
11837
11837
|
}, [e, o]);
|
|
@@ -11846,7 +11846,7 @@ const Tb = () => {
|
|
|
11846
11846
|
]
|
|
11847
11847
|
}
|
|
11848
11848
|
) });
|
|
11849
|
-
},
|
|
11849
|
+
}, qw = (e) => {
|
|
11850
11850
|
const [t, o] = P(
|
|
11851
11851
|
e
|
|
11852
11852
|
);
|
|
@@ -11856,7 +11856,7 @@ const Tb = () => {
|
|
|
11856
11856
|
},
|
|
11857
11857
|
[]
|
|
11858
11858
|
), openedGroups: t };
|
|
11859
|
-
},
|
|
11859
|
+
}, Zw = (e, t = {}) => {
|
|
11860
11860
|
const [o, n] = P(t), r = I(
|
|
11861
11861
|
(a, s) => {
|
|
11862
11862
|
var p;
|
|
@@ -11874,7 +11874,7 @@ const Tb = () => {
|
|
|
11874
11874
|
return { clear: I(() => {
|
|
11875
11875
|
n({});
|
|
11876
11876
|
}, []), groupSelection: o, onSelect: r };
|
|
11877
|
-
},
|
|
11877
|
+
}, Xw = (e = [], t = !0) => {
|
|
11878
11878
|
const [o, n] = P(e), r = I(
|
|
11879
11879
|
(a) => {
|
|
11880
11880
|
n((s) => t ? [a] : s.includes(a) ? s.filter((d) => d !== a) : [...s, a]);
|
|
@@ -11889,12 +11889,12 @@ const Tb = () => {
|
|
|
11889
11889
|
selected: o
|
|
11890
11890
|
};
|
|
11891
11891
|
};
|
|
11892
|
-
class
|
|
11892
|
+
class Jw extends Es {
|
|
11893
11893
|
constructor(o, n, r, i, a) {
|
|
11894
11894
|
super(o, n, r, a);
|
|
11895
11895
|
E(this, "parentIdKey");
|
|
11896
11896
|
E(this, "idKey");
|
|
11897
|
-
this.parentIdKey = i.parentIdKey, this.idKey = i.idKey,
|
|
11897
|
+
this.parentIdKey = i.parentIdKey, this.idKey = i.idKey, Rt(this, {
|
|
11898
11898
|
tree: ye,
|
|
11899
11899
|
childBranchLookup: ye,
|
|
11900
11900
|
itemsById: ye
|
|
@@ -11934,7 +11934,7 @@ class Zw extends Es {
|
|
|
11934
11934
|
return n ? o(n) : [];
|
|
11935
11935
|
}
|
|
11936
11936
|
}
|
|
11937
|
-
const Ls = ve(null), Kb =
|
|
11937
|
+
const Ls = ve(null), Kb = de(
|
|
11938
11938
|
({
|
|
11939
11939
|
children: e,
|
|
11940
11940
|
singleBranchOnly: t,
|
|
@@ -12043,7 +12043,7 @@ const Zb = (e) => (t, o, n) => {
|
|
|
12043
12043
|
}
|
|
12044
12044
|
};
|
|
12045
12045
|
return t.tree.map((i) => r(i));
|
|
12046
|
-
},
|
|
12046
|
+
}, Qw = de(
|
|
12047
12047
|
({
|
|
12048
12048
|
dataProvider: e,
|
|
12049
12049
|
ItemTemplate: t,
|
|
@@ -12093,7 +12093,7 @@ const Ps = ve(null), Jb = () => {
|
|
|
12093
12093
|
"useAsyncTreeContext can only be used inside AsyncTreeList"
|
|
12094
12094
|
);
|
|
12095
12095
|
return e;
|
|
12096
|
-
}, js =
|
|
12096
|
+
}, js = de(
|
|
12097
12097
|
({
|
|
12098
12098
|
branch: e,
|
|
12099
12099
|
provider: t,
|
|
@@ -12120,8 +12120,8 @@ const Ps = ve(null), Jb = () => {
|
|
|
12120
12120
|
G(() => {
|
|
12121
12121
|
const K = S.openedBranches.includes(e.id), te = e.loadingState.status === "idle", We = !e.isLeaf;
|
|
12122
12122
|
if ((K || m) && te && We) {
|
|
12123
|
-
const
|
|
12124
|
-
|
|
12123
|
+
const se = t.originalItems.get(e.id);
|
|
12124
|
+
se && t.expandBranch(e.id, se);
|
|
12125
12125
|
}
|
|
12126
12126
|
}, [
|
|
12127
12127
|
S.openedBranches,
|
|
@@ -12178,7 +12178,7 @@ const Ps = ve(null), Jb = () => {
|
|
|
12178
12178
|
K && (s == null || s(e.id, K));
|
|
12179
12179
|
}, V = et(), j = $s();
|
|
12180
12180
|
if (e.isLeaf) {
|
|
12181
|
-
const K = Xb(n) ? n.build(e) : n, te = V.selected.includes(e.id), We = $ ? $(e, te) : void 0,
|
|
12181
|
+
const K = Xb(n) ? n.build(e) : n, te = V.selected.includes(e.id), We = $ ? $(e, te) : void 0, se = /* @__PURE__ */ c(
|
|
12182
12182
|
K,
|
|
12183
12183
|
{
|
|
12184
12184
|
"data-key": e.id,
|
|
@@ -12208,12 +12208,12 @@ const Ps = ve(null), Jb = () => {
|
|
|
12208
12208
|
...Pe ?? {}
|
|
12209
12209
|
},
|
|
12210
12210
|
transformDragData: j.transformDragData,
|
|
12211
|
-
children:
|
|
12211
|
+
children: se
|
|
12212
12212
|
},
|
|
12213
12213
|
e.id
|
|
12214
12214
|
);
|
|
12215
12215
|
}
|
|
12216
|
-
return
|
|
12216
|
+
return se;
|
|
12217
12217
|
}
|
|
12218
12218
|
const F = Ws(o) ? o.build(e) : o, ee = m || S.openedBranches.includes(e.id), oe = e.loadingState.status === "loading", re = e.loadingState.status === "error", Le = e.loadingState.status === "loaded", tt = d === e.id, xe = ee ? e.branches.length > 0 ? e.branches.map((K) => /* @__PURE__ */ c(
|
|
12219
12219
|
js,
|
|
@@ -12266,7 +12266,7 @@ const Ps = ve(null), Jb = () => {
|
|
|
12266
12266
|
}
|
|
12267
12267
|
) });
|
|
12268
12268
|
}
|
|
12269
|
-
), Qb =
|
|
12269
|
+
), Qb = de(
|
|
12270
12270
|
({
|
|
12271
12271
|
dataProvider: e,
|
|
12272
12272
|
BranchTemplate: t,
|
|
@@ -12325,10 +12325,10 @@ const Ps = ve(null), Jb = () => {
|
|
|
12325
12325
|
children: [
|
|
12326
12326
|
e.tree.length === 0 && d,
|
|
12327
12327
|
(() => {
|
|
12328
|
-
const X = e.tree, J = (
|
|
12328
|
+
const X = e.tree, J = (se) => /* @__PURE__ */ c(
|
|
12329
12329
|
js,
|
|
12330
12330
|
{
|
|
12331
|
-
branch:
|
|
12331
|
+
branch: se,
|
|
12332
12332
|
provider: e,
|
|
12333
12333
|
BranchTemplate: t,
|
|
12334
12334
|
ItemTemplate: o,
|
|
@@ -12348,36 +12348,36 @@ const Ps = ve(null), Jb = () => {
|
|
|
12348
12348
|
itemContentRenderer: k,
|
|
12349
12349
|
disableSelectionStyling: z
|
|
12350
12350
|
},
|
|
12351
|
-
|
|
12351
|
+
se.id
|
|
12352
12352
|
);
|
|
12353
12353
|
if (!N)
|
|
12354
12354
|
return X.map(J);
|
|
12355
12355
|
const K = [], te = /* @__PURE__ */ new Map();
|
|
12356
|
-
for (const
|
|
12357
|
-
const Pe = N(
|
|
12356
|
+
for (const se of X) {
|
|
12357
|
+
const Pe = N(se);
|
|
12358
12358
|
if (Pe === void 0)
|
|
12359
|
-
K.push(
|
|
12359
|
+
K.push(se);
|
|
12360
12360
|
else {
|
|
12361
12361
|
const gt = te.get(Pe);
|
|
12362
|
-
gt ? gt.push(
|
|
12362
|
+
gt ? gt.push(se) : te.set(Pe, [se]);
|
|
12363
12363
|
}
|
|
12364
12364
|
}
|
|
12365
12365
|
const We = Array.from(te.keys()).sort(
|
|
12366
|
-
(
|
|
12366
|
+
(se, Pe) => se.localeCompare(Pe)
|
|
12367
12367
|
);
|
|
12368
12368
|
return /* @__PURE__ */ C(fe, { children: [
|
|
12369
12369
|
K.map(J),
|
|
12370
|
-
We.map((
|
|
12371
|
-
/* @__PURE__ */ c(Vn, { groupName:
|
|
12372
|
-
(te.get(
|
|
12373
|
-
] }, `group-${
|
|
12370
|
+
We.map((se) => /* @__PURE__ */ C(M.Fragment, { children: [
|
|
12371
|
+
/* @__PURE__ */ c(Vn, { groupName: se }),
|
|
12372
|
+
(te.get(se) ?? []).map(J)
|
|
12373
|
+
] }, `group-${se}`))
|
|
12374
12374
|
] });
|
|
12375
12375
|
})()
|
|
12376
12376
|
]
|
|
12377
12377
|
}
|
|
12378
12378
|
) }) }) }) });
|
|
12379
12379
|
}
|
|
12380
|
-
),
|
|
12380
|
+
), e1 = de(
|
|
12381
12381
|
({
|
|
12382
12382
|
isSingleSelect: e = !0,
|
|
12383
12383
|
onSelect: t,
|
|
@@ -12426,7 +12426,7 @@ const Ps = ve(null), Jb = () => {
|
|
|
12426
12426
|
p
|
|
12427
12427
|
]), /* @__PURE__ */ c(to.Provider, { value: b, children: /* @__PURE__ */ c(Qb, { dataProvider: i, ...s }) });
|
|
12428
12428
|
}
|
|
12429
|
-
),
|
|
12429
|
+
), t1 = ({
|
|
12430
12430
|
children: e,
|
|
12431
12431
|
id: t,
|
|
12432
12432
|
className: o
|
|
@@ -12441,7 +12441,7 @@ const Ps = ve(null), Jb = () => {
|
|
|
12441
12441
|
display: flex;
|
|
12442
12442
|
flex-direction: column;
|
|
12443
12443
|
width: 100%;
|
|
12444
|
-
`, [Ye] = O(["named-collapsible-branch"]), t0 = 20,
|
|
12444
|
+
`, [Ye] = O(["named-collapsible-branch"]), t0 = 20, o1 = de(
|
|
12445
12445
|
({
|
|
12446
12446
|
children: e,
|
|
12447
12447
|
className: t,
|
|
@@ -12629,7 +12629,7 @@ const l0 = g.div`
|
|
|
12629
12629
|
gap: 4px;
|
|
12630
12630
|
`, Or = g(A)`
|
|
12631
12631
|
opacity: 0.8;
|
|
12632
|
-
`,
|
|
12632
|
+
`, n1 = de(
|
|
12633
12633
|
({ children: e, className: t, ...o }) => {
|
|
12634
12634
|
const { openedBranches: n, toggleBranch: r } = qb(), i = n.includes(o.id), a = I(() => {
|
|
12635
12635
|
r(o);
|
|
@@ -12735,7 +12735,7 @@ const l0 = g.div`
|
|
|
12735
12735
|
`, x0 = g.div`
|
|
12736
12736
|
position: relative;
|
|
12737
12737
|
width: 100%;
|
|
12738
|
-
`, w0 =
|
|
12738
|
+
`, w0 = de(
|
|
12739
12739
|
({
|
|
12740
12740
|
dataProvider: e,
|
|
12741
12741
|
ItemTemplate: t,
|
|
@@ -12744,7 +12744,7 @@ const l0 = g.div`
|
|
|
12744
12744
|
emptyState: r,
|
|
12745
12745
|
...i
|
|
12746
12746
|
}) => {
|
|
12747
|
-
const a =
|
|
12747
|
+
const a = Yo(e, n), s = I(
|
|
12748
12748
|
(d, u) => {
|
|
12749
12749
|
const h = e == null ? void 0 : e.items.find((p, f) => f === d);
|
|
12750
12750
|
if (h) {
|
|
@@ -12780,7 +12780,7 @@ const l0 = g.div`
|
|
|
12780
12780
|
}
|
|
12781
12781
|
);
|
|
12782
12782
|
}
|
|
12783
|
-
),
|
|
12783
|
+
), r1 = de(
|
|
12784
12784
|
({
|
|
12785
12785
|
isSingleSelect: e = !0,
|
|
12786
12786
|
onSelect: t,
|
|
@@ -12829,7 +12829,7 @@ const l0 = g.div`
|
|
|
12829
12829
|
p
|
|
12830
12830
|
]), /* @__PURE__ */ c(to.Provider, { value: b, children: /* @__PURE__ */ c(w0, { dataProvider: i, ...s }) });
|
|
12831
12831
|
}
|
|
12832
|
-
), [mt] = O(["ingredient-card"]),
|
|
12832
|
+
), [mt] = O(["ingredient-card"]), i1 = L(
|
|
12833
12833
|
({
|
|
12834
12834
|
id: e,
|
|
12835
12835
|
name: t,
|
|
@@ -12870,7 +12870,7 @@ const l0 = g.div`
|
|
|
12870
12870
|
] }),
|
|
12871
12871
|
!!n && /* @__PURE__ */ C(S0, { children: [
|
|
12872
12872
|
/* @__PURE__ */ c(
|
|
12873
|
-
|
|
12873
|
+
ce,
|
|
12874
12874
|
{
|
|
12875
12875
|
iconId: "DeleteOutlined",
|
|
12876
12876
|
color: "blue",
|
|
@@ -12883,7 +12883,7 @@ const l0 = g.div`
|
|
|
12883
12883
|
xo,
|
|
12884
12884
|
{
|
|
12885
12885
|
Reference: /* @__PURE__ */ c(
|
|
12886
|
-
|
|
12886
|
+
ce,
|
|
12887
12887
|
{
|
|
12888
12888
|
iconId: "Ellipsis",
|
|
12889
12889
|
color: "black",
|
|
@@ -12893,7 +12893,7 @@ const l0 = g.div`
|
|
|
12893
12893
|
onSelect: b,
|
|
12894
12894
|
children: [
|
|
12895
12895
|
/* @__PURE__ */ c(
|
|
12896
|
-
|
|
12896
|
+
Nt,
|
|
12897
12897
|
{
|
|
12898
12898
|
optionKey: "remove",
|
|
12899
12899
|
label: h("holder.removeOption"),
|
|
@@ -12902,7 +12902,7 @@ const l0 = g.div`
|
|
|
12902
12902
|
}
|
|
12903
12903
|
),
|
|
12904
12904
|
/* @__PURE__ */ c(
|
|
12905
|
-
|
|
12905
|
+
Nt,
|
|
12906
12906
|
{
|
|
12907
12907
|
optionKey: "block",
|
|
12908
12908
|
disableSelectionStyle: !0,
|
|
@@ -12979,20 +12979,20 @@ const l0 = g.div`
|
|
|
12979
12979
|
&.isIngredientLess {
|
|
12980
12980
|
justify-content: center;
|
|
12981
12981
|
}
|
|
12982
|
-
`, [
|
|
12982
|
+
`, [Tt] = O(["named-section-header"]), Vs = g.div`
|
|
12983
12983
|
align-items: flex-start;
|
|
12984
|
-
background-color: ${
|
|
12985
|
-
border-bottom: ${
|
|
12986
|
-
border-radius: ${
|
|
12984
|
+
background-color: ${Tt("bg")};
|
|
12985
|
+
border-bottom: ${Tt("border-width")} solid ${Tt("border-color")};
|
|
12986
|
+
border-radius: ${Tt("border-radius")} ${Tt("border-radius")} 0px 0px;
|
|
12987
12987
|
display: flex;
|
|
12988
|
-
padding: ${
|
|
12989
|
-
column-gap: ${
|
|
12988
|
+
padding: ${Tt("padding")};
|
|
12989
|
+
column-gap: ${Tt("gap")};
|
|
12990
12990
|
&.isCollapsed {
|
|
12991
12991
|
border-bottom-width: 0px;
|
|
12992
12992
|
}
|
|
12993
12993
|
`, _0 = L(
|
|
12994
12994
|
({ children: e }) => {
|
|
12995
|
-
const { setOpen: t, open: o } =
|
|
12995
|
+
const { setOpen: t, open: o } = Vo(), n = I(
|
|
12996
12996
|
(r) => {
|
|
12997
12997
|
r.stopPropagation(), t(!o);
|
|
12998
12998
|
},
|
|
@@ -13004,7 +13004,7 @@ const l0 = g.div`
|
|
|
13004
13004
|
className: At("header-wrapper", { isCollapsed: o }),
|
|
13005
13005
|
children: [
|
|
13006
13006
|
/* @__PURE__ */ c(
|
|
13007
|
-
|
|
13007
|
+
ce,
|
|
13008
13008
|
{
|
|
13009
13009
|
iconId: o ? "CaretDown" : "CaretUp",
|
|
13010
13010
|
onClick: n,
|
|
@@ -13080,7 +13080,7 @@ const l0 = g.div`
|
|
|
13080
13080
|
`, E0 = g.div`
|
|
13081
13081
|
display: flex;
|
|
13082
13082
|
width: 100%;
|
|
13083
|
-
`, [
|
|
13083
|
+
`, [qo] = O(["named-section-header"]), s1 = L(
|
|
13084
13084
|
({
|
|
13085
13085
|
name: e,
|
|
13086
13086
|
description: t,
|
|
@@ -13110,7 +13110,7 @@ const l0 = g.div`
|
|
|
13110
13110
|
width: 100%;
|
|
13111
13111
|
display: flex;
|
|
13112
13112
|
align-items: center;
|
|
13113
|
-
column-gap: ${
|
|
13113
|
+
column-gap: ${qo("gap")};
|
|
13114
13114
|
justify-content: space-between;
|
|
13115
13115
|
&.hasDesc {
|
|
13116
13116
|
align-items: flex-start;
|
|
@@ -13120,17 +13120,17 @@ const l0 = g.div`
|
|
|
13120
13120
|
align-items: flex-start;
|
|
13121
13121
|
justify-content: center;
|
|
13122
13122
|
flex-direction: column;
|
|
13123
|
-
row-gap: ${
|
|
13123
|
+
row-gap: ${qo("row-gap")};
|
|
13124
13124
|
`, N0 = g.div`
|
|
13125
13125
|
display: flex;
|
|
13126
13126
|
align-items: center;
|
|
13127
13127
|
justify-content: flex-start;
|
|
13128
|
-
column-gap: ${
|
|
13128
|
+
column-gap: ${qo("row-gap")};
|
|
13129
13129
|
`, R0 = g.div`
|
|
13130
13130
|
display: flex;
|
|
13131
13131
|
align-items: center;
|
|
13132
13132
|
justify-content: flex-end;
|
|
13133
|
-
row-gap: ${
|
|
13133
|
+
row-gap: ${qo("row-gap")};
|
|
13134
13134
|
`, Hs = ve(!1), F0 = () => me(Hs), A0 = L(
|
|
13135
13135
|
({
|
|
13136
13136
|
title: e,
|
|
@@ -13164,7 +13164,7 @@ const l0 = g.div`
|
|
|
13164
13164
|
`, j0 = g.div`
|
|
13165
13165
|
overflow-x: hidden;
|
|
13166
13166
|
overflow-y: auto;
|
|
13167
|
-
`,
|
|
13167
|
+
`, a1 = de(
|
|
13168
13168
|
({
|
|
13169
13169
|
defaultShowSelected: e,
|
|
13170
13170
|
disabled: t,
|
|
@@ -13210,7 +13210,7 @@ const l0 = g.div`
|
|
|
13210
13210
|
),
|
|
13211
13211
|
ContentWrapper: j0,
|
|
13212
13212
|
children: /* @__PURE__ */ C(V0, { children: [
|
|
13213
|
-
!!d && !!(a != null && a.items.length) && /* @__PURE__ */ C(
|
|
13213
|
+
!!d && !!(a != null && a.items.length) && /* @__PURE__ */ C(Ko, { children: [
|
|
13214
13214
|
/* @__PURE__ */ c(Un, { children: /* @__PURE__ */ c(
|
|
13215
13215
|
Qt,
|
|
13216
13216
|
{
|
|
@@ -13251,7 +13251,7 @@ const l0 = g.div`
|
|
|
13251
13251
|
justify-content: center;
|
|
13252
13252
|
padding: ${l("spacing-12")} ${l("spacing-20")};
|
|
13253
13253
|
`;
|
|
13254
|
-
class
|
|
13254
|
+
class l1 extends Ms {
|
|
13255
13255
|
constructor(o, n, r, i) {
|
|
13256
13256
|
super(o, n, r, {
|
|
13257
13257
|
...i,
|
|
@@ -13290,7 +13290,7 @@ class s1 extends Ms {
|
|
|
13290
13290
|
}, this.observableItems), a.map((d) => this.observableItems.get(d.id));
|
|
13291
13291
|
}
|
|
13292
13292
|
}
|
|
13293
|
-
const
|
|
13293
|
+
const c1 = ({
|
|
13294
13294
|
rightMenu: e,
|
|
13295
13295
|
leftMenu: t,
|
|
13296
13296
|
className: o
|
|
@@ -13310,6 +13310,7 @@ const a1 = ({
|
|
|
13310
13310
|
display: flex;
|
|
13311
13311
|
align-items: center;
|
|
13312
13312
|
`, [Re] = O(["modal"]), Us = g.div`
|
|
13313
|
+
border-radius: 6px;
|
|
13313
13314
|
width: fit-content;
|
|
13314
13315
|
height: fit-content;
|
|
13315
13316
|
display: flex;
|
|
@@ -13335,19 +13336,19 @@ const a1 = ({
|
|
|
13335
13336
|
display: flex;
|
|
13336
13337
|
align-items: center;
|
|
13337
13338
|
justify-content: flex-end;
|
|
13338
|
-
`,
|
|
13339
|
+
`, d1 = g.div`
|
|
13339
13340
|
width: ${Re("base-content-width")};
|
|
13340
13341
|
display: flex;
|
|
13341
13342
|
align-items: flex-start;
|
|
13342
13343
|
justify-content: flex-start;
|
|
13343
13344
|
flex-direction: column;
|
|
13344
|
-
`,
|
|
13345
|
+
`, Co = ie(
|
|
13345
13346
|
({ header: e, footer: t, content: o, footerWrapper: n, headerWrapper: r, contentWrapper: i }, a) => /* @__PURE__ */ C(Us, { ref: a, children: [
|
|
13346
|
-
/* @__PURE__ */ c(r ?? Gs, { children: e }),
|
|
13347
|
+
e && /* @__PURE__ */ c(r ?? Gs, { children: e }),
|
|
13347
13348
|
/* @__PURE__ */ c(i ?? Ys, { children: o }),
|
|
13348
|
-
/* @__PURE__ */ c(n ?? Yn, { children: t })
|
|
13349
|
+
t && /* @__PURE__ */ c(n ?? Yn, { children: t })
|
|
13349
13350
|
] })
|
|
13350
|
-
), Y0 =
|
|
13351
|
+
), Y0 = ie(
|
|
13351
13352
|
({
|
|
13352
13353
|
level: e,
|
|
13353
13354
|
headerText: t,
|
|
@@ -13365,11 +13366,11 @@ const a1 = ({
|
|
|
13365
13366
|
return { iconId: "CheckCircle", color: "green" };
|
|
13366
13367
|
if (e === "info")
|
|
13367
13368
|
return { iconId: "InfoCircle", color: "blue" };
|
|
13368
|
-
}, [e]), { setOpen: d } =
|
|
13369
|
+
}, [e]), { setOpen: d } = Dt(), u = I(() => {
|
|
13369
13370
|
i && i(), d(!1);
|
|
13370
13371
|
}, [d, i]);
|
|
13371
13372
|
return /* @__PURE__ */ c(
|
|
13372
|
-
|
|
13373
|
+
Co,
|
|
13373
13374
|
{
|
|
13374
13375
|
ref: a,
|
|
13375
13376
|
header: /* @__PURE__ */ C(fe, { children: [
|
|
@@ -13388,7 +13389,7 @@ const a1 = ({
|
|
|
13388
13389
|
}
|
|
13389
13390
|
);
|
|
13390
13391
|
}
|
|
13391
|
-
), [K0] = O(["modal"]), q0 =
|
|
13392
|
+
), [K0] = O(["modal"]), q0 = ie(
|
|
13392
13393
|
({
|
|
13393
13394
|
onConfirm: e,
|
|
13394
13395
|
onCancel: t,
|
|
@@ -13404,13 +13405,13 @@ const a1 = ({
|
|
|
13404
13405
|
contentWrapper: p,
|
|
13405
13406
|
cancelDisabled: f
|
|
13406
13407
|
}, b) => {
|
|
13407
|
-
const { setOpen: m } =
|
|
13408
|
+
const { setOpen: m } = Dt(), y = I(() => {
|
|
13408
13409
|
e(() => m(!1));
|
|
13409
13410
|
}, [e, m]), v = I(() => {
|
|
13410
13411
|
t && t(), m(!1);
|
|
13411
13412
|
}, [t, m]);
|
|
13412
13413
|
return /* @__PURE__ */ c(
|
|
13413
|
-
|
|
13414
|
+
Co,
|
|
13414
13415
|
{
|
|
13415
13416
|
ref: b,
|
|
13416
13417
|
header: /* @__PURE__ */ C(fe, { children: [
|
|
@@ -13480,7 +13481,7 @@ const a1 = ({
|
|
|
13480
13481
|
row-gap: 8px;
|
|
13481
13482
|
`, ey = L(
|
|
13482
13483
|
({ onSubmit: e }) => {
|
|
13483
|
-
const { setOpen: t } =
|
|
13484
|
+
const { setOpen: t } = Dt(), o = I(() => {
|
|
13484
13485
|
t(!1);
|
|
13485
13486
|
}, [t]);
|
|
13486
13487
|
return /* @__PURE__ */ C(fe, { children: [
|
|
@@ -13498,8 +13499,8 @@ const a1 = ({
|
|
|
13498
13499
|
}
|
|
13499
13500
|
), ty = {
|
|
13500
13501
|
matchText: ""
|
|
13501
|
-
}, oy =
|
|
13502
|
-
const { setOpen: a } =
|
|
13502
|
+
}, oy = ie(({ compareText: e, headerText: t, contentText: o, errorText: n, onConfirm: r }, i) => {
|
|
13503
|
+
const { setOpen: a } = Dt(), s = I(
|
|
13503
13504
|
(d, u) => {
|
|
13504
13505
|
r(d, () => a(!1), u);
|
|
13505
13506
|
},
|
|
@@ -13513,7 +13514,7 @@ const a1 = ({
|
|
|
13513
13514
|
delayError: 400,
|
|
13514
13515
|
defaultValues: ty,
|
|
13515
13516
|
children: /* @__PURE__ */ c(
|
|
13516
|
-
|
|
13517
|
+
Co,
|
|
13517
13518
|
{
|
|
13518
13519
|
ref: i,
|
|
13519
13520
|
header: /* @__PURE__ */ c(X0, { headerText: t }),
|
|
@@ -13556,7 +13557,7 @@ const a1 = ({
|
|
|
13556
13557
|
disabled: b,
|
|
13557
13558
|
...m,
|
|
13558
13559
|
mode: p === "blur" ? "onBlur" : m.mode
|
|
13559
|
-
}), { setOpen: w } =
|
|
13560
|
+
}), { setOpen: w } = Dt(), { setError: $, reset: x } = v, S = I(
|
|
13560
13561
|
(D) => {
|
|
13561
13562
|
s({
|
|
13562
13563
|
data: D,
|
|
@@ -13607,12 +13608,34 @@ const a1 = ({
|
|
|
13607
13608
|
]
|
|
13608
13609
|
}
|
|
13609
13610
|
) });
|
|
13610
|
-
}, iy = Jt(ry),
|
|
13611
|
+
}, iy = Jt(ry), sy = g.div`
|
|
13612
|
+
display: flex;
|
|
13613
|
+
justify-content: space-between;
|
|
13614
|
+
gap: 8px;
|
|
13615
|
+
width: 100%;
|
|
13616
|
+
`, ay = ie(
|
|
13617
|
+
({ headerText: e, content: t, onClose: o }, n) => {
|
|
13618
|
+
const { setOpen: r } = Dt(), i = I(() => {
|
|
13619
|
+
o == null || o(), r(!1);
|
|
13620
|
+
}, [o, r]);
|
|
13621
|
+
return /* @__PURE__ */ c(
|
|
13622
|
+
Co,
|
|
13623
|
+
{
|
|
13624
|
+
ref: n,
|
|
13625
|
+
header: /* @__PURE__ */ C(sy, { children: [
|
|
13626
|
+
/* @__PURE__ */ c(T, { variant: "h2", color: "dark", children: e }),
|
|
13627
|
+
/* @__PURE__ */ c(ce, { iconId: "Close", color: "blue", onPointerDown: i })
|
|
13628
|
+
] }),
|
|
13629
|
+
content: t
|
|
13630
|
+
}
|
|
13631
|
+
);
|
|
13632
|
+
}
|
|
13633
|
+
), [ly] = O(["modal"]), cy = {
|
|
13611
13634
|
escapeKey: !0,
|
|
13612
13635
|
outsidePress: !1,
|
|
13613
13636
|
bubbles: !1
|
|
13614
13637
|
};
|
|
13615
|
-
function
|
|
13638
|
+
function u1(e) {
|
|
13616
13639
|
const {
|
|
13617
13640
|
type: t,
|
|
13618
13641
|
open: o,
|
|
@@ -13625,7 +13648,7 @@ function c1(e) {
|
|
|
13625
13648
|
return /* @__PURE__ */ C(
|
|
13626
13649
|
vi,
|
|
13627
13650
|
{
|
|
13628
|
-
dismissOptions:
|
|
13651
|
+
dismissOptions: cy,
|
|
13629
13652
|
open: o,
|
|
13630
13653
|
defaultOpen: n,
|
|
13631
13654
|
onOpenChange: r,
|
|
@@ -13634,9 +13657,9 @@ function c1(e) {
|
|
|
13634
13657
|
wi,
|
|
13635
13658
|
{
|
|
13636
13659
|
initialFocus: a,
|
|
13637
|
-
OverlayStyles:
|
|
13660
|
+
OverlayStyles: dy,
|
|
13638
13661
|
trapFocus: !0,
|
|
13639
|
-
children: /* @__PURE__ */ c(t === "confirm" ? q0 : t === "status" ? Y0 : t === "confirm-delete" ? oy : t === "form" ? iy :
|
|
13662
|
+
children: /* @__PURE__ */ c(t === "confirm" ? q0 : t === "status" ? Y0 : t === "confirm-delete" ? oy : t === "form" ? iy : t === "info" ? ay : Co, { ...s })
|
|
13640
13663
|
}
|
|
13641
13664
|
),
|
|
13642
13665
|
!!i && i
|
|
@@ -13644,52 +13667,52 @@ function c1(e) {
|
|
|
13644
13667
|
}
|
|
13645
13668
|
);
|
|
13646
13669
|
}
|
|
13647
|
-
const
|
|
13648
|
-
background: ${
|
|
13670
|
+
const h1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), dy = Z`
|
|
13671
|
+
background: ${ly("overlay-background")};
|
|
13649
13672
|
display: grid;
|
|
13650
13673
|
place-items: center;
|
|
13651
13674
|
z-index: 2;
|
|
13652
|
-
`, [
|
|
13675
|
+
`, [Mo] = O([
|
|
13653
13676
|
"image-config-page-header"
|
|
13654
|
-
]),
|
|
13677
|
+
]), uy = (e) => e ? Array.isArray(e) ? e.map((t) => /* @__PURE__ */ c(kn, { color: "light", children: t }, t)) : /* @__PURE__ */ c(kn, { color: "light", children: e }) : null, p1 = ({
|
|
13655
13678
|
action: e,
|
|
13656
13679
|
description: t,
|
|
13657
13680
|
title: o,
|
|
13658
13681
|
titleTag: n,
|
|
13659
13682
|
subTitle: r,
|
|
13660
13683
|
...i
|
|
13661
|
-
}) => /* @__PURE__ */ C(
|
|
13662
|
-
/* @__PURE__ */ C(
|
|
13663
|
-
/* @__PURE__ */ C(
|
|
13684
|
+
}) => /* @__PURE__ */ C(hy, { ...i, children: [
|
|
13685
|
+
/* @__PURE__ */ C(gy, { children: [
|
|
13686
|
+
/* @__PURE__ */ C(py, { children: [
|
|
13664
13687
|
/* @__PURE__ */ c(T, { variant: "h1", children: o }),
|
|
13665
|
-
|
|
13688
|
+
uy(n)
|
|
13666
13689
|
] }),
|
|
13667
13690
|
t && /* @__PURE__ */ c(T, { variant: "body", color: "grey", children: t }),
|
|
13668
13691
|
r && /* @__PURE__ */ c(T, { variant: "body", color: "dark", children: r })
|
|
13669
13692
|
] }),
|
|
13670
13693
|
e
|
|
13671
|
-
] }),
|
|
13694
|
+
] }), hy = g.div`
|
|
13672
13695
|
align-items: center;
|
|
13673
|
-
background: ${
|
|
13696
|
+
background: ${Mo("bg")};
|
|
13674
13697
|
display: flex;
|
|
13675
|
-
gap: ${
|
|
13676
|
-
padding: 0 0 ${
|
|
13698
|
+
gap: ${Mo("gap")};
|
|
13699
|
+
padding: 0 0 ${Mo("padding-bottom")} 0;
|
|
13677
13700
|
width: 100%;
|
|
13678
|
-
`,
|
|
13701
|
+
`, py = g.div`
|
|
13679
13702
|
width: 100%;
|
|
13680
13703
|
display: flex;
|
|
13681
13704
|
align-items: center;
|
|
13682
13705
|
column-gap: ${l("spacing-8")};
|
|
13683
13706
|
justify-content: flex-start;
|
|
13684
|
-
`,
|
|
13707
|
+
`, gy = g.div`
|
|
13685
13708
|
display: flex;
|
|
13686
13709
|
flex-direction: column;
|
|
13687
13710
|
flex: 1;
|
|
13688
|
-
gap: ${
|
|
13689
|
-
`,
|
|
13711
|
+
gap: ${Mo("title-gap")};
|
|
13712
|
+
`, fy = g.div`
|
|
13690
13713
|
width: ${({ variant: e }) => e.endsWith("small") ? "100px" : "128px"};
|
|
13691
13714
|
height: ${({ variant: e }) => e.endsWith("small") ? "20px" : "28px"};
|
|
13692
|
-
`,
|
|
13715
|
+
`, my = g.div`
|
|
13693
13716
|
width: 100%;
|
|
13694
13717
|
height: 100%;
|
|
13695
13718
|
background: #fff;
|
|
@@ -13700,16 +13723,16 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13700
13723
|
border: 1px solid ${l("color-primary")};
|
|
13701
13724
|
|
|
13702
13725
|
position: relative;
|
|
13703
|
-
`,
|
|
13726
|
+
`, by = g(dt)`
|
|
13704
13727
|
width: 100%;
|
|
13705
13728
|
border-radius: 6px;
|
|
13706
13729
|
justify-content: center;
|
|
13707
|
-
`,
|
|
13730
|
+
`, yy = g.div`
|
|
13708
13731
|
height: 100%;
|
|
13709
13732
|
background: ${l("color-primary")};
|
|
13710
13733
|
width: ${({ progress: e }) => e}%;
|
|
13711
13734
|
transition: width 0.1s ease-in-out;
|
|
13712
|
-
`,
|
|
13735
|
+
`, vy = g.div`
|
|
13713
13736
|
color: ${l("color-primary")};
|
|
13714
13737
|
background: linear-gradient(
|
|
13715
13738
|
90deg,
|
|
@@ -13727,7 +13750,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13727
13750
|
color: transparent;
|
|
13728
13751
|
font-weight: bold;
|
|
13729
13752
|
transition: background 0.1s ease;
|
|
13730
|
-
`,
|
|
13753
|
+
`, xy = ({
|
|
13731
13754
|
isInProgress: e,
|
|
13732
13755
|
progress: t,
|
|
13733
13756
|
onClick: o,
|
|
@@ -13752,11 +13775,11 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13752
13775
|
}
|
|
13753
13776
|
}, [n, f]);
|
|
13754
13777
|
const m = h ? 100 : t;
|
|
13755
|
-
return /* @__PURE__ */ c(
|
|
13756
|
-
/* @__PURE__ */ c(
|
|
13757
|
-
/* @__PURE__ */ c(
|
|
13778
|
+
return /* @__PURE__ */ c(fy, { className: At(i), variant: d, children: e || h ? /* @__PURE__ */ C(my, { children: [
|
|
13779
|
+
/* @__PURE__ */ c(yy, { progress: m }),
|
|
13780
|
+
/* @__PURE__ */ c(vy, { progress: m, children: h ? a : s })
|
|
13758
13781
|
] }) : /* @__PURE__ */ c(
|
|
13759
|
-
|
|
13782
|
+
by,
|
|
13760
13783
|
{
|
|
13761
13784
|
variant: d,
|
|
13762
13785
|
onClick: o,
|
|
@@ -13765,7 +13788,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13765
13788
|
...u
|
|
13766
13789
|
}
|
|
13767
13790
|
) });
|
|
13768
|
-
},
|
|
13791
|
+
}, g1 = de(
|
|
13769
13792
|
({
|
|
13770
13793
|
future: e,
|
|
13771
13794
|
canceledText: t = "Canceled",
|
|
@@ -13777,7 +13800,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13777
13800
|
}) => {
|
|
13778
13801
|
const s = (e == null ? void 0 : e.endState) === tn.Aborted, d = (e == null ? void 0 : e.endState) === tn.Canceled, u = (e == null ? void 0 : e.endState) === tn.Fail, h = () => s ? o : d ? t : u ? n : r;
|
|
13779
13802
|
return /* @__PURE__ */ c(
|
|
13780
|
-
|
|
13803
|
+
xy,
|
|
13781
13804
|
{
|
|
13782
13805
|
isInProgress: (e == null ? void 0 : e.status) === "IN_PROGRESS",
|
|
13783
13806
|
progress: (e == null ? void 0 : e.progress) ?? 0,
|
|
@@ -13789,14 +13812,14 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13789
13812
|
}
|
|
13790
13813
|
);
|
|
13791
13814
|
}
|
|
13792
|
-
), [Pt] = O(["button"]),
|
|
13793
|
-
({ onClick: e, open: t, buttonText: o, text: n }) => /* @__PURE__ */ c(
|
|
13815
|
+
), [Pt] = O(["button"]), f1 = L(
|
|
13816
|
+
({ onClick: e, open: t, buttonText: o, text: n }) => /* @__PURE__ */ c(wy, { open: t, children: /* @__PURE__ */ C(ky, { children: [
|
|
13794
13817
|
/* @__PURE__ */ c(T, { variant: "h2", color: "light", children: n }),
|
|
13795
13818
|
/* @__PURE__ */ c(dt, { variant: "borderless", text: o, onClick: e })
|
|
13796
13819
|
] }) })
|
|
13797
|
-
),
|
|
13820
|
+
), wy = g(Yu)`
|
|
13798
13821
|
z-index: 5;
|
|
13799
|
-
`,
|
|
13822
|
+
`, ky = g.div`
|
|
13800
13823
|
display: flex;
|
|
13801
13824
|
align-items: center;
|
|
13802
13825
|
justify-content: center;
|
|
@@ -13814,7 +13837,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13814
13837
|
"color-white"
|
|
13815
13838
|
)}`};
|
|
13816
13839
|
${`${Pt("bg-hover-borderless", !0)}: transparent`};
|
|
13817
|
-
`,
|
|
13840
|
+
`, m1 = ({
|
|
13818
13841
|
groups: e,
|
|
13819
13842
|
onSelectionChange: t,
|
|
13820
13843
|
value: o,
|
|
@@ -13839,9 +13862,9 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13839
13862
|
placement: i,
|
|
13840
13863
|
open: p,
|
|
13841
13864
|
onOpenChange: f,
|
|
13842
|
-
whileElementsMounted:
|
|
13843
|
-
middleware: [Jr(4),
|
|
13844
|
-
}), x =
|
|
13865
|
+
whileElementsMounted: Lo,
|
|
13866
|
+
middleware: [Jr(4), Bo(), Qr({ padding: 8 })]
|
|
13867
|
+
}), x = Fo($, { enabled: !d }), S = yo($), k = Wo($), { getReferenceProps: z, getFloatingProps: _ } = vo([
|
|
13845
13868
|
x,
|
|
13846
13869
|
S,
|
|
13847
13870
|
k
|
|
@@ -13871,7 +13894,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13871
13894
|
);
|
|
13872
13895
|
return /* @__PURE__ */ C(fe, { children: [
|
|
13873
13896
|
/* @__PURE__ */ c(
|
|
13874
|
-
|
|
13897
|
+
$y,
|
|
13875
13898
|
{
|
|
13876
13899
|
ref: v.setReference,
|
|
13877
13900
|
className: a,
|
|
@@ -13887,45 +13910,45 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13887
13910
|
color: j ? "blue" : "grey"
|
|
13888
13911
|
}
|
|
13889
13912
|
),
|
|
13890
|
-
j && /* @__PURE__ */ c(
|
|
13913
|
+
j && /* @__PURE__ */ c(Cy, {})
|
|
13891
13914
|
] })
|
|
13892
13915
|
}
|
|
13893
13916
|
),
|
|
13894
|
-
p && /* @__PURE__ */ c(qt, { children: /* @__PURE__ */ c(
|
|
13895
|
-
|
|
13917
|
+
p && /* @__PURE__ */ c(qt, { children: /* @__PURE__ */ c(Ao, { context: $, modal: !1, children: /* @__PURE__ */ C(
|
|
13918
|
+
Sy,
|
|
13896
13919
|
{
|
|
13897
13920
|
ref: v.setFloating,
|
|
13898
13921
|
style: w,
|
|
13899
13922
|
..._(),
|
|
13900
13923
|
children: [
|
|
13901
|
-
/* @__PURE__ */ C(
|
|
13924
|
+
/* @__PURE__ */ C(Iy, { children: [
|
|
13902
13925
|
/* @__PURE__ */ c(T, { variant: "body", bold: !0, children: "Filters" }),
|
|
13903
|
-
/* @__PURE__ */ C(
|
|
13904
|
-
r && j && /* @__PURE__ */ c(
|
|
13905
|
-
/* @__PURE__ */ c(
|
|
13926
|
+
/* @__PURE__ */ C(_y, { children: [
|
|
13927
|
+
r && j && /* @__PURE__ */ c(Dy, { onClick: V, children: /* @__PURE__ */ c(T, { variant: "small", color: "blue", children: "Clear all" }) }),
|
|
13928
|
+
/* @__PURE__ */ c(zy, { onClick: () => f(!1), children: /* @__PURE__ */ c(A, { iconId: "Close", size: "sm", color: "grey" }) })
|
|
13906
13929
|
] })
|
|
13907
13930
|
] }),
|
|
13908
|
-
/* @__PURE__ */ c(
|
|
13909
|
-
/* @__PURE__ */ C(
|
|
13931
|
+
/* @__PURE__ */ c(Ty, { children: e.map((F) => /* @__PURE__ */ C(Ey, { children: [
|
|
13932
|
+
/* @__PURE__ */ C(My, { children: [
|
|
13910
13933
|
/* @__PURE__ */ c(T, { variant: "small", bold: !0, children: F.label }),
|
|
13911
13934
|
n && /* @__PURE__ */ c(
|
|
13912
|
-
|
|
13935
|
+
Oy,
|
|
13913
13936
|
{
|
|
13914
13937
|
onClick: () => N(F.id),
|
|
13915
13938
|
children: /* @__PURE__ */ c(T, { variant: "small", color: "blue", children: "Select all" })
|
|
13916
13939
|
}
|
|
13917
13940
|
)
|
|
13918
13941
|
] }),
|
|
13919
|
-
/* @__PURE__ */ c(
|
|
13942
|
+
/* @__PURE__ */ c(Ny, { children: F.options.map((ee) => {
|
|
13920
13943
|
var re;
|
|
13921
13944
|
const oe = ((re = b[F.id]) == null ? void 0 : re.has(ee.value)) || !1;
|
|
13922
13945
|
return /* @__PURE__ */ C(
|
|
13923
|
-
|
|
13946
|
+
Ry,
|
|
13924
13947
|
{
|
|
13925
13948
|
$isSelected: oe,
|
|
13926
13949
|
onClick: () => D(F.id, ee.value),
|
|
13927
13950
|
children: [
|
|
13928
|
-
/* @__PURE__ */ c(
|
|
13951
|
+
/* @__PURE__ */ c(Fy, { $isChecked: oe, children: oe && /* @__PURE__ */ c(A, { iconId: "Check", size: "xsm", color: "white" }) }),
|
|
13929
13952
|
/* @__PURE__ */ c(T, { variant: "small", children: ee.label })
|
|
13930
13953
|
]
|
|
13931
13954
|
},
|
|
@@ -13937,7 +13960,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13937
13960
|
}
|
|
13938
13961
|
) }) })
|
|
13939
13962
|
] });
|
|
13940
|
-
},
|
|
13963
|
+
}, $y = g.button`
|
|
13941
13964
|
display: flex;
|
|
13942
13965
|
align-items: center;
|
|
13943
13966
|
justify-content: center;
|
|
@@ -13956,7 +13979,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13956
13979
|
background-color: ${(e) => e.$isActive ? l("color-additional1") : l("color-grey10")};
|
|
13957
13980
|
border-color: ${(e) => e.$isActive ? l("color-blue") : l("color-grey40")};
|
|
13958
13981
|
}
|
|
13959
|
-
`,
|
|
13982
|
+
`, Cy = g.div`
|
|
13960
13983
|
position: absolute;
|
|
13961
13984
|
top: 4px;
|
|
13962
13985
|
right: 4px;
|
|
@@ -13964,7 +13987,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13964
13987
|
height: 6px;
|
|
13965
13988
|
background-color: ${l("color-blue")};
|
|
13966
13989
|
border-radius: 50%;
|
|
13967
|
-
`,
|
|
13990
|
+
`, Sy = g.div`
|
|
13968
13991
|
background-color: ${l("color-white")};
|
|
13969
13992
|
border: 1px solid ${l("color-grey30")};
|
|
13970
13993
|
border-radius: ${l("spacing-4")};
|
|
@@ -13972,17 +13995,17 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13972
13995
|
min-width: 280px;
|
|
13973
13996
|
max-width: 320px;
|
|
13974
13997
|
z-index: 1000;
|
|
13975
|
-
`,
|
|
13998
|
+
`, Iy = g.div`
|
|
13976
13999
|
display: flex;
|
|
13977
14000
|
align-items: center;
|
|
13978
14001
|
justify-content: space-between;
|
|
13979
14002
|
padding: ${l("spacing-12")} ${l("spacing-16")};
|
|
13980
14003
|
border-bottom: 1px solid ${l("color-grey20")};
|
|
13981
|
-
`,
|
|
14004
|
+
`, _y = g.div`
|
|
13982
14005
|
display: flex;
|
|
13983
14006
|
align-items: center;
|
|
13984
14007
|
gap: ${l("spacing-8")};
|
|
13985
|
-
`,
|
|
14008
|
+
`, Dy = g.button`
|
|
13986
14009
|
background: none;
|
|
13987
14010
|
border: none;
|
|
13988
14011
|
padding: 0;
|
|
@@ -13992,7 +14015,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
13992
14015
|
&:hover {
|
|
13993
14016
|
text-decoration: underline;
|
|
13994
14017
|
}
|
|
13995
|
-
`,
|
|
14018
|
+
`, zy = g.button`
|
|
13996
14019
|
background: none;
|
|
13997
14020
|
border: none;
|
|
13998
14021
|
padding: 0;
|
|
@@ -14007,20 +14030,20 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14007
14030
|
&:hover {
|
|
14008
14031
|
background-color: ${l("color-grey10")};
|
|
14009
14032
|
}
|
|
14010
|
-
`,
|
|
14033
|
+
`, Ty = g.div`
|
|
14011
14034
|
padding: ${l("spacing-12")};
|
|
14012
14035
|
max-height: 400px;
|
|
14013
14036
|
overflow-y: auto;
|
|
14014
|
-
`,
|
|
14037
|
+
`, Ey = g.div`
|
|
14015
14038
|
&:not(:last-child) {
|
|
14016
14039
|
margin-bottom: ${l("spacing-16")};
|
|
14017
14040
|
}
|
|
14018
|
-
`,
|
|
14041
|
+
`, My = g.div`
|
|
14019
14042
|
display: flex;
|
|
14020
14043
|
align-items: center;
|
|
14021
14044
|
justify-content: space-between;
|
|
14022
14045
|
margin-bottom: ${l("spacing-8")};
|
|
14023
|
-
`,
|
|
14046
|
+
`, Oy = g.button`
|
|
14024
14047
|
background: none;
|
|
14025
14048
|
border: none;
|
|
14026
14049
|
padding: 0;
|
|
@@ -14030,11 +14053,11 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14030
14053
|
&:hover {
|
|
14031
14054
|
text-decoration: underline;
|
|
14032
14055
|
}
|
|
14033
|
-
`,
|
|
14056
|
+
`, Ny = g.div`
|
|
14034
14057
|
display: flex;
|
|
14035
14058
|
flex-direction: column;
|
|
14036
14059
|
gap: ${l("spacing-4")};
|
|
14037
|
-
`,
|
|
14060
|
+
`, Ry = g.div`
|
|
14038
14061
|
display: flex;
|
|
14039
14062
|
align-items: center;
|
|
14040
14063
|
gap: ${l("spacing-8")};
|
|
@@ -14046,7 +14069,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14046
14069
|
&:hover {
|
|
14047
14070
|
background-color: ${(e) => e.$isSelected ? l("color-additional1") : l("color-grey10")};
|
|
14048
14071
|
}
|
|
14049
|
-
`,
|
|
14072
|
+
`, Fy = g.div`
|
|
14050
14073
|
width: 16px;
|
|
14051
14074
|
height: 16px;
|
|
14052
14075
|
border: 1.5px solid
|
|
@@ -14057,7 +14080,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14057
14080
|
align-items: center;
|
|
14058
14081
|
justify-content: center;
|
|
14059
14082
|
flex-shrink: 0;
|
|
14060
|
-
`, [
|
|
14083
|
+
`, [Ay, bn, By] = O([
|
|
14061
14084
|
"view-header",
|
|
14062
14085
|
"option",
|
|
14063
14086
|
"select"
|
|
@@ -14084,9 +14107,9 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14084
14107
|
},
|
|
14085
14108
|
[i]
|
|
14086
14109
|
);
|
|
14087
|
-
return e.length === 0 ? null : /* @__PURE__ */ C(
|
|
14110
|
+
return e.length === 0 ? null : /* @__PURE__ */ C(Ly, { children: [
|
|
14088
14111
|
t.map((s) => /* @__PURE__ */ c(
|
|
14089
|
-
|
|
14112
|
+
ce,
|
|
14090
14113
|
{
|
|
14091
14114
|
iconId: s.iconId,
|
|
14092
14115
|
color: s.color || "grey",
|
|
@@ -14098,10 +14121,10 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14098
14121
|
},
|
|
14099
14122
|
s.id
|
|
14100
14123
|
)),
|
|
14101
|
-
r && /* @__PURE__ */ c(
|
|
14124
|
+
r && /* @__PURE__ */ c(Wy, { children: /* @__PURE__ */ C(
|
|
14102
14125
|
fs,
|
|
14103
14126
|
{
|
|
14104
|
-
trigger: /* @__PURE__ */ c(
|
|
14127
|
+
trigger: /* @__PURE__ */ c(Py, { title: "More actions", type: "button", children: /* @__PURE__ */ c(A, { size: "sm", iconId: "Ellipsis", color: "blue" }) }),
|
|
14105
14128
|
onSelection: a,
|
|
14106
14129
|
children: [
|
|
14107
14130
|
o.map((s) => /* @__PURE__ */ c(
|
|
@@ -14137,7 +14160,7 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14137
14160
|
color: s.disabled ? "grey" : s.color || "blue",
|
|
14138
14161
|
size: "sm"
|
|
14139
14162
|
}
|
|
14140
|
-
) : /* @__PURE__ */ c(
|
|
14163
|
+
) : /* @__PURE__ */ c(jy, {}),
|
|
14141
14164
|
/* @__PURE__ */ c(Ar, { children: s.label || s.tooltip || s.id })
|
|
14142
14165
|
] }),
|
|
14143
14166
|
disabled: s.disabled,
|
|
@@ -14151,12 +14174,12 @@ const d1 = ({ children: e }) => /* @__PURE__ */ c(xi, { children: e }), ly = Z`
|
|
|
14151
14174
|
] });
|
|
14152
14175
|
});
|
|
14153
14176
|
Ks.displayName = "ActionBar";
|
|
14154
|
-
const
|
|
14177
|
+
const Ly = g.div`
|
|
14155
14178
|
display: flex;
|
|
14156
14179
|
align-items: center;
|
|
14157
|
-
gap: ${
|
|
14180
|
+
gap: ${Ay("actions-gap")};
|
|
14158
14181
|
flex-shrink: 0;
|
|
14159
|
-
`, Rr = g(
|
|
14182
|
+
`, Rr = g(Nt)`
|
|
14160
14183
|
${`${bn("bg-color", !0)}: ${l("color-white")}`};
|
|
14161
14184
|
${`${bn("color", !0)}: ${l("color-black")}`};
|
|
14162
14185
|
${`${bn("bg-color-active", !0)}: ${l(
|
|
@@ -14164,9 +14187,9 @@ const Ay = g.div`
|
|
|
14164
14187
|
)}`};
|
|
14165
14188
|
gap: 0px;
|
|
14166
14189
|
cursor: pointer;
|
|
14167
|
-
`,
|
|
14168
|
-
${`${
|
|
14169
|
-
`,
|
|
14190
|
+
`, Wy = g.div`
|
|
14191
|
+
${`${By("border-color", !0)}: ${l("color-grey40")}`};
|
|
14192
|
+
`, Py = g.button`
|
|
14170
14193
|
background: none;
|
|
14171
14194
|
border: none;
|
|
14172
14195
|
padding: 4px;
|
|
@@ -14198,7 +14221,7 @@ const Ay = g.div`
|
|
|
14198
14221
|
`, Ar = g.span`
|
|
14199
14222
|
font-size: 13px;
|
|
14200
14223
|
white-space: nowrap;
|
|
14201
|
-
`,
|
|
14224
|
+
`, jy = g.div`
|
|
14202
14225
|
width: 16px;
|
|
14203
14226
|
height: 16px;
|
|
14204
14227
|
`, [ct] = O(["view-header"]), qs = L(
|
|
@@ -14217,10 +14240,10 @@ const Ay = g.div`
|
|
|
14217
14240
|
() => n && n.length > 0,
|
|
14218
14241
|
[n]
|
|
14219
14242
|
);
|
|
14220
|
-
return /* @__PURE__ */ c(
|
|
14221
|
-
/* @__PURE__ */ C(
|
|
14243
|
+
return /* @__PURE__ */ c(Vy, { $hideBorder: d, children: /* @__PURE__ */ C(Hy, { children: [
|
|
14244
|
+
/* @__PURE__ */ C(Uy, { children: [
|
|
14222
14245
|
i && /* @__PURE__ */ c(
|
|
14223
|
-
|
|
14246
|
+
ce,
|
|
14224
14247
|
{
|
|
14225
14248
|
iconId: a ? "CaretRight" : "CaretDown",
|
|
14226
14249
|
color: "grey",
|
|
@@ -14229,7 +14252,7 @@ const Ay = g.div`
|
|
|
14229
14252
|
"aria-label": a ? "Expand view" : "Collapse view"
|
|
14230
14253
|
}
|
|
14231
14254
|
),
|
|
14232
|
-
o && /* @__PURE__ */ c(
|
|
14255
|
+
o && /* @__PURE__ */ c(Gy, { children: /* @__PURE__ */ c(
|
|
14233
14256
|
A,
|
|
14234
14257
|
{
|
|
14235
14258
|
iconId: o.iconId,
|
|
@@ -14237,15 +14260,15 @@ const Ay = g.div`
|
|
|
14237
14260
|
size: "sm"
|
|
14238
14261
|
}
|
|
14239
14262
|
) }),
|
|
14240
|
-
/* @__PURE__ */ C(
|
|
14263
|
+
/* @__PURE__ */ C(Yy, { children: [
|
|
14241
14264
|
/* @__PURE__ */ c(T, { variant: "h2", children: e }),
|
|
14242
|
-
t && /* @__PURE__ */ c(
|
|
14265
|
+
t && /* @__PURE__ */ c(Ky, { variant: "small", color: "grey", children: t })
|
|
14243
14266
|
] })
|
|
14244
14267
|
] }),
|
|
14245
|
-
(r || n && n.length > 0) && /* @__PURE__ */ C(
|
|
14268
|
+
(r || n && n.length > 0) && /* @__PURE__ */ C(qy, { children: [
|
|
14246
14269
|
r,
|
|
14247
14270
|
u && n ? /* @__PURE__ */ c(Ks, { actions: n }) : n == null ? void 0 : n.map((h) => /* @__PURE__ */ c(
|
|
14248
|
-
|
|
14271
|
+
ce,
|
|
14249
14272
|
{
|
|
14250
14273
|
iconId: h.iconId,
|
|
14251
14274
|
color: h.color || "grey",
|
|
@@ -14262,39 +14285,39 @@ const Ay = g.div`
|
|
|
14262
14285
|
}
|
|
14263
14286
|
);
|
|
14264
14287
|
qs.displayName = "ViewHeader";
|
|
14265
|
-
const
|
|
14288
|
+
const Vy = g.div`
|
|
14266
14289
|
background-color: ${ct("background-color")};
|
|
14267
14290
|
border-bottom: ${({ $hideBorder: e }) => e ? "none" : `${ct("border-bottom-width")} solid ${ct("border-color")}`};
|
|
14268
14291
|
padding: ${ct("padding")};
|
|
14269
|
-
`,
|
|
14292
|
+
`, Hy = g.div`
|
|
14270
14293
|
display: flex;
|
|
14271
14294
|
align-items: center;
|
|
14272
14295
|
justify-content: space-between;
|
|
14273
14296
|
gap: ${ct("gap")};
|
|
14274
14297
|
min-height: ${ct("content-min-height")};
|
|
14275
|
-
`,
|
|
14298
|
+
`, Uy = g.div`
|
|
14276
14299
|
display: flex;
|
|
14277
14300
|
align-items: center;
|
|
14278
14301
|
gap: ${ct("left-gap")};
|
|
14279
14302
|
flex: 1;
|
|
14280
14303
|
min-width: 0; /* Allow text truncation */
|
|
14281
|
-
`,
|
|
14304
|
+
`, Gy = g.div`
|
|
14282
14305
|
display: flex;
|
|
14283
14306
|
align-items: center;
|
|
14284
14307
|
flex-shrink: 0;
|
|
14285
|
-
`,
|
|
14308
|
+
`, Yy = g.div`
|
|
14286
14309
|
display: flex;
|
|
14287
14310
|
flex-direction: column;
|
|
14288
14311
|
gap: ${ct("text-gap")};
|
|
14289
14312
|
min-width: 0; /* Allow text truncation */
|
|
14290
|
-
`,
|
|
14313
|
+
`, Ky = g(T)`
|
|
14291
14314
|
font-size: ${ct("subtitle-font-size")};
|
|
14292
|
-
`,
|
|
14315
|
+
`, qy = g.div`
|
|
14293
14316
|
display: flex;
|
|
14294
14317
|
align-items: center;
|
|
14295
14318
|
gap: ${ct("actions-gap")};
|
|
14296
14319
|
flex-shrink: 0;
|
|
14297
|
-
`, [
|
|
14320
|
+
`, [Ot] = O(["view"]), Zy = L(
|
|
14298
14321
|
({
|
|
14299
14322
|
title: e,
|
|
14300
14323
|
subtitle: t,
|
|
@@ -14314,7 +14337,7 @@ const Py = g.div`
|
|
|
14314
14337
|
const [m, y] = P(s), v = d !== void 0 ? d : m, w = I(() => {
|
|
14315
14338
|
u ? u() : y(($) => !$);
|
|
14316
14339
|
}, [u]);
|
|
14317
|
-
return /* @__PURE__ */ C(
|
|
14340
|
+
return /* @__PURE__ */ C(Xy, { className: f, tabIndex: 0, onFocus: b, collapsed: v, children: [
|
|
14318
14341
|
/* @__PURE__ */ c(
|
|
14319
14342
|
qs,
|
|
14320
14343
|
{
|
|
@@ -14329,19 +14352,19 @@ const Py = g.div`
|
|
|
14329
14352
|
hideHeaderBorder: h
|
|
14330
14353
|
}
|
|
14331
14354
|
),
|
|
14332
|
-
!v && i && /* @__PURE__ */ c(
|
|
14333
|
-
!v && /* @__PURE__ */ c(
|
|
14355
|
+
!v && i && /* @__PURE__ */ c(Jy, { children: i }),
|
|
14356
|
+
!v && /* @__PURE__ */ c(Qy, { children: p })
|
|
14334
14357
|
] });
|
|
14335
14358
|
}
|
|
14336
14359
|
);
|
|
14337
|
-
|
|
14338
|
-
const
|
|
14360
|
+
Zy.displayName = "View";
|
|
14361
|
+
const Xy = g.div`
|
|
14339
14362
|
display: flex;
|
|
14340
14363
|
flex-direction: column;
|
|
14341
14364
|
width: 100%;
|
|
14342
|
-
background-color: ${
|
|
14343
|
-
border: ${
|
|
14344
|
-
border-radius: ${
|
|
14365
|
+
background-color: ${Ot("background-color")};
|
|
14366
|
+
border: ${Ot("border-width")} solid ${Ot("border-color")};
|
|
14367
|
+
border-radius: ${Ot("border-radius")};
|
|
14345
14368
|
overflow: hidden;
|
|
14346
14369
|
|
|
14347
14370
|
/* Fill parent flex container so ViewContent can scroll */
|
|
@@ -14352,24 +14375,24 @@ const qy = g.div`
|
|
|
14352
14375
|
${({ collapsed: e }) => e && `
|
|
14353
14376
|
flex: 0 0 auto !important;
|
|
14354
14377
|
`}
|
|
14355
|
-
`,
|
|
14378
|
+
`, Jy = g.div`
|
|
14356
14379
|
flex: 0 0 auto;
|
|
14357
|
-
border-bottom: ${
|
|
14358
|
-
`,
|
|
14380
|
+
border-bottom: ${Ot("border-width")} solid ${Ot("border-color")};
|
|
14381
|
+
`, Qy = g.div`
|
|
14359
14382
|
display: flex;
|
|
14360
14383
|
flex-direction: column;
|
|
14361
14384
|
flex: 1;
|
|
14362
14385
|
overflow: auto;
|
|
14363
|
-
padding: ${
|
|
14364
|
-
`,
|
|
14386
|
+
padding: ${Ot("content-padding")};
|
|
14387
|
+
`, ev = L(
|
|
14365
14388
|
({
|
|
14366
14389
|
searchValue: e,
|
|
14367
14390
|
onSearchChange: t,
|
|
14368
14391
|
onSearch: o,
|
|
14369
14392
|
placeholder: n = "Search...",
|
|
14370
14393
|
filterPanel: r
|
|
14371
|
-
}) => /* @__PURE__ */ C(
|
|
14372
|
-
/* @__PURE__ */ c(
|
|
14394
|
+
}) => /* @__PURE__ */ C(tv, { children: [
|
|
14395
|
+
/* @__PURE__ */ c(ov, { children: /* @__PURE__ */ c(
|
|
14373
14396
|
nu,
|
|
14374
14397
|
{
|
|
14375
14398
|
value: e,
|
|
@@ -14378,32 +14401,32 @@ const qy = g.div`
|
|
|
14378
14401
|
placeholder: n
|
|
14379
14402
|
}
|
|
14380
14403
|
) }),
|
|
14381
|
-
r && /* @__PURE__ */ c(
|
|
14404
|
+
r && /* @__PURE__ */ c(nv, { children: r })
|
|
14382
14405
|
] })
|
|
14383
14406
|
);
|
|
14384
|
-
|
|
14385
|
-
const
|
|
14407
|
+
ev.displayName = "ViewToolbar";
|
|
14408
|
+
const tv = g.div`
|
|
14386
14409
|
display: flex;
|
|
14387
14410
|
align-items: center;
|
|
14388
14411
|
gap: ${l("spacing-8")};
|
|
14389
14412
|
padding: ${l("spacing-8")} ${l("spacing-12")};
|
|
14390
|
-
`,
|
|
14413
|
+
`, ov = g.div`
|
|
14391
14414
|
flex: 1;
|
|
14392
14415
|
min-width: 0;
|
|
14393
|
-
`,
|
|
14416
|
+
`, nv = g.div`
|
|
14394
14417
|
flex-shrink: 0;
|
|
14395
14418
|
display: flex;
|
|
14396
14419
|
align-items: center;
|
|
14397
|
-
`, [
|
|
14398
|
-
({ id: e, direction: t = "vertical", gap: o, children: n, className: r }) => /* @__PURE__ */ c(
|
|
14420
|
+
`, [zo] = O(["view-container"]), rv = L(
|
|
14421
|
+
({ id: e, direction: t = "vertical", gap: o, children: n, className: r }) => /* @__PURE__ */ c(iv, { id: e, direction: t, gap: o, className: r, children: n })
|
|
14399
14422
|
);
|
|
14400
|
-
|
|
14401
|
-
const
|
|
14423
|
+
rv.displayName = "ViewContainer";
|
|
14424
|
+
const iv = g.div`
|
|
14402
14425
|
display: flex;
|
|
14403
14426
|
flex-direction: ${({ direction: e }) => e === "vertical" ? "column" : "row"};
|
|
14404
|
-
gap: ${({ direction: e, gap: t }) => t !== void 0 ? typeof t == "number" ? `${t}px` : t :
|
|
14405
|
-
padding: ${
|
|
14406
|
-
background-color: ${
|
|
14427
|
+
gap: ${({ direction: e, gap: t }) => t !== void 0 ? typeof t == "number" ? `${t}px` : t : zo(e === "vertical" ? "vertical-gap" : "horizontal-gap")};
|
|
14428
|
+
padding: ${zo("padding")};
|
|
14429
|
+
background-color: ${zo("background-color")};
|
|
14407
14430
|
width: 100%;
|
|
14408
14431
|
height: 100%;
|
|
14409
14432
|
|
|
@@ -14413,7 +14436,7 @@ const nv = g.div`
|
|
|
14413
14436
|
min-height: 0;
|
|
14414
14437
|
min-width: 0;
|
|
14415
14438
|
}
|
|
14416
|
-
`,
|
|
14439
|
+
`, sv = g.div`
|
|
14417
14440
|
position: relative;
|
|
14418
14441
|
width: 100%;
|
|
14419
14442
|
height: 100%;
|
|
@@ -14453,7 +14476,7 @@ const nv = g.div`
|
|
|
14453
14476
|
}};
|
|
14454
14477
|
|
|
14455
14478
|
border-radius: 4px;
|
|
14456
|
-
`,
|
|
14479
|
+
`, b1 = ({
|
|
14457
14480
|
accept: e,
|
|
14458
14481
|
onDrop: t,
|
|
14459
14482
|
canDrop: o,
|
|
@@ -14494,7 +14517,7 @@ const nv = g.div`
|
|
|
14494
14517
|
onDragOver: b,
|
|
14495
14518
|
onDragLeave: m
|
|
14496
14519
|
}), /* @__PURE__ */ c(
|
|
14497
|
-
|
|
14520
|
+
sv,
|
|
14498
14521
|
{
|
|
14499
14522
|
ref: d,
|
|
14500
14523
|
className: r,
|
|
@@ -14505,7 +14528,7 @@ const nv = g.div`
|
|
|
14505
14528
|
children: n
|
|
14506
14529
|
}
|
|
14507
14530
|
);
|
|
14508
|
-
},
|
|
14531
|
+
}, av = g.div`
|
|
14509
14532
|
position: relative;
|
|
14510
14533
|
height: 2px;
|
|
14511
14534
|
background-color: var(--color-primary, #1976d2);
|
|
@@ -14525,10 +14548,10 @@ const nv = g.div`
|
|
|
14525
14548
|
border-radius: 50%;
|
|
14526
14549
|
background-color: var(--color-primary, #1976d2);
|
|
14527
14550
|
}
|
|
14528
|
-
`,
|
|
14551
|
+
`, y1 = ({
|
|
14529
14552
|
position: e,
|
|
14530
14553
|
isActive: t
|
|
14531
|
-
}) => t ? /* @__PURE__ */ c(
|
|
14554
|
+
}) => t ? /* @__PURE__ */ c(av, { $position: e, $active: t }) : null, Zs = ve(null), lv = () => {
|
|
14532
14555
|
const e = me(Zs);
|
|
14533
14556
|
if (e === null)
|
|
14534
14557
|
throw new Error(
|
|
@@ -14536,7 +14559,7 @@ const nv = g.div`
|
|
|
14536
14559
|
);
|
|
14537
14560
|
return e;
|
|
14538
14561
|
};
|
|
14539
|
-
function
|
|
14562
|
+
function v1(e) {
|
|
14540
14563
|
if (e = typeof e == "number" ? e : parseInt(e), e === 0)
|
|
14541
14564
|
return "0.00 B";
|
|
14542
14565
|
const t = Math.floor(Math.log(e) / Math.log(1024));
|
|
@@ -14548,16 +14571,16 @@ const Br = new IntersectionObserver(
|
|
|
14548
14571
|
e.target.classList.toggle("isStuckTop", t), e.target.classList.toggle("isStuckBottom", o);
|
|
14549
14572
|
},
|
|
14550
14573
|
{ threshold: [1] }
|
|
14551
|
-
),
|
|
14574
|
+
), x1 = (e, t) => {
|
|
14552
14575
|
if (e === "\\" || e === "/")
|
|
14553
14576
|
return "/";
|
|
14554
14577
|
if (e.length <= 1)
|
|
14555
14578
|
return e;
|
|
14556
14579
|
const n = e.replace(/\\/g, "/").split(/[/\\]+/);
|
|
14557
14580
|
return t !== !1 && n[n.length - 1] === "" && n.pop(), n.join("/");
|
|
14558
|
-
}, [Ce] = O(["select-view-list"]),
|
|
14581
|
+
}, [Ce] = O(["select-view-list"]), cv = L(
|
|
14559
14582
|
({ id: e, name: t, icon: o, onListItemAction: n, isSelectDisabled: r }) => {
|
|
14560
|
-
const { selected: i, viewing: a } =
|
|
14583
|
+
const { selected: i, viewing: a } = lv(), s = H(null), d = H(null), u = H(!1), h = i === e, p = a === e;
|
|
14561
14584
|
G(() => {
|
|
14562
14585
|
d.current && (h ? (Br.observe(d.current), u.current = !0) : u.current && (u.current = !1, Br.unobserve(d.current)));
|
|
14563
14586
|
}, [h]);
|
|
@@ -14570,13 +14593,13 @@ const Br = new IntersectionObserver(
|
|
|
14570
14593
|
[e, n]
|
|
14571
14594
|
);
|
|
14572
14595
|
return /* @__PURE__ */ c(ne, { children: ({ cx: m }) => /* @__PURE__ */ c(
|
|
14573
|
-
|
|
14596
|
+
dv,
|
|
14574
14597
|
{
|
|
14575
14598
|
ref: d,
|
|
14576
14599
|
className: m({ isSelected: h }),
|
|
14577
14600
|
onClick: b,
|
|
14578
14601
|
children: /* @__PURE__ */ C(
|
|
14579
|
-
|
|
14602
|
+
uv,
|
|
14580
14603
|
{
|
|
14581
14604
|
className: m({
|
|
14582
14605
|
isViewing: p
|
|
@@ -14591,7 +14614,7 @@ const Br = new IntersectionObserver(
|
|
|
14591
14614
|
onChange: f
|
|
14592
14615
|
}
|
|
14593
14616
|
),
|
|
14594
|
-
/* @__PURE__ */ C(
|
|
14617
|
+
/* @__PURE__ */ C(hv, { color: "dark", bold: h, variant: "body", children: [
|
|
14595
14618
|
t,
|
|
14596
14619
|
o
|
|
14597
14620
|
] }),
|
|
@@ -14602,7 +14625,7 @@ const Br = new IntersectionObserver(
|
|
|
14602
14625
|
}
|
|
14603
14626
|
) });
|
|
14604
14627
|
}
|
|
14605
|
-
),
|
|
14628
|
+
), dv = g.div`
|
|
14606
14629
|
width: 100%;
|
|
14607
14630
|
display: flex;
|
|
14608
14631
|
height: auto;
|
|
@@ -14634,7 +14657,7 @@ const Br = new IntersectionObserver(
|
|
|
14634
14657
|
&.isStuckTop {
|
|
14635
14658
|
box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.04);
|
|
14636
14659
|
}
|
|
14637
|
-
`,
|
|
14660
|
+
`, uv = g.div`
|
|
14638
14661
|
width: 100%;
|
|
14639
14662
|
display: flex;
|
|
14640
14663
|
flex-shrink: 0;
|
|
@@ -14648,7 +14671,7 @@ const Br = new IntersectionObserver(
|
|
|
14648
14671
|
&.isViewing {
|
|
14649
14672
|
background-color: ${Ce("background-color-viewing")};
|
|
14650
14673
|
}
|
|
14651
|
-
`,
|
|
14674
|
+
`, hv = g(T)`
|
|
14652
14675
|
flex: 1;
|
|
14653
14676
|
overflow: hidden;
|
|
14654
14677
|
text-overflow: ellipsis;
|
|
@@ -14658,7 +14681,7 @@ const Br = new IntersectionObserver(
|
|
|
14658
14681
|
gap: ${Ce("gap")};
|
|
14659
14682
|
align-items: center;
|
|
14660
14683
|
display: flex;
|
|
14661
|
-
`,
|
|
14684
|
+
`, w1 = ({
|
|
14662
14685
|
className: e,
|
|
14663
14686
|
dp: t,
|
|
14664
14687
|
emptyState: o,
|
|
@@ -14673,18 +14696,18 @@ const Br = new IntersectionObserver(
|
|
|
14673
14696
|
viewing: s
|
|
14674
14697
|
}), [a, s]);
|
|
14675
14698
|
return /* @__PURE__ */ c(Zs.Provider, { value: d, children: /* @__PURE__ */ c(
|
|
14676
|
-
|
|
14699
|
+
pv,
|
|
14677
14700
|
{
|
|
14678
14701
|
className: e,
|
|
14679
14702
|
dataProvider: t,
|
|
14680
14703
|
emptyState: o,
|
|
14681
14704
|
firstChild: n,
|
|
14682
|
-
ItemTemplate:
|
|
14705
|
+
ItemTemplate: cv,
|
|
14683
14706
|
lastChild: r,
|
|
14684
14707
|
onListItemAction: i
|
|
14685
14708
|
}
|
|
14686
14709
|
) });
|
|
14687
|
-
},
|
|
14710
|
+
}, pv = g(Rs)`
|
|
14688
14711
|
height: 100%;
|
|
14689
14712
|
width: 100%;
|
|
14690
14713
|
align-items: flex-start;
|
|
@@ -14700,10 +14723,10 @@ const Br = new IntersectionObserver(
|
|
|
14700
14723
|
::-webkit-scrollbar-thumb {
|
|
14701
14724
|
border-left: 3px solid transparent;
|
|
14702
14725
|
}
|
|
14703
|
-
`, [Dn] = O(["shell-menu"]),
|
|
14726
|
+
`, [Dn] = O(["shell-menu"]), k1 = ({ className: e, left: t, right: o }) => /* @__PURE__ */ C(gv, { className: e, children: [
|
|
14704
14727
|
/* @__PURE__ */ c(Lr, { children: t }),
|
|
14705
14728
|
!!o && /* @__PURE__ */ c(Lr, { children: o })
|
|
14706
|
-
] }),
|
|
14729
|
+
] }), gv = g.div`
|
|
14707
14730
|
align-items: center;
|
|
14708
14731
|
column-gap: ${Dn("section-gap")};
|
|
14709
14732
|
display: flex;
|
|
@@ -14717,9 +14740,9 @@ const Br = new IntersectionObserver(
|
|
|
14717
14740
|
display: flex;
|
|
14718
14741
|
height: 100%;
|
|
14719
14742
|
justify-content: flex-start;
|
|
14720
|
-
`, [Wr] = O(["shell-menu"]),
|
|
14743
|
+
`, [Wr] = O(["shell-menu"]), $1 = L(
|
|
14721
14744
|
({ text: e, onClick: t, isActive: o }) => /* @__PURE__ */ c(
|
|
14722
|
-
|
|
14745
|
+
fv,
|
|
14723
14746
|
{
|
|
14724
14747
|
onClick: t,
|
|
14725
14748
|
variant: "body",
|
|
@@ -14728,11 +14751,11 @@ const Br = new IntersectionObserver(
|
|
|
14728
14751
|
children: e
|
|
14729
14752
|
}
|
|
14730
14753
|
)
|
|
14731
|
-
),
|
|
14754
|
+
), fv = g(T)`
|
|
14732
14755
|
padding: ${Wr("link-padding-y")} ${Wr("link-padding-x")};
|
|
14733
14756
|
line-height: unset;
|
|
14734
14757
|
cursor: pointer;
|
|
14735
|
-
`, Xs = ve(null), Js =
|
|
14758
|
+
`, Xs = ve(null), Js = de(
|
|
14736
14759
|
({
|
|
14737
14760
|
children: e,
|
|
14738
14761
|
t,
|
|
@@ -14769,17 +14792,17 @@ const Br = new IntersectionObserver(
|
|
|
14769
14792
|
Zo,
|
|
14770
14793
|
{
|
|
14771
14794
|
className: t && e.column.getCanSort() ? "isSortable" : void 0,
|
|
14772
|
-
children:
|
|
14795
|
+
children: jo(e.column.columnDef.cell, e.getContext())
|
|
14773
14796
|
},
|
|
14774
14797
|
e.id
|
|
14775
14798
|
);
|
|
14776
14799
|
}), [Pr] = O(["table"]), Gt = g.tr`
|
|
14777
14800
|
width: 100%;
|
|
14778
14801
|
border-bottom: ${Pr("row-border-bottom-size")} solid ${Pr("border-color")};
|
|
14779
|
-
`,
|
|
14802
|
+
`, mv = L(({ row: e, TdComponent: t }) => {
|
|
14780
14803
|
const o = t ?? ea;
|
|
14781
14804
|
return /* @__PURE__ */ c(Gt, { children: e.getVisibleCells().map((n) => /* @__PURE__ */ c(o, { cell: n }, n.id)) });
|
|
14782
|
-
}), [
|
|
14805
|
+
}), [bv] = O(["table"]), yv = (e) => e.id, vv = ({
|
|
14783
14806
|
items: e,
|
|
14784
14807
|
columns: t,
|
|
14785
14808
|
getRowId: o,
|
|
@@ -14799,27 +14822,27 @@ const Br = new IntersectionObserver(
|
|
|
14799
14822
|
data: e,
|
|
14800
14823
|
getCoreRowModel: li(),
|
|
14801
14824
|
getSortedRowModel: r ? ai() : void 0,
|
|
14802
|
-
getRowId: o ??
|
|
14825
|
+
getRowId: o ?? yv,
|
|
14803
14826
|
onSortingChange: r ? b : void 0,
|
|
14804
14827
|
state: {
|
|
14805
14828
|
sorting: f
|
|
14806
14829
|
}
|
|
14807
|
-
}), y = s ??
|
|
14830
|
+
}), y = s ?? mv, v = !m.getRowModel().rows.length;
|
|
14808
14831
|
return v && u ? n ?? null : /* @__PURE__ */ c(
|
|
14809
14832
|
Js,
|
|
14810
14833
|
{
|
|
14811
14834
|
onListItemAction: d,
|
|
14812
14835
|
isSortable: r,
|
|
14813
14836
|
t: i,
|
|
14814
|
-
children: /* @__PURE__ */ C(
|
|
14815
|
-
/* @__PURE__ */ c(
|
|
14837
|
+
children: /* @__PURE__ */ C(wv, { ...p, children: [
|
|
14838
|
+
/* @__PURE__ */ c(kv, { children: m.getHeaderGroups().map((w) => /* @__PURE__ */ c(Gt, { children: w.headers.map(($) => (
|
|
14816
14839
|
// Fragment is required here because flexRender doesnt work nice with the "key" prop
|
|
14817
|
-
/* @__PURE__ */ c(qr, { children:
|
|
14840
|
+
/* @__PURE__ */ c(qr, { children: jo(
|
|
14818
14841
|
$.column.columnDef.header,
|
|
14819
14842
|
$.getContext()
|
|
14820
14843
|
) }, $.id)
|
|
14821
14844
|
)) }, w.id)) }),
|
|
14822
|
-
/* @__PURE__ */ c(
|
|
14845
|
+
/* @__PURE__ */ c($v, { children: v ? /* @__PURE__ */ c(Gt, { children: /* @__PURE__ */ c(Zo, { colSpan: t.length, children: n ?? null }) }) : m.getRowModel().rows.map((w) => /* @__PURE__ */ c(
|
|
14823
14846
|
y,
|
|
14824
14847
|
{
|
|
14825
14848
|
row: w,
|
|
@@ -14830,7 +14853,7 @@ const Br = new IntersectionObserver(
|
|
|
14830
14853
|
] })
|
|
14831
14854
|
}
|
|
14832
14855
|
);
|
|
14833
|
-
},
|
|
14856
|
+
}, xv = [], C1 = de(
|
|
14834
14857
|
({
|
|
14835
14858
|
dataProvider: e,
|
|
14836
14859
|
columns: t,
|
|
@@ -14845,11 +14868,11 @@ const Br = new IntersectionObserver(
|
|
|
14845
14868
|
disabled: h,
|
|
14846
14869
|
...p
|
|
14847
14870
|
}) => {
|
|
14848
|
-
const f =
|
|
14871
|
+
const f = Yo(e);
|
|
14849
14872
|
return /* @__PURE__ */ c(Kr, { fallback: null, children: /* @__PURE__ */ c(Zt, { children: () => {
|
|
14850
|
-
const b = f && e ? e.items :
|
|
14873
|
+
const b = f && e ? e.items : xv;
|
|
14851
14874
|
return /* @__PURE__ */ c(
|
|
14852
|
-
|
|
14875
|
+
vv,
|
|
14853
14876
|
{
|
|
14854
14877
|
items: b,
|
|
14855
14878
|
columns: t,
|
|
@@ -14867,17 +14890,17 @@ const Br = new IntersectionObserver(
|
|
|
14867
14890
|
);
|
|
14868
14891
|
} }) });
|
|
14869
14892
|
}
|
|
14870
|
-
),
|
|
14893
|
+
), wv = g.table`
|
|
14871
14894
|
width: 100%;
|
|
14872
14895
|
overflow: auto;
|
|
14873
14896
|
border-collapse: collapse;
|
|
14874
|
-
font-family: ${
|
|
14897
|
+
font-family: ${bv("font-family")};
|
|
14875
14898
|
table-layout: fixed;
|
|
14876
|
-
`,
|
|
14899
|
+
`, kv = g.thead`
|
|
14877
14900
|
width: 100%;
|
|
14878
|
-
`,
|
|
14901
|
+
`, $v = g.tbody`
|
|
14879
14902
|
width: 100%;
|
|
14880
|
-
`, [Ke] = O(["table"]),
|
|
14903
|
+
`, [Ke] = O(["table"]), Cv = (e, t) => e ? e === "desc" ? (t == null ? void 0 : t("table.sort", {
|
|
14881
14904
|
direction: t == null ? void 0 : t("table.ascending"),
|
|
14882
14905
|
defaultValue: "Click to sort ascending"
|
|
14883
14906
|
})) ?? "Click to sort ascending" : (t == null ? void 0 : t("table.cancelSort", { defaultValue: "Cancel sort" })) ?? "Cancel sort" : (t == null ? void 0 : t("table.sort", {
|
|
@@ -14898,7 +14921,7 @@ const Br = new IntersectionObserver(
|
|
|
14898
14921
|
o();
|
|
14899
14922
|
}, [o]);
|
|
14900
14923
|
return /* @__PURE__ */ c(
|
|
14901
|
-
|
|
14924
|
+
Sv,
|
|
14902
14925
|
{
|
|
14903
14926
|
className: At({
|
|
14904
14927
|
isSortable: d && a,
|
|
@@ -14908,10 +14931,10 @@ const Br = new IntersectionObserver(
|
|
|
14908
14931
|
width: e ?? "auto",
|
|
14909
14932
|
display: s ? "flex" : "table-cell"
|
|
14910
14933
|
},
|
|
14911
|
-
children: /* @__PURE__ */ C(
|
|
14934
|
+
children: /* @__PURE__ */ C(Iv, { "data-alignment": r, children: [
|
|
14912
14935
|
!t && ((u == null ? void 0 : u(`table.header.${n}`)) ?? n),
|
|
14913
|
-
d && a && /* @__PURE__ */ c(Ln, { content:
|
|
14914
|
-
|
|
14936
|
+
d && a && /* @__PURE__ */ c(Ln, { content: Cv(i, u), children: /* @__PURE__ */ c(
|
|
14937
|
+
ce,
|
|
14915
14938
|
{
|
|
14916
14939
|
iconId: i ? i === "asc" ? "SortAscending" : "SortDescending" : "Sort",
|
|
14917
14940
|
size: "sm",
|
|
@@ -14923,7 +14946,7 @@ const Br = new IntersectionObserver(
|
|
|
14923
14946
|
}
|
|
14924
14947
|
);
|
|
14925
14948
|
}
|
|
14926
|
-
),
|
|
14949
|
+
), Sv = g.th`
|
|
14927
14950
|
padding: ${Ke("cell-padding-y")} ${Ke("cell-padding-x")};
|
|
14928
14951
|
background-color: ${Ke("header-background-color")};
|
|
14929
14952
|
color: ${Ke("head-color")};
|
|
@@ -14943,7 +14966,7 @@ const Br = new IntersectionObserver(
|
|
|
14943
14966
|
&:first-of-type {
|
|
14944
14967
|
padding-left: ${Ke("cell-padding-left-first-in-row")};
|
|
14945
14968
|
}
|
|
14946
|
-
`,
|
|
14969
|
+
`, Iv = g.div`
|
|
14947
14970
|
display: flex;
|
|
14948
14971
|
align-items: center;
|
|
14949
14972
|
justify-content: space-between;
|
|
@@ -14957,7 +14980,7 @@ const Br = new IntersectionObserver(
|
|
|
14957
14980
|
&[data-alignment="center"] {
|
|
14958
14981
|
justify-content: center;
|
|
14959
14982
|
}
|
|
14960
|
-
`,
|
|
14983
|
+
`, S1 = () => {
|
|
14961
14984
|
const e = Il();
|
|
14962
14985
|
return {
|
|
14963
14986
|
displayColumn: (r) => (i) => e.display({
|
|
@@ -15060,7 +15083,7 @@ function Vr(e, t) {
|
|
|
15060
15083
|
throw new Error("Unexpected undefined");
|
|
15061
15084
|
return e;
|
|
15062
15085
|
}
|
|
15063
|
-
const
|
|
15086
|
+
const _v = (e, t) => Math.abs(e - t) < 1.01, Dv = (e, t, o) => {
|
|
15064
15087
|
let n;
|
|
15065
15088
|
return function(...r) {
|
|
15066
15089
|
e.clearTimeout(n), n = e.setTimeout(() => t.apply(this, r), o);
|
|
@@ -15068,12 +15091,12 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15068
15091
|
}, Hr = (e) => {
|
|
15069
15092
|
const { offsetWidth: t, offsetHeight: o } = e;
|
|
15070
15093
|
return { width: t, height: o };
|
|
15071
|
-
},
|
|
15094
|
+
}, zv = (e) => e, Tv = (e) => {
|
|
15072
15095
|
const t = Math.max(e.startIndex - e.overscan, 0), o = Math.min(e.endIndex + e.overscan, e.count - 1), n = [];
|
|
15073
15096
|
for (let r = t; r <= o; r++)
|
|
15074
15097
|
n.push(r);
|
|
15075
15098
|
return n;
|
|
15076
|
-
},
|
|
15099
|
+
}, Ev = (e, t) => {
|
|
15077
15100
|
const o = e.scrollElement;
|
|
15078
15101
|
if (!o)
|
|
15079
15102
|
return;
|
|
@@ -15106,7 +15129,7 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15106
15129
|
};
|
|
15107
15130
|
}, Ur = {
|
|
15108
15131
|
passive: !0
|
|
15109
|
-
}, Gr = typeof window > "u" ? !0 : "onscrollend" in window,
|
|
15132
|
+
}, Gr = typeof window > "u" ? !0 : "onscrollend" in window, Mv = (e, t) => {
|
|
15110
15133
|
const o = e.scrollElement;
|
|
15111
15134
|
if (!o)
|
|
15112
15135
|
return;
|
|
@@ -15115,7 +15138,7 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15115
15138
|
return;
|
|
15116
15139
|
let r = 0;
|
|
15117
15140
|
const i = e.options.useScrollendEvent && Gr ? () => {
|
|
15118
|
-
} :
|
|
15141
|
+
} : Dv(
|
|
15119
15142
|
n,
|
|
15120
15143
|
() => {
|
|
15121
15144
|
t(r, !1);
|
|
@@ -15130,7 +15153,7 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15130
15153
|
return u && o.addEventListener("scrollend", d, Ur), () => {
|
|
15131
15154
|
o.removeEventListener("scroll", s), u && o.removeEventListener("scrollend", d);
|
|
15132
15155
|
};
|
|
15133
|
-
},
|
|
15156
|
+
}, Ov = (e, t, o) => {
|
|
15134
15157
|
if (t != null && t.borderBoxSize) {
|
|
15135
15158
|
const n = t.borderBoxSize[0];
|
|
15136
15159
|
if (n)
|
|
@@ -15139,7 +15162,7 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15139
15162
|
);
|
|
15140
15163
|
}
|
|
15141
15164
|
return e[o.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
15142
|
-
},
|
|
15165
|
+
}, Nv = (e, {
|
|
15143
15166
|
adjustments: t = 0,
|
|
15144
15167
|
behavior: o
|
|
15145
15168
|
}, n) => {
|
|
@@ -15150,7 +15173,7 @@ const Sv = (e, t) => Math.abs(e - t) < 1.01, Iv = (e, t, o) => {
|
|
|
15150
15173
|
behavior: o
|
|
15151
15174
|
});
|
|
15152
15175
|
};
|
|
15153
|
-
class
|
|
15176
|
+
class Rv {
|
|
15154
15177
|
constructor(t) {
|
|
15155
15178
|
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.observer = /* @__PURE__ */ (() => {
|
|
15156
15179
|
let o = null;
|
|
@@ -15188,11 +15211,11 @@ class Ov {
|
|
|
15188
15211
|
scrollPaddingStart: 0,
|
|
15189
15212
|
scrollPaddingEnd: 0,
|
|
15190
15213
|
horizontal: !1,
|
|
15191
|
-
getItemKey:
|
|
15192
|
-
rangeExtractor:
|
|
15214
|
+
getItemKey: zv,
|
|
15215
|
+
rangeExtractor: Tv,
|
|
15193
15216
|
onChange: () => {
|
|
15194
15217
|
},
|
|
15195
|
-
measureElement:
|
|
15218
|
+
measureElement: Ov,
|
|
15196
15219
|
initialRect: { width: 0, height: 0 },
|
|
15197
15220
|
scrollMargin: 0,
|
|
15198
15221
|
gap: 0,
|
|
@@ -15320,7 +15343,7 @@ class Ov {
|
|
|
15320
15343
|
this.getScrollOffset(),
|
|
15321
15344
|
this.options.lanes
|
|
15322
15345
|
],
|
|
15323
|
-
(o, n, r, i) => this.range = o.length > 0 && n > 0 ?
|
|
15346
|
+
(o, n, r, i) => this.range = o.length > 0 && n > 0 ? Fv({
|
|
15324
15347
|
measurements: o,
|
|
15325
15348
|
outerSize: n,
|
|
15326
15349
|
scrollOffset: r,
|
|
@@ -15455,7 +15478,7 @@ class Ov {
|
|
|
15455
15478
|
console.warn("Failed to get offset for index:", o);
|
|
15456
15479
|
return;
|
|
15457
15480
|
}
|
|
15458
|
-
|
|
15481
|
+
_v(m[0], b) || d(f);
|
|
15459
15482
|
});
|
|
15460
15483
|
}, d = (u) => {
|
|
15461
15484
|
this.targetWindow && (i++, i < a ? this.targetWindow.requestAnimationFrame(() => s(u)) : console.warn(
|
|
@@ -15513,7 +15536,7 @@ const ta = (e, t, o, n) => {
|
|
|
15513
15536
|
}
|
|
15514
15537
|
return e > 0 ? e - 1 : 0;
|
|
15515
15538
|
};
|
|
15516
|
-
function
|
|
15539
|
+
function Fv({
|
|
15517
15540
|
measurements: e,
|
|
15518
15541
|
outerSize: t,
|
|
15519
15542
|
scrollOffset: o,
|
|
@@ -15549,28 +15572,28 @@ function Nv({
|
|
|
15549
15572
|
}
|
|
15550
15573
|
return { startIndex: a, endIndex: s };
|
|
15551
15574
|
}
|
|
15552
|
-
const Yr = typeof document < "u" ?
|
|
15553
|
-
function
|
|
15554
|
-
const t =
|
|
15575
|
+
const Yr = typeof document < "u" ? Oo.useLayoutEffect : Oo.useEffect;
|
|
15576
|
+
function Av(e) {
|
|
15577
|
+
const t = Oo.useReducer(() => ({}), {})[1], o = {
|
|
15555
15578
|
...e,
|
|
15556
15579
|
onChange: (r, i) => {
|
|
15557
15580
|
var a;
|
|
15558
15581
|
i ? Zr(t) : t(), (a = e.onChange) == null || a.call(e, r, i);
|
|
15559
15582
|
}
|
|
15560
|
-
}, [n] =
|
|
15561
|
-
() => new
|
|
15583
|
+
}, [n] = Oo.useState(
|
|
15584
|
+
() => new Rv(o)
|
|
15562
15585
|
);
|
|
15563
15586
|
return n.setOptions(o), Yr(() => n._didMount(), []), Yr(() => n._willUpdate()), n;
|
|
15564
15587
|
}
|
|
15565
|
-
function
|
|
15566
|
-
return
|
|
15567
|
-
observeElementRect:
|
|
15568
|
-
observeElementOffset:
|
|
15569
|
-
scrollToFn:
|
|
15588
|
+
function Bv(e) {
|
|
15589
|
+
return Av({
|
|
15590
|
+
observeElementRect: Ev,
|
|
15591
|
+
observeElementOffset: Mv,
|
|
15592
|
+
scrollToFn: Nv,
|
|
15570
15593
|
...e
|
|
15571
15594
|
});
|
|
15572
15595
|
}
|
|
15573
|
-
const [oa] = O(["table"]),
|
|
15596
|
+
const [oa] = O(["table"]), Lv = (e) => e.id, Wv = ({
|
|
15574
15597
|
items: e,
|
|
15575
15598
|
columns: t,
|
|
15576
15599
|
className: o,
|
|
@@ -15587,7 +15610,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15587
15610
|
data: e,
|
|
15588
15611
|
getCoreRowModel: li(),
|
|
15589
15612
|
getSortedRowModel: i ? ai() : void 0,
|
|
15590
|
-
getRowId: n ??
|
|
15613
|
+
getRowId: n ?? Lv,
|
|
15591
15614
|
onSortingChange: i ? f : void 0,
|
|
15592
15615
|
state: {
|
|
15593
15616
|
sorting: p
|
|
@@ -15599,16 +15622,16 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15599
15622
|
onListItemAction: s,
|
|
15600
15623
|
isSortable: i,
|
|
15601
15624
|
t: a,
|
|
15602
|
-
children: /* @__PURE__ */ c(
|
|
15603
|
-
/* @__PURE__ */ c(
|
|
15625
|
+
children: /* @__PURE__ */ c(Hv, { className: o, ref: h, children: /* @__PURE__ */ C(Uv, { ...u, children: [
|
|
15626
|
+
/* @__PURE__ */ c(Gv, { children: b.getHeaderGroups().map((y) => /* @__PURE__ */ c(Gt, { style: { display: "flex" }, children: y.headers.map((v) => (
|
|
15604
15627
|
// Fragment is required here because flexRender doesnt work nice with the "key" prop
|
|
15605
|
-
/* @__PURE__ */ c(qr, { children:
|
|
15628
|
+
/* @__PURE__ */ c(qr, { children: jo(
|
|
15606
15629
|
v.column.columnDef.header,
|
|
15607
15630
|
v.getContext()
|
|
15608
15631
|
) }, v.id)
|
|
15609
15632
|
)) }, y.id)) }),
|
|
15610
15633
|
/* @__PURE__ */ c(
|
|
15611
|
-
|
|
15634
|
+
jv,
|
|
15612
15635
|
{
|
|
15613
15636
|
isEmpty: m,
|
|
15614
15637
|
numColumns: t.length,
|
|
@@ -15620,7 +15643,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15620
15643
|
] }) })
|
|
15621
15644
|
}
|
|
15622
15645
|
);
|
|
15623
|
-
},
|
|
15646
|
+
}, Pv = [], I1 = de(
|
|
15624
15647
|
({
|
|
15625
15648
|
dataProvider: e,
|
|
15626
15649
|
columns: t,
|
|
@@ -15635,11 +15658,11 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15635
15658
|
renderEmptyAsStandalone: h,
|
|
15636
15659
|
...p
|
|
15637
15660
|
}) => {
|
|
15638
|
-
const f =
|
|
15661
|
+
const f = Yo(e);
|
|
15639
15662
|
return /* @__PURE__ */ c(Kr, { fallback: null, children: /* @__PURE__ */ c(Zt, { children: () => {
|
|
15640
|
-
const b = f && e ? e.items :
|
|
15663
|
+
const b = f && e ? e.items : Pv;
|
|
15641
15664
|
return /* @__PURE__ */ c(
|
|
15642
|
-
|
|
15665
|
+
Wv,
|
|
15643
15666
|
{
|
|
15644
15667
|
items: b,
|
|
15645
15668
|
columns: t,
|
|
@@ -15655,7 +15678,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15655
15678
|
);
|
|
15656
15679
|
} }) });
|
|
15657
15680
|
}
|
|
15658
|
-
),
|
|
15681
|
+
), jv = de(
|
|
15659
15682
|
({
|
|
15660
15683
|
table: e,
|
|
15661
15684
|
tableContainerRef: t,
|
|
@@ -15664,7 +15687,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15664
15687
|
emptyState: r,
|
|
15665
15688
|
numColumns: i
|
|
15666
15689
|
}) => {
|
|
15667
|
-
const { rows: a } = e.getRowModel(), s =
|
|
15690
|
+
const { rows: a } = e.getRowModel(), s = Bv({
|
|
15668
15691
|
count: a.length,
|
|
15669
15692
|
estimateSize: () => 33,
|
|
15670
15693
|
getScrollElement: () => t.current,
|
|
@@ -15673,7 +15696,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15673
15696
|
overscan: 5
|
|
15674
15697
|
});
|
|
15675
15698
|
return /* @__PURE__ */ c(
|
|
15676
|
-
|
|
15699
|
+
Yv,
|
|
15677
15700
|
{
|
|
15678
15701
|
style: {
|
|
15679
15702
|
position: "relative",
|
|
@@ -15682,7 +15705,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15682
15705
|
children: n ? /* @__PURE__ */ c(Gt, { children: /* @__PURE__ */ c(Zo, { colSpan: i, children: r ?? null }) }) : s.getVirtualItems().map((d) => {
|
|
15683
15706
|
const u = a[d.index];
|
|
15684
15707
|
return /* @__PURE__ */ c(
|
|
15685
|
-
|
|
15708
|
+
Vv,
|
|
15686
15709
|
{
|
|
15687
15710
|
trClassName: o,
|
|
15688
15711
|
row: u,
|
|
@@ -15695,7 +15718,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15695
15718
|
}
|
|
15696
15719
|
);
|
|
15697
15720
|
}
|
|
15698
|
-
),
|
|
15721
|
+
), Vv = de(
|
|
15699
15722
|
({ trClassName: e, row: t, virtualRow: o, rowVirtualizer: n }) => /* @__PURE__ */ c(
|
|
15700
15723
|
Gt,
|
|
15701
15724
|
{
|
|
@@ -15717,7 +15740,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15717
15740
|
display: "flex",
|
|
15718
15741
|
width: ((i = r.column.columnDef.meta) == null ? void 0 : i.width) ?? r.column.getSize()
|
|
15719
15742
|
},
|
|
15720
|
-
children:
|
|
15743
|
+
children: jo(r.column.columnDef.cell, r.getContext())
|
|
15721
15744
|
},
|
|
15722
15745
|
r.id
|
|
15723
15746
|
);
|
|
@@ -15725,24 +15748,24 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15725
15748
|
},
|
|
15726
15749
|
t.id
|
|
15727
15750
|
)
|
|
15728
|
-
),
|
|
15751
|
+
), Hv = g.div`
|
|
15729
15752
|
width: 100%;
|
|
15730
15753
|
display: grid;
|
|
15731
15754
|
overflow: auto;
|
|
15732
|
-
`,
|
|
15755
|
+
`, Uv = g.table`
|
|
15733
15756
|
width: 100%;
|
|
15734
15757
|
border-collapse: collapse;
|
|
15735
15758
|
font-family: ${oa("font-family")};
|
|
15736
15759
|
table-layout: fixed;
|
|
15737
|
-
`,
|
|
15760
|
+
`, Gv = g.thead`
|
|
15738
15761
|
width: 100%;
|
|
15739
15762
|
position: sticky;
|
|
15740
15763
|
background-color: ${oa("header-background-color")};
|
|
15741
15764
|
top: 0;
|
|
15742
15765
|
z-index: 1;
|
|
15743
|
-
`,
|
|
15766
|
+
`, Yv = g.tbody`
|
|
15744
15767
|
width: 100%;
|
|
15745
|
-
`,
|
|
15768
|
+
`, _1 = ie(
|
|
15746
15769
|
({
|
|
15747
15770
|
onSearch: e,
|
|
15748
15771
|
searchDelay: t = 100,
|
|
@@ -15771,9 +15794,9 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15771
15794
|
}, [e]), $ = a !== void 0 && s !== void 0 && !!h && !!p;
|
|
15772
15795
|
return (a !== void 0 || s !== void 0 || h !== void 0 || p !== void 0) && !$ && (console.error(
|
|
15773
15796
|
"Unable to show results in search input without full results config"
|
|
15774
|
-
), h || console.error("- onNext is missing."), p || console.error("- onPrev is missing."), s === void 0 && console.error("- resultCurrent is missing."), a === void 0 && console.error("- resultTotal is missing.")), /* @__PURE__ */ C(
|
|
15797
|
+
), h || console.error("- onNext is missing."), p || console.error("- onPrev is missing."), s === void 0 && console.error("- resultCurrent is missing."), a === void 0 && console.error("- resultTotal is missing.")), /* @__PURE__ */ C(Kv, { className: r, children: [
|
|
15775
15798
|
/* @__PURE__ */ c(
|
|
15776
|
-
|
|
15799
|
+
qv,
|
|
15777
15800
|
{
|
|
15778
15801
|
value: b,
|
|
15779
15802
|
ref: f,
|
|
@@ -15786,10 +15809,10 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15786
15809
|
"data-show-results": $
|
|
15787
15810
|
}
|
|
15788
15811
|
),
|
|
15789
|
-
$ && /* @__PURE__ */ C(
|
|
15812
|
+
$ && /* @__PURE__ */ C(Zv, { children: [
|
|
15790
15813
|
/* @__PURE__ */ c(T, { variant: "body", color: "grey", children: `${s}/${a}` }),
|
|
15791
15814
|
/* @__PURE__ */ c(
|
|
15792
|
-
|
|
15815
|
+
ce,
|
|
15793
15816
|
{
|
|
15794
15817
|
iconId: "CaretUp",
|
|
15795
15818
|
size: "sm",
|
|
@@ -15799,7 +15822,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15799
15822
|
}
|
|
15800
15823
|
),
|
|
15801
15824
|
/* @__PURE__ */ c(
|
|
15802
|
-
|
|
15825
|
+
ce,
|
|
15803
15826
|
{
|
|
15804
15827
|
iconId: "CaretDown",
|
|
15805
15828
|
size: "sm",
|
|
@@ -15808,9 +15831,9 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15808
15831
|
onClick: h
|
|
15809
15832
|
}
|
|
15810
15833
|
),
|
|
15811
|
-
/* @__PURE__ */ c(
|
|
15834
|
+
/* @__PURE__ */ c(Xv, {}),
|
|
15812
15835
|
/* @__PURE__ */ c(
|
|
15813
|
-
|
|
15836
|
+
ce,
|
|
15814
15837
|
{
|
|
15815
15838
|
iconId: "Close",
|
|
15816
15839
|
color: "blue",
|
|
@@ -15822,16 +15845,16 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15822
15845
|
] })
|
|
15823
15846
|
] });
|
|
15824
15847
|
}
|
|
15825
|
-
),
|
|
15848
|
+
), Kv = g.div`
|
|
15826
15849
|
width: 100%;
|
|
15827
15850
|
height: fit-content;
|
|
15828
15851
|
position: relative;
|
|
15829
15852
|
display: flex;
|
|
15830
|
-
`,
|
|
15853
|
+
`, qv = g(eo)`
|
|
15831
15854
|
&[data-show-results="true"] {
|
|
15832
15855
|
padding-right: 102px;
|
|
15833
15856
|
}
|
|
15834
|
-
`,
|
|
15857
|
+
`, Zv = g.div`
|
|
15835
15858
|
position: absolute;
|
|
15836
15859
|
top: 50%;
|
|
15837
15860
|
transform: translateY(-50%);
|
|
@@ -15842,11 +15865,11 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15842
15865
|
padding-right: ${l("spacing-8")};
|
|
15843
15866
|
justify-content: flex-end;
|
|
15844
15867
|
column-gap: ${l("spacing-8")};
|
|
15845
|
-
`,
|
|
15868
|
+
`, Xv = g.div`
|
|
15846
15869
|
width: 1px;
|
|
15847
15870
|
height: 40%;
|
|
15848
15871
|
background-color: ${l("color-grey30")};
|
|
15849
|
-
`,
|
|
15872
|
+
`, D1 = L(
|
|
15850
15873
|
({
|
|
15851
15874
|
listMaxSize: e,
|
|
15852
15875
|
listMinSize: t,
|
|
@@ -15856,7 +15879,7 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15856
15879
|
Details: i,
|
|
15857
15880
|
ListPanelComponent: a = Pi
|
|
15858
15881
|
}) => /* @__PURE__ */ c(
|
|
15859
|
-
|
|
15882
|
+
Jv,
|
|
15860
15883
|
{
|
|
15861
15884
|
style: {
|
|
15862
15885
|
"--studio-c-table-cell-padding-y": l("spacing-8")
|
|
@@ -15872,11 +15895,11 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15872
15895
|
}
|
|
15873
15896
|
),
|
|
15874
15897
|
/* @__PURE__ */ c(Uu, {}),
|
|
15875
|
-
/* @__PURE__ */ c(Nu, { children: /* @__PURE__ */ c(
|
|
15898
|
+
/* @__PURE__ */ c(Nu, { children: /* @__PURE__ */ c(Qv, { children: /* @__PURE__ */ c(i, {}) }) })
|
|
15876
15899
|
] })
|
|
15877
15900
|
}
|
|
15878
15901
|
)
|
|
15879
|
-
),
|
|
15902
|
+
), Jv = g.div`
|
|
15880
15903
|
width: 100%;
|
|
15881
15904
|
height: 100%;
|
|
15882
15905
|
display: flex;
|
|
@@ -15889,10 +15912,10 @@ const [oa] = O(["table"]), Av = (e) => e.id, Bv = ({
|
|
|
15889
15912
|
align-items: flex-start;
|
|
15890
15913
|
justify-content: flex-start;
|
|
15891
15914
|
flex-direction: column;
|
|
15892
|
-
`,
|
|
15915
|
+
`, Qv = g(na)`
|
|
15893
15916
|
overflow: auto;
|
|
15894
15917
|
`;
|
|
15895
|
-
class
|
|
15918
|
+
class ex {
|
|
15896
15919
|
constructor(t) {
|
|
15897
15920
|
E(this, "model");
|
|
15898
15921
|
E(this, "itemsExpression");
|
|
@@ -15906,7 +15929,7 @@ class Jv {
|
|
|
15906
15929
|
E(this, "_isInitialized", !1);
|
|
15907
15930
|
E(this, "_isDisposed", !1);
|
|
15908
15931
|
E(this, "_reactionDisposer", null);
|
|
15909
|
-
this.model = t.model, this.itemsExpression = t.itemsExpression, this.transformer = t.transformer, this.autoDispose = t.autoDispose ?? !0, this._sortComparator = t.sortComparator,
|
|
15932
|
+
this.model = t.model, this.itemsExpression = t.itemsExpression, this.transformer = t.transformer, this.autoDispose = t.autoDispose ?? !0, this._sortComparator = t.sortComparator, Rt(this, {
|
|
15910
15933
|
items: ye
|
|
15911
15934
|
});
|
|
15912
15935
|
}
|
|
@@ -15937,7 +15960,7 @@ class Jv {
|
|
|
15937
15960
|
throw new Error(
|
|
15938
15961
|
"Cannot initialize a disposed ObservableListDataProvider"
|
|
15939
15962
|
);
|
|
15940
|
-
this._reactionDisposer =
|
|
15963
|
+
this._reactionDisposer = Po(
|
|
15941
15964
|
// The expression to track - includes transformer to track item property accesses
|
|
15942
15965
|
() => {
|
|
15943
15966
|
try {
|
|
@@ -16003,7 +16026,7 @@ class Jv {
|
|
|
16003
16026
|
const n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
16004
16027
|
o.forEach((i, a) => {
|
|
16005
16028
|
n.set(i.id, i), r.set(i.id, t[a]);
|
|
16006
|
-
}),
|
|
16029
|
+
}), le(() => {
|
|
16007
16030
|
for (const [i] of this._itemsById)
|
|
16008
16031
|
n.has(i) || (this._itemsById.delete(i), this.originalItems.delete(i));
|
|
16009
16032
|
for (const [i, a] of n)
|
|
@@ -16025,11 +16048,11 @@ class Jv {
|
|
|
16025
16048
|
this.updateItemsFromTransformed(t, o);
|
|
16026
16049
|
}
|
|
16027
16050
|
}
|
|
16028
|
-
function
|
|
16029
|
-
return new
|
|
16051
|
+
function tx(e) {
|
|
16052
|
+
return new ex(e);
|
|
16030
16053
|
}
|
|
16031
|
-
const
|
|
16032
|
-
class
|
|
16054
|
+
const ox = "/kos/model/ready/";
|
|
16055
|
+
class nx {
|
|
16033
16056
|
constructor(t) {
|
|
16034
16057
|
E(this, "itemsExpression");
|
|
16035
16058
|
E(this, "transformer");
|
|
@@ -16048,7 +16071,7 @@ class tx {
|
|
|
16048
16071
|
E(this, "_sortComparator");
|
|
16049
16072
|
// Observable items array that gets populated when inner provider is ready
|
|
16050
16073
|
E(this, "_items", be.array([]));
|
|
16051
|
-
this._modelType = t.modelType, this._modelId = t.modelId, this._context = t.context, this._shouldActivate = t.activate ?? !1, this.itemsExpression = t.itemsExpression, this.transformer = t.transformer, this._sortComparator = t.sortComparator,
|
|
16074
|
+
this._modelType = t.modelType, this._modelId = t.modelId, this._context = t.context, this._shouldActivate = t.activate ?? !1, this.itemsExpression = t.itemsExpression, this.transformer = t.transformer, this._sortComparator = t.sortComparator, Rt(this, {
|
|
16052
16075
|
_innerProvider: be.ref,
|
|
16053
16076
|
// Track reference changes to inner provider
|
|
16054
16077
|
_isLoading: be,
|
|
@@ -16111,7 +16134,7 @@ class tx {
|
|
|
16111
16134
|
if (!this._isInitialized) {
|
|
16112
16135
|
if (this._isDisposed && (this._isDisposed = !1), typeof this._modelId == "function") {
|
|
16113
16136
|
const t = this._modelId;
|
|
16114
|
-
this._modelIdReactionDisposer =
|
|
16137
|
+
this._modelIdReactionDisposer = Po(
|
|
16115
16138
|
() => {
|
|
16116
16139
|
try {
|
|
16117
16140
|
return t(this._context);
|
|
@@ -16141,7 +16164,7 @@ class tx {
|
|
|
16141
16164
|
* Wrapped in runInAction to comply with MobX strict mode.
|
|
16142
16165
|
*/
|
|
16143
16166
|
handleModelIdChange(t) {
|
|
16144
|
-
this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null),
|
|
16167
|
+
this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null), le(() => {
|
|
16145
16168
|
this._innerProvider && (this._innerProvider.dispose(), this._innerProvider = null), this._currentModelId = t;
|
|
16146
16169
|
}), t && this.subscribeToModelLifecycle(t);
|
|
16147
16170
|
}
|
|
@@ -16155,7 +16178,7 @@ class tx {
|
|
|
16155
16178
|
this.createInnerProvider(o);
|
|
16156
16179
|
return;
|
|
16157
16180
|
}
|
|
16158
|
-
const n = `${
|
|
16181
|
+
const n = `${ox}${this._modelType}/${t}`, r = ri.subscribe(n, () => {
|
|
16159
16182
|
const i = this.getModelFromManager(t);
|
|
16160
16183
|
i && this.createInnerProvider(i);
|
|
16161
16184
|
});
|
|
@@ -16169,7 +16192,7 @@ class tx {
|
|
|
16169
16192
|
async createInnerProvider(t) {
|
|
16170
16193
|
if (this._innerProvider)
|
|
16171
16194
|
return;
|
|
16172
|
-
const o =
|
|
16195
|
+
const o = tx({
|
|
16173
16196
|
model: t,
|
|
16174
16197
|
itemsExpression: this.itemsExpression,
|
|
16175
16198
|
transformer: this.transformer,
|
|
@@ -16177,7 +16200,7 @@ class tx {
|
|
|
16177
16200
|
// We manage disposal
|
|
16178
16201
|
sortComparator: this._sortComparator
|
|
16179
16202
|
});
|
|
16180
|
-
|
|
16203
|
+
le(() => {
|
|
16181
16204
|
this._isLoading = !1, this._innerProvider = o;
|
|
16182
16205
|
}), await o.init();
|
|
16183
16206
|
}
|
|
@@ -16191,10 +16214,10 @@ class tx {
|
|
|
16191
16214
|
var o;
|
|
16192
16215
|
try {
|
|
16193
16216
|
const n = ii(t);
|
|
16194
|
-
return this._shouldActivate && ((o = n == null ? void 0 : n.model) != null && o.activate) && (
|
|
16217
|
+
return this._shouldActivate && ((o = n == null ? void 0 : n.model) != null && o.activate) && (le(() => {
|
|
16195
16218
|
this._isLoading = !0;
|
|
16196
16219
|
}), n.model.activate().finally(() => {
|
|
16197
|
-
|
|
16220
|
+
le(() => {
|
|
16198
16221
|
this._isLoading = !1;
|
|
16199
16222
|
});
|
|
16200
16223
|
})), n == null ? void 0 : n.model;
|
|
@@ -16207,7 +16230,7 @@ class tx {
|
|
|
16207
16230
|
* Uses runInAction for observable state changes to comply with MobX strict mode.
|
|
16208
16231
|
*/
|
|
16209
16232
|
dispose() {
|
|
16210
|
-
this._isDisposed || (this._modelIdReactionDisposer && (this._modelIdReactionDisposer(), this._modelIdReactionDisposer = null), this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null),
|
|
16233
|
+
this._isDisposed || (this._modelIdReactionDisposer && (this._modelIdReactionDisposer(), this._modelIdReactionDisposer = null), this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null), le(() => {
|
|
16211
16234
|
this._innerProvider && (this._innerProvider.dispose(), this._innerProvider = null);
|
|
16212
16235
|
}), this._isDisposed = !0, this._isInitialized = !1, this._currentModelId = void 0);
|
|
16213
16236
|
}
|
|
@@ -16228,11 +16251,11 @@ class tx {
|
|
|
16228
16251
|
return this._innerProvider && this._innerProvider.refresh ? this._innerProvider.refresh() : Promise.resolve();
|
|
16229
16252
|
}
|
|
16230
16253
|
}
|
|
16231
|
-
function
|
|
16232
|
-
return new
|
|
16254
|
+
function z1(e) {
|
|
16255
|
+
return new nx(e);
|
|
16233
16256
|
}
|
|
16234
|
-
const
|
|
16235
|
-
class
|
|
16257
|
+
const rx = "/kos/model/ready/";
|
|
16258
|
+
class ix extends Sb {
|
|
16236
16259
|
constructor(o, n, r, i, a, s) {
|
|
16237
16260
|
super(
|
|
16238
16261
|
o,
|
|
@@ -16263,7 +16286,7 @@ class nx extends Sb {
|
|
|
16263
16286
|
return this._getItemIdFn(o);
|
|
16264
16287
|
}
|
|
16265
16288
|
}
|
|
16266
|
-
class
|
|
16289
|
+
class sx {
|
|
16267
16290
|
constructor(t) {
|
|
16268
16291
|
E(this, "_modelId");
|
|
16269
16292
|
E(this, "_context");
|
|
@@ -16283,7 +16306,7 @@ class rx {
|
|
|
16283
16306
|
E(this, "_hasChildrenExpression");
|
|
16284
16307
|
E(this, "_getItemIdFn");
|
|
16285
16308
|
E(this, "_transformer");
|
|
16286
|
-
this._modelType = t.modelType, this._modelId = t.modelId, this._context = t.context, this._shouldActivate = t.activate ?? !1, this._rootsExpression = t.rootsExpression, this._childrenExpression = t.childrenExpression, this._hasChildrenExpression = t.hasChildrenExpression, this._getItemIdFn = t.getItemId, this._transformer = t.transformer,
|
|
16309
|
+
this._modelType = t.modelType, this._modelId = t.modelId, this._context = t.context, this._shouldActivate = t.activate ?? !1, this._rootsExpression = t.rootsExpression, this._childrenExpression = t.childrenExpression, this._hasChildrenExpression = t.hasChildrenExpression, this._getItemIdFn = t.getItemId, this._transformer = t.transformer, Rt(this, {
|
|
16287
16310
|
_innerProvider: be.ref,
|
|
16288
16311
|
_isLoading: be,
|
|
16289
16312
|
_isInitialized: be,
|
|
@@ -16340,7 +16363,7 @@ class rx {
|
|
|
16340
16363
|
if (!this._isInitializing) {
|
|
16341
16364
|
if (this._isInitialized && (this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null), this._modelIdReactionDisposer && (this._modelIdReactionDisposer(), this._modelIdReactionDisposer = null), this._innerProvider && (this._innerProvider.dispose(), this._innerProvider = null), this._isInitialized = !1, this._currentModelId = void 0), this._isDisposed && (this._isDisposed = !1), this._isInitializing = !0, typeof this._modelId == "function") {
|
|
16342
16365
|
const t = this._modelId;
|
|
16343
|
-
this._modelIdReactionDisposer =
|
|
16366
|
+
this._modelIdReactionDisposer = Po(
|
|
16344
16367
|
() => {
|
|
16345
16368
|
try {
|
|
16346
16369
|
return t(this._context);
|
|
@@ -16358,7 +16381,7 @@ class rx {
|
|
|
16358
16381
|
);
|
|
16359
16382
|
} else
|
|
16360
16383
|
this._currentModelId = this._modelId, await this.subscribeToModelLifecycle(this._modelId);
|
|
16361
|
-
|
|
16384
|
+
le(() => {
|
|
16362
16385
|
this._isInitialized = !0, this._isInitializing = !1;
|
|
16363
16386
|
});
|
|
16364
16387
|
}
|
|
@@ -16367,7 +16390,7 @@ class rx {
|
|
|
16367
16390
|
* Handle changes to dynamic modelId.
|
|
16368
16391
|
*/
|
|
16369
16392
|
handleModelIdChange(t) {
|
|
16370
|
-
this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null),
|
|
16393
|
+
this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null), le(() => {
|
|
16371
16394
|
this._innerProvider && (this._innerProvider.dispose(), this._innerProvider = null), this._currentModelId = t;
|
|
16372
16395
|
}), t && this.subscribeToModelLifecycle(t);
|
|
16373
16396
|
}
|
|
@@ -16383,7 +16406,7 @@ class rx {
|
|
|
16383
16406
|
await this.createInnerProvider(o);
|
|
16384
16407
|
return;
|
|
16385
16408
|
}
|
|
16386
|
-
const n = `${
|
|
16409
|
+
const n = `${rx}${this._modelType}/${t}`, r = ri.subscribe(n, () => {
|
|
16387
16410
|
const i = this.getModelFromManager(t);
|
|
16388
16411
|
i && this.createInnerProvider(i);
|
|
16389
16412
|
});
|
|
@@ -16395,7 +16418,7 @@ class rx {
|
|
|
16395
16418
|
async createInnerProvider(t) {
|
|
16396
16419
|
if (this._innerProvider)
|
|
16397
16420
|
return;
|
|
16398
|
-
const o = new
|
|
16421
|
+
const o = new ix(
|
|
16399
16422
|
t,
|
|
16400
16423
|
this._rootsExpression,
|
|
16401
16424
|
this._childrenExpression,
|
|
@@ -16403,7 +16426,7 @@ class rx {
|
|
|
16403
16426
|
this._getItemIdFn,
|
|
16404
16427
|
this._transformer
|
|
16405
16428
|
);
|
|
16406
|
-
|
|
16429
|
+
le(() => {
|
|
16407
16430
|
this._isLoading = !1, this._innerProvider = o;
|
|
16408
16431
|
}), await o.init();
|
|
16409
16432
|
}
|
|
@@ -16414,10 +16437,10 @@ class rx {
|
|
|
16414
16437
|
var o;
|
|
16415
16438
|
try {
|
|
16416
16439
|
const n = ii(t);
|
|
16417
|
-
return this._shouldActivate && ((o = n == null ? void 0 : n.model) != null && o.activate) && (
|
|
16440
|
+
return this._shouldActivate && ((o = n == null ? void 0 : n.model) != null && o.activate) && (le(() => {
|
|
16418
16441
|
this._isLoading = !0;
|
|
16419
16442
|
}), n.model.activate().finally(() => {
|
|
16420
|
-
|
|
16443
|
+
le(() => {
|
|
16421
16444
|
this._isLoading = !1;
|
|
16422
16445
|
});
|
|
16423
16446
|
})), n == null ? void 0 : n.model;
|
|
@@ -16466,44 +16489,44 @@ class rx {
|
|
|
16466
16489
|
* Dispose of the provider and clean up all subscriptions.
|
|
16467
16490
|
*/
|
|
16468
16491
|
dispose() {
|
|
16469
|
-
this._isDisposed || (this._modelIdReactionDisposer && (this._modelIdReactionDisposer(), this._modelIdReactionDisposer = null), this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null),
|
|
16492
|
+
this._isDisposed || (this._modelIdReactionDisposer && (this._modelIdReactionDisposer(), this._modelIdReactionDisposer = null), this._eventBusUnsubscribe && (this._eventBusUnsubscribe(), this._eventBusUnsubscribe = null), le(() => {
|
|
16470
16493
|
this._innerProvider && (this._innerProvider.dispose(), this._innerProvider = null);
|
|
16471
16494
|
}), this._isDisposed = !0, this._isInitialized = !1, this._isInitializing = !1, this._currentModelId = void 0);
|
|
16472
16495
|
}
|
|
16473
16496
|
}
|
|
16474
|
-
function
|
|
16475
|
-
return new
|
|
16497
|
+
function T1(e) {
|
|
16498
|
+
return new sx(e);
|
|
16476
16499
|
}
|
|
16477
16500
|
export {
|
|
16478
16501
|
Ks as ActionBar,
|
|
16479
|
-
|
|
16480
|
-
|
|
16502
|
+
lw as ActionSelect,
|
|
16503
|
+
Ex as ActionableBlurb,
|
|
16481
16504
|
qi as AlertTooltip,
|
|
16482
|
-
|
|
16505
|
+
Mx as AlternatingStatus,
|
|
16483
16506
|
ld as AnimatePresence,
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16507
|
+
t1 as AnonymousBranch,
|
|
16508
|
+
Uw as AnonymousGroup,
|
|
16509
|
+
vw as ArtifactVersion,
|
|
16487
16510
|
Gm as AsyncList,
|
|
16488
16511
|
Vn as AsyncListGroupHeader,
|
|
16489
|
-
|
|
16490
|
-
|
|
16512
|
+
o1 as AsyncNamedCollapsibleBranch,
|
|
16513
|
+
Aw as AsyncSelectViewList,
|
|
16491
16514
|
Qb as AsyncTreeList,
|
|
16492
|
-
|
|
16515
|
+
fw as Badge,
|
|
16493
16516
|
Sb as BaseAsyncTreeDataProvider,
|
|
16494
|
-
|
|
16517
|
+
d1 as BaseModalContent,
|
|
16495
16518
|
Es as BaseObservableDataProvider,
|
|
16496
|
-
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16519
|
+
Tx as BaseUIComponentsContextProvider,
|
|
16520
|
+
Wx as BottomDialogDrawer,
|
|
16521
|
+
Hx as BottomInlineDrawer,
|
|
16522
|
+
bw as BrandedHeader,
|
|
16500
16523
|
dt as Button,
|
|
16501
|
-
|
|
16524
|
+
Ox as ButtonGroup,
|
|
16502
16525
|
bd as ButtonGroupItem,
|
|
16503
16526
|
Qt as CheckBox,
|
|
16504
16527
|
Un as CheckListItemCheck,
|
|
16505
16528
|
Fb as CheckListItemCheckCompact,
|
|
16506
|
-
|
|
16529
|
+
Ko as CheckListItemContainer,
|
|
16507
16530
|
Bs as CheckListItemContainerCompact,
|
|
16508
16531
|
Nb as CheckListItemContainerWithDivider,
|
|
16509
16532
|
Rb as CheckListItemContainerWithDividerCompact,
|
|
@@ -16511,155 +16534,155 @@ export {
|
|
|
16511
16534
|
Ab as CheckListItemNameCompact,
|
|
16512
16535
|
Bb as CheckListItemTemplate,
|
|
16513
16536
|
Tn as Collapsible,
|
|
16514
|
-
|
|
16537
|
+
yw as CollapsibleArtifact,
|
|
16515
16538
|
En as CollapsibleContent,
|
|
16516
|
-
|
|
16539
|
+
xw as CollapsibleList,
|
|
16517
16540
|
mi as CollapsibleTrigger,
|
|
16518
16541
|
Rp as ComboBox,
|
|
16519
|
-
|
|
16542
|
+
Nx as CopyableText,
|
|
16520
16543
|
Ln as DarkTooltip,
|
|
16521
16544
|
Nh as DarkTooltipStyle,
|
|
16522
|
-
|
|
16523
|
-
|
|
16545
|
+
ww as DatePicker,
|
|
16546
|
+
Gw as DescriptionListItemTemplate,
|
|
16524
16547
|
vi as Dialog,
|
|
16525
16548
|
wi as DialogContent,
|
|
16526
16549
|
xi as DialogTrigger,
|
|
16527
16550
|
Pn as DragContext,
|
|
16528
16551
|
Is as DraggableItemWrapper,
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16552
|
+
Ux as Drawer,
|
|
16553
|
+
Yx as DrawerContent,
|
|
16554
|
+
qx as DrawerHeader,
|
|
16555
|
+
Gx as DrawerTrigger,
|
|
16556
|
+
y1 as DropIndicator,
|
|
16557
|
+
b1 as DropZone,
|
|
16535
16558
|
nm as Dropdown,
|
|
16536
16559
|
fs as DropdownMenu,
|
|
16537
16560
|
du as EMAIL_PATTERN,
|
|
16538
16561
|
hu as EmailRequirementKeys,
|
|
16539
|
-
|
|
16540
|
-
|
|
16562
|
+
$w as EmptyListMessage,
|
|
16563
|
+
Fx as EndOverlayStyle,
|
|
16541
16564
|
Fh as ErrorTooltip,
|
|
16542
|
-
|
|
16565
|
+
ow as FIRST_CHAR_ALPHA,
|
|
16543
16566
|
Pp as FakeInputReference,
|
|
16544
|
-
|
|
16545
|
-
|
|
16567
|
+
m1 as FilterPanel,
|
|
16568
|
+
Ho as FlexHandle,
|
|
16546
16569
|
Nu as FlexResizablePanel,
|
|
16547
16570
|
um as Form,
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16571
|
+
Tw as FormAccessToggles,
|
|
16572
|
+
zw as FormCheckbox,
|
|
16573
|
+
Mw as FormComboBox,
|
|
16551
16574
|
wt as FormErrorMessage,
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16575
|
+
Dw as FormField,
|
|
16576
|
+
Ow as FormFileInput,
|
|
16577
|
+
Rw as FormHiddenField,
|
|
16555
16578
|
ws as FormInput,
|
|
16556
16579
|
pt as FormInputWrapper,
|
|
16557
16580
|
Be as FormLabel,
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16581
|
+
Nw as FormMultiSelect,
|
|
16582
|
+
Ew as FormNameInput,
|
|
16583
|
+
_w as FormSelect,
|
|
16584
|
+
Fw as FormStaticField,
|
|
16562
16585
|
xs as FormSubmit,
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16586
|
+
Iw as FormTextArea,
|
|
16587
|
+
Sw as FormToggle,
|
|
16588
|
+
g1 as FutureAwareProgressButton,
|
|
16566
16589
|
Fs as GroupContext,
|
|
16567
|
-
|
|
16568
|
-
|
|
16590
|
+
Vw as GroupList,
|
|
16591
|
+
Lw as GroupedObservableDataProvider,
|
|
16569
16592
|
vs as HiddenFormInput,
|
|
16570
|
-
|
|
16571
|
-
|
|
16593
|
+
i1 as HolderListItemTemplate,
|
|
16594
|
+
Zx as HorizontalRule,
|
|
16572
16595
|
A as Icon,
|
|
16573
|
-
|
|
16596
|
+
ce as IconButton,
|
|
16574
16597
|
eo as Input,
|
|
16575
16598
|
nu as InputSearch,
|
|
16576
16599
|
$o as ItemActionBar,
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16600
|
+
a1 as ItemSelectionList,
|
|
16601
|
+
l1 as ItemSelectionListDataProvider,
|
|
16602
|
+
mw as KOSLogo,
|
|
16580
16603
|
iu as Label,
|
|
16581
|
-
|
|
16604
|
+
Xx as LabelWithAction,
|
|
16582
16605
|
Ni as LabelWithContent,
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16606
|
+
Jx as LabelWithContentLink,
|
|
16607
|
+
Ax as LeftDialogDrawer,
|
|
16608
|
+
Px as LeftInlineDrawer,
|
|
16609
|
+
nx as LifecycleAwareListProvider,
|
|
16610
|
+
sx as LifecycleAwareTreeProvider,
|
|
16588
16611
|
Bn as LightTooltip,
|
|
16589
16612
|
Sh as LightTooltipStyle,
|
|
16590
16613
|
ui as Link,
|
|
16591
16614
|
Rs as List,
|
|
16592
16615
|
zs as ListContext,
|
|
16593
16616
|
Ts as ListContextProvider,
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16617
|
+
D1 as ListWithDetailsLayout,
|
|
16618
|
+
Kx as LockedButton,
|
|
16619
|
+
c1 as MenuWrapper,
|
|
16597
16620
|
On as MiddleTruncateText,
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16621
|
+
u1 as Modal,
|
|
16622
|
+
dy as ModalOverlayStyles,
|
|
16623
|
+
h1 as ModalTrigger,
|
|
16601
16624
|
Kh as MultiSelect,
|
|
16602
16625
|
uu as NO_LEADING_OR_TRAILING_SPACES_PATTERN,
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16626
|
+
tw as NO_SPACES_PATTERN,
|
|
16627
|
+
ew as NUMBERS_ONLY_PATTERN,
|
|
16628
|
+
n1 as NamedCollapsibleBranch,
|
|
16629
|
+
Hw as NamedCollapsibleGroup,
|
|
16630
|
+
Yw as NamedListItemTemplate,
|
|
16608
16631
|
z0 as NamedSection,
|
|
16609
|
-
|
|
16632
|
+
s1 as NamedSectionHeader,
|
|
16610
16633
|
Ms as ObservableDataProvider,
|
|
16611
|
-
|
|
16612
|
-
|
|
16634
|
+
Nt as Option,
|
|
16635
|
+
rw as PASSWORD_MIN_LENGTH,
|
|
16613
16636
|
bs as PASSWORD_REQUIREMENTS,
|
|
16614
16637
|
xm as PASSWORD_REQUIREMENTS_TOO_SIMILAR,
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16638
|
+
p1 as PageHeader,
|
|
16639
|
+
aw as PaneSplitter,
|
|
16640
|
+
Eo as PasswordRequirementKeys,
|
|
16641
|
+
Cw as PasswordRequirementsList,
|
|
16642
|
+
xy as ProgressButton,
|
|
16643
|
+
Ww as PropertyDataProvider,
|
|
16621
16644
|
Fi as RadioButton,
|
|
16622
16645
|
gm as RequirementsList,
|
|
16623
16646
|
Pi as ResizablePanel,
|
|
16624
16647
|
Eu as ResizablePanelGroup,
|
|
16625
16648
|
Tu as ResizablePanelGroupContextProvider,
|
|
16626
16649
|
Uu as ResizablePanelHandle,
|
|
16627
|
-
|
|
16628
|
-
|
|
16650
|
+
Bx as RightDialogDrawer,
|
|
16651
|
+
jx as RightInlineDrawer,
|
|
16629
16652
|
Ns as SOURCE_PROP_KEY,
|
|
16630
16653
|
Os as SOURCE_SYMBOL,
|
|
16631
16654
|
Yu as ScreenOverlay,
|
|
16632
|
-
|
|
16655
|
+
f1 as ScreenOverlayWithAction,
|
|
16633
16656
|
jn as SearchHighlightContext,
|
|
16634
|
-
|
|
16657
|
+
_1 as SearchInput,
|
|
16635
16658
|
xo as Select,
|
|
16636
|
-
|
|
16659
|
+
e1 as SelectAsyncTreeList,
|
|
16637
16660
|
Hi as SelectContext,
|
|
16638
16661
|
Hn as SelectList,
|
|
16639
16662
|
to as SelectListContext,
|
|
16640
16663
|
ms as SelectSeparator,
|
|
16641
|
-
|
|
16642
|
-
|
|
16664
|
+
w1 as SelectViewList,
|
|
16665
|
+
cv as SelectViewListItem,
|
|
16643
16666
|
Lh as SelectorTooltip,
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16667
|
+
cw as ShellIconButton,
|
|
16668
|
+
k1 as ShellMenu,
|
|
16669
|
+
$1 as ShellMenuLink,
|
|
16670
|
+
Rx as StartOverlayStyle,
|
|
16648
16671
|
Br as StickyObserver,
|
|
16649
16672
|
Jm as StudioCheckListItem,
|
|
16650
16673
|
ib as StudioNamedListItem,
|
|
16651
16674
|
gb as StudioSelectViewListItem,
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16675
|
+
kw as StyledSelectOption,
|
|
16676
|
+
dw as Tab,
|
|
16677
|
+
pw as TabPane,
|
|
16678
|
+
uw as TabTrigger,
|
|
16679
|
+
hw as TabTriggerList,
|
|
16680
|
+
C1 as Table,
|
|
16658
16681
|
jr as TableHeader,
|
|
16659
|
-
|
|
16682
|
+
Kw as TableNamedListItemTemplate,
|
|
16660
16683
|
ea as TableTd,
|
|
16661
16684
|
kn as Tag,
|
|
16662
|
-
|
|
16685
|
+
gw as TagWithRemove,
|
|
16663
16686
|
T as Text,
|
|
16664
16687
|
$n as TextHighlight,
|
|
16665
16688
|
Yi as Textarea,
|
|
@@ -16667,94 +16690,94 @@ export {
|
|
|
16667
16690
|
kh as ToggleThumb,
|
|
16668
16691
|
wh as ToggleTrack,
|
|
16669
16692
|
Wh as Tooltip,
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16693
|
+
Lx as TopDialogDrawer,
|
|
16694
|
+
Vx as TopInlineDrawer,
|
|
16695
|
+
Jw as TreeDataProvider,
|
|
16696
|
+
Qw as TreeList,
|
|
16697
|
+
Qx as USERNAME_PATTERN,
|
|
16698
|
+
Zy as View,
|
|
16676
16699
|
_s as ViewActionContext,
|
|
16677
|
-
|
|
16700
|
+
rv as ViewContainer,
|
|
16678
16701
|
qs as ViewHeader,
|
|
16679
|
-
|
|
16702
|
+
ev as ViewToolbar,
|
|
16680
16703
|
b0 as VirtualList,
|
|
16681
|
-
|
|
16704
|
+
I1 as VirtualTable,
|
|
16682
16705
|
w0 as VirtualizedList,
|
|
16683
|
-
|
|
16706
|
+
r1 as VirtualizedSelectList,
|
|
16684
16707
|
_n as attachSource,
|
|
16685
16708
|
Wc as baseComponentStyles,
|
|
16686
16709
|
tr as baseGenericStyles,
|
|
16687
16710
|
or as baseSemanticStyles,
|
|
16688
|
-
|
|
16711
|
+
Ix as componentStudioTokenCss,
|
|
16689
16712
|
er as componentStyles,
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16713
|
+
z1 as createLifecycleAwareProvider,
|
|
16714
|
+
T1 as createLifecycleAwareTreeProvider,
|
|
16715
|
+
kx as createLocalComponentHelper,
|
|
16716
|
+
$x as createLocalComponentTokenCss,
|
|
16717
|
+
wx as createLocalTokenSystem,
|
|
16718
|
+
tx as createObservableListProvider,
|
|
16719
|
+
S1 as createTableColumnHelper,
|
|
16697
16720
|
Rh as darkTooltipArrow,
|
|
16698
|
-
|
|
16721
|
+
v1 as getByteString,
|
|
16699
16722
|
O as getComponentTokenHelpers,
|
|
16700
16723
|
Wm as getCurrentDragData,
|
|
16701
|
-
|
|
16702
|
-
|
|
16724
|
+
nw as getEmailValidation,
|
|
16725
|
+
sw as getErrorMessage,
|
|
16703
16726
|
R as getGlobalToken,
|
|
16704
|
-
|
|
16705
|
-
|
|
16727
|
+
iw as getPasswordValidation,
|
|
16728
|
+
Pw as getPropertyWithFallback,
|
|
16706
16729
|
l as getSemanticToken,
|
|
16707
16730
|
Cb as getSource,
|
|
16708
|
-
|
|
16709
|
-
|
|
16731
|
+
_x as getStyles,
|
|
16732
|
+
Sx as globalStudioTokenCss,
|
|
16710
16733
|
Er as isContextAware,
|
|
16711
16734
|
pu as isErrorWithMessage,
|
|
16712
16735
|
Db as isGroupFactory,
|
|
16713
16736
|
Hm as isItemTemplateFactory,
|
|
16714
|
-
|
|
16737
|
+
jw as isLockedAware,
|
|
16715
16738
|
$b as keyResolver,
|
|
16716
16739
|
Ih as lightTooltipArrow,
|
|
16717
16740
|
Qe as noop,
|
|
16718
|
-
|
|
16719
|
-
|
|
16741
|
+
x1 as normalizePathDisplay,
|
|
16742
|
+
A1 as renderTableContents,
|
|
16720
16743
|
nr as rootStyles,
|
|
16721
|
-
|
|
16722
|
-
|
|
16744
|
+
Dx as scrollbarStyle,
|
|
16745
|
+
Cx as semanticStudioTokenCss,
|
|
16723
16746
|
Ml as stringComponentInsert,
|
|
16724
16747
|
Pc as studioColors,
|
|
16725
16748
|
Vc as studioDarkColors,
|
|
16726
16749
|
Hc as studioGenericColor,
|
|
16727
16750
|
jc as studioLightColors,
|
|
16728
|
-
|
|
16751
|
+
zx as studioTheme,
|
|
16729
16752
|
ci as transformLocalTokenObject,
|
|
16730
16753
|
Qc as useBaseUIComponentsContext,
|
|
16731
16754
|
gd as useButtonGroupContext,
|
|
16732
|
-
|
|
16755
|
+
Vo as useCollapsibleContext,
|
|
16733
16756
|
ki as useContainerWidth,
|
|
16734
|
-
|
|
16757
|
+
Dt as useDialogContext,
|
|
16735
16758
|
Od as useDialogContextValue,
|
|
16736
16759
|
$s as useDragConfig,
|
|
16737
16760
|
Ss as useDragDrop,
|
|
16738
16761
|
Ft as useDrawerContext,
|
|
16739
|
-
|
|
16740
|
-
|
|
16741
|
-
|
|
16742
|
-
|
|
16762
|
+
O1 as useFormContext,
|
|
16763
|
+
N1 as useFormController,
|
|
16764
|
+
Zw as useGroupSelection,
|
|
16765
|
+
Bw as useListContext,
|
|
16743
16766
|
Tb as useListGroupContext,
|
|
16744
|
-
|
|
16745
|
-
|
|
16767
|
+
Yo as useLoadDataProvider,
|
|
16768
|
+
Dt as useModalContext,
|
|
16746
16769
|
jh as useMultiSelectContext,
|
|
16747
|
-
|
|
16770
|
+
qw as useOpenedGroups,
|
|
16748
16771
|
Wi as useResizablePanelGroupContext,
|
|
16749
16772
|
mu as useResizeObserver,
|
|
16750
16773
|
Cs as useSearchHighlight,
|
|
16751
16774
|
Ui as useSelectContext,
|
|
16752
16775
|
et as useSelectListContext,
|
|
16753
|
-
|
|
16776
|
+
Xw as useSelection,
|
|
16754
16777
|
Fn as useTabContext,
|
|
16755
16778
|
Qs as useTableContext,
|
|
16756
16779
|
qb as useTreeListContext,
|
|
16757
16780
|
Ds as useViewActionContext,
|
|
16758
|
-
|
|
16781
|
+
R1 as useWatchForm
|
|
16759
16782
|
};
|
|
16760
16783
|
//# sourceMappingURL=index.js.map
|