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