@epam/ai-dial-ui-kit 0.5.0 → 0.6.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dial-ui-kit.cjs.js +10 -10
- package/dist/dial-ui-kit.es.js +612 -617
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m, jsxs as z, Fragment as Ve } from "react/jsx-runtime";
|
|
2
2
|
import ee from "classnames";
|
|
3
|
-
import { useFloating as
|
|
3
|
+
import { useFloating as id, offset as Vg, flip as zg, shift as Wg, arrow as fv, autoUpdate as _g, useHover as Ug, useFocus as mv, useDismiss as od, useRole as nd, useInteractions as rd, useMergeRefs as ad, FloatingPortal as ld, FloatingArrow as Cv, autoPlacement as vv, size as wv, useClick as bv, FloatingFocusManager as $g, FloatingOverlay as Sv } from "@floating-ui/react";
|
|
4
4
|
import * as be from "react";
|
|
5
|
-
import q, { createContext as ma, useState as I, useRef as L, useEffect as Se, useMemo as B, useContext as it, isValidElement as
|
|
6
|
-
import { IconInfoCircle as
|
|
7
|
-
import fw, { flushSync as mw, createPortal as
|
|
5
|
+
import q, { createContext as ma, useState as I, useRef as L, useEffect as Se, useMemo as B, useContext as it, isValidElement as cd, cloneElement as nc, useCallback as D, memo as mt, useLayoutEffect as jt, PureComponent as yv, Component as Rv, forwardRef as dd, useImperativeHandle as Fn, createElement as Zo, Suspense as xv, useId as ud, Children as Fv } from "react";
|
|
6
|
+
import { IconInfoCircle as hd, IconCircleCheck as Ev, IconAlertTriangle as Dv, IconAlertCircle as Pv, IconX as mo, IconMinus as Tv, IconCheck as jg, IconExclamationCircle as gd, IconClipboardX as Kg, IconChevronsLeft as Mv, IconChevronsRight as Iv, IconGripVertical as Av, IconFile as qg, IconFileTypeZip as kv, IconFileTypeXml as Lv, IconFileTypeXls as Ov, IconFileTypeVue as Nv, IconFileTypeTxt as Hv, IconFileTypeTsx as Gv, IconFileTypeTs as Bv, IconFileTypeSvg as Vv, IconFileTypeSql as zv, IconFileTypeRs as Wv, IconFileTypePpt as _v, IconFileTypePng as Uv, IconFileTypePhp as $v, IconFileTypePdf as jv, IconFileTypeJsx as Kv, IconFileTypeJs as qv, IconFileTypeJpg as Yv, IconFileTypeHtml as Zv, IconFileTypeDocx as Qv, IconFileTypeDoc as Xv, IconFileTypeCsv as Jv, IconFileTypeCss as ew, IconFileTypeBmp as tw, IconArrowUpRight as sw, IconFolder as pd, IconChevronLeft as iw, IconChevronRight as Yg, IconZoomCancel as ow, IconChevronDown as Ca, IconDotsVertical as En, IconDots as nw, IconTrashX as Dn, IconEyeOff as Zg, IconEye as Qg, IconSearch as rw, IconPlus as aw, IconChevronUp as lw, IconAlertCircleFilled as cw, IconCaretRightFilled as dw, IconArrowLeft as uw, IconFileZip as hw, IconCopyMinus as gw, IconFolderPlus as pw, IconCopy as fd, IconDownload as md, IconPencilMinus as Xg, IconCircleFilled as br } from "@tabler/icons-react";
|
|
7
|
+
import fw, { flushSync as mw, createPortal as Cd } from "react-dom";
|
|
8
8
|
const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "text-error dial-tiny mt-1", children: e }), ze = ({ icon: e, className: t }) => e ? /* @__PURE__ */ m("span", { className: ee("flex-shrink-0", t), children: e }) : null, Cw = 7, vw = 2, Jg = ma(null), ep = () => {
|
|
9
9
|
const e = it(Jg);
|
|
10
10
|
if (e == null)
|
|
@@ -17,7 +17,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
17
17
|
open: i,
|
|
18
18
|
onOpenChange: o
|
|
19
19
|
} = {}) => {
|
|
20
|
-
const [n, r] = I(e), a = L(null), l = i ?? n, c = o ?? r, d =
|
|
20
|
+
const [n, r] = I(e), a = L(null), l = i ?? n, c = o ?? r, d = id({
|
|
21
21
|
placement: t,
|
|
22
22
|
open: l,
|
|
23
23
|
onOpenChange: c,
|
|
@@ -41,7 +41,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
41
41
|
delay: { open: 500, close: 0 }
|
|
42
42
|
}), h = mv(d.context, {
|
|
43
43
|
enabled: i == null
|
|
44
|
-
}), g =
|
|
44
|
+
}), g = od(d.context), p = nd(d.context, { role: "tooltip" }), f = rd([u, h, g, p]);
|
|
45
45
|
return Se(() => {
|
|
46
46
|
if (!l) return;
|
|
47
47
|
const C = d.refs.reference.current;
|
|
@@ -70,8 +70,8 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
70
70
|
const s = ww(t);
|
|
71
71
|
return /* @__PURE__ */ m(Jg.Provider, { value: s, children: e });
|
|
72
72
|
}, sp = ({ style: e, ...t }) => {
|
|
73
|
-
const s = ep(), i = L(null), o =
|
|
74
|
-
return s.open ? /* @__PURE__ */ m(
|
|
73
|
+
const s = ep(), i = L(null), o = ad([s.refs.setFloating, i]);
|
|
74
|
+
return s.open ? /* @__PURE__ */ m(ld, { id: "tooltip-portal", children: /* @__PURE__ */ z(
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
77
|
ref: o,
|
|
@@ -104,11 +104,11 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
104
104
|
asChild: t = !1,
|
|
105
105
|
...s
|
|
106
106
|
}) => {
|
|
107
|
-
const i = ep(), o = t &&
|
|
107
|
+
const i = ep(), o = t && cd(e), n = o ? e.props?.ref : null, r = ad([
|
|
108
108
|
i.refs.setReference,
|
|
109
109
|
...n ? [n] : []
|
|
110
110
|
]);
|
|
111
|
-
return o ?
|
|
111
|
+
return o ? nc(
|
|
112
112
|
e,
|
|
113
113
|
i.getReferenceProps({
|
|
114
114
|
...e.props,
|
|
@@ -145,14 +145,14 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
145
145
|
children: t
|
|
146
146
|
}
|
|
147
147
|
)
|
|
148
|
-
] }),
|
|
148
|
+
] }), vd = "-", bw = (e) => {
|
|
149
149
|
const t = yw(e), {
|
|
150
150
|
conflictingClassGroups: s,
|
|
151
151
|
conflictingClassGroupModifiers: i
|
|
152
152
|
} = e;
|
|
153
153
|
return {
|
|
154
154
|
getClassGroupId: (r) => {
|
|
155
|
-
const a = r.split(
|
|
155
|
+
const a = r.split(vd);
|
|
156
156
|
return a[0] === "" && a.length !== 1 && a.shift(), op(a, t) || Sw(r);
|
|
157
157
|
},
|
|
158
158
|
getConflictingClassGroupIds: (r, a) => {
|
|
@@ -168,7 +168,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
168
168
|
return o;
|
|
169
169
|
if (t.validators.length === 0)
|
|
170
170
|
return;
|
|
171
|
-
const n = e.join(
|
|
171
|
+
const n = e.join(vd);
|
|
172
172
|
return t.validators.find(({
|
|
173
173
|
validator: r
|
|
174
174
|
}) => r(n))?.classGroupId;
|
|
@@ -187,9 +187,9 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
187
187
|
validators: []
|
|
188
188
|
};
|
|
189
189
|
for (const o in s)
|
|
190
|
-
|
|
190
|
+
rc(s[o], i, o, t);
|
|
191
191
|
return i;
|
|
192
|
-
},
|
|
192
|
+
}, rc = (e, t, s, i) => {
|
|
193
193
|
e.forEach((o) => {
|
|
194
194
|
if (typeof o == "string") {
|
|
195
195
|
const n = o === "" ? t : Tu(t, o);
|
|
@@ -198,7 +198,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
198
198
|
}
|
|
199
199
|
if (typeof o == "function") {
|
|
200
200
|
if (Rw(o)) {
|
|
201
|
-
|
|
201
|
+
rc(o(i), t, s, i);
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
t.validators.push({
|
|
@@ -208,12 +208,12 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
210
|
Object.entries(o).forEach(([n, r]) => {
|
|
211
|
-
|
|
211
|
+
rc(r, Tu(t, n), s, i);
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
}, Tu = (e, t) => {
|
|
215
215
|
let s = e;
|
|
216
|
-
return t.split(
|
|
216
|
+
return t.split(vd).forEach((i) => {
|
|
217
217
|
s.nextPart.has(i) || s.nextPart.set(i, {
|
|
218
218
|
nextPart: /* @__PURE__ */ new Map(),
|
|
219
219
|
validators: []
|
|
@@ -243,7 +243,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
243
243
|
s.has(n) ? s.set(n, r) : o(n, r);
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
},
|
|
246
|
+
}, ac = "!", lc = ":", Fw = lc.length, Ew = (e) => {
|
|
247
247
|
const {
|
|
248
248
|
prefix: t,
|
|
249
249
|
experimentalParseClassName: s
|
|
@@ -254,7 +254,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
254
254
|
for (let p = 0; p < o.length; p++) {
|
|
255
255
|
let f = o[p];
|
|
256
256
|
if (r === 0 && a === 0) {
|
|
257
|
-
if (f ===
|
|
257
|
+
if (f === lc) {
|
|
258
258
|
n.push(o.slice(l, p)), l = p + Fw;
|
|
259
259
|
continue;
|
|
260
260
|
}
|
|
@@ -274,7 +274,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
if (t) {
|
|
277
|
-
const o = t +
|
|
277
|
+
const o = t + lc, n = i;
|
|
278
278
|
i = (r) => r.startsWith(o) ? n(r.substring(o.length)) : {
|
|
279
279
|
isExternal: !0,
|
|
280
280
|
modifiers: [],
|
|
@@ -291,7 +291,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
return i;
|
|
294
|
-
}, Dw = (e) => e.endsWith(
|
|
294
|
+
}, Dw = (e) => e.endsWith(ac) ? e.substring(0, e.length - 1) : e.startsWith(ac) ? e.substring(1) : e, Pw = (e) => {
|
|
295
295
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((i) => [i, !0]));
|
|
296
296
|
return (i) => {
|
|
297
297
|
if (i.length <= 1)
|
|
@@ -339,7 +339,7 @@ const pi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
339
339
|
}
|
|
340
340
|
C = !1;
|
|
341
341
|
}
|
|
342
|
-
const w = n(h).join(":"), b = g ? w +
|
|
342
|
+
const w = n(h).join(":"), b = g ? w + ac : w, S = b + v;
|
|
343
343
|
if (r.includes(S))
|
|
344
344
|
continue;
|
|
345
345
|
r.push(S);
|
|
@@ -386,12 +386,12 @@ function kw(e, ...t) {
|
|
|
386
386
|
const tt = (e) => {
|
|
387
387
|
const t = (s) => s[e] || [];
|
|
388
388
|
return t.isThemeGetter = !0, t;
|
|
389
|
-
}, rp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ap = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Lw = /^\d+\/\d+$/, Ow = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Nw = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Hw = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Gw = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bw = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Li = (e) => Lw.test(e), Ee = (e) => !!e && !Number.isNaN(Number(e)), As = (e) => !!e && Number.isInteger(Number(e)),
|
|
389
|
+
}, rp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ap = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Lw = /^\d+\/\d+$/, Ow = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Nw = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Hw = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Gw = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bw = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Li = (e) => Lw.test(e), Ee = (e) => !!e && !Number.isNaN(Number(e)), As = (e) => !!e && Number.isInteger(Number(e)), cl = (e) => e.endsWith("%") && Ee(e.slice(0, -1)), ps = (e) => Ow.test(e), Vw = () => !0, zw = (e) => (
|
|
390
390
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
391
391
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
392
392
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
393
393
|
Nw.test(e) && !Hw.test(e)
|
|
394
|
-
), lp = () => !1, Ww = (e) => Gw.test(e), _w = (e) => Bw.test(e), Uw = (e) => !ae(e) && !le(e), $w = (e) => Co(e, up, lp), ae = (e) => rp.test(e), ei = (e) => Co(e, hp, zw),
|
|
394
|
+
), lp = () => !1, Ww = (e) => Gw.test(e), _w = (e) => Bw.test(e), Uw = (e) => !ae(e) && !le(e), $w = (e) => Co(e, up, lp), ae = (e) => rp.test(e), ei = (e) => Co(e, hp, zw), dl = (e) => Co(e, Zw, Ee), Mu = (e) => Co(e, cp, lp), jw = (e) => Co(e, dp, _w), Jn = (e) => Co(e, gp, Ww), le = (e) => ap.test(e), Vo = (e) => vo(e, hp), Kw = (e) => vo(e, Qw), Iu = (e) => vo(e, cp), qw = (e) => vo(e, up), Yw = (e) => vo(e, dp), er = (e) => vo(e, gp, !0), Co = (e, t, s) => {
|
|
395
395
|
const i = rp.exec(e);
|
|
396
396
|
return i ? i[1] ? t(i[1]) : s(i[2]) : !1;
|
|
397
397
|
}, vo = (e, t, s = !1) => {
|
|
@@ -424,7 +424,7 @@ const tt = (e) => {
|
|
|
424
424
|
repeat: ["", "x", "y", "space", "round"]
|
|
425
425
|
}], ie = () => ["auto", "cover", "contain", qw, $w, {
|
|
426
426
|
size: [le, ae]
|
|
427
|
-
}], te = () => [
|
|
427
|
+
}], te = () => [cl, Vo, ei], Z = () => [
|
|
428
428
|
// Deprecated since Tailwind CSS v4.0.0
|
|
429
429
|
"",
|
|
430
430
|
"none",
|
|
@@ -432,7 +432,7 @@ const tt = (e) => {
|
|
|
432
432
|
c,
|
|
433
433
|
le,
|
|
434
434
|
ae
|
|
435
|
-
], Q = () => ["", Ee, Vo, ei], ne = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [Ee,
|
|
435
|
+
], Q = () => ["", Ee, Vo, ei], ne = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [Ee, cl, Iu, Mu], k = () => [
|
|
436
436
|
// Deprecated since Tailwind CSS v4.0.0
|
|
437
437
|
"",
|
|
438
438
|
"none",
|
|
@@ -1149,14 +1149,14 @@ const tt = (e) => {
|
|
|
1149
1149
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1150
1150
|
*/
|
|
1151
1151
|
"font-weight": [{
|
|
1152
|
-
font: [i, le,
|
|
1152
|
+
font: [i, le, dl]
|
|
1153
1153
|
}],
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Font Stretch
|
|
1156
1156
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1157
1157
|
*/
|
|
1158
1158
|
"font-stretch": [{
|
|
1159
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1159
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", cl, ae]
|
|
1160
1160
|
}],
|
|
1161
1161
|
/**
|
|
1162
1162
|
* Font Family
|
|
@@ -1207,7 +1207,7 @@ const tt = (e) => {
|
|
|
1207
1207
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1208
1208
|
*/
|
|
1209
1209
|
"line-clamp": [{
|
|
1210
|
-
"line-clamp": [Ee, "none", le,
|
|
1210
|
+
"line-clamp": [Ee, "none", le, dl]
|
|
1211
1211
|
}],
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Line Height
|
|
@@ -2792,7 +2792,7 @@ const tt = (e) => {
|
|
|
2792
2792
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2793
2793
|
*/
|
|
2794
2794
|
"stroke-w": [{
|
|
2795
|
-
stroke: [Ee, Vo, ei,
|
|
2795
|
+
stroke: [Ee, Vo, ei, dl]
|
|
2796
2796
|
}],
|
|
2797
2797
|
/**
|
|
2798
2798
|
* Stroke
|
|
@@ -2893,7 +2893,7 @@ const wo = ({
|
|
|
2893
2893
|
o && /* @__PURE__ */ m($s, { tooltip: o, children: /* @__PURE__ */ m(
|
|
2894
2894
|
ze,
|
|
2895
2895
|
{
|
|
2896
|
-
icon: /* @__PURE__ */ m(
|
|
2896
|
+
icon: /* @__PURE__ */ m(hd, { size: 14, className: "text-secondary" })
|
|
2897
2897
|
}
|
|
2898
2898
|
) })
|
|
2899
2899
|
]
|
|
@@ -2944,7 +2944,7 @@ const e1 = {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
var _i = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(_i || {});
|
|
2946
2946
|
const t1 = (e) => ({
|
|
2947
|
-
info: /* @__PURE__ */ m(
|
|
2947
|
+
info: /* @__PURE__ */ m(hd, { ...e }),
|
|
2948
2948
|
error: /* @__PURE__ */ m(Pv, { ...e }),
|
|
2949
2949
|
warning: /* @__PURE__ */ m(Dv, { ...e }),
|
|
2950
2950
|
success: /* @__PURE__ */ m(Ev, { ...e })
|
|
@@ -3188,7 +3188,7 @@ const l1 = (e, t) => {
|
|
|
3188
3188
|
currentStep: s,
|
|
3189
3189
|
onChangeStep: i
|
|
3190
3190
|
}) => {
|
|
3191
|
-
const o = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny cursor-pointer dial-step", n = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", r = () => s === e.id && e.status === Vt.ERROR ? /* @__PURE__ */ m(
|
|
3191
|
+
const o = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny cursor-pointer dial-step", n = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", r = () => s === e.id && e.status === Vt.ERROR ? /* @__PURE__ */ m(gd, { stroke: 2, size: 16 }) : s !== e.id && e.status === Vt.VALID ? /* @__PURE__ */ m(jg, { stroke: 2, size: 16 }) : t + 1;
|
|
3192
3192
|
return /* @__PURE__ */ z(
|
|
3193
3193
|
"button",
|
|
3194
3194
|
{
|
|
@@ -3280,7 +3280,7 @@ var Vr = /* @__PURE__ */ ((e) => (e.Vertical = "vertical", e.Horizontal = "horiz
|
|
|
3280
3280
|
const h1 = "w-full flex", g1 = {
|
|
3281
3281
|
[Vr.Vertical]: "flex-col",
|
|
3282
3282
|
[Vr.Horizontal]: "flex-row items-end"
|
|
3283
|
-
},
|
|
3283
|
+
}, wd = ({
|
|
3284
3284
|
elementId: e,
|
|
3285
3285
|
label: t,
|
|
3286
3286
|
optional: s,
|
|
@@ -3374,7 +3374,7 @@ var ao = /* @__PURE__ */ ((e) => (e.Row = "Row", e.Column = "Column", e))(ao ||
|
|
|
3374
3374
|
const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
3375
3375
|
[ao.Column]: "flex-col gap-y-3",
|
|
3376
3376
|
[ao.Row]: "flex-row gap-x-6"
|
|
3377
|
-
},
|
|
3377
|
+
}, cc = ({
|
|
3378
3378
|
fieldTitle: e,
|
|
3379
3379
|
radioClassName: t,
|
|
3380
3380
|
containerClassName: s,
|
|
@@ -3393,7 +3393,7 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3393
3393
|
orientation: f,
|
|
3394
3394
|
onChange: C
|
|
3395
3395
|
}) => /* @__PURE__ */ m(
|
|
3396
|
-
|
|
3396
|
+
wd,
|
|
3397
3397
|
{
|
|
3398
3398
|
elementId: h,
|
|
3399
3399
|
label: e,
|
|
@@ -3454,7 +3454,7 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
)
|
|
3456
3456
|
}
|
|
3457
|
-
),
|
|
3457
|
+
), bd = ({
|
|
3458
3458
|
icon: e,
|
|
3459
3459
|
title: t,
|
|
3460
3460
|
description: s,
|
|
@@ -3489,7 +3489,7 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3489
3489
|
)
|
|
3490
3490
|
]
|
|
3491
3491
|
}
|
|
3492
|
-
),
|
|
3492
|
+
), ul = 48, C1 = ({
|
|
3493
3493
|
containerClassName: e,
|
|
3494
3494
|
children: t,
|
|
3495
3495
|
width: s = 280,
|
|
@@ -3503,7 +3503,7 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3503
3503
|
}) => {
|
|
3504
3504
|
const [d, u] = I(s), [h, g] = I(!0), p = B(() => typeof l == "boolean", [l]), f = p ? l : h;
|
|
3505
3505
|
Se(() => {
|
|
3506
|
-
p && u(l ? s :
|
|
3506
|
+
p && u(l ? s : ul);
|
|
3507
3507
|
}, [p, l, s]);
|
|
3508
3508
|
const C = ee([
|
|
3509
3509
|
"transform rotate-180 [writing-mode:tb-rl] py-4 px-3",
|
|
@@ -3515,10 +3515,10 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3515
3515
|
]), w = (b) => {
|
|
3516
3516
|
const S = !f;
|
|
3517
3517
|
if (p) {
|
|
3518
|
-
u(S ? s :
|
|
3518
|
+
u(S ? s : ul), c?.(S, b);
|
|
3519
3519
|
return;
|
|
3520
3520
|
}
|
|
3521
|
-
u(S ? s :
|
|
3521
|
+
u(S ? s : ul), g(S);
|
|
3522
3522
|
};
|
|
3523
3523
|
return /* @__PURE__ */ z(
|
|
3524
3524
|
"div",
|
|
@@ -3588,15 +3588,15 @@ const p1 = "flex", f1 = "pb-1 mt-2", m1 = {
|
|
|
3588
3588
|
]
|
|
3589
3589
|
}
|
|
3590
3590
|
);
|
|
3591
|
-
var
|
|
3591
|
+
var Sd = /* @__PURE__ */ ((e) => (e.Default = "default", e))(Sd || {});
|
|
3592
3592
|
const v1 = {
|
|
3593
|
-
[
|
|
3593
|
+
[Sd.Default]: "border-icon-secondary bg-layer-3"
|
|
3594
3594
|
// TODO: Add other variants here once they are finalized with the UI/UX team
|
|
3595
|
-
},
|
|
3595
|
+
}, yd = ({
|
|
3596
3596
|
tag: e,
|
|
3597
3597
|
className: t,
|
|
3598
3598
|
remove: s,
|
|
3599
|
-
variant: i =
|
|
3599
|
+
variant: i = Sd.Default,
|
|
3600
3600
|
iconBefore: o,
|
|
3601
3601
|
bordered: n = !0
|
|
3602
3602
|
}) => {
|
|
@@ -3822,10 +3822,10 @@ function P1(e, t) {
|
|
|
3822
3822
|
(s) => t.indexOf(s) > -1
|
|
3823
3823
|
);
|
|
3824
3824
|
}
|
|
3825
|
-
const
|
|
3825
|
+
const Rd = "dnd-core/INIT_COORDS", wa = "dnd-core/BEGIN_DRAG", xd = "dnd-core/PUBLISH_DRAG_SOURCE", ba = "dnd-core/HOVER", Sa = "dnd-core/DROP", ya = "dnd-core/END_DRAG";
|
|
3826
3826
|
function Ou(e, t) {
|
|
3827
3827
|
return {
|
|
3828
|
-
type:
|
|
3828
|
+
type: Rd,
|
|
3829
3829
|
payload: {
|
|
3830
3830
|
sourceClientOffset: t || null,
|
|
3831
3831
|
clientOffset: e || null
|
|
@@ -3833,7 +3833,7 @@ function Ou(e, t) {
|
|
|
3833
3833
|
};
|
|
3834
3834
|
}
|
|
3835
3835
|
const T1 = {
|
|
3836
|
-
type:
|
|
3836
|
+
type: Rd,
|
|
3837
3837
|
payload: {
|
|
3838
3838
|
clientOffset: null,
|
|
3839
3839
|
sourceClientOffset: null
|
|
@@ -3956,7 +3956,7 @@ function W1(e) {
|
|
|
3956
3956
|
function _1(e) {
|
|
3957
3957
|
xe(e.isDragging(), "Cannot call endDrag while not dragging.");
|
|
3958
3958
|
}
|
|
3959
|
-
function
|
|
3959
|
+
function dc(e, t) {
|
|
3960
3960
|
return t === null ? e === null : Array.isArray(e) ? e.some(
|
|
3961
3961
|
(s) => s === t
|
|
3962
3962
|
) : e === t;
|
|
@@ -3989,7 +3989,7 @@ function j1(e, t, s) {
|
|
|
3989
3989
|
function K1(e, t, s) {
|
|
3990
3990
|
for (let i = e.length - 1; i >= 0; i--) {
|
|
3991
3991
|
const o = e[i], n = t.getTargetType(o);
|
|
3992
|
-
|
|
3992
|
+
dc(n, s) || e.splice(i, 1);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
function q1(e, t, s) {
|
|
@@ -4001,7 +4001,7 @@ function Y1(e) {
|
|
|
4001
4001
|
return function() {
|
|
4002
4002
|
if (e.getMonitor().isDragging())
|
|
4003
4003
|
return {
|
|
4004
|
-
type:
|
|
4004
|
+
type: xd
|
|
4005
4005
|
};
|
|
4006
4006
|
};
|
|
4007
4007
|
}
|
|
@@ -4071,11 +4071,11 @@ function eb(e) {
|
|
|
4071
4071
|
const { clientOffset: t, initialClientOffset: s } = e;
|
|
4072
4072
|
return !t || !s ? null : Cp(t, s);
|
|
4073
4073
|
}
|
|
4074
|
-
const Jo = [],
|
|
4074
|
+
const Jo = [], Fd = [];
|
|
4075
4075
|
Jo.__IS_NONE__ = !0;
|
|
4076
|
-
|
|
4076
|
+
Fd.__IS_ALL__ = !0;
|
|
4077
4077
|
function tb(e, t) {
|
|
4078
|
-
return e === Jo ? !1 : e ===
|
|
4078
|
+
return e === Jo ? !1 : e === Fd || typeof t > "u" ? !0 : P1(t, e).length > 0;
|
|
4079
4079
|
}
|
|
4080
4080
|
class sb {
|
|
4081
4081
|
subscribeToStateChange(t, s = {}) {
|
|
@@ -4114,7 +4114,7 @@ class sb {
|
|
|
4114
4114
|
if (xe(s, `Expected to find a valid target. targetId=${t}`), !this.isDragging() || this.didDrop())
|
|
4115
4115
|
return !1;
|
|
4116
4116
|
const i = this.registry.getTargetType(t), o = this.getItemType();
|
|
4117
|
-
return
|
|
4117
|
+
return dc(i, o) && s.canDrop(this, t);
|
|
4118
4118
|
}
|
|
4119
4119
|
isDragging() {
|
|
4120
4120
|
return !!this.getItemType();
|
|
@@ -4137,7 +4137,7 @@ class sb {
|
|
|
4137
4137
|
if (!this.isDragging())
|
|
4138
4138
|
return !1;
|
|
4139
4139
|
const o = this.registry.getTargetType(t), n = this.getItemType();
|
|
4140
|
-
if (n && !
|
|
4140
|
+
if (n && !dc(o, n))
|
|
4141
4141
|
return !1;
|
|
4142
4142
|
const r = this.getTargetIds();
|
|
4143
4143
|
if (!r.length)
|
|
@@ -4307,10 +4307,10 @@ const bp = new nb(), lb = new ab(bp.registerPendingError);
|
|
|
4307
4307
|
function cb(e) {
|
|
4308
4308
|
bp.enqueueTask(lb.create(e));
|
|
4309
4309
|
}
|
|
4310
|
-
const
|
|
4310
|
+
const Ed = "dnd-core/ADD_SOURCE", Dd = "dnd-core/ADD_TARGET", Pd = "dnd-core/REMOVE_SOURCE", Ra = "dnd-core/REMOVE_TARGET";
|
|
4311
4311
|
function db(e) {
|
|
4312
4312
|
return {
|
|
4313
|
-
type:
|
|
4313
|
+
type: Ed,
|
|
4314
4314
|
payload: {
|
|
4315
4315
|
sourceId: e
|
|
4316
4316
|
}
|
|
@@ -4318,7 +4318,7 @@ function db(e) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
function ub(e) {
|
|
4320
4320
|
return {
|
|
4321
|
-
type:
|
|
4321
|
+
type: Dd,
|
|
4322
4322
|
payload: {
|
|
4323
4323
|
targetId: e
|
|
4324
4324
|
}
|
|
@@ -4326,7 +4326,7 @@ function ub(e) {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
function hb(e) {
|
|
4328
4328
|
return {
|
|
4329
|
-
type:
|
|
4329
|
+
type: Pd,
|
|
4330
4330
|
payload: {
|
|
4331
4331
|
sourceId: e
|
|
4332
4332
|
}
|
|
@@ -4346,10 +4346,10 @@ function pb(e) {
|
|
|
4346
4346
|
function fb(e) {
|
|
4347
4347
|
xe(typeof e.canDrop == "function", "Expected canDrop to be a function."), xe(typeof e.hover == "function", "Expected hover to be a function."), xe(typeof e.drop == "function", "Expected beginDrag to be a function.");
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4349
|
+
function uc(e, t) {
|
|
4350
4350
|
if (t && Array.isArray(e)) {
|
|
4351
4351
|
e.forEach(
|
|
4352
|
-
(s) =>
|
|
4352
|
+
(s) => uc(s, !1)
|
|
4353
4353
|
);
|
|
4354
4354
|
return;
|
|
4355
4355
|
}
|
|
@@ -4397,12 +4397,12 @@ function Gu(e, t) {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
class wb {
|
|
4399
4399
|
addSource(t, s) {
|
|
4400
|
-
|
|
4400
|
+
uc(t), pb(s);
|
|
4401
4401
|
const i = this.addHandler(Ht.SOURCE, t, s);
|
|
4402
4402
|
return this.store.dispatch(db(i)), i;
|
|
4403
4403
|
}
|
|
4404
4404
|
addTarget(t, s) {
|
|
4405
|
-
|
|
4405
|
+
uc(t, !0), fb(s);
|
|
4406
4406
|
const i = this.addHandler(Ht.TARGET, t, s);
|
|
4407
4407
|
return this.store.dispatch(ub(i)), i;
|
|
4408
4408
|
}
|
|
@@ -4466,17 +4466,17 @@ function Rb(e = Jo, t) {
|
|
|
4466
4466
|
switch (t.type) {
|
|
4467
4467
|
case ba:
|
|
4468
4468
|
break;
|
|
4469
|
+
case Ed:
|
|
4469
4470
|
case Dd:
|
|
4470
|
-
case Pd:
|
|
4471
4471
|
case Ra:
|
|
4472
|
-
case
|
|
4472
|
+
case Pd:
|
|
4473
4473
|
return Jo;
|
|
4474
4474
|
case wa:
|
|
4475
|
-
case
|
|
4475
|
+
case xd:
|
|
4476
4476
|
case ya:
|
|
4477
4477
|
case Sa:
|
|
4478
4478
|
default:
|
|
4479
|
-
return
|
|
4479
|
+
return Fd;
|
|
4480
4480
|
}
|
|
4481
4481
|
const { targetIds: s = [], prevTargetIds: i = [] } = t.payload, o = D1(s, i);
|
|
4482
4482
|
if (!(o.length > 0 || !yb(s, i)))
|
|
@@ -4511,7 +4511,7 @@ const Bu = {
|
|
|
4511
4511
|
function Eb(e = Bu, t) {
|
|
4512
4512
|
const { payload: s } = t;
|
|
4513
4513
|
switch (t.type) {
|
|
4514
|
-
case
|
|
4514
|
+
case Rd:
|
|
4515
4515
|
case wa:
|
|
4516
4516
|
return {
|
|
4517
4517
|
initialSourceClientOffset: s.sourceClientOffset,
|
|
@@ -4569,7 +4569,7 @@ function Tb(e = Pb, t) {
|
|
|
4569
4569
|
dropResult: null,
|
|
4570
4570
|
didDrop: !1
|
|
4571
4571
|
});
|
|
4572
|
-
case
|
|
4572
|
+
case xd:
|
|
4573
4573
|
return Ni({}, e, {
|
|
4574
4574
|
isSourcePublic: !0
|
|
4575
4575
|
});
|
|
@@ -4603,10 +4603,10 @@ function Tb(e = Pb, t) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
function Mb(e = 0, t) {
|
|
4605
4605
|
switch (t.type) {
|
|
4606
|
+
case Ed:
|
|
4606
4607
|
case Dd:
|
|
4607
|
-
case Pd:
|
|
4608
4608
|
return e + 1;
|
|
4609
|
-
case
|
|
4609
|
+
case Pd:
|
|
4610
4610
|
case Ra:
|
|
4611
4611
|
return e - 1;
|
|
4612
4612
|
default:
|
|
@@ -4722,9 +4722,9 @@ function Sp() {
|
|
|
4722
4722
|
function Wb(e) {
|
|
4723
4723
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4724
4724
|
}
|
|
4725
|
-
var
|
|
4725
|
+
var hl, zu;
|
|
4726
4726
|
function _b() {
|
|
4727
|
-
return zu || (zu = 1,
|
|
4727
|
+
return zu || (zu = 1, hl = function e(t, s) {
|
|
4728
4728
|
if (t === s) return !0;
|
|
4729
4729
|
if (t && s && typeof t == "object" && typeof s == "object") {
|
|
4730
4730
|
if (t.constructor !== s.constructor) return !1;
|
|
@@ -4748,7 +4748,7 @@ function _b() {
|
|
|
4748
4748
|
return !0;
|
|
4749
4749
|
}
|
|
4750
4750
|
return t !== t && s !== s;
|
|
4751
|
-
}),
|
|
4751
|
+
}), hl;
|
|
4752
4752
|
}
|
|
4753
4753
|
var Ub = _b();
|
|
4754
4754
|
const $b = /* @__PURE__ */ Wb(Ub), fi = typeof window < "u" ? jt : Se;
|
|
@@ -4812,7 +4812,7 @@ function Yb(e) {
|
|
|
4812
4812
|
]
|
|
4813
4813
|
);
|
|
4814
4814
|
}
|
|
4815
|
-
let
|
|
4815
|
+
let gl = !1, pl = !1;
|
|
4816
4816
|
class Zb {
|
|
4817
4817
|
receiveHandlerId(t) {
|
|
4818
4818
|
this.sourceId = t;
|
|
@@ -4821,21 +4821,21 @@ class Zb {
|
|
|
4821
4821
|
return this.sourceId;
|
|
4822
4822
|
}
|
|
4823
4823
|
canDrag() {
|
|
4824
|
-
xe(!
|
|
4824
|
+
xe(!gl, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
4825
4825
|
try {
|
|
4826
|
-
return
|
|
4826
|
+
return gl = !0, this.internalMonitor.canDragSource(this.sourceId);
|
|
4827
4827
|
} finally {
|
|
4828
|
-
|
|
4828
|
+
gl = !1;
|
|
4829
4829
|
}
|
|
4830
4830
|
}
|
|
4831
4831
|
isDragging() {
|
|
4832
4832
|
if (!this.sourceId)
|
|
4833
4833
|
return !1;
|
|
4834
|
-
xe(!
|
|
4834
|
+
xe(!pl, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
4835
4835
|
try {
|
|
4836
|
-
return
|
|
4836
|
+
return pl = !0, this.internalMonitor.isDraggingSource(this.sourceId);
|
|
4837
4837
|
} finally {
|
|
4838
|
-
|
|
4838
|
+
pl = !1;
|
|
4839
4839
|
}
|
|
4840
4840
|
}
|
|
4841
4841
|
subscribeToStateChange(t, s) {
|
|
@@ -4896,7 +4896,7 @@ class Zb {
|
|
|
4896
4896
|
this.sourceId = null, this.internalMonitor = t.getMonitor();
|
|
4897
4897
|
}
|
|
4898
4898
|
}
|
|
4899
|
-
let
|
|
4899
|
+
let fl = !1;
|
|
4900
4900
|
class Qb {
|
|
4901
4901
|
receiveHandlerId(t) {
|
|
4902
4902
|
this.targetId = t;
|
|
@@ -4910,11 +4910,11 @@ class Qb {
|
|
|
4910
4910
|
canDrop() {
|
|
4911
4911
|
if (!this.targetId)
|
|
4912
4912
|
return !1;
|
|
4913
|
-
xe(!
|
|
4913
|
+
xe(!fl, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
|
|
4914
4914
|
try {
|
|
4915
|
-
return
|
|
4915
|
+
return fl = !0, this.internalMonitor.canDropOnTarget(this.targetId);
|
|
4916
4916
|
} finally {
|
|
4917
|
-
|
|
4917
|
+
fl = !1;
|
|
4918
4918
|
}
|
|
4919
4919
|
}
|
|
4920
4920
|
isOver(t) {
|
|
@@ -4965,7 +4965,7 @@ function Jb(e, t, s) {
|
|
|
4965
4965
|
() => i.removeSource(o)
|
|
4966
4966
|
];
|
|
4967
4967
|
}
|
|
4968
|
-
function
|
|
4968
|
+
function hc(e, t, s, i) {
|
|
4969
4969
|
let o;
|
|
4970
4970
|
if (o !== void 0)
|
|
4971
4971
|
return !!o;
|
|
@@ -4987,7 +4987,7 @@ function gc(e, t, s, i) {
|
|
|
4987
4987
|
}
|
|
4988
4988
|
return !0;
|
|
4989
4989
|
}
|
|
4990
|
-
function
|
|
4990
|
+
function gc(e) {
|
|
4991
4991
|
return (
|
|
4992
4992
|
// eslint-disable-next-line no-prototype-builtins
|
|
4993
4993
|
e !== null && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current")
|
|
@@ -5001,7 +5001,7 @@ function e0(e) {
|
|
|
5001
5001
|
}
|
|
5002
5002
|
function t0(e) {
|
|
5003
5003
|
return (t = null, s = null) => {
|
|
5004
|
-
if (!
|
|
5004
|
+
if (!cd(t)) {
|
|
5005
5005
|
const n = t;
|
|
5006
5006
|
return e(n, s), n;
|
|
5007
5007
|
}
|
|
@@ -5026,11 +5026,11 @@ function Wu(e, t) {
|
|
|
5026
5026
|
}
|
|
5027
5027
|
function s0(e, t) {
|
|
5028
5028
|
const s = e.ref;
|
|
5029
|
-
return xe(typeof s != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), s ?
|
|
5029
|
+
return xe(typeof s != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), s ? nc(e, {
|
|
5030
5030
|
ref: (i) => {
|
|
5031
5031
|
Wu(s, i), Wu(t, i);
|
|
5032
5032
|
}
|
|
5033
|
-
}) :
|
|
5033
|
+
}) : nc(e, {
|
|
5034
5034
|
ref: t
|
|
5035
5035
|
});
|
|
5036
5036
|
}
|
|
@@ -5081,10 +5081,10 @@ class i0 {
|
|
|
5081
5081
|
return this.lastConnectedDragPreview !== this.dragPreview;
|
|
5082
5082
|
}
|
|
5083
5083
|
didDragSourceOptionsChange() {
|
|
5084
|
-
return !
|
|
5084
|
+
return !hc(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
|
|
5085
5085
|
}
|
|
5086
5086
|
didDragPreviewOptionsChange() {
|
|
5087
|
-
return !
|
|
5087
|
+
return !hc(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
|
|
5088
5088
|
}
|
|
5089
5089
|
disconnectDragSource() {
|
|
5090
5090
|
this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0);
|
|
@@ -5107,10 +5107,10 @@ class i0 {
|
|
|
5107
5107
|
constructor(t) {
|
|
5108
5108
|
this.hooks = xp({
|
|
5109
5109
|
dragSource: (s, i) => {
|
|
5110
|
-
this.clearDragSource(), this.dragSourceOptions = i || null,
|
|
5110
|
+
this.clearDragSource(), this.dragSourceOptions = i || null, gc(s) ? this.dragSourceRef = s : this.dragSourceNode = s, this.reconnectDragSource();
|
|
5111
5111
|
},
|
|
5112
5112
|
dragPreview: (s, i) => {
|
|
5113
|
-
this.clearDragPreview(), this.dragPreviewOptions = i || null,
|
|
5113
|
+
this.clearDragPreview(), this.dragPreviewOptions = i || null, gc(s) ? this.dragPreviewRef = s : this.dragPreviewNode = s, this.reconnectDragPreview();
|
|
5114
5114
|
}
|
|
5115
5115
|
}), this.handlerId = null, this.dragSourceRef = null, this.dragSourceOptionsInternal = null, this.dragPreviewRef = null, this.dragPreviewOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDragSource = null, this.lastConnectedDragSourceOptions = null, this.lastConnectedDragPreview = null, this.lastConnectedDragPreviewOptions = null, this.backend = t;
|
|
5116
5116
|
}
|
|
@@ -5147,7 +5147,7 @@ class o0 {
|
|
|
5147
5147
|
return this.lastConnectedDropTarget !== this.dropTarget;
|
|
5148
5148
|
}
|
|
5149
5149
|
didOptionsChange() {
|
|
5150
|
-
return !
|
|
5150
|
+
return !hc(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
|
|
5151
5151
|
}
|
|
5152
5152
|
disconnectDropTarget() {
|
|
5153
5153
|
this.unsubscribeDropTarget && (this.unsubscribeDropTarget(), this.unsubscribeDropTarget = void 0);
|
|
@@ -5161,7 +5161,7 @@ class o0 {
|
|
|
5161
5161
|
constructor(t) {
|
|
5162
5162
|
this.hooks = xp({
|
|
5163
5163
|
dropTarget: (s, i) => {
|
|
5164
|
-
this.clearDropTarget(), this.dropTargetOptions = i,
|
|
5164
|
+
this.clearDropTarget(), this.dropTargetOptions = i, gc(s) ? this.dropTargetRef = s : this.dropTargetNode = s, this.reconnect();
|
|
5165
5165
|
}
|
|
5166
5166
|
}), this.handlerId = null, this.dropTargetRef = null, this.dropTargetOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDropTarget = null, this.lastConnectedDropTargetOptions = null, this.backend = t;
|
|
5167
5167
|
}
|
|
@@ -5494,7 +5494,7 @@ const _u = "column", w0 = "flex items-center", b0 = "mr-3 cursor-move text-secon
|
|
|
5494
5494
|
}
|
|
5495
5495
|
)
|
|
5496
5496
|
}
|
|
5497
|
-
),
|
|
5497
|
+
), Td = ({
|
|
5498
5498
|
name: e,
|
|
5499
5499
|
className: t,
|
|
5500
5500
|
shared: s = !1,
|
|
@@ -5544,7 +5544,7 @@ const _u = "column", w0 = "flex items-center", b0 = "mr-3 cursor-move text-secon
|
|
|
5544
5544
|
const n = () => i ? /* @__PURE__ */ m(va, { size: o }) : /* @__PURE__ */ m(
|
|
5545
5545
|
ze,
|
|
5546
5546
|
{
|
|
5547
|
-
icon: /* @__PURE__ */ m(
|
|
5547
|
+
icon: /* @__PURE__ */ m(pd, { ...de, size: o }),
|
|
5548
5548
|
className: "inline-block align-middle"
|
|
5549
5549
|
}
|
|
5550
5550
|
);
|
|
@@ -5651,7 +5651,7 @@ var Wr = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(Wr ||
|
|
|
5651
5651
|
return Math.abs(r - e) < Math.abs(t[n] - e) ? a : n;
|
|
5652
5652
|
}, 0), o = Math.abs(t[i] - e);
|
|
5653
5653
|
return s === 0 || o < s ? t[i] : e;
|
|
5654
|
-
},
|
|
5654
|
+
}, ml = function(e) {
|
|
5655
5655
|
return e = e.toString(), e === "auto" || e.endsWith("px") || e.endsWith("%") || e.endsWith("vh") || e.endsWith("vw") || e.endsWith("vmax") || e.endsWith("vmin") ? e : "".concat(e, "px");
|
|
5656
5656
|
}, or = function(e, t, s, i) {
|
|
5657
5657
|
if (e && typeof e == "string") {
|
|
@@ -5800,8 +5800,8 @@ var Wr = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(Wr ||
|
|
|
5800
5800
|
var c = s.getParentSize(), d = Number(s.state[a].toString().replace("px", "")), u = d / c[a] * 100;
|
|
5801
5801
|
return "".concat(u, "%");
|
|
5802
5802
|
}
|
|
5803
|
-
return
|
|
5804
|
-
}, n = i && typeof i.width < "u" && !this.state.isResizing ?
|
|
5803
|
+
return ml(s.state[a]);
|
|
5804
|
+
}, n = i && typeof i.width < "u" && !this.state.isResizing ? ml(i.width) : o("width"), r = i && typeof i.height < "u" && !this.state.isResizing ? ml(i.height) : o("height");
|
|
5805
5805
|
return { width: n, height: r };
|
|
5806
5806
|
},
|
|
5807
5807
|
enumerable: !1,
|
|
@@ -6109,7 +6109,7 @@ const H0 = ({ side: e, className: t }) => {
|
|
|
6109
6109
|
]);
|
|
6110
6110
|
return /* @__PURE__ */ m(N0, { ref: C, ...b, children: /* @__PURE__ */ m("div", { className: "group flex size-full flex-col bg-layer-3 divide-y divide-tertiary transition-all", children: e }) });
|
|
6111
6111
|
}, V0 = ({ enabled: e = !0, children: t, ...s }) => e ? /* @__PURE__ */ m(B0, { ...s, children: t }) : t;
|
|
6112
|
-
var $t = /* @__PURE__ */ ((e) => (e.Default = "default", e.Text = "text", e.Circular = "circular", e.Rectangular = "rectangular", e))($t || {}), yr = /* @__PURE__ */ ((e) => (e.Small = "small", e.Default = "default", e.Large = "large", e))(yr || {}),
|
|
6112
|
+
var $t = /* @__PURE__ */ ((e) => (e.Default = "default", e.Text = "text", e.Circular = "circular", e.Rectangular = "rectangular", e))($t || {}), yr = /* @__PURE__ */ ((e) => (e.Small = "small", e.Default = "default", e.Large = "large", e))(yr || {}), pc = /* @__PURE__ */ ((e) => (e.Circle = "circle", e.Square = "square", e))(pc || {});
|
|
6113
6113
|
const z0 = (e) => {
|
|
6114
6114
|
if (typeof e == "number") return e;
|
|
6115
6115
|
switch (e) {
|
|
@@ -6150,14 +6150,14 @@ const z0 = (e) => {
|
|
|
6150
6150
|
), T = {};
|
|
6151
6151
|
return a && (T.width = typeof a == "number" ? `${a}px` : a), l && (T.height = typeof l == "number" ? `${l}px` : l), /* @__PURE__ */ m("div", { className: E, style: T, ...d });
|
|
6152
6152
|
}
|
|
6153
|
-
const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, C = typeof i == "object" ? i : {}, v = typeof t == "object" ? t : {}, w = z0(f.size), b = f.shape ??
|
|
6153
|
+
const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, C = typeof i == "object" ? i : {}, v = typeof t == "object" ? t : {}, w = z0(f.size), b = f.shape ?? pc.Circle, S = C.width ?? "38%", y = v.rows ?? 3, R = v.width, x = (E) => R ? Array.isArray(R) ? R[E] ?? "100%" : R : E === y - 1 ? "61%" : "100%";
|
|
6154
6154
|
return /* @__PURE__ */ z("div", { ...d, className: ge("flex gap-4", c), children: [
|
|
6155
6155
|
h && /* @__PURE__ */ m(
|
|
6156
6156
|
"div",
|
|
6157
6157
|
{
|
|
6158
6158
|
className: ge(
|
|
6159
6159
|
u,
|
|
6160
|
-
b ===
|
|
6160
|
+
b === pc.Circle ? "rounded-full" : "rounded",
|
|
6161
6161
|
"flex-shrink-0"
|
|
6162
6162
|
),
|
|
6163
6163
|
style: { width: w, height: w }
|
|
@@ -6271,7 +6271,7 @@ function J(e) {
|
|
|
6271
6271
|
function Ue(e) {
|
|
6272
6272
|
return !J(e);
|
|
6273
6273
|
}
|
|
6274
|
-
function
|
|
6274
|
+
function fc(e) {
|
|
6275
6275
|
return e != null && typeof e.toString == "function" ? e.toString() : null;
|
|
6276
6276
|
}
|
|
6277
6277
|
function un(e, t) {
|
|
@@ -6393,7 +6393,7 @@ function X0(e, t) {
|
|
|
6393
6393
|
function Ap(e, t) {
|
|
6394
6394
|
Qt(e, "hidden", t);
|
|
6395
6395
|
}
|
|
6396
|
-
function
|
|
6396
|
+
function mc(e, t) {
|
|
6397
6397
|
Xt(e, "expanded", t);
|
|
6398
6398
|
}
|
|
6399
6399
|
function J0(e, t) {
|
|
@@ -6438,7 +6438,7 @@ function lS(e, t) {
|
|
|
6438
6438
|
function Zu(e, t) {
|
|
6439
6439
|
Qt(e, "owns", t);
|
|
6440
6440
|
}
|
|
6441
|
-
function
|
|
6441
|
+
function xa(e, t) {
|
|
6442
6442
|
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
|
|
6443
6443
|
}
|
|
6444
6444
|
var cS = "[tabindex], input, select, button, textarea, [href]", Np = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
|
|
@@ -6596,9 +6596,9 @@ function Ps(e, t) {
|
|
|
6596
6596
|
const s = Pp(e);
|
|
6597
6597
|
s.requestAnimationFrame ? s.requestAnimationFrame(t) : s.webkitRequestAnimationFrame ? s.webkitRequestAnimationFrame(t) : s.setTimeout(t, 0);
|
|
6598
6598
|
}
|
|
6599
|
-
var zp = "data-ref",
|
|
6599
|
+
var zp = "data-ref", Cl;
|
|
6600
6600
|
function Qu() {
|
|
6601
|
-
return
|
|
6601
|
+
return Cl ?? (Cl = document.createTextNode(" ")), Cl.cloneNode();
|
|
6602
6602
|
}
|
|
6603
6603
|
function Pn(e) {
|
|
6604
6604
|
const { attrs: t, children: s, cls: i, ref: o, role: n, tag: r } = e, a = document.createElement(r);
|
|
@@ -6615,7 +6615,7 @@ function Pn(e) {
|
|
|
6615
6615
|
}
|
|
6616
6616
|
return a;
|
|
6617
6617
|
}
|
|
6618
|
-
var uS = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], hS = ["wheel"],
|
|
6618
|
+
var uS = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], hS = ["wheel"], vl = {}, Wp = /* @__PURE__ */ (() => {
|
|
6619
6619
|
const e = {
|
|
6620
6620
|
select: "input",
|
|
6621
6621
|
change: "input",
|
|
@@ -6626,10 +6626,10 @@ var uS = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], hS =
|
|
|
6626
6626
|
abort: "img"
|
|
6627
6627
|
};
|
|
6628
6628
|
return (s) => {
|
|
6629
|
-
if (typeof
|
|
6630
|
-
return
|
|
6629
|
+
if (typeof vl[s] == "boolean")
|
|
6630
|
+
return vl[s];
|
|
6631
6631
|
const i = document.createElement(e[s] || "div");
|
|
6632
|
-
return s = "on" + s,
|
|
6632
|
+
return s = "on" + s, vl[s] = s in i;
|
|
6633
6633
|
};
|
|
6634
6634
|
})();
|
|
6635
6635
|
function gS(e, t) {
|
|
@@ -6895,7 +6895,7 @@ var FS = {
|
|
|
6895
6895
|
pending: !1,
|
|
6896
6896
|
funcs: []
|
|
6897
6897
|
};
|
|
6898
|
-
function
|
|
6898
|
+
function Cc(e, t = "setTimeout", s) {
|
|
6899
6899
|
const i = t === "raf" ? ES : FS;
|
|
6900
6900
|
if (i.funcs.push(e), i.pending)
|
|
6901
6901
|
return;
|
|
@@ -7206,7 +7206,7 @@ function mn(e, t, s = !1) {
|
|
|
7206
7206
|
function AS(e) {
|
|
7207
7207
|
delete li[e];
|
|
7208
7208
|
}
|
|
7209
|
-
function
|
|
7209
|
+
function vc(e, t, s) {
|
|
7210
7210
|
const i = (o) => !!Kr[o]?.[e] || !!li[t]?.[o]?.[e];
|
|
7211
7211
|
return i(s) || i("all");
|
|
7212
7212
|
}
|
|
@@ -7278,12 +7278,12 @@ function WS(e) {
|
|
|
7278
7278
|
function qr(e) {
|
|
7279
7279
|
return e === void 0 ? "undefined" : e === null ? "null" : e;
|
|
7280
7280
|
}
|
|
7281
|
-
function
|
|
7281
|
+
function wc(e, t) {
|
|
7282
7282
|
return `${e}?${t.toString()}`;
|
|
7283
7283
|
}
|
|
7284
7284
|
function _S(e, t, s) {
|
|
7285
7285
|
const i = Array.from(t.entries()).sort((n, r) => r[1].length - n[1].length);
|
|
7286
|
-
let o =
|
|
7286
|
+
let o = wc(e, t);
|
|
7287
7287
|
for (const [n, r] of i) {
|
|
7288
7288
|
if (n === Xp)
|
|
7289
7289
|
continue;
|
|
@@ -7291,7 +7291,7 @@ function _S(e, t, s) {
|
|
|
7291
7291
|
if (a <= 0)
|
|
7292
7292
|
break;
|
|
7293
7293
|
const l = "...", c = a + l.length, d = r.length - c > sh ? r.slice(0, r.length - c) + l : r.slice(0, sh) + l;
|
|
7294
|
-
t.set(n, d), o =
|
|
7294
|
+
t.set(n, d), o = wc(e, t);
|
|
7295
7295
|
}
|
|
7296
7296
|
return o;
|
|
7297
7297
|
}
|
|
@@ -7300,7 +7300,7 @@ function tf(e, t) {
|
|
|
7300
7300
|
if (s.append(Xp, X), t)
|
|
7301
7301
|
for (const n of Object.keys(t))
|
|
7302
7302
|
s.append(n, WS(t[n]));
|
|
7303
|
-
const i = `${Yi}/errors/${e}`, o =
|
|
7303
|
+
const i = `${Yi}/errors/${e}`, o = wc(i, s);
|
|
7304
7304
|
return o.length <= th ? o : _S(i, s, th);
|
|
7305
7305
|
}
|
|
7306
7306
|
var US = (e, t, s) => {
|
|
@@ -7355,19 +7355,19 @@ function zs(e, t, s = !1, i) {
|
|
|
7355
7355
|
node: t,
|
|
7356
7356
|
data: t.data
|
|
7357
7357
|
}, c = o.getCallback("getRowHeight")(l);
|
|
7358
|
-
if (
|
|
7358
|
+
if (bc(c))
|
|
7359
7359
|
return c === 0 && W(23), { height: Math.max(1, c), estimated: !1 };
|
|
7360
7360
|
}
|
|
7361
7361
|
if (t.detail && o.get("masterDetail"))
|
|
7362
7362
|
return KS(o);
|
|
7363
7363
|
const r = o.get("rowHeight");
|
|
7364
|
-
return { height: r &&
|
|
7364
|
+
return { height: r && bc(r) ? r : i, estimated: !1 };
|
|
7365
7365
|
}
|
|
7366
7366
|
function KS(e) {
|
|
7367
7367
|
if (e.get("detailRowAutoHeight"))
|
|
7368
7368
|
return { height: 1, estimated: !1 };
|
|
7369
7369
|
const t = e.get("detailRowHeight");
|
|
7370
|
-
return
|
|
7370
|
+
return bc(t) ? { height: t, estimated: !1 } : { height: 300, estimated: !1 };
|
|
7371
7371
|
}
|
|
7372
7372
|
function di(e) {
|
|
7373
7373
|
const { environment: t, gos: s } = e, i = s.get("rowHeight");
|
|
@@ -7376,7 +7376,7 @@ function di(e) {
|
|
|
7376
7376
|
const o = t.refreshRowHeightVariable();
|
|
7377
7377
|
return o !== -1 ? o : (W(24), t.getDefaultRowHeight());
|
|
7378
7378
|
}
|
|
7379
|
-
function
|
|
7379
|
+
function bc(e) {
|
|
7380
7380
|
return !isNaN(e) && typeof e == "number" && isFinite(e);
|
|
7381
7381
|
}
|
|
7382
7382
|
function nf(e, t, s) {
|
|
@@ -7397,7 +7397,7 @@ function rf(e) {
|
|
|
7397
7397
|
function rs(e) {
|
|
7398
7398
|
return !e.get("autoGroupColumnDef")?.comparator && !e.get("treeData");
|
|
7399
7399
|
}
|
|
7400
|
-
function
|
|
7400
|
+
function Sc(e) {
|
|
7401
7401
|
const t = e.get("groupAggFiltering");
|
|
7402
7402
|
if (typeof t == "function")
|
|
7403
7403
|
return e.getCallback("groupAggFiltering");
|
|
@@ -7438,7 +7438,7 @@ function Yr(e) {
|
|
|
7438
7438
|
if (typeof e == "object")
|
|
7439
7439
|
return e.checkboxLocation ?? "selectionColumn";
|
|
7440
7440
|
}
|
|
7441
|
-
function
|
|
7441
|
+
function wl(e) {
|
|
7442
7442
|
return e?.hideDisabledCheckboxes ?? !1;
|
|
7443
7443
|
}
|
|
7444
7444
|
function ZS(e) {
|
|
@@ -7464,7 +7464,7 @@ function XS(e) {
|
|
|
7464
7464
|
const t = df(e);
|
|
7465
7465
|
return t === !0 || t === "enableDeselection";
|
|
7466
7466
|
}
|
|
7467
|
-
function
|
|
7467
|
+
function yc(e) {
|
|
7468
7468
|
const t = e.get("rowSelection");
|
|
7469
7469
|
return typeof t == "string" ? e.get("isRowSelectable") : t?.isRowSelectable;
|
|
7470
7470
|
}
|
|
@@ -8102,7 +8102,7 @@ var cy = class {
|
|
|
8102
8102
|
this.existingKeys[e[t]] = !0;
|
|
8103
8103
|
}
|
|
8104
8104
|
getUniqueKey(e, t) {
|
|
8105
|
-
e =
|
|
8105
|
+
e = fc(e);
|
|
8106
8106
|
let s = 0;
|
|
8107
8107
|
for (; ; ) {
|
|
8108
8108
|
let i = e ?? t;
|
|
@@ -8146,7 +8146,7 @@ function rh(e, t, s) {
|
|
|
8146
8146
|
for (let i = t.length - 1; i >= 0; i--)
|
|
8147
8147
|
e.splice(s, 0, t[i]);
|
|
8148
8148
|
}
|
|
8149
|
-
var
|
|
8149
|
+
var Fa = "ag-Grid-AutoColumn", gf = "ag-Grid-SelectionColumn", pf = "ag-Grid-RowNumbersColumn";
|
|
8150
8150
|
function ff(e) {
|
|
8151
8151
|
const t = [], s = (i) => {
|
|
8152
8152
|
for (let o = 0; o < i.length; o++) {
|
|
@@ -8172,7 +8172,7 @@ function Jr(e, t, s) {
|
|
|
8172
8172
|
e.context.destroyBeans(o);
|
|
8173
8173
|
}
|
|
8174
8174
|
function _d(e) {
|
|
8175
|
-
return e.getId().startsWith(
|
|
8175
|
+
return e.getId().startsWith(Fa);
|
|
8176
8176
|
}
|
|
8177
8177
|
function Ts(e) {
|
|
8178
8178
|
return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(gf) ?? !1;
|
|
@@ -8265,10 +8265,10 @@ function Cy(e, t, s, i, o, n) {
|
|
|
8265
8265
|
r && i?.splice(r.idx, 1);
|
|
8266
8266
|
let a = r?.column;
|
|
8267
8267
|
if (a) {
|
|
8268
|
-
const l =
|
|
8268
|
+
const l = Rc(e, s, a.getColId());
|
|
8269
8269
|
a.setColDef(l, s, n), vy(e, a, l, n);
|
|
8270
8270
|
} else {
|
|
8271
|
-
const l = o.getUniqueKey(s.colId, s.field), c =
|
|
8271
|
+
const l = o.getUniqueKey(s.colId, s.field), c = Rc(e, s, l);
|
|
8272
8272
|
a = new Ei(c, s, l, t), e.context.createBean(a);
|
|
8273
8273
|
}
|
|
8274
8274
|
return e.dataTypeSvc?.addColumnListeners(a), a;
|
|
@@ -8317,7 +8317,7 @@ function wy(e, t) {
|
|
|
8317
8317
|
return { idx: s, column: t[s] };
|
|
8318
8318
|
}
|
|
8319
8319
|
}
|
|
8320
|
-
function
|
|
8320
|
+
function Rc(e, t, s, i) {
|
|
8321
8321
|
const { gos: o, dataTypeSvc: n } = e, r = {}, a = o.get("defaultColDef");
|
|
8322
8322
|
bt(r, a, !1, !0);
|
|
8323
8323
|
const l = by(e, r, t, s);
|
|
@@ -8481,7 +8481,7 @@ function Kt(e, t, s) {
|
|
|
8481
8481
|
const se = o?.columns.slice() ?? [], re = n?.columns.slice() ?? [];
|
|
8482
8482
|
for (const $ of y) {
|
|
8483
8483
|
const ie = $.colId;
|
|
8484
|
-
if (ie.startsWith(
|
|
8484
|
+
if (ie.startsWith(Fa)) {
|
|
8485
8485
|
P.push($), _.push($);
|
|
8486
8486
|
continue;
|
|
8487
8487
|
}
|
|
@@ -8672,7 +8672,7 @@ function Dy(e, t, s, i) {
|
|
|
8672
8672
|
const l = a.getColId();
|
|
8673
8673
|
if (n[l] != null)
|
|
8674
8674
|
continue;
|
|
8675
|
-
l.startsWith(
|
|
8675
|
+
l.startsWith(Fa) ? o.splice(r++, 0, a) : o.push(a);
|
|
8676
8676
|
}
|
|
8677
8677
|
if (o = vf(o, i), !wf(o, s.getColTree())) {
|
|
8678
8678
|
W(39);
|
|
@@ -9469,7 +9469,7 @@ function uR(e, t, s, i) {
|
|
|
9469
9469
|
function Pf(e, t) {
|
|
9470
9470
|
return Ef(e, t, Ud);
|
|
9471
9471
|
}
|
|
9472
|
-
function
|
|
9472
|
+
function bl(e, t, s) {
|
|
9473
9473
|
return e.mergeParams(t, Ud, s);
|
|
9474
9474
|
}
|
|
9475
9475
|
function vn(e) {
|
|
@@ -9515,28 +9515,28 @@ var M = {
|
|
|
9515
9515
|
const e = this.parentComponent;
|
|
9516
9516
|
e?.isAlive() && e.getGui().classList.remove("ag-has-popup"), super.destroy();
|
|
9517
9517
|
}
|
|
9518
|
-
}, yl, Rl, xl,
|
|
9518
|
+
}, Sl, yl, Rl, xl, xc, Fc, Fl;
|
|
9519
9519
|
function Ks() {
|
|
9520
|
-
return
|
|
9520
|
+
return Sl === void 0 && (Sl = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Sl;
|
|
9521
9521
|
}
|
|
9522
9522
|
function Tf() {
|
|
9523
|
-
return
|
|
9523
|
+
return yl === void 0 && (yl = /(firefox)/i.test(navigator.userAgent)), yl;
|
|
9524
9524
|
}
|
|
9525
9525
|
function Mf() {
|
|
9526
|
-
return
|
|
9526
|
+
return Rl === void 0 && (Rl = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), Rl;
|
|
9527
9527
|
}
|
|
9528
9528
|
function ui() {
|
|
9529
|
-
return
|
|
9529
|
+
return xl === void 0 && (xl = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), xl;
|
|
9530
9530
|
}
|
|
9531
|
-
function
|
|
9531
|
+
function Ec(e) {
|
|
9532
9532
|
if (!e)
|
|
9533
9533
|
return null;
|
|
9534
9534
|
const t = e.tabIndex, s = e.getAttribute("tabIndex");
|
|
9535
9535
|
return t === -1 && (s === null || s === "" && !Tf()) ? null : t.toString();
|
|
9536
9536
|
}
|
|
9537
9537
|
function gR() {
|
|
9538
|
-
if (
|
|
9539
|
-
return
|
|
9538
|
+
if (Fl !== void 0)
|
|
9539
|
+
return Fl;
|
|
9540
9540
|
if (!document.body)
|
|
9541
9541
|
return -1;
|
|
9542
9542
|
let e = 1e6;
|
|
@@ -9547,19 +9547,19 @@ function gR() {
|
|
|
9547
9547
|
break;
|
|
9548
9548
|
e = i;
|
|
9549
9549
|
}
|
|
9550
|
-
return s.remove(),
|
|
9550
|
+
return s.remove(), Fl = e, e;
|
|
9551
9551
|
}
|
|
9552
9552
|
function pR() {
|
|
9553
|
-
return
|
|
9553
|
+
return Fc == null && If(), Fc;
|
|
9554
9554
|
}
|
|
9555
9555
|
function If() {
|
|
9556
9556
|
const e = document.body, t = document.createElement("div");
|
|
9557
9557
|
t.style.width = t.style.height = "100px", t.style.opacity = "0", t.style.overflow = "scroll", t.style.msOverflowStyle = "scrollbar", t.style.position = "absolute", e.appendChild(t);
|
|
9558
9558
|
let s = t.offsetWidth - t.clientWidth;
|
|
9559
|
-
s === 0 && t.clientWidth === 0 && (s = null), t.parentNode && t.remove(), s != null && (
|
|
9559
|
+
s === 0 && t.clientWidth === 0 && (s = null), t.parentNode && t.remove(), s != null && (Fc = s, xc = s === 0);
|
|
9560
9560
|
}
|
|
9561
9561
|
function Af() {
|
|
9562
|
-
return
|
|
9562
|
+
return xc == null && If(), xc;
|
|
9563
9563
|
}
|
|
9564
9564
|
var jd = "T", fR = new RegExp(`[${jd} ]`), mR = new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${jd}\\d{2}:\\d{2}:\\d{2}\\D?)?`);
|
|
9565
9565
|
function as(e, t) {
|
|
@@ -9581,7 +9581,7 @@ function nr(e, t = !0) {
|
|
|
9581
9581
|
`:${as(e.getSeconds(), 2)}`
|
|
9582
9582
|
] : [e.getFullYear(), e.getMonth() + 1, as(e.getDate(), 2)].map(String) : null;
|
|
9583
9583
|
}
|
|
9584
|
-
var
|
|
9584
|
+
var El = (e) => {
|
|
9585
9585
|
if (e > 3 && e < 21)
|
|
9586
9586
|
return "th";
|
|
9587
9587
|
switch (e % 10) {
|
|
@@ -9606,8 +9606,8 @@ var Dl = (e) => {
|
|
|
9606
9606
|
"October",
|
|
9607
9607
|
"November",
|
|
9608
9608
|
"December"
|
|
9609
|
-
],
|
|
9610
|
-
function
|
|
9609
|
+
], Dl = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
9610
|
+
function Dc(e, t) {
|
|
9611
9611
|
if (t == null)
|
|
9612
9612
|
return Tt(e, !1);
|
|
9613
9613
|
const s = as(e.getFullYear(), 4), i = {
|
|
@@ -9617,15 +9617,15 @@ function Pc(e, t) {
|
|
|
9617
9617
|
MMMM: () => uh[e.getMonth()],
|
|
9618
9618
|
MMM: () => uh[e.getMonth()].slice(0, 3),
|
|
9619
9619
|
MM: () => as(e.getMonth() + 1, 2),
|
|
9620
|
-
Mo: () => `${e.getMonth() + 1}${
|
|
9620
|
+
Mo: () => `${e.getMonth() + 1}${El(e.getMonth() + 1)}`,
|
|
9621
9621
|
M: () => `${e.getMonth() + 1}`,
|
|
9622
|
-
Do: () => `${e.getDate()}${
|
|
9622
|
+
Do: () => `${e.getDate()}${El(e.getDate())}`,
|
|
9623
9623
|
DD: () => as(e.getDate(), 2),
|
|
9624
9624
|
D: () => `${e.getDate()}`,
|
|
9625
|
-
dddd: () =>
|
|
9626
|
-
ddd: () =>
|
|
9627
|
-
dd: () =>
|
|
9628
|
-
do: () => `${e.getDay()}${
|
|
9625
|
+
dddd: () => Dl[e.getDay()],
|
|
9626
|
+
ddd: () => Dl[e.getDay()].slice(0, 3),
|
|
9627
|
+
dd: () => Dl[e.getDay()].slice(0, 2),
|
|
9628
|
+
do: () => `${e.getDay()}${El(e.getDay())}`,
|
|
9629
9629
|
d: () => `${e.getDay()}`
|
|
9630
9630
|
}, o = new RegExp(Object.keys(i).join("|"), "g");
|
|
9631
9631
|
return t.replace(o, (n) => n in i ? i[n]() : n);
|
|
@@ -9665,7 +9665,7 @@ function Ft(e, t = !1, s) {
|
|
|
9665
9665
|
return null;
|
|
9666
9666
|
return c;
|
|
9667
9667
|
}
|
|
9668
|
-
function
|
|
9668
|
+
function Pc(e) {
|
|
9669
9669
|
const { inputValue: t, allSuggestions: s, hideIrrelevant: i, filterByPercentageOfBestMatch: o } = e;
|
|
9670
9670
|
let n = (s ?? []).map(
|
|
9671
9671
|
(l, c) => ({
|
|
@@ -9710,7 +9710,7 @@ function vR(e, t) {
|
|
|
9710
9710
|
function kf(e) {
|
|
9711
9711
|
return e.altKey || e.ctrlKey || e.metaKey ? !1 : e.key?.length === 1;
|
|
9712
9712
|
}
|
|
9713
|
-
var
|
|
9713
|
+
var Tc = !1, sa = 0;
|
|
9714
9714
|
function wR(e) {
|
|
9715
9715
|
sa > 0 || (e.addEventListener("keydown", ia), e.addEventListener("mousedown", ia));
|
|
9716
9716
|
}
|
|
@@ -9718,8 +9718,8 @@ function bR(e) {
|
|
|
9718
9718
|
sa > 0 || (e.removeEventListener("keydown", ia), e.removeEventListener("mousedown", ia));
|
|
9719
9719
|
}
|
|
9720
9720
|
function ia(e) {
|
|
9721
|
-
const t =
|
|
9722
|
-
s && (e.ctrlKey || e.metaKey || e.altKey) || t !== s && (
|
|
9721
|
+
const t = Tc, s = e.type === "keydown";
|
|
9722
|
+
s && (e.ctrlKey || e.metaKey || e.altKey) || t !== s && (Tc = s);
|
|
9723
9723
|
}
|
|
9724
9724
|
function SR(e) {
|
|
9725
9725
|
const t = nt(e);
|
|
@@ -9728,7 +9728,7 @@ function SR(e) {
|
|
|
9728
9728
|
};
|
|
9729
9729
|
}
|
|
9730
9730
|
function yR() {
|
|
9731
|
-
return
|
|
9731
|
+
return Tc;
|
|
9732
9732
|
}
|
|
9733
9733
|
function Ji(e, t, s = !1) {
|
|
9734
9734
|
const i = cS;
|
|
@@ -9754,9 +9754,9 @@ function Di(e, t, s, i) {
|
|
|
9754
9754
|
}
|
|
9755
9755
|
function Lf(e, t = 5) {
|
|
9756
9756
|
let s = 0;
|
|
9757
|
-
for (; e &&
|
|
9757
|
+
for (; e && Ec(e) === null && ++s <= t; )
|
|
9758
9758
|
e = e.parentElement;
|
|
9759
|
-
return
|
|
9759
|
+
return Ec(e) === null ? null : e;
|
|
9760
9760
|
}
|
|
9761
9761
|
var RR = (
|
|
9762
9762
|
/*css*/
|
|
@@ -10038,7 +10038,7 @@ var oi = class extends Of {
|
|
|
10038
10038
|
}
|
|
10039
10039
|
});
|
|
10040
10040
|
}
|
|
10041
|
-
},
|
|
10041
|
+
}, Ea = {
|
|
10042
10042
|
selector: "AG-INPUT-TEXT-FIELD",
|
|
10043
10043
|
component: Pi
|
|
10044
10044
|
}, DR = class extends oi {
|
|
@@ -10430,7 +10430,7 @@ var oi = class extends Of {
|
|
|
10430
10430
|
}
|
|
10431
10431
|
setupAria() {
|
|
10432
10432
|
const e = this.getAriaElement();
|
|
10433
|
-
e.setAttribute("tabindex", this.gos.get("tabIndex").toString()),
|
|
10433
|
+
e.setAttribute("tabindex", this.gos.get("tabIndex").toString()), mc(e, !1), this.ariaRole && Ci(e, this.ariaRole);
|
|
10434
10434
|
}
|
|
10435
10435
|
onLabelOrWrapperMouseDown(e) {
|
|
10436
10436
|
if (e) {
|
|
@@ -10524,7 +10524,7 @@ var oi = class extends Of {
|
|
|
10524
10524
|
if (!this.isAlive())
|
|
10525
10525
|
return;
|
|
10526
10526
|
const t = this.getAriaElement();
|
|
10527
|
-
|
|
10527
|
+
mc(t, e);
|
|
10528
10528
|
const s = this.eWrapper.classList;
|
|
10529
10529
|
s.toggle("ag-picker-expanded", e), s.toggle("ag-picker-collapsed", !e);
|
|
10530
10530
|
}
|
|
@@ -10866,7 +10866,7 @@ ${o}`;
|
|
|
10866
10866
|
"fontFamily",
|
|
10867
10867
|
"fontWeight",
|
|
10868
10868
|
"duration"
|
|
10869
|
-
], QR = KR((e) => (e = e.toLowerCase(), ZR.find((t) => e.endsWith(t.toLowerCase())) ?? "length")),
|
|
10869
|
+
], QR = KR((e) => (e = e.toLowerCase(), ZR.find((t) => e.endsWith(t.toLowerCase())) ?? "length")), Da = (e) => typeof e == "object" && e?.ref ? us(e.ref) : typeof e == "string" ? e : typeof e == "number" ? String(e) : !1, Xd = (e) => {
|
|
10870
10870
|
if (typeof e == "string")
|
|
10871
10871
|
return e;
|
|
10872
10872
|
if (e && "ref" in e) {
|
|
@@ -10874,23 +10874,23 @@ ${o}`;
|
|
|
10874
10874
|
return e.mix == null ? t : `color-mix(in srgb, ${e.onto ? us(e.onto) : "transparent"}, ${t} ${jR(e.mix * 100, 0, 100)}%)`;
|
|
10875
10875
|
}
|
|
10876
10876
|
return !1;
|
|
10877
|
-
}, XR =
|
|
10877
|
+
}, XR = Da, Ui = (e) => typeof e == "string" ? e : typeof e == "number" ? `${e}px` : e && "calc" in e ? `calc(${e.calc.replace(/ ?[*/+] ?/g, " $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi, (s) => s[0] === "-" ? s : " " + us(s) + " ")})` : e && "ref" in e ? us(e.ref) : !1, JR = Da, Mc = (e, t) => typeof e == "string" ? e : e === !0 ? Mc({}, t) : e === !1 ? t === "columnBorder" ? Mc({ color: "transparent" }, t) : "none" : e && "ref" in e ? us(e.ref) : Vf(e.style ?? "solid") + " " + Ui(e.width ?? { ref: "borderWidth" }) + " " + Xd(e.color ?? { ref: "borderColor" }), e2 = (e) => typeof e == "string" ? e : e === !1 ? "none" : e && "ref" in e ? us(e.ref) : [
|
|
10878
10878
|
Ui(e.offsetX ?? 0),
|
|
10879
10879
|
Ui(e.offsetY ?? 0),
|
|
10880
10880
|
Ui(e.radius ?? 0),
|
|
10881
10881
|
Ui(e.spread ?? 0),
|
|
10882
10882
|
Xd(e.color ?? { ref: "foregroundColor" })
|
|
10883
|
-
].join(" "), Vf =
|
|
10883
|
+
].join(" "), Vf = Da, zf = (e) => typeof e == "string" ? e.includes(",") ? e : gh(e) : e && "googleFont" in e ? zf(e.googleFont) : e && "ref" in e ? us(e.ref) : Array.isArray(e) ? e.map((t) => (typeof t == "object" && "googleFont" in t && (t = t.googleFont), gh(t))).join(", ") : !1, gh = (e) => (
|
|
10884
10884
|
// don't quote var() expressions or quote safe identifier names, so that
|
|
10885
10885
|
// people can specify fonts like sans-serif which are keywords not strings,
|
|
10886
10886
|
// or var(--my-var)
|
|
10887
10887
|
/^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
|
|
10888
|
-
), t2 =
|
|
10888
|
+
), t2 = Da, Wf = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? Wf({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? us(e.ref) : !1, s2 = (e, t, s) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && s.warn(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? us(e.ref) : !1, i2 = {
|
|
10889
10889
|
color: Xd,
|
|
10890
10890
|
colorScheme: XR,
|
|
10891
10891
|
length: Ui,
|
|
10892
10892
|
scale: JR,
|
|
10893
|
-
border:
|
|
10893
|
+
border: Mc,
|
|
10894
10894
|
borderStyle: Vf,
|
|
10895
10895
|
shadow: e2,
|
|
10896
10896
|
image: Wf,
|
|
@@ -11891,7 +11891,7 @@ ${n}}
|
|
|
11891
11891
|
}
|
|
11892
11892
|
shouldPreventMouseEvent(e) {
|
|
11893
11893
|
const t = e.type;
|
|
11894
|
-
return (t === "mousemove" || t === "pointermove") && e.cancelable && fn(this.beans, e) && !tn(
|
|
11894
|
+
return (t === "mousemove" || t === "pointermove") && e.cancelable && fn(this.beans, e) && !tn(Tl(e));
|
|
11895
11895
|
}
|
|
11896
11896
|
initDrag(e, ...t) {
|
|
11897
11897
|
this.drag = e;
|
|
@@ -11921,10 +11921,10 @@ ${n}}
|
|
|
11921
11921
|
if ($i?.has(t))
|
|
11922
11922
|
return;
|
|
11923
11923
|
const i = t.pointerType;
|
|
11924
|
-
if (i === "touch" && (s.gos.get("suppressTouch") || !e.includeTouch || (e.stopPropagationForTouch && t.stopPropagation(), tn(
|
|
11924
|
+
if (i === "touch" && (s.gos.get("suppressTouch") || !e.includeTouch || (e.stopPropagationForTouch && t.stopPropagation(), tn(Tl(t)))) || !t.isPrimary || i === "mouse" && t.button !== 0)
|
|
11925
11925
|
return;
|
|
11926
11926
|
this.destroyDrag();
|
|
11927
|
-
const o = os(s), n = e.eElement, r = t.pointerId, a = new
|
|
11927
|
+
const o = os(s), n = e.eElement, r = t.pointerId, a = new Pl(o, e, t, r);
|
|
11928
11928
|
Gi ?? (Gi = /* @__PURE__ */ new WeakMap()), Gi.set(o, a);
|
|
11929
11929
|
const l = (u) => {
|
|
11930
11930
|
u.pointerId === r && this.onMouseOrPointerMove(u);
|
|
@@ -11944,14 +11944,14 @@ ${n}}
|
|
|
11944
11944
|
}
|
|
11945
11945
|
// gets called whenever mouse down on any drag source
|
|
11946
11946
|
onTouchStart(e, t) {
|
|
11947
|
-
if (this.gos.get("suppressTouch") || !e.includeTouch || !fs(t) || tn(
|
|
11947
|
+
if (this.gos.get("suppressTouch") || !e.includeTouch || !fs(t) || tn(Tl(t)))
|
|
11948
11948
|
return;
|
|
11949
11949
|
if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
|
|
11950
11950
|
Ns(t);
|
|
11951
11951
|
return;
|
|
11952
11952
|
}
|
|
11953
11953
|
this.destroyDrag();
|
|
11954
|
-
const i = this.beans, o = os(i), n = new
|
|
11954
|
+
const i = this.beans, o = os(i), n = new Pl(o, e, t.touches[0]), r = (c) => this.onTouchMove(c), a = (c) => this.onTouchUp(c), l = t.target ?? e.eElement;
|
|
11955
11955
|
this.initDrag(
|
|
11956
11956
|
n,
|
|
11957
11957
|
[os(i), "touchmove", Ns, { passive: !1 }],
|
|
@@ -11966,7 +11966,7 @@ ${n}}
|
|
|
11966
11966
|
return;
|
|
11967
11967
|
const s = this.beans;
|
|
11968
11968
|
this.destroyDrag();
|
|
11969
|
-
const i = new
|
|
11969
|
+
const i = new Pl(os(s), e, t), o = (a) => this.onMouseOrPointerMove(a), n = (a) => this.onMouseOrPointerUp(a), r = os(s);
|
|
11970
11970
|
this.initDrag(i, [r, "mousemove", o], [r, "mouseup", n]), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : fs(t);
|
|
11971
11971
|
}
|
|
11972
11972
|
onScroll(e) {
|
|
@@ -12027,11 +12027,11 @@ ${n}}
|
|
|
12027
12027
|
const s = e.params.eElement.style;
|
|
12028
12028
|
s && (s.touchAction = t);
|
|
12029
12029
|
}
|
|
12030
|
-
},
|
|
12030
|
+
}, Pl = class {
|
|
12031
12031
|
constructor(e, t, s, i = null) {
|
|
12032
12032
|
this.rootEl = e, this.params = t, this.start = s, this.pointerId = i, this.handlers = [], this.lastDrag = null, this.pointerCapture = null, this.eElement = t.eElement;
|
|
12033
12033
|
}
|
|
12034
|
-
},
|
|
12034
|
+
}, Tl = (e) => {
|
|
12035
12035
|
const t = e.target;
|
|
12036
12036
|
return t instanceof Element ? t : null;
|
|
12037
12037
|
}, D2 = class extends hs {
|
|
@@ -12431,7 +12431,7 @@ var wn = class extends O {
|
|
|
12431
12431
|
}
|
|
12432
12432
|
this.dispatchLocalEvent({ type: "displayedChildrenChanged" });
|
|
12433
12433
|
}
|
|
12434
|
-
},
|
|
12434
|
+
}, Ic = "row-group-", Jd = "t-", eu = "b-", T2 = 0, Us = class {
|
|
12435
12435
|
constructor(e) {
|
|
12436
12436
|
this.master = !1, this.detail = void 0, this.rowIndex = null, this.key = null, this.sourceRowIndex = -1, this._leafs = void 0, this.childrenMapped = null, this.treeParent = null, this.treeNodeFlags = 0, this.displayed = !1, this.rowTop = null, this.oldRowTop = null, this.selectable = !0, this.__objectId = T2++, this.alreadyRendered = !1, this.hovered = !1, this.__selected = !1, this.beans = e;
|
|
12437
12437
|
}
|
|
@@ -12510,8 +12510,8 @@ var wn = class extends O {
|
|
|
12510
12510
|
parentKeys: s.length > 0 ? s : void 0,
|
|
12511
12511
|
level: this.level,
|
|
12512
12512
|
rowPinned: this.rowPinned
|
|
12513
|
-
}), this.id.startsWith(
|
|
12514
|
-
groupPrefix:
|
|
12513
|
+
}), this.id.startsWith(Ic) && ke(14, {
|
|
12514
|
+
groupPrefix: Ic
|
|
12515
12515
|
});
|
|
12516
12516
|
} else
|
|
12517
12517
|
this.id = void 0;
|
|
@@ -12980,9 +12980,9 @@ function Gs(e, t, s) {
|
|
|
12980
12980
|
}
|
|
12981
12981
|
function tu(e, t) {
|
|
12982
12982
|
const { debounceMs: s } = e;
|
|
12983
|
-
return
|
|
12983
|
+
return Pa(e) ? (s != null && W(71), 0) : s ?? t;
|
|
12984
12984
|
}
|
|
12985
|
-
function
|
|
12985
|
+
function Pa(e) {
|
|
12986
12986
|
return (e.buttons?.indexOf("apply") ?? -1) >= 0;
|
|
12987
12987
|
}
|
|
12988
12988
|
var G2 = class extends Ke {
|
|
@@ -13034,7 +13034,7 @@ var G2 = class extends Ke {
|
|
|
13034
13034
|
const h = `${u}Filter`;
|
|
13035
13035
|
return { type: u, label: Gs(this, h) };
|
|
13036
13036
|
});
|
|
13037
|
-
if (this.applyActive =
|
|
13037
|
+
if (this.applyActive = Pa(this.params), !c) {
|
|
13038
13038
|
c = this.createBean(new N2()), this.appendChild(c.getGui());
|
|
13039
13039
|
const u = this.column, h = (g) => ({ event: p }) => {
|
|
13040
13040
|
this.updateModel(u, g, { fromButtons: !0 }), this.afterAction(g, p);
|
|
@@ -13184,7 +13184,7 @@ function z2(e, t) {
|
|
|
13184
13184
|
function yh(e) {
|
|
13185
13185
|
return e instanceof Date && !isNaN(e.getTime());
|
|
13186
13186
|
}
|
|
13187
|
-
var
|
|
13187
|
+
var Ac = {
|
|
13188
13188
|
number: () => {
|
|
13189
13189
|
},
|
|
13190
13190
|
boolean: () => ({
|
|
@@ -13214,13 +13214,13 @@ var kc = {
|
|
|
13214
13214
|
},
|
|
13215
13215
|
isValidDate: (t) => typeof t == "string" && yh(e.dateParser(t))
|
|
13216
13216
|
}),
|
|
13217
|
-
dateTime: (e) =>
|
|
13218
|
-
dateTimeString: (e) =>
|
|
13217
|
+
dateTime: (e) => Ac.date(e),
|
|
13218
|
+
dateTimeString: (e) => Ac.dateString(e),
|
|
13219
13219
|
object: () => {
|
|
13220
13220
|
},
|
|
13221
13221
|
text: () => {
|
|
13222
13222
|
}
|
|
13223
|
-
},
|
|
13223
|
+
}, kc = {
|
|
13224
13224
|
number: () => ({ comparator: z2 }),
|
|
13225
13225
|
boolean: ({ t: e }) => ({
|
|
13226
13226
|
valueFormatter: (t) => J(t.value) ? e(String(t.value), t.value ? "True" : "False") : e("blanks", "(Blanks)")
|
|
@@ -13258,11 +13258,11 @@ var kc = {
|
|
|
13258
13258
|
}
|
|
13259
13259
|
}),
|
|
13260
13260
|
dateTime: (e) => {
|
|
13261
|
-
const t =
|
|
13261
|
+
const t = kc.date(e);
|
|
13262
13262
|
return t.treeListPathGetter = nr, t;
|
|
13263
13263
|
},
|
|
13264
13264
|
dateTimeString(e) {
|
|
13265
|
-
const t = e.dataTypeDefinition.dateParser, s =
|
|
13265
|
+
const t = e.dataTypeDefinition.dateParser, s = kc.dateString(e);
|
|
13266
13266
|
return s.treeListPathGetter = (i) => nr(t(i ?? void 0)), s;
|
|
13267
13267
|
},
|
|
13268
13268
|
object: ({ formatValue: e, t }) => ({
|
|
@@ -13278,7 +13278,7 @@ function W2(e, t, s, i, o, n, r) {
|
|
|
13278
13278
|
let a = t, l = s;
|
|
13279
13279
|
const c = e === "agSetColumnFilter";
|
|
13280
13280
|
!l && i.baseDataType === "object" && !c && (l = ({ column: g, node: p }) => o({ column: g, node: p, value: n.valueSvc.getValue(g, p) }));
|
|
13281
|
-
const u = (c ?
|
|
13281
|
+
const u = (c ? kc : Ac)[i.baseDataType], h = u({ dataTypeDefinition: i, formatValue: o, t: r });
|
|
13282
13282
|
return a = typeof t == "object" ? {
|
|
13283
13283
|
...h,
|
|
13284
13284
|
...t
|
|
@@ -13755,7 +13755,7 @@ var q2 = "ag-focus-managed", Ro = class extends O {
|
|
|
13755
13755
|
this.commonUpdateParams(e, t);
|
|
13756
13756
|
}
|
|
13757
13757
|
commonUpdateParams(e, t) {
|
|
13758
|
-
this.applyActive =
|
|
13758
|
+
this.applyActive = Pa(e), this.setupApplyDebounced();
|
|
13759
13759
|
}
|
|
13760
13760
|
/**
|
|
13761
13761
|
* @deprecated v34 Use the same method on the filter handler (`api.getColumnFilterHandler()`) instead.
|
|
@@ -13908,14 +13908,14 @@ var Mr = {
|
|
|
13908
13908
|
}, s = t.autoHeight ? Mr.AUTO_HEIGHT : t.print ? Mr.PRINT : Mr.NORMAL;
|
|
13909
13909
|
this.view.updateLayoutClasses(s, t);
|
|
13910
13910
|
}
|
|
13911
|
-
}, Os = "Viewport", Rh = "fakeVScrollComp",
|
|
13911
|
+
}, Os = "Viewport", Rh = "fakeVScrollComp", Ml = [
|
|
13912
13912
|
"fakeHScrollComp",
|
|
13913
13913
|
"centerHeader",
|
|
13914
13914
|
"topCenter",
|
|
13915
13915
|
"bottomCenter",
|
|
13916
13916
|
"stickyTopCenter",
|
|
13917
13917
|
"stickyBottomCenter"
|
|
13918
|
-
], xh = 100,
|
|
13918
|
+
], xh = 100, Il = 150, Q2 = class extends O {
|
|
13919
13919
|
constructor(e) {
|
|
13920
13920
|
super(), this.clearRetryListenerFncs = [], this.lastScrollSource = [null, null], this.scrollLeft = -1, this.nextScrollTop = -1, this.scrollTop = -1, this.lastOffsetHeight = -1, this.lastScrollTop = -1, this.lastIsHorizontalScrollShowing = !1, this.scrollTimer = 0, this.isScrollActive = !1, this.isVerticalPositionInvalidated = !0, this.isHorizontalPositionInvalidated = !0, this.eBodyViewport = e, this.resetLastHScrollDebounced = ct(
|
|
13921
13921
|
this,
|
|
@@ -13923,14 +13923,14 @@ var Mr = {
|
|
|
13923
13923
|
1
|
|
13924
13924
|
/* Horizontal */
|
|
13925
13925
|
] = null,
|
|
13926
|
-
|
|
13926
|
+
Il
|
|
13927
13927
|
), this.resetLastVScrollDebounced = ct(
|
|
13928
13928
|
this,
|
|
13929
13929
|
() => this.lastScrollSource[
|
|
13930
13930
|
0
|
|
13931
13931
|
/* Vertical */
|
|
13932
13932
|
] = null,
|
|
13933
|
-
|
|
13933
|
+
Il
|
|
13934
13934
|
);
|
|
13935
13935
|
}
|
|
13936
13936
|
wireBeans(e) {
|
|
@@ -13969,7 +13969,7 @@ var Mr = {
|
|
|
13969
13969
|
this.addManagedElementListeners(this.centerRowsCtrl.eViewport, {
|
|
13970
13970
|
scroll: this.onHScroll.bind(this, Os)
|
|
13971
13971
|
});
|
|
13972
|
-
for (const e of
|
|
13972
|
+
for (const e of Ml) {
|
|
13973
13973
|
const t = this.ctrlsSvc.get(e);
|
|
13974
13974
|
this.registerScrollPartner(t, this.onHScroll.bind(this, e));
|
|
13975
13975
|
}
|
|
@@ -13988,7 +13988,7 @@ var Mr = {
|
|
|
13988
13988
|
this.centerRowsCtrl != null && (e === void 0 && (e = this.centerRowsCtrl.getCenterViewportScrollLeft()), this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)));
|
|
13989
13989
|
}
|
|
13990
13990
|
setScrollLeftForAllContainersExceptCurrent(e) {
|
|
13991
|
-
for (const t of [...
|
|
13991
|
+
for (const t of [...Ml, Os]) {
|
|
13992
13992
|
if (this.lastScrollSource[
|
|
13993
13993
|
1
|
|
13994
13994
|
/* Horizontal */
|
|
@@ -14052,7 +14052,7 @@ var Mr = {
|
|
|
14052
14052
|
...t,
|
|
14053
14053
|
type: "bodyScrollEnd"
|
|
14054
14054
|
});
|
|
14055
|
-
},
|
|
14055
|
+
}, Il);
|
|
14056
14056
|
}
|
|
14057
14057
|
shouldBlockScrollUpdate(e, t, s = !1) {
|
|
14058
14058
|
return s && !ui() ? !1 : e === 0 ? this.shouldBlockVerticalScroll(t) : this.shouldBlockHorizontalScroll(t);
|
|
@@ -14085,7 +14085,7 @@ var Mr = {
|
|
|
14085
14085
|
checkScrollLeft() {
|
|
14086
14086
|
const e = this.scrollLeft;
|
|
14087
14087
|
let t = !1;
|
|
14088
|
-
for (const s of
|
|
14088
|
+
for (const s of Ml)
|
|
14089
14089
|
if (this.getViewportForSource(s).scrollLeft !== e) {
|
|
14090
14090
|
t = !0;
|
|
14091
14091
|
break;
|
|
@@ -14366,7 +14366,7 @@ var ra = "renderedRow";
|
|
|
14366
14366
|
function ex(e, t) {
|
|
14367
14367
|
return im(e, t, ra);
|
|
14368
14368
|
}
|
|
14369
|
-
function
|
|
14369
|
+
function Lc(e, t, s, i, o) {
|
|
14370
14370
|
const n = i ? i.getColDef().suppressKeyboardEvent : void 0;
|
|
14371
14371
|
if (!n)
|
|
14372
14372
|
return !1;
|
|
@@ -14460,7 +14460,7 @@ var cx = class extends O {
|
|
|
14460
14460
|
}
|
|
14461
14461
|
processCellKeyboardEvent(e, t, s) {
|
|
14462
14462
|
const i = this.editSvc?.isEditing(e, { withOpenEditor: !0 }) ?? !1;
|
|
14463
|
-
!
|
|
14463
|
+
!Lc(
|
|
14464
14464
|
this.gos,
|
|
14465
14465
|
s,
|
|
14466
14466
|
e.rowNode,
|
|
@@ -14470,7 +14470,7 @@ var cx = class extends O {
|
|
|
14470
14470
|
}
|
|
14471
14471
|
processFullWidthRowKeyboardEvent(e, t, s) {
|
|
14472
14472
|
const { rowNode: i } = e, { focusSvc: o, navigation: n } = this.beans, a = o.getFocusedCell()?.column;
|
|
14473
|
-
if (!
|
|
14473
|
+
if (!Lc(this.gos, s, i, a, !1)) {
|
|
14474
14474
|
const c = s.key;
|
|
14475
14475
|
if (t === "keydown")
|
|
14476
14476
|
switch (c) {
|
|
@@ -14559,26 +14559,26 @@ var cx = class extends O {
|
|
|
14559
14559
|
const t = e.uiContainerHeight, s = t != null ? `${t}px` : "";
|
|
14560
14560
|
this.eContainer.style.height = s, this.eViewport && (this.eViewport.style.height = s);
|
|
14561
14561
|
}
|
|
14562
|
-
}, lr = (e) => e.topRowCtrls, cr = (e) => e.getStickyTopRowCtrls(), dr = (e) => e.getStickyBottomRowCtrls(), ur = (e) => e.bottomRowCtrls, hr = (e) => e.allRowCtrls,
|
|
14562
|
+
}, lr = (e) => e.topRowCtrls, cr = (e) => e.getStickyTopRowCtrls(), dr = (e) => e.getStickyBottomRowCtrls(), ur = (e) => e.bottomRowCtrls, hr = (e) => e.allRowCtrls, Al = (e) => e.getCtrls("top"), kl = (e) => e.getCtrls("center"), Ll = (e) => e.getCtrls("bottom"), dx = {
|
|
14563
14563
|
center: {
|
|
14564
14564
|
type: "center",
|
|
14565
14565
|
name: "center-cols",
|
|
14566
14566
|
getRowCtrls: hr,
|
|
14567
|
-
getSpannedRowCtrls:
|
|
14567
|
+
getSpannedRowCtrls: kl
|
|
14568
14568
|
},
|
|
14569
14569
|
left: {
|
|
14570
14570
|
type: "left",
|
|
14571
14571
|
name: "pinned-left-cols",
|
|
14572
14572
|
pinnedType: "left",
|
|
14573
14573
|
getRowCtrls: hr,
|
|
14574
|
-
getSpannedRowCtrls:
|
|
14574
|
+
getSpannedRowCtrls: kl
|
|
14575
14575
|
},
|
|
14576
14576
|
right: {
|
|
14577
14577
|
type: "right",
|
|
14578
14578
|
name: "pinned-right-cols",
|
|
14579
14579
|
pinnedType: "right",
|
|
14580
14580
|
getRowCtrls: hr,
|
|
14581
|
-
getSpannedRowCtrls:
|
|
14581
|
+
getSpannedRowCtrls: kl
|
|
14582
14582
|
},
|
|
14583
14583
|
fullWidth: {
|
|
14584
14584
|
type: "fullWidth",
|
|
@@ -14590,7 +14590,7 @@ var cx = class extends O {
|
|
|
14590
14590
|
type: "center",
|
|
14591
14591
|
name: "floating-top",
|
|
14592
14592
|
getRowCtrls: lr,
|
|
14593
|
-
getSpannedRowCtrls:
|
|
14593
|
+
getSpannedRowCtrls: Al
|
|
14594
14594
|
},
|
|
14595
14595
|
topLeft: {
|
|
14596
14596
|
type: "left",
|
|
@@ -14598,7 +14598,7 @@ var cx = class extends O {
|
|
|
14598
14598
|
container: "ag-pinned-left-floating-top",
|
|
14599
14599
|
pinnedType: "left",
|
|
14600
14600
|
getRowCtrls: lr,
|
|
14601
|
-
getSpannedRowCtrls:
|
|
14601
|
+
getSpannedRowCtrls: Al
|
|
14602
14602
|
},
|
|
14603
14603
|
topRight: {
|
|
14604
14604
|
type: "right",
|
|
@@ -14606,7 +14606,7 @@ var cx = class extends O {
|
|
|
14606
14606
|
container: "ag-pinned-right-floating-top",
|
|
14607
14607
|
pinnedType: "right",
|
|
14608
14608
|
getRowCtrls: lr,
|
|
14609
|
-
getSpannedRowCtrls:
|
|
14609
|
+
getSpannedRowCtrls: Al
|
|
14610
14610
|
},
|
|
14611
14611
|
topFullWidth: {
|
|
14612
14612
|
type: "fullWidth",
|
|
@@ -14668,7 +14668,7 @@ var cx = class extends O {
|
|
|
14668
14668
|
type: "center",
|
|
14669
14669
|
name: "floating-bottom",
|
|
14670
14670
|
getRowCtrls: ur,
|
|
14671
|
-
getSpannedRowCtrls:
|
|
14671
|
+
getSpannedRowCtrls: Ll
|
|
14672
14672
|
},
|
|
14673
14673
|
bottomLeft: {
|
|
14674
14674
|
type: "left",
|
|
@@ -14676,7 +14676,7 @@ var cx = class extends O {
|
|
|
14676
14676
|
container: "ag-pinned-left-floating-bottom",
|
|
14677
14677
|
pinnedType: "left",
|
|
14678
14678
|
getRowCtrls: ur,
|
|
14679
|
-
getSpannedRowCtrls:
|
|
14679
|
+
getSpannedRowCtrls: Ll
|
|
14680
14680
|
},
|
|
14681
14681
|
bottomRight: {
|
|
14682
14682
|
type: "right",
|
|
@@ -14684,7 +14684,7 @@ var cx = class extends O {
|
|
|
14684
14684
|
container: "ag-pinned-right-floating-bottom",
|
|
14685
14685
|
pinnedType: "right",
|
|
14686
14686
|
getRowCtrls: ur,
|
|
14687
|
-
getSpannedRowCtrls:
|
|
14687
|
+
getSpannedRowCtrls: Ll
|
|
14688
14688
|
},
|
|
14689
14689
|
bottomFullWidth: {
|
|
14690
14690
|
type: "fullWidth",
|
|
@@ -15306,7 +15306,7 @@ function Nx(e, t) {
|
|
|
15306
15306
|
function hi(e) {
|
|
15307
15307
|
return e.gos.get("suppressHeaderFocus") || !!e.overlays?.isExclusive();
|
|
15308
15308
|
}
|
|
15309
|
-
function
|
|
15309
|
+
function Ta(e) {
|
|
15310
15310
|
return e.gos.get("suppressCellFocus") || !!e.overlays?.isExclusive();
|
|
15311
15311
|
}
|
|
15312
15312
|
function go(e, t, s = !1) {
|
|
@@ -15568,7 +15568,7 @@ var zx = class extends O {
|
|
|
15568
15568
|
if (u < 5) {
|
|
15569
15569
|
const S = !nt(o)?.contains(t), y = w == 0;
|
|
15570
15570
|
if (S || y) {
|
|
15571
|
-
|
|
15571
|
+
Cc(() => n(u + 1), "raf", o);
|
|
15572
15572
|
return;
|
|
15573
15573
|
}
|
|
15574
15574
|
}
|
|
@@ -16020,7 +16020,7 @@ var zx = class extends O {
|
|
|
16020
16020
|
function Eh(e) {
|
|
16021
16021
|
return typeof e?.getAnchorElementForMenu == "function" && typeof e.onMenuKeyboardShortcut == "function";
|
|
16022
16022
|
}
|
|
16023
|
-
var Ux = 0,
|
|
16023
|
+
var Ux = 0, Ol = class extends O {
|
|
16024
16024
|
constructor(e, t, s) {
|
|
16025
16025
|
super(), this.rowIndex = e, this.pinned = t, this.type = s, this.instanceId = Ux++, this.comp = null, this.allCtrls = [];
|
|
16026
16026
|
let i = "ag-header-row-column";
|
|
@@ -16222,7 +16222,7 @@ var Ux = 0, Nl = class extends O {
|
|
|
16222
16222
|
return;
|
|
16223
16223
|
}
|
|
16224
16224
|
for (let g = h; g < u; g++) {
|
|
16225
|
-
const p = this.createBean(new
|
|
16225
|
+
const p = this.createBean(new Ol(g, this.pinned, "group"));
|
|
16226
16226
|
this.groupsRowCtrls.push(p);
|
|
16227
16227
|
}
|
|
16228
16228
|
}
|
|
@@ -16232,7 +16232,7 @@ var Ux = 0, Nl = class extends O {
|
|
|
16232
16232
|
this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl);
|
|
16233
16233
|
return;
|
|
16234
16234
|
}
|
|
16235
|
-
this.columnsRowCtrl == null || !e ? (this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl), this.columnsRowCtrl = this.createBean(new
|
|
16235
|
+
this.columnsRowCtrl == null || !e ? (this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl), this.columnsRowCtrl = this.createBean(new Ol(u, this.pinned, "column"))) : this.columnsRowCtrl.rowIndex !== u && this.columnsRowCtrl.setRowIndex(u);
|
|
16236
16236
|
}, l = () => {
|
|
16237
16237
|
this.includeFloatingFilter = !!s?.hasFloatingFilters() && !this.hidden;
|
|
16238
16238
|
const u = () => {
|
|
@@ -16244,7 +16244,7 @@ var Ux = 0, Nl = class extends O {
|
|
|
16244
16244
|
}
|
|
16245
16245
|
e || u();
|
|
16246
16246
|
const h = o++;
|
|
16247
|
-
this.filtersRowCtrl ? this.filtersRowCtrl.rowIndex !== h && this.filtersRowCtrl.setRowIndex(h) : this.filtersRowCtrl = this.createBean(new
|
|
16247
|
+
this.filtersRowCtrl ? this.filtersRowCtrl.rowIndex !== h && this.filtersRowCtrl.setRowIndex(h) : this.filtersRowCtrl = this.createBean(new Ol(h, this.pinned, "filter"));
|
|
16248
16248
|
}, c = this.getAllCtrls();
|
|
16249
16249
|
r(), a(), l();
|
|
16250
16250
|
const d = this.getAllCtrls();
|
|
@@ -16390,7 +16390,7 @@ function Ph(e) {
|
|
|
16390
16390
|
const { enterpriseMenuFactory: t, filterMenuFactory: s, gos: i } = e;
|
|
16391
16391
|
return t && Pt(i) ? t : s;
|
|
16392
16392
|
}
|
|
16393
|
-
var
|
|
16393
|
+
var Ma = class extends $d {
|
|
16394
16394
|
constructor() {
|
|
16395
16395
|
super(...arguments), this.errorMessages = null;
|
|
16396
16396
|
}
|
|
@@ -16569,7 +16569,7 @@ var Xx = (
|
|
|
16569
16569
|
t = i;
|
|
16570
16570
|
else {
|
|
16571
16571
|
const u = o.getColId();
|
|
16572
|
-
u.startsWith(
|
|
16572
|
+
u.startsWith(Fa) ? t = i == null || i === "" ? void 0 : i === "true" : n.aggData && n.aggData[u] !== void 0 || n.sourceRowIndex >= 0 ? t = i ?? void 0 : s = !1;
|
|
16573
16573
|
}
|
|
16574
16574
|
else
|
|
16575
16575
|
t = i ?? void 0;
|
|
@@ -16581,7 +16581,7 @@ var Xx = (
|
|
|
16581
16581
|
r.setValue(t);
|
|
16582
16582
|
const a = e.disabled ?? !o?.isCellEditable(n);
|
|
16583
16583
|
r.setDisabled(a);
|
|
16584
|
-
const l = this.getLocaleTextFunc(), c =
|
|
16584
|
+
const l = this.getLocaleTextFunc(), c = xa(l, t), d = a ? c : `${l("ariaToggleCellValue", "Press SPACE to toggle cell value")} (${c})`;
|
|
16585
16585
|
r.setInputAriaLabel(d);
|
|
16586
16586
|
}
|
|
16587
16587
|
onCheckboxChanged(e) {
|
|
@@ -16668,7 +16668,7 @@ function fm(e) {
|
|
|
16668
16668
|
const t = e.parent;
|
|
16669
16669
|
return t?.childrenAfterSort?.some((s) => s == e) ? fm(t) : !1;
|
|
16670
16670
|
}
|
|
16671
|
-
function
|
|
16671
|
+
function Nl(e, t) {
|
|
16672
16672
|
const { gos: s, rowModel: i, filterManager: o } = e;
|
|
16673
16673
|
return Fi(s) ? !i.getRowNode(t.id) : o?.isAnyFilterPresent() ? !fm(t) : s.get("pivotMode") ? !t.group : !1;
|
|
16674
16674
|
}
|
|
@@ -16687,7 +16687,7 @@ var Mh = class extends O {
|
|
|
16687
16687
|
postConstruct() {
|
|
16688
16688
|
const { gos: e, beans: t } = this;
|
|
16689
16689
|
this.top = new Th(t, "top"), this.bottom = new Th(t, "bottom");
|
|
16690
|
-
const s = (o) =>
|
|
16690
|
+
const s = (o) => Nl(t, o.pinnedSibling), i = () => {
|
|
16691
16691
|
const o = e.get("isRowPinned");
|
|
16692
16692
|
o && e.get("enableRowPinning") && t.rowModel.forEachNode((n) => this.pinRow(n, o(n)), !0), this.refreshRowPositions(), this.dispatchRowPinnedEvents();
|
|
16693
16693
|
};
|
|
@@ -16744,10 +16744,10 @@ var Mh = class extends O {
|
|
|
16744
16744
|
return;
|
|
16745
16745
|
a.delete(r);
|
|
16746
16746
|
const l = r.pinnedSibling;
|
|
16747
|
-
|
|
16747
|
+
Hl(r), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(l);
|
|
16748
16748
|
} else {
|
|
16749
16749
|
const r = Ih(this.beans, e, t), a = this.getContainer(t);
|
|
16750
|
-
a.add(r),
|
|
16750
|
+
a.add(r), Nl(this.beans, e) && a.hide((l) => Nl(this.beans, l.pinnedSibling)), this.refreshRowPositions(t), this.dispatchRowPinnedEvents(e);
|
|
16751
16751
|
}
|
|
16752
16752
|
}
|
|
16753
16753
|
isManual() {
|
|
@@ -16839,14 +16839,14 @@ var Mh = class extends O {
|
|
|
16839
16839
|
return;
|
|
16840
16840
|
const n = o.pinnedSibling, r = n && this.findPinnedRowNode(n);
|
|
16841
16841
|
if (s) {
|
|
16842
|
-
if (r && r.floating !== s && (r.delete(n),
|
|
16842
|
+
if (r && r.floating !== s && (r.delete(n), Hl(n)), !r || r.floating !== s) {
|
|
16843
16843
|
const a = Ih(t, o, s);
|
|
16844
16844
|
this.getContainer(s).add(a);
|
|
16845
16845
|
}
|
|
16846
16846
|
} else {
|
|
16847
16847
|
if (!r)
|
|
16848
16848
|
return;
|
|
16849
|
-
r.delete(n),
|
|
16849
|
+
r.delete(n), Hl(n);
|
|
16850
16850
|
}
|
|
16851
16851
|
}
|
|
16852
16852
|
onGridStylesChanges(e) {
|
|
@@ -16898,7 +16898,7 @@ function Ih(e, t, s) {
|
|
|
16898
16898
|
const o = s === "top" ? Jd : eu;
|
|
16899
16899
|
return i.id = `${o}${s}-${t.id}`, i.pinnedSibling = t, t.pinnedSibling = i, i;
|
|
16900
16900
|
}
|
|
16901
|
-
function
|
|
16901
|
+
function Hl(e) {
|
|
16902
16902
|
if (!e.pinnedSibling)
|
|
16903
16903
|
return;
|
|
16904
16904
|
e.rowPinned = null, e.setRowTop(null), e.setRowIndex(null);
|
|
@@ -17014,16 +17014,16 @@ var kh = class extends O {
|
|
|
17014
17014
|
return Lh(this.pinnedBottomRows);
|
|
17015
17015
|
}
|
|
17016
17016
|
getPinnedTopRowCount() {
|
|
17017
|
-
return
|
|
17017
|
+
return Nc(this.pinnedTopRows);
|
|
17018
17018
|
}
|
|
17019
17019
|
getPinnedBottomRowCount() {
|
|
17020
|
-
return
|
|
17020
|
+
return Nc(this.pinnedBottomRows);
|
|
17021
17021
|
}
|
|
17022
17022
|
getPinnedTopRow(e) {
|
|
17023
|
-
return
|
|
17023
|
+
return Oc(this.pinnedTopRows, e);
|
|
17024
17024
|
}
|
|
17025
17025
|
getPinnedBottomRow(e) {
|
|
17026
|
-
return
|
|
17026
|
+
return Oc(this.pinnedBottomRows, e);
|
|
17027
17027
|
}
|
|
17028
17028
|
getPinnedRowById(e, t) {
|
|
17029
17029
|
return an(this.getCache(t), e);
|
|
@@ -17045,16 +17045,16 @@ var kh = class extends O {
|
|
|
17045
17045
|
}
|
|
17046
17046
|
};
|
|
17047
17047
|
function Lh(e) {
|
|
17048
|
-
const t =
|
|
17048
|
+
const t = Nc(e);
|
|
17049
17049
|
if (t === 0)
|
|
17050
17050
|
return 0;
|
|
17051
|
-
const s =
|
|
17051
|
+
const s = Oc(e, t - 1);
|
|
17052
17052
|
return s === void 0 ? 0 : s.rowTop + s.rowHeight;
|
|
17053
17053
|
}
|
|
17054
17054
|
function an(e, t) {
|
|
17055
17055
|
return e.cache[t];
|
|
17056
17056
|
}
|
|
17057
|
-
function
|
|
17057
|
+
function Oc(e, t) {
|
|
17058
17058
|
return an(e, e.order[t]);
|
|
17059
17059
|
}
|
|
17060
17060
|
function _o(e, t) {
|
|
@@ -17063,7 +17063,7 @@ function _o(e, t) {
|
|
|
17063
17063
|
o && t(o, i);
|
|
17064
17064
|
});
|
|
17065
17065
|
}
|
|
17066
|
-
function
|
|
17066
|
+
function Nc(e) {
|
|
17067
17067
|
return e.order.length;
|
|
17068
17068
|
}
|
|
17069
17069
|
var uF = class extends O {
|
|
@@ -17194,7 +17194,7 @@ var hF = {
|
|
|
17194
17194
|
this.showOrHideSelect();
|
|
17195
17195
|
}
|
|
17196
17196
|
onSelectionChanged() {
|
|
17197
|
-
const e = this.getLocaleTextFunc(), { rowNode: t, eCheckbox: s } = this, i = t.isSelected(), o =
|
|
17197
|
+
const e = this.getLocaleTextFunc(), { rowNode: t, eCheckbox: s } = this, i = t.isSelected(), o = xa(e, i), [n, r] = t.selectable ? ["ariaRowToggleSelection", "Press Space to toggle row selection"] : ["ariaRowSelectionDisabled", "Row Selection is disabled for this row"], a = e(n, r);
|
|
17198
17198
|
s.setValue(i, !0), s.setInputAriaLabel(`${a} (${o})`);
|
|
17199
17199
|
}
|
|
17200
17200
|
init(e) {
|
|
@@ -17209,9 +17209,9 @@ var hF = {
|
|
|
17209
17209
|
dataChanged: this.onDataChanged.bind(this),
|
|
17210
17210
|
selectableChanged: this.onSelectableChanged.bind(this)
|
|
17211
17211
|
}), this.addManagedPropertyListener("rowSelection", ({ currentValue: i, previousValue: o }) => {
|
|
17212
|
-
const n = typeof i == "object" ?
|
|
17212
|
+
const n = typeof i == "object" ? wl(i) : void 0, r = typeof o == "object" ? wl(o) : void 0;
|
|
17213
17213
|
n !== r && this.onSelectableChanged();
|
|
17214
|
-
}),
|
|
17214
|
+
}), yc(this.gos) || typeof this.getIsVisible() == "function") {
|
|
17215
17215
|
const i = this.showOrHideSelect.bind(this);
|
|
17216
17216
|
this.addManagedEventListeners({ displayedColumnsChanged: i }), this.addManagedListeners(this.rowNode, {
|
|
17217
17217
|
dataChanged: i,
|
|
@@ -17233,7 +17233,7 @@ var hF = {
|
|
|
17233
17233
|
}
|
|
17234
17234
|
} else
|
|
17235
17235
|
r = n ?? !1;
|
|
17236
|
-
const a = o && !r || !o && r, l = o || r, c = i.get("rowSelection"), d = c && typeof c != "string" ? !
|
|
17236
|
+
const a = o && !r || !o && r, l = o || r, c = i.get("rowSelection"), d = c && typeof c != "string" ? !wl(c) : !!e?.getColDef().showDisabledCheckboxes;
|
|
17237
17237
|
this.setVisible(l && (a ? d : !0)), this.setDisplayed(l && (a ? d : !0)), l && this.eCheckbox.setDisabled(a), s?.removeHidden && this.setDisplayed(l);
|
|
17238
17238
|
}
|
|
17239
17239
|
getIsVisible() {
|
|
@@ -17400,7 +17400,7 @@ var hF = {
|
|
|
17400
17400
|
s.setDisabled(!o), this.refreshSelectAllLabel(), this.processingEventFromCheckbox = !1;
|
|
17401
17401
|
}
|
|
17402
17402
|
refreshSelectAllLabel(e = !1) {
|
|
17403
|
-
const t = this.getLocaleTextFunc(), { headerCellCtrl: s, cbSelectAll: i, cbSelectAllVisible: o } = this, n = i.getValue(), r =
|
|
17403
|
+
const t = this.getLocaleTextFunc(), { headerCellCtrl: s, cbSelectAll: i, cbSelectAllVisible: o } = this, n = i.getValue(), r = xa(t, n), a = t("ariaRowSelectAll", "Press Space to toggle all rows selection");
|
|
17404
17404
|
s.setAriaDescriptionProperty(
|
|
17405
17405
|
"selectAll",
|
|
17406
17406
|
o ? `${a} (${r})` : null
|
|
@@ -17454,9 +17454,9 @@ var mF = class extends O {
|
|
|
17454
17454
|
postConstruct() {
|
|
17455
17455
|
const { gos: e, beans: t } = this;
|
|
17456
17456
|
this.selectionCtx = new pF(t.rowModel, t.pinnedRowModel), this.addManagedPropertyListeners(["isRowSelectable", "rowSelection"], () => {
|
|
17457
|
-
const s =
|
|
17457
|
+
const s = yc(e);
|
|
17458
17458
|
s !== this.isRowSelectable && (this.isRowSelectable = s, this.updateSelectable());
|
|
17459
|
-
}), this.isRowSelectable =
|
|
17459
|
+
}), this.isRowSelectable = yc(e), this.addManagedEventListeners({
|
|
17460
17460
|
cellValueChanged: (s) => this.updateRowSelectable(s.node),
|
|
17461
17461
|
rowNodeDataChanged: (s) => this.updateRowSelectable(s.node)
|
|
17462
17462
|
});
|
|
@@ -18167,7 +18167,7 @@ var DF = class extends O {
|
|
|
18167
18167
|
}
|
|
18168
18168
|
isFocusable() {
|
|
18169
18169
|
const e = this.beans;
|
|
18170
|
-
return !
|
|
18170
|
+
return !Ta(e) || !hi(e) || !!e.sideBar?.comp?.isDisplayed();
|
|
18171
18171
|
}
|
|
18172
18172
|
getNextFocusableIndex(e, t) {
|
|
18173
18173
|
const s = je(this.beans), i = e.findIndex((n) => n.getGui().contains(s)), o = i + (t ? -1 : 1);
|
|
@@ -18554,7 +18554,7 @@ var DF = class extends O {
|
|
|
18554
18554
|
...we("AiToolkit", {
|
|
18555
18555
|
getStructuredSchema: 0
|
|
18556
18556
|
})
|
|
18557
|
-
},
|
|
18557
|
+
}, Gl = {
|
|
18558
18558
|
isDestroyed: () => !0,
|
|
18559
18559
|
destroy() {
|
|
18560
18560
|
},
|
|
@@ -18572,7 +18572,7 @@ Reflect.defineProperty(wm, "name", { value: "GridApi" });
|
|
|
18572
18572
|
var TF = class extends O {
|
|
18573
18573
|
constructor() {
|
|
18574
18574
|
super(), this.beanName = "apiFunctionSvc", this.api = new wm(), this.fns = {
|
|
18575
|
-
...
|
|
18575
|
+
...Gl,
|
|
18576
18576
|
// dispatchEvent is used by frameworks, also used by aligned grids to identify a grid api instance
|
|
18577
18577
|
dispatchEvent: PF
|
|
18578
18578
|
}, this.preDestroyLink = "";
|
|
@@ -18585,7 +18585,7 @@ var TF = class extends O {
|
|
|
18585
18585
|
}
|
|
18586
18586
|
addFunction(e, t) {
|
|
18587
18587
|
const { fns: s, beans: i } = this;
|
|
18588
|
-
s !==
|
|
18588
|
+
s !== Gl && (s[e] = i?.validation?.validateApiFunction(e, t) ?? t);
|
|
18589
18589
|
}
|
|
18590
18590
|
makeApi(e) {
|
|
18591
18591
|
return {
|
|
@@ -18608,7 +18608,7 @@ var TF = class extends O {
|
|
|
18608
18608
|
}
|
|
18609
18609
|
}
|
|
18610
18610
|
destroy() {
|
|
18611
|
-
super.destroy(), this.fns =
|
|
18611
|
+
super.destroy(), this.fns = Gl, this.beans = null;
|
|
18612
18612
|
}
|
|
18613
18613
|
};
|
|
18614
18614
|
function MF(e) {
|
|
@@ -19327,7 +19327,7 @@ var bn = class {
|
|
|
19327
19327
|
const r = t[i];
|
|
19328
19328
|
(!r || r.footer || r.rowTop === null && r !== this.beans.rowModel.getRowNode(r.id) || // This row cannot be dragged, not in allLeafChildren and not a filler
|
|
19329
19329
|
e && r.parent !== e && sE(r, e) || // Cannot move to a parent that would create a cycle
|
|
19330
|
-
!
|
|
19330
|
+
!Hc(r)) && (n = !1), n ? s?.push(r) : s ?? (s = t.slice(0, i));
|
|
19331
19331
|
}
|
|
19332
19332
|
return s ?? t;
|
|
19333
19333
|
}
|
|
@@ -19336,7 +19336,7 @@ var bn = class {
|
|
|
19336
19336
|
const r = /* @__PURE__ */ new Set();
|
|
19337
19337
|
for (const h of s) {
|
|
19338
19338
|
i && h.parent !== i && (h.treeParent = i, n = !0);
|
|
19339
|
-
const g =
|
|
19339
|
+
const g = Hc(h);
|
|
19340
19340
|
g && r.add(g);
|
|
19341
19341
|
}
|
|
19342
19342
|
if (!n && r.size === 0)
|
|
@@ -19416,9 +19416,9 @@ var bn = class {
|
|
|
19416
19416
|
return !1;
|
|
19417
19417
|
return !0;
|
|
19418
19418
|
}, Bh = (e) => {
|
|
19419
|
-
const t =
|
|
19419
|
+
const t = Hc(e);
|
|
19420
19420
|
return t !== void 0 ? t.sourceRowIndex : -1;
|
|
19421
|
-
},
|
|
19421
|
+
}, Hc = (e) => e.data ? e : Yf(e.childrenAfterGroup), iE = (e, t) => e !== t && (!e || e.sameGrid !== t.sameGrid || e.allowed !== t.allowed || e.position !== t.position || e.target !== t.target || e.source !== t.source || e.newParent !== t.newParent || !js(e.rows, t.rows)), oE = ({ rowIndex: e }, { rowIndex: t }) => e !== null && t !== null ? e - t : 0, Vh = (e, t) => {
|
|
19422
19422
|
for (let s = 0, i = e?.length || 0; s < i; ++s) {
|
|
19423
19423
|
const o = e[s];
|
|
19424
19424
|
o.dragging !== t && (o.dragging = t, o.dispatchRowEvent("draggingChanged"));
|
|
@@ -19830,16 +19830,16 @@ function yE(e) {
|
|
|
19830
19830
|
}
|
|
19831
19831
|
return v;
|
|
19832
19832
|
}
|
|
19833
|
-
function
|
|
19833
|
+
function Gc(e) {
|
|
19834
19834
|
const { pinned: t, fromKeyboard: s, gos: i, ctrlsSvc: o, useHeaderRow: n, skipScrollPadding: r } = e;
|
|
19835
19835
|
let a = o.getHeaderRowContainerCtrl(t)?.eViewport, { x: l } = e;
|
|
19836
19836
|
return a ? (s && (l -= a.getBoundingClientRect().left), i.get("enableRtl") && (n && (a = a.querySelector(".ag-header-row")), l = a.clientWidth - l), t == null && !r && (l += o.get("center").getCenterViewportScrollLeft()), l) : 0;
|
|
19837
19837
|
}
|
|
19838
|
-
function
|
|
19838
|
+
function Bl(e, t) {
|
|
19839
19839
|
for (const s of e)
|
|
19840
19840
|
s.moving = t, s.dispatchColEvent("movingChanged", "uiColumnMoved");
|
|
19841
19841
|
}
|
|
19842
|
-
var zh = 7,
|
|
19842
|
+
var zh = 7, Bc = 100, pr = Bc / 2, RE = 5, xE = 100, FE = class extends O {
|
|
19843
19843
|
constructor(e) {
|
|
19844
19844
|
super(), this.pinned = e, this.needToMoveLeft = !1, this.needToMoveRight = !1, this.lastMovedInfo = null, this.isCenterContainer = !J(e);
|
|
19845
19845
|
}
|
|
@@ -19885,7 +19885,7 @@ var zh = 7, Vc = 100, pr = Vc / 2, RE = 5, xE = 100, FE = class extends O {
|
|
|
19885
19885
|
}
|
|
19886
19886
|
if (this.lastDraggingEvent = e, !e || !i && Ue(e.hDirection))
|
|
19887
19887
|
return;
|
|
19888
|
-
const a =
|
|
19888
|
+
const a = Gc({
|
|
19889
19889
|
x: e.x,
|
|
19890
19890
|
pinned: this.pinned,
|
|
19891
19891
|
gos: o,
|
|
@@ -20064,7 +20064,7 @@ var zh = 7, Vc = 100, pr = Vc / 2, RE = 5, xE = 100, FE = class extends O {
|
|
|
20064
20064
|
if (n == null)
|
|
20065
20065
|
return null;
|
|
20066
20066
|
const r = e.getActualWidth();
|
|
20067
|
-
return
|
|
20067
|
+
return Gc({
|
|
20068
20068
|
x: s ? n + r - t : n + t,
|
|
20069
20069
|
pinned: e.getPinned(),
|
|
20070
20070
|
useHeaderRow: s,
|
|
@@ -20110,7 +20110,7 @@ var zh = 7, Vc = 100, pr = Vc / 2, RE = 5, xE = 100, FE = class extends O {
|
|
|
20110
20110
|
}
|
|
20111
20111
|
moveInterval() {
|
|
20112
20112
|
let e;
|
|
20113
|
-
this.intervalCount++, e = 10 + this.intervalCount * RE, e >
|
|
20113
|
+
this.intervalCount++, e = 10 + this.intervalCount * RE, e > Bc && (e = Bc);
|
|
20114
20114
|
let t = null;
|
|
20115
20115
|
const s = this.gridBodyCon.scrollFeature;
|
|
20116
20116
|
if (this.needToMoveLeft ? t = s.scrollHorizontally(-e) : this.needToMoveRight && (t = s.scrollHorizontally(e)), t !== 0)
|
|
@@ -20286,7 +20286,7 @@ var DE = class extends O {
|
|
|
20286
20286
|
return new DE(e, t);
|
|
20287
20287
|
}
|
|
20288
20288
|
moveHeader(e, t, s, i, o) {
|
|
20289
|
-
const { ctrlsSvc: n, gos: r, colModel: a, visibleCols: l, focusSvc: c } = this.beans, d = t.getBoundingClientRect(), u = d.left, h = Ze(s), g = h ? d.width : s.getActualWidth(), p = e === "left" !== r.get("enableRtl"), f =
|
|
20289
|
+
const { ctrlsSvc: n, gos: r, colModel: a, visibleCols: l, focusSvc: c } = this.beans, d = t.getBoundingClientRect(), u = d.left, h = Ze(s), g = h ? d.width : s.getActualWidth(), p = e === "left" !== r.get("enableRtl"), f = Gc({
|
|
20290
20290
|
x: p ? u - 20 : u + g + 20,
|
|
20291
20291
|
pinned: i,
|
|
20292
20292
|
fromKeyboard: !0,
|
|
@@ -20343,10 +20343,10 @@ var DE = class extends O {
|
|
|
20343
20343
|
getDragItem: l ? () => IE(t, r.allCols) : () => ME(t),
|
|
20344
20344
|
dragItemName: s,
|
|
20345
20345
|
onDragStarted: () => {
|
|
20346
|
-
a = !i.get("suppressDragLeaveHidesColumns"),
|
|
20346
|
+
a = !i.get("suppressDragLeaveHidesColumns"), Bl(c, !0);
|
|
20347
20347
|
},
|
|
20348
|
-
onDragStopped: () =>
|
|
20349
|
-
onDragCancelled: () =>
|
|
20348
|
+
onDragStopped: () => Bl(c, !1),
|
|
20349
|
+
onDragCancelled: () => Bl(c, !1),
|
|
20350
20350
|
onGridEnter: (h) => {
|
|
20351
20351
|
if (a) {
|
|
20352
20352
|
const { columns: g = [], visibleState: p } = h ?? {}, f = l ? (v) => !p || p[v.getColId()] : () => !0, C = g.filter(
|
|
@@ -21009,7 +21009,7 @@ var e3 = class extends O {
|
|
|
21009
21009
|
}
|
|
21010
21010
|
refresh(e, t = !1) {
|
|
21011
21011
|
const { colFlex: s, colModel: i, colGroupSvc: o, colViewport: n, selectionColSvc: r } = this.beans;
|
|
21012
|
-
t || this.buildTrees(i, o), o?.updateOpenClosedVisibility(), this.leftCols =
|
|
21012
|
+
t || this.buildTrees(i, o), o?.updateOpenClosedVisibility(), this.leftCols = Vl(this.treeLeft), this.centerCols = Vl(this.treeCenter), this.rightCols = Vl(this.treeRight), r?.refreshVisibility(this.leftCols, this.centerCols, this.rightCols), this.joinColsAriaOrder(i), this.joinCols(), this.headerGroupRowCount = this.getHeaderRowCount(), this.setLeftValues(e), this.autoHeightCols = this.allCols.filter((a) => a.isAutoHeight()), s?.refreshFlexedColumns(), this.updateBodyWidths(), this.setFirstRightAndLastLeftPinned(i, this.leftCols, this.rightCols, e), n.checkViewportColumns(!1), this.eventSvc.dispatchEvent({
|
|
21013
21013
|
type: "displayedColumnsChanged",
|
|
21014
21014
|
source: e
|
|
21015
21015
|
});
|
|
@@ -21238,7 +21238,7 @@ function gi(e, t, s) {
|
|
|
21238
21238
|
s(o);
|
|
21239
21239
|
}
|
|
21240
21240
|
}
|
|
21241
|
-
function
|
|
21241
|
+
function Vl(e) {
|
|
21242
21242
|
const t = [];
|
|
21243
21243
|
return gi(e, !0, (s) => {
|
|
21244
21244
|
_s(s) && t.push(s);
|
|
@@ -21614,7 +21614,7 @@ function E3(e) {
|
|
|
21614
21614
|
function D3(e) {
|
|
21615
21615
|
return e.colViewport.getViewportColumns();
|
|
21616
21616
|
}
|
|
21617
|
-
function
|
|
21617
|
+
function Vc(e, t) {
|
|
21618
21618
|
if (!e)
|
|
21619
21619
|
return;
|
|
21620
21620
|
const s = e, i = {};
|
|
@@ -21622,7 +21622,7 @@ function zc(e, t) {
|
|
|
21622
21622
|
if (t && t.indexOf(o) >= 0 || $p.has(o))
|
|
21623
21623
|
continue;
|
|
21624
21624
|
const n = s[o];
|
|
21625
|
-
typeof n == "object" && n !== null && n.constructor === Object ? i[o] =
|
|
21625
|
+
typeof n == "object" && n !== null && n.constructor === Object ? i[o] = Vc(n) : i[o] = n;
|
|
21626
21626
|
}
|
|
21627
21627
|
return i;
|
|
21628
21628
|
}
|
|
@@ -21666,11 +21666,11 @@ var P3 = class extends O {
|
|
|
21666
21666
|
return i;
|
|
21667
21667
|
}
|
|
21668
21668
|
createDefFromGroup(e) {
|
|
21669
|
-
const t =
|
|
21669
|
+
const t = Vc(e.getColGroupDef(), ["children"]);
|
|
21670
21670
|
return t && (t.groupId = e.getGroupId()), t;
|
|
21671
21671
|
}
|
|
21672
21672
|
createDefFromColumn(e, t, s) {
|
|
21673
|
-
const i =
|
|
21673
|
+
const i = Vc(e.getColDef());
|
|
21674
21674
|
return i.colId = e.getColId(), i.width = e.getActualWidth(), i.rowGroup = e.isRowGroupActive(), i.rowGroupIndex = e.isRowGroupActive() ? t.indexOf(e) : null, i.pivot = e.isPivotActive(), i.pivotIndex = e.isPivotActive() ? s.indexOf(e) : null, i.aggFunc = e.isValueActive() ? e.getAggFunc() : null, i.hide = e.isVisible() ? void 0 : !0, i.pinned = e.isPinned() ? e.getPinned() : null, i.sort = e.getSort() ? e.getSort() : null, i.sortIndex = e.getSortIndex() != null ? e.getSortIndex() : null, i;
|
|
21675
21675
|
}
|
|
21676
21676
|
}, T3 = class extends O {
|
|
@@ -21929,18 +21929,18 @@ var M3 = [
|
|
|
21929
21929
|
if (!qe(s))
|
|
21930
21930
|
return !1;
|
|
21931
21931
|
const i = { cellRenderer: !0, valueGetter: !0, valueParser: !0, refData: !0 };
|
|
21932
|
-
if (
|
|
21932
|
+
if (zl(t, i))
|
|
21933
21933
|
return !1;
|
|
21934
21934
|
const o = t.type === null ? e.type : t.type;
|
|
21935
21935
|
if (o) {
|
|
21936
21936
|
const n = s.get("columnTypes") ?? {};
|
|
21937
21937
|
if (ea(o).some((a) => {
|
|
21938
21938
|
const l = n[a.trim()];
|
|
21939
|
-
return l &&
|
|
21939
|
+
return l && zl(l, i);
|
|
21940
21940
|
}))
|
|
21941
21941
|
return !1;
|
|
21942
21942
|
}
|
|
21943
|
-
return !
|
|
21943
|
+
return !zl(e, i);
|
|
21944
21944
|
}
|
|
21945
21945
|
inferCellDataType(e, t) {
|
|
21946
21946
|
if (!e)
|
|
@@ -22017,7 +22017,7 @@ var M3 = [
|
|
|
22017
22017
|
const s = e.getUserProvidedColDef();
|
|
22018
22018
|
if (!s)
|
|
22019
22019
|
return !1;
|
|
22020
|
-
const i =
|
|
22020
|
+
const i = Rc(this.beans, s, e.getColId());
|
|
22021
22021
|
return e.setColDef(i, s, t), !0;
|
|
22022
22022
|
}
|
|
22023
22023
|
getDateStringTypeDefinition(e) {
|
|
@@ -22111,7 +22111,7 @@ var M3 = [
|
|
|
22111
22111
|
},
|
|
22112
22112
|
text: {
|
|
22113
22113
|
baseDataType: "text",
|
|
22114
|
-
valueParser: (t) => t.newValue === "" ? null :
|
|
22114
|
+
valueParser: (t) => t.newValue === "" ? null : fc(t.newValue),
|
|
22115
22115
|
dataTypeMatcher: (t) => typeof t == "string"
|
|
22116
22116
|
},
|
|
22117
22117
|
boolean: {
|
|
@@ -22130,7 +22130,7 @@ var M3 = [
|
|
|
22130
22130
|
object: {
|
|
22131
22131
|
baseDataType: "object",
|
|
22132
22132
|
valueParser: () => null,
|
|
22133
|
-
valueFormatter: (t) =>
|
|
22133
|
+
valueFormatter: (t) => fc(t.value) ?? ""
|
|
22134
22134
|
}
|
|
22135
22135
|
};
|
|
22136
22136
|
}
|
|
@@ -22195,7 +22195,7 @@ function A3(e, t, s, i) {
|
|
|
22195
22195
|
const o = e[s];
|
|
22196
22196
|
return o === null ? (t[s] = !1, !1) : i === void 0 ? !!o : o === i;
|
|
22197
22197
|
}
|
|
22198
|
-
function
|
|
22198
|
+
function zl(e, t) {
|
|
22199
22199
|
return [
|
|
22200
22200
|
["cellRenderer", "agSparklineCellRenderer"],
|
|
22201
22201
|
["valueGetter", void 0],
|
|
@@ -23324,7 +23324,7 @@ var V3 = class extends O {
|
|
|
23324
23324
|
cssName: "--ag-list-item-height",
|
|
23325
23325
|
changeKey: "listItemHeightChanged",
|
|
23326
23326
|
defaultValue: 24
|
|
23327
|
-
},
|
|
23327
|
+
}, Wl = {
|
|
23328
23328
|
cssName: "--ag-row-border",
|
|
23329
23329
|
changeKey: "rowBorderWidthChanged",
|
|
23330
23330
|
defaultValue: 1,
|
|
@@ -23346,13 +23346,13 @@ var ND = class extends g2 {
|
|
|
23346
23346
|
super(...arguments), this.sizeEls = /* @__PURE__ */ new Map(), this.lastKnownValues = /* @__PURE__ */ new Map(), this.sizesMeasured = !1;
|
|
23347
23347
|
}
|
|
23348
23348
|
initVariables() {
|
|
23349
|
-
this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(jh), this.getSizeEl(Kh), this.getSizeEl(qh), this.getSizeEl(
|
|
23349
|
+
this.addManagedPropertyListener("rowHeight", () => this.refreshRowHeightVariable()), this.getSizeEl(jh), this.getSizeEl(Kh), this.getSizeEl(qh), this.getSizeEl(Wl), this.getSizeEl(Yh), this.refreshRowBorderWidthVariable();
|
|
23350
23350
|
}
|
|
23351
23351
|
getPinnedRowBorderWidth() {
|
|
23352
23352
|
return this.getCSSVariablePixelValue(Yh);
|
|
23353
23353
|
}
|
|
23354
23354
|
getRowBorderWidth() {
|
|
23355
|
-
return this.getCSSVariablePixelValue(
|
|
23355
|
+
return this.getCSSVariablePixelValue(Wl);
|
|
23356
23356
|
}
|
|
23357
23357
|
getDefaultRowHeight() {
|
|
23358
23358
|
return this.getCSSVariablePixelValue(jh);
|
|
@@ -23396,7 +23396,7 @@ var ND = class extends g2 {
|
|
|
23396
23396
|
if (t.offsetParent == null)
|
|
23397
23397
|
return "detached";
|
|
23398
23398
|
const s = t.offsetWidth;
|
|
23399
|
-
return s ===
|
|
23399
|
+
return s === _l ? "no-styles" : (this.sizesMeasured = !0, s);
|
|
23400
23400
|
}
|
|
23401
23401
|
getMeasurementContainer() {
|
|
23402
23402
|
let e = this.eMeasurementContainer;
|
|
@@ -23411,8 +23411,8 @@ var ND = class extends g2 {
|
|
|
23411
23411
|
const { border: i, noWarn: o } = e;
|
|
23412
23412
|
i ? (t.className = "ag-measurement-element-border", t.style.setProperty(
|
|
23413
23413
|
"--ag-internal-measurement-border",
|
|
23414
|
-
`var(${e.cssName}, solid ${
|
|
23415
|
-
)) : t.style.width = `var(${e.cssName}, ${
|
|
23414
|
+
`var(${e.cssName}, solid ${_l}px)`
|
|
23415
|
+
)) : t.style.width = `var(${e.cssName}, ${_l}px)`, s.appendChild(t), this.sizeEls.set(e, t);
|
|
23416
23416
|
let n = this.measureSizeEl(e);
|
|
23417
23417
|
n === "no-styles" && !o && W(9, { variable: e });
|
|
23418
23418
|
const r = Ds(this.beans, t, () => {
|
|
@@ -23428,7 +23428,7 @@ var ND = class extends g2 {
|
|
|
23428
23428
|
});
|
|
23429
23429
|
}
|
|
23430
23430
|
refreshRowBorderWidthVariable() {
|
|
23431
|
-
const e = this.getCSSVariablePixelValue(
|
|
23431
|
+
const e = this.getCSSVariablePixelValue(Wl);
|
|
23432
23432
|
this.eRootDiv.style.setProperty("--ag-internal-row-border-width", `${e}px`);
|
|
23433
23433
|
}
|
|
23434
23434
|
postProcessThemeChange(e, t) {
|
|
@@ -23444,7 +23444,7 @@ var ND = class extends g2 {
|
|
|
23444
23444
|
themeError(e) {
|
|
23445
23445
|
ke(240, { theme: e });
|
|
23446
23446
|
}
|
|
23447
|
-
},
|
|
23447
|
+
}, _l = 15538, HD = class extends f2 {
|
|
23448
23448
|
postConstruct() {
|
|
23449
23449
|
const { globalListener: e, globalSyncListener: t } = this.beans;
|
|
23450
23450
|
e && this.addGlobalListener(e, !0), t && this.addGlobalListener(t, !1);
|
|
@@ -23904,7 +23904,7 @@ var zD = class extends O {
|
|
|
23904
23904
|
const { backwards: t = !1, canFocusOverlay: s = !0, event: i } = e;
|
|
23905
23905
|
if (this.overlays?.isExclusive())
|
|
23906
23906
|
return s && this.focusOverlay(t);
|
|
23907
|
-
if (
|
|
23907
|
+
if (Ta(this.beans))
|
|
23908
23908
|
return t && !hi(this.beans) ? this.focusLastHeader() : s && this.focusOverlay(t) ? !0 : t ? !1 : go(this.beans, t);
|
|
23909
23909
|
const o = t ? QF(this.beans) : ZF(this.beans);
|
|
23910
23910
|
if (o) {
|
|
@@ -25681,7 +25681,7 @@ var lP = {
|
|
|
25681
25681
|
};
|
|
25682
25682
|
}
|
|
25683
25683
|
isModuleRegistered(e) {
|
|
25684
|
-
return
|
|
25684
|
+
return vc(e, this.gridId, this.get("rowModelType"));
|
|
25685
25685
|
}
|
|
25686
25686
|
setInstanceDomData(e) {
|
|
25687
25687
|
e[Qh] = this.instanceId;
|
|
@@ -26552,7 +26552,7 @@ function _e(e, t = {}) {
|
|
|
26552
26552
|
const { cellCtrl: s, colId: i, columnId: o, column: n } = t;
|
|
26553
26553
|
if (s)
|
|
26554
26554
|
return s;
|
|
26555
|
-
const r = e.colModel.getCol(i ?? o ??
|
|
26555
|
+
const r = e.colModel.getCol(i ?? o ?? zc(n)), a = t.rowCtrl ?? hu(e, t), l = a?.getCellCtrl(r) ?? void 0;
|
|
26556
26556
|
if (l)
|
|
26557
26557
|
return l;
|
|
26558
26558
|
const c = t.rowNode ?? a?.rowNode;
|
|
@@ -26569,7 +26569,7 @@ function OP(e, t, s) {
|
|
|
26569
26569
|
return;
|
|
26570
26570
|
const n = (r) => {
|
|
26571
26571
|
const a = r.relatedTarget;
|
|
26572
|
-
if (
|
|
26572
|
+
if (Ec(a) === null) {
|
|
26573
26573
|
Xh(t);
|
|
26574
26574
|
return;
|
|
26575
26575
|
}
|
|
@@ -26583,7 +26583,7 @@ function OP(e, t, s) {
|
|
|
26583
26583
|
for (const r of s)
|
|
26584
26584
|
e.addManagedElementListeners(r, { focusout: n });
|
|
26585
26585
|
}
|
|
26586
|
-
function
|
|
26586
|
+
function zc(e) {
|
|
26587
26587
|
if (e)
|
|
26588
26588
|
return typeof e == "string" ? e : e.getColId();
|
|
26589
26589
|
}
|
|
@@ -26693,7 +26693,7 @@ function Ym(e, t, s, i) {
|
|
|
26693
26693
|
}
|
|
26694
26694
|
});
|
|
26695
26695
|
}
|
|
26696
|
-
function
|
|
26696
|
+
function Wc(e, t) {
|
|
26697
26697
|
const { editModelSvc: s } = e;
|
|
26698
26698
|
s?.getEditMap().forEach((i, o) => {
|
|
26699
26699
|
i.forEach((n, r) => {
|
|
@@ -27623,7 +27623,7 @@ var UP = class extends O {
|
|
|
27623
27623
|
}
|
|
27624
27624
|
onCellFocused(e) {
|
|
27625
27625
|
const { beans: t } = this;
|
|
27626
|
-
if (
|
|
27626
|
+
if (Ta(t))
|
|
27627
27627
|
return;
|
|
27628
27628
|
if (!this.comp) {
|
|
27629
27629
|
e && (this.focusEventWhileNotReady = e);
|
|
@@ -27885,7 +27885,7 @@ var s5 = class extends O {
|
|
|
27885
27885
|
const s = e.rowComp, i = this.getInitialRowClasses(e.containerType);
|
|
27886
27886
|
for (const o of i)
|
|
27887
27887
|
s.toggleCss(o, !0);
|
|
27888
|
-
this.executeSlideAndFadeAnimations(e), this.rowNode.group &&
|
|
27888
|
+
this.executeSlideAndFadeAnimations(e), this.rowNode.group && mc(e.element, this.rowNode.expanded == !0), this.setRowCompRowId(s), this.setRowCompRowBusinessKey(s), wi(t, e.element, ra, this), e.compBean.addDestroyFunc(() => wi(t, e.element, ra, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameSvc.createTask(
|
|
27889
27889
|
this.addHoverFunctionality.bind(this, e),
|
|
27890
27890
|
this.rowNode.rowIndex,
|
|
27891
27891
|
"p2",
|
|
@@ -27903,9 +27903,9 @@ var s5 = class extends O {
|
|
|
27903
27903
|
}
|
|
27904
27904
|
executeSlideAndFadeAnimations(e) {
|
|
27905
27905
|
const { containerType: t } = e;
|
|
27906
|
-
this.slideInAnimation[t] && (
|
|
27906
|
+
this.slideInAnimation[t] && (Cc(() => {
|
|
27907
27907
|
this.onTopChanged();
|
|
27908
|
-
}), this.slideInAnimation[t] = !1), this.fadeInAnimation[t] && (
|
|
27908
|
+
}), this.slideInAnimation[t] = !1), this.fadeInAnimation[t] && (Cc(() => {
|
|
27909
27909
|
e.rowComp.toggleCss("ag-opacity-zero", !1);
|
|
27910
27910
|
}), this.fadeInAnimation[t] = !1);
|
|
27911
27911
|
}
|
|
@@ -28738,12 +28738,12 @@ var s5 = class extends O {
|
|
|
28738
28738
|
}
|
|
28739
28739
|
// this method is throttled, see the `constructor`
|
|
28740
28740
|
onPageDown(e) {
|
|
28741
|
-
const t = this.beans, s =
|
|
28741
|
+
const t = this.beans, s = Ul(t), i = this.getViewportHeight(), { pageBounds: o, rowModel: n, rowAutoHeight: r } = t, a = o.getPixelOffset(), l = s.top + i, c = n.getRowIndexAtPixel(l + a);
|
|
28742
28742
|
r?.active ? this.navigateToNextPageWithAutoHeight(e, c) : this.navigateToNextPage(e, c);
|
|
28743
28743
|
}
|
|
28744
28744
|
// this method is throttled, see the `constructor`
|
|
28745
28745
|
onPageUp(e) {
|
|
28746
|
-
const t = this.beans, s =
|
|
28746
|
+
const t = this.beans, s = Ul(t), { pageBounds: i, rowModel: o, rowAutoHeight: n } = t, r = i.getPixelOffset(), a = s.top, l = o.getRowIndexAtPixel(a + r);
|
|
28747
28747
|
n?.active ? this.navigateToNextPageWithAutoHeight(e, l, !0) : this.navigateToNextPage(e, l, !0);
|
|
28748
28748
|
}
|
|
28749
28749
|
navigateToNextPage(e, t, s = !1) {
|
|
@@ -28800,7 +28800,7 @@ var s5 = class extends O {
|
|
|
28800
28800
|
return Math.max(0, Math.min(l, r));
|
|
28801
28801
|
}
|
|
28802
28802
|
getViewportHeight() {
|
|
28803
|
-
const e = this.beans, t =
|
|
28803
|
+
const e = this.beans, t = Ul(e), s = this.beans.scrollVisibleSvc.getScrollbarWidth();
|
|
28804
28804
|
let i = t.bottom - t.top;
|
|
28805
28805
|
return e.ctrlsSvc.get("center").isHorizontalScrollShowing() && (i -= s), i;
|
|
28806
28806
|
}
|
|
@@ -29055,7 +29055,7 @@ var s5 = class extends O {
|
|
|
29055
29055
|
this.gridBodyCon.scrollFeature.ensureIndexVisible(e);
|
|
29056
29056
|
}
|
|
29057
29057
|
};
|
|
29058
|
-
function
|
|
29058
|
+
function Ul(e) {
|
|
29059
29059
|
return e.ctrlsSvc.getScrollFeature().getVScrollPosition();
|
|
29060
29060
|
}
|
|
29061
29061
|
var n5 = {
|
|
@@ -30047,10 +30047,10 @@ var b5 = (
|
|
|
30047
30047
|
* @param rowNodes if provided, returns the RowCtrls for the provided rowNodes. otherwise returns all RowCtrls.
|
|
30048
30048
|
*/
|
|
30049
30049
|
getRowCtrls(e) {
|
|
30050
|
-
const t =
|
|
30050
|
+
const t = _c(e), s = this.getAllRowCtrls();
|
|
30051
30051
|
return !e || !t ? s : s.filter((i) => {
|
|
30052
30052
|
const o = i.rowNode;
|
|
30053
|
-
return
|
|
30053
|
+
return Uc(o, t);
|
|
30054
30054
|
});
|
|
30055
30055
|
}
|
|
30056
30056
|
// returns CellCtrl's that match the provided rowNodes and columns. eg if one row node
|
|
@@ -30185,12 +30185,12 @@ var b5 = (
|
|
|
30185
30185
|
this.refreshFloatingRowComps(), this.removeRowCtrls(e), this.redraw({ afterScroll: !0 });
|
|
30186
30186
|
}
|
|
30187
30187
|
getFullWidthRowCtrls(e) {
|
|
30188
|
-
const t =
|
|
30188
|
+
const t = _c(e);
|
|
30189
30189
|
return this.getAllRowCtrls().filter((s) => {
|
|
30190
30190
|
if (!s.isFullWidth())
|
|
30191
30191
|
return !1;
|
|
30192
30192
|
const i = s.rowNode;
|
|
30193
|
-
return !(t != null &&
|
|
30193
|
+
return !(t != null && !Uc(i, t));
|
|
30194
30194
|
});
|
|
30195
30195
|
}
|
|
30196
30196
|
createOrUpdateRowCtrl(e, t, s, i) {
|
|
@@ -30371,7 +30371,7 @@ var b5 = (
|
|
|
30371
30371
|
return this.entriesList;
|
|
30372
30372
|
}
|
|
30373
30373
|
};
|
|
30374
|
-
function
|
|
30374
|
+
function _c(e) {
|
|
30375
30375
|
if (!e)
|
|
30376
30376
|
return;
|
|
30377
30377
|
const t = {
|
|
@@ -30395,7 +30395,7 @@ function Uc(e) {
|
|
|
30395
30395
|
}
|
|
30396
30396
|
return t;
|
|
30397
30397
|
}
|
|
30398
|
-
function
|
|
30398
|
+
function Uc(e, t) {
|
|
30399
30399
|
const s = e.id;
|
|
30400
30400
|
switch (e.rowPinned) {
|
|
30401
30401
|
case "top":
|
|
@@ -31004,7 +31004,7 @@ var L5 = "paste", O5 = class extends O {
|
|
|
31004
31004
|
StatusBar: 1,
|
|
31005
31005
|
TreeData: 1,
|
|
31006
31006
|
ViewportRowModel: 1
|
|
31007
|
-
},
|
|
31007
|
+
}, $l = [
|
|
31008
31008
|
"TextFilter",
|
|
31009
31009
|
"NumberFilter",
|
|
31010
31010
|
"DateFilter",
|
|
@@ -31025,7 +31025,7 @@ var L5 = "paste", O5 = class extends O {
|
|
|
31025
31025
|
],
|
|
31026
31026
|
CheckboxCellRenderer: ["AllCommunity"],
|
|
31027
31027
|
ClientSideRowModelHierarchy: ["RowGrouping", "Pivot", "TreeData"],
|
|
31028
|
-
ColumnFilter:
|
|
31028
|
+
ColumnFilter: $l,
|
|
31029
31029
|
ColumnGroupHeaderComp: ["AllCommunity"],
|
|
31030
31030
|
ColumnGroup: ["AllCommunity"],
|
|
31031
31031
|
ColumnHeaderComp: ["AllCommunity"],
|
|
@@ -31035,7 +31035,7 @@ var L5 = "paste", O5 = class extends O {
|
|
|
31035
31035
|
CsrmSsrmSharedApi: ["ClientSideRowModelApi", "ServerSideRowModelApi"],
|
|
31036
31036
|
RowModelSharedApi: ["ClientSideRowModelApi", "ServerSideRowModelApi"],
|
|
31037
31037
|
EnterpriseCore: ["AllEnterprise"],
|
|
31038
|
-
FilterCore: [
|
|
31038
|
+
FilterCore: [...$l, "QuickFilter", "ExternalFilter", "AdvancedFilter"],
|
|
31039
31039
|
GroupCellRenderer: ["RowGrouping", "Pivot", "TreeData", "MasterDetail", "ServerSideRowModel"],
|
|
31040
31040
|
KeyboardNavigation: ["AllCommunity"],
|
|
31041
31041
|
LoadingCellRenderer: ["ServerSideRowModel"],
|
|
@@ -31046,7 +31046,7 @@ var L5 = "paste", O5 = class extends O {
|
|
|
31046
31046
|
SharedAggregation: ["RowGrouping", "Pivot", "TreeData", "ServerSideRowModel"],
|
|
31047
31047
|
SharedDragAndDrop: ["AllCommunity"],
|
|
31048
31048
|
SharedMasterDetail: ["MasterDetail", "ServerSideRowModel"],
|
|
31049
|
-
SharedMenu: [
|
|
31049
|
+
SharedMenu: [...$l, "ColumnMenu", "ContextMenu"],
|
|
31050
31050
|
SharedPivot: ["Pivot", "ServerSideRowModel"],
|
|
31051
31051
|
SharedRowGrouping: ["RowGrouping", "ServerSideRowModel"],
|
|
31052
31052
|
SharedRowSelection: ["RowSelection", "ServerSideRowModel"],
|
|
@@ -31286,7 +31286,7 @@ ${Y5(t)}`,
|
|
|
31286
31286
|
(a) => !["agCellEditor", "agGroupRowRenderer", "agSortIndicator"].includes(a)
|
|
31287
31287
|
),
|
|
31288
31288
|
...Object.keys(i ?? []).filter((a) => !!i[a])
|
|
31289
|
-
], r =
|
|
31289
|
+
], r = Pc({
|
|
31290
31290
|
inputValue: t,
|
|
31291
31291
|
allSuggestions: n,
|
|
31292
31292
|
hideIrrelevant: !0,
|
|
@@ -31306,7 +31306,7 @@ ${Y5(t)}`,
|
|
|
31306
31306
|
107: ({ key: e, value: t }) => `Invalid value for theme param ${e} - ${t}`,
|
|
31307
31307
|
108: ({ e }) => ["chart update failed", e],
|
|
31308
31308
|
109: ({ inputValue: e, allSuggestions: t }) => {
|
|
31309
|
-
const s =
|
|
31309
|
+
const s = Pc({
|
|
31310
31310
|
inputValue: e,
|
|
31311
31311
|
allSuggestions: t,
|
|
31312
31312
|
hideIrrelevant: !0,
|
|
@@ -31636,7 +31636,7 @@ var X5 = {
|
|
|
31636
31636
|
}
|
|
31637
31637
|
if (!e) {
|
|
31638
31638
|
const a = Object.entries(i).filter(
|
|
31639
|
-
([l, c]) =>
|
|
31639
|
+
([l, c]) => vc(c, s, l)
|
|
31640
31640
|
);
|
|
31641
31641
|
if (a.length == 1) {
|
|
31642
31642
|
const [l, c] = a[0];
|
|
@@ -31650,7 +31650,7 @@ var X5 = {
|
|
|
31650
31650
|
}
|
|
31651
31651
|
}
|
|
31652
31652
|
}
|
|
31653
|
-
if (!
|
|
31653
|
+
if (!vc(n, s, o)) {
|
|
31654
31654
|
Qo(
|
|
31655
31655
|
200,
|
|
31656
31656
|
{
|
|
@@ -31678,7 +31678,7 @@ function qs(e) {
|
|
|
31678
31678
|
const t = e.rowModel;
|
|
31679
31679
|
return t.getType() === "clientSide" ? t : void 0;
|
|
31680
31680
|
}
|
|
31681
|
-
function
|
|
31681
|
+
function Ia(e) {
|
|
31682
31682
|
const t = e.rowModel;
|
|
31683
31683
|
return t.getType() === "infinite" ? t : void 0;
|
|
31684
31684
|
}
|
|
@@ -31716,17 +31716,17 @@ function i4(e, t = !1) {
|
|
|
31716
31716
|
d.push(g), p && (s[f ?? u++] = { colId: g, sort: p }), C && (i[v ?? 0] = g), typeof w == "string" && o.push({ colId: g, aggFunc: w }), b && (n[S ?? 0] = g), y && (y === "right" ? a : r).push(g), R && l.push(g), (E != null || x) && c.push({ colId: g, flex: E ?? void 0, width: x });
|
|
31717
31717
|
}
|
|
31718
31718
|
return {
|
|
31719
|
-
sort: s.length ? { sortModel:
|
|
31720
|
-
rowGroup: i.length ? { groupColIds:
|
|
31719
|
+
sort: s.length ? { sortModel: jl(s) } : void 0,
|
|
31720
|
+
rowGroup: i.length ? { groupColIds: jl(i) } : void 0,
|
|
31721
31721
|
aggregation: o.length ? { aggregationModel: o } : void 0,
|
|
31722
|
-
pivot: n.length || t ? { pivotMode: t, pivotColIds:
|
|
31722
|
+
pivot: n.length || t ? { pivotMode: t, pivotColIds: jl(n) } : void 0,
|
|
31723
31723
|
columnPinning: r.length || a.length ? { leftColIds: r, rightColIds: a } : void 0,
|
|
31724
31724
|
columnVisibility: l.length ? { hiddenColIds: l } : void 0,
|
|
31725
31725
|
columnSizing: c.length ? { columnSizingModel: c } : void 0,
|
|
31726
31726
|
columnOrder: d.length ? { orderedColIds: d } : void 0
|
|
31727
31727
|
};
|
|
31728
31728
|
}
|
|
31729
|
-
function
|
|
31729
|
+
function jl(e) {
|
|
31730
31730
|
return e.filter((t) => t != null);
|
|
31731
31731
|
}
|
|
31732
31732
|
function o4(e) {
|
|
@@ -31753,7 +31753,7 @@ var n4 = class {
|
|
|
31753
31753
|
};
|
|
31754
31754
|
}
|
|
31755
31755
|
};
|
|
31756
|
-
function
|
|
31756
|
+
function Kl(e) {
|
|
31757
31757
|
return e.get("tooltipShowMode") === "whenTruncated";
|
|
31758
31758
|
}
|
|
31759
31759
|
function r4(e, t) {
|
|
@@ -32397,7 +32397,7 @@ function w4(e, t, s) {
|
|
|
32397
32397
|
);
|
|
32398
32398
|
if (o.length > 0)
|
|
32399
32399
|
for (const n of o)
|
|
32400
|
-
i[n] =
|
|
32400
|
+
i[n] = Pc({ inputValue: n, allSuggestions: s }).values;
|
|
32401
32401
|
return i;
|
|
32402
32402
|
}
|
|
32403
32403
|
var b4 = /* @__PURE__ */ new Set([
|
|
@@ -32772,7 +32772,7 @@ var E4 = {
|
|
|
32772
32772
|
isStopPropagation(e) {
|
|
32773
32773
|
return xs(e);
|
|
32774
32774
|
}
|
|
32775
|
-
},
|
|
32775
|
+
}, Aa = {
|
|
32776
32776
|
moduleName: "Popup",
|
|
32777
32777
|
version: X,
|
|
32778
32778
|
beans: [D4]
|
|
@@ -32968,7 +32968,7 @@ var V4 = {
|
|
|
32968
32968
|
), !0) : !1;
|
|
32969
32969
|
}
|
|
32970
32970
|
updateActiveFilters() {
|
|
32971
|
-
const e = (c) => c ? c.isFilterActive ? c.isFilterActive() : (W(67), !1) : !1, { colModel: t, gos: s } = this.beans, i = !!
|
|
32971
|
+
const e = (c) => c ? c.isFilterActive ? c.isFilterActive() : (W(67), !1) : !1, { colModel: t, gos: s } = this.beans, i = !!Sc(s), o = (c) => {
|
|
32972
32972
|
if (!c.isPrimary())
|
|
32973
32973
|
return !0;
|
|
32974
32974
|
const u = !t.isPivotActive();
|
|
@@ -33328,7 +33328,7 @@ var V4 = {
|
|
|
33328
33328
|
const i = this.createHandlerFunc(e, t, s);
|
|
33329
33329
|
if (!i)
|
|
33330
33330
|
return;
|
|
33331
|
-
const o =
|
|
33331
|
+
const o = bl(
|
|
33332
33332
|
this.beans.userCompFactory,
|
|
33333
33333
|
t,
|
|
33334
33334
|
this.createFilterCompParams(e, !0, "init")
|
|
@@ -33379,7 +33379,7 @@ var V4 = {
|
|
|
33379
33379
|
g?.then((p) => {
|
|
33380
33380
|
h(vn(p));
|
|
33381
33381
|
});
|
|
33382
|
-
}, r = e.getColDef(), a = o?.isSelectable(r) ? o.getFilterDef(e, r) : r, l = Z2(i, a, () => this.getDefaultFloatingFilter(e)) ?? "agReadOnlyFloatingFilter", c = this.gos.get("enableFilterHandlers"), d =
|
|
33382
|
+
}, r = e.getColDef(), a = o?.isSelectable(r) ? o.getFilterDef(e, r) : r, l = Z2(i, a, () => this.getDefaultFloatingFilter(e)) ?? "agReadOnlyFloatingFilter", c = this.gos.get("enableFilterHandlers"), d = bl(
|
|
33383
33383
|
s,
|
|
33384
33384
|
a,
|
|
33385
33385
|
this.createFilterCompParams(e, c, "init", !0)
|
|
@@ -33476,7 +33476,7 @@ var V4 = {
|
|
|
33476
33476
|
this.destroyFilter(o, "paramsUpdated");
|
|
33477
33477
|
return;
|
|
33478
33478
|
}
|
|
33479
|
-
const { compDetails: g, createFilterUi: p } = (r ? this.createFilterComp(o, c, a, (C) => C, u, "colDef") : null) ?? { compDetails: null, createFilterUi: null }, f = g?.params ??
|
|
33479
|
+
const { compDetails: g, createFilterUi: p } = (r ? this.createFilterComp(o, c, a, (C) => C, u, "colDef") : null) ?? { compDetails: null, createFilterUi: null }, f = g?.params ?? bl(
|
|
33480
33480
|
i.userCompFactory,
|
|
33481
33481
|
c,
|
|
33482
33482
|
this.createFilterCompParams(o, u, "colDef")
|
|
@@ -33858,7 +33858,7 @@ var U4 = class extends O {
|
|
|
33858
33858
|
return this.isAdvFilterEnabled() && this.advancedFilter.isHeaderActive();
|
|
33859
33859
|
}
|
|
33860
33860
|
refreshFiltersForAggregations() {
|
|
33861
|
-
|
|
33861
|
+
Sc(this.gos) && this.isAnyFilterPresent() && this.onFilterChanged();
|
|
33862
33862
|
}
|
|
33863
33863
|
onFilterChanged(e = {}) {
|
|
33864
33864
|
const { source: t, additionalEventAttributes: s, columns: i = [] } = e;
|
|
@@ -33878,7 +33878,7 @@ var U4 = class extends O {
|
|
|
33878
33878
|
return !!this.quickFilter?.isFilterPresent();
|
|
33879
33879
|
}
|
|
33880
33880
|
updateAggFiltering() {
|
|
33881
|
-
this.aggFiltering = !!
|
|
33881
|
+
this.aggFiltering = !!Sc(this.gos);
|
|
33882
33882
|
}
|
|
33883
33883
|
isAggregateQuickFilterPresent() {
|
|
33884
33884
|
return this.isQuickFilterPresent() && this.shouldApplyQuickFilterAfterAgg();
|
|
@@ -34088,7 +34088,7 @@ var U4 = class extends O {
|
|
|
34088
34088
|
]
|
|
34089
34089
|
}, q4 = class extends Ke {
|
|
34090
34090
|
constructor() {
|
|
34091
|
-
super(K4, [
|
|
34091
|
+
super(K4, [Ea]), this.eFloatingFilterText = ce;
|
|
34092
34092
|
}
|
|
34093
34093
|
init(e) {
|
|
34094
34094
|
this.params = e;
|
|
@@ -34967,7 +34967,7 @@ var lg = 1e3, cg = 1 / 0, X4 = class extends mu {
|
|
|
34967
34967
|
}), this.filterTypeKeys = aC;
|
|
34968
34968
|
}
|
|
34969
34969
|
conditionToString(e, t, s, i, o) {
|
|
34970
|
-
const { type: n } = e, r = Ft(e.dateFrom), a = Ft(e.dateTo), l = this.filterParams.inRangeFloatingFilterDateFormat, c = t ? this.formatValue.bind(this) : (h) =>
|
|
34970
|
+
const { type: n } = e, r = Ft(e.dateFrom), a = Ft(e.dateTo), l = this.filterParams.inRangeFloatingFilterDateFormat, c = t ? this.formatValue.bind(this) : (h) => Dc(h, l), d = () => r !== null ? c(r) : "null", u = () => a !== null ? c(a) : "null";
|
|
34971
34971
|
if (t) {
|
|
34972
34972
|
const h = this.conditionForToolPanel(
|
|
34973
34973
|
n,
|
|
@@ -35083,7 +35083,7 @@ var tT = class extends rC {
|
|
|
35083
35083
|
]
|
|
35084
35084
|
}, iT = class extends cC {
|
|
35085
35085
|
constructor() {
|
|
35086
|
-
super(sT, [
|
|
35086
|
+
super(sT, [Ea]), this.eReadOnlyText = ce, this.eDateWrapper = ce, this.FilterModelFormatterClass = lC, this.filterType = "date", this.defaultOptions = Cu;
|
|
35087
35087
|
}
|
|
35088
35088
|
setParams(e) {
|
|
35089
35089
|
super.setParams(e), this.createDateComponent();
|
|
@@ -35162,7 +35162,7 @@ var tT = class extends rC {
|
|
|
35162
35162
|
]
|
|
35163
35163
|
}, nT = class extends Ke {
|
|
35164
35164
|
constructor() {
|
|
35165
|
-
super(oT, [
|
|
35165
|
+
super(oT, [Ea]), this.eDateInput = ce, this.isApply = !1, this.applyOnFocusOut = !1;
|
|
35166
35166
|
}
|
|
35167
35167
|
init(e) {
|
|
35168
35168
|
this.params = e, this.setParams(e);
|
|
@@ -35200,7 +35200,7 @@ var tT = class extends rC {
|
|
|
35200
35200
|
);
|
|
35201
35201
|
h && g && h.getTime() > g.getTime() && W(87);
|
|
35202
35202
|
}
|
|
35203
|
-
n ? n instanceof Date ? t.min =
|
|
35203
|
+
n ? n instanceof Date ? t.min = Dc(n) : t.min = n : i && (t.min = `${i}-01-01`), r ? r instanceof Date ? t.max = Dc(r) : t.max = r : o && (t.max = `${o}-12-31`), this.isApply = e.location === "floatingFilter" && !!a?.includes("apply");
|
|
35204
35204
|
}
|
|
35205
35205
|
refresh(e) {
|
|
35206
35206
|
this.params = e, this.setParams(e);
|
|
@@ -35238,16 +35238,16 @@ var tT = class extends rC {
|
|
|
35238
35238
|
"blank",
|
|
35239
35239
|
"notBlank"
|
|
35240
35240
|
];
|
|
35241
|
-
function
|
|
35241
|
+
function $c(e) {
|
|
35242
35242
|
const { allowedCharPattern: t } = e ?? {};
|
|
35243
35243
|
return t ?? null;
|
|
35244
35244
|
}
|
|
35245
|
-
function
|
|
35245
|
+
function jc(e) {
|
|
35246
35246
|
return e == null || isNaN(e) ? null : e;
|
|
35247
35247
|
}
|
|
35248
35248
|
function dC(e, t) {
|
|
35249
35249
|
const { filter: s, filterTo: i, type: o } = e || {};
|
|
35250
|
-
return [
|
|
35250
|
+
return [jc(s), jc(i)].slice(
|
|
35251
35251
|
0,
|
|
35252
35252
|
yn(o, t)
|
|
35253
35253
|
);
|
|
@@ -35261,7 +35261,7 @@ var rT = class extends mu {
|
|
|
35261
35261
|
super.setElementValue(e, o);
|
|
35262
35262
|
}
|
|
35263
35263
|
createEValue() {
|
|
35264
|
-
const e =
|
|
35264
|
+
const e = $c(this.params), t = yt({ tag: "div", cls: "ag-filter-body", role: "presentation" });
|
|
35265
35265
|
return this.createFromToElement(t, this.eValuesFrom, "from", e), this.createFromToElement(t, this.eValuesTo, "to", e), t;
|
|
35266
35266
|
}
|
|
35267
35267
|
createFromToElement(e, t, s, i) {
|
|
@@ -35277,7 +35277,7 @@ var rT = class extends mu {
|
|
|
35277
35277
|
getValues(e) {
|
|
35278
35278
|
const t = [];
|
|
35279
35279
|
return this.forEachPositionInput(e, (s, i, o, n) => {
|
|
35280
|
-
i < n && t.push(
|
|
35280
|
+
i < n && t.push(jc(this.stringToFloat(s.getValue())));
|
|
35281
35281
|
}), t;
|
|
35282
35282
|
}
|
|
35283
35283
|
areSimpleModelsEqual(e, t) {
|
|
@@ -35370,7 +35370,7 @@ var rT = class extends mu {
|
|
|
35370
35370
|
s.setInputAriaLabel(e), t !== void 0 && s.setAutoComplete(t);
|
|
35371
35371
|
}
|
|
35372
35372
|
};
|
|
35373
|
-
function
|
|
35373
|
+
function Kc(e) {
|
|
35374
35374
|
const t = e?.trim();
|
|
35375
35375
|
return t === "" ? e : t;
|
|
35376
35376
|
}
|
|
@@ -35404,7 +35404,7 @@ var lT = {
|
|
|
35404
35404
|
if (s.setParams({
|
|
35405
35405
|
ariaLabel: this.getAriaLabel(e),
|
|
35406
35406
|
autoComplete: t
|
|
35407
|
-
}), this.applyActive =
|
|
35407
|
+
}), this.applyActive = Pa(e.filterParams), !o) {
|
|
35408
35408
|
const n = tu(e.filterParams, i), r = ct(
|
|
35409
35409
|
this,
|
|
35410
35410
|
this.syncUpWithParentFilter.bind(this),
|
|
@@ -35426,7 +35426,7 @@ var lT = {
|
|
|
35426
35426
|
return;
|
|
35427
35427
|
const { inputSvc: i, params: o, lastType: n } = this;
|
|
35428
35428
|
let r = i.getValue();
|
|
35429
|
-
if (o.filterParams.trimInput && (r =
|
|
35429
|
+
if (o.filterParams.trimInput && (r = Kc(r), i.setValue(r, !0)), s) {
|
|
35430
35430
|
const a = o, l = a.model, c = this.convertValue(r), d = c == null ? null : {
|
|
35431
35431
|
...l ?? {
|
|
35432
35432
|
filterType: this.filterType,
|
|
@@ -35491,10 +35491,10 @@ var lT = {
|
|
|
35491
35491
|
super(...arguments), this.FilterModelFormatterClass = uC, this.filterType = "number", this.defaultOptions = wu;
|
|
35492
35492
|
}
|
|
35493
35493
|
updateParams(e) {
|
|
35494
|
-
|
|
35494
|
+
$c(e.filterParams) !== this.allowedCharPattern && this.recreateFloatingFilterInputService(e), super.updateParams(e);
|
|
35495
35495
|
}
|
|
35496
35496
|
createFloatingFilterInputService(e) {
|
|
35497
|
-
return this.allowedCharPattern =
|
|
35497
|
+
return this.allowedCharPattern = $c(e.filterParams), this.allowedCharPattern ? this.createManagedBean(
|
|
35498
35498
|
new hC({
|
|
35499
35499
|
config: { allowedCharPattern: this.allowedCharPattern }
|
|
35500
35500
|
})
|
|
@@ -35632,7 +35632,7 @@ var lT = {
|
|
|
35632
35632
|
const i = {
|
|
35633
35633
|
...s
|
|
35634
35634
|
}, { filter: o, filterTo: n } = s;
|
|
35635
|
-
return o && (i.filter =
|
|
35635
|
+
return o && (i.filter = Kc(o) ?? null), n && (i.filterTo = Kc(n) ?? null), i;
|
|
35636
35636
|
};
|
|
35637
35637
|
return tm(e) ? {
|
|
35638
35638
|
...e,
|
|
@@ -35784,7 +35784,7 @@ var bT = class extends O {
|
|
|
35784
35784
|
moduleName: "FilterValue",
|
|
35785
35785
|
version: X,
|
|
35786
35786
|
beans: [j4]
|
|
35787
|
-
},
|
|
35787
|
+
}, ka = {
|
|
35788
35788
|
moduleName: "ColumnFilter",
|
|
35789
35789
|
version: X,
|
|
35790
35790
|
beans: [z4, $4],
|
|
@@ -35808,16 +35808,16 @@ var bT = class extends O {
|
|
|
35808
35808
|
getColumnFilterHandler: G4,
|
|
35809
35809
|
doFilterAction: B4
|
|
35810
35810
|
},
|
|
35811
|
-
dependsOn: [Su,
|
|
35811
|
+
dependsOn: [Su, Aa, mC, E4]
|
|
35812
35812
|
}, yT = {
|
|
35813
35813
|
moduleName: "CustomFilter",
|
|
35814
35814
|
version: X,
|
|
35815
35815
|
userComponents: { agReadOnlyFloatingFilter: q4 },
|
|
35816
|
-
dependsOn: [
|
|
35816
|
+
dependsOn: [ka]
|
|
35817
35817
|
}, RT = {
|
|
35818
35818
|
moduleName: "TextFilter",
|
|
35819
35819
|
version: X,
|
|
35820
|
-
dependsOn: [
|
|
35820
|
+
dependsOn: [ka],
|
|
35821
35821
|
userComponents: {
|
|
35822
35822
|
agTextColumnFilter: {
|
|
35823
35823
|
classImp: uT,
|
|
@@ -35833,7 +35833,7 @@ var bT = class extends O {
|
|
|
35833
35833
|
}, xT = {
|
|
35834
35834
|
moduleName: "NumberFilter",
|
|
35835
35835
|
version: X,
|
|
35836
|
-
dependsOn: [
|
|
35836
|
+
dependsOn: [ka],
|
|
35837
35837
|
userComponents: {
|
|
35838
35838
|
agNumberColumnFilter: {
|
|
35839
35839
|
classImp: rT,
|
|
@@ -35849,7 +35849,7 @@ var bT = class extends O {
|
|
|
35849
35849
|
}, FT = {
|
|
35850
35850
|
moduleName: "DateFilter",
|
|
35851
35851
|
version: X,
|
|
35852
|
-
dependsOn: [
|
|
35852
|
+
dependsOn: [ka],
|
|
35853
35853
|
userComponents: {
|
|
35854
35854
|
agDateColumnFilter: {
|
|
35855
35855
|
classImp: X4,
|
|
@@ -35885,7 +35885,7 @@ var bT = class extends O {
|
|
|
35885
35885
|
}, TT = (
|
|
35886
35886
|
/*css*/
|
|
35887
35887
|
".ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-tooltip-border);border-radius:var(--ag-border-radius);color:var(--ag-tooltip-text-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;white-space:normal;z-index:99999;&:where(.ag-cell-editor-tooltip){background-color:var(--ag-tooltip-error-background-color);border:var(--ag-tooltip-error-border);color:var(--ag-tooltip-error-text-color);font-weight:500}}.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:where(:not(.ag-tooltip-interactive)),.ag-tooltip:where(:not(.ag-tooltip-interactive)){pointer-events:none}.ag-tooltip-animate{transition:opacity 1s;&:where(.ag-tooltip-hiding){opacity:0}}"
|
|
35888
|
-
),
|
|
35888
|
+
), ql = (e, t, s) => {
|
|
35889
35889
|
const { editModelSvc: i } = e, o = i?.getCellValidationModel()?.getCellValidation(t)?.errorMessages, n = i?.getRowValidationModel().getRowValidation(t)?.errorMessages, r = o || n;
|
|
35890
35890
|
return r?.length ? r.join(s("tooltipValidationErrorSeparator", ". ")) : void 0;
|
|
35891
35891
|
}, MT = class extends O {
|
|
@@ -35894,7 +35894,7 @@ var bT = class extends O {
|
|
|
35894
35894
|
}
|
|
35895
35895
|
setupHeaderTooltip(e, t, s, i) {
|
|
35896
35896
|
e && t.destroyBean(e);
|
|
35897
|
-
const o = this.gos, n =
|
|
35897
|
+
const o = this.gos, n = Kl(o), { column: r, eGui: a } = t, l = r.getColDef();
|
|
35898
35898
|
!i && n && !l.headerComponent && (i = Rr(
|
|
35899
35899
|
() => a.querySelector(".ag-header-cell-text")
|
|
35900
35900
|
));
|
|
@@ -35915,7 +35915,7 @@ var bT = class extends O {
|
|
|
35915
35915
|
}
|
|
35916
35916
|
setupHeaderGroupTooltip(e, t, s, i) {
|
|
35917
35917
|
e && t.destroyBean(e);
|
|
35918
|
-
const o = this.gos, n =
|
|
35918
|
+
const o = this.gos, n = Kl(o), { column: r, eGui: a } = t, l = r.getColGroupDef();
|
|
35919
35919
|
!i && n && !l?.headerGroupComponent && (i = Rr(
|
|
35920
35920
|
() => a.querySelector(".ag-header-group-text")
|
|
35921
35921
|
));
|
|
@@ -35939,7 +35939,7 @@ var bT = class extends O {
|
|
|
35939
35939
|
const { beans: i } = this, { gos: o, editSvc: n } = i, { column: r, rowNode: a } = e;
|
|
35940
35940
|
let l = "cell";
|
|
35941
35941
|
const c = () => {
|
|
35942
|
-
const g = !!!n?.isEditing(e) &&
|
|
35942
|
+
const g = !!!n?.isEditing(e) && ql(i, e, this.getLocaleTextFunc());
|
|
35943
35943
|
if (g)
|
|
35944
35944
|
return l = "cellEditor", g;
|
|
35945
35945
|
l = "cell";
|
|
@@ -35959,10 +35959,10 @@ var bT = class extends O {
|
|
|
35959
35959
|
valueFormatted: e.valueFormatted
|
|
35960
35960
|
})
|
|
35961
35961
|
) : null;
|
|
35962
|
-
}, d =
|
|
35962
|
+
}, d = Kl(o);
|
|
35963
35963
|
s || (d && !e.isCellRenderer() ? s = () => {
|
|
35964
35964
|
const h = !!n?.isEditing(e);
|
|
35965
|
-
if (!h &&
|
|
35965
|
+
if (!h && ql(i, e, this.getLocaleTextFunc()))
|
|
35966
35966
|
return !0;
|
|
35967
35967
|
if (!r.isTooltipEnabled())
|
|
35968
35968
|
return !1;
|
|
@@ -36006,7 +36006,7 @@ var bT = class extends O {
|
|
|
36006
36006
|
return;
|
|
36007
36007
|
const n = {
|
|
36008
36008
|
getGui: () => o,
|
|
36009
|
-
getTooltipValue: () =>
|
|
36009
|
+
getTooltipValue: () => ql(s, e, this.getLocaleTextFunc()),
|
|
36010
36010
|
getLocation: () => "cellEditor",
|
|
36011
36011
|
shouldDisplayTooltip: () => {
|
|
36012
36012
|
const { editModelSvc: a } = s, l = a?.getRowValidationModel()?.getRowValidationMap(), c = a?.getCellValidationModel()?.getCellValidationMap(), d = !!l && l.size > 0, u = !!c && c.size > 0;
|
|
@@ -36047,13 +36047,13 @@ var bT = class extends O {
|
|
|
36047
36047
|
userComponents: {
|
|
36048
36048
|
agTooltipComponent: y2
|
|
36049
36049
|
},
|
|
36050
|
-
dependsOn: [
|
|
36050
|
+
dependsOn: [Aa],
|
|
36051
36051
|
css: [TT]
|
|
36052
36052
|
}, Wi = class {
|
|
36053
36053
|
constructor(e) {
|
|
36054
36054
|
this.cellValueChanges = e;
|
|
36055
36055
|
}
|
|
36056
|
-
},
|
|
36056
|
+
}, Yl = class extends Wi {
|
|
36057
36057
|
constructor(e, t, s, i) {
|
|
36058
36058
|
super(e), this.initialRange = t, this.finalRange = s, this.ranges = i;
|
|
36059
36059
|
}
|
|
@@ -36159,7 +36159,7 @@ var bT = class extends O {
|
|
|
36159
36159
|
n,
|
|
36160
36160
|
(r) => r[i],
|
|
36161
36161
|
o
|
|
36162
|
-
), n instanceof
|
|
36162
|
+
), n instanceof Yl ? this.processRange(n.ranges || [n[s]]) : this.processCell(n.cellValueChanges), t.push(n), !0) : !1;
|
|
36163
36163
|
}
|
|
36164
36164
|
processAction(e, t, s) {
|
|
36165
36165
|
for (const i of e.cellValueChanges) {
|
|
@@ -36236,7 +36236,7 @@ var bT = class extends O {
|
|
|
36236
36236
|
this.isRangeInAction = !0;
|
|
36237
36237
|
},
|
|
36238
36238
|
fillEnd: (e) => {
|
|
36239
|
-
const t = new
|
|
36239
|
+
const t = new Yl(this.cellValueChanges, e.initialRange, e.finalRange);
|
|
36240
36240
|
this.pushActionsToUndoStack(t), this.isRangeInAction = !1;
|
|
36241
36241
|
},
|
|
36242
36242
|
keyShortcutChangedCellStart: () => {
|
|
@@ -36245,7 +36245,7 @@ var bT = class extends O {
|
|
|
36245
36245
|
keyShortcutChangedCellEnd: () => {
|
|
36246
36246
|
let e;
|
|
36247
36247
|
const { rangeSvc: t, gos: s } = this.beans;
|
|
36248
|
-
t && Ws(s) ? e = new
|
|
36248
|
+
t && Ws(s) ? e = new Yl(this.cellValueChanges, void 0, void 0, [
|
|
36249
36249
|
...t.getCellRanges()
|
|
36250
36250
|
]) : e = new Wi(this.cellValueChanges), this.pushActionsToUndoStack(e), this.isRangeInAction = !1;
|
|
36251
36251
|
},
|
|
@@ -36283,7 +36283,7 @@ var bT = class extends O {
|
|
|
36283
36283
|
role: "presentation"
|
|
36284
36284
|
}
|
|
36285
36285
|
]
|
|
36286
|
-
}, NT = class extends
|
|
36286
|
+
}, NT = class extends Ma {
|
|
36287
36287
|
constructor() {
|
|
36288
36288
|
super(OT, [qd]), this.eEditor = ce;
|
|
36289
36289
|
}
|
|
@@ -36306,7 +36306,7 @@ var bT = class extends O {
|
|
|
36306
36306
|
return !1;
|
|
36307
36307
|
}
|
|
36308
36308
|
setAriaLabel(e) {
|
|
36309
|
-
const t = this.getLocaleTextFunc(), s =
|
|
36309
|
+
const t = this.getLocaleTextFunc(), s = xa(t, e), i = t("ariaToggleCellValue", "Press SPACE to toggle cell value");
|
|
36310
36310
|
this.eEditor.setInputAriaLabel(`${i} (${s})`);
|
|
36311
36311
|
}
|
|
36312
36312
|
getValidationElement(e) {
|
|
@@ -36320,7 +36320,7 @@ var bT = class extends O {
|
|
|
36320
36320
|
cellEditorParams: e
|
|
36321
36321
|
}) : null;
|
|
36322
36322
|
}
|
|
36323
|
-
},
|
|
36323
|
+
}, La = class extends Ma {
|
|
36324
36324
|
constructor(e) {
|
|
36325
36325
|
super(), this.cellEditorInput = e, this.eEditor = ce;
|
|
36326
36326
|
}
|
|
@@ -36417,7 +36417,7 @@ var bT = class extends O {
|
|
|
36417
36417
|
if (e instanceof Date)
|
|
36418
36418
|
return Tt(e, this.includeTime ?? !1);
|
|
36419
36419
|
}
|
|
36420
|
-
}, BT = class extends
|
|
36420
|
+
}, BT = class extends La {
|
|
36421
36421
|
constructor() {
|
|
36422
36422
|
super(
|
|
36423
36423
|
new GT(
|
|
@@ -36490,7 +36490,7 @@ var bT = class extends O {
|
|
|
36490
36490
|
const t = this.getDataTypeService();
|
|
36491
36491
|
return t ? t.getDateFormatterFunction(this.params.column)(e) : Tt(e ?? null, this.includeTime ?? !1) ?? void 0;
|
|
36492
36492
|
}
|
|
36493
|
-
}, WT = class extends
|
|
36493
|
+
}, WT = class extends La {
|
|
36494
36494
|
constructor() {
|
|
36495
36495
|
super(
|
|
36496
36496
|
new zT(
|
|
@@ -36509,7 +36509,7 @@ var bT = class extends O {
|
|
|
36509
36509
|
cls: "ag-large-text-input"
|
|
36510
36510
|
}
|
|
36511
36511
|
]
|
|
36512
|
-
}, UT = class extends
|
|
36512
|
+
}, UT = class extends Ma {
|
|
36513
36513
|
constructor() {
|
|
36514
36514
|
super(_T, [PR]), this.eEditor = ce;
|
|
36515
36515
|
}
|
|
@@ -36606,7 +36606,7 @@ var bT = class extends O {
|
|
|
36606
36606
|
setCaret() {
|
|
36607
36607
|
Ks() && this.eEditor.getInputElement().focus({ preventScroll: !0 });
|
|
36608
36608
|
}
|
|
36609
|
-
}, KT = class extends
|
|
36609
|
+
}, KT = class extends La {
|
|
36610
36610
|
constructor() {
|
|
36611
36611
|
super(new jT(() => this.getLocaleTextFunc()));
|
|
36612
36612
|
}
|
|
@@ -36620,7 +36620,7 @@ var bT = class extends O {
|
|
|
36620
36620
|
cls: "ag-cell-editor"
|
|
36621
36621
|
}
|
|
36622
36622
|
]
|
|
36623
|
-
}, YT = class extends
|
|
36623
|
+
}, YT = class extends Ma {
|
|
36624
36624
|
constructor() {
|
|
36625
36625
|
super(qT, [VR]), this.eEditor = ce, this.startedByEnter = !1;
|
|
36626
36626
|
}
|
|
@@ -36686,7 +36686,7 @@ var bT = class extends O {
|
|
|
36686
36686
|
return ZT;
|
|
36687
36687
|
}
|
|
36688
36688
|
getAgComponents() {
|
|
36689
|
-
return [
|
|
36689
|
+
return [Ea];
|
|
36690
36690
|
}
|
|
36691
36691
|
init(e, t) {
|
|
36692
36692
|
this.eEditor = e, this.params = t;
|
|
@@ -36713,7 +36713,7 @@ var bT = class extends O {
|
|
|
36713
36713
|
const e = this.eEditor, t = e.getValue(), s = J(t) && t.length || 0;
|
|
36714
36714
|
s && e.getInputElement().setSelectionRange(s, s);
|
|
36715
36715
|
}
|
|
36716
|
-
}, ug = class extends
|
|
36716
|
+
}, ug = class extends La {
|
|
36717
36717
|
constructor() {
|
|
36718
36718
|
super(new QT(() => this.getLocaleTextFunc()));
|
|
36719
36719
|
}
|
|
@@ -36834,7 +36834,7 @@ var uM = { tag: "div", cls: "ag-popup-editor", attrs: { tabindex: "-1" } }, hM =
|
|
|
36834
36834
|
}
|
|
36835
36835
|
addKeyDownListener() {
|
|
36836
36836
|
const e = this.getGui(), t = this.params, s = (i) => {
|
|
36837
|
-
|
|
36837
|
+
Lc(this.gos, i, t.node, t.column, !0) || t.onKeyDown(i);
|
|
36838
36838
|
};
|
|
36839
36839
|
this.addManagedElementListeners(e, { keydown: s });
|
|
36840
36840
|
}
|
|
@@ -36850,13 +36850,13 @@ function gM(e, { column: t }, s, i, o = "ui") {
|
|
|
36850
36850
|
function pM(e, t) {
|
|
36851
36851
|
return e.get("suppressClickEdit") === !0 ? 0 : e.get("singleClickEdit") === !0 || t?.singleClickEdit ? 1 : 2;
|
|
36852
36852
|
}
|
|
36853
|
-
function
|
|
36853
|
+
function qc(e, { rowNode: t, column: s }, i = "ui") {
|
|
36854
36854
|
const o = s.getColDef().editable, n = e.editModelSvc;
|
|
36855
36855
|
return s.isColumnFunc(t, o) || !!n && n.hasEdits({ rowNode: t, column: s }, { withOpenEditor: !0 });
|
|
36856
36856
|
}
|
|
36857
36857
|
function fM(e, t, s = "ui") {
|
|
36858
|
-
const i =
|
|
36859
|
-
return i === !0 || s === "ui" ? i : e.colModel.getCols().some((n) =>
|
|
36858
|
+
const i = qc(e, t, s);
|
|
36859
|
+
return i === !0 || s === "ui" ? i : e.colModel.getCols().some((n) => qc(e, { rowNode: t.rowNode, column: n }, s));
|
|
36860
36860
|
}
|
|
36861
36861
|
var ua = (e, t = !1) => {
|
|
36862
36862
|
if (e !== void 0)
|
|
@@ -37072,7 +37072,7 @@ var mM = class extends O {
|
|
|
37072
37072
|
(v || b || w) && (v || b ? ni(a, { persist: !0 }) : w && this.revertSingleCellEdit(u), this.isBatchEditing() ? this.strategy?.cleanupEditors() : io(a, l.getEditPositions(), { event: s, cancel: w }), s.preventDefault(), this.bulkRefresh(e, h, { suppressFlash: !0 }), h = l.getEditMap());
|
|
37073
37073
|
} else
|
|
37074
37074
|
ni(a, { persist: !0 }), h = l.getEditMap();
|
|
37075
|
-
return g && e && this.model.removeEdits(e), this.navigateAfterEdit(t, u?.cellPosition),
|
|
37075
|
+
return g && e && this.model.removeEdits(e), this.navigateAfterEdit(t, u?.cellPosition), Wc(a), this.model.hasEdits() || (this.model.getCellValidationModel().clearCellValidationMap(), this.model.getRowValidationModel().clearRowValidationMap()), this.bulkRefresh(), f && this.beans.rowRenderer.refreshRows({ rowNodes: Array.from(h.keys()) }), this.isBatchEditing() && (this.beans.rowRenderer.refreshRows({ suppressFlash: !0, force: !0 }), g && p && this.dispatchBatchEvent("batchEditingStopped", h)), this.stopping = !1, g;
|
|
37076
37076
|
}
|
|
37077
37077
|
navigateAfterEdit(e, t) {
|
|
37078
37078
|
if (!e || !t)
|
|
@@ -37163,7 +37163,7 @@ var mM = class extends O {
|
|
|
37163
37163
|
} else if (!i.get("enableGroupEdit"))
|
|
37164
37164
|
return !1;
|
|
37165
37165
|
}
|
|
37166
|
-
const n = hg(i) === "fullRow" ? fM(o, e, t) :
|
|
37166
|
+
const n = hg(i) === "fullRow" ? fM(o, e, t) : qc(o, e, t);
|
|
37167
37167
|
return n && (this.strategy ?? (this.strategy = this.createStrategy())), n;
|
|
37168
37168
|
}
|
|
37169
37169
|
cellEditingInvalidCommitBlocks() {
|
|
@@ -37317,7 +37317,7 @@ var mM = class extends O {
|
|
|
37317
37317
|
}
|
|
37318
37318
|
h.size > 0 && r.set(u, h);
|
|
37319
37319
|
}), this.setEditMap(r), this.batch) {
|
|
37320
|
-
this.cleanupEditors(),
|
|
37320
|
+
this.cleanupEditors(), Wc(i), this.bulkRefresh();
|
|
37321
37321
|
return;
|
|
37322
37322
|
}
|
|
37323
37323
|
this.commitNextEdit(), this.stopEditing(void 0, { source: "bulk" }), this.eventSvc.dispatchEvent({ type: "bulkEditingStopped", changes: this.toEventChangeList(r) });
|
|
@@ -37445,7 +37445,7 @@ var FC = class extends O {
|
|
|
37445
37445
|
else
|
|
37446
37446
|
for (const o of s)
|
|
37447
37447
|
i.push(o);
|
|
37448
|
-
io(this.beans, i),
|
|
37448
|
+
io(this.beans, i), Wc(this.beans, t);
|
|
37449
37449
|
}
|
|
37450
37450
|
setFocusOutOnEditor(e) {
|
|
37451
37451
|
e.comp?.getCellEditor()?.focusOut?.();
|
|
@@ -37651,9 +37651,9 @@ var FC = class extends O {
|
|
|
37651
37651
|
return super.stop(e, t), this.rowNode = void 0, this.column = void 0, !0;
|
|
37652
37652
|
}
|
|
37653
37653
|
onCellFocusChanged(e) {
|
|
37654
|
-
const { colModel: t, editSvc: s } = this.beans, { rowIndex: i, column: o, rowPinned: n } = e, r = Fs(this.beans, { rowIndex: i, rowPinned: n }), a =
|
|
37654
|
+
const { colModel: t, editSvc: s } = this.beans, { rowIndex: i, column: o, rowPinned: n } = e, r = Fs(this.beans, { rowIndex: i, rowPinned: n }), a = zc(o), l = t.getCol(a), c = e.previousParams;
|
|
37655
37655
|
if (c) {
|
|
37656
|
-
const d =
|
|
37656
|
+
const d = zc(c.column);
|
|
37657
37657
|
if (c?.rowIndex === i && d === a && c?.rowPinned === n)
|
|
37658
37658
|
return;
|
|
37659
37659
|
}
|
|
@@ -37719,7 +37719,7 @@ var FC = class extends O {
|
|
|
37719
37719
|
singleCell: TM,
|
|
37720
37720
|
fullRow: PM
|
|
37721
37721
|
},
|
|
37722
|
-
dependsOn: [
|
|
37722
|
+
dependsOn: [Aa, CC],
|
|
37723
37723
|
css: [LT]
|
|
37724
37724
|
}, MM = {
|
|
37725
37725
|
moduleName: "UndoRedoEdit",
|
|
@@ -38434,7 +38434,7 @@ function t6(e, t, s) {
|
|
|
38434
38434
|
ke(28);
|
|
38435
38435
|
return;
|
|
38436
38436
|
}
|
|
38437
|
-
|
|
38437
|
+
Ia(e)?.setRowCount(t, s);
|
|
38438
38438
|
}
|
|
38439
38439
|
function s6(e) {
|
|
38440
38440
|
return Fi(e.gos) ? e.rowModel.getBlockStates() : e.rowNodeBlockLoader?.getBlockState() ?? {};
|
|
@@ -39338,7 +39338,7 @@ var o6 = {
|
|
|
39338
39338
|
}
|
|
39339
39339
|
getRowNode(e) {
|
|
39340
39340
|
const t = this.nodeManager?.getRowNode(e);
|
|
39341
|
-
return typeof t == "object" ? t : typeof e == "string" && e.indexOf(
|
|
39341
|
+
return typeof t == "object" ? t : typeof e == "string" && e.indexOf(Ic) === 0 ? this.beans.groupStage?.getNode(e) : void 0;
|
|
39342
39342
|
}
|
|
39343
39343
|
batchUpdateRowData(e, t) {
|
|
39344
39344
|
if (!this.asyncTransactionsTimer) {
|
|
@@ -40234,13 +40234,13 @@ var G6 = {
|
|
|
40234
40234
|
}
|
|
40235
40235
|
};
|
|
40236
40236
|
function _6(e) {
|
|
40237
|
-
|
|
40237
|
+
Ia(e)?.refreshCache();
|
|
40238
40238
|
}
|
|
40239
40239
|
function U6(e) {
|
|
40240
|
-
|
|
40240
|
+
Ia(e)?.purgeCache();
|
|
40241
40241
|
}
|
|
40242
40242
|
function $6(e) {
|
|
40243
|
-
return
|
|
40243
|
+
return Ia(e)?.getRowCount();
|
|
40244
40244
|
}
|
|
40245
40245
|
var j6 = class extends O {
|
|
40246
40246
|
constructor() {
|
|
@@ -41512,7 +41512,7 @@ var SI = class extends O {
|
|
|
41512
41512
|
paginationGoToLastPage: wI,
|
|
41513
41513
|
paginationGoToPage: bI
|
|
41514
41514
|
},
|
|
41515
|
-
dependsOn: [
|
|
41515
|
+
dependsOn: [Aa]
|
|
41516
41516
|
};
|
|
41517
41517
|
function MI(e, t = {}) {
|
|
41518
41518
|
const s = t ? t.rowNodes : void 0;
|
|
@@ -41606,9 +41606,9 @@ function KI(e, t = {}) {
|
|
|
41606
41606
|
}
|
|
41607
41607
|
if (t.columns?.length)
|
|
41608
41608
|
return s;
|
|
41609
|
-
const i = [], o =
|
|
41609
|
+
const i = [], o = _c(t.rowNodes);
|
|
41610
41610
|
for (const n of e.rowRenderer.getAllRowCtrls()) {
|
|
41611
|
-
if (o &&
|
|
41611
|
+
if (o && !Uc(n.rowNode, o) || !n.isFullWidth())
|
|
41612
41612
|
continue;
|
|
41613
41613
|
const r = n.getFullWidthCellRenderers();
|
|
41614
41614
|
for (let a = 0; a < r.length; a++) {
|
|
@@ -42223,7 +42223,7 @@ var rA = {
|
|
|
42223
42223
|
}
|
|
42224
42224
|
onCellFocused(e) {
|
|
42225
42225
|
const { beans: t } = this;
|
|
42226
|
-
if (
|
|
42226
|
+
if (Ta(t)) {
|
|
42227
42227
|
this.focusedCellPosition = void 0;
|
|
42228
42228
|
return;
|
|
42229
42229
|
}
|
|
@@ -42839,9 +42839,9 @@ var PA = {
|
|
|
42839
42839
|
}, xo = (e) => {
|
|
42840
42840
|
const t = () => typeof Symbol == "function" && Symbol.for, s = () => t() ? Symbol.for("react.memo") : 60115;
|
|
42841
42841
|
return typeof e == "function" && !(e.prototype && e.prototype.isReactComponent) || typeof e == "object" && e.$$typeof === s();
|
|
42842
|
-
},
|
|
42842
|
+
}, Yc = q.version?.split(".")[0], NC = Yc === "16" || Yc === "17";
|
|
42843
42843
|
function kA() {
|
|
42844
|
-
return
|
|
42844
|
+
return Yc === "19";
|
|
42845
42845
|
}
|
|
42846
42846
|
var Hr = !1;
|
|
42847
42847
|
function LA(e) {
|
|
@@ -42877,7 +42877,7 @@ function ha(e, t, s) {
|
|
|
42877
42877
|
}
|
|
42878
42878
|
return i.length === e.length && o.length === 0 ? e : i.length === 0 && o.length === t.length ? t : i.length === 0 ? o : o.length === 0 ? i : [...i, ...o];
|
|
42879
42879
|
}
|
|
42880
|
-
var HC =
|
|
42880
|
+
var HC = dd((e, t) => {
|
|
42881
42881
|
const { registry: s, context: i } = it(Ct), o = L(null), n = L(null), r = L(null), a = L(null), l = L(null), c = L(), [d, u] = I(), [h, g] = I(), [p, f] = I(), [C, v] = I(() => new Wt()), [w, b] = I(() => new Wt("ag-hidden")), [S, y] = I(() => new Wt("ag-hidden")), [R, x] = I(() => new Wt("ag-invisible"));
|
|
42882
42882
|
Fn(t, () => ({
|
|
42883
42883
|
// force new instance when grid tries to refresh
|
|
@@ -43009,7 +43009,7 @@ var GC = class {
|
|
|
43009
43009
|
createOrUpdatePortal(e) {
|
|
43010
43010
|
this.isStatelessComponent() || (this.ref = (t) => {
|
|
43011
43011
|
this.componentInstance = t, this.resolveInstanceCreated?.(!0), this.resolveInstanceCreated = void 0;
|
|
43012
|
-
}, e.ref = this.ref), this.reactElement = this.createElement(this.reactComponent, { ...e, key: this.key }), this.portal =
|
|
43012
|
+
}, e.ref = this.ref), this.reactElement = this.createElement(this.reactComponent, { ...e, key: this.key }), this.portal = Cd(
|
|
43013
43013
|
this.reactElement,
|
|
43014
43014
|
this.eParentElement,
|
|
43015
43015
|
this.portalKey
|
|
@@ -43044,7 +43044,7 @@ var GC = class {
|
|
|
43044
43044
|
return this.suppressFallbackMethods ? !1 : !!this[`${e}Component`];
|
|
43045
43045
|
}
|
|
43046
43046
|
};
|
|
43047
|
-
function
|
|
43047
|
+
function Oa(e, t, s) {
|
|
43048
43048
|
for (const i of e) {
|
|
43049
43049
|
const o = t[i];
|
|
43050
43050
|
o && (s[i] = o);
|
|
@@ -43082,7 +43082,7 @@ var It = class extends GC {
|
|
|
43082
43082
|
});
|
|
43083
43083
|
}
|
|
43084
43084
|
setMethods(e) {
|
|
43085
|
-
this.providedMethods = e,
|
|
43085
|
+
this.providedMethods = e, Oa(this.getOptionalMethods(), this.providedMethods, this);
|
|
43086
43086
|
}
|
|
43087
43087
|
getOptionalMethods() {
|
|
43088
43088
|
return [];
|
|
@@ -43235,7 +43235,7 @@ var $A = class {
|
|
|
43235
43235
|
this.floatingFilterParams = e, this.refreshProps();
|
|
43236
43236
|
}
|
|
43237
43237
|
setMethods(e) {
|
|
43238
|
-
|
|
43238
|
+
Oa(this.getOptionalMethods(), e, this);
|
|
43239
43239
|
}
|
|
43240
43240
|
getOptionalMethods() {
|
|
43241
43241
|
return ["afterGuiAttached"];
|
|
@@ -43422,7 +43422,7 @@ var ek = 1e3, tk = class {
|
|
|
43422
43422
|
this.floatingFilterParams = e, this.refreshProps();
|
|
43423
43423
|
}
|
|
43424
43424
|
setMethods(e) {
|
|
43425
|
-
|
|
43425
|
+
Oa(this.getOptionalMethods(), e, this);
|
|
43426
43426
|
}
|
|
43427
43427
|
getOptionalMethods() {
|
|
43428
43428
|
return ["afterGuiAttached"];
|
|
@@ -43612,7 +43612,7 @@ var ek = 1e3, tk = class {
|
|
|
43612
43612
|
l.current.setComp(C, r.current);
|
|
43613
43613
|
}, []), g = t ? "" : "ag-hidden", p = () => i.map((f) => /* @__PURE__ */ q.createElement(dk, { ctrl: f, key: f.instanceId }));
|
|
43614
43614
|
return c ? /* @__PURE__ */ q.createElement("div", { ref: h, className: "ag-pinned-left-header " + g, "aria-hidden": !t, role: "rowgroup" }, p()) : d ? /* @__PURE__ */ q.createElement("div", { ref: h, className: "ag-pinned-right-header " + g, "aria-hidden": !t, role: "rowgroup" }, p()) : u ? /* @__PURE__ */ q.createElement("div", { ref: h, className: "ag-header-viewport " + g, role: "rowgroup", tabIndex: -1 }, /* @__PURE__ */ q.createElement("div", { ref: a, className: "ag-header-container", role: "presentation" }, p())) : null;
|
|
43615
|
-
},
|
|
43615
|
+
}, Zl = mt(uk), hk = () => {
|
|
43616
43616
|
const [e, t] = I(() => new Wt()), [s, i] = I(), { context: o } = it(Ct), n = L(null), r = L(), a = D((d) => {
|
|
43617
43617
|
if (n.current = d, !d || o.isDestroyed()) {
|
|
43618
43618
|
r.current = o.destroyBean(r.current);
|
|
@@ -43631,7 +43631,7 @@ var ek = 1e3, tk = class {
|
|
|
43631
43631
|
}),
|
|
43632
43632
|
[s]
|
|
43633
43633
|
);
|
|
43634
|
-
return /* @__PURE__ */ q.createElement("div", { ref: a, className: l, style: c, role: "presentation" }, /* @__PURE__ */ q.createElement(
|
|
43634
|
+
return /* @__PURE__ */ q.createElement("div", { ref: a, className: l, style: c, role: "presentation" }, /* @__PURE__ */ q.createElement(Zl, { pinned: "left" }), /* @__PURE__ */ q.createElement(Zl, { pinned: null }), /* @__PURE__ */ q.createElement(Zl, { pinned: "right" }));
|
|
43635
43635
|
}, gk = mt(hk), pk = (e, t) => {
|
|
43636
43636
|
Se(() => {
|
|
43637
43637
|
const s = t.current;
|
|
@@ -43666,7 +43666,7 @@ var ek = 1e3, tk = class {
|
|
|
43666
43666
|
this.cellEditorParams = e, this.refreshProps();
|
|
43667
43667
|
}
|
|
43668
43668
|
setMethods(e) {
|
|
43669
|
-
|
|
43669
|
+
Oa(this.getOptionalMethods(), e, this);
|
|
43670
43670
|
}
|
|
43671
43671
|
getInstance() {
|
|
43672
43672
|
return this.instanceCreated.then(() => this.componentInstance);
|
|
@@ -43731,7 +43731,7 @@ var ek = 1e3, tk = class {
|
|
|
43731
43731
|
};
|
|
43732
43732
|
}), jt(() => () => {
|
|
43733
43733
|
c.isCellFocused() && t?.getGui().contains(je(i)) && d.focus({ preventScroll: !0 });
|
|
43734
|
-
}, [t]), t && e.wrappedContent ?
|
|
43734
|
+
}, [t]), t && e.wrappedContent ? Cd(e.wrappedContent, t.getGui()) : null;
|
|
43735
43735
|
}, bg = mt(Ck), vk = (e, t, s) => {
|
|
43736
43736
|
const { compProxy: i } = e;
|
|
43737
43737
|
s(i);
|
|
@@ -44346,7 +44346,7 @@ var ek = 1e3, tk = class {
|
|
|
44346
44346
|
);
|
|
44347
44347
|
};
|
|
44348
44348
|
return /* @__PURE__ */ q.createElement(q.Fragment, null, C("top"), s, C("bottom"));
|
|
44349
|
-
}, Mk =
|
|
44349
|
+
}, Mk = dd(Tk), Ik = mt(Mk), Ak = ({ context: e }) => {
|
|
44350
44350
|
const [t, s] = I(""), [i, o] = I(""), [n, r] = I(null), [a, l] = I(null), [c, d] = I(!1), [u, h] = I(), g = L(), p = L(null), f = L(), [C, v] = I(null), w = L(() => {
|
|
44351
44351
|
}), b = L(), S = L([]), y = D(() => {
|
|
44352
44352
|
}, []);
|
|
@@ -44641,7 +44641,7 @@ var Gk = class extends n4 {
|
|
|
44641
44641
|
const o = !t.cellRenderer && t.name !== "toolPanel";
|
|
44642
44642
|
return new GC(e, this.parent, t, o);
|
|
44643
44643
|
}
|
|
44644
|
-
}, Bk =
|
|
44644
|
+
}, Bk = dd((e, t) => {
|
|
44645
44645
|
const s = it(Ct), { registry: i, context: o, gos: n, rowModel: r } = s, [a, l] = I(() => new Wt()), [c, d] = I(() => new Wt()), [u, h] = I(), [g, p] = I(), f = L(), C = L(null), v = L(), w = B(
|
|
44646
44646
|
() => OS(e.api.getGridId(), u?.rowModelType ?? "clientSide"),
|
|
44647
44647
|
[e]
|
|
@@ -44733,7 +44733,7 @@ var Gk = class extends n4 {
|
|
|
44733
44733
|
render() {
|
|
44734
44734
|
return /* @__PURE__ */ q.createElement(_C, { ...this.props, passGridApi: this.setGridApi });
|
|
44735
44735
|
}
|
|
44736
|
-
}, Wk = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(Wk || {}), Bt = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(Bt || {}),
|
|
44736
|
+
}, Wk = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(Wk || {}), Bt = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(Bt || {}), Zc = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e.PlainText = "plainText", e))(Zc || {});
|
|
44737
44737
|
const _k = ee(
|
|
44738
44738
|
"flex items-center gap-2 align-middle",
|
|
44739
44739
|
"h-auto px-0 bg-transparent border-0"
|
|
@@ -44786,7 +44786,7 @@ const _k = ee(
|
|
|
44786
44786
|
y || S(V), l?.(V);
|
|
44787
44787
|
},
|
|
44788
44788
|
[y, l]
|
|
44789
|
-
), T =
|
|
44789
|
+
), T = ud(), A = o === void 0, F = (V) => "clientWidth" in V ? V.clientWidth : V.getBoundingClientRect?.()?.width ?? 0, { refs: P, floatingStyles: G, context: _ } = id({
|
|
44790
44790
|
placement: o,
|
|
44791
44791
|
open: R,
|
|
44792
44792
|
onOpenChange: E,
|
|
@@ -44823,7 +44823,7 @@ const _k = ee(
|
|
|
44823
44823
|
move: !1,
|
|
44824
44824
|
restMs: 40,
|
|
44825
44825
|
delay: { open: 80, close: 80 }
|
|
44826
|
-
}), re =
|
|
44826
|
+
}), re = od(_, {
|
|
44827
44827
|
bubbles: !0,
|
|
44828
44828
|
referencePress: !1,
|
|
44829
44829
|
outsidePress: (V) => {
|
|
@@ -44831,7 +44831,7 @@ const _k = ee(
|
|
|
44831
44831
|
const k = V.target;
|
|
44832
44832
|
return !(g?.current && k instanceof Node && g.current.contains(k));
|
|
44833
44833
|
}
|
|
44834
|
-
}), H =
|
|
44834
|
+
}), H = nd(_, { role: "menu" }), { getReferenceProps: he, getFloatingProps: $ } = rd([
|
|
44835
44835
|
N,
|
|
44836
44836
|
se,
|
|
44837
44837
|
re,
|
|
@@ -44879,14 +44879,14 @@ const _k = ee(
|
|
|
44879
44879
|
[t, E]
|
|
44880
44880
|
), ne = B(() => s ? s() : t ? /* @__PURE__ */ z(Ve, { children: [
|
|
44881
44881
|
t.header && /* @__PURE__ */ m(Ve, { children: typeof t.header == "function" ? t.header() : t.header }),
|
|
44882
|
-
/* @__PURE__ */ m("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((V) => V.type ===
|
|
44882
|
+
/* @__PURE__ */ m("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((V) => V.type === Zc.Divider ? /* @__PURE__ */ m(
|
|
44883
44883
|
"div",
|
|
44884
44884
|
{
|
|
44885
44885
|
role: "separator",
|
|
44886
44886
|
className: qk
|
|
44887
44887
|
},
|
|
44888
44888
|
V.key
|
|
44889
|
-
) : V.type ===
|
|
44889
|
+
) : V.type === Zc.PlainText ? /* @__PURE__ */ m(
|
|
44890
44890
|
"div",
|
|
44891
44891
|
{
|
|
44892
44892
|
className: ge(
|
|
@@ -44971,7 +44971,7 @@ const _k = ee(
|
|
|
44971
44971
|
children: e
|
|
44972
44972
|
}
|
|
44973
44973
|
),
|
|
44974
|
-
R && /* @__PURE__ */ m(
|
|
44974
|
+
R && /* @__PURE__ */ m(ld, { children: /* @__PURE__ */ m(
|
|
44975
44975
|
$g,
|
|
44976
44976
|
{
|
|
44977
44977
|
context: _,
|
|
@@ -45007,7 +45007,7 @@ const _k = ee(
|
|
|
45007
45007
|
}
|
|
45008
45008
|
) })
|
|
45009
45009
|
] });
|
|
45010
|
-
}, Yk = "h-full",
|
|
45010
|
+
}, Yk = "h-full", Ql = {
|
|
45011
45011
|
accentColor: "var(--controls-bg-accent, #5C8DEA)",
|
|
45012
45012
|
backgroundColor: "var(--bg-layer-2, #141A23)",
|
|
45013
45013
|
oddRowBackgroundColor: "var(--bg-layer-3, #222932)",
|
|
@@ -45029,7 +45029,7 @@ const _k = ee(
|
|
|
45029
45029
|
cellStyle: {
|
|
45030
45030
|
textAlign: "center"
|
|
45031
45031
|
}
|
|
45032
|
-
},
|
|
45032
|
+
}, Xl = 40, Zk = (e, t, s, i, o) => {
|
|
45033
45033
|
const n = typeof e == "string" ? e.toLowerCase() : e, r = typeof t == "string" ? t.toLowerCase() : t;
|
|
45034
45034
|
return n === r ? 0 : n ? r ? n > r ? 1 : -1 : o ? 1 : -1 : o ? -1 : 1;
|
|
45035
45035
|
}, Qk = ({
|
|
@@ -45142,7 +45142,7 @@ const $C = ({
|
|
|
45142
45142
|
wrapperBorder: y = !0,
|
|
45143
45143
|
withoutHeaderBorders: R = !1
|
|
45144
45144
|
}) => {
|
|
45145
|
-
const [x, E] = I(
|
|
45145
|
+
const [x, E] = I(Xl), [T, A] = I(), F = ud(), {
|
|
45146
45146
|
currentSelectedIds: P,
|
|
45147
45147
|
handleSelectionToggle: G,
|
|
45148
45148
|
headerCheckboxState: _,
|
|
@@ -45157,13 +45157,13 @@ const $C = ({
|
|
|
45157
45157
|
disabledRowIds: l
|
|
45158
45158
|
}), se = B(
|
|
45159
45159
|
() => ({
|
|
45160
|
-
...
|
|
45161
|
-
oddRowBackgroundColor: f ?
|
|
45160
|
+
...Ql,
|
|
45161
|
+
oddRowBackgroundColor: f ? Ql.oddRowBackgroundColor : Ql.backgroundColor,
|
|
45162
45162
|
wrapperBorder: y
|
|
45163
45163
|
}),
|
|
45164
45164
|
[f, y]
|
|
45165
45165
|
), re = D((k) => {
|
|
45166
|
-
k.api.sizeColumnsToFit(), E(
|
|
45166
|
+
k.api.sizeColumnsToFit(), E(Xl);
|
|
45167
45167
|
}, []), H = D(
|
|
45168
45168
|
(k) => {
|
|
45169
45169
|
if (!k.data) return "";
|
|
@@ -45336,7 +45336,7 @@ const $C = ({
|
|
|
45336
45336
|
}, [T, P]);
|
|
45337
45337
|
const V = D(
|
|
45338
45338
|
() => /* @__PURE__ */ m(
|
|
45339
|
-
|
|
45339
|
+
bd,
|
|
45340
45340
|
{
|
|
45341
45341
|
title: w,
|
|
45342
45342
|
description: b,
|
|
@@ -45376,7 +45376,7 @@ const $C = ({
|
|
|
45376
45376
|
zk,
|
|
45377
45377
|
{
|
|
45378
45378
|
rowModelType: "clientSide",
|
|
45379
|
-
headerHeight:
|
|
45379
|
+
headerHeight: Xl,
|
|
45380
45380
|
rowHeight: x,
|
|
45381
45381
|
cellSelection: !1,
|
|
45382
45382
|
getRowClass: H,
|
|
@@ -45399,7 +45399,7 @@ const $C = ({
|
|
|
45399
45399
|
}
|
|
45400
45400
|
);
|
|
45401
45401
|
};
|
|
45402
|
-
var
|
|
45402
|
+
var Qc = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(Qc || {}), ga = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e))(ga || {});
|
|
45403
45403
|
const mr = ({
|
|
45404
45404
|
tab: e,
|
|
45405
45405
|
active: t,
|
|
@@ -45439,7 +45439,7 @@ const mr = ({
|
|
|
45439
45439
|
className: "max-w-[200px]"
|
|
45440
45440
|
}
|
|
45441
45441
|
),
|
|
45442
|
-
(s || e.invalid) && /* @__PURE__ */ m("div", { className: "text-error pl-1", children: /* @__PURE__ */ m(
|
|
45442
|
+
(s || e.invalid) && /* @__PURE__ */ m("div", { className: "text-error pl-1", children: /* @__PURE__ */ m(gd, { ...de }) })
|
|
45443
45443
|
]
|
|
45444
45444
|
}
|
|
45445
45445
|
);
|
|
@@ -45459,12 +45459,12 @@ const xg = () => typeof window < "u" && window.innerWidth < 640, Fg = () => {
|
|
|
45459
45459
|
tabs: e,
|
|
45460
45460
|
activeTab: t,
|
|
45461
45461
|
onClick: s,
|
|
45462
|
-
orientation: i =
|
|
45462
|
+
orientation: i = Qc.Horizontal,
|
|
45463
45463
|
screenThreshold: o = ga.Tablet,
|
|
45464
45464
|
smallScreenContainerClassName: n,
|
|
45465
45465
|
smallScreenDropdownItemClassName: r
|
|
45466
45466
|
}) => {
|
|
45467
|
-
const [a, l] = I(!1), [c, d] = I(!1), [u, h] = I(!1), g = Xk(), p = g === ri.Mobile || o === ga.Tablet && g === ri.Tablet, f = i ===
|
|
45467
|
+
const [a, l] = I(!1), [c, d] = I(!1), [u, h] = I(!1), g = Xk(), p = g === ri.Mobile || o === ga.Tablet && g === ri.Tablet, f = i === Qc.Horizontal, C = L(null), v = L(null), w = L(null), b = e.find((R) => R.id === t), S = B(
|
|
45468
45468
|
() => ee(
|
|
45469
45469
|
"flex gap-2",
|
|
45470
45470
|
f ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
|
|
@@ -45665,7 +45665,7 @@ const xg = () => typeof window < "u" && window.innerWidth < 640, Fg = () => {
|
|
|
45665
45665
|
children: o,
|
|
45666
45666
|
titleClassName: n
|
|
45667
45667
|
}) => {
|
|
45668
|
-
const r = B(() => e?.length ? e : Fv.toArray(o).filter(
|
|
45668
|
+
const r = B(() => e?.length ? e : Fv.toArray(o).filter(cd).map((c) => {
|
|
45669
45669
|
const d = c.props, { titleClassName: u, isLast: h, separator: g, ...p } = d;
|
|
45670
45670
|
return p;
|
|
45671
45671
|
}), [e, o]), a = D(
|
|
@@ -45859,7 +45859,7 @@ const xg = () => typeof window < "u" && window.innerWidth < 640, Fg = () => {
|
|
|
45859
45859
|
hideTooltip: x = !1,
|
|
45860
45860
|
inputRef: E
|
|
45861
45861
|
}) => {
|
|
45862
|
-
const T = L(null), A =
|
|
45862
|
+
const T = L(null), A = ad([E, T]);
|
|
45863
45863
|
Se(() => {
|
|
45864
45864
|
const _ = T.current;
|
|
45865
45865
|
if (!_) return;
|
|
@@ -45991,7 +45991,7 @@ const xg = () => typeof window < "u" && window.innerWidth < 640, Fg = () => {
|
|
|
45991
45991
|
defaultEmptyText: p,
|
|
45992
45992
|
...f
|
|
45993
45993
|
}) => /* @__PURE__ */ m(
|
|
45994
|
-
|
|
45994
|
+
wd,
|
|
45995
45995
|
{
|
|
45996
45996
|
label: e ?? c,
|
|
45997
45997
|
error: o ?? d,
|
|
@@ -46139,12 +46139,12 @@ const p8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", f8 = "d
|
|
|
46139
46139
|
size: u = qt.Md,
|
|
46140
46140
|
closeOnOutsideClick: h = !0
|
|
46141
46141
|
}) => {
|
|
46142
|
-
const { refs: g, context: p } =
|
|
46142
|
+
const { refs: g, context: p } = id({
|
|
46143
46143
|
open: e,
|
|
46144
46144
|
onOpenChange: (S) => {
|
|
46145
46145
|
S || d?.(null);
|
|
46146
46146
|
}
|
|
46147
|
-
}), f =
|
|
46147
|
+
}), f = nd(p, { role: "dialog" }), C = od(p, { outsidePress: h }), { getFloatingProps: v } = rd([f, C]);
|
|
46148
46148
|
if (!e) return null;
|
|
46149
46149
|
const w = typeof t == "string" ? "dial-popup-heading" : void 0, b = (S) => S ? typeof S == "string" ? /* @__PURE__ */ m(
|
|
46150
46150
|
"h3",
|
|
@@ -46157,7 +46157,7 @@ const p8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", f8 = "d
|
|
|
46157
46157
|
children: /* @__PURE__ */ m($s, { tooltip: S, children: S })
|
|
46158
46158
|
}
|
|
46159
46159
|
) : S : /* @__PURE__ */ m("span", {});
|
|
46160
|
-
return /* @__PURE__ */ m(
|
|
46160
|
+
return /* @__PURE__ */ m(ld, { id: s, children: /* @__PURE__ */ m(
|
|
46161
46161
|
Sv,
|
|
46162
46162
|
{
|
|
46163
46163
|
className: ee(p8, o),
|
|
@@ -46286,7 +46286,7 @@ const v8 = "flex justify-end gap-2 px-6 py-4", w8 = "text-secondary dial-small-1
|
|
|
46286
46286
|
t
|
|
46287
46287
|
),
|
|
46288
46288
|
children: e?.map((o) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m($s, { tooltip: o, children: /* @__PURE__ */ m(
|
|
46289
|
-
|
|
46289
|
+
yd,
|
|
46290
46290
|
{
|
|
46291
46291
|
tag: o,
|
|
46292
46292
|
className: ee([s])
|
|
@@ -46379,7 +46379,7 @@ const v8 = "flex justify-end gap-2 px-6 py-4", w8 = "text-secondary dial-small-1
|
|
|
46379
46379
|
),
|
|
46380
46380
|
l && /* @__PURE__ */ m(pi, { errorText: l })
|
|
46381
46381
|
] }),
|
|
46382
|
-
t &&
|
|
46382
|
+
t && Cd(e, document.body)
|
|
46383
46383
|
] });
|
|
46384
46384
|
}, L7 = ({
|
|
46385
46385
|
fieldTitle: e,
|
|
@@ -46450,7 +46450,7 @@ const v8 = "flex justify-end gap-2 px-6 py-4", w8 = "text-secondary dial-small-1
|
|
|
46450
46450
|
)
|
|
46451
46451
|
] }),
|
|
46452
46452
|
children: /* @__PURE__ */ m("div", { className: "px-6 py-4", children: /* @__PURE__ */ m(
|
|
46453
|
-
|
|
46453
|
+
cc,
|
|
46454
46454
|
{
|
|
46455
46455
|
radioButtons: o,
|
|
46456
46456
|
labelClassName: "dial-small",
|
|
@@ -46784,7 +46784,7 @@ const M8 = {
|
|
|
46784
46784
|
),
|
|
46785
46785
|
children: [
|
|
46786
46786
|
d.map((b, S) => /* @__PURE__ */ m(
|
|
46787
|
-
|
|
46787
|
+
yd,
|
|
46788
46788
|
{
|
|
46789
46789
|
tag: b,
|
|
46790
46790
|
remove: a ? void 0 : () => w(S)
|
|
@@ -46812,14 +46812,14 @@ const M8 = {
|
|
|
46812
46812
|
),
|
|
46813
46813
|
/* @__PURE__ */ m(pi, { errorText: n })
|
|
46814
46814
|
] });
|
|
46815
|
-
}, I8 = "dial-input flex w-full items-center justify-between gap-2 dial-small", A8 = "w-full rounded flex flex-col",
|
|
46815
|
+
}, I8 = "dial-input flex w-full items-center justify-between gap-2 dial-small", A8 = "w-full rounded flex flex-col", Jl = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none", k8 = "bg-accent-primary-alpha", L8 = "bg-accent-primary-alpha border-l border-accent-primary border-1", Tg = "opacity-75", O8 = 352, N8 = /* @__PURE__ */ m(Ca, { size: 16 }), JC = ({
|
|
46816
46816
|
options: e,
|
|
46817
46817
|
selectedValues: t,
|
|
46818
46818
|
handleRemoveTag: s
|
|
46819
46819
|
}) => /* @__PURE__ */ m("div", { className: "flex flex-wrap w-full items-center gap-1", children: t.map((i) => {
|
|
46820
46820
|
const o = e.find((r) => r.value === i)?.label ?? i, n = e.find((r) => r.value === i)?.icon;
|
|
46821
46821
|
return /* @__PURE__ */ m(
|
|
46822
|
-
|
|
46822
|
+
yd,
|
|
46823
46823
|
{
|
|
46824
46824
|
tag: o,
|
|
46825
46825
|
remove: (r) => s?.(r, i),
|
|
@@ -46829,15 +46829,15 @@ const M8 = {
|
|
|
46829
46829
|
i
|
|
46830
46830
|
);
|
|
46831
46831
|
}) });
|
|
46832
|
-
var
|
|
46832
|
+
var Xc = /* @__PURE__ */ ((e) => (e.Sm = "sm", e.Md = "md", e))(Xc || {}), Jc = /* @__PURE__ */ ((e) => (e.Primary = "Primary", e.Secondary = "Secondary", e))(Jc || {});
|
|
46833
46833
|
const H8 = ({
|
|
46834
46834
|
options: e,
|
|
46835
46835
|
multiple: t = !1,
|
|
46836
46836
|
elementId: s,
|
|
46837
46837
|
value: i,
|
|
46838
46838
|
defaultValue: o,
|
|
46839
|
-
variant: n =
|
|
46840
|
-
size: r =
|
|
46839
|
+
variant: n = Jc.Primary,
|
|
46840
|
+
size: r = Xc.Md,
|
|
46841
46841
|
prefix: a,
|
|
46842
46842
|
customSelectedValue: l,
|
|
46843
46843
|
placeholder: c = "Select...",
|
|
@@ -46859,7 +46859,7 @@ const H8 = ({
|
|
|
46859
46859
|
dismissRef: T,
|
|
46860
46860
|
onFooterClick: A
|
|
46861
46861
|
}) => {
|
|
46862
|
-
const F =
|
|
46862
|
+
const F = ud(), [P, G] = I(!1), [_, N] = I(
|
|
46863
46863
|
E && l || ""
|
|
46864
46864
|
), se = L(null), re = i !== void 0, [H, he] = I(o), $ = re ? i : H, ie = B(() => t ? Array.isArray($) ? $ : [] : typeof $ == "string" ? [$] : [], [$, t]), te = B(() => {
|
|
46865
46865
|
const j = _.trim().toLowerCase();
|
|
@@ -46999,7 +46999,7 @@ const H8 = ({
|
|
|
46999
46999
|
}
|
|
47000
47000
|
)
|
|
47001
47001
|
] }),
|
|
47002
|
-
t && h && fe.length > 0 && /* @__PURE__ */ m("div", { className: ee(
|
|
47002
|
+
t && h && fe.length > 0 && /* @__PURE__ */ m("div", { className: ee(Jl, "mt-2"), children: /* @__PURE__ */ m(
|
|
47003
47003
|
Br,
|
|
47004
47004
|
{
|
|
47005
47005
|
id: `${s || F}-selectAll`,
|
|
@@ -47018,7 +47018,7 @@ const H8 = ({
|
|
|
47018
47018
|
E && te.length === 0 ? "" : "py-1"
|
|
47019
47019
|
),
|
|
47020
47020
|
children: te.length === 0 ? !E && /* @__PURE__ */ m("div", { className: "px-2 py-3", children: /* @__PURE__ */ m(
|
|
47021
|
-
|
|
47021
|
+
bd,
|
|
47022
47022
|
{
|
|
47023
47023
|
icon: C ?? /* @__PURE__ */ m(Kg, { size: 24 }),
|
|
47024
47024
|
title: p,
|
|
@@ -47033,7 +47033,7 @@ const H8 = ({
|
|
|
47033
47033
|
"aria-selected": Re,
|
|
47034
47034
|
"aria-disabled": !!j.disabled,
|
|
47035
47035
|
className: ee(
|
|
47036
|
-
|
|
47036
|
+
Jl,
|
|
47037
47037
|
Re && k8,
|
|
47038
47038
|
j.disabled && Tg,
|
|
47039
47039
|
"w-full"
|
|
@@ -47066,7 +47066,7 @@ const H8 = ({
|
|
|
47066
47066
|
"aria-disabled": !!j.disabled,
|
|
47067
47067
|
disabled: j.disabled,
|
|
47068
47068
|
className: ee(
|
|
47069
|
-
|
|
47069
|
+
Jl,
|
|
47070
47070
|
Re && L8,
|
|
47071
47071
|
j.disabled && Tg
|
|
47072
47072
|
),
|
|
@@ -47104,8 +47104,8 @@ const H8 = ({
|
|
|
47104
47104
|
className: ge(
|
|
47105
47105
|
I8,
|
|
47106
47106
|
v && "opacity-75 !cursor-not-allowed",
|
|
47107
|
-
r ===
|
|
47108
|
-
n ===
|
|
47107
|
+
r === Xc.Sm ? "min-h-[25px] px-1.5 py-1" : "min-h-[38px] px-3 py-2",
|
|
47108
|
+
n === Jc.Secondary ? "!bg-layer-4" : "",
|
|
47109
47109
|
w
|
|
47110
47110
|
),
|
|
47111
47111
|
onMouseDown: (j) => {
|
|
@@ -47185,7 +47185,7 @@ const H8 = ({
|
|
|
47185
47185
|
}
|
|
47186
47186
|
}, [c, u.options, d]);
|
|
47187
47187
|
return /* @__PURE__ */ m(
|
|
47188
|
-
|
|
47188
|
+
wd,
|
|
47189
47189
|
{
|
|
47190
47190
|
elementId: r,
|
|
47191
47191
|
label: e,
|
|
@@ -47291,14 +47291,14 @@ const xu = "__NATIVE_FILE__", tv = "__NATIVE_URL__", sv = "__NATIVE_TEXT__", iv
|
|
|
47291
47291
|
TEXT: sv,
|
|
47292
47292
|
URL: tv
|
|
47293
47293
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
47294
|
-
function
|
|
47294
|
+
function ec(e, t, s) {
|
|
47295
47295
|
const i = t.reduce(
|
|
47296
47296
|
(o, n) => o || e.getData(n),
|
|
47297
47297
|
""
|
|
47298
47298
|
);
|
|
47299
47299
|
return i ?? s;
|
|
47300
47300
|
}
|
|
47301
|
-
const
|
|
47301
|
+
const ed = {
|
|
47302
47302
|
[xu]: {
|
|
47303
47303
|
exposeProperties: {
|
|
47304
47304
|
files: (e) => Array.prototype.slice.call(e.files),
|
|
@@ -47311,7 +47311,7 @@ const td = {
|
|
|
47311
47311
|
},
|
|
47312
47312
|
[iv]: {
|
|
47313
47313
|
exposeProperties: {
|
|
47314
|
-
html: (e, t) =>
|
|
47314
|
+
html: (e, t) => ec(e, t, ""),
|
|
47315
47315
|
dataTransfer: (e) => e
|
|
47316
47316
|
},
|
|
47317
47317
|
matchesTypes: [
|
|
@@ -47321,7 +47321,7 @@ const td = {
|
|
|
47321
47321
|
},
|
|
47322
47322
|
[tv]: {
|
|
47323
47323
|
exposeProperties: {
|
|
47324
|
-
urls: (e, t) =>
|
|
47324
|
+
urls: (e, t) => ec(e, t, "").split(`
|
|
47325
47325
|
`),
|
|
47326
47326
|
dataTransfer: (e) => e
|
|
47327
47327
|
},
|
|
@@ -47332,7 +47332,7 @@ const td = {
|
|
|
47332
47332
|
},
|
|
47333
47333
|
[sv]: {
|
|
47334
47334
|
exposeProperties: {
|
|
47335
|
-
text: (e, t) =>
|
|
47335
|
+
text: (e, t) => ec(e, t, ""),
|
|
47336
47336
|
dataTransfer: (e) => e
|
|
47337
47337
|
},
|
|
47338
47338
|
matchesTypes: [
|
|
@@ -47342,18 +47342,18 @@ const td = {
|
|
|
47342
47342
|
}
|
|
47343
47343
|
};
|
|
47344
47344
|
function W8(e, t) {
|
|
47345
|
-
const s =
|
|
47345
|
+
const s = ed[e];
|
|
47346
47346
|
if (!s)
|
|
47347
47347
|
throw new Error(`native type ${e} has no configuration`);
|
|
47348
47348
|
const i = new z8(s);
|
|
47349
47349
|
return i.loadDataTransfer(t), i;
|
|
47350
47350
|
}
|
|
47351
|
-
function
|
|
47351
|
+
function tc(e) {
|
|
47352
47352
|
if (!e)
|
|
47353
47353
|
return null;
|
|
47354
47354
|
const t = Array.prototype.slice.call(e.types || []);
|
|
47355
|
-
return Object.keys(
|
|
47356
|
-
const i =
|
|
47355
|
+
return Object.keys(ed).filter((s) => {
|
|
47356
|
+
const i = ed[s];
|
|
47357
47357
|
return i?.matchesTypes ? i.matchesTypes.some(
|
|
47358
47358
|
(o) => t.indexOf(o) > -1
|
|
47359
47359
|
) : !1;
|
|
@@ -47678,7 +47678,7 @@ class Z8 {
|
|
|
47678
47678
|
getSourceClientOffset: this.getSourceClientOffset,
|
|
47679
47679
|
clientOffset: r
|
|
47680
47680
|
});
|
|
47681
|
-
const { dataTransfer: a } = o, l =
|
|
47681
|
+
const { dataTransfer: a } = o, l = tc(a);
|
|
47682
47682
|
if (this.monitor.isDragging()) {
|
|
47683
47683
|
if (a && typeof a.setDragImage == "function") {
|
|
47684
47684
|
const d = this.monitor.getSourceId(), u = this.sourceNodes.get(d), h = this.sourcePreviewNodes.get(d) || u;
|
|
@@ -47719,7 +47719,7 @@ class Z8 {
|
|
|
47719
47719
|
}
|
|
47720
47720
|
if (!this.enterLeaveCounter.enter(o.target) || this.monitor.isDragging())
|
|
47721
47721
|
return;
|
|
47722
|
-
const { dataTransfer: a } = o, l =
|
|
47722
|
+
const { dataTransfer: a } = o, l = tc(a);
|
|
47723
47723
|
l && this.beginDragNativeItem(l, a);
|
|
47724
47724
|
}, this.handleTopDragEnter = (o) => {
|
|
47725
47725
|
const { dragEnterTargetIds: n } = this;
|
|
@@ -47753,7 +47753,7 @@ class Z8 {
|
|
|
47753
47753
|
if (this.dropTargetIds = [], this.isDraggingNativeItem()) {
|
|
47754
47754
|
var n;
|
|
47755
47755
|
o.preventDefault(), (n = this.currentNativeSource) === null || n === void 0 || n.loadDataTransfer(o.dataTransfer);
|
|
47756
|
-
} else
|
|
47756
|
+
} else tc(o.dataTransfer) && o.preventDefault();
|
|
47757
47757
|
this.enterLeaveCounter.reset();
|
|
47758
47758
|
}, this.handleTopDrop = (o) => {
|
|
47759
47759
|
const { dropTargetIds: n } = this;
|
|
@@ -47885,7 +47885,7 @@ const Q8 = function(t, s, i) {
|
|
|
47885
47885
|
fo,
|
|
47886
47886
|
{
|
|
47887
47887
|
...i,
|
|
47888
|
-
iconBefore: /* @__PURE__ */ m("div", { className: "mr-2", children: o ? /* @__PURE__ */ m(
|
|
47888
|
+
iconBefore: /* @__PURE__ */ m("div", { className: "mr-2", children: o ? /* @__PURE__ */ m(gd, { ...de, className: "text-error" }) : e }),
|
|
47889
47889
|
tooltipTriggerClassName: "flex-1 min-w-0",
|
|
47890
47890
|
className: ee(o ? "text-error" : "", t),
|
|
47891
47891
|
tooltipText: o && s ? s : void 0,
|
|
@@ -48025,7 +48025,7 @@ const Q8 = function(t, s, i) {
|
|
|
48025
48025
|
children: /* @__PURE__ */ m(Ae, { ...e, iconAfter: i })
|
|
48026
48026
|
}
|
|
48027
48027
|
) });
|
|
48028
|
-
}, iL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Lg = "w-full text-secondary flex items-center gap-2", oL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", nL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", rL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", aL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", lL = 280, cL = "Files", Bs = 20, dL = "Files",
|
|
48028
|
+
}, iL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Lg = "w-full text-secondary flex items-center gap-2", oL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", nL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", rL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", aL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", lL = 280, cL = "Files", Bs = 20, dL = "Files", sc = ".dial_folder", uL = 280, hL = 460, ic = 44, gL = 56, pL = 800;
|
|
48029
48029
|
var Le = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(Le || {}), fL = /* @__PURE__ */ ((e) => (e.FILE = "FILE", e.PROMPT = "PROMPT", e.CONVERSATION = "CONVERSATION", e.APPLICATION = "APPLICATION", e.TOOLSET = "TOOL_SET", e))(fL || {}), mL = /* @__PURE__ */ ((e) => (e.READ = "READ", e.WRITE = "WRITE", e.SHARE = "SHARE", e))(mL || {});
|
|
48030
48030
|
const Ri = (e, t) => {
|
|
48031
48031
|
if (!(!e || !e.length || !t))
|
|
@@ -48051,7 +48051,7 @@ const Ri = (e, t) => {
|
|
|
48051
48051
|
t.push(n), n.nodeType === Le.FOLDER && s(n);
|
|
48052
48052
|
};
|
|
48053
48053
|
return s(e), t;
|
|
48054
|
-
},
|
|
48054
|
+
}, td = (e) => (e.name ?? e.path.split("/").pop() ?? "").startsWith("."), Gr = (e) => {
|
|
48055
48055
|
if (!e || e <= 0) return "";
|
|
48056
48056
|
const t = 1024, s = t * 1024;
|
|
48057
48057
|
return e >= s ? `${(e / s).toFixed(1)} MB` : e >= t ? `${(e / t).toFixed(0)} KB` : `${e} bytes`;
|
|
@@ -48118,7 +48118,7 @@ const yL = ({
|
|
|
48118
48118
|
ze,
|
|
48119
48119
|
{
|
|
48120
48120
|
icon: /* @__PURE__ */ m(
|
|
48121
|
-
|
|
48121
|
+
pd,
|
|
48122
48122
|
{
|
|
48123
48123
|
className: o.className,
|
|
48124
48124
|
size: o.size ?? de.size,
|
|
@@ -48284,7 +48284,7 @@ const fa = ({
|
|
|
48284
48284
|
className: "max-w-[428px] truncate"
|
|
48285
48285
|
}
|
|
48286
48286
|
) : /* @__PURE__ */ m(
|
|
48287
|
-
|
|
48287
|
+
Td,
|
|
48288
48288
|
{
|
|
48289
48289
|
className: "max-w-[428px]",
|
|
48290
48290
|
...u,
|
|
@@ -48364,7 +48364,7 @@ const fa = ({
|
|
|
48364
48364
|
p?.(E), y(E.path);
|
|
48365
48365
|
}, x = (E, T) => E.map((A) => {
|
|
48366
48366
|
const { path: F, nodeType: P, name: G, items: _ } = A, N = P === Le.FOLDER;
|
|
48367
|
-
if (!d &&
|
|
48367
|
+
if (!d && td(A)) return null;
|
|
48368
48368
|
if (!N && !t) return;
|
|
48369
48369
|
const se = Array.isArray(_) && _.length > 0 && _.some((V) => V.nodeType === Le.FOLDER || t), re = S.has(F), H = r === F, he = i.has(F), $ = u === F, ie = o.has(F), te = n.has(F), Z = g && h && F === g && N, Q = w && ((V) => w(V, A)), ne = H ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", fe = Z ? [] : f?.(A) ?? [];
|
|
48370
48370
|
return /* @__PURE__ */ m("div", { className: "cursor-pointer text-secondary", children: /* @__PURE__ */ z("div", { className: "flex flex-col w-full", "aria-label": "folder", children: [
|
|
@@ -48459,7 +48459,7 @@ const fa = ({
|
|
|
48459
48459
|
className: "flex-1 w-full h-full overflow-y-auto",
|
|
48460
48460
|
"aria-label": "folders-tree",
|
|
48461
48461
|
children: e.length > 0 ? x(e, 0) : /* @__PURE__ */ m(
|
|
48462
|
-
|
|
48462
|
+
bd,
|
|
48463
48463
|
{
|
|
48464
48464
|
title: a,
|
|
48465
48465
|
description: l,
|
|
@@ -48602,7 +48602,7 @@ const fa = ({
|
|
|
48602
48602
|
}
|
|
48603
48603
|
);
|
|
48604
48604
|
};
|
|
48605
|
-
var
|
|
48605
|
+
var sd = /* @__PURE__ */ ((e) => (e.MyFiles = "my_files", e.Shared = "shared", e.Organization = "organization", e))(sd || {}), ue = /* @__PURE__ */ ((e) => (e.Duplicate = "duplicate", e.Copy = "copy", e.Move = "move", e.Download = "download", e.Delete = "delete", e.Rename = "rename", e.Info = "info", e.Unshare = "unshare", e))(ue || {}), pt = /* @__PURE__ */ ((e) => (e.Replace = "replace", e.Duplicate = "duplicate", e.Cancel = "cancel", e))(pt || {}), Lt = /* @__PURE__ */ ((e) => (e.ReplaceAll = "replaceAll", e.DuplicateAll = "duplicateAll", e.DecideForEach = "decideForEach", e))(Lt || {}), st = /* @__PURE__ */ ((e) => (e.Copy = "copy", e.Move = "move", e))(st || {}), ro = /* @__PURE__ */ ((e) => (e.Tree = "tree", e.Grid = "grid", e))(ro || {}), gt = /* @__PURE__ */ ((e) => (e.Name = "name", e.UpdatedAt = "updatedAt", e.Size = "size", e.Author = "author", e.Owner = "owner", e.Path = "path", e.Actions = "__actions", e))(gt || {});
|
|
48606
48606
|
const lv = () => {
|
|
48607
48607
|
const [e, t] = I(xg());
|
|
48608
48608
|
return Se(() => {
|
|
@@ -48879,7 +48879,7 @@ const LL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48879
48879
|
a = `${o} (${r})${n}`, r++;
|
|
48880
48880
|
while (t.has(a));
|
|
48881
48881
|
return a;
|
|
48882
|
-
},
|
|
48882
|
+
}, oc = (e) => e.name, cv = ({
|
|
48883
48883
|
getDestinationFiles: e,
|
|
48884
48884
|
onResolve: t
|
|
48885
48885
|
}) => {
|
|
@@ -48889,7 +48889,7 @@ const LL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48889
48889
|
l.current = !1, n(!1), i([]), a(null);
|
|
48890
48890
|
}, []), u = D(
|
|
48891
48891
|
(w, b) => {
|
|
48892
|
-
const S = e(w), y = new Set(S.map(
|
|
48892
|
+
const S = e(w), y = new Set(S.map(oc)), R = b.filter((x) => y.has(x.name));
|
|
48893
48893
|
return {
|
|
48894
48894
|
hasConflicts: R.length > 0,
|
|
48895
48895
|
conflicts: R
|
|
@@ -48898,7 +48898,7 @@ const LL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48898
48898
|
[e]
|
|
48899
48899
|
), h = D(
|
|
48900
48900
|
(w, b, S, y) => {
|
|
48901
|
-
const R = e(w), x = new Set(R.map(
|
|
48901
|
+
const R = e(w), x = new Set(R.map(oc));
|
|
48902
48902
|
return b.map((E) => {
|
|
48903
48903
|
const T = E.name, A = x.has(T), F = S && A ? T : Ng(T, x);
|
|
48904
48904
|
return (!S || !A) && x.add(F), {
|
|
@@ -48913,7 +48913,7 @@ const LL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48913
48913
|
[e]
|
|
48914
48914
|
), g = D(
|
|
48915
48915
|
(w, b, S, y) => {
|
|
48916
|
-
const R = e(w), x = new Set(R.map(
|
|
48916
|
+
const R = e(w), x = new Set(R.map(oc));
|
|
48917
48917
|
return b.filter((T) => S.get(T.path) !== pt.Cancel).map((T) => {
|
|
48918
48918
|
const A = S.get(T.path), F = x.has(T.name), P = A === pt.Replace && F, G = P ? T.name : Ng(T.name, x);
|
|
48919
48919
|
return P || x.add(G), {
|
|
@@ -49557,7 +49557,7 @@ const KL = ({
|
|
|
49557
49557
|
return e && (e.newFolder && r.push({
|
|
49558
49558
|
key: "new-folder",
|
|
49559
49559
|
label: e.newFolder,
|
|
49560
|
-
icon: /* @__PURE__ */ m(
|
|
49560
|
+
icon: /* @__PURE__ */ m(pd, { ...de, className: "text-secondary" }),
|
|
49561
49561
|
onClick: () => {
|
|
49562
49562
|
s && s();
|
|
49563
49563
|
}
|
|
@@ -49625,11 +49625,11 @@ const KL = ({
|
|
|
49625
49625
|
const f = p.trim();
|
|
49626
49626
|
if (!f)
|
|
49627
49627
|
return;
|
|
49628
|
-
const v = `${e?.path ?? "/"}/${f}`, w = `${v}/${
|
|
49629
|
-
fileContent: new File([],
|
|
49628
|
+
const v = `${e?.path ?? "/"}/${f}`, w = `${v}/${sc}`, S = {
|
|
49629
|
+
fileContent: new File([], sc, {
|
|
49630
49630
|
type: "text/plain"
|
|
49631
49631
|
}),
|
|
49632
|
-
name:
|
|
49632
|
+
name: sc
|
|
49633
49633
|
};
|
|
49634
49634
|
t && await t(S, v, w), u();
|
|
49635
49635
|
},
|
|
@@ -49840,8 +49840,8 @@ const t7 = ({
|
|
|
49840
49840
|
isSearchMode: et,
|
|
49841
49841
|
searchValue: Eo,
|
|
49842
49842
|
effectiveSearchValue: Ii,
|
|
49843
|
-
setSearchValue:
|
|
49844
|
-
handleSearchChange:
|
|
49843
|
+
setSearchValue: Na,
|
|
49844
|
+
handleSearchChange: Ha,
|
|
49845
49845
|
searchResultsRows: Nn
|
|
49846
49846
|
} = e7({
|
|
49847
49847
|
onSearchFiles: ie,
|
|
@@ -49856,22 +49856,22 @@ const t7 = ({
|
|
|
49856
49856
|
() => Og(s, U) ?? s[0],
|
|
49857
49857
|
[s, U]
|
|
49858
49858
|
), {
|
|
49859
|
-
handleCopyTo:
|
|
49860
|
-
handleMoveTo:
|
|
49861
|
-
handleDuplicate:
|
|
49862
|
-
handleOpenDestinationFolderPopup:
|
|
49863
|
-
handleCloseDestinationFolderPopup:
|
|
49859
|
+
handleCopyTo: Ga,
|
|
49860
|
+
handleMoveTo: Ba,
|
|
49861
|
+
handleDuplicate: Va,
|
|
49862
|
+
handleOpenDestinationFolderPopup: za,
|
|
49863
|
+
handleCloseDestinationFolderPopup: Wa,
|
|
49864
49864
|
openDestinationFolderPopup: Zs,
|
|
49865
|
-
handleSetCopiedFiles:
|
|
49866
|
-
handleSetMovedFiles:
|
|
49867
|
-
destinationFolderMode:
|
|
49865
|
+
handleSetCopiedFiles: _a,
|
|
49866
|
+
handleSetMovedFiles: Ua,
|
|
49867
|
+
destinationFolderMode: $a,
|
|
49868
49868
|
destinationFolderTitle: Jt,
|
|
49869
|
-
conflictingFiles:
|
|
49870
|
-
conflictResolutionOpen:
|
|
49871
|
-
closeConflictResolution:
|
|
49869
|
+
conflictingFiles: ja,
|
|
49870
|
+
conflictResolutionOpen: Ka,
|
|
49871
|
+
closeConflictResolution: qa,
|
|
49872
49872
|
handleConflictReplace: Do,
|
|
49873
|
-
handleConflictDuplicate:
|
|
49874
|
-
handleConflictDecideForEach:
|
|
49873
|
+
handleConflictDuplicate: Ya,
|
|
49874
|
+
handleConflictDecideForEach: Za
|
|
49875
49875
|
} = HL({
|
|
49876
49876
|
getDestinationFiles: (Ge) => Og(s, Ge)?.items ?? [],
|
|
49877
49877
|
onCopyFiles: w,
|
|
@@ -49895,7 +49895,7 @@ const t7 = ({
|
|
|
49895
49895
|
}, [Zs, me]);
|
|
49896
49896
|
const {
|
|
49897
49897
|
deleteConfirmationOpen: Hn,
|
|
49898
|
-
itemsToDelete:
|
|
49898
|
+
itemsToDelete: Qa,
|
|
49899
49899
|
openDeleteConfirmation: Gn,
|
|
49900
49900
|
closeDeleteConfirmation: Bn,
|
|
49901
49901
|
confirmDelete: Vn
|
|
@@ -49909,7 +49909,7 @@ const t7 = ({
|
|
|
49909
49909
|
isDragging: Ai,
|
|
49910
49910
|
isDraggingOverWindow: Wn,
|
|
49911
49911
|
uploadError: Po,
|
|
49912
|
-
handleDragEnter:
|
|
49912
|
+
handleDragEnter: Xa,
|
|
49913
49913
|
handleDragLeave: _n,
|
|
49914
49914
|
handleDragOver: To,
|
|
49915
49915
|
handleDrop: Un,
|
|
@@ -49919,7 +49919,7 @@ const t7 = ({
|
|
|
49919
49919
|
openArchiveDialog: ki,
|
|
49920
49920
|
uploadConflictingFiles: $n,
|
|
49921
49921
|
uploadConflictResolutionOpen: jn,
|
|
49922
|
-
closeUploadConflictResolution:
|
|
49922
|
+
closeUploadConflictResolution: Ja,
|
|
49923
49923
|
handleUploadConflictReplace: rt,
|
|
49924
49924
|
handleUploadConflictDuplicate: Kn,
|
|
49925
49925
|
handleUploadConflictDecideForEach: ko
|
|
@@ -49930,7 +49930,7 @@ const t7 = ({
|
|
|
49930
49930
|
onUploadArchive: P,
|
|
49931
49931
|
allowedFileTypes: ne,
|
|
49932
49932
|
validationMessages: A
|
|
49933
|
-
}),
|
|
49933
|
+
}), el = D(
|
|
49934
49934
|
(Ge) => {
|
|
49935
49935
|
const es = U ?? "", Js = Et?.items ?? [];
|
|
49936
49936
|
Un(Ge, es, Js);
|
|
@@ -49939,15 +49939,15 @@ const t7 = ({
|
|
|
49939
49939
|
), Lo = D(() => {
|
|
49940
49940
|
const Ge = U ?? "", es = Et?.items ?? [];
|
|
49941
49941
|
Io(Ge, es);
|
|
49942
|
-
}, [U, Et, Io]),
|
|
49942
|
+
}, [U, Et, Io]), tl = D(() => {
|
|
49943
49943
|
const Ge = U ?? "", es = Et?.items ?? [];
|
|
49944
49944
|
ki(Ge, es);
|
|
49945
49945
|
}, [U, Et, ki]), {
|
|
49946
49946
|
isCreatingFolder: Oo,
|
|
49947
49947
|
newFolderTempId: Qs,
|
|
49948
49948
|
startFolderCreation: No,
|
|
49949
|
-
cancelFolderCreation:
|
|
49950
|
-
saveFolderCreation:
|
|
49949
|
+
cancelFolderCreation: sl,
|
|
49950
|
+
saveFolderCreation: il,
|
|
49951
49951
|
validateFolderName: qn
|
|
49952
49952
|
} = ZL({
|
|
49953
49953
|
currentFolder: Et,
|
|
@@ -49957,7 +49957,7 @@ const t7 = ({
|
|
|
49957
49957
|
}), { newActions: Yn, isNewButtonVisible: Ho } = qL({
|
|
49958
49958
|
newActionLabels: h?.newActionLabels,
|
|
49959
49959
|
onUploadFiles: Lo,
|
|
49960
|
-
onUploadArchive:
|
|
49960
|
+
onUploadArchive: tl,
|
|
49961
49961
|
onCreateFolder: No
|
|
49962
49962
|
}), Zn = B(() => {
|
|
49963
49963
|
if (et) {
|
|
@@ -49973,7 +49973,7 @@ const t7 = ({
|
|
|
49973
49973
|
extension: at.extension,
|
|
49974
49974
|
isTemporary: !1,
|
|
49975
49975
|
owner: at.owner
|
|
49976
|
-
})) : Be.filter((ut) => !
|
|
49976
|
+
})) : Be.filter((ut) => !td(ut)).map((ut) => ({
|
|
49977
49977
|
id: ut.id ?? ut.path,
|
|
49978
49978
|
name: ut.name ?? ut.path.split("/").pop() ?? "",
|
|
49979
49979
|
updatedAt: ut.updatedAt,
|
|
@@ -49988,7 +49988,7 @@ const t7 = ({
|
|
|
49988
49988
|
}
|
|
49989
49989
|
const Ge = no(Ii).trim(), es = Et?.items ?? [];
|
|
49990
49990
|
let Js = Ge ? vL(Et) : es;
|
|
49991
|
-
Fe || (Js = Js.filter((Be) => !
|
|
49991
|
+
Fe || (Js = Js.filter((Be) => !td(Be)));
|
|
49992
49992
|
const Bo = Js.map((Be) => ({
|
|
49993
49993
|
id: Be.id ?? Be.path,
|
|
49994
49994
|
name: Be.name ?? Be.path.split("/").pop() ?? "",
|
|
@@ -50019,7 +50019,7 @@ const t7 = ({
|
|
|
50019
50019
|
if (Be.isTemporary) return !0;
|
|
50020
50020
|
const at = no(Be.name), ut = no(Be.author), pv = CL(Be.extension);
|
|
50021
50021
|
return Du.every(
|
|
50022
|
-
(
|
|
50022
|
+
(ll) => at.includes(ll) || ut.includes(ll) || pv.includes(ll)
|
|
50023
50023
|
);
|
|
50024
50024
|
});
|
|
50025
50025
|
}, [
|
|
@@ -50035,7 +50035,7 @@ const t7 = ({
|
|
|
50035
50035
|
oe(Ge.path);
|
|
50036
50036
|
},
|
|
50037
50037
|
[oe]
|
|
50038
|
-
),
|
|
50038
|
+
), ol = D(
|
|
50039
50039
|
(Ge) => {
|
|
50040
50040
|
oe(Ge);
|
|
50041
50041
|
},
|
|
@@ -50053,11 +50053,11 @@ const t7 = ({
|
|
|
50053
50053
|
expandedPathsLength: De.size,
|
|
50054
50054
|
additionalButtons: l?.additionalButtons
|
|
50055
50055
|
}), {
|
|
50056
|
-
isMetadataPopupOpen:
|
|
50057
|
-
selectedFileForMetadata:
|
|
50056
|
+
isMetadataPopupOpen: nl,
|
|
50057
|
+
selectedFileForMetadata: rl,
|
|
50058
50058
|
openMetadataPopup: Xs,
|
|
50059
50059
|
closeMetadataPopup: Xn
|
|
50060
|
-
} = XL({ onGetInfo: re }),
|
|
50060
|
+
} = XL({ onGetInfo: re }), al = D(() => {
|
|
50061
50061
|
Xn(), se?.clearMetadata?.();
|
|
50062
50062
|
}, [Xn, se]), Go = {
|
|
50063
50063
|
className: t,
|
|
@@ -50089,7 +50089,7 @@ const t7 = ({
|
|
|
50089
50089
|
setCurrentPath: Ce,
|
|
50090
50090
|
searchValue: Eo,
|
|
50091
50091
|
effectiveSearchValue: Ii,
|
|
50092
|
-
setSearchValue:
|
|
50092
|
+
setSearchValue: Na,
|
|
50093
50093
|
areHiddenFilesVisible: Fe,
|
|
50094
50094
|
toggleHiddenFilesVisibility: j,
|
|
50095
50095
|
isTreeCollapsed: Re,
|
|
@@ -50101,15 +50101,15 @@ const t7 = ({
|
|
|
50101
50101
|
clearSelection: Y,
|
|
50102
50102
|
currentFolder: Et,
|
|
50103
50103
|
gridRows: Zn,
|
|
50104
|
-
handleCopyTo:
|
|
50105
|
-
handleMoveTo:
|
|
50106
|
-
handleDuplicate:
|
|
50107
|
-
handleSetCopiedFiles:
|
|
50108
|
-
handleSetMovedFiles:
|
|
50104
|
+
handleCopyTo: Ga,
|
|
50105
|
+
handleMoveTo: Ba,
|
|
50106
|
+
handleDuplicate: Va,
|
|
50107
|
+
handleSetCopiedFiles: _a,
|
|
50108
|
+
handleSetMovedFiles: Ua,
|
|
50109
50109
|
openDestinationFolderPopup: Zs,
|
|
50110
|
-
handleCloseDestinationFolderPopup:
|
|
50111
|
-
handleOpenDestinationFolderPopup:
|
|
50112
|
-
destinationFolderMode:
|
|
50110
|
+
handleCloseDestinationFolderPopup: Wa,
|
|
50111
|
+
handleOpenDestinationFolderPopup: za,
|
|
50112
|
+
destinationFolderMode: $a,
|
|
50113
50113
|
handleDownloadFiles: zn,
|
|
50114
50114
|
renamedPath: Je,
|
|
50115
50115
|
renamedItem: At,
|
|
@@ -50122,19 +50122,19 @@ const t7 = ({
|
|
|
50122
50122
|
closeDeleteConfirmation: Bn,
|
|
50123
50123
|
confirmDelete: Vn,
|
|
50124
50124
|
deleteConfirmationOpen: Hn,
|
|
50125
|
-
itemsToDelete:
|
|
50125
|
+
itemsToDelete: Qa,
|
|
50126
50126
|
handlePathChange: oe,
|
|
50127
50127
|
handleTreeItemClick: Qn,
|
|
50128
|
-
handleBreadcrumbItemClick:
|
|
50129
|
-
handleSearchChange:
|
|
50128
|
+
handleBreadcrumbItemClick: ol,
|
|
50129
|
+
handleSearchChange: Ha,
|
|
50130
50130
|
handleTableRowClick: K,
|
|
50131
50131
|
onTableFileClick: v,
|
|
50132
50132
|
isDragging: Ai,
|
|
50133
50133
|
uploadError: Po,
|
|
50134
|
-
handleDragEnter:
|
|
50134
|
+
handleDragEnter: Xa,
|
|
50135
50135
|
handleDragLeave: _n,
|
|
50136
50136
|
handleDragOver: To,
|
|
50137
|
-
handleDrop:
|
|
50137
|
+
handleDrop: el,
|
|
50138
50138
|
clearUploadError: Mo,
|
|
50139
50139
|
onUploadFiles: E,
|
|
50140
50140
|
onValidateUpload: T,
|
|
@@ -50147,27 +50147,27 @@ const t7 = ({
|
|
|
50147
50147
|
isCreatingFolder: Oo,
|
|
50148
50148
|
newFolderTempId: Qs,
|
|
50149
50149
|
startFolderCreation: No,
|
|
50150
|
-
cancelFolderCreation:
|
|
50151
|
-
saveFolderCreation:
|
|
50150
|
+
cancelFolderCreation: sl,
|
|
50151
|
+
saveFolderCreation: il,
|
|
50152
50152
|
validateFolderName: qn,
|
|
50153
50153
|
conflictResolutionPopupOptions: f,
|
|
50154
|
-
conflictingFiles:
|
|
50155
|
-
conflictResolutionOpen:
|
|
50156
|
-
closeConflictResolution:
|
|
50154
|
+
conflictingFiles: ja,
|
|
50155
|
+
conflictResolutionOpen: Ka,
|
|
50156
|
+
closeConflictResolution: qa,
|
|
50157
50157
|
handleConflictReplace: Do,
|
|
50158
|
-
handleConflictDuplicate:
|
|
50159
|
-
handleConflictDecideForEach:
|
|
50158
|
+
handleConflictDuplicate: Ya,
|
|
50159
|
+
handleConflictDecideForEach: Za,
|
|
50160
50160
|
uploadConflictingFiles: $n,
|
|
50161
50161
|
uploadConflictResolutionOpen: jn,
|
|
50162
|
-
closeUploadConflictResolution:
|
|
50162
|
+
closeUploadConflictResolution: Ja,
|
|
50163
50163
|
handleUploadConflictReplace: rt,
|
|
50164
50164
|
handleUploadConflictDuplicate: Kn,
|
|
50165
50165
|
handleUploadConflictDecideForEach: ko,
|
|
50166
50166
|
fileMetadataPopupOptions: se,
|
|
50167
|
-
isMetadataPopupOpen:
|
|
50168
|
-
selectedFileForMetadata:
|
|
50167
|
+
isMetadataPopupOpen: nl,
|
|
50168
|
+
selectedFileForMetadata: rl,
|
|
50169
50169
|
openMetadataPopup: Xs,
|
|
50170
|
-
closeMetadataPopup:
|
|
50170
|
+
closeMetadataPopup: al,
|
|
50171
50171
|
onGetInfo: re,
|
|
50172
50172
|
onUnshareFile: H,
|
|
50173
50173
|
actionsRef: he,
|
|
@@ -50421,7 +50421,7 @@ const hv = ({
|
|
|
50421
50421
|
key: ue.Duplicate,
|
|
50422
50422
|
label: t[ue.Duplicate],
|
|
50423
50423
|
title: t[ue.Duplicate],
|
|
50424
|
-
icon: /* @__PURE__ */ m(
|
|
50424
|
+
icon: /* @__PURE__ */ m(fd, { ...de, className: "text-secondary" }),
|
|
50425
50425
|
onClick: () => s(c)
|
|
50426
50426
|
}), t[ue.Delete] && l.push({
|
|
50427
50427
|
key: ue.Delete,
|
|
@@ -50436,7 +50436,7 @@ const hv = ({
|
|
|
50436
50436
|
key: ue.Download,
|
|
50437
50437
|
label: t[ue.Download],
|
|
50438
50438
|
title: t[ue.Download],
|
|
50439
|
-
icon: /* @__PURE__ */ m(
|
|
50439
|
+
icon: /* @__PURE__ */ m(md, { ...de, className: "text-secondary" }),
|
|
50440
50440
|
onClick: () => n(c)
|
|
50441
50441
|
})), l;
|
|
50442
50442
|
}, [
|
|
@@ -50463,7 +50463,7 @@ const hv = ({
|
|
|
50463
50463
|
return e && (e[ue.Duplicate] && d.push({
|
|
50464
50464
|
key: ue.Duplicate,
|
|
50465
50465
|
label: e[ue.Duplicate],
|
|
50466
|
-
icon: /* @__PURE__ */ m(
|
|
50466
|
+
icon: /* @__PURE__ */ m(fd, { ...de, className: "text-secondary" }),
|
|
50467
50467
|
onClick: () => t(c)
|
|
50468
50468
|
}), e[ue.Copy] && d.push({
|
|
50469
50469
|
key: ue.Copy,
|
|
@@ -50492,7 +50492,7 @@ const hv = ({
|
|
|
50492
50492
|
}), e[ue.Download] && d.push({
|
|
50493
50493
|
key: ue.Download,
|
|
50494
50494
|
label: e[ue.Download],
|
|
50495
|
-
icon: /* @__PURE__ */ m(
|
|
50495
|
+
icon: /* @__PURE__ */ m(md, { ...de, className: "text-secondary" }),
|
|
50496
50496
|
onClick: () => o(c)
|
|
50497
50497
|
}), e[ue.Delete] && d.push({
|
|
50498
50498
|
key: ue.Delete,
|
|
@@ -50507,7 +50507,7 @@ const hv = ({
|
|
|
50507
50507
|
}), e[ue.Info] && c.nodeType === Le.ITEM && d.push({
|
|
50508
50508
|
key: ue.Info,
|
|
50509
50509
|
label: e[ue.Info],
|
|
50510
|
-
icon: /* @__PURE__ */ m(
|
|
50510
|
+
icon: /* @__PURE__ */ m(hd, { ...de, className: "text-secondary" }),
|
|
50511
50511
|
onClick: () => a(c)
|
|
50512
50512
|
}), e[ue.Unshare] && d.push({
|
|
50513
50513
|
key: ue.Unshare,
|
|
@@ -50605,7 +50605,7 @@ const hv = ({
|
|
|
50605
50605
|
iconSize: Bs
|
|
50606
50606
|
}
|
|
50607
50607
|
) : /* @__PURE__ */ m(
|
|
50608
|
-
|
|
50608
|
+
Td,
|
|
50609
50609
|
{
|
|
50610
50610
|
name: Q.data.name,
|
|
50611
50611
|
iconSize: Bs
|
|
@@ -50784,7 +50784,7 @@ const hv = ({
|
|
|
50784
50784
|
children: /* @__PURE__ */ z("div", { className: "px-6 py-4", children: [
|
|
50785
50785
|
/* @__PURE__ */ m("p", { className: "text-secondary mb-4", children: H }),
|
|
50786
50786
|
f ? /* @__PURE__ */ m(
|
|
50787
|
-
|
|
50787
|
+
cc,
|
|
50788
50788
|
{
|
|
50789
50789
|
elementId: "single-file-conflict",
|
|
50790
50790
|
radioButtons: he,
|
|
@@ -50793,7 +50793,7 @@ const hv = ({
|
|
|
50793
50793
|
onChange: (Q) => E(Q)
|
|
50794
50794
|
}
|
|
50795
50795
|
) : /* @__PURE__ */ m(
|
|
50796
|
-
|
|
50796
|
+
cc,
|
|
50797
50797
|
{
|
|
50798
50798
|
elementId: "multiple-files-conflict",
|
|
50799
50799
|
radioButtons: te,
|
|
@@ -50992,12 +50992,7 @@ const h7 = ({
|
|
|
50992
50992
|
)
|
|
50993
50993
|
] }) : s ? /* @__PURE__ */ z(Ve, { children: [
|
|
50994
50994
|
/* @__PURE__ */ m("div", { className: ss, children: n }),
|
|
50995
|
-
/* @__PURE__ */ m("div", { className: wr, children: /* @__PURE__ */ m(
|
|
50996
|
-
wt,
|
|
50997
|
-
{
|
|
50998
|
-
text: /* @__PURE__ */ m(xa, { name: s.name, iconSize: 16 })
|
|
50999
|
-
}
|
|
51000
|
-
) }),
|
|
50995
|
+
/* @__PURE__ */ m("div", { className: wr, children: /* @__PURE__ */ m(wt, { text: s.name }) }),
|
|
51001
50996
|
/* @__PURE__ */ m("div", { className: ss, children: a }),
|
|
51002
50997
|
/* @__PURE__ */ m("div", { className: wr, children: /* @__PURE__ */ m(
|
|
51003
50998
|
wt,
|
|
@@ -51094,34 +51089,34 @@ const h7 = ({
|
|
|
51094
51089
|
saveFolderCreation: et,
|
|
51095
51090
|
validateFolderName: Eo,
|
|
51096
51091
|
startFolderCreation: Ii,
|
|
51097
|
-
conflictingFiles:
|
|
51098
|
-
conflictResolutionOpen:
|
|
51092
|
+
conflictingFiles: Na,
|
|
51093
|
+
conflictResolutionOpen: Ha,
|
|
51099
51094
|
closeConflictResolution: Nn,
|
|
51100
51095
|
handleConflictReplace: Et,
|
|
51101
|
-
handleConflictDuplicate:
|
|
51102
|
-
handleConflictDecideForEach:
|
|
51103
|
-
uploadConflictingFiles:
|
|
51104
|
-
uploadConflictResolutionOpen:
|
|
51105
|
-
closeUploadConflictResolution:
|
|
51096
|
+
handleConflictDuplicate: Ga,
|
|
51097
|
+
handleConflictDecideForEach: Ba,
|
|
51098
|
+
uploadConflictingFiles: Va,
|
|
51099
|
+
uploadConflictResolutionOpen: za,
|
|
51100
|
+
closeUploadConflictResolution: Wa,
|
|
51106
51101
|
handleUploadConflictReplace: Zs,
|
|
51107
|
-
handleUploadConflictDuplicate:
|
|
51108
|
-
handleUploadConflictDecideForEach:
|
|
51109
|
-
openMetadataPopup:
|
|
51102
|
+
handleUploadConflictDuplicate: _a,
|
|
51103
|
+
handleUploadConflictDecideForEach: Ua,
|
|
51104
|
+
openMetadataPopup: $a,
|
|
51110
51105
|
fileMetadataPopupOptions: Jt,
|
|
51111
|
-
isMetadataPopupOpen:
|
|
51112
|
-
selectedFileForMetadata:
|
|
51113
|
-
closeMetadataPopup:
|
|
51106
|
+
isMetadataPopupOpen: ja,
|
|
51107
|
+
selectedFileForMetadata: Ka,
|
|
51108
|
+
closeMetadataPopup: qa,
|
|
51114
51109
|
onUnshareFile: Do,
|
|
51115
|
-
actionsRef:
|
|
51116
|
-
searchInProgress:
|
|
51110
|
+
actionsRef: Ya,
|
|
51111
|
+
searchInProgress: Za,
|
|
51117
51112
|
isSearchMode: Hn
|
|
51118
51113
|
} = s7(), {
|
|
51119
|
-
width:
|
|
51114
|
+
width: Qa = lL,
|
|
51120
51115
|
title: Gn = cL,
|
|
51121
51116
|
containerClassName: Bn = rL,
|
|
51122
51117
|
additionalButtons: Vn,
|
|
51123
51118
|
...zn
|
|
51124
|
-
} = o ?? {}, [Ai, Wn] = I(
|
|
51119
|
+
} = o ?? {}, [Ai, Wn] = I(Qa), { renameTriggerView: Po, onGridRename: Xa, onTreeRename: _n } = g7({ onRename: Ce }), To = L(null), Un = (K) => {
|
|
51125
51120
|
To.current === null && (To.current = requestAnimationFrame(() => {
|
|
51126
51121
|
Wn(K), To.current = null;
|
|
51127
51122
|
}));
|
|
@@ -51138,7 +51133,7 @@ const h7 = ({
|
|
|
51138
51133
|
gt.Actions
|
|
51139
51134
|
],
|
|
51140
51135
|
...jn
|
|
51141
|
-
} = r ?? {}, { containerRef:
|
|
51136
|
+
} = r ?? {}, { containerRef: Ja, isBelowBreakpoint: rt } = u7(
|
|
51142
51137
|
h
|
|
51143
51138
|
), Kn = B(() => Hn ? [
|
|
51144
51139
|
gt.Name,
|
|
@@ -51147,7 +51142,7 @@ const h7 = ({
|
|
|
51147
51142
|
] : $n, [Hn, $n]), ko = D(
|
|
51148
51143
|
(K, De) => !(K.nodeType === Le.FOLDER || !K.contentType || rv(De, K.contentType, K.name)),
|
|
51149
51144
|
[]
|
|
51150
|
-
),
|
|
51145
|
+
), el = B(() => [
|
|
51151
51146
|
{
|
|
51152
51147
|
colId: gt.Name,
|
|
51153
51148
|
field: "name",
|
|
@@ -51159,10 +51154,10 @@ const h7 = ({
|
|
|
51159
51154
|
saveFolderCreation: Ms,
|
|
51160
51155
|
validateFolderName: gs,
|
|
51161
51156
|
cancelFolderCreation: Is,
|
|
51162
|
-
newFolderTempId:
|
|
51163
|
-
sharedByMePaths:
|
|
51164
|
-
} = K.context, Xs =
|
|
51165
|
-
if (K.data?.isTemporary && K.data.id ===
|
|
51157
|
+
newFolderTempId: nl,
|
|
51158
|
+
sharedByMePaths: rl
|
|
51159
|
+
} = K.context, Xs = rl?.has(K.data.path);
|
|
51160
|
+
if (K.data?.isTemporary && K.data.id === nl)
|
|
51166
51161
|
return /* @__PURE__ */ m(
|
|
51167
51162
|
fa,
|
|
51168
51163
|
{
|
|
@@ -51183,14 +51178,14 @@ const h7 = ({
|
|
|
51183
51178
|
);
|
|
51184
51179
|
const {
|
|
51185
51180
|
renameTriggerView: Xn,
|
|
51186
|
-
renamedPath:
|
|
51181
|
+
renamedPath: al,
|
|
51187
51182
|
renamedItem: Go,
|
|
51188
51183
|
getDisplayName: Ge,
|
|
51189
51184
|
onRenameValidate: es,
|
|
51190
51185
|
onRenameSave: Js,
|
|
51191
51186
|
onRenameCancel: Bo
|
|
51192
51187
|
} = K.context;
|
|
51193
|
-
if (Xn === ro.Grid &&
|
|
51188
|
+
if (Xn === ro.Grid && al === K.data?.path && Go && K.data) {
|
|
51194
51189
|
const Be = Ge(Go);
|
|
51195
51190
|
return /* @__PURE__ */ m(
|
|
51196
51191
|
fa,
|
|
@@ -51231,7 +51226,7 @@ const h7 = ({
|
|
|
51231
51226
|
iconSize: Bs
|
|
51232
51227
|
}
|
|
51233
51228
|
) : /* @__PURE__ */ m(
|
|
51234
|
-
|
|
51229
|
+
Td,
|
|
51235
51230
|
{
|
|
51236
51231
|
name: K.data.name,
|
|
51237
51232
|
shared: Xs,
|
|
@@ -51289,7 +51284,7 @@ const h7 = ({
|
|
|
51289
51284
|
return o?.actionLabels && (o.actionLabels[ue.Duplicate] && De.push({
|
|
51290
51285
|
key: "duplicate",
|
|
51291
51286
|
label: o.actionLabels[ue.Duplicate],
|
|
51292
|
-
icon: /* @__PURE__ */ m(
|
|
51287
|
+
icon: /* @__PURE__ */ m(fd, { ...de, className: "text-secondary" }),
|
|
51293
51288
|
onClick: () => $([K])
|
|
51294
51289
|
}), o.actionLabels[ue.Copy] && De.push({
|
|
51295
51290
|
key: st.Copy,
|
|
@@ -51322,7 +51317,7 @@ const h7 = ({
|
|
|
51322
51317
|
}), o.actionLabels[ue.Download] && De.push({
|
|
51323
51318
|
key: "download",
|
|
51324
51319
|
label: o.actionLabels[ue.Download],
|
|
51325
|
-
icon: /* @__PURE__ */ m(
|
|
51320
|
+
icon: /* @__PURE__ */ m(md, { ...de, className: "text-secondary" }),
|
|
51326
51321
|
onClick: () => Z([K])
|
|
51327
51322
|
}), o.actionLabels[ue.Rename] && De.push({
|
|
51328
51323
|
key: "rename",
|
|
@@ -51365,7 +51360,7 @@ const h7 = ({
|
|
|
51365
51360
|
o,
|
|
51366
51361
|
Do
|
|
51367
51362
|
]
|
|
51368
|
-
),
|
|
51363
|
+
), tl = B(() => {
|
|
51369
51364
|
const K = /* @__PURE__ */ new Map();
|
|
51370
51365
|
return R.forEach((De, Ms) => {
|
|
51371
51366
|
const gs = S.find((Is) => Is.path === Ms);
|
|
@@ -51396,7 +51391,7 @@ const h7 = ({
|
|
|
51396
51391
|
onDownload: Z,
|
|
51397
51392
|
onDelete: Q,
|
|
51398
51393
|
getCurrentFolderPath: () => b ?? "/"
|
|
51399
|
-
}),
|
|
51394
|
+
}), sl = D(() => a && y.size === 0 ? /* @__PURE__ */ m(
|
|
51400
51395
|
"div",
|
|
51401
51396
|
{
|
|
51402
51397
|
className: Lg,
|
|
@@ -51441,13 +51436,13 @@ const h7 = ({
|
|
|
51441
51436
|
Ut
|
|
51442
51437
|
]);
|
|
51443
51438
|
Fn(
|
|
51444
|
-
|
|
51439
|
+
Ya,
|
|
51445
51440
|
() => ({
|
|
51446
51441
|
createFolder: Ii
|
|
51447
51442
|
}),
|
|
51448
51443
|
[Ii]
|
|
51449
51444
|
);
|
|
51450
|
-
const
|
|
51445
|
+
const il = D(() => rt ? null : /* @__PURE__ */ m(
|
|
51451
51446
|
"aside",
|
|
51452
51447
|
{
|
|
51453
51448
|
role: "region",
|
|
@@ -51526,9 +51521,9 @@ const h7 = ({
|
|
|
51526
51521
|
he([K]), _(st.Move);
|
|
51527
51522
|
},
|
|
51528
51523
|
onDownload: (K) => Z([K]),
|
|
51529
|
-
onRename:
|
|
51524
|
+
onRename: Xa,
|
|
51530
51525
|
onDelete: (K, De) => Q([K], De),
|
|
51531
|
-
onInfo: (K) =>
|
|
51526
|
+
onInfo: (K) => $a(K),
|
|
51532
51527
|
onUnshare: (K) => Do?.(K)
|
|
51533
51528
|
}), Yn = D(
|
|
51534
51529
|
(K) => {
|
|
@@ -51540,7 +51535,7 @@ const h7 = ({
|
|
|
51540
51535
|
getContextMenuItems: Yn,
|
|
51541
51536
|
isRowDisabled: ko,
|
|
51542
51537
|
allowedFileTypes: p
|
|
51543
|
-
}), Zn = Mo ??
|
|
51538
|
+
}), Zn = Mo ?? el, Qn = B(() => {
|
|
51544
51539
|
let K = Zn;
|
|
51545
51540
|
return Mo || (K = K.filter(
|
|
51546
51541
|
(De) => De.colId && Kn.includes(De.colId)
|
|
@@ -51556,7 +51551,7 @@ const h7 = ({
|
|
|
51556
51551
|
Ho,
|
|
51557
51552
|
Mo,
|
|
51558
51553
|
Kn
|
|
51559
|
-
]),
|
|
51554
|
+
]), ol = D(
|
|
51560
51555
|
(K) => {
|
|
51561
51556
|
K.colDef.colId === "__select" || K.colDef.colId === gt.Actions || Y && K.data?.path === Y || K.data?.isTemporary || K.data && G(K.data);
|
|
51562
51557
|
},
|
|
@@ -51565,7 +51560,7 @@ const h7 = ({
|
|
|
51565
51560
|
return /* @__PURE__ */ z(
|
|
51566
51561
|
"section",
|
|
51567
51562
|
{
|
|
51568
|
-
ref:
|
|
51563
|
+
ref: Ja,
|
|
51569
51564
|
className: ge(
|
|
51570
51565
|
iL,
|
|
51571
51566
|
{
|
|
@@ -51576,9 +51571,9 @@ const h7 = ({
|
|
|
51576
51571
|
e
|
|
51577
51572
|
),
|
|
51578
51573
|
children: [
|
|
51579
|
-
|
|
51574
|
+
sl(),
|
|
51580
51575
|
/* @__PURE__ */ z("div", { className: oL, children: [
|
|
51581
|
-
|
|
51576
|
+
il(),
|
|
51582
51577
|
/* @__PURE__ */ z(
|
|
51583
51578
|
"div",
|
|
51584
51579
|
{
|
|
@@ -51616,7 +51611,7 @@ const h7 = ({
|
|
|
51616
51611
|
columnDefs: Qn,
|
|
51617
51612
|
rowData: S,
|
|
51618
51613
|
getRowId: (K) => K.path,
|
|
51619
|
-
loading: i ||
|
|
51614
|
+
loading: i || Za,
|
|
51620
51615
|
getContextMenuItems: Yn,
|
|
51621
51616
|
withoutHeaderBorders: rt,
|
|
51622
51617
|
selectionOnHover: !rt,
|
|
@@ -51627,11 +51622,11 @@ const h7 = ({
|
|
|
51627
51622
|
...jn,
|
|
51628
51623
|
additionalGridOptions: {
|
|
51629
51624
|
...jn.additionalGridOptions,
|
|
51630
|
-
onCellClicked:
|
|
51631
|
-
headerHeight:
|
|
51632
|
-
rowHeight:
|
|
51625
|
+
onCellClicked: ol,
|
|
51626
|
+
headerHeight: ic,
|
|
51627
|
+
rowHeight: ic,
|
|
51633
51628
|
...rt ? {
|
|
51634
|
-
getRowHeight: (K) => K.data?.nodeType === Le.FOLDER ?
|
|
51629
|
+
getRowHeight: (K) => K.data?.nodeType === Le.FOLDER ? ic : gL
|
|
51635
51630
|
} : {},
|
|
51636
51631
|
context: {
|
|
51637
51632
|
cancelFolderCreation: He,
|
|
@@ -51648,7 +51643,7 @@ const h7 = ({
|
|
|
51648
51643
|
sharedByMePaths: g
|
|
51649
51644
|
}
|
|
51650
51645
|
},
|
|
51651
|
-
selectedRows:
|
|
51646
|
+
selectedRows: tl,
|
|
51652
51647
|
onSelectionChangeWithMap: Qs,
|
|
51653
51648
|
wrapperBorder: !me && !Fe,
|
|
51654
51649
|
disabledRowIds: Oo
|
|
@@ -51697,32 +51692,32 @@ const h7 = ({
|
|
|
51697
51692
|
Bg,
|
|
51698
51693
|
{
|
|
51699
51694
|
...u,
|
|
51700
|
-
open:
|
|
51695
|
+
open: Ha,
|
|
51701
51696
|
onClose: Nn,
|
|
51702
51697
|
onReplace: Et,
|
|
51703
|
-
onDuplicate:
|
|
51704
|
-
onDecideForEach:
|
|
51705
|
-
conflictingFiles:
|
|
51698
|
+
onDuplicate: Ga,
|
|
51699
|
+
onDecideForEach: Ba,
|
|
51700
|
+
conflictingFiles: Na
|
|
51706
51701
|
}
|
|
51707
51702
|
),
|
|
51708
51703
|
/* @__PURE__ */ m(
|
|
51709
51704
|
Bg,
|
|
51710
51705
|
{
|
|
51711
51706
|
...u,
|
|
51712
|
-
open:
|
|
51713
|
-
onClose:
|
|
51707
|
+
open: za,
|
|
51708
|
+
onClose: Wa,
|
|
51714
51709
|
onReplace: Zs,
|
|
51715
|
-
onDuplicate:
|
|
51716
|
-
onDecideForEach:
|
|
51717
|
-
conflictingFiles:
|
|
51710
|
+
onDuplicate: _a,
|
|
51711
|
+
onDecideForEach: Ua,
|
|
51712
|
+
conflictingFiles: Va
|
|
51718
51713
|
}
|
|
51719
51714
|
),
|
|
51720
51715
|
/* @__PURE__ */ m(
|
|
51721
51716
|
m7,
|
|
51722
51717
|
{
|
|
51723
|
-
open:
|
|
51724
|
-
onClose:
|
|
51725
|
-
fileMetadata: Jt?.fileMetadata ??
|
|
51718
|
+
open: ja,
|
|
51719
|
+
onClose: qa,
|
|
51720
|
+
fileMetadata: Jt?.fileMetadata ?? Ka,
|
|
51726
51721
|
loading: Jt?.loading,
|
|
51727
51722
|
title: Jt?.title,
|
|
51728
51723
|
nameLabel: Jt?.nameLabel,
|
|
@@ -51739,12 +51734,12 @@ const h7 = ({
|
|
|
51739
51734
|
);
|
|
51740
51735
|
}, z7 = (e) => {
|
|
51741
51736
|
const [t, s] = I(
|
|
51742
|
-
|
|
51737
|
+
sd.MyFiles
|
|
51743
51738
|
), i = (n) => {
|
|
51744
51739
|
s(n);
|
|
51745
51740
|
}, o = B(() => {
|
|
51746
51741
|
if (e)
|
|
51747
|
-
return Object.values(
|
|
51742
|
+
return Object.values(sd).map((n) => ({
|
|
51748
51743
|
id: n,
|
|
51749
51744
|
label: e?.[n] || n.replace("_", " ")
|
|
51750
51745
|
}));
|
|
@@ -51779,13 +51774,13 @@ export {
|
|
|
51779
51774
|
Ep as DialFileIcon,
|
|
51780
51775
|
C7 as DialFileManager,
|
|
51781
51776
|
ue as DialFileManagerActions,
|
|
51782
|
-
|
|
51783
|
-
|
|
51777
|
+
sd as DialFileManagerTabs,
|
|
51778
|
+
Td as DialFileName,
|
|
51784
51779
|
Le as DialFileNodeType,
|
|
51785
51780
|
mL as DialFilePermission,
|
|
51786
51781
|
fL as DialFileResourceType,
|
|
51787
51782
|
Md as DialFolderName,
|
|
51788
|
-
|
|
51783
|
+
wd as DialFormItem,
|
|
51789
51784
|
O7 as DialFormPopup,
|
|
51790
51785
|
$C as DialGrid,
|
|
51791
51786
|
ze as DialIcon,
|
|
@@ -51795,13 +51790,13 @@ export {
|
|
|
51795
51790
|
D7 as DialLabelledText,
|
|
51796
51791
|
V7 as DialLoadFileAreaField,
|
|
51797
51792
|
va as DialLoader,
|
|
51798
|
-
|
|
51793
|
+
bd as DialNoDataContent,
|
|
51799
51794
|
I7 as DialNumberInputField,
|
|
51800
51795
|
T8 as DialPasswordInput,
|
|
51801
51796
|
N7 as DialPasswordInputField,
|
|
51802
51797
|
Fo as DialPopup,
|
|
51803
51798
|
u1 as DialRadioButton,
|
|
51804
|
-
|
|
51799
|
+
cc as DialRadioGroup,
|
|
51805
51800
|
L7 as DialRadioGroupPopupField,
|
|
51806
51801
|
l8 as DialRemoveButton,
|
|
51807
51802
|
B0 as DialResizableContainer,
|
|
@@ -51810,19 +51805,19 @@ export {
|
|
|
51810
51805
|
B7 as DialSelectField,
|
|
51811
51806
|
zr as DialSharedEntityIndicator,
|
|
51812
51807
|
zo as DialSkeleton,
|
|
51813
|
-
|
|
51808
|
+
pc as DialSkeletonAvatarShape,
|
|
51814
51809
|
yr as DialSkeletonAvatarSize,
|
|
51815
51810
|
$t as DialSkeletonVariant,
|
|
51816
51811
|
E7 as DialSteps,
|
|
51817
51812
|
ZC as DialSwitch,
|
|
51818
51813
|
Jk as DialTabs,
|
|
51819
|
-
|
|
51814
|
+
yd as DialTag,
|
|
51820
51815
|
G7 as DialTagInput,
|
|
51821
51816
|
k7 as DialTextAreaField,
|
|
51822
51817
|
A7 as DialTextInputField,
|
|
51823
51818
|
c8 as DialTextarea,
|
|
51824
51819
|
$s as DialTooltip,
|
|
51825
|
-
|
|
51820
|
+
Zc as DropdownItemType,
|
|
51826
51821
|
Bt as DropdownTrigger,
|
|
51827
51822
|
Wk as DropdownType,
|
|
51828
51823
|
gt as FileManagerColumnKey,
|
|
@@ -51833,11 +51828,11 @@ export {
|
|
|
51833
51828
|
ao as RadioGroupOrientation,
|
|
51834
51829
|
Wr as ResizableContainerSide,
|
|
51835
51830
|
pa as SearchSize,
|
|
51836
|
-
|
|
51837
|
-
|
|
51831
|
+
Xc as SelectSize,
|
|
51832
|
+
Jc as SelectVariant,
|
|
51838
51833
|
Vt as StepStatus,
|
|
51839
|
-
|
|
51840
|
-
|
|
51834
|
+
Qc as TabOrientation,
|
|
51835
|
+
Sd as TagVariant,
|
|
51841
51836
|
ge as mergeClasses,
|
|
51842
51837
|
z7 as useDialFileManagerTabs,
|
|
51843
51838
|
xL as useEditableItem,
|