@epam/ai-dial-ui-kit 0.10.0-dev.31 → 0.10.0-dev.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-manifest.json +51 -2
- package/dist/dial-ui-kit.cjs.js +34 -34
- package/dist/dial-ui-kit.es.js +620 -580
- package/dist/index.css +2 -2
- package/dist/src/components/Button/ButtonWrappers.d.ts +15 -0
- package/dist/src/components/Spinner/Spinner.d.ts +8 -0
- package/dist/src/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Fe from "react";
|
|
2
2
|
import Q, { useState as M, useRef as G, useEffect as be, useMemo as V, createContext as Vr, useContext as rt, isValidElement as bh, cloneElement as vu, useCallback as D, memo as kt, useLayoutEffect as hi, PureComponent as b0, Component as x0, forwardRef as xh, useImperativeHandle as zr, createElement as lr, Suspense as y0, useId as Wr, Children as S0 } from "react";
|
|
3
|
-
import
|
|
3
|
+
import le from "classnames";
|
|
4
4
|
import { IconInfoCircle as yh, IconCircleCheck as R0, IconAlertTriangle as Sh, IconAlertCircle as F0, IconX as Eo, IconMinus as E0, IconCheck as Rh, IconExclamationCircle as Fh, IconClipboardX as fv, IconChevronsLeft as D0, IconChevronsRight as P0, IconGripVertical as T0, IconFile as mv, IconFileTypeZip as I0, IconFileTypeXml as M0, IconFileTypeXls as k0, IconFileTypeVue as A0, IconFileTypeTxt as L0, IconFileTypeTsx as O0, IconFileTypeTs as N0, IconFileTypeSvg as H0, IconFileTypeSql as G0, IconFileTypeRs as B0, IconFileTypePpt as V0, IconFileTypePng as z0, IconFileTypePhp as W0, IconFileTypePdf as j0, IconFileTypeJsx as _0, IconFileTypeJs as U0, IconFileTypeJpg as $0, IconFileTypeHtml as q0, IconFileTypeDocx as K0, IconFileTypeDoc as Y0, IconFileTypeCsv as Z0, IconFileTypeCss as Q0, IconFileTypeBmp as X0, IconArrowUpRight as J0, IconFolder as Eh, IconChevronLeft as ex, IconChevronRight as jr, IconZoomCancel as tx, IconChevronDown as _r, IconDotsVertical as Do, IconDots as ix, IconTrashX as mo, IconEyeOff as vv, IconEye as tc, IconSearch as sx, IconPlus as ic, IconChevronUp as nx, IconCircleFilled as Xa, IconFileZip as ox, IconCopyMinus as rx, IconFolderPlus as Pg, IconArrowLeft as ax, IconAlertCircleFilled as lx, IconAlertTriangleFilled as cx, IconCaretRightFilled as dx, IconUserX as Dh, IconCopy as Ph, IconDownload as Th, IconExternalLink as Cu, IconPencilMinus as Cv, IconFileDescription as ux } from "@tabler/icons-react";
|
|
5
5
|
import { useFloating as sc, autoUpdate as Ih, offset as Mh, flip as kh, shift as Ah, arrow as hx, useHover as Lh, useFocus as px, useDismiss as nc, useRole as oc, useInteractions as rc, useMergeRefs as Oh, FloatingPortal as ac, FloatingArrow as gx, FloatingFocusManager as Nh, autoPlacement as fx, size as mx, useClick as vx, FloatingOverlay as Cx } from "@floating-ui/react";
|
|
6
6
|
import wx, { flushSync as bx, createPortal as lc } from "react-dom";
|
|
@@ -113,11 +113,11 @@ function Rx() {
|
|
|
113
113
|
}
|
|
114
114
|
if (j) {
|
|
115
115
|
j = console;
|
|
116
|
-
var Y = j.error,
|
|
116
|
+
var Y = j.error, re = typeof Symbol == "function" && Symbol.toStringTag && I[Symbol.toStringTag] || I.constructor.name || "Object";
|
|
117
117
|
return Y.call(
|
|
118
118
|
j,
|
|
119
119
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
120
|
-
|
|
120
|
+
re
|
|
121
121
|
), t(I);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -164,15 +164,15 @@ function Rx() {
|
|
|
164
164
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
165
165
|
)), I = this.props.ref, I !== void 0 ? I : null;
|
|
166
166
|
}
|
|
167
|
-
function c(I, j, Y,
|
|
168
|
-
var
|
|
167
|
+
function c(I, j, Y, re, xe, N) {
|
|
168
|
+
var ce = Y.ref;
|
|
169
169
|
return I = {
|
|
170
170
|
$$typeof: f,
|
|
171
171
|
type: I,
|
|
172
172
|
key: j,
|
|
173
173
|
props: Y,
|
|
174
|
-
_owner:
|
|
175
|
-
}, (
|
|
174
|
+
_owner: re
|
|
175
|
+
}, (ce !== void 0 ? ce : null) !== null ? Object.defineProperty(I, "ref", {
|
|
176
176
|
enumerable: !1,
|
|
177
177
|
get: l
|
|
178
178
|
}) : Object.defineProperty(I, "ref", { enumerable: !1, value: null }), I._store = {}, Object.defineProperty(I._store, "validated", {
|
|
@@ -197,48 +197,48 @@ function Rx() {
|
|
|
197
197
|
value: N
|
|
198
198
|
}), Object.freeze && (Object.freeze(I.props), Object.freeze(I)), I;
|
|
199
199
|
}
|
|
200
|
-
function d(I, j, Y,
|
|
201
|
-
var
|
|
202
|
-
if (
|
|
203
|
-
if (
|
|
204
|
-
if (Z(
|
|
205
|
-
for (
|
|
206
|
-
u(
|
|
207
|
-
Object.freeze && Object.freeze(
|
|
200
|
+
function d(I, j, Y, re, xe, N) {
|
|
201
|
+
var ce = j.children;
|
|
202
|
+
if (ce !== void 0)
|
|
203
|
+
if (re)
|
|
204
|
+
if (Z(ce)) {
|
|
205
|
+
for (re = 0; re < ce.length; re++)
|
|
206
|
+
u(ce[re]);
|
|
207
|
+
Object.freeze && Object.freeze(ce);
|
|
208
208
|
} else
|
|
209
209
|
console.error(
|
|
210
210
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
211
211
|
);
|
|
212
|
-
else u(
|
|
212
|
+
else u(ce);
|
|
213
213
|
if (H.call(j, "key")) {
|
|
214
|
-
|
|
214
|
+
ce = e(I);
|
|
215
215
|
var Oe = Object.keys(j).filter(function(ae) {
|
|
216
216
|
return ae !== "key";
|
|
217
217
|
});
|
|
218
|
-
|
|
218
|
+
re = 0 < Oe.length ? "{key: someKey, " + Oe.join(": ..., ") + ": ...}" : "{key: someKey}", k[ce + re] || (Oe = 0 < Oe.length ? "{" + Oe.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
219
219
|
`A props object containing a "key" prop is being spread into JSX:
|
|
220
220
|
let props = %s;
|
|
221
221
|
<%s {...props} />
|
|
222
222
|
React keys must be passed directly to JSX without using spread:
|
|
223
223
|
let props = %s;
|
|
224
224
|
<%s key={someKey} {...props} />`,
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
re,
|
|
226
|
+
ce,
|
|
227
227
|
Oe,
|
|
228
|
-
|
|
229
|
-
), k[
|
|
228
|
+
ce
|
|
229
|
+
), k[ce + re] = !0);
|
|
230
230
|
}
|
|
231
|
-
if (
|
|
231
|
+
if (ce = null, Y !== void 0 && (i(Y), ce = "" + Y), r(j) && (i(j.key), ce = "" + j.key), "key" in j) {
|
|
232
232
|
Y = {};
|
|
233
233
|
for (var J in j)
|
|
234
234
|
J !== "key" && (Y[J] = j[J]);
|
|
235
235
|
} else Y = j;
|
|
236
|
-
return
|
|
236
|
+
return ce && a(
|
|
237
237
|
Y,
|
|
238
238
|
typeof I == "function" ? I.displayName || I.name || "Unknown" : I
|
|
239
239
|
), c(
|
|
240
240
|
I,
|
|
241
|
-
|
|
241
|
+
ce,
|
|
242
242
|
Y,
|
|
243
243
|
n(),
|
|
244
244
|
xe,
|
|
@@ -264,24 +264,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
o
|
|
265
265
|
)(), ne = O(s(o)), k = {};
|
|
266
266
|
Jo.Fragment = v, Jo.jsx = function(I, j, Y) {
|
|
267
|
-
var
|
|
267
|
+
var re = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
268
268
|
return d(
|
|
269
269
|
I,
|
|
270
270
|
j,
|
|
271
271
|
Y,
|
|
272
272
|
!1,
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
re ? Error("react-stack-top-frame") : $,
|
|
274
|
+
re ? O(s(I)) : ne
|
|
275
275
|
);
|
|
276
276
|
}, Jo.jsxs = function(I, j, Y) {
|
|
277
|
-
var
|
|
277
|
+
var re = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
278
278
|
return d(
|
|
279
279
|
I,
|
|
280
280
|
j,
|
|
281
281
|
Y,
|
|
282
282
|
!0,
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
re ? Error("react-stack-top-frame") : $,
|
|
284
|
+
re ? O(s(I)) : ne
|
|
285
285
|
);
|
|
286
286
|
};
|
|
287
287
|
})()), Jo;
|
|
@@ -603,7 +603,7 @@ const Ex = (e, t) => {
|
|
|
603
603
|
repeat: ["", "x", "y", "space", "round"]
|
|
604
604
|
}], Y = () => ["auto", "cover", "contain", cy, ny, {
|
|
605
605
|
size: [we, Ce]
|
|
606
|
-
}],
|
|
606
|
+
}], re = () => [gd, er, Us], xe = () => [
|
|
607
607
|
// Deprecated since Tailwind CSS v4.0.0
|
|
608
608
|
"",
|
|
609
609
|
"none",
|
|
@@ -611,7 +611,7 @@ const Ex = (e, t) => {
|
|
|
611
611
|
c,
|
|
612
612
|
we,
|
|
613
613
|
Ce
|
|
614
|
-
], N = () => ["", He, er, Us],
|
|
614
|
+
], N = () => ["", He, er, Us], ce = () => ["solid", "dashed", "dotted", "double"], Oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [He, gd, Hg, Ng], ae = () => [
|
|
615
615
|
// Deprecated since Tailwind CSS v4.0.0
|
|
616
616
|
"",
|
|
617
617
|
"none",
|
|
@@ -1555,7 +1555,7 @@ const Ex = (e, t) => {
|
|
|
1555
1555
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1556
1556
|
*/
|
|
1557
1557
|
"text-decoration-style": [{
|
|
1558
|
-
decoration: [...
|
|
1558
|
+
decoration: [...ce(), "wavy"]
|
|
1559
1559
|
}],
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Text Decoration Thickness
|
|
@@ -1714,21 +1714,21 @@ const Ex = (e, t) => {
|
|
|
1714
1714
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1715
1715
|
*/
|
|
1716
1716
|
"gradient-from-pos": [{
|
|
1717
|
-
from:
|
|
1717
|
+
from: re()
|
|
1718
1718
|
}],
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Gradient Color Stops Via Position
|
|
1721
1721
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1722
1722
|
*/
|
|
1723
1723
|
"gradient-via-pos": [{
|
|
1724
|
-
via:
|
|
1724
|
+
via: re()
|
|
1725
1725
|
}],
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Gradient Color Stops To Position
|
|
1728
1728
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1729
1729
|
*/
|
|
1730
1730
|
"gradient-to-pos": [{
|
|
1731
|
-
to:
|
|
1731
|
+
to: re()
|
|
1732
1732
|
}],
|
|
1733
1733
|
/**
|
|
1734
1734
|
* Gradient Color Stops From
|
|
@@ -1965,14 +1965,14 @@ const Ex = (e, t) => {
|
|
|
1965
1965
|
* @see https://tailwindcss.com/docs/border-style
|
|
1966
1966
|
*/
|
|
1967
1967
|
"border-style": [{
|
|
1968
|
-
border: [...
|
|
1968
|
+
border: [...ce(), "hidden", "none"]
|
|
1969
1969
|
}],
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Divide Style
|
|
1972
1972
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1973
1973
|
*/
|
|
1974
1974
|
"divide-style": [{
|
|
1975
|
-
divide: [...
|
|
1975
|
+
divide: [...ce(), "hidden", "none"]
|
|
1976
1976
|
}],
|
|
1977
1977
|
/**
|
|
1978
1978
|
* Border Color
|
|
@@ -2063,7 +2063,7 @@ const Ex = (e, t) => {
|
|
|
2063
2063
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2064
2064
|
*/
|
|
2065
2065
|
"outline-style": [{
|
|
2066
|
-
outline: [...
|
|
2066
|
+
outline: [...ce(), "none", "hidden"]
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Outline Offset
|
|
@@ -3206,8 +3206,8 @@ const Ex = (e, t) => {
|
|
|
3206
3206
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3207
3207
|
};
|
|
3208
3208
|
}, gy = /* @__PURE__ */ $x(py);
|
|
3209
|
-
function
|
|
3210
|
-
return gy(
|
|
3209
|
+
function oe(...e) {
|
|
3210
|
+
return gy(le(e));
|
|
3211
3211
|
}
|
|
3212
3212
|
var wl = /* @__PURE__ */ ((e) => (e.Description = "description", e.Error = "error", e))(wl || {});
|
|
3213
3213
|
const cc = ({
|
|
@@ -3220,7 +3220,7 @@ const cc = ({
|
|
|
3220
3220
|
{
|
|
3221
3221
|
...s,
|
|
3222
3222
|
role: "alert",
|
|
3223
|
-
className:
|
|
3223
|
+
className: oe(
|
|
3224
3224
|
"dial-tiny-text",
|
|
3225
3225
|
i === wl.Error ? "text-error" : "text-secondary",
|
|
3226
3226
|
t
|
|
@@ -3333,7 +3333,7 @@ const Gg = {
|
|
|
3333
3333
|
...e
|
|
3334
3334
|
},
|
|
3335
3335
|
...i.getFloatingProps(t),
|
|
3336
|
-
className:
|
|
3336
|
+
className: le(
|
|
3337
3337
|
"z-[55] whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny-text shadow max-w-[300px]",
|
|
3338
3338
|
i.getFloatingProps(t).className
|
|
3339
3339
|
),
|
|
@@ -3385,11 +3385,11 @@ const Gg = {
|
|
|
3385
3385
|
contentClassName: n,
|
|
3386
3386
|
...o
|
|
3387
3387
|
}) => /* @__PURE__ */ g.jsxs(Bh, { ...o, children: [
|
|
3388
|
-
/* @__PURE__ */ g.jsx(zh, { className:
|
|
3388
|
+
/* @__PURE__ */ g.jsx(zh, { className: le(s, "truncate"), children: i }),
|
|
3389
3389
|
/* @__PURE__ */ g.jsx(
|
|
3390
3390
|
Vh,
|
|
3391
3391
|
{
|
|
3392
|
-
className:
|
|
3392
|
+
className: le(
|
|
3393
3393
|
"text-primary",
|
|
3394
3394
|
n,
|
|
3395
3395
|
"max-w-[300px]",
|
|
@@ -3410,7 +3410,7 @@ const Sn = ({
|
|
|
3410
3410
|
type: r = "button",
|
|
3411
3411
|
...a
|
|
3412
3412
|
}) => {
|
|
3413
|
-
const l =
|
|
3413
|
+
const l = oe(
|
|
3414
3414
|
e && Av(e, t),
|
|
3415
3415
|
i === St.Small ? "h-[24px] w-[24px]" : "h-[40px] w-[40px]",
|
|
3416
3416
|
"dial-icon-button disabled:cursor-not-allowed focus-visible:outline outline-offset-0 disabled:text-controls-secondary-disable",
|
|
@@ -3463,7 +3463,7 @@ const oi = 18, se = {
|
|
|
3463
3463
|
"label",
|
|
3464
3464
|
{
|
|
3465
3465
|
...n,
|
|
3466
|
-
className:
|
|
3466
|
+
className: oe(
|
|
3467
3467
|
"dial-tiny-text text-secondary flex items-center gap-1",
|
|
3468
3468
|
i
|
|
3469
3469
|
),
|
|
@@ -3473,7 +3473,7 @@ const oi = 18, se = {
|
|
|
3473
3473
|
/* @__PURE__ */ g.jsx(Nv, { caption: s })
|
|
3474
3474
|
]
|
|
3475
3475
|
}
|
|
3476
|
-
) : null, Ue = ({ icon: e, className: t }) => e ? /* @__PURE__ */ g.jsx("span", { className:
|
|
3476
|
+
) : null, Ue = ({ icon: e, className: t }) => e ? /* @__PURE__ */ g.jsx("span", { className: le("flex-shrink-0", t), children: e }) : null, Ei = ({
|
|
3477
3477
|
label: e,
|
|
3478
3478
|
variant: t,
|
|
3479
3479
|
appearance: i = Ge.Solid,
|
|
@@ -3487,10 +3487,10 @@ const oi = 18, se = {
|
|
|
3487
3487
|
tooltipProps: d,
|
|
3488
3488
|
...u
|
|
3489
3489
|
}) => {
|
|
3490
|
-
const h =
|
|
3490
|
+
const h = le(
|
|
3491
3491
|
l ? "hidden sm:inline" : "inline",
|
|
3492
3492
|
o
|
|
3493
|
-
), p =
|
|
3493
|
+
), p = oe(
|
|
3494
3494
|
t && Av(t, i),
|
|
3495
3495
|
s === St.Small ? "dial-tiny-semi-text" : "dial-small-semi-text",
|
|
3496
3496
|
i !== Ge.Link && (s === St.Small ? "h-[24px] px-2" : "h-[40px] px-3"),
|
|
@@ -3512,19 +3512,19 @@ const oi = 18, se = {
|
|
|
3512
3512
|
);
|
|
3513
3513
|
return d ? /* @__PURE__ */ g.jsx(Qt, { ...d, children: f }) : f;
|
|
3514
3514
|
};
|
|
3515
|
-
var
|
|
3515
|
+
var Ni = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(Ni || {});
|
|
3516
3516
|
const wy = (e) => ({
|
|
3517
3517
|
info: /* @__PURE__ */ g.jsx(yh, { ...e }),
|
|
3518
3518
|
error: /* @__PURE__ */ g.jsx(F0, { ...e }),
|
|
3519
3519
|
warning: /* @__PURE__ */ g.jsx(Sh, { ...e }),
|
|
3520
3520
|
success: /* @__PURE__ */ g.jsx(R0, { ...e })
|
|
3521
3521
|
}), by = {
|
|
3522
|
-
[
|
|
3523
|
-
[
|
|
3524
|
-
[
|
|
3525
|
-
[
|
|
3522
|
+
[Ni.Info]: "bg-info border-info text-info",
|
|
3523
|
+
[Ni.Success]: "bg-success border-success text-success",
|
|
3524
|
+
[Ni.Warning]: "bg-warning border-warning text-warning",
|
|
3525
|
+
[Ni.Error]: "bg-error border-error text-error"
|
|
3526
3526
|
}, xy = "items-center justify-between gap-2 p-3 border border-solid dial-small-text-150 rounded flex", yy = ({
|
|
3527
|
-
variant: e =
|
|
3527
|
+
variant: e = Ni.Info,
|
|
3528
3528
|
message: t,
|
|
3529
3529
|
className: i,
|
|
3530
3530
|
iconSize: s = 24,
|
|
@@ -3540,7 +3540,7 @@ const wy = (e) => ({
|
|
|
3540
3540
|
{
|
|
3541
3541
|
...l,
|
|
3542
3542
|
role: "alert",
|
|
3543
|
-
className:
|
|
3543
|
+
className: oe(
|
|
3544
3544
|
xy,
|
|
3545
3545
|
by[e],
|
|
3546
3546
|
i
|
|
@@ -3552,7 +3552,7 @@ const wy = (e) => ({
|
|
|
3552
3552
|
] }),
|
|
3553
3553
|
a,
|
|
3554
3554
|
o && /* @__PURE__ */ g.jsx(
|
|
3555
|
-
|
|
3555
|
+
Ei,
|
|
3556
3556
|
{
|
|
3557
3557
|
className: "ml-2 text-secondary hover:text-primary",
|
|
3558
3558
|
"aria-label": "Close alert",
|
|
@@ -3573,7 +3573,7 @@ const wy = (e) => ({
|
|
|
3573
3573
|
"div",
|
|
3574
3574
|
{
|
|
3575
3575
|
role: "status",
|
|
3576
|
-
className:
|
|
3576
|
+
className: le({
|
|
3577
3577
|
[Sy]: !0,
|
|
3578
3578
|
"w-full h-full": s,
|
|
3579
3579
|
[t || ""]: !!t
|
|
@@ -3586,7 +3586,7 @@ const wy = (e) => ({
|
|
|
3586
3586
|
{
|
|
3587
3587
|
width: e,
|
|
3588
3588
|
height: e,
|
|
3589
|
-
className:
|
|
3589
|
+
className: le(Ry, i),
|
|
3590
3590
|
role: "img",
|
|
3591
3591
|
"aria-label": n
|
|
3592
3592
|
}
|
|
@@ -3594,6 +3594,30 @@ const wy = (e) => ({
|
|
|
3594
3594
|
}
|
|
3595
3595
|
)
|
|
3596
3596
|
}
|
|
3597
|
+
), oV = ({
|
|
3598
|
+
size: e = 24,
|
|
3599
|
+
className: t,
|
|
3600
|
+
fullWidth: i = !1,
|
|
3601
|
+
ariaLabel: s = "Loading"
|
|
3602
|
+
}) => /* @__PURE__ */ g.jsx(
|
|
3603
|
+
"div",
|
|
3604
|
+
{
|
|
3605
|
+
role: "status",
|
|
3606
|
+
className: le(
|
|
3607
|
+
"flex items-center justify-center",
|
|
3608
|
+
{ "size-full": i },
|
|
3609
|
+
t
|
|
3610
|
+
),
|
|
3611
|
+
children: /* @__PURE__ */ g.jsx(
|
|
3612
|
+
"div",
|
|
3613
|
+
{
|
|
3614
|
+
role: "img",
|
|
3615
|
+
"aria-label": s,
|
|
3616
|
+
style: { width: e, height: e },
|
|
3617
|
+
className: "rounded-full border-2 border-secondary border-t-accent-primary animate-spin-steps shrink-0"
|
|
3618
|
+
}
|
|
3619
|
+
)
|
|
3620
|
+
}
|
|
3597
3621
|
), Ey = "text-primary", bt = ({
|
|
3598
3622
|
text: e,
|
|
3599
3623
|
className: t,
|
|
@@ -3636,7 +3660,7 @@ const wy = (e) => ({
|
|
|
3636
3660
|
"span",
|
|
3637
3661
|
{
|
|
3638
3662
|
id: n,
|
|
3639
|
-
className:
|
|
3663
|
+
className: oe(
|
|
3640
3664
|
"block truncate flex-1 min-w-0 max-w-full text-left",
|
|
3641
3665
|
t
|
|
3642
3666
|
),
|
|
@@ -3652,7 +3676,7 @@ const wy = (e) => ({
|
|
|
3652
3676
|
/* @__PURE__ */ g.jsx(
|
|
3653
3677
|
Vh,
|
|
3654
3678
|
{
|
|
3655
|
-
className:
|
|
3679
|
+
className: oe(
|
|
3656
3680
|
Ey,
|
|
3657
3681
|
i,
|
|
3658
3682
|
!v && "hidden"
|
|
@@ -3677,12 +3701,12 @@ const wy = (e) => ({
|
|
|
3677
3701
|
r?.(p.target.checked, t);
|
|
3678
3702
|
},
|
|
3679
3703
|
[r, t]
|
|
3680
|
-
), d =
|
|
3704
|
+
), d = le(
|
|
3681
3705
|
"flex flex-row items-center cursor-pointer text-accent-primary small-medium min-w-0",
|
|
3682
3706
|
`${i || s ? "" : 'before:content-[""] before:inline-block before:w-[18px] before:h-[18px] before:border before:border-hover before:rounded'}`,
|
|
3683
3707
|
n ? "pointer-events-none text-secondary before:border-icon-secondary before:bg-layer-4" : "",
|
|
3684
3708
|
a
|
|
3685
|
-
), u =
|
|
3709
|
+
), u = le(
|
|
3686
3710
|
"border rounded",
|
|
3687
3711
|
n ? "bg-layer-4 border-icon-secondary" : ""
|
|
3688
3712
|
), h = () => s ? /* @__PURE__ */ g.jsx(E0, { className: u, ...se }) : i ? /* @__PURE__ */ g.jsx(Rh, { className: u, ...se }) : null;
|
|
@@ -3762,13 +3786,13 @@ const Dy = (e, t) => {
|
|
|
3762
3786
|
return /* @__PURE__ */ g.jsxs(
|
|
3763
3787
|
"button",
|
|
3764
3788
|
{
|
|
3765
|
-
className:
|
|
3789
|
+
className: le(n, Dy(e, i)),
|
|
3766
3790
|
onClick: () => s(e.id),
|
|
3767
3791
|
children: [
|
|
3768
3792
|
/* @__PURE__ */ g.jsx(
|
|
3769
3793
|
"span",
|
|
3770
3794
|
{
|
|
3771
|
-
className:
|
|
3795
|
+
className: le(o, Py(e, i)),
|
|
3772
3796
|
children: r()
|
|
3773
3797
|
}
|
|
3774
3798
|
),
|
|
@@ -3776,7 +3800,7 @@ const Dy = (e, t) => {
|
|
|
3776
3800
|
]
|
|
3777
3801
|
}
|
|
3778
3802
|
);
|
|
3779
|
-
},
|
|
3803
|
+
}, rV = ({
|
|
3780
3804
|
steps: e,
|
|
3781
3805
|
currentStep: t,
|
|
3782
3806
|
onChangeStep: i
|
|
@@ -3810,21 +3834,21 @@ const Dy = (e, t) => {
|
|
|
3810
3834
|
descriptionClassName: d,
|
|
3811
3835
|
caption: u
|
|
3812
3836
|
}) => {
|
|
3813
|
-
const h = `${o}-desc`, p =
|
|
3837
|
+
const h = `${o}-desc`, p = le(
|
|
3814
3838
|
"dial-small-text cursor-pointer py-[1px]",
|
|
3815
3839
|
l ? "text-secondary" : "text-primary",
|
|
3816
3840
|
a,
|
|
3817
3841
|
l && "cursor-not-allowed"
|
|
3818
|
-
), f =
|
|
3842
|
+
), f = le(
|
|
3819
3843
|
"cursor-pointer dial-input-radio",
|
|
3820
3844
|
!!i && "mr-2",
|
|
3821
3845
|
r,
|
|
3822
3846
|
l && "!cursor-not-allowed"
|
|
3823
|
-
), m =
|
|
3847
|
+
), m = le(
|
|
3824
3848
|
"flex flex-col",
|
|
3825
3849
|
!!s && "mb-2",
|
|
3826
3850
|
l && "cursor-not-allowed"
|
|
3827
|
-
), v =
|
|
3851
|
+
), v = le(
|
|
3828
3852
|
"dial-tiny-text mt-2 ml-[26px] text-secondary",
|
|
3829
3853
|
d,
|
|
3830
3854
|
l && "cursor-not-allowed"
|
|
@@ -3832,7 +3856,7 @@ const Dy = (e, t) => {
|
|
|
3832
3856
|
l || w.target.checked && c?.(t);
|
|
3833
3857
|
};
|
|
3834
3858
|
return /* @__PURE__ */ g.jsxs("div", { className: m, children: [
|
|
3835
|
-
/* @__PURE__ */ g.jsxs("div", { className:
|
|
3859
|
+
/* @__PURE__ */ g.jsxs("div", { className: le("flex flex-row", !u && "items-center"), children: [
|
|
3836
3860
|
/* @__PURE__ */ g.jsx(
|
|
3837
3861
|
"input",
|
|
3838
3862
|
{
|
|
@@ -3901,7 +3925,7 @@ const Iy = "w-full flex gap-1", My = {
|
|
|
3901
3925
|
role: "group",
|
|
3902
3926
|
"aria-labelledby": t ? v : void 0,
|
|
3903
3927
|
"aria-describedby": x,
|
|
3904
|
-
className:
|
|
3928
|
+
className: oe(
|
|
3905
3929
|
Iy,
|
|
3906
3930
|
My[o],
|
|
3907
3931
|
a
|
|
@@ -3911,14 +3935,14 @@ const Iy = "w-full flex gap-1", My = {
|
|
|
3911
3935
|
"div",
|
|
3912
3936
|
{
|
|
3913
3937
|
id: v,
|
|
3914
|
-
className:
|
|
3938
|
+
className: oe(o === "horizontal" && "shrink-0"),
|
|
3915
3939
|
children: /* @__PURE__ */ g.jsx(
|
|
3916
3940
|
Po,
|
|
3917
3941
|
{
|
|
3918
3942
|
htmlFor: e,
|
|
3919
3943
|
label: t,
|
|
3920
3944
|
required: i,
|
|
3921
|
-
className:
|
|
3945
|
+
className: oe(
|
|
3922
3946
|
r && "sr-only",
|
|
3923
3947
|
l
|
|
3924
3948
|
),
|
|
@@ -3927,13 +3951,13 @@ const Iy = "w-full flex gap-1", My = {
|
|
|
3927
3951
|
)
|
|
3928
3952
|
}
|
|
3929
3953
|
),
|
|
3930
|
-
/* @__PURE__ */ g.jsxs("div", { className:
|
|
3954
|
+
/* @__PURE__ */ g.jsxs("div", { className: oe("min-w-0 w-full", d), children: [
|
|
3931
3955
|
h ? /* @__PURE__ */ g.jsx("div", { className: "dial-input px-3 py-2", children: R() }) : m,
|
|
3932
3956
|
u && /* @__PURE__ */ g.jsx(
|
|
3933
3957
|
"div",
|
|
3934
3958
|
{
|
|
3935
3959
|
id: b,
|
|
3936
|
-
className:
|
|
3960
|
+
className: oe({
|
|
3937
3961
|
"dial-tiny-text text-secondary mt-1": !0,
|
|
3938
3962
|
"text-error": !!n
|
|
3939
3963
|
}),
|
|
@@ -3982,7 +4006,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
3982
4006
|
role: "radiogroup",
|
|
3983
4007
|
"aria-label": e,
|
|
3984
4008
|
"aria-disabled": u || void 0,
|
|
3985
|
-
className:
|
|
4009
|
+
className: oe(
|
|
3986
4010
|
ky,
|
|
3987
4011
|
Ly[m],
|
|
3988
4012
|
o
|
|
@@ -3990,7 +4014,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
3990
4014
|
children: p.map((C) => /* @__PURE__ */ g.jsxs(
|
|
3991
4015
|
"div",
|
|
3992
4016
|
{
|
|
3993
|
-
className:
|
|
4017
|
+
className: oe(
|
|
3994
4018
|
"flex flex-col",
|
|
3995
4019
|
r,
|
|
3996
4020
|
C.id === f && a
|
|
@@ -4004,7 +4028,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4004
4028
|
inputId: `${h}-${C.id}`,
|
|
4005
4029
|
disabled: u,
|
|
4006
4030
|
className: t,
|
|
4007
|
-
labelClassName:
|
|
4031
|
+
labelClassName: oe(
|
|
4008
4032
|
d,
|
|
4009
4033
|
C.id === f && n
|
|
4010
4034
|
),
|
|
@@ -4017,7 +4041,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4017
4041
|
C.id === f && C.content ? /* @__PURE__ */ g.jsx(
|
|
4018
4042
|
"div",
|
|
4019
4043
|
{
|
|
4020
|
-
className:
|
|
4044
|
+
className: oe(
|
|
4021
4045
|
Ay,
|
|
4022
4046
|
s
|
|
4023
4047
|
),
|
|
@@ -4041,7 +4065,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4041
4065
|
}) => /* @__PURE__ */ g.jsxs(
|
|
4042
4066
|
"div",
|
|
4043
4067
|
{
|
|
4044
|
-
className:
|
|
4068
|
+
className: oe(
|
|
4045
4069
|
"h-full w-full flex flex-col items-center justify-center text-secondary",
|
|
4046
4070
|
s
|
|
4047
4071
|
),
|
|
@@ -4051,7 +4075,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4051
4075
|
/* @__PURE__ */ g.jsx(
|
|
4052
4076
|
"span",
|
|
4053
4077
|
{
|
|
4054
|
-
className:
|
|
4078
|
+
className: oe(
|
|
4055
4079
|
"dial-small-text mt-2 text-primary",
|
|
4056
4080
|
n
|
|
4057
4081
|
),
|
|
@@ -4062,7 +4086,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4062
4086
|
i && /* @__PURE__ */ g.jsx(
|
|
4063
4087
|
"span",
|
|
4064
4088
|
{
|
|
4065
|
-
className:
|
|
4089
|
+
className: oe("mt-1 text-primary", o),
|
|
4066
4090
|
"aria-label": "no-results-description",
|
|
4067
4091
|
children: i
|
|
4068
4092
|
}
|
|
@@ -4085,11 +4109,11 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4085
4109
|
be(() => {
|
|
4086
4110
|
f && u(l ? i : fd);
|
|
4087
4111
|
}, [f, l, i]);
|
|
4088
|
-
const v =
|
|
4112
|
+
const v = oe([
|
|
4089
4113
|
"transform rotate-180 [writing-mode:tb-rl] py-4 px-3",
|
|
4090
4114
|
m && "hidden",
|
|
4091
4115
|
r
|
|
4092
|
-
]), C =
|
|
4116
|
+
]), C = oe([
|
|
4093
4117
|
"flex flex-row gap-2 cursor-pointer text-secondary py-2 items-center",
|
|
4094
4118
|
m ? "justify-end px-4" : "justify-center"
|
|
4095
4119
|
]), w = (b) => {
|
|
@@ -4103,7 +4127,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4103
4127
|
return /* @__PURE__ */ g.jsxs(
|
|
4104
4128
|
"div",
|
|
4105
4129
|
{
|
|
4106
|
-
className:
|
|
4130
|
+
className: oe([
|
|
4107
4131
|
"rounded flex flex-col justify-between",
|
|
4108
4132
|
e
|
|
4109
4133
|
]),
|
|
@@ -4113,7 +4137,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4113
4137
|
/* @__PURE__ */ g.jsx(
|
|
4114
4138
|
"div",
|
|
4115
4139
|
{
|
|
4116
|
-
className:
|
|
4140
|
+
className: oe([
|
|
4117
4141
|
"flex-1 p-4 min-h-0 overflow-auto",
|
|
4118
4142
|
!m && "hidden"
|
|
4119
4143
|
]),
|
|
@@ -4124,7 +4148,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4124
4148
|
/* @__PURE__ */ g.jsxs(
|
|
4125
4149
|
"div",
|
|
4126
4150
|
{
|
|
4127
|
-
className:
|
|
4151
|
+
className: oe("border-t border-tertiary h-12", C),
|
|
4128
4152
|
children: [
|
|
4129
4153
|
m && a,
|
|
4130
4154
|
/* @__PURE__ */ g.jsx(
|
|
@@ -4143,7 +4167,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4143
4167
|
]
|
|
4144
4168
|
}
|
|
4145
4169
|
);
|
|
4146
|
-
},
|
|
4170
|
+
}, aV = ({
|
|
4147
4171
|
label: e,
|
|
4148
4172
|
text: t,
|
|
4149
4173
|
tooltip: i,
|
|
@@ -4153,7 +4177,7 @@ const ky = "flex", Ay = "pb-1 mt-2", Ly = {
|
|
|
4153
4177
|
}) => /* @__PURE__ */ g.jsxs(
|
|
4154
4178
|
"div",
|
|
4155
4179
|
{
|
|
4156
|
-
className:
|
|
4180
|
+
className: oe(
|
|
4157
4181
|
"flex flex-col",
|
|
4158
4182
|
s ? "" : "max-w-[200px]",
|
|
4159
4183
|
o
|
|
@@ -4186,7 +4210,7 @@ const Ny = {
|
|
|
4186
4210
|
iconBefore: n,
|
|
4187
4211
|
bordered: o = !0
|
|
4188
4212
|
}) => {
|
|
4189
|
-
const r = Ny[s], a =
|
|
4213
|
+
const r = Ny[s], a = oe(
|
|
4190
4214
|
"flex items-center gap-1 dial-tiny-text rounded p-1 h-[22px] text-primary",
|
|
4191
4215
|
r,
|
|
4192
4216
|
o ? "border" : "border-transparent",
|
|
@@ -4196,7 +4220,7 @@ const Ny = {
|
|
|
4196
4220
|
/* @__PURE__ */ g.jsx(Ue, { icon: n }),
|
|
4197
4221
|
/* @__PURE__ */ g.jsx(bt, { text: e }),
|
|
4198
4222
|
i && /* @__PURE__ */ g.jsx(
|
|
4199
|
-
|
|
4223
|
+
Ei,
|
|
4200
4224
|
{
|
|
4201
4225
|
className: "p-0",
|
|
4202
4226
|
iconAfter: /* @__PURE__ */ g.jsx(Eo, { size: Ft.SM }),
|
|
@@ -5936,7 +5960,7 @@ function Kv(e, t) {
|
|
|
5936
5960
|
T2(n)
|
|
5937
5961
|
];
|
|
5938
5962
|
}
|
|
5939
|
-
const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secondary",
|
|
5963
|
+
const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secondary", lV = ({
|
|
5940
5964
|
id: e,
|
|
5941
5965
|
children: t,
|
|
5942
5966
|
className: i,
|
|
@@ -5976,7 +6000,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
5976
6000
|
"div",
|
|
5977
6001
|
{
|
|
5978
6002
|
ref: a,
|
|
5979
|
-
className:
|
|
6003
|
+
className: oe(N2, i),
|
|
5980
6004
|
style: { opacity: c ? 0 : 1 },
|
|
5981
6005
|
"aria-roledescription": "Draggable item",
|
|
5982
6006
|
children: [
|
|
@@ -6051,7 +6075,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6051
6075
|
return /* @__PURE__ */ g.jsxs(
|
|
6052
6076
|
"span",
|
|
6053
6077
|
{
|
|
6054
|
-
className:
|
|
6078
|
+
className: le("inline-flex relative", s),
|
|
6055
6079
|
...n ? { "aria-hidden": !0 } : { role: "img", "aria-label": d },
|
|
6056
6080
|
children: [
|
|
6057
6081
|
/* @__PURE__ */ g.jsx(Ue, { icon: c, className: "inline-block align-middle" }),
|
|
@@ -6069,7 +6093,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6069
6093
|
}) => /* @__PURE__ */ g.jsx(Qt, { tooltip: o || "Shared", children: /* @__PURE__ */ g.jsx(
|
|
6070
6094
|
Ue,
|
|
6071
6095
|
{
|
|
6072
|
-
className:
|
|
6096
|
+
className: oe(
|
|
6073
6097
|
"text-accent-primary flex bg-layer-3",
|
|
6074
6098
|
s
|
|
6075
6099
|
),
|
|
@@ -6098,7 +6122,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6098
6122
|
tooltipContent: d
|
|
6099
6123
|
}) => {
|
|
6100
6124
|
const u = a || (e.includes(".") ? e.split(".").pop() : void 0);
|
|
6101
|
-
return /* @__PURE__ */ g.jsxs("div", { className:
|
|
6125
|
+
return /* @__PURE__ */ g.jsxs("div", { className: oe("flex items-center gap-2 w-full", t), children: [
|
|
6102
6126
|
/* @__PURE__ */ g.jsx(
|
|
6103
6127
|
Yv,
|
|
6104
6128
|
{
|
|
@@ -6118,7 +6142,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6118
6142
|
/* @__PURE__ */ g.jsxs(
|
|
6119
6143
|
"div",
|
|
6120
6144
|
{
|
|
6121
|
-
className:
|
|
6145
|
+
className: le([
|
|
6122
6146
|
"w-full flex min-w-0",
|
|
6123
6147
|
n && "flex-col gap-1"
|
|
6124
6148
|
]),
|
|
@@ -6126,7 +6150,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6126
6150
|
/* @__PURE__ */ g.jsx(
|
|
6127
6151
|
bt,
|
|
6128
6152
|
{
|
|
6129
|
-
className:
|
|
6153
|
+
className: le([
|
|
6130
6154
|
"dial-small-text flex-1 min-w-0",
|
|
6131
6155
|
c ? "text-secondary" : "text-primary"
|
|
6132
6156
|
]),
|
|
@@ -6160,7 +6184,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6160
6184
|
className: "inline-block align-middle"
|
|
6161
6185
|
}
|
|
6162
6186
|
);
|
|
6163
|
-
return /* @__PURE__ */ g.jsxs("div", { className:
|
|
6187
|
+
return /* @__PURE__ */ g.jsxs("div", { className: oe("flex items-center gap-2 w-full", t), children: [
|
|
6164
6188
|
/* @__PURE__ */ g.jsxs("span", { className: "inline-flex relative text-secondary", role: "img", children: [
|
|
6165
6189
|
d(),
|
|
6166
6190
|
i && /* @__PURE__ */ g.jsx("span", { className: "absolute z-50 -bottom-0.5 -left-0.5", children: /* @__PURE__ */ g.jsx(
|
|
@@ -6174,7 +6198,7 @@ const Qg = "column", N2 = "flex items-center", H2 = "mr-3 cursor-move text-secon
|
|
|
6174
6198
|
/* @__PURE__ */ g.jsx(
|
|
6175
6199
|
bt,
|
|
6176
6200
|
{
|
|
6177
|
-
className:
|
|
6201
|
+
className: le(
|
|
6178
6202
|
"dial-small-text flex-1 min-w-0",
|
|
6179
6203
|
l ? "text-secondary" : "text-primary"
|
|
6180
6204
|
),
|
|
@@ -6246,14 +6270,14 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
|
|
|
6246
6270
|
}
|
|
6247
6271
|
t.prototype = i === null ? Object.create(i) : (s.prototype = i.prototype, new s());
|
|
6248
6272
|
};
|
|
6249
|
-
})(),
|
|
6250
|
-
return
|
|
6273
|
+
})(), Ai = function() {
|
|
6274
|
+
return Ai = Object.assign || function(e) {
|
|
6251
6275
|
for (var t, i = 1, s = arguments.length; i < s; i++) {
|
|
6252
6276
|
t = arguments[i];
|
|
6253
6277
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
6254
6278
|
}
|
|
6255
6279
|
return e;
|
|
6256
|
-
},
|
|
6280
|
+
}, Ai.apply(this, arguments);
|
|
6257
6281
|
}, K2 = {
|
|
6258
6282
|
width: "auto",
|
|
6259
6283
|
height: "auto"
|
|
@@ -6524,7 +6548,7 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
|
|
|
6524
6548
|
height: this.size.height
|
|
6525
6549
|
},
|
|
6526
6550
|
isResizing: !0,
|
|
6527
|
-
backgroundStyle:
|
|
6551
|
+
backgroundStyle: Ai(Ai({}, this.state.backgroundStyle), { cursor: this.window.getComputedStyle(i.target).cursor || "auto" }),
|
|
6528
6552
|
direction: s,
|
|
6529
6553
|
flexBasis: a
|
|
6530
6554
|
};
|
|
@@ -6589,7 +6613,7 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
|
|
|
6589
6613
|
var s, n, o = this.state, r = o.isResizing, a = o.direction;
|
|
6590
6614
|
o.original, !(!r || !this.resizable) && (this.props.onResizeStop && this.props.onResizeStop(i, a, this.resizable, this.delta), this.props.size && this.setState({ width: (s = this.props.size.width) !== null && s !== void 0 ? s : "auto", height: (n = this.props.size.height) !== null && n !== void 0 ? n : "auto" }), this.unbindEvents(), this.setState({
|
|
6591
6615
|
isResizing: !1,
|
|
6592
|
-
backgroundStyle:
|
|
6616
|
+
backgroundStyle: Ai(Ai({}, this.state.backgroundStyle), { cursor: "auto" })
|
|
6593
6617
|
}));
|
|
6594
6618
|
}, t.prototype.updateSize = function(i) {
|
|
6595
6619
|
var s, n;
|
|
@@ -6605,10 +6629,10 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
|
|
|
6605
6629
|
}, t.prototype.render = function() {
|
|
6606
6630
|
var i = this, s = Object.keys(this.props).reduce(function(r, a) {
|
|
6607
6631
|
return X2.indexOf(a) !== -1 || (r[a] = i.props[a]), r;
|
|
6608
|
-
}, {}), n =
|
|
6632
|
+
}, {}), n = Ai(Ai(Ai({ position: "relative", userSelect: this.state.isResizing ? "none" : "auto" }, this.props.style), this.sizeStyle), { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: "border-box", flexShrink: 0 });
|
|
6609
6633
|
this.state.flexBasis && (n.flexBasis = this.state.flexBasis);
|
|
6610
6634
|
var o = this.props.as || "div";
|
|
6611
|
-
return g.jsxs(o,
|
|
6635
|
+
return g.jsxs(o, Ai({ style: n, className: this.props.className }, s, {
|
|
6612
6636
|
// `ref` is after `extendsProps` to ensure this one wins over a version
|
|
6613
6637
|
// passed in
|
|
6614
6638
|
ref: function(r) {
|
|
@@ -6648,14 +6672,14 @@ var yl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(yl ||
|
|
|
6648
6672
|
);
|
|
6649
6673
|
const eR = ({ side: e, className: t }) => {
|
|
6650
6674
|
const i = e === yl.Left, s = i ? ex : jr;
|
|
6651
|
-
return /* @__PURE__ */ g.jsx("div", { className: t, children: /* @__PURE__ */ g.jsx(s, { className:
|
|
6675
|
+
return /* @__PURE__ */ g.jsx("div", { className: t, children: /* @__PURE__ */ g.jsx(s, { className: le("h-full", i && "-ml-6") }) });
|
|
6652
6676
|
}, tR = ({
|
|
6653
6677
|
side: e,
|
|
6654
6678
|
isResizing: t,
|
|
6655
6679
|
customHandler: i,
|
|
6656
6680
|
handlerClassName: s
|
|
6657
6681
|
}) => {
|
|
6658
|
-
const n =
|
|
6682
|
+
const n = oe(
|
|
6659
6683
|
"invisible h-full w-0.5 group-hover:visible bg-accent-primary text-accent-primary cursor-col-resize transition-opacity",
|
|
6660
6684
|
t && "visible",
|
|
6661
6685
|
s
|
|
@@ -6759,13 +6783,13 @@ const nR = (e) => {
|
|
|
6759
6783
|
}) => {
|
|
6760
6784
|
if (!n && o)
|
|
6761
6785
|
return /* @__PURE__ */ g.jsx(g.Fragment, { children: o });
|
|
6762
|
-
const u =
|
|
6786
|
+
const u = oe(
|
|
6763
6787
|
"bg-layer-3",
|
|
6764
6788
|
e && "animate-pulse",
|
|
6765
6789
|
c
|
|
6766
6790
|
);
|
|
6767
6791
|
if (r !== bi.Default) {
|
|
6768
|
-
const F =
|
|
6792
|
+
const F = oe(
|
|
6769
6793
|
u,
|
|
6770
6794
|
r === bi.Circular && "rounded-full",
|
|
6771
6795
|
r === bi.Rectangular && "rounded",
|
|
@@ -6774,11 +6798,11 @@ const nR = (e) => {
|
|
|
6774
6798
|
return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ g.jsx("div", { className: F, style: E, ...d });
|
|
6775
6799
|
}
|
|
6776
6800
|
const h = !!i, p = !!s, f = !!t, m = typeof i == "object" ? i : {}, v = typeof s == "object" ? s : {}, C = typeof t == "object" ? t : {}, w = nR(m.size), b = m.shape ?? Eu.Circle, x = v.width ?? "38%", y = C.rows ?? 3, R = C.width, S = (F) => R ? Array.isArray(R) ? R[F] ?? "100%" : R : F === y - 1 ? "61%" : "100%";
|
|
6777
|
-
return /* @__PURE__ */ g.jsxs("div", { ...d, className:
|
|
6801
|
+
return /* @__PURE__ */ g.jsxs("div", { ...d, className: oe("flex gap-4", c), children: [
|
|
6778
6802
|
h && /* @__PURE__ */ g.jsx(
|
|
6779
6803
|
"div",
|
|
6780
6804
|
{
|
|
6781
|
-
className:
|
|
6805
|
+
className: oe(
|
|
6782
6806
|
u,
|
|
6783
6807
|
b === Eu.Circle ? "rounded-full" : "rounded",
|
|
6784
6808
|
"flex-shrink-0"
|
|
@@ -6790,14 +6814,14 @@ const nR = (e) => {
|
|
|
6790
6814
|
p && /* @__PURE__ */ g.jsx(
|
|
6791
6815
|
"div",
|
|
6792
6816
|
{
|
|
6793
|
-
className:
|
|
6817
|
+
className: oe(u, "h-4 rounded"),
|
|
6794
6818
|
style: { width: x }
|
|
6795
6819
|
}
|
|
6796
6820
|
),
|
|
6797
6821
|
f && /* @__PURE__ */ g.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((F, E) => /* @__PURE__ */ g.jsx(
|
|
6798
6822
|
"div",
|
|
6799
6823
|
{
|
|
6800
|
-
className:
|
|
6824
|
+
className: oe(u, "h-4 rounded"),
|
|
6801
6825
|
style: { width: S(E) }
|
|
6802
6826
|
},
|
|
6803
6827
|
E
|
|
@@ -6829,7 +6853,7 @@ function ir(e, t) {
|
|
|
6829
6853
|
return !0;
|
|
6830
6854
|
}
|
|
6831
6855
|
}
|
|
6832
|
-
function
|
|
6856
|
+
function zi(e, t) {
|
|
6833
6857
|
const i = e.indexOf(t);
|
|
6834
6858
|
i >= 0 && e.splice(i, 1);
|
|
6835
6859
|
}
|
|
@@ -6842,7 +6866,7 @@ function oR(e, t) {
|
|
|
6842
6866
|
}
|
|
6843
6867
|
function of(e, t, i) {
|
|
6844
6868
|
for (let s = 0; s < t.length; s++)
|
|
6845
|
-
|
|
6869
|
+
zi(e, t[s]);
|
|
6846
6870
|
for (let s = t.length - 1; s >= 0; s--)
|
|
6847
6871
|
e.splice(i, 0, t[s]);
|
|
6848
6872
|
}
|
|
@@ -6994,10 +7018,10 @@ function dR(e) {
|
|
|
6994
7018
|
function uR(e) {
|
|
6995
7019
|
return ep(e)?.clientHeight ?? (window.innerHeight || -1);
|
|
6996
7020
|
}
|
|
6997
|
-
function Ei(e, t, i) {
|
|
6998
|
-
i == null || typeof i == "string" && i == "" ? Zv(e, t) : Di(e, t, i);
|
|
6999
|
-
}
|
|
7000
7021
|
function Di(e, t, i) {
|
|
7022
|
+
i == null || typeof i == "string" && i == "" ? Zv(e, t) : Pi(e, t, i);
|
|
7023
|
+
}
|
|
7024
|
+
function Pi(e, t, i) {
|
|
7001
7025
|
e.setAttribute(Qv(t), i.toString());
|
|
7002
7026
|
}
|
|
7003
7027
|
function Zv(e, t) {
|
|
@@ -7017,73 +7041,73 @@ function pR(e) {
|
|
|
7017
7041
|
return e.getAttribute("aria-label");
|
|
7018
7042
|
}
|
|
7019
7043
|
function Co(e, t) {
|
|
7020
|
-
|
|
7044
|
+
Di(e, "label", t);
|
|
7021
7045
|
}
|
|
7022
7046
|
function Er(e, t) {
|
|
7023
|
-
|
|
7047
|
+
Di(e, "labelledby", t);
|
|
7024
7048
|
}
|
|
7025
7049
|
function Xv(e, t) {
|
|
7026
|
-
|
|
7050
|
+
Di(e, "live", t);
|
|
7027
7051
|
}
|
|
7028
7052
|
function gR(e, t) {
|
|
7029
|
-
|
|
7053
|
+
Di(e, "atomic", t);
|
|
7030
7054
|
}
|
|
7031
7055
|
function fR(e, t) {
|
|
7032
|
-
|
|
7056
|
+
Di(e, "relevant", t);
|
|
7033
7057
|
}
|
|
7034
7058
|
function tp(e, t) {
|
|
7035
|
-
|
|
7059
|
+
Di(e, "invalid", t);
|
|
7036
7060
|
}
|
|
7037
7061
|
function mR(e, t) {
|
|
7038
|
-
|
|
7062
|
+
Di(e, "disabled", t);
|
|
7039
7063
|
}
|
|
7040
7064
|
function Jv(e, t) {
|
|
7041
|
-
|
|
7065
|
+
Di(e, "hidden", t);
|
|
7042
7066
|
}
|
|
7043
7067
|
function Pu(e, t) {
|
|
7044
|
-
|
|
7068
|
+
Pi(e, "expanded", t);
|
|
7045
7069
|
}
|
|
7046
7070
|
function vR(e, t) {
|
|
7047
|
-
|
|
7071
|
+
Pi(e, "setsize", t);
|
|
7048
7072
|
}
|
|
7049
7073
|
function CR(e, t) {
|
|
7050
|
-
|
|
7074
|
+
Pi(e, "posinset", t);
|
|
7051
7075
|
}
|
|
7052
7076
|
function wR(e, t) {
|
|
7053
|
-
|
|
7077
|
+
Pi(e, "rowcount", t);
|
|
7054
7078
|
}
|
|
7055
7079
|
function ip(e, t) {
|
|
7056
|
-
|
|
7080
|
+
Pi(e, "rowindex", t);
|
|
7057
7081
|
}
|
|
7058
7082
|
function bR(e, t) {
|
|
7059
|
-
|
|
7083
|
+
Pi(e, "rowspan", t);
|
|
7060
7084
|
}
|
|
7061
7085
|
function xR(e, t) {
|
|
7062
|
-
|
|
7086
|
+
Pi(e, "colcount", t);
|
|
7063
7087
|
}
|
|
7064
7088
|
function eC(e, t) {
|
|
7065
|
-
|
|
7089
|
+
Pi(e, "colindex", t);
|
|
7066
7090
|
}
|
|
7067
7091
|
function yR(e, t) {
|
|
7068
|
-
|
|
7092
|
+
Pi(e, "colspan", t);
|
|
7069
7093
|
}
|
|
7070
7094
|
function SR(e, t) {
|
|
7071
|
-
|
|
7095
|
+
Pi(e, "sort", t);
|
|
7072
7096
|
}
|
|
7073
7097
|
function RR(e) {
|
|
7074
7098
|
Zv(e, "sort");
|
|
7075
7099
|
}
|
|
7076
7100
|
function tC(e, t) {
|
|
7077
|
-
|
|
7101
|
+
Di(e, "selected", t);
|
|
7078
7102
|
}
|
|
7079
7103
|
function FR(e, t) {
|
|
7080
|
-
|
|
7104
|
+
Di(e, "controls", t);
|
|
7081
7105
|
}
|
|
7082
7106
|
function ER(e, t) {
|
|
7083
7107
|
FR(e, t.id), Er(t, e.id);
|
|
7084
7108
|
}
|
|
7085
7109
|
function af(e, t) {
|
|
7086
|
-
|
|
7110
|
+
Di(e, "owns", t);
|
|
7087
7111
|
}
|
|
7088
7112
|
function vc(e, t) {
|
|
7089
7113
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
@@ -7218,9 +7242,9 @@ function TR(e) {
|
|
|
7218
7242
|
return e.clientHeight < e.scrollHeight;
|
|
7219
7243
|
}
|
|
7220
7244
|
function El(e, t) {
|
|
7221
|
-
t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") :
|
|
7245
|
+
t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") : Bi(e, t);
|
|
7222
7246
|
}
|
|
7223
|
-
function
|
|
7247
|
+
function Bi(e, t) {
|
|
7224
7248
|
t = op(t), e.style.width = t, e.style.maxWidth = t, e.style.minWidth = t;
|
|
7225
7249
|
}
|
|
7226
7250
|
function vr(e, t) {
|
|
@@ -7998,7 +8022,7 @@ function d3(e, t) {
|
|
|
7998
8022
|
const i = t[0];
|
|
7999
8023
|
return `error #${i} ` + SC(i, t[1], e).join(" ");
|
|
8000
8024
|
}
|
|
8001
|
-
function
|
|
8025
|
+
function Vi(...e) {
|
|
8002
8026
|
return d3(void 0, e);
|
|
8003
8027
|
}
|
|
8004
8028
|
function FC(e, t) {
|
|
@@ -9988,13 +10012,13 @@ var $C = "ag-resizer-wrapper", gs = (e, t) => ({
|
|
|
9988
10012
|
const t = this.element, { popup: i } = this.config;
|
|
9989
10013
|
let s = !1;
|
|
9990
10014
|
if (typeof e == "string" && e.includes("%"))
|
|
9991
|
-
|
|
10015
|
+
Bi(t, e), e = Sl(t), s = !0;
|
|
9992
10016
|
else if (this.positioned) {
|
|
9993
10017
|
e = Math.max(this.minWidth, e);
|
|
9994
10018
|
const { clientWidth: n } = this.offsetParent, o = i ? this.position.x : this.element.getBoundingClientRect().left;
|
|
9995
10019
|
n && e + o > n && (e = n - o);
|
|
9996
10020
|
}
|
|
9997
|
-
this.getWidth() !== e && (s ? (t.style.maxWidth = "unset", t.style.minWidth = "unset") : this.config.popup ?
|
|
10021
|
+
this.getWidth() !== e && (s ? (t.style.maxWidth = "unset", t.style.minWidth = "unset") : this.config.popup ? Bi(t, e) : (t.style.width = `${e}px`, t.style.flex = " unset", this.lastSize.width = typeof e == "number" ? e : Number.parseFloat(e)));
|
|
9998
10022
|
}
|
|
9999
10023
|
offsetElement(e = 0, t = 0, i) {
|
|
10000
10024
|
const { forcePopupParentAsOffsetParent: s } = this.config, n = s ? this.boundaryEl : this.element;
|
|
@@ -11289,7 +11313,7 @@ var YF = /* @__PURE__ */ new Set([
|
|
|
11289
11313
|
t.has(e) || (t.add(e), i.add(e), s.push(e), this.sort());
|
|
11290
11314
|
}
|
|
11291
11315
|
delete(e) {
|
|
11292
|
-
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id),
|
|
11316
|
+
this.all.delete(e), this.visible.delete(e), this.queued.delete(e.id), zi(this.order, e);
|
|
11293
11317
|
}
|
|
11294
11318
|
has(e) {
|
|
11295
11319
|
return this.visible.has(e);
|
|
@@ -12095,7 +12119,7 @@ function Pf(e) {
|
|
|
12095
12119
|
const { pinnedRowModel: s, pageBounds: n } = e, o = s?.getPinnedBottomRowCount(), r = s?.getPinnedTopRowCount();
|
|
12096
12120
|
return o ? (i = "bottom", t = o - 1) : e.rowModel.getRowCount() ? t = n.getLastRow() : r && (i = "top", t = r - 1), t === void 0 ? null : { rowIndex: t, rowPinned: i };
|
|
12097
12121
|
}
|
|
12098
|
-
function
|
|
12122
|
+
function Wi(e, t) {
|
|
12099
12123
|
switch (t.rowPinned) {
|
|
12100
12124
|
case "top":
|
|
12101
12125
|
return e.pinnedRowModel?.getPinnedTopRow(t.rowIndex);
|
|
@@ -13395,9 +13419,9 @@ var NE = 0, kd = class extends z {
|
|
|
13395
13419
|
const e = this.scrollVisibleSvc.verticalScrollShowing;
|
|
13396
13420
|
let t = this.visibleCols.getDisplayedColumnsRightWidth();
|
|
13397
13421
|
const i = !this.enableRtl && e, s = this.scrollVisibleSvc.getScrollbarWidth();
|
|
13398
|
-
i && (t += s),
|
|
13422
|
+
i && (t += s), Bi(this.eRightSpacer, t), this.eRightSpacer.classList.toggle("ag-scroller-corner", t <= s);
|
|
13399
13423
|
let n = this.visibleCols.getColsLeftWidth();
|
|
13400
|
-
this.enableRtl && e && (n += s),
|
|
13424
|
+
this.enableRtl && e && (n += s), Bi(this.eLeftSpacer, n), this.eLeftSpacer.classList.toggle("ag-scroller-corner", n <= s);
|
|
13401
13425
|
}
|
|
13402
13426
|
setScrollVisible() {
|
|
13403
13427
|
const e = this.scrollVisibleSvc.horizontalScrollShowing, t = this.invisibleScrollbar, i = this.gos.get("suppressHorizontalScroll"), s = e && this.scrollVisibleSvc.getScrollbarWidth() || 0, o = i ? 0 : s === 0 && t ? 16 : s, r = () => {
|
|
@@ -13449,7 +13473,7 @@ var NE = 0, kd = class extends z {
|
|
|
13449
13473
|
}
|
|
13450
13474
|
setScrollVisible() {
|
|
13451
13475
|
const { scrollVisibleSvc: e } = this.beans, t = e.verticalScrollShowing, i = this.invisibleScrollbar, s = t && e.getScrollbarWidth() || 0, n = s === 0 && i ? 16 : s;
|
|
13452
|
-
this.toggleCss("ag-scrollbar-invisible", i),
|
|
13476
|
+
this.toggleCss("ag-scrollbar-invisible", i), Bi(this.getGui(), n), Bi(this.eViewport, n), Bi(this.eContainer, n), this.setDisplayed(t, { skipAriaHidden: !0 });
|
|
13453
13477
|
}
|
|
13454
13478
|
onRowContainerHeightChanged(e) {
|
|
13455
13479
|
const i = e.getGridBodyCtrl().eBodyViewport, s = this.getScrollPosition(), n = i.scrollTop;
|
|
@@ -15678,7 +15702,7 @@ var Sw = (e, t) => {
|
|
|
15678
15702
|
Rw(e);
|
|
15679
15703
|
const { eElement: i, pointerId: s } = e;
|
|
15680
15704
|
i && t.pointerId === s && Sw(i, s);
|
|
15681
|
-
}, Un, Qn, Bd = { passive: !0 }, ms = { passive: !1 },
|
|
15705
|
+
}, Un, Qn, Bd = { passive: !0 }, ms = { passive: !1 }, Ii = (e) => {
|
|
15682
15706
|
if (!Qn)
|
|
15683
15707
|
Qn = /* @__PURE__ */ new WeakSet();
|
|
15684
15708
|
else if (Qn.has(e))
|
|
@@ -15780,7 +15804,7 @@ var Sw = (e, t) => {
|
|
|
15780
15804
|
}, c = (h) => {
|
|
15781
15805
|
h.pointerId === r && this.onMouseOrPointerUp(h);
|
|
15782
15806
|
}, d = (h) => {
|
|
15783
|
-
h.pointerId === r &&
|
|
15807
|
+
h.pointerId === r && Ii(h) && this.cancelDrag();
|
|
15784
15808
|
}, u = (h) => this.draggingPreventDefault(h);
|
|
15785
15809
|
this.initDrag(
|
|
15786
15810
|
a,
|
|
@@ -15789,11 +15813,11 @@ var Sw = (e, t) => {
|
|
|
15789
15813
|
[n, "pointermove", l, ms],
|
|
15790
15814
|
[n, "touchmove", u, ms],
|
|
15791
15815
|
[o, "mousemove", u, ms]
|
|
15792
|
-
), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) :
|
|
15816
|
+
), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : Ii(t);
|
|
15793
15817
|
}
|
|
15794
15818
|
// gets called whenever mouse down on any drag source
|
|
15795
15819
|
onTouchStart(e, t) {
|
|
15796
|
-
if (this.gos.get("suppressTouch") || !e.includeTouch || !
|
|
15820
|
+
if (this.gos.get("suppressTouch") || !e.includeTouch || !Ii(t) || mr(zd(t)))
|
|
15797
15821
|
return;
|
|
15798
15822
|
if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
|
|
15799
15823
|
this.dragging && xs(t);
|
|
@@ -15822,25 +15846,25 @@ var Sw = (e, t) => {
|
|
|
15822
15846
|
const i = this.beans;
|
|
15823
15847
|
this.destroyDrag();
|
|
15824
15848
|
const s = new Vd(Ci(i), e, t), n = (a) => this.onMouseOrPointerMove(a), o = (a) => this.onMouseOrPointerUp(a), r = Ci(i);
|
|
15825
|
-
this.initDrag(s, [r, "mousemove", n], [r, "mouseup", o]), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) :
|
|
15849
|
+
this.initDrag(s, [r, "mousemove", n], [r, "mouseup", o]), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : Ii(t);
|
|
15826
15850
|
}
|
|
15827
15851
|
onScroll(e) {
|
|
15828
|
-
if (!
|
|
15852
|
+
if (!Ii(e))
|
|
15829
15853
|
return;
|
|
15830
15854
|
const t = this.drag, i = t?.lastDrag;
|
|
15831
15855
|
i && this.dragging && t.params?.onDragging?.(i);
|
|
15832
15856
|
}
|
|
15833
15857
|
/** only gets called after a mouse down - as this is only added after mouseDown and is removed when mouseUp happens */
|
|
15834
15858
|
onMouseOrPointerMove(e) {
|
|
15835
|
-
|
|
15859
|
+
Ii(e) && (Gs() && vt(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && xs(e), this.onMove(e));
|
|
15836
15860
|
}
|
|
15837
15861
|
onTouchCancel(e) {
|
|
15838
15862
|
const t = this.drag;
|
|
15839
|
-
!t || !
|
|
15863
|
+
!t || !Ii(e) || io(t.start, e.changedTouches) && this.cancelDrag();
|
|
15840
15864
|
}
|
|
15841
15865
|
onTouchMove(e) {
|
|
15842
15866
|
const t = this.drag;
|
|
15843
|
-
if (!t || !
|
|
15867
|
+
if (!t || !Ii(e))
|
|
15844
15868
|
return;
|
|
15845
15869
|
const i = io(t.start, e.touches);
|
|
15846
15870
|
i && (this.onMove(i), this.draggingPreventDefault(e));
|
|
@@ -15863,10 +15887,10 @@ var Sw = (e, t) => {
|
|
|
15863
15887
|
}
|
|
15864
15888
|
onTouchUp(e) {
|
|
15865
15889
|
const t = this.drag;
|
|
15866
|
-
t &&
|
|
15890
|
+
t && Ii(e) && this.onUp(io(t.start, e.changedTouches));
|
|
15867
15891
|
}
|
|
15868
15892
|
onMouseOrPointerUp(e) {
|
|
15869
|
-
|
|
15893
|
+
Ii(e) && this.onUp(e);
|
|
15870
15894
|
}
|
|
15871
15895
|
onUp(e) {
|
|
15872
15896
|
const t = this.drag;
|
|
@@ -17455,7 +17479,7 @@ function SD(e, t) {
|
|
|
17455
17479
|
s[a.getId()] = a.isVisible();
|
|
17456
17480
|
const n = [];
|
|
17457
17481
|
for (const a of t)
|
|
17458
|
-
i.indexOf(a) >= 0 && (n.push(a),
|
|
17482
|
+
i.indexOf(a) >= 0 && (n.push(a), zi(i, a));
|
|
17459
17483
|
for (const a of i)
|
|
17460
17484
|
n.push(a);
|
|
17461
17485
|
const o = [], r = e.getLeafColumns();
|
|
@@ -18720,14 +18744,14 @@ function Ri(e, t, i) {
|
|
|
18720
18744
|
continue;
|
|
18721
18745
|
}
|
|
18722
18746
|
const Y = S(I);
|
|
18723
|
-
Y ? (C(Y, k, T, P, !1),
|
|
18747
|
+
Y ? (C(Y, k, T, P, !1), zi(E, Y)) : (Z.push(k), O += 1);
|
|
18724
18748
|
}
|
|
18725
18749
|
const $ = (k) => C(k, null, T, P, !1);
|
|
18726
18750
|
E.forEach($), n?.sortColumns(jf.bind(n, T, B)), o?.sortColumns(jf.bind(o, P, W)), s.refreshCols(!1, i);
|
|
18727
18751
|
const ne = (k, I, j = []) => {
|
|
18728
18752
|
for (const Y of I) {
|
|
18729
|
-
const
|
|
18730
|
-
|
|
18753
|
+
const re = k(Y.colId);
|
|
18754
|
+
zi(j, re), C(re, Y, null, null, !0);
|
|
18731
18755
|
}
|
|
18732
18756
|
j.forEach($);
|
|
18733
18757
|
};
|
|
@@ -19329,7 +19353,7 @@ var jf = (e, t, i, s) => {
|
|
|
19329
19353
|
return this.getGui().clientWidth;
|
|
19330
19354
|
}
|
|
19331
19355
|
setWidth(e) {
|
|
19332
|
-
return
|
|
19356
|
+
return Bi(this.getGui(), e), this;
|
|
19333
19357
|
}
|
|
19334
19358
|
getPreviousValue() {
|
|
19335
19359
|
return this.previousValue;
|
|
@@ -19829,24 +19853,24 @@ var AP = class extends z {
|
|
|
19829
19853
|
return null;
|
|
19830
19854
|
}
|
|
19831
19855
|
}, Ap = "T", OP = new RegExp(`[${Ap} ]`), NP = new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${Ap}\\d{2}:\\d{2}:\\d{2}\\D?)?`);
|
|
19832
|
-
function
|
|
19856
|
+
function Oi(e, t) {
|
|
19833
19857
|
return e.toString().padStart(t, "0");
|
|
19834
19858
|
}
|
|
19835
19859
|
function Ht(e, t = !0, i = Ap) {
|
|
19836
19860
|
if (!e)
|
|
19837
19861
|
return null;
|
|
19838
|
-
let s = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((n) =>
|
|
19839
|
-
return t && (s += i + [e.getHours(), e.getMinutes(), e.getSeconds()].map((n) =>
|
|
19862
|
+
let s = [e.getFullYear(), e.getMonth() + 1, e.getDate()].map((n) => Oi(n, 2)).join("-");
|
|
19863
|
+
return t && (s += i + [e.getHours(), e.getMinutes(), e.getSeconds()].map((n) => Oi(n, 2)).join(":")), s;
|
|
19840
19864
|
}
|
|
19841
19865
|
function ja(e, t = !0) {
|
|
19842
19866
|
return e ? t ? [
|
|
19843
19867
|
String(e.getFullYear()),
|
|
19844
19868
|
String(e.getMonth() + 1),
|
|
19845
|
-
|
|
19846
|
-
|
|
19847
|
-
`:${
|
|
19848
|
-
`:${
|
|
19849
|
-
] : [e.getFullYear(), e.getMonth() + 1,
|
|
19869
|
+
Oi(e.getDate(), 2),
|
|
19870
|
+
Oi(e.getHours(), 2),
|
|
19871
|
+
`:${Oi(e.getMinutes(), 2)}`,
|
|
19872
|
+
`:${Oi(e.getSeconds(), 2)}`
|
|
19873
|
+
] : [e.getFullYear(), e.getMonth() + 1, Oi(e.getDate(), 2)].map(String) : null;
|
|
19850
19874
|
}
|
|
19851
19875
|
var _d = (e) => {
|
|
19852
19876
|
if (e > 3 && e < 21)
|
|
@@ -19877,17 +19901,17 @@ var _d = (e) => {
|
|
|
19877
19901
|
function HP(e, t) {
|
|
19878
19902
|
if (t == null)
|
|
19879
19903
|
return Ht(e, !1);
|
|
19880
|
-
const i =
|
|
19904
|
+
const i = Oi(e.getFullYear(), 4), s = {
|
|
19881
19905
|
YYYY: () => i.slice(i.length - 4, i.length),
|
|
19882
19906
|
YY: () => i.slice(i.length - 2, i.length),
|
|
19883
19907
|
Y: () => `${e.getFullYear()}`,
|
|
19884
19908
|
MMMM: () => _f[e.getMonth()],
|
|
19885
19909
|
MMM: () => _f[e.getMonth()].slice(0, 3),
|
|
19886
|
-
MM: () =>
|
|
19910
|
+
MM: () => Oi(e.getMonth() + 1, 2),
|
|
19887
19911
|
Mo: () => `${e.getMonth() + 1}${_d(e.getMonth() + 1)}`,
|
|
19888
19912
|
M: () => `${e.getMonth() + 1}`,
|
|
19889
19913
|
Do: () => `${e.getDate()}${_d(e.getDate())}`,
|
|
19890
|
-
DD: () =>
|
|
19914
|
+
DD: () => Oi(e.getDate(), 2),
|
|
19891
19915
|
D: () => `${e.getDate()}`,
|
|
19892
19916
|
dddd: () => Ud[e.getDay()],
|
|
19893
19917
|
ddd: () => Ud[e.getDay()].slice(0, 3),
|
|
@@ -20760,7 +20784,7 @@ var i4 = class extends e4 {
|
|
|
20760
20784
|
return this.icons[e];
|
|
20761
20785
|
}
|
|
20762
20786
|
getDynamicError(e, t) {
|
|
20763
|
-
return t ?
|
|
20787
|
+
return t ? Vi(279, { name: e }) : this.beans.validation?.missingDynamicBean(e) ?? Vi(256);
|
|
20764
20788
|
}
|
|
20765
20789
|
}, s4 = 23, n4 = class extends z {
|
|
20766
20790
|
constructor() {
|
|
@@ -20823,8 +20847,8 @@ var i4 = class extends e4 {
|
|
|
20823
20847
|
return;
|
|
20824
20848
|
let a = e;
|
|
20825
20849
|
s && (a = `@layer ${CSS.escape(s).replaceAll("\\.", ".")} { ${e} }`);
|
|
20826
|
-
let l =
|
|
20827
|
-
if (l || (l = [],
|
|
20850
|
+
let l = Hi.map.get(t);
|
|
20851
|
+
if (l || (l = [], Hi.map.set(t, l)), l.some((h) => h.injectedCss === a))
|
|
20828
20852
|
return;
|
|
20829
20853
|
const c = document.createElement("style");
|
|
20830
20854
|
o && c.setAttribute("nonce", o), c.dataset.agCss = i, c.dataset.agCssVersion = te, c.textContent = a;
|
|
@@ -20848,20 +20872,20 @@ var i4 = class extends e4 {
|
|
|
20848
20872
|
}, r4 = (e, t, i, s, n, o) => {
|
|
20849
20873
|
if (Lp || Bw)
|
|
20850
20874
|
return;
|
|
20851
|
-
const r =
|
|
20852
|
-
r ? r.paramsCss = t :
|
|
20875
|
+
const r = Hi.grids.get(e);
|
|
20876
|
+
r ? r.paramsCss = t : Hi.grids.set(e, { styleContainer: s, paramsCss: t }), qu(s), t && i && vn(t, s, i, n, 2, o, !0);
|
|
20853
20877
|
}, a4 = (e) => {
|
|
20854
|
-
const t =
|
|
20878
|
+
const t = Hi.grids.get(e)?.styleContainer;
|
|
20855
20879
|
if (!t)
|
|
20856
20880
|
return;
|
|
20857
|
-
|
|
20881
|
+
Hi.grids.delete(e), Array.from(Hi.grids.values()).some(
|
|
20858
20882
|
(s) => s.styleContainer === t
|
|
20859
|
-
) ? qu(t) : (qu(t, !0),
|
|
20883
|
+
) ? qu(t) : (qu(t, !0), Hi.map.delete(t));
|
|
20860
20884
|
}, qu = (e, t = !1) => {
|
|
20861
20885
|
const i = /* @__PURE__ */ new Set();
|
|
20862
|
-
for (const n of
|
|
20886
|
+
for (const n of Hi.grids.values())
|
|
20863
20887
|
n.styleContainer === e && i.add(n.paramsCss);
|
|
20864
|
-
const s =
|
|
20888
|
+
const s = Hi.map.get(e) ?? [];
|
|
20865
20889
|
for (let n = s.length - 1; n >= 0; n--)
|
|
20866
20890
|
(t || s[n].isParams && !i.has(s[n].rawCss)) && (s[n].el.remove(), s.splice(n, 1));
|
|
20867
20891
|
}, zw = () => {
|
|
@@ -20872,7 +20896,7 @@ var i4 = class extends e4 {
|
|
|
20872
20896
|
grids: /* @__PURE__ */ new Map(),
|
|
20873
20897
|
paramsId: 0
|
|
20874
20898
|
}, e.set(te, t)), t;
|
|
20875
|
-
},
|
|
20899
|
+
}, Hi = zw(), Mt = (e) => new Ww(e), ws = "$default", l4 = 0, Ww = class {
|
|
20876
20900
|
constructor({ feature: e, params: t, modeParams: i = {}, css: s, cssImports: n }) {
|
|
20877
20901
|
this.feature = e, this.css = s, this.cssImports = n, this.modeParams = {
|
|
20878
20902
|
// NOTE: it's important that default is defined first, putting it
|
|
@@ -20907,13 +20931,13 @@ ${n}`;
|
|
|
20907
20931
|
}
|
|
20908
20932
|
return s && e && vn(s.css, e, s.class, t, 1, i), s ? s.class : !1;
|
|
20909
20933
|
}
|
|
20910
|
-
}, c4 = (e) => e.replace(/[A-Z]|\d+/g, (t) => `-${t}`).toLowerCase(), Op = (e) => `--ag-${c4(e)}`,
|
|
20934
|
+
}, c4 = (e) => e.replace(/[A-Z]|\d+/g, (t) => `-${t}`).toLowerCase(), Op = (e) => `--ag-${c4(e)}`, ji = (e) => `var(${Op(e)})`, d4 = (e, t, i) => Math.max(t, Math.min(i, e)), u4 = (e) => {
|
|
20911
20935
|
const t = /* @__PURE__ */ new Map();
|
|
20912
20936
|
return (i) => {
|
|
20913
20937
|
const s = i;
|
|
20914
20938
|
return t.has(s) || t.set(s, e(i)), t.get(s);
|
|
20915
20939
|
};
|
|
20916
|
-
},
|
|
20940
|
+
}, Li = (e) => ({ ref: "accentColor", mix: e }), Lt = (e) => ({ ref: "foregroundColor", mix: e }), yt = (e) => ({
|
|
20917
20941
|
ref: "foregroundColor",
|
|
20918
20942
|
mix: e,
|
|
20919
20943
|
onto: "backgroundColor"
|
|
@@ -20921,7 +20945,7 @@ ${n}`;
|
|
|
20921
20945
|
ref: "foregroundColor",
|
|
20922
20946
|
mix: e,
|
|
20923
20947
|
onto: "headerBackgroundColor"
|
|
20924
|
-
}), dt = { ref: "backgroundColor" },
|
|
20948
|
+
}), dt = { ref: "backgroundColor" }, Gi = { ref: "foregroundColor" }, Zt = { ref: "accentColor" }, jl = {
|
|
20925
20949
|
backgroundColor: "#fff",
|
|
20926
20950
|
foregroundColor: "#181d1f",
|
|
20927
20951
|
borderColor: Lt(0.15),
|
|
@@ -20929,7 +20953,7 @@ ${n}`;
|
|
|
20929
20953
|
browserColorScheme: "light"
|
|
20930
20954
|
}, p4 = {
|
|
20931
20955
|
...jl,
|
|
20932
|
-
textColor:
|
|
20956
|
+
textColor: Gi,
|
|
20933
20957
|
accentColor: "#2196f3",
|
|
20934
20958
|
invalidColor: "#e02525",
|
|
20935
20959
|
fontFamily: [
|
|
@@ -20954,7 +20978,7 @@ ${n}`;
|
|
|
20954
20978
|
fontWeight: "inherit",
|
|
20955
20979
|
focusShadow: {
|
|
20956
20980
|
spread: 3,
|
|
20957
|
-
color:
|
|
20981
|
+
color: Li(0.5)
|
|
20958
20982
|
},
|
|
20959
20983
|
focusErrorShadow: {
|
|
20960
20984
|
spread: 3,
|
|
@@ -21094,27 +21118,27 @@ ${n}`;
|
|
|
21094
21118
|
"fontFamily",
|
|
21095
21119
|
"fontWeight",
|
|
21096
21120
|
"duration"
|
|
21097
|
-
], f4 = u4((e) => (e = e.toLowerCase(), g4.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Sc = (e) => typeof e == "object" && e?.ref ?
|
|
21121
|
+
], f4 = u4((e) => (e = e.toLowerCase(), g4.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Sc = (e) => typeof e == "object" && e?.ref ? ji(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Np = (e) => {
|
|
21098
21122
|
if (typeof e == "string")
|
|
21099
21123
|
return e;
|
|
21100
21124
|
if (typeof e == "object" && e && "ref" in e) {
|
|
21101
|
-
const t =
|
|
21102
|
-
return e.mix == null ? t : `color-mix(in srgb, ${e.onto ?
|
|
21125
|
+
const t = ji(e.ref);
|
|
21126
|
+
return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? ji(e.onto) : "transparent"}, ${t} ${d4(e.mix * 100, 0, 100)}%)`;
|
|
21103
21127
|
}
|
|
21104
21128
|
return !1;
|
|
21105
|
-
}, m4 = Sc, Xn = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : typeof e == "object" && e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (i) => i[0] === "-" ? i : " " +
|
|
21129
|
+
}, m4 = Sc, Xn = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : typeof e == "object" && e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (i) => i[0] === "-" ? i : " " + ji(i) + " ")})` : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, v4 = Sc, Ku = (e, t) => typeof e == "string" ? e : e === !0 ? Ku({}, t) : e === !1 ? t === "columnBorder" ? Ku({ color: "transparent" }, t) : "none" : typeof e == "object" && e && "ref" in e ? ji(e.ref) : jw(e.style ?? "solid") + " " + Xn(e.width ?? { ref: "borderWidth" }) + " " + Np(e.color ?? { ref: "borderColor" }), Yf = (e) => [
|
|
21106
21130
|
Xn(e.offsetX ?? 0),
|
|
21107
21131
|
Xn(e.offsetY ?? 0),
|
|
21108
21132
|
Xn(e.radius ?? 0),
|
|
21109
21133
|
Xn(e.spread ?? 0),
|
|
21110
21134
|
Np(e.color ?? { ref: "foregroundColor" }),
|
|
21111
21135
|
...e.inset ? ["inset"] : []
|
|
21112
|
-
].join(" "), C4 = (e) => typeof e == "string" ? e : e === !1 ? "none" : typeof e == "object" && e && "ref" in e ?
|
|
21136
|
+
].join(" "), C4 = (e) => typeof e == "string" ? e : e === !1 ? "none" : typeof e == "object" && e && "ref" in e ? ji(e.ref) : Array.isArray(e) ? e.map(Yf).join(", ") : Yf(e), jw = Sc, _w = (e) => typeof e == "string" ? e.includes(",") ? e : Zf(e) : typeof e == "object" && e && "googleFont" in e ? _w(e.googleFont) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), Zf(t))).join(", ") : !1, Zf = (e) => (
|
|
21113
21137
|
// don't quote var() expressions or quote safe identifier names, so that
|
|
21114
21138
|
// people can specify fonts like sans-serif which are keywords not strings,
|
|
21115
21139
|
// or var(--my-var)
|
|
21116
21140
|
/^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
|
|
21117
|
-
), w4 = Sc, Uw = (e) => typeof e == "string" ? e : typeof e == "object" && e && "url" in e ? `url(${JSON.stringify(e.url)})` : typeof e == "object" && e && "svg" in e ? Uw({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : typeof e == "object" && e && "ref" in e ?
|
|
21141
|
+
), w4 = Sc, Uw = (e) => typeof e == "string" ? e : typeof e == "object" && e && "url" in e ? `url(${JSON.stringify(e.url)})` : typeof e == "object" && e && "svg" in e ? Uw({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, b4 = (e, t, i) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && i?.warn(104, { value: e, param: t }), `${e}s`) : typeof e == "object" && e && "ref" in e ? ji(e.ref) : !1, x4 = {
|
|
21118
21142
|
color: Np,
|
|
21119
21143
|
colorScheme: m4,
|
|
21120
21144
|
length: Xn,
|
|
@@ -21455,15 +21479,15 @@ ${i}}
|
|
|
21455
21479
|
},
|
|
21456
21480
|
rangeSelectionBorderStyle: "solid",
|
|
21457
21481
|
rangeSelectionBorderColor: Zt,
|
|
21458
|
-
rangeSelectionBackgroundColor:
|
|
21482
|
+
rangeSelectionBackgroundColor: Li(0.2),
|
|
21459
21483
|
rangeSelectionChartBackgroundColor: "#0058FF1A",
|
|
21460
21484
|
rangeSelectionChartCategoryBackgroundColor: "#00FF841A",
|
|
21461
|
-
rangeSelectionHighlightColor:
|
|
21485
|
+
rangeSelectionHighlightColor: Li(0.5),
|
|
21462
21486
|
rangeHeaderHighlightColor: h4(0.08),
|
|
21463
|
-
rowNumbersSelectedColor:
|
|
21464
|
-
rowHoverColor:
|
|
21465
|
-
columnHoverColor:
|
|
21466
|
-
selectedRowBackgroundColor:
|
|
21487
|
+
rowNumbersSelectedColor: Li(0.5),
|
|
21488
|
+
rowHoverColor: Li(0.08),
|
|
21489
|
+
columnHoverColor: Li(0.05),
|
|
21490
|
+
selectedRowBackgroundColor: Li(0.12),
|
|
21467
21491
|
modalOverlayBackgroundColor: {
|
|
21468
21492
|
ref: "backgroundColor",
|
|
21469
21493
|
mix: 0.66
|
|
@@ -21505,7 +21529,7 @@ ${i}}
|
|
|
21505
21529
|
iconButtonHoverColor: { ref: "iconButtonColor" },
|
|
21506
21530
|
iconButtonHoverBackgroundColor: Lt(0.1),
|
|
21507
21531
|
iconButtonActiveColor: Zt,
|
|
21508
|
-
iconButtonActiveBackgroundColor:
|
|
21532
|
+
iconButtonActiveBackgroundColor: Li(0.28),
|
|
21509
21533
|
iconButtonActiveIndicatorColor: Zt,
|
|
21510
21534
|
setFilterIndentSize: {
|
|
21511
21535
|
ref: "iconSize"
|
|
@@ -21556,17 +21580,17 @@ ${i}}
|
|
|
21556
21580
|
mix: 0.7
|
|
21557
21581
|
},
|
|
21558
21582
|
filterPanelCardSubtleHoverColor: { ref: "textColor" },
|
|
21559
|
-
findMatchColor:
|
|
21583
|
+
findMatchColor: Gi,
|
|
21560
21584
|
findMatchBackgroundColor: "#ffff00",
|
|
21561
|
-
findActiveMatchColor:
|
|
21585
|
+
findActiveMatchColor: Gi,
|
|
21562
21586
|
findActiveMatchBackgroundColor: "#ffa500",
|
|
21563
21587
|
filterToolPanelGroupIndent: {
|
|
21564
21588
|
ref: "spacing"
|
|
21565
21589
|
},
|
|
21566
21590
|
rowLoadingSkeletonEffectColor: Lt(0.15),
|
|
21567
|
-
statusBarLabelColor:
|
|
21591
|
+
statusBarLabelColor: Gi,
|
|
21568
21592
|
statusBarLabelFontWeight: 500,
|
|
21569
|
-
statusBarValueColor:
|
|
21593
|
+
statusBarValueColor: Gi,
|
|
21570
21594
|
statusBarValueFontWeight: 500,
|
|
21571
21595
|
pinnedSourceRowTextColor: {
|
|
21572
21596
|
ref: "textColor"
|
|
@@ -21633,8 +21657,8 @@ ${i}}
|
|
|
21633
21657
|
feature: "buttonStyle",
|
|
21634
21658
|
params: {
|
|
21635
21659
|
...Zw,
|
|
21636
|
-
buttonBorder: { color:
|
|
21637
|
-
buttonActiveBorder: { color:
|
|
21660
|
+
buttonBorder: { color: Gi, width: 2, style: "outset" },
|
|
21661
|
+
buttonActiveBorder: { color: Gi, width: 2, style: "inset" },
|
|
21638
21662
|
buttonBackgroundColor: yt(0.07),
|
|
21639
21663
|
buttonHoverBackgroundColor: dt,
|
|
21640
21664
|
buttonVerticalPadding: { calc: "spacing * 0.5" }
|
|
@@ -21741,8 +21765,8 @@ ${i}}
|
|
|
21741
21765
|
backgroundColor: "hsl(217, 0%, 17%)",
|
|
21742
21766
|
foregroundColor: "#FFF",
|
|
21743
21767
|
chromeBackgroundColor: yt(0.05),
|
|
21744
|
-
rowHoverColor:
|
|
21745
|
-
selectedRowBackgroundColor:
|
|
21768
|
+
rowHoverColor: Li(0.15),
|
|
21769
|
+
selectedRowBackgroundColor: Li(0.2),
|
|
21746
21770
|
menuBackgroundColor: yt(0.1),
|
|
21747
21771
|
browserColorScheme: "dark",
|
|
21748
21772
|
popupShadow: "0 0px 20px #000A",
|
|
@@ -21751,8 +21775,8 @@ ${i}}
|
|
|
21751
21775
|
advancedFilterBuilderColumnPillColor: "#355f2d",
|
|
21752
21776
|
advancedFilterBuilderOptionPillColor: "#5a3168",
|
|
21753
21777
|
advancedFilterBuilderValuePillColor: "#374c86",
|
|
21754
|
-
filterPanelApplyButtonColor:
|
|
21755
|
-
columnPanelApplyButtonColor:
|
|
21778
|
+
filterPanelApplyButtonColor: Gi,
|
|
21779
|
+
columnPanelApplyButtonColor: Gi,
|
|
21756
21780
|
findMatchColor: dt,
|
|
21757
21781
|
findActiveMatchColor: dt,
|
|
21758
21782
|
checkboxUncheckedBorderColor: yt(0.4),
|
|
@@ -22094,7 +22118,7 @@ ${i}}
|
|
|
22094
22118
|
statusBarLabelColor: Lt(0.54),
|
|
22095
22119
|
statusBarLabelFontWeight: 600,
|
|
22096
22120
|
statusBarValueFontWeight: 600,
|
|
22097
|
-
panelTitleBarIconColor:
|
|
22121
|
+
panelTitleBarIconColor: Gi,
|
|
22098
22122
|
colorPickerThumbSize: 13,
|
|
22099
22123
|
colorPickerTrackSize: 11,
|
|
22100
22124
|
colorPickerThumbBorderWidth: 2,
|
|
@@ -22692,7 +22716,7 @@ var A6 = class extends z {
|
|
|
22692
22716
|
}
|
|
22693
22717
|
return null;
|
|
22694
22718
|
}
|
|
22695
|
-
const n =
|
|
22719
|
+
const n = Wi(this.beans, s);
|
|
22696
22720
|
return !n || i.isSuppressNavigable(n) || t && this.rowRenderer.getRowByPosition(s)?.isFullWidth() ? null : {
|
|
22697
22721
|
rowIndex: s.rowIndex,
|
|
22698
22722
|
rowPinned: s.rowPinned,
|
|
@@ -22707,7 +22731,7 @@ var A6 = class extends z {
|
|
|
22707
22731
|
return t && !wi(this.beans) ? this.focusLastHeader() : i && this.focusOverlay(t) ? !0 : t ? !1 : xo(this.beans, t);
|
|
22708
22732
|
const n = t ? Pf(this.beans) : Df(this.beans);
|
|
22709
22733
|
if (n) {
|
|
22710
|
-
const o = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = n, l =
|
|
22734
|
+
const o = e.column ?? this.focusedHeader?.column, { rowIndex: r, rowPinned: a } = n, l = Wi(this.beans, n);
|
|
22711
22735
|
if (!o || !l || r == null)
|
|
22712
22736
|
return !1;
|
|
22713
22737
|
if (o.isSuppressNavigable(l)) {
|
|
@@ -23082,11 +23106,11 @@ var H6 = () => ({
|
|
|
23082
23106
|
validate: ({ icons: t }) => {
|
|
23083
23107
|
if (t) {
|
|
23084
23108
|
if (t.smallDown)
|
|
23085
|
-
return
|
|
23109
|
+
return Vi(262);
|
|
23086
23110
|
if (t.smallLeft)
|
|
23087
|
-
return
|
|
23111
|
+
return Vi(263);
|
|
23088
23112
|
if (t.smallRight)
|
|
23089
|
-
return
|
|
23113
|
+
return Vi(264);
|
|
23090
23114
|
}
|
|
23091
23115
|
return null;
|
|
23092
23116
|
}
|
|
@@ -23750,7 +23774,7 @@ ${a}`;
|
|
|
23750
23774
|
message: "Advanced filter no longer uses function evaluation, so this option has no effect."
|
|
23751
23775
|
}
|
|
23752
23776
|
});
|
|
23753
|
-
function
|
|
23777
|
+
function Mi(e, t, i) {
|
|
23754
23778
|
return typeof t == "number" || t == null ? t == null || t >= i ? null : `${e}: value should be greater than or equal to ${i}` : `${e}: value should be a number`;
|
|
23755
23779
|
}
|
|
23756
23780
|
var Q6 = {
|
|
@@ -23809,18 +23833,18 @@ var Q6 = {
|
|
|
23809
23833
|
const e = {
|
|
23810
23834
|
autoSizePadding: {
|
|
23811
23835
|
validate({ autoSizePadding: i }) {
|
|
23812
|
-
return
|
|
23836
|
+
return Mi("autoSizePadding", i, 0);
|
|
23813
23837
|
}
|
|
23814
23838
|
},
|
|
23815
23839
|
cacheBlockSize: {
|
|
23816
23840
|
supportedRowModels: ["serverSide", "infinite"],
|
|
23817
23841
|
validate({ cacheBlockSize: i }) {
|
|
23818
|
-
return
|
|
23842
|
+
return Mi("cacheBlockSize", i, 1);
|
|
23819
23843
|
}
|
|
23820
23844
|
},
|
|
23821
23845
|
cacheOverflowSize: {
|
|
23822
23846
|
validate({ cacheOverflowSize: i }) {
|
|
23823
|
-
return
|
|
23847
|
+
return Mi("cacheOverflowSize", i, 1);
|
|
23824
23848
|
}
|
|
23825
23849
|
},
|
|
23826
23850
|
datasource: {
|
|
@@ -23920,18 +23944,18 @@ var Q6 = {
|
|
|
23920
23944
|
validate: ({ icons: i }) => {
|
|
23921
23945
|
if (i) {
|
|
23922
23946
|
if (i.smallDown)
|
|
23923
|
-
return
|
|
23947
|
+
return Vi(262);
|
|
23924
23948
|
if (i.smallLeft)
|
|
23925
|
-
return
|
|
23949
|
+
return Vi(263);
|
|
23926
23950
|
if (i.smallRight)
|
|
23927
|
-
return
|
|
23951
|
+
return Vi(264);
|
|
23928
23952
|
}
|
|
23929
23953
|
return null;
|
|
23930
23954
|
}
|
|
23931
23955
|
},
|
|
23932
23956
|
infiniteInitialRowCount: {
|
|
23933
23957
|
validate({ infiniteInitialRowCount: i }) {
|
|
23934
|
-
return
|
|
23958
|
+
return Mi("infiniteInitialRowCount", i, 1);
|
|
23935
23959
|
}
|
|
23936
23960
|
},
|
|
23937
23961
|
initialGroupOrderComparator: {
|
|
@@ -23950,12 +23974,12 @@ var Q6 = {
|
|
|
23950
23974
|
},
|
|
23951
23975
|
keepDetailRowsCount: {
|
|
23952
23976
|
validate({ keepDetailRowsCount: i }) {
|
|
23953
|
-
return
|
|
23977
|
+
return Mi("keepDetailRowsCount", i, 1);
|
|
23954
23978
|
}
|
|
23955
23979
|
},
|
|
23956
23980
|
paginationPageSize: {
|
|
23957
23981
|
validate({ paginationPageSize: i }) {
|
|
23958
|
-
return
|
|
23982
|
+
return Mi("paginationPageSize", i, 1);
|
|
23959
23983
|
}
|
|
23960
23984
|
},
|
|
23961
23985
|
paginationPageSizeSelector: {
|
|
@@ -23978,7 +24002,7 @@ var Q6 = {
|
|
|
23978
24002
|
},
|
|
23979
24003
|
rowBuffer: {
|
|
23980
24004
|
validate({ rowBuffer: i }) {
|
|
23981
|
-
return
|
|
24005
|
+
return Mi("rowBuffer", i, 0);
|
|
23982
24006
|
}
|
|
23983
24007
|
},
|
|
23984
24008
|
rowClass: {
|
|
@@ -24012,7 +24036,7 @@ var Q6 = {
|
|
|
24012
24036
|
serverSideInitialRowCount: {
|
|
24013
24037
|
supportedRowModels: ["serverSide"],
|
|
24014
24038
|
validate({ serverSideInitialRowCount: i }) {
|
|
24015
|
-
return
|
|
24039
|
+
return Mi("serverSideInitialRowCount", i, 1);
|
|
24016
24040
|
}
|
|
24017
24041
|
},
|
|
24018
24042
|
serverSideOnlyRefreshFilteredGroups: {
|
|
@@ -24080,12 +24104,12 @@ var Q6 = {
|
|
|
24080
24104
|
},
|
|
24081
24105
|
viewportRowModelBufferSize: {
|
|
24082
24106
|
validate({ viewportRowModelBufferSize: i }) {
|
|
24083
|
-
return
|
|
24107
|
+
return Mi("viewportRowModelBufferSize", i, 0);
|
|
24084
24108
|
}
|
|
24085
24109
|
},
|
|
24086
24110
|
viewportRowModelPageSize: {
|
|
24087
24111
|
validate({ viewportRowModelPageSize: i }) {
|
|
24088
|
-
return
|
|
24112
|
+
return Mi("viewportRowModelPageSize", i, 1);
|
|
24089
24113
|
}
|
|
24090
24114
|
},
|
|
24091
24115
|
rowDragEntireRow: {
|
|
@@ -27897,7 +27921,7 @@ var XT = class extends z {
|
|
|
27897
27921
|
Nt(e.column) || this.beans.rangeSvc?.setRangeToCell(e);
|
|
27898
27922
|
}
|
|
27899
27923
|
isValidNavigateCell(e) {
|
|
27900
|
-
return !!
|
|
27924
|
+
return !!Wi(this.beans, e);
|
|
27901
27925
|
}
|
|
27902
27926
|
getLastCellOfColSpan(e) {
|
|
27903
27927
|
const t = Zn(this.beans, e);
|
|
@@ -28004,7 +28028,7 @@ var tI = {
|
|
|
28004
28028
|
onPinnedWidthChanged() {
|
|
28005
28029
|
const e = this.getWidth(), t = e > 0;
|
|
28006
28030
|
for (const i of this.elements)
|
|
28007
|
-
i && (Ye(i, t),
|
|
28031
|
+
i && (Ye(i, t), Bi(i, e));
|
|
28008
28032
|
}
|
|
28009
28033
|
}, rI = class extends z {
|
|
28010
28034
|
constructor() {
|
|
@@ -29005,7 +29029,7 @@ var FI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
29005
29029
|
}
|
|
29006
29030
|
getLockOnRefresh() {
|
|
29007
29031
|
if (this.refreshInProgress)
|
|
29008
|
-
throw new Error(
|
|
29032
|
+
throw new Error(Vi(252));
|
|
29009
29033
|
this.refreshInProgress = !0, this.beans.frameworkOverrides.getLockOnRefresh?.();
|
|
29010
29034
|
}
|
|
29011
29035
|
releaseLockOnRefresh() {
|
|
@@ -29466,11 +29490,11 @@ var FI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
29466
29490
|
}
|
|
29467
29491
|
removeRow(e) {
|
|
29468
29492
|
const t = e.id, i = this.entriesMap[t];
|
|
29469
|
-
delete this.entriesMap[t],
|
|
29493
|
+
delete this.entriesMap[t], zi(this.entriesList, i);
|
|
29470
29494
|
}
|
|
29471
29495
|
removeFromCache(e) {
|
|
29472
29496
|
const t = e.rowNode.id;
|
|
29473
|
-
delete this.entriesMap[t],
|
|
29497
|
+
delete this.entriesMap[t], zi(this.entriesList, e);
|
|
29474
29498
|
}
|
|
29475
29499
|
getEntries() {
|
|
29476
29500
|
return this.entriesList;
|
|
@@ -32925,7 +32949,7 @@ var mM = class extends z {
|
|
|
32925
32949
|
const h = d.slice(0);
|
|
32926
32950
|
let p = !1;
|
|
32927
32951
|
const f = (C) => {
|
|
32928
|
-
|
|
32952
|
+
zi(d, C), u.push(C);
|
|
32929
32953
|
}, m = {};
|
|
32930
32954
|
for (const C of d) {
|
|
32931
32955
|
s?.onlyScaleUp && (m[C.getColId()] = C.getActualWidth()), C.resetActualWidth(t);
|
|
@@ -34497,7 +34521,7 @@ var jM = (e, t) => {
|
|
|
34497
34521
|
s?.beginDeferred();
|
|
34498
34522
|
try {
|
|
34499
34523
|
for (const n of e.cellValueChanges) {
|
|
34500
|
-
const { rowIndex: o, rowPinned: r, columnId: a } = n, l = { rowIndex: o, rowPinned: r }, c =
|
|
34524
|
+
const { rowIndex: o, rowPinned: r, columnId: a } = n, l = { rowIndex: o, rowPinned: r }, c = Wi(this.beans, l);
|
|
34501
34525
|
c?.displayed && c.setDataValue(a, t(n), i);
|
|
34502
34526
|
}
|
|
34503
34527
|
} finally {
|
|
@@ -34528,7 +34552,7 @@ var jM = (e, t) => {
|
|
|
34528
34552
|
});
|
|
34529
34553
|
}
|
|
34530
34554
|
processCell(e) {
|
|
34531
|
-
const t = e[0], { rowIndex: i, rowPinned: s } = t, n = { rowIndex: i, rowPinned: s }, o =
|
|
34555
|
+
const t = e[0], { rowIndex: i, rowPinned: s } = t, n = { rowIndex: i, rowPinned: s }, o = Wi(this.beans, n), r = {
|
|
34532
34556
|
rowPinned: t.rowPinned,
|
|
34533
34557
|
rowIndex: o.rowIndex,
|
|
34534
34558
|
columnId: t.columnId
|
|
@@ -35788,7 +35812,7 @@ function Ok(e, t) {
|
|
|
35788
35812
|
K(12, { colKey: s });
|
|
35789
35813
|
return;
|
|
35790
35814
|
}
|
|
35791
|
-
const d =
|
|
35815
|
+
const d = Wi(e, {
|
|
35792
35816
|
rowIndex: n,
|
|
35793
35817
|
rowPinned: o || null
|
|
35794
35818
|
});
|
|
@@ -36516,7 +36540,7 @@ var _k = class extends z {
|
|
|
36516
36540
|
i.forEach((h) => {
|
|
36517
36541
|
const p = h.columns.some((f) => f?.isAllowFormula());
|
|
36518
36542
|
if (n?.forEachRowInRange(h, (f) => {
|
|
36519
|
-
const m =
|
|
36543
|
+
const m = Wi(s, f);
|
|
36520
36544
|
if (m === void 0)
|
|
36521
36545
|
return;
|
|
36522
36546
|
const v = a.get(m) ?? /* @__PURE__ */ new Map();
|
|
@@ -36573,7 +36597,7 @@ var _k = class extends z {
|
|
|
36573
36597
|
const p = r ? s.getCol(r) : l ? s.getCol(l) : a;
|
|
36574
36598
|
if (!p)
|
|
36575
36599
|
continue;
|
|
36576
|
-
const f =
|
|
36600
|
+
const f = Wi(i, { rowIndex: c, rowPinned: d });
|
|
36577
36601
|
if (!f)
|
|
36578
36602
|
continue;
|
|
36579
36603
|
const m = n.getValue(p, f, "data", !0);
|
|
@@ -36634,7 +36658,7 @@ var N1 = class extends z {
|
|
|
36634
36658
|
if (s.isEditing(void 0, { withOpenEditor: !0 })) {
|
|
36635
36659
|
const { column: c, rowIndex: d, rowPinned: u } = e, h = {
|
|
36636
36660
|
column: c,
|
|
36637
|
-
rowNode:
|
|
36661
|
+
rowNode: Wi(n, { rowIndex: d, rowPinned: u })
|
|
36638
36662
|
}, p = r.get("invalidEditValueMode") === "block";
|
|
36639
36663
|
if (p)
|
|
36640
36664
|
return;
|
|
@@ -36915,7 +36939,7 @@ var N1 = class extends z {
|
|
|
36915
36939
|
return this.rowNode = void 0, this.column = void 0, !0;
|
|
36916
36940
|
}
|
|
36917
36941
|
onCellFocusChanged(e) {
|
|
36918
|
-
const { colModel: t, editSvc: i } = this.beans, { rowIndex: s, column: n, rowPinned: o } = e, r =
|
|
36942
|
+
const { colModel: t, editSvc: i } = this.beans, { rowIndex: s, column: n, rowPinned: o } = e, r = Wi(this.beans, { rowIndex: s, rowPinned: o }), a = Zu(n), l = t.getCol(a), c = e.previousParams;
|
|
36919
36943
|
if (c) {
|
|
36920
36944
|
const d = Zu(c.column);
|
|
36921
36945
|
if (c?.rowIndex === s && d === a && c?.rowPinned === o)
|
|
@@ -41868,7 +41892,7 @@ var m9 = class extends z {
|
|
|
41868
41892
|
this.blocks.push(e), e.addEventListener("loadComplete", this.loadComplete.bind(this)), this.checkBlockToLoad();
|
|
41869
41893
|
}
|
|
41870
41894
|
removeBlock(e) {
|
|
41871
|
-
|
|
41895
|
+
zi(this.blocks, e);
|
|
41872
41896
|
}
|
|
41873
41897
|
destroy() {
|
|
41874
41898
|
super.destroy(), this.active = !1;
|
|
@@ -43976,7 +44000,7 @@ var RL = {
|
|
|
43976
44000
|
default:
|
|
43977
44001
|
l = t;
|
|
43978
44002
|
}
|
|
43979
|
-
l &&
|
|
44003
|
+
l && zi(l, n);
|
|
43980
44004
|
};
|
|
43981
44005
|
(this.beans.rowNumbersSvc?.getColumn(gp) ? 2 : 1) === s && o();
|
|
43982
44006
|
}
|
|
@@ -45442,7 +45466,7 @@ var cO = {
|
|
|
45442
45466
|
}
|
|
45443
45467
|
missingDynamicBean(e) {
|
|
45444
45468
|
const t = cO[e];
|
|
45445
|
-
return t ?
|
|
45469
|
+
return t ? Vi(200, {
|
|
45446
45470
|
...this.gos.getModuleErrorParams(),
|
|
45447
45471
|
moduleName: t,
|
|
45448
45472
|
reasonOrId: e
|
|
@@ -45635,7 +45659,7 @@ function pe(e, t = {}) {
|
|
|
45635
45659
|
}).filter(Boolean).join(";");
|
|
45636
45660
|
return [e, i].filter((s) => s.length > 0).join(":");
|
|
45637
45661
|
}
|
|
45638
|
-
var
|
|
45662
|
+
var de = {
|
|
45639
45663
|
grid(e) {
|
|
45640
45664
|
return pe("ag-grid-root", { gridId: e });
|
|
45641
45665
|
},
|
|
@@ -45732,16 +45756,16 @@ var ce = {
|
|
|
45732
45756
|
return pe("ag-cell", { "row-id": e, colId: t });
|
|
45733
45757
|
},
|
|
45734
45758
|
autoGroupCell(e) {
|
|
45735
|
-
return
|
|
45759
|
+
return de.cell(e, ys);
|
|
45736
45760
|
},
|
|
45737
45761
|
checkbox(e, t) {
|
|
45738
45762
|
return pe("ag-selection-checkbox", { "row-id": e, colId: t });
|
|
45739
45763
|
},
|
|
45740
45764
|
selectionColumnCheckbox(e) {
|
|
45741
|
-
return
|
|
45765
|
+
return de.checkbox(e, pp);
|
|
45742
45766
|
},
|
|
45743
45767
|
autoGroupColumnCheckbox(e) {
|
|
45744
|
-
return
|
|
45768
|
+
return de.checkbox(e, ys);
|
|
45745
45769
|
},
|
|
45746
45770
|
dragHandle(e, t) {
|
|
45747
45771
|
return pe("ag-drag-handle", { "row-id": e, colId: t });
|
|
@@ -45753,13 +45777,13 @@ var ce = {
|
|
|
45753
45777
|
return pe("ag-group-expanded", { "row-id": e, colId: t });
|
|
45754
45778
|
},
|
|
45755
45779
|
autoGroupContracted(e) {
|
|
45756
|
-
return
|
|
45780
|
+
return de.groupContracted(e, ys);
|
|
45757
45781
|
},
|
|
45758
45782
|
autoGroupExpanded(e) {
|
|
45759
|
-
return
|
|
45783
|
+
return de.groupExpanded(e, ys);
|
|
45760
45784
|
},
|
|
45761
45785
|
rowNumber(e) {
|
|
45762
|
-
return
|
|
45786
|
+
return de.cell(e, gp);
|
|
45763
45787
|
},
|
|
45764
45788
|
/** Menu */
|
|
45765
45789
|
menu() {
|
|
@@ -45948,101 +45972,101 @@ var xO = class extends z {
|
|
|
45948
45972
|
}
|
|
45949
45973
|
setupAllTestIds() {
|
|
45950
45974
|
const e = Ci(this.beans), t = xw(this.beans), i = e.querySelector(`[grid-id="${t}"]`);
|
|
45951
|
-
me(i,
|
|
45952
|
-
me(o,
|
|
45975
|
+
me(i, de.grid(t)), e.querySelectorAll(".ag-header-group-cell").forEach((o) => {
|
|
45976
|
+
me(o, de.headerGroupCell(o.getAttribute("col-id")));
|
|
45953
45977
|
}), e.querySelectorAll(".ag-header-cell").forEach((o) => {
|
|
45954
|
-
const r = o.getAttribute("col-id"), l = o.classList.contains("ag-floating-filter") ?
|
|
45955
|
-
me(o, l), me(o.querySelector(".ag-header-cell-filter-button"),
|
|
45978
|
+
const r = o.getAttribute("col-id"), l = o.classList.contains("ag-floating-filter") ? de.floatingFilter(r) : de.headerCell(r);
|
|
45979
|
+
me(o, l), me(o.querySelector(".ag-header-cell-filter-button"), de.headerFilterButton(r)), me(o.querySelector(".ag-header-cell-menu-button"), de.headerCellMenuButton(r)), me(o.querySelector(".ag-header-cell-resize"), de.headerResizeHandle(r)), me(o.querySelector(".ag-checkbox input[type=checkbox]"), de.headerCheckbox(r)), me(o.querySelector(".ag-floating-filter-button button"), de.floatingFilterButton(r)), this.setupFilterInstance(o.querySelector(".ag-floating-filter-body"), {
|
|
45956
45980
|
source: "floating-filter",
|
|
45957
45981
|
colId: r
|
|
45958
45982
|
});
|
|
45959
45983
|
});
|
|
45960
45984
|
const s = e.querySelector(".ag-filter-menu");
|
|
45961
|
-
this.setupFilterInstance(s, { source: "column-filter" }), me(e.querySelector(".ag-advanced-filter input[type=text]"),
|
|
45962
|
-
me(o,
|
|
45985
|
+
this.setupFilterInstance(s, { source: "column-filter" }), me(e.querySelector(".ag-advanced-filter input[type=text]"), de.advancedFilterInput()), e.querySelectorAll(".ag-advanced-filter-buttons button").forEach((o) => {
|
|
45986
|
+
me(o, de.advancedFilterButton(o.textContent));
|
|
45963
45987
|
}), me(
|
|
45964
45988
|
e.querySelector("button.ag-advanced-filter-builder-button"),
|
|
45965
|
-
|
|
45989
|
+
de.advancedFilterBuilderButton()
|
|
45966
45990
|
), e.querySelectorAll('.ag-panel[aria-label="Advanced Filter"] .ag-panel-title-bar-button').forEach(
|
|
45967
45991
|
(o, r) => {
|
|
45968
45992
|
me(
|
|
45969
45993
|
o,
|
|
45970
|
-
r === 0 ?
|
|
45994
|
+
r === 0 ? de.advancedFilterPanelMaximiseButton() : de.advancedFilterPanelCloseButton()
|
|
45971
45995
|
);
|
|
45972
45996
|
}
|
|
45973
45997
|
), e.querySelectorAll('.ag-panel[aria-lable="Advanced Filter"] .ag-advanced-filter-builder-pill').forEach(
|
|
45974
45998
|
(o) => {
|
|
45975
45999
|
me(
|
|
45976
46000
|
o,
|
|
45977
|
-
|
|
46001
|
+
de.advancedFilterPill(o.querySelector(".ag-picker-field-display")?.textContent)
|
|
45978
46002
|
);
|
|
45979
46003
|
}
|
|
45980
46004
|
), me(
|
|
45981
46005
|
e.querySelector('.ag-panel[aria-label="Advanced Filter"] .ag-advanced-filter-builder-item-button'),
|
|
45982
|
-
|
|
46006
|
+
de.advancedFilterBuilderAddItemButton()
|
|
45983
46007
|
), e.querySelectorAll(".ag-row").forEach((o) => {
|
|
45984
46008
|
const r = o.getAttribute("row-id");
|
|
45985
|
-
me(o,
|
|
46009
|
+
me(o, de.rowNode(r)), o.querySelectorAll(".ag-cell").forEach((a) => {
|
|
45986
46010
|
const l = a.getAttribute("col-id");
|
|
45987
|
-
me(a,
|
|
46011
|
+
me(a, de.cell(r, l)), me(
|
|
45988
46012
|
a.querySelector(".ag-selection-checkbox input[type=checkbox]"),
|
|
45989
|
-
|
|
45990
|
-
), me(a.querySelector(".ag-drag-handle"),
|
|
46013
|
+
de.checkbox(r, l)
|
|
46014
|
+
), me(a.querySelector(".ag-drag-handle"), de.dragHandle(r, l)), me(a.querySelector(".ag-group-contracted"), de.groupContracted(r, l)), me(a.querySelector(".ag-group-expanded"), de.groupExpanded(r, l));
|
|
45991
46015
|
});
|
|
45992
46016
|
}), e.querySelectorAll(".ag-menu-list").forEach((o) => {
|
|
45993
|
-
me(o,
|
|
45994
|
-
me(r,
|
|
46017
|
+
me(o, de.menu()), o.querySelectorAll(".ag-menu-option").forEach((r) => {
|
|
46018
|
+
me(r, de.menuOption(r.querySelector(".ag-menu-option-text")?.textContent));
|
|
45995
46019
|
});
|
|
45996
46020
|
}), e.querySelectorAll(".ag-side-bar").forEach((o) => {
|
|
45997
|
-
me(o,
|
|
46021
|
+
me(o, de.sideBar()), o.querySelectorAll(".ag-side-button button").forEach((r) => {
|
|
45998
46022
|
me(
|
|
45999
46023
|
r,
|
|
46000
|
-
|
|
46024
|
+
de.sideBarButton(r.querySelector(".ag-side-button-label")?.textContent)
|
|
46001
46025
|
);
|
|
46002
46026
|
}), o.querySelectorAll(".ag-column-panel").forEach((r) => {
|
|
46003
|
-
me(r,
|
|
46027
|
+
me(r, de.columnToolPanel()), me(
|
|
46004
46028
|
r.querySelector(".ag-pivot-mode-select input[type=checkbox]"),
|
|
46005
|
-
|
|
46029
|
+
de.pivotModeSelect()
|
|
46006
46030
|
), me(
|
|
46007
46031
|
r.querySelector(".ag-column-select-header-checkbox input[type=checkbox]"),
|
|
46008
|
-
|
|
46032
|
+
de.columnPanelSelectHeaderCheckbox()
|
|
46009
46033
|
), me(
|
|
46010
46034
|
r.querySelector(".ag-column-select-header-filter-wrapper input[type=text]"),
|
|
46011
|
-
|
|
46035
|
+
de.columnPanelSelectHeaderFilter()
|
|
46012
46036
|
), r.querySelectorAll(".ag-column-select-list").forEach((a) => {
|
|
46013
46037
|
a.querySelectorAll(".ag-column-select-virtual-list-item").forEach((l) => {
|
|
46014
46038
|
const c = l.getAttribute("aria-label");
|
|
46015
46039
|
me(
|
|
46016
46040
|
l.querySelector(".ag-column-group-closed-icon"),
|
|
46017
|
-
|
|
46041
|
+
de.columnSelectListItemGroupClosedIcon(c)
|
|
46018
46042
|
), me(
|
|
46019
46043
|
l.querySelector(".ag-column-select-checkbox input[type=checkbox]"),
|
|
46020
|
-
|
|
46044
|
+
de.columnSelectListItemCheckbox(c)
|
|
46021
46045
|
), me(
|
|
46022
46046
|
l.querySelector(".ag-drag-handle"),
|
|
46023
|
-
|
|
46047
|
+
de.columnSelectListItemDragHandle(c)
|
|
46024
46048
|
);
|
|
46025
46049
|
});
|
|
46026
46050
|
}), this.setupColumnDropArea(r, "toolbar");
|
|
46027
46051
|
}), o.querySelectorAll(".ag-filter-panel").forEach((r) => {
|
|
46028
|
-
me(r,
|
|
46052
|
+
me(r, de.filterToolPanel()), me(
|
|
46029
46053
|
r.querySelector("button.ag-filter-add-button"),
|
|
46030
|
-
|
|
46054
|
+
de.filterToolPanelAddFilterButton()
|
|
46031
46055
|
), r.querySelectorAll(".ag-filter-card").forEach((a) => {
|
|
46032
46056
|
const l = a.querySelector(".ag-filter-card-title")?.textContent, c = a.querySelector(".ag-filter-type-select");
|
|
46033
|
-
me(c,
|
|
46057
|
+
me(c, de.filterToolPanelFilterTypeSelector(l)), a.querySelectorAll(".ag-filter").forEach(
|
|
46034
46058
|
(d) => this.setupFilterInstance(d, { source: "filter-toolpanel", colLabel: l })
|
|
46035
46059
|
);
|
|
46036
46060
|
});
|
|
46037
46061
|
}), o.querySelectorAll(".ag-filter-toolpanel").forEach((r) => {
|
|
46038
46062
|
me(
|
|
46039
46063
|
r.querySelector(".ag-filter-toolpanel-search-input input[type=text]"),
|
|
46040
|
-
|
|
46064
|
+
de.filterToolPanelSearchInput()
|
|
46041
46065
|
), r.querySelectorAll(".ag-filter-toolpanel-group").forEach((a) => {
|
|
46042
46066
|
const l = a.querySelector(".ag-filter-toolpanel-group-title")?.textContent;
|
|
46043
|
-
me(a,
|
|
46067
|
+
me(a, de.filterToolPanelGroup(l)), me(
|
|
46044
46068
|
a.querySelector(".ag-filter-toolpanel-group-title-bar-icon .ag-icon-tree-closed"),
|
|
46045
|
-
|
|
46069
|
+
de.filterToolPanelGroupCollapsedIcon(l)
|
|
46046
46070
|
);
|
|
46047
46071
|
const c = a.querySelector(".ag-filter-toolpanel-instance-filter");
|
|
46048
46072
|
c && this.setupFilterInstance(c, { source: "filter-toolpanel", colLabel: l });
|
|
@@ -46050,78 +46074,78 @@ var xO = class extends z {
|
|
|
46050
46074
|
});
|
|
46051
46075
|
}), me(
|
|
46052
46076
|
e.querySelector(".ag-status-bar .ag-status-panel-total-and-filtered-row-count"),
|
|
46053
|
-
|
|
46077
|
+
de.statusBarTotalAndFilteredRowCount()
|
|
46054
46078
|
), me(
|
|
46055
46079
|
e.querySelector(".ag-status-bar .ag-status-panel-total-row-count"),
|
|
46056
|
-
|
|
46080
|
+
de.statusBarTotalRowCount()
|
|
46057
46081
|
), me(
|
|
46058
46082
|
e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),
|
|
46059
|
-
|
|
46083
|
+
de.statusBarFilteredRowCount()
|
|
46060
46084
|
), me(
|
|
46061
46085
|
e.querySelector(".ag-status-bar .ag-status-panel-selected-row-count"),
|
|
46062
|
-
|
|
46086
|
+
de.statusBarSelectedRowCount()
|
|
46063
46087
|
), me(
|
|
46064
46088
|
e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),
|
|
46065
|
-
|
|
46089
|
+
de.statusBarAggregations()
|
|
46066
46090
|
), e.querySelectorAll(".ag-paging-panel").forEach((o) => {
|
|
46067
46091
|
me(
|
|
46068
46092
|
o.querySelector(".ag-paging-page-size .ag-picker-field-display"),
|
|
46069
|
-
|
|
46093
|
+
de.paginationPanelSizePickerDisplay(
|
|
46070
46094
|
o.querySelector(".ag-paging-page-size .ag-picker-field-display")?.textContent
|
|
46071
46095
|
)
|
|
46072
46096
|
), o.querySelectorAll(".ag-paging-row-summary-panel-number").forEach((r) => {
|
|
46073
46097
|
switch (r.getAttribute("data-ref")) {
|
|
46074
46098
|
case "lbFirstRowOnPage":
|
|
46075
|
-
me(r,
|
|
46099
|
+
me(r, de.paginationPanelFirstRowOnPage(r.textContent));
|
|
46076
46100
|
break;
|
|
46077
46101
|
case "lbLastRowOnPage":
|
|
46078
|
-
me(r,
|
|
46102
|
+
me(r, de.paginationPanelLastRowOnPage(r.textContent));
|
|
46079
46103
|
break;
|
|
46080
46104
|
case "lbRecordCount":
|
|
46081
|
-
me(r,
|
|
46105
|
+
me(r, de.paginationPanelRecordCount(r.textContent));
|
|
46082
46106
|
break;
|
|
46083
46107
|
}
|
|
46084
46108
|
}), o.querySelectorAll(".ag-paging-page-summary-panel .ag-button").forEach((r) => {
|
|
46085
46109
|
me(
|
|
46086
46110
|
r,
|
|
46087
|
-
|
|
46111
|
+
de.paginationSummaryPanelButton(r.getAttribute("aria-label")?.toLowerCase())
|
|
46088
46112
|
);
|
|
46089
46113
|
}), o.querySelectorAll(".ag-paging-page-summary-panel .ag-paging-number").forEach((r) => {
|
|
46090
46114
|
switch (r.getAttribute("data-ref")) {
|
|
46091
46115
|
case "lbCurrent":
|
|
46092
46116
|
me(
|
|
46093
46117
|
r,
|
|
46094
|
-
|
|
46118
|
+
de.paginationSummaryPanelCurrentPage(r.textContent)
|
|
46095
46119
|
);
|
|
46096
46120
|
break;
|
|
46097
46121
|
case "lbTotal":
|
|
46098
|
-
me(r,
|
|
46122
|
+
me(r, de.paginationSummaryPanelTotalPage(r.textContent));
|
|
46099
46123
|
break;
|
|
46100
46124
|
}
|
|
46101
46125
|
});
|
|
46102
|
-
}), me(e.querySelector(".ag-fill-handle"),
|
|
46103
|
-
me(o.querySelector(".ag-panel-title-bar-button-icon"),
|
|
46126
|
+
}), me(e.querySelector(".ag-fill-handle"), de.fillHandle()), e.querySelectorAll('.ag-panel[aria-label="Choose Columns"]').forEach((o) => {
|
|
46127
|
+
me(o.querySelector(".ag-panel-title-bar-button-icon"), de.columnChooserCloseButton()), me(
|
|
46104
46128
|
o.querySelector('.ag-column-select-header-checkbox input[type="checkbox"]'),
|
|
46105
|
-
|
|
46129
|
+
de.columnChooserSearchBarCheckbox()
|
|
46106
46130
|
), me(
|
|
46107
46131
|
o.querySelector('.ag-column-select-header-filter-wrapper input[type="text"]'),
|
|
46108
|
-
|
|
46132
|
+
de.columnChooserSearchBarFilter()
|
|
46109
46133
|
), o.querySelectorAll(".ag-column-select-list").forEach((r) => {
|
|
46110
46134
|
r.querySelectorAll(".ag-column-select-virtual-list-item").forEach((a) => {
|
|
46111
46135
|
const l = a.getAttribute("aria-label");
|
|
46112
46136
|
me(
|
|
46113
46137
|
a.querySelector(".ag-column-group-closed-icon"),
|
|
46114
|
-
|
|
46138
|
+
de.columnChooserListItemGroupClosedIcon(l)
|
|
46115
46139
|
), me(
|
|
46116
46140
|
a.querySelector(".ag-column-select-checkbox input[type=checkbox]"),
|
|
46117
|
-
|
|
46141
|
+
de.columnChooserListItemCheckbox(l)
|
|
46118
46142
|
), me(
|
|
46119
46143
|
a.querySelector(".ag-drag-handle"),
|
|
46120
|
-
|
|
46144
|
+
de.columnChooserListItemDragHandle(l)
|
|
46121
46145
|
);
|
|
46122
46146
|
});
|
|
46123
46147
|
});
|
|
46124
|
-
}), me(e.querySelector(".ag-overlay-wrapper"),
|
|
46148
|
+
}), me(e.querySelector(".ag-overlay-wrapper"), de.overlay());
|
|
46125
46149
|
const n = e.querySelector(".ag-column-drop-wrapper");
|
|
46126
46150
|
n && this.setupColumnDropArea(n, "panel");
|
|
46127
46151
|
}
|
|
@@ -46129,44 +46153,44 @@ var xO = class extends z {
|
|
|
46129
46153
|
if (!e)
|
|
46130
46154
|
return;
|
|
46131
46155
|
e.querySelectorAll(".ag-filter-select .ag-picker-field-display").forEach((n) => {
|
|
46132
|
-
me(n,
|
|
46156
|
+
me(n, de.filterInstancePickerDisplay(t));
|
|
46133
46157
|
});
|
|
46134
46158
|
const i = t.source === "floating-filter" ? ".ag-floating-filter-body" : ".ag-filter-body";
|
|
46135
46159
|
e.querySelectorAll(`${i} .ag-input-field:not(.ag-hidden) input[type="number"]`).forEach((n, o, r) => {
|
|
46136
46160
|
const l = r.length > 1 ? { ...t, index: o } : t;
|
|
46137
|
-
me(n,
|
|
46161
|
+
me(n, de.numberFilterInstanceInput(l));
|
|
46138
46162
|
}), e.querySelectorAll(`${i} .ag-input-field:not(.ag-hidden) input[type="text"]`).forEach((n, o, r) => {
|
|
46139
46163
|
const l = r.length > 1 ? { ...t, index: o } : t;
|
|
46140
|
-
me(n,
|
|
46164
|
+
me(n, de.textFilterInstanceInput(l));
|
|
46141
46165
|
}), e.querySelectorAll(`${i} .ag-input-field:not(.ag-hidden) input[type="date"]`).forEach((n, o, r) => {
|
|
46142
46166
|
const l = r.length > 1 ? { ...t, index: o } : t;
|
|
46143
|
-
me(n,
|
|
46167
|
+
me(n, de.dateFilterInstanceInput(l));
|
|
46144
46168
|
});
|
|
46145
46169
|
const s = e.querySelector('.ag-mini-filter input[type="text"]');
|
|
46146
|
-
me(s,
|
|
46170
|
+
me(s, de.setFilterInstanceMiniFilterInput(t)), e.querySelectorAll(".ag-set-filter-list .ag-set-filter-item").forEach((n) => {
|
|
46147
46171
|
const o = n.querySelector(".ag-checkbox-label")?.textContent, r = n.querySelector('input[type="checkbox"]');
|
|
46148
|
-
me(r,
|
|
46172
|
+
me(r, de.setFilterInstanceItem(t, o));
|
|
46149
46173
|
}), e.querySelectorAll(".ag-filter-apply-panel button").forEach((n) => {
|
|
46150
|
-
me(n,
|
|
46174
|
+
me(n, de.setFilterApplyPanelButton(t, n.textContent));
|
|
46151
46175
|
}), e.querySelectorAll(".ag-filter-condition .ag-radio-button").forEach((n) => {
|
|
46152
46176
|
const o = n.querySelector(".ag-radio-button-label")?.textContent;
|
|
46153
46177
|
me(
|
|
46154
46178
|
n.querySelector("input[type=radio]"),
|
|
46155
|
-
|
|
46179
|
+
de.filterConditionRadioButton(t, o)
|
|
46156
46180
|
);
|
|
46157
46181
|
});
|
|
46158
46182
|
}
|
|
46159
46183
|
setupColumnDropArea(e, t) {
|
|
46160
46184
|
e.querySelectorAll(".ag-column-drop").forEach((i) => {
|
|
46161
46185
|
const s = i.querySelector(".ag-column-drop-list")?.getAttribute("aria-label");
|
|
46162
|
-
me(i,
|
|
46186
|
+
me(i, de.columnDropArea(t, s)), i.querySelectorAll(".ag-column-drop-cell").forEach((n) => {
|
|
46163
46187
|
const o = n.querySelector(".ag-column-drop-cell-text")?.textContent;
|
|
46164
46188
|
me(
|
|
46165
46189
|
n.querySelector(".ag-drag-handle"),
|
|
46166
|
-
|
|
46190
|
+
de.columnDropCellDragHandle(t, s, o)
|
|
46167
46191
|
), me(
|
|
46168
46192
|
n.querySelector(".ag-column-drop-cell-button .ag-icon-cancel"),
|
|
46169
|
-
|
|
46193
|
+
de.columnDropCellCancelButton(t, s, o)
|
|
46170
46194
|
);
|
|
46171
46195
|
});
|
|
46172
46196
|
});
|
|
@@ -46840,9 +46864,9 @@ var $O = 1e3, qO = class {
|
|
|
46840
46864
|
y.current = j;
|
|
46841
46865
|
});
|
|
46842
46866
|
const I = {
|
|
46843
|
-
toggleCss: (j, Y) => r((
|
|
46867
|
+
toggleCss: (j, Y) => r((re) => re.setClass(j, Y)),
|
|
46844
46868
|
setUserStyles: (j) => n(j),
|
|
46845
|
-
addOrRemoveBodyCssClass: (j, Y) => l((
|
|
46869
|
+
addOrRemoveBodyCssClass: (j, Y) => l((re) => re.setClass(j, Y)),
|
|
46846
46870
|
setButtonWrapperDisplayed: (j) => {
|
|
46847
46871
|
d((Y) => Y.setClass("ag-hidden", !j)), h(j ? "false" : "true");
|
|
46848
46872
|
},
|
|
@@ -47212,7 +47236,7 @@ var $O = 1e3, qO = class {
|
|
|
47212
47236
|
() => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
|
|
47213
47237
|
), [d, u] = M(), [h, p] = M(1), [f, m] = M(), [v, C] = M(!1), [w, b] = M(!1), [x, y] = M(!1), R = G(null), [S, F] = M(), E = V(() => e.isForceWrapper(), [e]), T = V(() => e.getCellAriaRole(), [e]), P = G(null), A = G(null), H = G(null), Z = G(), O = G(), B = G(), W = G([]), $ = G(), ne = G(), [k, I] = M(0), j = D((ue) => {
|
|
47214
47238
|
ne.current = ue, I((Ie) => Ie + 1);
|
|
47215
|
-
}, []), Y = l != null && (v || x || w) && (d == null || !!d.popup),
|
|
47239
|
+
}, []), Y = l != null && (v || x || w) && (d == null || !!d.popup), re = E || Y, xe = V(() => e.getCellValueClass(), [e]), N = D(
|
|
47216
47240
|
(ue) => {
|
|
47217
47241
|
if (O.current = ue, ue) {
|
|
47218
47242
|
const Ie = ue.isCancelBeforeStart && ue.isCancelBeforeStart();
|
|
@@ -47222,12 +47246,12 @@ var $O = 1e3, qO = class {
|
|
|
47222
47246
|
}
|
|
47223
47247
|
},
|
|
47224
47248
|
[e]
|
|
47225
|
-
),
|
|
47226
|
-
|
|
47249
|
+
), ce = G();
|
|
47250
|
+
ce.current || (ce.current = new Ur(() => P.current));
|
|
47227
47251
|
const Oe = !!d && !d.popup;
|
|
47228
47252
|
hb(
|
|
47229
47253
|
l,
|
|
47230
|
-
|
|
47254
|
+
re,
|
|
47231
47255
|
ne.current,
|
|
47232
47256
|
k,
|
|
47233
47257
|
Z,
|
|
@@ -47286,7 +47310,7 @@ var $O = 1e3, qO = class {
|
|
|
47286
47310
|
}
|
|
47287
47311
|
a.current = n.createBean(new Ao());
|
|
47288
47312
|
const ke = {
|
|
47289
|
-
toggleCss: (ye, Ne) =>
|
|
47313
|
+
toggleCss: (ye, Ne) => ce.current.toggleCss(ye, Ne),
|
|
47290
47314
|
setUserStyles: (ye) => m(ye),
|
|
47291
47315
|
getFocusableElement: () => P.current,
|
|
47292
47316
|
setIncludeSelection: (ye) => C(ye),
|
|
@@ -47337,8 +47361,8 @@ var $O = 1e3, qO = class {
|
|
|
47337
47361
|
refreshEditStyles: (ye, Ne) => {
|
|
47338
47362
|
if (!P.current)
|
|
47339
47363
|
return;
|
|
47340
|
-
const { current: We } =
|
|
47341
|
-
We.toggleCss("ag-cell-value", !
|
|
47364
|
+
const { current: We } = ce;
|
|
47365
|
+
We.toggleCss("ag-cell-value", !re), We.toggleCss("ag-cell-inline-editing", !!ye && !Ne), We.toggleCss("ag-cell-popup-editing", !!ye && !!Ne), We.toggleCss("ag-cell-not-inline-editing", !ye || !!Ne);
|
|
47342
47366
|
}
|
|
47343
47367
|
}, Ae = B.current || void 0;
|
|
47344
47368
|
e.setComp(
|
|
@@ -47358,8 +47382,8 @@ var $O = 1e3, qO = class {
|
|
|
47358
47382
|
hi(() => {
|
|
47359
47383
|
if (!P.current)
|
|
47360
47384
|
return;
|
|
47361
|
-
const { current: ue } =
|
|
47362
|
-
ue.toggleCss("ag-cell-value", !
|
|
47385
|
+
const { current: ue } = ce;
|
|
47386
|
+
ue.toggleCss("ag-cell-value", !re), ue.toggleCss("ag-cell-inline-editing", !!d && !d.popup), ue.toggleCss("ag-cell-popup-editing", !!d && !!d.popup), ue.toggleCss("ag-cell-not-inline-editing", !d || !!d.popup);
|
|
47363
47387
|
});
|
|
47364
47388
|
const ve = () => {
|
|
47365
47389
|
const { compDetails: ue, value: Ie } = l;
|
|
@@ -47370,9 +47394,9 @@ var $O = 1e3, qO = class {
|
|
|
47370
47394
|
return /* @__PURE__ */ Q.createElement(y0, { fallback: /* @__PURE__ */ Q.createElement(fN, { cellCtrl: e, parent: P }) }, he ? /* @__PURE__ */ Q.createElement(ke, { ...ue.params, key: h }) : /* @__PURE__ */ Q.createElement(ke, { ...ue.params, key: h, ref: H }));
|
|
47371
47395
|
}
|
|
47372
47396
|
}, Te = () => {
|
|
47373
|
-
const ue = () => l == null ? null :
|
|
47397
|
+
const ue = () => l == null ? null : re ? /* @__PURE__ */ Q.createElement("span", { role: "presentation", id: `cell-${r}`, className: xe, ref: j }, ve()) : ve(), Ie = (ke) => pN(ke, N, P.current, e, S);
|
|
47374
47398
|
return d != null ? d.popup ? /* @__PURE__ */ Q.createElement(Q.Fragment, null, ue(), Ie(d)) : Ie(d) : ue();
|
|
47375
|
-
}, De = () => /* @__PURE__ */ Q.createElement("div", { ref: fe, style: f, role: T, "col-id": o },
|
|
47399
|
+
}, De = () => /* @__PURE__ */ Q.createElement("div", { ref: fe, style: f, role: T, "col-id": o }, re ? /* @__PURE__ */ Q.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: ae }, Te()) : Te());
|
|
47376
47400
|
return e.isCellSpanning() ? /* @__PURE__ */ Q.createElement("div", { ref: _, className: "ag-spanned-cell-wrapper", role: "presentation" }, De()) : De();
|
|
47377
47401
|
}, vN = kt(mN), CN = ({ rowCtrl: e, containerType: t }) => {
|
|
47378
47402
|
const { context: i, gos: s, editSvc: n } = rt(At), o = rt(rb) === "default", r = G(), a = G(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = M(
|
|
@@ -47431,7 +47455,7 @@ var $O = 1e3, qO = class {
|
|
|
47431
47455
|
getFullWidthCellRendererParams: () => H.current,
|
|
47432
47456
|
refreshFullWidth: (fe) => {
|
|
47433
47457
|
const _ = fe();
|
|
47434
|
-
return H.current = _,
|
|
47458
|
+
return H.current = _, ce.current ? (R((he) => ({
|
|
47435
47459
|
...he,
|
|
47436
47460
|
params: _
|
|
47437
47461
|
})), !0) : !A.current || !A.current.refresh ? !1 : A.current.refresh(_);
|
|
@@ -47446,9 +47470,9 @@ var $O = 1e3, qO = class {
|
|
|
47446
47470
|
const Y = V(() => {
|
|
47447
47471
|
const ae = { top: S, transform: E };
|
|
47448
47472
|
return Object.assign(ae, v), ae;
|
|
47449
|
-
}, [S, E, v]),
|
|
47473
|
+
}, [S, E, v]), re = l && y?.componentFromFramework, xe = !l && I != null, N = V(() => !!(y?.componentFromFramework && Lo(y.componentClass)), [y]), ce = G(!1);
|
|
47450
47474
|
be(() => {
|
|
47451
|
-
|
|
47475
|
+
ce.current = N && !!y && !!s.get("reactiveCustomComponents");
|
|
47452
47476
|
}, [N, y]);
|
|
47453
47477
|
const Oe = () => I?.map((ae) => /* @__PURE__ */ Q.createElement(
|
|
47454
47478
|
vN,
|
|
@@ -47472,7 +47496,7 @@ var $O = 1e3, qO = class {
|
|
|
47472
47496
|
"row-id": h,
|
|
47473
47497
|
"row-business-key": f
|
|
47474
47498
|
},
|
|
47475
|
-
xe ? Oe() :
|
|
47499
|
+
xe ? Oe() : re ? J() : null
|
|
47476
47500
|
);
|
|
47477
47501
|
}, Um = kt(CN), wN = ({ name: e }) => {
|
|
47478
47502
|
const { context: t, gos: i } = rt(At), s = V(() => Yr(e), [e]), n = G(null), o = G(null), r = G(null), a = G([]), l = G([]), [c, d] = M(() => []), u = !!i.get("enableCellSpan") && !!s.getSpannedRowCtrls, h = G([]), p = G([]), [f, m] = M(() => []), v = G(!1), C = G(), w = V(() => ni("ag-viewport", fw(e)), [e]), b = V(() => ni(mw(e)), [e]), x = V(() => ni("ag-spanning-container", XE(e)), [e]), y = s.type === "center" || u, R = y ? n : o;
|
|
@@ -47559,9 +47583,9 @@ var $O = 1e3, qO = class {
|
|
|
47559
47583
|
}, bN = kt(wN), xN = () => {
|
|
47560
47584
|
const e = rt(At), { context: t, overlays: i } = e, [s, n] = M(""), [o, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [p, f] = M("100%"), [m, v] = M("0px"), [C, w] = M("0px"), [b, x] = M("100%"), [y, R] = M(!0), [S, F] = M(!0), [E, T] = M(null), [P, A] = M(""), [H, Z] = M(null), [O, B] = M("ag-layout-normal"), W = G();
|
|
47561
47585
|
W.current || (W.current = new Ur(() => $.current));
|
|
47562
|
-
const $ = G(null), ne = G(null), k = G(null), I = G(null), j = G(null), Y = G(null),
|
|
47563
|
-
Xs(" AG Grid Body ", $), Xs(" AG Pinned Top ", ne), Xs(" AG Sticky Top ", k), Xs(" AG Middle ", Y), Xs(" AG Pinned Bottom ",
|
|
47564
|
-
const
|
|
47586
|
+
const $ = G(null), ne = G(null), k = G(null), I = G(null), j = G(null), Y = G(null), re = G(null), xe = G([]), N = G([]);
|
|
47587
|
+
Xs(" AG Grid Body ", $), Xs(" AG Pinned Top ", ne), Xs(" AG Sticky Top ", k), Xs(" AG Middle ", Y), Xs(" AG Pinned Bottom ", re);
|
|
47588
|
+
const ce = D((Ae) => {
|
|
47565
47589
|
if ($.current = Ae, !Ae || t.isDestroyed()) {
|
|
47566
47590
|
xe.current = t.destroyBeans(xe.current);
|
|
47567
47591
|
for (const U of N.current)
|
|
@@ -47619,7 +47643,7 @@ var $O = 1e3, qO = class {
|
|
|
47619
47643
|
Ae,
|
|
47620
47644
|
Y.current,
|
|
47621
47645
|
ne.current,
|
|
47622
|
-
|
|
47646
|
+
re.current,
|
|
47623
47647
|
k.current,
|
|
47624
47648
|
I.current
|
|
47625
47649
|
);
|
|
@@ -47675,7 +47699,7 @@ var $O = 1e3, qO = class {
|
|
|
47675
47699
|
className: Ne,
|
|
47676
47700
|
style: We
|
|
47677
47701
|
}) => /* @__PURE__ */ Q.createElement("div", { ref: Ae, className: Ne, role: "presentation", style: We }, ye.map(Ie));
|
|
47678
|
-
return /* @__PURE__ */ Q.createElement("div", { ref:
|
|
47702
|
+
return /* @__PURE__ */ Q.createElement("div", { ref: ce, className: Oe }, /* @__PURE__ */ Q.createElement(aN, null), ke({
|
|
47679
47703
|
section: ne,
|
|
47680
47704
|
className: q,
|
|
47681
47705
|
style: ve,
|
|
@@ -47695,7 +47719,7 @@ var $O = 1e3, qO = class {
|
|
|
47695
47719
|
style: De,
|
|
47696
47720
|
children: ["stickyBottomLeft", "stickyBottomCenter", "stickyBottomRight", "stickyBottomFullWidth"]
|
|
47697
47721
|
}), ke({
|
|
47698
|
-
section:
|
|
47722
|
+
section: re,
|
|
47699
47723
|
className: he,
|
|
47700
47724
|
style: ue,
|
|
47701
47725
|
children: ["bottomLeft", "bottomCenter", "bottomRight", "bottomFullWidth"]
|
|
@@ -47822,12 +47846,12 @@ var $O = 1e3, qO = class {
|
|
|
47822
47846
|
H.insertAdjacentElement("afterbegin", Y), k.push(Y), Z.push(j), x.current.push(...j.getFocusableContainers?.() ?? []);
|
|
47823
47847
|
}
|
|
47824
47848
|
if (W) {
|
|
47825
|
-
const j = e.createBean(new W.component()), Y = j.getGui(),
|
|
47826
|
-
|
|
47849
|
+
const j = e.createBean(new W.component()), Y = j.getGui(), re = v.querySelector(".ag-tab-guard-bottom");
|
|
47850
|
+
re && (re.insertAdjacentElement("beforebegin", Y), k.push(Y)), Z.push(j), x.current.push(j);
|
|
47827
47851
|
}
|
|
47828
47852
|
const I = (j) => {
|
|
47829
|
-
const Y = e.createBean(new j()),
|
|
47830
|
-
return H.insertAdjacentElement("beforeend",
|
|
47853
|
+
const Y = e.createBean(new j()), re = Y.getGui();
|
|
47854
|
+
return H.insertAdjacentElement("beforeend", re), k.push(re), Z.push(Y), Y;
|
|
47831
47855
|
};
|
|
47832
47856
|
if ($) {
|
|
47833
47857
|
const j = I($.component);
|
|
@@ -48181,12 +48205,12 @@ var AN = class extends RO {
|
|
|
48181
48205
|
return /* @__PURE__ */ Q.createElement(fb, { ...this.props, passGridApi: this.setGridApi });
|
|
48182
48206
|
}
|
|
48183
48207
|
}, HN = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(HN || {}), ci = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(ci || {}), Hr = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e.PlainText = "plainText", e))(Hr || {});
|
|
48184
|
-
const GN =
|
|
48208
|
+
const GN = le(
|
|
48185
48209
|
"flex items-center gap-2 align-middle",
|
|
48186
48210
|
"h-auto px-0 bg-transparent border-0"
|
|
48187
|
-
), BN =
|
|
48211
|
+
), BN = le(
|
|
48188
48212
|
"z-[53] overflow-auto rounded bg-layer-0 text-primary shadow focus-visible:outline-none"
|
|
48189
|
-
), ph =
|
|
48213
|
+
), ph = le(
|
|
48190
48214
|
"flex w-full cursor-pointer items-center gap-3",
|
|
48191
48215
|
"focus-visible:border-none focus-visible:outline-none",
|
|
48192
48216
|
"hover:bg-accent-primary-alpha px-3",
|
|
@@ -48201,7 +48225,7 @@ const GN = de(
|
|
|
48201
48225
|
Sn,
|
|
48202
48226
|
{
|
|
48203
48227
|
"aria-label": e,
|
|
48204
|
-
className:
|
|
48228
|
+
className: oe(
|
|
48205
48229
|
"text-secondary hover:enabled:text-accent-primary",
|
|
48206
48230
|
t,
|
|
48207
48231
|
"w-auto h-auto"
|
|
@@ -48262,7 +48286,7 @@ const wb = ({
|
|
|
48262
48286
|
ref: e.setFloating,
|
|
48263
48287
|
style: t,
|
|
48264
48288
|
role: n,
|
|
48265
|
-
className:
|
|
48289
|
+
className: le(
|
|
48266
48290
|
"z-[53] overflow-auto rounded bg-layer-0 text-primary shadow focus-visible:outline-none",
|
|
48267
48291
|
o
|
|
48268
48292
|
),
|
|
@@ -48299,18 +48323,18 @@ const wb = ({
|
|
|
48299
48323
|
"aria-expanded": i,
|
|
48300
48324
|
"aria-disabled": !!e.disabled,
|
|
48301
48325
|
disabled: e.disabled,
|
|
48302
|
-
className:
|
|
48326
|
+
className: le(
|
|
48303
48327
|
ph,
|
|
48304
48328
|
e.disabled && gh,
|
|
48305
48329
|
e.className
|
|
48306
48330
|
),
|
|
48307
48331
|
...r(),
|
|
48308
48332
|
children: [
|
|
48309
|
-
e.icon && /* @__PURE__ */ g.jsx("span", { className:
|
|
48333
|
+
e.icon && /* @__PURE__ */ g.jsx("span", { className: le(e.disabled && "text-secondary"), children: /* @__PURE__ */ g.jsx(Ue, { icon: e.icon }) }),
|
|
48310
48334
|
/* @__PURE__ */ g.jsx(
|
|
48311
48335
|
"span",
|
|
48312
48336
|
{
|
|
48313
|
-
className:
|
|
48337
|
+
className: le(
|
|
48314
48338
|
"flex-1 truncate text-left",
|
|
48315
48339
|
e.disabled && "text-secondary"
|
|
48316
48340
|
),
|
|
@@ -48320,7 +48344,7 @@ const wb = ({
|
|
|
48320
48344
|
/* @__PURE__ */ g.jsx(
|
|
48321
48345
|
"span",
|
|
48322
48346
|
{
|
|
48323
|
-
className:
|
|
48347
|
+
className: le(
|
|
48324
48348
|
"ml-auto shrink-0",
|
|
48325
48349
|
e.disabled && "text-secondary"
|
|
48326
48350
|
),
|
|
@@ -48346,7 +48370,7 @@ const wb = ({
|
|
|
48346
48370
|
type: "button",
|
|
48347
48371
|
"aria-disabled": !!c.disabled,
|
|
48348
48372
|
disabled: c.disabled,
|
|
48349
|
-
className:
|
|
48373
|
+
className: le(
|
|
48350
48374
|
ph,
|
|
48351
48375
|
c.disabled && gh,
|
|
48352
48376
|
c.danger && mb,
|
|
@@ -48357,7 +48381,7 @@ const wb = ({
|
|
|
48357
48381
|
c.icon && /* @__PURE__ */ g.jsx(
|
|
48358
48382
|
"span",
|
|
48359
48383
|
{
|
|
48360
|
-
className:
|
|
48384
|
+
className: le(
|
|
48361
48385
|
c.danger && "text-error",
|
|
48362
48386
|
c.disabled && "text-secondary"
|
|
48363
48387
|
),
|
|
@@ -48367,7 +48391,7 @@ const wb = ({
|
|
|
48367
48391
|
/* @__PURE__ */ g.jsx(
|
|
48368
48392
|
"span",
|
|
48369
48393
|
{
|
|
48370
|
-
className:
|
|
48394
|
+
className: le(
|
|
48371
48395
|
"flex-1 truncate text-left",
|
|
48372
48396
|
c.danger && "text-error",
|
|
48373
48397
|
c.disabled && "text-secondary"
|
|
@@ -48424,16 +48448,16 @@ const wb = ({
|
|
|
48424
48448
|
Ah({ padding: Yn }),
|
|
48425
48449
|
mx({
|
|
48426
48450
|
padding: Yn,
|
|
48427
|
-
apply({ availableWidth: N, availableHeight:
|
|
48451
|
+
apply({ availableWidth: N, availableHeight: ce, elements: Oe }) {
|
|
48428
48452
|
const J = Oe.floating, ae = jN(Oe.reference);
|
|
48429
48453
|
J.style.setProperty(
|
|
48430
48454
|
"--fui-available-height",
|
|
48431
|
-
`${Math.floor(
|
|
48455
|
+
`${Math.floor(ce)}px`
|
|
48432
48456
|
), J.style.setProperty(
|
|
48433
48457
|
"--reference-width",
|
|
48434
48458
|
C ? `${Math.round(ae)}px` : "0px"
|
|
48435
48459
|
), C ? J.style.minWidth = `${Math.round(ae)}px` : J.style.removeProperty("min-width"), J.style.maxWidth = `${Math.floor(N)}px`;
|
|
48436
|
-
const q = Math.floor(
|
|
48460
|
+
const q = Math.floor(ce);
|
|
48437
48461
|
J.style.maxHeight = `${w ? Math.min(q, w) : q}px`;
|
|
48438
48462
|
}
|
|
48439
48463
|
})
|
|
@@ -48450,8 +48474,8 @@ const wb = ({
|
|
|
48450
48474
|
referencePress: !1,
|
|
48451
48475
|
outsidePress: (N) => {
|
|
48452
48476
|
if (!f) return !1;
|
|
48453
|
-
const
|
|
48454
|
-
return !(p?.current &&
|
|
48477
|
+
const ce = N.target;
|
|
48478
|
+
return !(p?.current && ce instanceof Node && p.current.contains(ce));
|
|
48455
48479
|
}
|
|
48456
48480
|
}), W = oc(H, { role: "menu" }), { getReferenceProps: $, getFloatingProps: ne } = rc([
|
|
48457
48481
|
Z,
|
|
@@ -48459,17 +48483,17 @@ const wb = ({
|
|
|
48459
48483
|
B,
|
|
48460
48484
|
W
|
|
48461
48485
|
]), k = D(
|
|
48462
|
-
(N,
|
|
48486
|
+
(N, ce) => {
|
|
48463
48487
|
P.setPositionReference({
|
|
48464
48488
|
getBoundingClientRect: () => ({
|
|
48465
48489
|
width: 0,
|
|
48466
48490
|
height: 0,
|
|
48467
48491
|
x: N,
|
|
48468
|
-
y:
|
|
48469
|
-
top:
|
|
48492
|
+
y: ce,
|
|
48493
|
+
top: ce,
|
|
48470
48494
|
left: N,
|
|
48471
48495
|
right: N,
|
|
48472
|
-
bottom:
|
|
48496
|
+
bottom: ce
|
|
48473
48497
|
})
|
|
48474
48498
|
});
|
|
48475
48499
|
},
|
|
@@ -48495,11 +48519,11 @@ const wb = ({
|
|
|
48495
48519
|
o && R && F(!1);
|
|
48496
48520
|
}, [o, R, F]);
|
|
48497
48521
|
const Y = D(
|
|
48498
|
-
(N) => (
|
|
48499
|
-
N.disabled || (N.onClick?.({ key: N.key, domEvent:
|
|
48522
|
+
(N) => (ce) => {
|
|
48523
|
+
N.disabled || (N.onClick?.({ key: N.key, domEvent: ce }), t?.onClick?.({ key: N.key, domEvent: ce }), F(!1));
|
|
48500
48524
|
},
|
|
48501
48525
|
[t, F]
|
|
48502
|
-
),
|
|
48526
|
+
), re = V(() => i ? i() : t ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
48503
48527
|
t.header && /* @__PURE__ */ g.jsx(g.Fragment, { children: typeof t.header == "function" ? t.header() : t.header }),
|
|
48504
48528
|
/* @__PURE__ */ g.jsx("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((N) => N.type === Hr.Divider ? /* @__PURE__ */ g.jsx(
|
|
48505
48529
|
"div",
|
|
@@ -48511,7 +48535,7 @@ const wb = ({
|
|
|
48511
48535
|
) : N.type === Hr.PlainText ? /* @__PURE__ */ g.jsx(
|
|
48512
48536
|
"div",
|
|
48513
48537
|
{
|
|
48514
|
-
className:
|
|
48538
|
+
className: oe(
|
|
48515
48539
|
"px-3 py-2 text-secondary dial-caption",
|
|
48516
48540
|
N.className
|
|
48517
48541
|
),
|
|
@@ -48531,7 +48555,7 @@ const wb = ({
|
|
|
48531
48555
|
role: "menuitem",
|
|
48532
48556
|
type: "button",
|
|
48533
48557
|
"aria-disabled": !!N.disabled,
|
|
48534
|
-
className:
|
|
48558
|
+
className: le(
|
|
48535
48559
|
ph,
|
|
48536
48560
|
N.disabled && gh,
|
|
48537
48561
|
N.danger && mb,
|
|
@@ -48543,7 +48567,7 @@ const wb = ({
|
|
|
48543
48567
|
N.icon && /* @__PURE__ */ g.jsx(
|
|
48544
48568
|
"span",
|
|
48545
48569
|
{
|
|
48546
|
-
className:
|
|
48570
|
+
className: le(
|
|
48547
48571
|
N.danger && "text-error",
|
|
48548
48572
|
N.disabled && "text-secondary"
|
|
48549
48573
|
),
|
|
@@ -48553,7 +48577,7 @@ const wb = ({
|
|
|
48553
48577
|
/* @__PURE__ */ g.jsx(
|
|
48554
48578
|
"span",
|
|
48555
48579
|
{
|
|
48556
|
-
className:
|
|
48580
|
+
className: le(
|
|
48557
48581
|
"flex-1 truncate text-left",
|
|
48558
48582
|
N.danger && "text-error",
|
|
48559
48583
|
N.disabled && "text-secondary"
|
|
@@ -48574,21 +48598,21 @@ const wb = ({
|
|
|
48574
48598
|
return be(() => {
|
|
48575
48599
|
if (!R) return;
|
|
48576
48600
|
const N = P.reference.current;
|
|
48577
|
-
let
|
|
48578
|
-
if (N instanceof Element ?
|
|
48601
|
+
let ce = null;
|
|
48602
|
+
if (N instanceof Element ? ce = N : S.current instanceof Element && (ce = S.current), !ce) return;
|
|
48579
48603
|
const Oe = new IntersectionObserver(
|
|
48580
48604
|
([J]) => {
|
|
48581
48605
|
J.isIntersecting || F(!1);
|
|
48582
48606
|
},
|
|
48583
48607
|
{ root: null, threshold: 0 }
|
|
48584
48608
|
);
|
|
48585
|
-
return Oe.observe(
|
|
48609
|
+
return Oe.observe(ce), () => Oe.disconnect();
|
|
48586
48610
|
}, [R, P.reference, F]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
48587
48611
|
/* @__PURE__ */ g.jsx(
|
|
48588
48612
|
"span",
|
|
48589
48613
|
{
|
|
48590
48614
|
ref: P.setReference,
|
|
48591
|
-
className:
|
|
48615
|
+
className: le(
|
|
48592
48616
|
GN,
|
|
48593
48617
|
o && "!cursor-not-allowed opacity-75",
|
|
48594
48618
|
u
|
|
@@ -48613,7 +48637,7 @@ const wb = ({
|
|
|
48613
48637
|
id: E,
|
|
48614
48638
|
ref: P.setFloating,
|
|
48615
48639
|
style: A,
|
|
48616
|
-
className:
|
|
48640
|
+
className: le(
|
|
48617
48641
|
BN,
|
|
48618
48642
|
!C && "w-max",
|
|
48619
48643
|
h
|
|
@@ -48629,7 +48653,7 @@ const wb = ({
|
|
|
48629
48653
|
}
|
|
48630
48654
|
}
|
|
48631
48655
|
) }),
|
|
48632
|
-
|
|
48656
|
+
re
|
|
48633
48657
|
]
|
|
48634
48658
|
}
|
|
48635
48659
|
)
|
|
@@ -48854,7 +48878,7 @@ const Sb = ({
|
|
|
48854
48878
|
menu: { items: Te },
|
|
48855
48879
|
anchorToMouse: !0,
|
|
48856
48880
|
matchReferenceWidth: !0,
|
|
48857
|
-
className:
|
|
48881
|
+
className: le(
|
|
48858
48882
|
"w-full h-full",
|
|
48859
48883
|
Ie && "!cursor-not-allowed opacity-75"
|
|
48860
48884
|
),
|
|
@@ -48872,7 +48896,7 @@ const Sb = ({
|
|
|
48872
48896
|
r,
|
|
48873
48897
|
x
|
|
48874
48898
|
]
|
|
48875
|
-
),
|
|
48899
|
+
), re = V(
|
|
48876
48900
|
() => r ? (e ?? []).map(Y) : e ?? [],
|
|
48877
48901
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48878
48902
|
[
|
|
@@ -48898,7 +48922,7 @@ const Sb = ({
|
|
|
48898
48922
|
), N = (q) => {
|
|
48899
48923
|
const fe = document.querySelector($m);
|
|
48900
48924
|
fe && fe.setAttribute("aria-description", bu);
|
|
48901
|
-
const _ =
|
|
48925
|
+
const _ = re.map((he) => ({
|
|
48902
48926
|
...he,
|
|
48903
48927
|
sort: void 0
|
|
48904
48928
|
}));
|
|
@@ -48907,7 +48931,7 @@ const Sb = ({
|
|
|
48907
48931
|
be(() => {
|
|
48908
48932
|
R && t && R.setGridOption("rowData", t);
|
|
48909
48933
|
}, [R, t]);
|
|
48910
|
-
const
|
|
48934
|
+
const ce = D(
|
|
48911
48935
|
() => /* @__PURE__ */ g.jsx(
|
|
48912
48936
|
uc,
|
|
48913
48937
|
{
|
|
@@ -48969,7 +48993,7 @@ const Sb = ({
|
|
|
48969
48993
|
}, [R, B, l]), /* @__PURE__ */ g.jsx(
|
|
48970
48994
|
"div",
|
|
48971
48995
|
{
|
|
48972
|
-
className:
|
|
48996
|
+
className: le(
|
|
48973
48997
|
_N,
|
|
48974
48998
|
n,
|
|
48975
48999
|
y && "with-selection-column",
|
|
@@ -48993,7 +49017,7 @@ const Sb = ({
|
|
|
48993
49017
|
cellSelection: !1,
|
|
48994
49018
|
theme: x6.withPart(X4).withParams({ ...H }),
|
|
48995
49019
|
autoSizeStrategy: { type: "fitGridWidth" },
|
|
48996
|
-
columnDefs:
|
|
49020
|
+
columnDefs: re,
|
|
48997
49021
|
defaultColDef: xe,
|
|
48998
49022
|
selectionColumnDef: j,
|
|
48999
49023
|
onGridSizeChanged: Z,
|
|
@@ -49001,7 +49025,7 @@ const Sb = ({
|
|
|
49001
49025
|
loading: C,
|
|
49002
49026
|
suppressCellFocus: !0,
|
|
49003
49027
|
suppressDragLeaveHidesColumns: !0,
|
|
49004
|
-
noRowsOverlayComponent:
|
|
49028
|
+
noRowsOverlayComponent: ce,
|
|
49005
49029
|
rowData: t,
|
|
49006
49030
|
rowSelection: Oe,
|
|
49007
49031
|
onSelectionChanged: $,
|
|
@@ -49026,10 +49050,10 @@ const Ka = ({
|
|
|
49026
49050
|
horizontal: n,
|
|
49027
49051
|
onClick: o
|
|
49028
49052
|
}) => {
|
|
49029
|
-
const r =
|
|
49053
|
+
const r = oe(
|
|
49030
49054
|
"rounded h-[38px] items-center flex flex-row border-transparent cursor-pointer dial-small-text hover:text-accent-primary",
|
|
49031
49055
|
{ "border-b-2 px-4": n, "border-l-2 px-3": !n }
|
|
49032
|
-
), a =
|
|
49056
|
+
), a = oe(
|
|
49033
49057
|
r,
|
|
49034
49058
|
{
|
|
49035
49059
|
"bg-layer-4": n,
|
|
@@ -49081,7 +49105,7 @@ const Ka = ({
|
|
|
49081
49105
|
desktopTabClassName: l
|
|
49082
49106
|
}) => {
|
|
49083
49107
|
const [c, d] = M(!1), [u, h] = M(!1), [p, f] = M(!1), m = XN(), v = m === Rs.Mobile || n === Ql.Tablet && m === Rs.Tablet, C = s === fh.Horizontal, w = G(null), b = G(null), x = G(null), y = e.find((T) => T.id === t), R = V(
|
|
49084
|
-
() =>
|
|
49108
|
+
() => le(
|
|
49085
49109
|
"flex gap-2",
|
|
49086
49110
|
C ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
|
|
49087
49111
|
),
|
|
@@ -49126,7 +49150,7 @@ const Ka = ({
|
|
|
49126
49150
|
"div",
|
|
49127
49151
|
{
|
|
49128
49152
|
role: "tablist",
|
|
49129
|
-
className:
|
|
49153
|
+
className: oe(
|
|
49130
49154
|
"h-11 flex items-center bg-layer-3 px-4",
|
|
49131
49155
|
o
|
|
49132
49156
|
),
|
|
@@ -49146,7 +49170,7 @@ const Ka = ({
|
|
|
49146
49170
|
onClick: (P) => {
|
|
49147
49171
|
E(P), d(!1);
|
|
49148
49172
|
},
|
|
49149
|
-
className:
|
|
49173
|
+
className: oe(
|
|
49150
49174
|
"w-full rounded-none h-11 items-center px-6",
|
|
49151
49175
|
r
|
|
49152
49176
|
)
|
|
@@ -49168,7 +49192,7 @@ const Ka = ({
|
|
|
49168
49192
|
Ue,
|
|
49169
49193
|
{
|
|
49170
49194
|
icon: /* @__PURE__ */ g.jsx(_r, { size: Ft.SM }),
|
|
49171
|
-
className:
|
|
49195
|
+
className: le(
|
|
49172
49196
|
"text-primary transition-transform",
|
|
49173
49197
|
c && "rotate-180"
|
|
49174
49198
|
)
|
|
@@ -49193,7 +49217,7 @@ const Ka = ({
|
|
|
49193
49217
|
active: t === T.id,
|
|
49194
49218
|
onClick: E,
|
|
49195
49219
|
horizontal: C,
|
|
49196
|
-
className:
|
|
49220
|
+
className: oe("w-full", l)
|
|
49197
49221
|
}
|
|
49198
49222
|
)
|
|
49199
49223
|
},
|
|
@@ -49219,10 +49243,10 @@ const Ka = ({
|
|
|
49219
49243
|
T.id
|
|
49220
49244
|
)),
|
|
49221
49245
|
children: /* @__PURE__ */ g.jsx(
|
|
49222
|
-
|
|
49246
|
+
Ei,
|
|
49223
49247
|
{
|
|
49224
49248
|
iconBefore: /* @__PURE__ */ g.jsx(Do, { size: oi }),
|
|
49225
|
-
className:
|
|
49249
|
+
className: oe(
|
|
49226
49250
|
"w-8 h-8 flex items-center justify-center rounded border",
|
|
49227
49251
|
u ? "bg-layer-4 border-transparent" : "border-primary",
|
|
49228
49252
|
a
|
|
@@ -49252,28 +49276,28 @@ const Ka = ({
|
|
|
49252
49276
|
return;
|
|
49253
49277
|
}
|
|
49254
49278
|
i && i(v);
|
|
49255
|
-
}, h =
|
|
49279
|
+
}, h = oe(
|
|
49256
49280
|
Rb,
|
|
49257
49281
|
n ? sH : iH,
|
|
49258
49282
|
r
|
|
49259
|
-
), p = (!!t || !!i) && !n && !s, f = p ?
|
|
49283
|
+
), p = (!!t || !!i) && !n && !s, f = p ? oe(
|
|
49260
49284
|
Zm,
|
|
49261
49285
|
nH
|
|
49262
|
-
) :
|
|
49286
|
+
) : oe(
|
|
49263
49287
|
Zm,
|
|
49264
49288
|
oH,
|
|
49265
49289
|
s ? "pointer-events-none opacity-75" : ""
|
|
49266
49290
|
), m = typeof e == "string" ? /* @__PURE__ */ g.jsx(
|
|
49267
49291
|
bt,
|
|
49268
49292
|
{
|
|
49269
|
-
className:
|
|
49293
|
+
className: oe("cursor-pointer", l),
|
|
49270
49294
|
text: e,
|
|
49271
49295
|
id: "breadcrumb-item-content"
|
|
49272
49296
|
}
|
|
49273
49297
|
) : /* @__PURE__ */ g.jsx(
|
|
49274
49298
|
"span",
|
|
49275
49299
|
{
|
|
49276
|
-
className:
|
|
49300
|
+
className: oe(
|
|
49277
49301
|
"flex-1 min-w-0 truncate cursor-pointer max-w-[300px]",
|
|
49278
49302
|
l
|
|
49279
49303
|
),
|
|
@@ -49361,7 +49385,7 @@ const Ka = ({
|
|
|
49361
49385
|
onBeforeNavigate: r
|
|
49362
49386
|
}
|
|
49363
49387
|
),
|
|
49364
|
-
/* @__PURE__ */ g.jsxs("li", { className:
|
|
49388
|
+
/* @__PURE__ */ g.jsxs("li", { className: oe(Rb), children: [
|
|
49365
49389
|
/* @__PURE__ */ g.jsx(
|
|
49366
49390
|
qt,
|
|
49367
49391
|
{
|
|
@@ -49417,19 +49441,19 @@ const Ka = ({
|
|
|
49417
49441
|
"nav",
|
|
49418
49442
|
{
|
|
49419
49443
|
"aria-label": i,
|
|
49420
|
-
className:
|
|
49444
|
+
className: oe(eH, s),
|
|
49421
49445
|
children: /* @__PURE__ */ g.jsx("ol", { className: tH, children: c })
|
|
49422
49446
|
}
|
|
49423
49447
|
);
|
|
49424
49448
|
}, ug = (e, t) => ({ appearance: s, ...n }) => /* @__PURE__ */ g.jsx(
|
|
49425
|
-
|
|
49449
|
+
Ei,
|
|
49426
49450
|
{
|
|
49427
49451
|
...n,
|
|
49428
49452
|
variant: e,
|
|
49429
49453
|
appearance: s || t
|
|
49430
49454
|
}
|
|
49431
49455
|
), Db = (e, t) => ({ variant: s, ...n }) => /* @__PURE__ */ g.jsx(
|
|
49432
|
-
|
|
49456
|
+
Ei,
|
|
49433
49457
|
{
|
|
49434
49458
|
...n,
|
|
49435
49459
|
variant: s || t,
|
|
@@ -49444,12 +49468,26 @@ const Ka = ({
|
|
|
49444
49468
|
), lH = ug(
|
|
49445
49469
|
Qe.Error,
|
|
49446
49470
|
Ge.Outlined
|
|
49447
|
-
),
|
|
49471
|
+
), uV = Db(
|
|
49448
49472
|
Ge.Link,
|
|
49449
49473
|
Qe.Primary
|
|
49450
49474
|
), Pb = Db(
|
|
49451
49475
|
Ge.Ghost,
|
|
49452
49476
|
Qe.Primary
|
|
49477
|
+
), hV = ({
|
|
49478
|
+
selected: e,
|
|
49479
|
+
className: t,
|
|
49480
|
+
...i
|
|
49481
|
+
}) => /* @__PURE__ */ g.jsx(
|
|
49482
|
+
Ei,
|
|
49483
|
+
{
|
|
49484
|
+
...i,
|
|
49485
|
+
className: oe(
|
|
49486
|
+
"dial-neutral-rounded-button",
|
|
49487
|
+
e && "selected",
|
|
49488
|
+
t
|
|
49489
|
+
)
|
|
49490
|
+
}
|
|
49453
49491
|
), Oo = (e, t) => ({ appearance: s, ...n }) => /* @__PURE__ */ g.jsx(
|
|
49454
49492
|
Sn,
|
|
49455
49493
|
{
|
|
@@ -49464,22 +49502,22 @@ const Ka = ({
|
|
|
49464
49502
|
variant: s || t,
|
|
49465
49503
|
appearance: e
|
|
49466
49504
|
}
|
|
49467
|
-
),
|
|
49505
|
+
), pV = Oo(
|
|
49468
49506
|
Qe.Primary,
|
|
49469
49507
|
Ge.Solid
|
|
49470
|
-
),
|
|
49508
|
+
), gV = Oo(
|
|
49471
49509
|
Qe.Neutral,
|
|
49472
49510
|
Ge.Outlined
|
|
49473
49511
|
), dH = Oo(
|
|
49474
49512
|
Qe.Error,
|
|
49475
49513
|
Ge.Outlined
|
|
49476
|
-
),
|
|
49514
|
+
), fV = Oo(
|
|
49477
49515
|
Qe.Secondary,
|
|
49478
49516
|
Ge.Ghost
|
|
49479
|
-
),
|
|
49517
|
+
), mV = Oo(
|
|
49480
49518
|
Qe.Tertiary,
|
|
49481
49519
|
Ge.Ghost
|
|
49482
|
-
),
|
|
49520
|
+
), vV = Oo(
|
|
49483
49521
|
Qe.Success,
|
|
49484
49522
|
Ge.Ghost
|
|
49485
49523
|
), uH = cH(
|
|
@@ -49504,7 +49542,7 @@ const Ka = ({
|
|
|
49504
49542
|
appearance: Ge.Ghost,
|
|
49505
49543
|
icon: /* @__PURE__ */ g.jsx(mo, { ...se, className: e || "" })
|
|
49506
49544
|
}
|
|
49507
|
-
),
|
|
49545
|
+
), CV = ({
|
|
49508
49546
|
className: e = "",
|
|
49509
49547
|
value: t,
|
|
49510
49548
|
onChange: i,
|
|
@@ -49516,14 +49554,14 @@ const Ka = ({
|
|
|
49516
49554
|
id: l,
|
|
49517
49555
|
...c
|
|
49518
49556
|
}) => {
|
|
49519
|
-
const d =
|
|
49557
|
+
const d = oe(
|
|
49520
49558
|
"dial-textarea dial-input px-3 py-2",
|
|
49521
49559
|
c.invalid && "dial-input-error",
|
|
49522
49560
|
c.disabled && "dial-input-disable",
|
|
49523
49561
|
o ? "resize" : "resize-none",
|
|
49524
49562
|
e
|
|
49525
49563
|
);
|
|
49526
|
-
return /* @__PURE__ */ g.jsxs("div", { className:
|
|
49564
|
+
return /* @__PURE__ */ g.jsxs("div", { className: oe("flex flex-col gap-y-1", n), children: [
|
|
49527
49565
|
r && /* @__PURE__ */ g.jsx(Po, { ...r, htmlFor: l }),
|
|
49528
49566
|
/* @__PURE__ */ g.jsx(
|
|
49529
49567
|
"textarea",
|
|
@@ -49546,7 +49584,7 @@ const Ka = ({
|
|
|
49546
49584
|
onChange: n,
|
|
49547
49585
|
caption: o
|
|
49548
49586
|
}) => {
|
|
49549
|
-
const r =
|
|
49587
|
+
const r = le(
|
|
49550
49588
|
"flex w-[36px] h-[18px] cursor-pointer items-center gap-1 rounded-full p-0.5 transition-all duration-200",
|
|
49551
49589
|
i ? "flex-row-reverse" : "flex-row",
|
|
49552
49590
|
s ? "pointer-events-none" : "",
|
|
@@ -49578,7 +49616,7 @@ const Ka = ({
|
|
|
49578
49616
|
children: /* @__PURE__ */ g.jsx(
|
|
49579
49617
|
"span",
|
|
49580
49618
|
{
|
|
49581
|
-
className:
|
|
49619
|
+
className: le(
|
|
49582
49620
|
"size-3 rounded-full",
|
|
49583
49621
|
s ? "bg-controls-disable-accent" : "bg-controls-enable-primary"
|
|
49584
49622
|
)
|
|
@@ -49590,7 +49628,7 @@ const Ka = ({
|
|
|
49590
49628
|
e && /* @__PURE__ */ g.jsx(
|
|
49591
49629
|
"span",
|
|
49592
49630
|
{
|
|
49593
|
-
className:
|
|
49631
|
+
className: le(
|
|
49594
49632
|
"dial-small-text py-[1px]",
|
|
49595
49633
|
s ? "text-secondary" : "text-primary"
|
|
49596
49634
|
),
|
|
@@ -49636,7 +49674,7 @@ const hH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Qm = "d
|
|
|
49636
49674
|
"h3",
|
|
49637
49675
|
{
|
|
49638
49676
|
id: R,
|
|
49639
|
-
className:
|
|
49677
|
+
className: le(
|
|
49640
49678
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
49641
49679
|
o
|
|
49642
49680
|
),
|
|
@@ -49646,7 +49684,7 @@ const hH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Qm = "d
|
|
|
49646
49684
|
return /* @__PURE__ */ g.jsx(ac, { id: i, children: /* @__PURE__ */ g.jsx(
|
|
49647
49685
|
Cx,
|
|
49648
49686
|
{
|
|
49649
|
-
className:
|
|
49687
|
+
className: le(hH, n),
|
|
49650
49688
|
children: /* @__PURE__ */ g.jsx(
|
|
49651
49689
|
Nh,
|
|
49652
49690
|
{
|
|
@@ -49660,7 +49698,7 @@ const hH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Qm = "d
|
|
|
49660
49698
|
role: "dialog",
|
|
49661
49699
|
"aria-modal": "true",
|
|
49662
49700
|
"aria-labelledby": R,
|
|
49663
|
-
className:
|
|
49701
|
+
className: le(
|
|
49664
49702
|
"dial-popup",
|
|
49665
49703
|
gH[h],
|
|
49666
49704
|
a && Qm,
|
|
@@ -49679,7 +49717,7 @@ const hH = "z-[52] flex items-center justify-center bg-blackout md:p-4", Qm = "d
|
|
|
49679
49717
|
/* @__PURE__ */ g.jsxs(
|
|
49680
49718
|
"div",
|
|
49681
49719
|
{
|
|
49682
|
-
className:
|
|
49720
|
+
className: oe(pH, r),
|
|
49683
49721
|
children: [
|
|
49684
49722
|
S(t),
|
|
49685
49723
|
!p && /* @__PURE__ */ g.jsx(
|
|
@@ -49756,7 +49794,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49756
49794
|
}
|
|
49757
49795
|
),
|
|
49758
49796
|
/* @__PURE__ */ g.jsx(
|
|
49759
|
-
|
|
49797
|
+
Ei,
|
|
49760
49798
|
{
|
|
49761
49799
|
variant: ou[m].confirm?.variant,
|
|
49762
49800
|
appearance: ou[m].confirm?.appearance,
|
|
@@ -49769,7 +49807,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49769
49807
|
] }), b = D(() => r ? /* @__PURE__ */ g.jsx("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ g.jsx(dc, { size: 50 }) }) : p ?? (t ? /* @__PURE__ */ g.jsx(
|
|
49770
49808
|
"div",
|
|
49771
49809
|
{
|
|
49772
|
-
className:
|
|
49810
|
+
className: le(mH, i),
|
|
49773
49811
|
children: t
|
|
49774
49812
|
}
|
|
49775
49813
|
) : null), [p, t, r, i]);
|
|
@@ -49778,7 +49816,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49778
49816
|
{
|
|
49779
49817
|
open: s,
|
|
49780
49818
|
header: e,
|
|
49781
|
-
className:
|
|
49819
|
+
className: le(ou[m].container, l),
|
|
49782
49820
|
dividers: f,
|
|
49783
49821
|
onClose: () => d?.(),
|
|
49784
49822
|
footer: C ?? w,
|
|
@@ -49812,8 +49850,8 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49812
49850
|
if ($ === 0) return;
|
|
49813
49851
|
const ne = v.current?.offsetWidth ?? 0, I = $ - (d ? 0 : bH) - ru;
|
|
49814
49852
|
let j = 0, Y = 0;
|
|
49815
|
-
for (let
|
|
49816
|
-
const xe = m.current[
|
|
49853
|
+
for (let re = 0; re < C.length; re++) {
|
|
49854
|
+
const xe = m.current[re];
|
|
49817
49855
|
if (!xe) continue;
|
|
49818
49856
|
const N = xe.offsetWidth + ru;
|
|
49819
49857
|
if (j + N > I) break;
|
|
@@ -49822,8 +49860,8 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49822
49860
|
if (Y < C.length && Y > 0)
|
|
49823
49861
|
for (; j + ne > I && Y > 0; ) {
|
|
49824
49862
|
Y--;
|
|
49825
|
-
const
|
|
49826
|
-
j -=
|
|
49863
|
+
const re = m.current[Y]?.offsetWidth ?? 0;
|
|
49864
|
+
j -= re + ru;
|
|
49827
49865
|
}
|
|
49828
49866
|
F(Y);
|
|
49829
49867
|
}, [c, d, C.length]), P = (W) => {
|
|
@@ -49866,9 +49904,9 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49866
49904
|
"div",
|
|
49867
49905
|
{
|
|
49868
49906
|
ref: f,
|
|
49869
|
-
className:
|
|
49907
|
+
className: le(
|
|
49870
49908
|
"flex gap-2 items-center relative",
|
|
49871
|
-
c ? "flex-nowrap overflow-hidden w-full min-w-0" :
|
|
49909
|
+
c ? "flex-nowrap overflow-hidden w-full min-w-0" : le("flex-wrap", y ? "flex-col-reverse" : "flex-row"),
|
|
49872
49910
|
u
|
|
49873
49911
|
),
|
|
49874
49912
|
children: [
|
|
@@ -49900,7 +49938,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49900
49938
|
onChange: (W) => x(W.target.value),
|
|
49901
49939
|
onKeyDown: A,
|
|
49902
49940
|
onBlur: H,
|
|
49903
|
-
className:
|
|
49941
|
+
className: le(
|
|
49904
49942
|
"dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
|
|
49905
49943
|
c ? "min-w-0" : "min-w-[100px]"
|
|
49906
49944
|
),
|
|
@@ -49942,7 +49980,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49942
49980
|
/* @__PURE__ */ g.jsx(
|
|
49943
49981
|
"div",
|
|
49944
49982
|
{
|
|
49945
|
-
className:
|
|
49983
|
+
className: le(
|
|
49946
49984
|
"dial-input min-h-[38px] p-[6px]",
|
|
49947
49985
|
a && "dial-input-error",
|
|
49948
49986
|
l && "dial-input-disable"
|
|
@@ -49994,7 +50032,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
49994
50032
|
/* @__PURE__ */ g.jsxs(
|
|
49995
50033
|
"div",
|
|
49996
50034
|
{
|
|
49997
|
-
className:
|
|
50035
|
+
className: le(
|
|
49998
50036
|
"dial-input px-3 py-2 dial-input-field flex flex-row items-center gap-x-2 w-full justify-between",
|
|
49999
50037
|
o,
|
|
50000
50038
|
i && "dial-input-disable",
|
|
@@ -50007,7 +50045,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50007
50045
|
"input",
|
|
50008
50046
|
{
|
|
50009
50047
|
type: "text",
|
|
50010
|
-
className:
|
|
50048
|
+
className: le(
|
|
50011
50049
|
"flex-1 min-w-0 bg-transparent outline-none border-none p-0 dial-small-text text-primary placeholder:text-secondary",
|
|
50012
50050
|
n
|
|
50013
50051
|
),
|
|
@@ -50058,7 +50096,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50058
50096
|
children: /* @__PURE__ */ g.jsxs(
|
|
50059
50097
|
"div",
|
|
50060
50098
|
{
|
|
50061
|
-
className:
|
|
50099
|
+
className: le(
|
|
50062
50100
|
"dial-input px-3 py-2 dial-input-field flex flex-row items-center gap-x-2 w-full justify-between cursor-pointer",
|
|
50063
50101
|
o,
|
|
50064
50102
|
i && "dial-input-disable",
|
|
@@ -50091,7 +50129,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50091
50129
|
] }), S = () => /* @__PURE__ */ g.jsx("div", { className: "w-full", onClick: b, children: /* @__PURE__ */ g.jsxs(
|
|
50092
50130
|
"div",
|
|
50093
50131
|
{
|
|
50094
|
-
className:
|
|
50132
|
+
className: le(
|
|
50095
50133
|
"dial-input px-3 py-2 flex flex-row items-center gap-x-2 w-full justify-between cursor-pointer",
|
|
50096
50134
|
i && "dial-input-disable"
|
|
50097
50135
|
),
|
|
@@ -50127,7 +50165,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50127
50165
|
v ? S() : h ? y() : R(),
|
|
50128
50166
|
t && lc(e, document.body)
|
|
50129
50167
|
] });
|
|
50130
|
-
},
|
|
50168
|
+
}, wV = ({
|
|
50131
50169
|
label: e,
|
|
50132
50170
|
htmlFor: t,
|
|
50133
50171
|
disabled: i,
|
|
@@ -50168,7 +50206,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50168
50206
|
open: y,
|
|
50169
50207
|
selectedValue: o ?? n.find((P) => P.id === s)?.name,
|
|
50170
50208
|
valueClassName: r,
|
|
50171
|
-
inputClassName:
|
|
50209
|
+
inputClassName: le(a, "py-2", "px-3"),
|
|
50172
50210
|
emptyValueText: l,
|
|
50173
50211
|
onOpen: S,
|
|
50174
50212
|
children: /* @__PURE__ */ g.jsx(
|
|
@@ -50212,7 +50250,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50212
50250
|
}
|
|
50213
50251
|
)
|
|
50214
50252
|
] });
|
|
50215
|
-
}, RH = "Create", FH = "Cancel", EH = "flex items-center justify-end gap-2 px-6 py-3",
|
|
50253
|
+
}, RH = "Create", FH = "Cancel", EH = "flex items-center justify-end gap-2 px-6 py-3", bV = ({
|
|
50216
50254
|
header: e,
|
|
50217
50255
|
open: t = !1,
|
|
50218
50256
|
submitLabel: i = RH,
|
|
@@ -50268,14 +50306,14 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50268
50306
|
}) => /* @__PURE__ */ g.jsx(
|
|
50269
50307
|
"div",
|
|
50270
50308
|
{
|
|
50271
|
-
className:
|
|
50309
|
+
className: le(
|
|
50272
50310
|
"border-l border-tertiary",
|
|
50273
50311
|
s === St.Standard ? "h-[40px] w-[44px]" : "h-[24px] w-[32px]"
|
|
50274
50312
|
),
|
|
50275
50313
|
children: /* @__PURE__ */ g.jsx(
|
|
50276
50314
|
Sn,
|
|
50277
50315
|
{
|
|
50278
|
-
className:
|
|
50316
|
+
className: le(
|
|
50279
50317
|
DH,
|
|
50280
50318
|
s === St.Small && "p-1"
|
|
50281
50319
|
),
|
|
@@ -50326,7 +50364,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50326
50364
|
id: s,
|
|
50327
50365
|
containerClassName: n,
|
|
50328
50366
|
...o
|
|
50329
|
-
}) => /* @__PURE__ */ g.jsxs("div", { className:
|
|
50367
|
+
}) => /* @__PURE__ */ g.jsxs("div", { className: oe("flex flex-col gap-y-1", n), children: [
|
|
50330
50368
|
e && /* @__PURE__ */ g.jsx(Po, { ...e, htmlFor: s }),
|
|
50331
50369
|
/* @__PURE__ */ g.jsx(Ib, { id: s, ...o }),
|
|
50332
50370
|
/* @__PURE__ */ g.jsx(Si, { text: t }),
|
|
@@ -50374,7 +50412,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50374
50412
|
}, R = () => /* @__PURE__ */ g.jsxs(
|
|
50375
50413
|
"div",
|
|
50376
50414
|
{
|
|
50377
|
-
className:
|
|
50415
|
+
className: oe(
|
|
50378
50416
|
"dial-input flex flex-row items-center gap-x-2 justify-between py-2",
|
|
50379
50417
|
e && "dial-input-error",
|
|
50380
50418
|
t && "dial-input-disable",
|
|
@@ -50402,7 +50440,7 @@ const fH = "flex justify-end gap-2 px-6 py-4", mH = "text-secondary dial-small-1
|
|
|
50402
50440
|
type: l,
|
|
50403
50441
|
autoComplete: l === "password" ? "new-password" : "off",
|
|
50404
50442
|
value: d ?? "",
|
|
50405
|
-
className:
|
|
50443
|
+
className: oe(
|
|
50406
50444
|
"border-0 bg-transparent w-full truncate",
|
|
50407
50445
|
t && "cursor-not-allowed",
|
|
50408
50446
|
s
|
|
@@ -50596,7 +50634,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50596
50634
|
"aria-selected": !!c,
|
|
50597
50635
|
"aria-disabled": !!e.disabled,
|
|
50598
50636
|
disabled: e.disabled,
|
|
50599
|
-
className:
|
|
50637
|
+
className: le(
|
|
50600
50638
|
Rr,
|
|
50601
50639
|
c && Ch,
|
|
50602
50640
|
e.disabled && Xl
|
|
@@ -50630,7 +50668,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50630
50668
|
"aria-selected": u,
|
|
50631
50669
|
"aria-disabled": !!d.disabled,
|
|
50632
50670
|
disabled: d.disabled,
|
|
50633
|
-
className:
|
|
50671
|
+
className: le(
|
|
50634
50672
|
Rr,
|
|
50635
50673
|
u && Ch,
|
|
50636
50674
|
d.disabled && Xl
|
|
@@ -50687,14 +50725,14 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50687
50725
|
k || ne(U), Z?.(U);
|
|
50688
50726
|
},
|
|
50689
50727
|
[k, Z]
|
|
50690
|
-
), [Y,
|
|
50728
|
+
), [Y, re] = M(
|
|
50691
50729
|
T && l || ""
|
|
50692
50730
|
), xe = G(null), N = D(
|
|
50693
50731
|
(U) => {
|
|
50694
|
-
U !== Y && (
|
|
50732
|
+
U !== Y && (re(U || ""), O?.(U || ""));
|
|
50695
50733
|
},
|
|
50696
50734
|
[O, Y]
|
|
50697
|
-
),
|
|
50735
|
+
), ce = s !== void 0, [Oe, J] = M(n), ae = ce ? s : Oe, q = V(() => t ? Array.isArray(ae) ? ae : [] : typeof ae == "string" ? [ae] : [], [ae, t]), fe = V(() => {
|
|
50698
50736
|
const U = Y.trim().toLowerCase();
|
|
50699
50737
|
return U ? e.filter((Me) => Me.label.toLowerCase().includes(U)) : e;
|
|
50700
50738
|
}, [e, Y]);
|
|
@@ -50705,9 +50743,9 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50705
50743
|
}, [l, T, I, N]);
|
|
50706
50744
|
const _ = D(
|
|
50707
50745
|
(U) => {
|
|
50708
|
-
|
|
50746
|
+
ce || J(U), E?.(U);
|
|
50709
50747
|
},
|
|
50710
|
-
[
|
|
50748
|
+
[ce, E]
|
|
50711
50749
|
), he = D(
|
|
50712
50750
|
(U) => {
|
|
50713
50751
|
if (t) {
|
|
@@ -50864,7 +50902,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50864
50902
|
}
|
|
50865
50903
|
),
|
|
50866
50904
|
y && /* @__PURE__ */ g.jsx(
|
|
50867
|
-
|
|
50905
|
+
Ei,
|
|
50868
50906
|
{
|
|
50869
50907
|
"aria-label": "Close select",
|
|
50870
50908
|
className: "shrink-0",
|
|
@@ -50875,7 +50913,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50875
50913
|
}
|
|
50876
50914
|
)
|
|
50877
50915
|
] }),
|
|
50878
|
-
t && h && Te.length > 0 && /* @__PURE__ */ g.jsx("div", { className:
|
|
50916
|
+
t && h && Te.length > 0 && /* @__PURE__ */ g.jsx("div", { className: le(Rr, "mt-2"), children: /* @__PURE__ */ g.jsx(
|
|
50879
50917
|
Bg,
|
|
50880
50918
|
{
|
|
50881
50919
|
id: `${i || W}-selectAll`,
|
|
@@ -50889,7 +50927,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50889
50927
|
/* @__PURE__ */ g.jsx(
|
|
50890
50928
|
"div",
|
|
50891
50929
|
{
|
|
50892
|
-
className:
|
|
50930
|
+
className: le(
|
|
50893
50931
|
"overflow-y-auto max-h-[352px]",
|
|
50894
50932
|
T && fe.length === 0 ? "" : "py-1"
|
|
50895
50933
|
),
|
|
@@ -50914,7 +50952,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50914
50952
|
role: "option",
|
|
50915
50953
|
"aria-selected": Me,
|
|
50916
50954
|
"aria-disabled": !!U.disabled,
|
|
50917
|
-
className:
|
|
50955
|
+
className: le(
|
|
50918
50956
|
Rr,
|
|
50919
50957
|
Me && GH,
|
|
50920
50958
|
U.disabled && Xl,
|
|
@@ -50955,7 +50993,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50955
50993
|
"aria-selected": Me,
|
|
50956
50994
|
"aria-disabled": !!U.disabled,
|
|
50957
50995
|
disabled: U.disabled,
|
|
50958
|
-
className:
|
|
50996
|
+
className: le(
|
|
50959
50997
|
Rr,
|
|
50960
50998
|
Me && Ch,
|
|
50961
50999
|
U.disabled && Xl
|
|
@@ -50993,7 +51031,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
50993
51031
|
"aria-haspopup": "listbox",
|
|
50994
51032
|
"aria-expanded": I,
|
|
50995
51033
|
"aria-controls": `list-${i || W}`,
|
|
50996
|
-
className:
|
|
51034
|
+
className: oe(
|
|
50997
51035
|
NH,
|
|
50998
51036
|
w && "opacity-75 !cursor-not-allowed !border-primary",
|
|
50999
51037
|
r === mh.Sm ? "min-h-[25px] px-1.5 py-1" : "min-h-[38px] px-3 py-2",
|
|
@@ -51040,7 +51078,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
51040
51078
|
Ue,
|
|
51041
51079
|
{
|
|
51042
51080
|
icon: zH,
|
|
51043
|
-
className:
|
|
51081
|
+
className: le("text-primary", I && "rotate-180")
|
|
51044
51082
|
}
|
|
51045
51083
|
)
|
|
51046
51084
|
]
|
|
@@ -51048,7 +51086,7 @@ const NH = "dial-input flex w-full items-center justify-between gap-2 dial-small
|
|
|
51048
51086
|
)
|
|
51049
51087
|
}
|
|
51050
51088
|
);
|
|
51051
|
-
},
|
|
51089
|
+
}, xV = ({
|
|
51052
51090
|
label: e,
|
|
51053
51091
|
required: t,
|
|
51054
51092
|
captionDescription: i,
|
|
@@ -51728,7 +51766,7 @@ const iG = function(t, i, s) {
|
|
|
51728
51766
|
C(!!d?.(W)), b(!!u?.(W)), m(W);
|
|
51729
51767
|
}, Z = (B) => {
|
|
51730
51768
|
B.target === B.currentTarget && S();
|
|
51731
|
-
}, O =
|
|
51769
|
+
}, O = le(
|
|
51732
51770
|
"border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
|
|
51733
51771
|
!T && !R && "border-primary",
|
|
51734
51772
|
T && (E ? "border-accent-primary" : "border-hover"),
|
|
@@ -51793,7 +51831,7 @@ const iG = function(t, i, s) {
|
|
|
51793
51831
|
...i,
|
|
51794
51832
|
iconBefore: n(),
|
|
51795
51833
|
containerClassName: "h-[40px] p-0",
|
|
51796
|
-
className:
|
|
51834
|
+
className: le(
|
|
51797
51835
|
"rounded-r-none border-r-0",
|
|
51798
51836
|
s && "text-error",
|
|
51799
51837
|
t
|
|
@@ -51837,7 +51875,7 @@ const iG = function(t, i, s) {
|
|
|
51837
51875
|
)) }) }),
|
|
51838
51876
|
l?.(t) && /* @__PURE__ */ g.jsx(Si, { text: c })
|
|
51839
51877
|
] });
|
|
51840
|
-
},
|
|
51878
|
+
}, yV = ({
|
|
51841
51879
|
onChange: e,
|
|
51842
51880
|
fieldTitle: t,
|
|
51843
51881
|
elementId: i,
|
|
@@ -51968,7 +52006,7 @@ const iG = function(t, i, s) {
|
|
|
51968
52006
|
},
|
|
51969
52007
|
onOpenChange: (a) => o(a),
|
|
51970
52008
|
children: /* @__PURE__ */ g.jsx(
|
|
51971
|
-
|
|
52009
|
+
Ei,
|
|
51972
52010
|
{
|
|
51973
52011
|
...s,
|
|
51974
52012
|
iconAfter: r,
|
|
@@ -52079,7 +52117,7 @@ const ov = ({
|
|
|
52079
52117
|
resizable: !1,
|
|
52080
52118
|
cellRenderer: (N) => {
|
|
52081
52119
|
if (!N.data) return null;
|
|
52082
|
-
const
|
|
52120
|
+
const ce = [
|
|
52083
52121
|
{
|
|
52084
52122
|
key: ft.Replace,
|
|
52085
52123
|
label: C,
|
|
@@ -52095,7 +52133,7 @@ const ov = ({
|
|
|
52095
52133
|
label: b,
|
|
52096
52134
|
icon: /* @__PURE__ */ g.jsx(Xa, { size: 10, className: "text-error" })
|
|
52097
52135
|
}
|
|
52098
|
-
], Oe =
|
|
52136
|
+
], Oe = ce.find(
|
|
52099
52137
|
(ae) => ae.key === N.data.action
|
|
52100
52138
|
), J = H === N.data.path;
|
|
52101
52139
|
return /* @__PURE__ */ g.jsx("div", { className: "flex items-center h-full", children: /* @__PURE__ */ g.jsx(
|
|
@@ -52104,7 +52142,7 @@ const ov = ({
|
|
|
52104
52142
|
trigger: [ci.Click],
|
|
52105
52143
|
open: J,
|
|
52106
52144
|
menu: {
|
|
52107
|
-
items:
|
|
52145
|
+
items: ce,
|
|
52108
52146
|
onClick: ({ key: ae }) => {
|
|
52109
52147
|
A((q) => {
|
|
52110
52148
|
const fe = new Map(q);
|
|
@@ -52130,7 +52168,7 @@ const ov = ({
|
|
|
52130
52168
|
_r,
|
|
52131
52169
|
{
|
|
52132
52170
|
size: Ft.SM,
|
|
52133
|
-
className:
|
|
52171
|
+
className: le(
|
|
52134
52172
|
"text-secondary transition-transform",
|
|
52135
52173
|
J && "rotate-180"
|
|
52136
52174
|
)
|
|
@@ -52193,7 +52231,7 @@ const ov = ({
|
|
|
52193
52231
|
])
|
|
52194
52232
|
)
|
|
52195
52233
|
);
|
|
52196
|
-
}, [o]),
|
|
52234
|
+
}, [o]), re = D(() => {
|
|
52197
52235
|
Y(), t();
|
|
52198
52236
|
}, [Y, t]), xe = D(() => {
|
|
52199
52237
|
if (Y(), m)
|
|
@@ -52204,9 +52242,9 @@ const ov = ({
|
|
|
52204
52242
|
s();
|
|
52205
52243
|
else if (E === Yt.DecideForEach && n) {
|
|
52206
52244
|
const N = o.map(
|
|
52207
|
-
(
|
|
52208
|
-
file:
|
|
52209
|
-
action: P.get(
|
|
52245
|
+
(ce) => ({
|
|
52246
|
+
file: ce,
|
|
52247
|
+
action: P.get(ce.path) || ft.Replace
|
|
52210
52248
|
})
|
|
52211
52249
|
);
|
|
52212
52250
|
n(N);
|
|
@@ -52226,14 +52264,14 @@ const ov = ({
|
|
|
52226
52264
|
No,
|
|
52227
52265
|
{
|
|
52228
52266
|
open: e,
|
|
52229
|
-
onClose:
|
|
52267
|
+
onClose: re,
|
|
52230
52268
|
size: m ? pi.Sm : pi.Md,
|
|
52231
|
-
className:
|
|
52269
|
+
className: le([!m && "w-[600px]"]),
|
|
52232
52270
|
header: O,
|
|
52233
52271
|
dividers: !1,
|
|
52234
52272
|
preventKeyboardOnOpen: !0,
|
|
52235
52273
|
footer: /* @__PURE__ */ g.jsxs("div", { className: "flex justify-end gap-3 py-4 px-6 border-t border-tertiary", children: [
|
|
52236
|
-
/* @__PURE__ */ g.jsx(rs, { onClick:
|
|
52274
|
+
/* @__PURE__ */ g.jsx(rs, { onClick: re, label: h }),
|
|
52237
52275
|
/* @__PURE__ */ g.jsx(ts, { onClick: xe, label: u })
|
|
52238
52276
|
] }),
|
|
52239
52277
|
children: /* @__PURE__ */ g.jsxs("div", { className: "px-6 py-4", children: [
|
|
@@ -52286,7 +52324,7 @@ const ov = ({
|
|
|
52286
52324
|
placement: "bottom-start",
|
|
52287
52325
|
allowedPlacements: ["top-start", "top-end", "bottom-start"],
|
|
52288
52326
|
menu: { items: d },
|
|
52289
|
-
className:
|
|
52327
|
+
className: oe("sticky right-0", n),
|
|
52290
52328
|
children: /* @__PURE__ */ g.jsx(
|
|
52291
52329
|
Ue,
|
|
52292
52330
|
{
|
|
@@ -55347,9 +55385,9 @@ const NG = (e, t, i, s, n) => {
|
|
|
55347
55385
|
m(J), c(!0);
|
|
55348
55386
|
},
|
|
55349
55387
|
[]
|
|
55350
|
-
),
|
|
55388
|
+
), re = D(() => {
|
|
55351
55389
|
c(!1), R.current || O();
|
|
55352
|
-
}, [O, R]), [xe, N] = M(),
|
|
55390
|
+
}, [O, R]), [xe, N] = M(), ce = D(
|
|
55353
55391
|
(J) => {
|
|
55354
55392
|
u(J);
|
|
55355
55393
|
const ae = J[0]?.parentPath ?? J[0]?.folderId;
|
|
@@ -55369,14 +55407,14 @@ const NG = (e, t, i, s, n) => {
|
|
|
55369
55407
|
);
|
|
55370
55408
|
return {
|
|
55371
55409
|
handleDuplicate: j,
|
|
55372
|
-
handleCloseDestinationFolderPopup:
|
|
55410
|
+
handleCloseDestinationFolderPopup: re,
|
|
55373
55411
|
handleOpenDestinationFolderPopup: Y,
|
|
55374
55412
|
handleCopyTo: B,
|
|
55375
55413
|
handleMoveTo: W,
|
|
55376
55414
|
openDestinationFolderPopup: l,
|
|
55377
55415
|
destinationFolderMode: f,
|
|
55378
55416
|
destinationFolderTitle: xe,
|
|
55379
|
-
handleSetCopiedFiles:
|
|
55417
|
+
handleSetCopiedFiles: ce,
|
|
55380
55418
|
handleSetMovedFiles: Oe,
|
|
55381
55419
|
clearState: O,
|
|
55382
55420
|
conflictingFiles: x,
|
|
@@ -55598,7 +55636,7 @@ const NG = (e, t, i, s, n) => {
|
|
|
55598
55636
|
O(), S();
|
|
55599
55637
|
}, [O, S]), Y = D(() => {
|
|
55600
55638
|
B(), S();
|
|
55601
|
-
}, [B, S]),
|
|
55639
|
+
}, [B, S]), re = D(
|
|
55602
55640
|
(_) => {
|
|
55603
55641
|
W(_), S();
|
|
55604
55642
|
},
|
|
@@ -55610,7 +55648,7 @@ const NG = (e, t, i, s, n) => {
|
|
|
55610
55648
|
!r || !C || (_.preventDefault(), _.stopPropagation(), _.dataTransfer.types.includes("Files") && c(!0));
|
|
55611
55649
|
},
|
|
55612
55650
|
[r, C]
|
|
55613
|
-
),
|
|
55651
|
+
), ce = D(
|
|
55614
55652
|
(_) => {
|
|
55615
55653
|
if (!r || !C) return;
|
|
55616
55654
|
_.preventDefault(), _.stopPropagation();
|
|
@@ -55751,7 +55789,7 @@ const NG = (e, t, i, s, n) => {
|
|
|
55751
55789
|
isDraggingOverWindow: d,
|
|
55752
55790
|
uploadError: h,
|
|
55753
55791
|
handleDragEnter: N,
|
|
55754
|
-
handleDragLeave:
|
|
55792
|
+
handleDragLeave: ce,
|
|
55755
55793
|
handleDragOver: Oe,
|
|
55756
55794
|
handleDrop: J,
|
|
55757
55795
|
clearError: fe,
|
|
@@ -55767,10 +55805,10 @@ const NG = (e, t, i, s, n) => {
|
|
|
55767
55805
|
handleUploadConflictReplace: I,
|
|
55768
55806
|
handleUploadConflictDuplicate: j,
|
|
55769
55807
|
handleUploadConflictCancel: Y,
|
|
55770
|
-
handleUploadConflictDecideForEach:
|
|
55808
|
+
handleUploadConflictDecideForEach: re
|
|
55771
55809
|
};
|
|
55772
55810
|
}, Ub = Vr(void 0), $b = {
|
|
55773
|
-
hiddenItemWarning: `${
|
|
55811
|
+
hiddenItemWarning: `${Ni.Warning}__A dot at the start of the name will make the item hidden`
|
|
55774
55812
|
}, UG = {
|
|
55775
55813
|
emptyName: "Name cannot be empty",
|
|
55776
55814
|
duplicateName: "An item with this name already exists",
|
|
@@ -56065,7 +56103,7 @@ const YG = ({
|
|
|
56065
56103
|
const s = t === 0;
|
|
56066
56104
|
return {
|
|
56067
56105
|
additionalButtons: V(() => {
|
|
56068
|
-
const o =
|
|
56106
|
+
const o = oe([
|
|
56069
56107
|
"hover:text-accent-primary",
|
|
56070
56108
|
s && "controls-secondary-disable hover:controls-secondary-disable disabled:hover:cursor-default"
|
|
56071
56109
|
]);
|
|
@@ -56214,7 +56252,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56214
56252
|
|
|
|
56215
56253
|
|\r| )|[\0-]`, oB = `[${nB.replace(/\\/g, "\\\\")}]`, rB = new RegExp(
|
|
56216
56254
|
`${oB}|${Kb}`
|
|
56217
|
-
),
|
|
56255
|
+
), SV = new RegExp(Kb), aB = ({
|
|
56218
56256
|
managerLabel: e,
|
|
56219
56257
|
children: t,
|
|
56220
56258
|
className: i,
|
|
@@ -56255,10 +56293,10 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56255
56293
|
onValidateUpload: I,
|
|
56256
56294
|
uploadEnabled: j,
|
|
56257
56295
|
uploadValidationMessages: Y,
|
|
56258
|
-
maxFileSize:
|
|
56296
|
+
maxFileSize: re,
|
|
56259
56297
|
onUploadArchive: xe,
|
|
56260
56298
|
onCreateFolder: N,
|
|
56261
|
-
onCreateFolderValidate:
|
|
56299
|
+
onCreateFolderValidate: ce,
|
|
56262
56300
|
folderCreationValidationMessages: Oe,
|
|
56263
56301
|
fileMetadataPopupOptions: J,
|
|
56264
56302
|
onGetInfo: ae,
|
|
@@ -56480,7 +56518,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56480
56518
|
} = _G({
|
|
56481
56519
|
onUploadFiles: _c,
|
|
56482
56520
|
onValidateUpload: I,
|
|
56483
|
-
maxFileSize:
|
|
56521
|
+
maxFileSize: re,
|
|
56484
56522
|
onUploadArchive: Uc,
|
|
56485
56523
|
allowedFileTypes: Ie,
|
|
56486
56524
|
validationMessages: Y,
|
|
@@ -56516,7 +56554,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56516
56554
|
},
|
|
56517
56555
|
[Dn]
|
|
56518
56556
|
), {
|
|
56519
|
-
isCreatingFolder:
|
|
56557
|
+
isCreatingFolder: Ti,
|
|
56520
56558
|
newFolderTempId: zn,
|
|
56521
56559
|
startFolderCreation: Sg,
|
|
56522
56560
|
cancelFolderCreation: t0,
|
|
@@ -56525,7 +56563,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56525
56563
|
} = XG({
|
|
56526
56564
|
currentFolder: pt,
|
|
56527
56565
|
onCreateFolder: jc,
|
|
56528
|
-
onValidateFolderName:
|
|
56566
|
+
onValidateFolderName: ce,
|
|
56529
56567
|
validationMessages: Oe
|
|
56530
56568
|
}), Rg = D(() => {
|
|
56531
56569
|
Pt(), Sg();
|
|
@@ -56562,7 +56600,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56562
56600
|
owner: et.owner,
|
|
56563
56601
|
folderId: et.folderId
|
|
56564
56602
|
}));
|
|
56565
|
-
return
|
|
56603
|
+
return Ti && zn && Zo.unshift({
|
|
56566
56604
|
id: zn,
|
|
56567
56605
|
name: "",
|
|
56568
56606
|
updatedAt: void 0,
|
|
@@ -56595,7 +56633,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56595
56633
|
contentLength: Be.contentLength,
|
|
56596
56634
|
folderId: Be.folderId
|
|
56597
56635
|
}));
|
|
56598
|
-
if (
|
|
56636
|
+
if (Ti && zn && !Pe && vi.unshift({
|
|
56599
56637
|
id: zn,
|
|
56600
56638
|
name: "",
|
|
56601
56639
|
updatedAt: void 0,
|
|
@@ -56620,7 +56658,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56620
56658
|
pt,
|
|
56621
56659
|
Ln,
|
|
56622
56660
|
qi,
|
|
56623
|
-
|
|
56661
|
+
Ti,
|
|
56624
56662
|
zn,
|
|
56625
56663
|
Wo,
|
|
56626
56664
|
jo,
|
|
@@ -56698,7 +56736,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56698
56736
|
setDestinationFolderPath: Mn,
|
|
56699
56737
|
header: $o,
|
|
56700
56738
|
onCreateFolder: N,
|
|
56701
|
-
onCreateFolderValidate:
|
|
56739
|
+
onCreateFolderValidate: ce,
|
|
56702
56740
|
folderCreationValidationMessages: Oe,
|
|
56703
56741
|
sourceFolder: fa
|
|
56704
56742
|
},
|
|
@@ -56761,14 +56799,14 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56761
56799
|
clearUploadError: dd,
|
|
56762
56800
|
onUploadFiles: k,
|
|
56763
56801
|
onValidateUpload: I,
|
|
56764
|
-
maxFileSize:
|
|
56802
|
+
maxFileSize: re,
|
|
56765
56803
|
isDraggingOverWindow: _s,
|
|
56766
56804
|
openFileDialog: Da,
|
|
56767
56805
|
fileInputRef: xa,
|
|
56768
56806
|
newActions: n0,
|
|
56769
56807
|
isNewButtonVisible: o0,
|
|
56770
56808
|
isNewButtonDisabled: r0,
|
|
56771
|
-
isCreatingFolder:
|
|
56809
|
+
isCreatingFolder: Ti,
|
|
56772
56810
|
newFolderTempId: zn,
|
|
56773
56811
|
startFolderCreation: Rg,
|
|
56774
56812
|
cancelFolderCreation: t0,
|
|
@@ -56886,7 +56924,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56886
56924
|
/* @__PURE__ */ g.jsx(zh, { asChild: !0, children: /* @__PURE__ */ g.jsx(
|
|
56887
56925
|
"div",
|
|
56888
56926
|
{
|
|
56889
|
-
className:
|
|
56927
|
+
className: le(
|
|
56890
56928
|
"fixed z-[-1]",
|
|
56891
56929
|
u && "pointer-events-none"
|
|
56892
56930
|
),
|
|
@@ -56971,7 +57009,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
56971
57009
|
open: S,
|
|
56972
57010
|
onOpenChange: F,
|
|
56973
57011
|
children: /* @__PURE__ */ g.jsx(
|
|
56974
|
-
|
|
57012
|
+
Ei,
|
|
56975
57013
|
{
|
|
56976
57014
|
className: "size-9 shrink-0",
|
|
56977
57015
|
"aria-label": "More options",
|
|
@@ -57037,7 +57075,7 @@ const nB = ':;,=/{}%&\\"', Kb = `(\r
|
|
|
57037
57075
|
{
|
|
57038
57076
|
...x,
|
|
57039
57077
|
gridClassName: "size-full",
|
|
57040
|
-
className:
|
|
57078
|
+
className: oe(
|
|
57041
57079
|
x.className,
|
|
57042
57080
|
"bg-layer-2 h-full flex pt-0"
|
|
57043
57081
|
),
|
|
@@ -57187,7 +57225,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57187
57225
|
menu: { items: c },
|
|
57188
57226
|
allowedPlacements: ["bottom", "bottom-start"],
|
|
57189
57227
|
children: /* @__PURE__ */ g.jsx(
|
|
57190
|
-
|
|
57228
|
+
Ei,
|
|
57191
57229
|
{
|
|
57192
57230
|
className: "h-[38px]",
|
|
57193
57231
|
iconBefore: /* @__PURE__ */ g.jsx(
|
|
@@ -57381,7 +57419,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57381
57419
|
return /* @__PURE__ */ g.jsxs(
|
|
57382
57420
|
"div",
|
|
57383
57421
|
{
|
|
57384
|
-
className:
|
|
57422
|
+
className: oe(
|
|
57385
57423
|
fB,
|
|
57386
57424
|
{
|
|
57387
57425
|
"gap-3": w
|
|
@@ -57394,7 +57432,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57394
57432
|
d && /* @__PURE__ */ g.jsx(
|
|
57395
57433
|
"div",
|
|
57396
57434
|
{
|
|
57397
|
-
className:
|
|
57435
|
+
className: oe(vB, {
|
|
57398
57436
|
"w-[40px]": w && !x,
|
|
57399
57437
|
"w-full": w && x
|
|
57400
57438
|
}),
|
|
@@ -57522,7 +57560,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57522
57560
|
/* @__PURE__ */ g.jsx("div", { className: "flex-1 min-w-0", children: C() }),
|
|
57523
57561
|
/* @__PURE__ */ g.jsx("div", { className: "flex gap-2 shrink-0 items-center", children: m ? b() : w() })
|
|
57524
57562
|
] });
|
|
57525
|
-
}, bB = 100, rr = 16,
|
|
57563
|
+
}, bB = 100, rr = 16, ki = "text-secondary", Qa = "text-primary min-w-0", xB = "text-primary break-words min-w-0", ar = "bg-layer-2", yB = ({
|
|
57526
57564
|
open: e,
|
|
57527
57565
|
onClose: t,
|
|
57528
57566
|
fileMetadata: i,
|
|
@@ -57549,7 +57587,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57549
57587
|
className: "grid gap-4 items-center dial-small-text",
|
|
57550
57588
|
style: { gridTemplateColumns: `${bB}px 1fr` },
|
|
57551
57589
|
children: s ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
57552
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57590
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: o }),
|
|
57553
57591
|
/* @__PURE__ */ g.jsx(
|
|
57554
57592
|
tr,
|
|
57555
57593
|
{
|
|
@@ -57559,7 +57597,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57559
57597
|
className: ar
|
|
57560
57598
|
}
|
|
57561
57599
|
),
|
|
57562
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57600
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: a }),
|
|
57563
57601
|
/* @__PURE__ */ g.jsx(
|
|
57564
57602
|
tr,
|
|
57565
57603
|
{
|
|
@@ -57569,7 +57607,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57569
57607
|
className: ar
|
|
57570
57608
|
}
|
|
57571
57609
|
),
|
|
57572
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57610
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: l }),
|
|
57573
57611
|
/* @__PURE__ */ g.jsx(
|
|
57574
57612
|
tr,
|
|
57575
57613
|
{
|
|
@@ -57579,7 +57617,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57579
57617
|
className: ar
|
|
57580
57618
|
}
|
|
57581
57619
|
),
|
|
57582
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57620
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: c }),
|
|
57583
57621
|
/* @__PURE__ */ g.jsx(
|
|
57584
57622
|
tr,
|
|
57585
57623
|
{
|
|
@@ -57589,7 +57627,7 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57589
57627
|
className: ar
|
|
57590
57628
|
}
|
|
57591
57629
|
),
|
|
57592
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57630
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: r }),
|
|
57593
57631
|
/* @__PURE__ */ g.jsx(
|
|
57594
57632
|
tr,
|
|
57595
57633
|
{
|
|
@@ -57600,9 +57638,9 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57600
57638
|
}
|
|
57601
57639
|
)
|
|
57602
57640
|
] }) : i ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
57603
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57641
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: o }),
|
|
57604
57642
|
/* @__PURE__ */ g.jsx("div", { className: Qa, children: /* @__PURE__ */ g.jsx(bt, { text: i.name }) }),
|
|
57605
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57643
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: a }),
|
|
57606
57644
|
/* @__PURE__ */ g.jsx("div", { className: Qa, children: /* @__PURE__ */ g.jsx(
|
|
57607
57645
|
bt,
|
|
57608
57646
|
{
|
|
@@ -57613,16 +57651,16 @@ const pB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
57613
57651
|
)
|
|
57614
57652
|
}
|
|
57615
57653
|
) }),
|
|
57616
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57654
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: l }),
|
|
57617
57655
|
/* @__PURE__ */ g.jsx("div", { className: Qa, children: /* @__PURE__ */ g.jsx(
|
|
57618
57656
|
bt,
|
|
57619
57657
|
{
|
|
57620
57658
|
text: Br(i.contentLength)
|
|
57621
57659
|
}
|
|
57622
57660
|
) }),
|
|
57623
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57661
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: c }),
|
|
57624
57662
|
/* @__PURE__ */ g.jsx("div", { className: Qa, children: /* @__PURE__ */ g.jsx(bt, { text: i.author || "—" }) }),
|
|
57625
|
-
/* @__PURE__ */ g.jsx("div", { className:
|
|
57663
|
+
/* @__PURE__ */ g.jsx("div", { className: ki, children: r }),
|
|
57626
57664
|
/* @__PURE__ */ g.jsx("div", { className: xB, children: decodeURIComponent(i.path) })
|
|
57627
57665
|
] }) : null
|
|
57628
57666
|
}
|
|
@@ -57713,11 +57751,11 @@ const FB = ({
|
|
|
57713
57751
|
}) => {
|
|
57714
57752
|
const b = () => {
|
|
57715
57753
|
const x = u?.startsWith(
|
|
57716
|
-
`${
|
|
57754
|
+
`${Ni.Warning}__`
|
|
57717
57755
|
);
|
|
57718
57756
|
if (!d && !x) return null;
|
|
57719
57757
|
const y = u?.replace(
|
|
57720
|
-
`${
|
|
57758
|
+
`${Ni.Warning}__`,
|
|
57721
57759
|
""
|
|
57722
57760
|
);
|
|
57723
57761
|
return /* @__PURE__ */ g.jsx(Qt, { tooltip: y, children: p || (x ? /* @__PURE__ */ g.jsx(
|
|
@@ -57757,7 +57795,7 @@ const FB = ({
|
|
|
57757
57795
|
/* @__PURE__ */ g.jsx(
|
|
57758
57796
|
As,
|
|
57759
57797
|
{
|
|
57760
|
-
containerClassName:
|
|
57798
|
+
containerClassName: oe(
|
|
57761
57799
|
"!h-6 py-[1px] pl-[7px] pr-[7px]",
|
|
57762
57800
|
h
|
|
57763
57801
|
),
|
|
@@ -57786,7 +57824,7 @@ function DB({
|
|
|
57786
57824
|
if (!s)
|
|
57787
57825
|
return p(), !0;
|
|
57788
57826
|
const b = s(w);
|
|
57789
|
-
return b ? b.startsWith(`${
|
|
57827
|
+
return b ? b.startsWith(`${Ni.Warning}__`) ? (p(!1, b), !0) : (p(!0, b), !1) : (p(), !0);
|
|
57790
57828
|
},
|
|
57791
57829
|
[s, p]
|
|
57792
57830
|
), m = D(
|
|
@@ -57938,7 +57976,7 @@ const Jl = ({
|
|
|
57938
57976
|
const { path: H, nodeType: Z, name: O, items: B } = A, W = Z === Re.FOLDER;
|
|
57939
57977
|
if (!d && Wb(A)) return null;
|
|
57940
57978
|
if (!W && !t) return;
|
|
57941
|
-
const $ = Array.isArray(B) && B.length > 0 && B.some((ae) => ae.nodeType === Re.FOLDER || t), ne = R.has(H), k = r === H, I = s.has(H), j = u === H, Y = n.has(H),
|
|
57979
|
+
const $ = Array.isArray(B) && B.length > 0 && B.some((ae) => ae.nodeType === Re.FOLDER || t), ne = R.has(H), k = r === H, I = s.has(H), j = u === H, Y = n.has(H), re = o.has(H), xe = p && h && H === p && W, N = w && ((ae) => w(ae, A)), ce = k ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Oe = xe ? [] : m?.(A) ?? [], J = x ? Cg(
|
|
57942
57980
|
{ name: A.name, isFolder: W },
|
|
57943
57981
|
x,
|
|
57944
57982
|
y
|
|
@@ -57955,9 +57993,9 @@ const Jl = ({
|
|
|
57955
57993
|
"div",
|
|
57956
57994
|
{
|
|
57957
57995
|
style: { paddingLeft: `${P * RB}px` },
|
|
57958
|
-
className:
|
|
57996
|
+
className: oe(
|
|
57959
57997
|
"py-1 gap-[2px] dial-small-text flex justify-between hover:bg-accent-primary-alpha rounded group/item w-full mb-[2px] relative",
|
|
57960
|
-
|
|
57998
|
+
ce
|
|
57961
57999
|
),
|
|
57962
58000
|
"aria-selected": k,
|
|
57963
58001
|
children: [
|
|
@@ -57978,7 +58016,7 @@ const Jl = ({
|
|
|
57978
58016
|
dx,
|
|
57979
58017
|
{
|
|
57980
58018
|
...SB,
|
|
57981
|
-
className:
|
|
58019
|
+
className: le(
|
|
57982
58020
|
"flex-shrink-0",
|
|
57983
58021
|
ne && "rotate-90 transition-all",
|
|
57984
58022
|
Y && !$ && "text-transparent"
|
|
@@ -57992,8 +58030,8 @@ const Jl = ({
|
|
|
57992
58030
|
name: xe ? h : O,
|
|
57993
58031
|
type: W ? gi.Folder : gi.File,
|
|
57994
58032
|
loading: I,
|
|
57995
|
-
shared:
|
|
57996
|
-
sharedIndicatorClassName:
|
|
58033
|
+
shared: re,
|
|
58034
|
+
sharedIndicatorClassName: oe(
|
|
57997
58035
|
"group-hover/item:bg-accent-primary-alpha",
|
|
57998
58036
|
k && "bg-accent-primary-alpha"
|
|
57999
58037
|
),
|
|
@@ -58205,7 +58243,7 @@ const Yb = ({
|
|
|
58205
58243
|
bt,
|
|
58206
58244
|
{
|
|
58207
58245
|
text: l ? /* @__PURE__ */ g.jsx("time", { dateTime: l, children: a }) : /* @__PURE__ */ g.jsx("span", { children: a }),
|
|
58208
|
-
className:
|
|
58246
|
+
className: le($N, n),
|
|
58209
58247
|
hideTooltip: o
|
|
58210
58248
|
}
|
|
58211
58249
|
);
|
|
@@ -58264,7 +58302,7 @@ const Yb = ({
|
|
|
58264
58302
|
sharedByMePaths: d,
|
|
58265
58303
|
selectedPaths: u,
|
|
58266
58304
|
disabledRowIds: h
|
|
58267
|
-
} = n.context, p = d?.has(n.data.path), f = u?.has(n.data.path), m = h?.has(n.data.path) ?? !1, v =
|
|
58305
|
+
} = n.context, p = d?.has(n.data.path), f = u?.has(n.data.path), m = h?.has(n.data.path) ?? !1, v = oe([
|
|
58268
58306
|
"group-hover/grid-row:bg-accent-primary-alpha",
|
|
58269
58307
|
f && "bg-accent-primary-alpha"
|
|
58270
58308
|
]);
|
|
@@ -58282,7 +58320,7 @@ const Yb = ({
|
|
|
58282
58320
|
validate: a,
|
|
58283
58321
|
onSave: r,
|
|
58284
58322
|
onCancel: l,
|
|
58285
|
-
inputContainerClassName:
|
|
58323
|
+
inputContainerClassName: oe([
|
|
58286
58324
|
"!h-9",
|
|
58287
58325
|
s && o === Re.ITEM && "!h-10"
|
|
58288
58326
|
])
|
|
@@ -58313,7 +58351,7 @@ const Yb = ({
|
|
|
58313
58351
|
validate: (P) => y(P, b),
|
|
58314
58352
|
onSave: R,
|
|
58315
58353
|
onCancel: S,
|
|
58316
|
-
inputContainerClassName:
|
|
58354
|
+
inputContainerClassName: oe([
|
|
58317
58355
|
"!h-9",
|
|
58318
58356
|
s && o === Re.ITEM && "!h-10"
|
|
58319
58357
|
]),
|
|
@@ -58718,10 +58756,10 @@ const NB = () => {
|
|
|
58718
58756
|
handleCloseDestinationFolderPopup: I,
|
|
58719
58757
|
openDestinationFolderPopup: j,
|
|
58720
58758
|
destinationFolderMode: Y,
|
|
58721
|
-
handleSetCopiedFiles:
|
|
58759
|
+
handleSetCopiedFiles: re,
|
|
58722
58760
|
handleSetMovedFiles: xe,
|
|
58723
58761
|
handleDuplicate: N,
|
|
58724
|
-
handleCopyTo:
|
|
58762
|
+
handleCopyTo: ce,
|
|
58725
58763
|
handleMoveTo: Oe,
|
|
58726
58764
|
handleAddSibling: J,
|
|
58727
58765
|
handleAddChild: ae,
|
|
@@ -58847,7 +58885,7 @@ const NB = () => {
|
|
|
58847
58885
|
return ee;
|
|
58848
58886
|
}, [C, w, F, Bn]), ma = D(
|
|
58849
58887
|
(ee) => {
|
|
58850
|
-
const Je = [], st = [], ti = !ee.parentPath,
|
|
58888
|
+
const Je = [], st = [], ti = !ee.parentPath, Ti = Ne?.test(
|
|
58851
58889
|
ee.name
|
|
58852
58890
|
);
|
|
58853
58891
|
return o?.actionLabels && (o.actionLabels[X.AddSibling] && typeof J == "function" && ee.nodeType === Re.FOLDER && !ti && Je.push({
|
|
@@ -58862,7 +58900,7 @@ const NB = () => {
|
|
|
58862
58900
|
}
|
|
58863
58901
|
),
|
|
58864
58902
|
onClick: () => J([ee])
|
|
58865
|
-
}), o.actionLabels[X.AddChild] && typeof ae == "function" && ee.nodeType === Re.FOLDER && !
|
|
58903
|
+
}), o.actionLabels[X.AddChild] && typeof ae == "function" && ee.nodeType === Re.FOLDER && !Ti && Je.push({
|
|
58866
58904
|
key: "addChild",
|
|
58867
58905
|
label: o.actionLabels[X.AddChild],
|
|
58868
58906
|
icon: /* @__PURE__ */ g.jsx(
|
|
@@ -58874,12 +58912,12 @@ const NB = () => {
|
|
|
58874
58912
|
}
|
|
58875
58913
|
),
|
|
58876
58914
|
onClick: () => ae([ee])
|
|
58877
|
-
}), o.actionLabels[X.Duplicate] && !ti && !
|
|
58915
|
+
}), o.actionLabels[X.Duplicate] && !ti && !Ti && st.push({
|
|
58878
58916
|
key: "duplicate",
|
|
58879
58917
|
label: o.actionLabels[X.Duplicate],
|
|
58880
58918
|
icon: /* @__PURE__ */ g.jsx(Ph, { ...se, className: "text-secondary" }),
|
|
58881
58919
|
onClick: () => N([ee])
|
|
58882
|
-
}), o.actionLabels[X.Copy] && !ti && !
|
|
58920
|
+
}), o.actionLabels[X.Copy] && !ti && !Ti && st.push({
|
|
58883
58921
|
key: mt.Copy,
|
|
58884
58922
|
label: o.actionLabels[X.Copy],
|
|
58885
58923
|
icon: /* @__PURE__ */ g.jsx(
|
|
@@ -58891,9 +58929,9 @@ const NB = () => {
|
|
|
58891
58929
|
}
|
|
58892
58930
|
),
|
|
58893
58931
|
onClick: () => {
|
|
58894
|
-
|
|
58932
|
+
re([ee]), k(mt.Copy);
|
|
58895
58933
|
}
|
|
58896
|
-
}), o.actionLabels[X.Move] && !ti && !
|
|
58934
|
+
}), o.actionLabels[X.Move] && !ti && !Ti && st.push({
|
|
58897
58935
|
key: mt.Move,
|
|
58898
58936
|
label: o.actionLabels[X.Move],
|
|
58899
58937
|
icon: /* @__PURE__ */ g.jsx(
|
|
@@ -58907,7 +58945,7 @@ const NB = () => {
|
|
|
58907
58945
|
onClick: () => {
|
|
58908
58946
|
xe([ee]), k(mt.Move);
|
|
58909
58947
|
}
|
|
58910
|
-
}), o.actionLabels[X.Download] && !ti && !
|
|
58948
|
+
}), o.actionLabels[X.Download] && !ti && !Ti && st.push({
|
|
58911
58949
|
key: "download",
|
|
58912
58950
|
label: o.actionLabels[X.Download],
|
|
58913
58951
|
icon: /* @__PURE__ */ g.jsx(Th, { ...se, className: "text-secondary" }),
|
|
@@ -58975,7 +59013,7 @@ const NB = () => {
|
|
|
58975
59013
|
ae,
|
|
58976
59014
|
An,
|
|
58977
59015
|
N,
|
|
58978
|
-
|
|
59016
|
+
re,
|
|
58979
59017
|
k,
|
|
58980
59018
|
xe,
|
|
58981
59019
|
q,
|
|
@@ -58999,7 +59037,7 @@ const NB = () => {
|
|
|
58999
59037
|
actionLabels: d?.actionLabels,
|
|
59000
59038
|
onDuplicate: N,
|
|
59001
59039
|
onCopy: (ee) => {
|
|
59002
|
-
|
|
59040
|
+
re(ee), k(mt.Copy);
|
|
59003
59041
|
},
|
|
59004
59042
|
onMove: (ee) => {
|
|
59005
59043
|
xe(ee), k(mt.Move);
|
|
@@ -59156,7 +59194,7 @@ const NB = () => {
|
|
|
59156
59194
|
actionLabels: l?.actionLabels,
|
|
59157
59195
|
onDuplicate: (ee) => N([ee]),
|
|
59158
59196
|
onCopy: (ee) => {
|
|
59159
|
-
|
|
59197
|
+
re([ee]), k(mt.Copy);
|
|
59160
59198
|
},
|
|
59161
59199
|
onMove: (ee) => {
|
|
59162
59200
|
xe([ee]), k(mt.Move);
|
|
@@ -59231,7 +59269,7 @@ const NB = () => {
|
|
|
59231
59269
|
),
|
|
59232
59270
|
[oa, sa, na]
|
|
59233
59271
|
), Ra = V(() => (ee) => ee.path, []), Fa = V(
|
|
59234
|
-
() =>
|
|
59272
|
+
() => le(
|
|
59235
59273
|
"min-h-[248px] overflow-auto md:min-h-[266px]",
|
|
59236
59274
|
Xe ? "border border-dashed border-accent-primary" : "",
|
|
59237
59275
|
Et && !Xe ? "border border-dashed border-primary" : ""
|
|
@@ -59340,7 +59378,7 @@ const NB = () => {
|
|
|
59340
59378
|
return /* @__PURE__ */ g.jsx("section", { ref: ld, className: "size-full", children: /* @__PURE__ */ g.jsxs(
|
|
59341
59379
|
"div",
|
|
59342
59380
|
{
|
|
59343
|
-
className:
|
|
59381
|
+
className: oe(
|
|
59344
59382
|
lG,
|
|
59345
59383
|
{
|
|
59346
59384
|
"gap-3 pt-4": d && E.size > 0,
|
|
@@ -59351,12 +59389,12 @@ const NB = () => {
|
|
|
59351
59389
|
),
|
|
59352
59390
|
children: [
|
|
59353
59391
|
dd(),
|
|
59354
|
-
/* @__PURE__ */ g.jsxs("div", { className:
|
|
59392
|
+
/* @__PURE__ */ g.jsxs("div", { className: oe(cG, td), children: [
|
|
59355
59393
|
ba(),
|
|
59356
59394
|
/* @__PURE__ */ g.jsxs(
|
|
59357
59395
|
"div",
|
|
59358
59396
|
{
|
|
59359
|
-
className:
|
|
59397
|
+
className: oe(dG, {
|
|
59360
59398
|
"gap-3": ei
|
|
59361
59399
|
}),
|
|
59362
59400
|
children: [
|
|
@@ -59380,7 +59418,7 @@ const NB = () => {
|
|
|
59380
59418
|
{
|
|
59381
59419
|
role: "region",
|
|
59382
59420
|
"aria-label": "File Manager Grid View",
|
|
59383
|
-
className:
|
|
59421
|
+
className: oe(hG, "relative"),
|
|
59384
59422
|
onDragEnter: U,
|
|
59385
59423
|
onDragLeave: Me,
|
|
59386
59424
|
onDragOver: Kt,
|
|
@@ -59423,7 +59461,7 @@ const NB = () => {
|
|
|
59423
59461
|
onClose: I,
|
|
59424
59462
|
onConfirm: () => {
|
|
59425
59463
|
const ee = h?.destinationFolderPath ?? "/";
|
|
59426
|
-
Y === mt.Copy ?
|
|
59464
|
+
Y === mt.Copy ? ce(ee) : Oe(ee), I();
|
|
59427
59465
|
},
|
|
59428
59466
|
mode: Y,
|
|
59429
59467
|
items: i,
|
|
@@ -59492,7 +59530,7 @@ const NB = () => {
|
|
|
59492
59530
|
]
|
|
59493
59531
|
}
|
|
59494
59532
|
) });
|
|
59495
|
-
},
|
|
59533
|
+
}, RV = (e, t = pr.MyFiles) => {
|
|
59496
59534
|
const i = Object.values(pr).includes(
|
|
59497
59535
|
t
|
|
59498
59536
|
) ? t : pr.MyFiles, [s, n] = M(i), o = (a) => {
|
|
@@ -59575,7 +59613,7 @@ function _B(e) {
|
|
|
59575
59613
|
const t = e.split(".");
|
|
59576
59614
|
return t.length > 1 ? t[t.length - 1] : "";
|
|
59577
59615
|
}
|
|
59578
|
-
function
|
|
59616
|
+
function FV(e, t = "Prompts", i = "prompts/public/", s = "root") {
|
|
59579
59617
|
const n = zB(e, s);
|
|
59580
59618
|
return [
|
|
59581
59619
|
{
|
|
@@ -59816,11 +59854,11 @@ const yg = ({
|
|
|
59816
59854
|
defaultExpanded: a = !0,
|
|
59817
59855
|
removeItemAriaLabel: l = "Remove item"
|
|
59818
59856
|
}) => {
|
|
59819
|
-
const [c, d] = M(a), u = n === 0, h = "rounded border border-secondary", p =
|
|
59857
|
+
const [c, d] = M(a), u = n === 0, h = "rounded border border-secondary", p = oe(
|
|
59820
59858
|
"flex items-center gap-2 cursor-pointer select-none transition-colors",
|
|
59821
59859
|
u ? "px-4 py-3 bg-layer-3 hover:bg-layer-4" : "px-3 py-2 bg-layer-4 hover:bg-layer-3",
|
|
59822
59860
|
c ? "rounded-t" : "rounded"
|
|
59823
|
-
), f =
|
|
59861
|
+
), f = oe(
|
|
59824
59862
|
"border-t border-secondary",
|
|
59825
59863
|
u ? "p-4" : "p-3"
|
|
59826
59864
|
);
|
|
@@ -59837,7 +59875,7 @@ const yg = ({
|
|
|
59837
59875
|
/* @__PURE__ */ g.jsx(
|
|
59838
59876
|
"span",
|
|
59839
59877
|
{
|
|
59840
|
-
className:
|
|
59878
|
+
className: oe(
|
|
59841
59879
|
"flex-1 truncate",
|
|
59842
59880
|
u ? "dial-small-semi-text text-primary" : "dial-small-text text-primary"
|
|
59843
59881
|
),
|
|
@@ -60629,7 +60667,7 @@ const yg = ({
|
|
|
60629
60667
|
] });
|
|
60630
60668
|
}
|
|
60631
60669
|
return l ? l(s, h, m) : m;
|
|
60632
|
-
},
|
|
60670
|
+
}, EV = ({
|
|
60633
60671
|
schema: e,
|
|
60634
60672
|
defaultValue: t,
|
|
60635
60673
|
texts: i,
|
|
@@ -60675,7 +60713,7 @@ const yg = ({
|
|
|
60675
60713
|
markTouched: b,
|
|
60676
60714
|
skipUntouched: h
|
|
60677
60715
|
},
|
|
60678
|
-
children: /* @__PURE__ */ g.jsx("div", { className:
|
|
60716
|
+
children: /* @__PURE__ */ g.jsx("div", { className: oe("flex flex-col gap-4", s), children: y.map(([S, F]) => {
|
|
60679
60717
|
const E = ze(F, e), T = E.title ?? F.title ?? xg(S), P = R.includes(S), A = m[S];
|
|
60680
60718
|
if (a === ml.Flat)
|
|
60681
60719
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -60734,7 +60772,7 @@ const yg = ({
|
|
|
60734
60772
|
);
|
|
60735
60773
|
};
|
|
60736
60774
|
export {
|
|
60737
|
-
|
|
60775
|
+
Ni as AlertVariant,
|
|
60738
60776
|
se as BASE_ICON_PROPS,
|
|
60739
60777
|
oi as BASE_ICON_SIZE,
|
|
60740
60778
|
Ge as ButtonAppearance,
|
|
@@ -60745,7 +60783,7 @@ export {
|
|
|
60745
60783
|
yH as DialAutocompleteInputValue,
|
|
60746
60784
|
aH as DialBreadcrumb,
|
|
60747
60785
|
Ya as DialBreadcrumbItem,
|
|
60748
|
-
|
|
60786
|
+
Ei as DialButton,
|
|
60749
60787
|
iv as DialButtonDropdown,
|
|
60750
60788
|
cc as DialCaptionText,
|
|
60751
60789
|
Bg as DialCheckbox,
|
|
@@ -60754,7 +60792,7 @@ export {
|
|
|
60754
60792
|
sR as DialConditionalResizableContainer,
|
|
60755
60793
|
wH as DialConfirmationPopup,
|
|
60756
60794
|
cB as DialDestinationFolderPopup,
|
|
60757
|
-
|
|
60795
|
+
lV as DialDraggableItem,
|
|
60758
60796
|
qt as DialDropdown,
|
|
60759
60797
|
bt as DialEllipsisTooltip,
|
|
60760
60798
|
lH as DialErrorButton,
|
|
@@ -60770,7 +60808,7 @@ export {
|
|
|
60770
60808
|
zb as DialFileResourceType,
|
|
60771
60809
|
Qh as DialFolderName,
|
|
60772
60810
|
Wh as DialFormItem,
|
|
60773
|
-
|
|
60811
|
+
bV as DialFormPopup,
|
|
60774
60812
|
Pb as DialGhostButton,
|
|
60775
60813
|
uH as DialGhostIconButton,
|
|
60776
60814
|
Sb as DialGrid,
|
|
@@ -60780,42 +60818,44 @@ export {
|
|
|
60780
60818
|
SH as DialInputPopup,
|
|
60781
60819
|
gi as DialItemType,
|
|
60782
60820
|
Po as DialLabel,
|
|
60783
|
-
|
|
60784
|
-
|
|
60821
|
+
aV as DialLabelledText,
|
|
60822
|
+
uV as DialLinkButton,
|
|
60785
60823
|
oG as DialLoadFileArea,
|
|
60786
|
-
|
|
60824
|
+
yV as DialLoadFileAreaField,
|
|
60787
60825
|
dc as DialLoader,
|
|
60788
60826
|
rs as DialNeutralButton,
|
|
60789
|
-
|
|
60827
|
+
gV as DialNeutralIconButton,
|
|
60790
60828
|
uc as DialNoDataContent,
|
|
60791
60829
|
Xm as DialNumberInput,
|
|
60792
60830
|
LH as DialPasswordInput,
|
|
60793
60831
|
No as DialPopup,
|
|
60794
60832
|
ts as DialPrimaryButton,
|
|
60795
|
-
|
|
60833
|
+
pV as DialPrimaryIconButton,
|
|
60796
60834
|
to as DialRadioButton,
|
|
60797
60835
|
xu as DialRadioGroup,
|
|
60798
|
-
|
|
60836
|
+
wV as DialRadioGroupPopupField,
|
|
60799
60837
|
hg as DialRemoveButton,
|
|
60800
60838
|
iR as DialResizableContainer,
|
|
60801
|
-
|
|
60839
|
+
hV as DialRoundedButton,
|
|
60840
|
+
EV as DialSchemaRenderer,
|
|
60802
60841
|
Mb as DialSearch,
|
|
60803
|
-
|
|
60842
|
+
fV as DialSecondaryIconButton,
|
|
60804
60843
|
Fo as DialSelect,
|
|
60805
|
-
|
|
60844
|
+
xV as DialSelectField,
|
|
60806
60845
|
xl as DialSharedEntityIndicator,
|
|
60807
60846
|
tr as DialSkeleton,
|
|
60808
60847
|
Eu as DialSkeletonAvatarShape,
|
|
60809
60848
|
el as DialSkeletonAvatarSize,
|
|
60810
60849
|
bi as DialSkeletonVariant,
|
|
60811
|
-
oV as
|
|
60812
|
-
|
|
60850
|
+
oV as DialSpinner,
|
|
60851
|
+
rV as DialSteps,
|
|
60852
|
+
vV as DialSuccessIconButton,
|
|
60813
60853
|
pg as DialSwitch,
|
|
60814
60854
|
JN as DialTabs,
|
|
60815
60855
|
cr as DialTag,
|
|
60816
60856
|
xH as DialTagInput,
|
|
60817
|
-
|
|
60818
|
-
|
|
60857
|
+
mV as DialTertiaryIconButton,
|
|
60858
|
+
CV as DialTextarea,
|
|
60819
60859
|
Qt as DialTooltip,
|
|
60820
60860
|
Hr as DropdownItemType,
|
|
60821
60861
|
ci as DropdownTrigger,
|
|
@@ -60829,7 +60869,7 @@ export {
|
|
|
60829
60869
|
Ze as JsonSchemaType,
|
|
60830
60870
|
MB as NAME_COLUMN,
|
|
60831
60871
|
Kb as NOT_ALLOWED_SPACES,
|
|
60832
|
-
|
|
60872
|
+
SV as NOT_ALLOWED_SPACES_REGEXP,
|
|
60833
60873
|
nB as NOT_ALLOWED_SYMBOLS,
|
|
60834
60874
|
rB as NOT_ALLOWED_SYMBOLS_REGEXP,
|
|
60835
60875
|
pi as PopupSize,
|
|
@@ -60845,9 +60885,9 @@ export {
|
|
|
60845
60885
|
fh as TabOrientation,
|
|
60846
60886
|
jh as TagVariant,
|
|
60847
60887
|
kB as UPDATED_AT_COLUMN,
|
|
60848
|
-
|
|
60849
|
-
|
|
60888
|
+
oe as mergeClasses,
|
|
60889
|
+
RV as useDialFileManagerTabs,
|
|
60850
60890
|
DB as useEditableItem,
|
|
60851
60891
|
NB as useFileManagerContext,
|
|
60852
|
-
|
|
60892
|
+
FV as wrapInRootFolder
|
|
60853
60893
|
};
|