@epam/ai-dial-ui-kit 0.6.0-rc.1 → 0.6.0-rc.10
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/README.md +4 -3
- package/dist/dial-ui-kit.cjs.js +11 -11
- package/dist/dial-ui-kit.es.js +712 -685
- package/dist/src/components/AutocompleteInput/AutocompleteInput.d.ts +3 -4
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +8 -8
- package/dist/src/components/Breadcrumb/BreadcrumbItem.d.ts +4 -5
- package/dist/src/components/Button/Button.d.ts +10 -1
- package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +2 -2
- package/dist/src/components/ErrorText/ErrorText.d.ts +2 -2
- package/dist/src/components/FileManager/FileManager.d.ts +3 -3
- package/dist/src/components/FileManager/FileManagerContext.d.ts +3 -1
- package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -2
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +5 -1
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +1 -1
- package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +1 -1
- package/dist/src/components/FormPopup/FormPopup.d.ts +2 -2
- package/dist/src/components/Grid/constants.d.ts +0 -3
- package/dist/src/components/LabelledText/LabelledText.d.ts +1 -1
- package/dist/src/components/Popup/Popup.d.ts +2 -2
- package/dist/src/components/RadioButton/RadioButton.d.ts +2 -2
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +3 -3
- package/dist/src/components/Switch/Switch.d.ts +2 -2
- package/dist/src/models/breadcrumb.d.ts +1 -1
- package/dist/src/types/form-item.d.ts +1 -1
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -5,165 +5,25 @@ import * as be from "react";
|
|
|
5
5
|
import q, { createContext as fa, useState as I, useRef as L, useEffect as Se, useMemo as B, useContext as st, isValidElement as gd, cloneElement as cc, useCallback as D, memo as ft, useLayoutEffect as qt, PureComponent as Ev, Component as Dv, forwardRef as pd, useImperativeHandle as xn, createElement as Yo, Suspense as Pv, useId as fd, Children as Tv } from "react";
|
|
6
6
|
import { IconInfoCircle as md, IconCircleCheck as Mv, IconAlertTriangle as Iv, IconAlertCircle as Av, IconX as go, IconMinus as kv, IconCheck as Yg, IconExclamationCircle as Cd, IconClipboardX as Zg, IconChevronsLeft as Lv, IconChevronsRight as Ov, IconGripVertical as Nv, IconFile as Qg, IconFileTypeZip as Hv, IconFileTypeXml as Gv, IconFileTypeXls as Bv, IconFileTypeVue as Vv, IconFileTypeTxt as zv, IconFileTypeTsx as Wv, IconFileTypeTs as _v, IconFileTypeSvg as Uv, IconFileTypeSql as $v, IconFileTypeRs as jv, IconFileTypePpt as Kv, IconFileTypePng as qv, IconFileTypePhp as Yv, IconFileTypePdf as Zv, IconFileTypeJsx as Qv, IconFileTypeJs as Xv, IconFileTypeJpg as Jv, IconFileTypeHtml as ew, IconFileTypeDocx as tw, IconFileTypeDoc as sw, IconFileTypeCsv as iw, IconFileTypeCss as ow, IconFileTypeBmp as nw, IconArrowUpRight as rw, IconFolder as vd, IconChevronLeft as aw, IconChevronRight as Xg, IconZoomCancel as lw, IconChevronDown as ma, IconDotsVertical as Fn, IconDots as cw, IconTrashX as En, IconEyeOff as Jg, IconEye as ep, IconSearch as dw, IconPlus as uw, IconChevronUp as hw, IconAlertCircleFilled as gw, IconCaretRightFilled as pw, IconArrowLeft as fw, IconFileZip as mw, IconCopyMinus as Cw, IconFolderPlus as vw, IconCopy as wd, IconDownload as bd, IconPencilMinus as tp, IconCircleFilled as wr } from "@tabler/icons-react";
|
|
7
7
|
import ww, { flushSync as bw, createPortal as Sd } from "react-dom";
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
if (e == null)
|
|
11
|
-
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
12
|
-
return e;
|
|
13
|
-
}, Rw = ({
|
|
14
|
-
initialOpen: e = !1,
|
|
15
|
-
placement: t = "bottom",
|
|
16
|
-
isTriggerClickable: s = !1,
|
|
17
|
-
open: i,
|
|
18
|
-
onOpenChange: o
|
|
19
|
-
} = {}) => {
|
|
20
|
-
const [n, r] = I(e), a = L(null), l = i ?? n, c = o ?? r, d = ad({
|
|
21
|
-
placement: t,
|
|
22
|
-
open: l,
|
|
23
|
-
onOpenChange: c,
|
|
24
|
-
whileElementsMounted: jg,
|
|
25
|
-
middleware: [
|
|
26
|
-
_g(Sw + yw),
|
|
27
|
-
Ug({
|
|
28
|
-
crossAxis: t.includes("-"),
|
|
29
|
-
fallbackAxisSideDirection: "start",
|
|
30
|
-
padding: 5
|
|
31
|
-
}),
|
|
32
|
-
$g({ padding: 5 }),
|
|
33
|
-
wv({
|
|
34
|
-
element: a
|
|
35
|
-
})
|
|
36
|
-
]
|
|
37
|
-
}), u = Kg(d.context, {
|
|
38
|
-
move: !1,
|
|
39
|
-
enabled: i == null,
|
|
40
|
-
mouseOnly: s,
|
|
41
|
-
delay: { open: 500, close: 0 }
|
|
42
|
-
}), h = bv(d.context, {
|
|
43
|
-
enabled: i == null
|
|
44
|
-
}), g = ld(d.context), p = cd(d.context, { role: "tooltip" }), f = dd([u, h, g, p]);
|
|
45
|
-
return Se(() => {
|
|
46
|
-
if (!l) return;
|
|
47
|
-
const C = d.refs.reference.current;
|
|
48
|
-
if (!(C instanceof Element)) return;
|
|
49
|
-
const v = new IntersectionObserver(
|
|
50
|
-
([w]) => {
|
|
51
|
-
w.isIntersecting || c(!1);
|
|
52
|
-
},
|
|
53
|
-
{ root: null, threshold: 0 }
|
|
54
|
-
);
|
|
55
|
-
return v.observe(C), () => v.disconnect();
|
|
56
|
-
}, [l, d.refs.reference, c]), B(
|
|
57
|
-
() => ({
|
|
58
|
-
open: l,
|
|
59
|
-
setOpen: c,
|
|
60
|
-
arrowRef: a,
|
|
61
|
-
...f,
|
|
62
|
-
...d
|
|
63
|
-
}),
|
|
64
|
-
[l, c, f, d]
|
|
65
|
-
);
|
|
66
|
-
}, op = ({
|
|
67
|
-
children: e,
|
|
68
|
-
...t
|
|
69
|
-
}) => {
|
|
70
|
-
const s = Rw(t);
|
|
71
|
-
return /* @__PURE__ */ m(sp.Provider, { value: s, children: e });
|
|
72
|
-
}, np = ({ style: e, ...t }) => {
|
|
73
|
-
const s = ip(), i = L(null), o = ud([s.refs.setFloating, i]);
|
|
74
|
-
return s.open ? /* @__PURE__ */ m(hd, { id: "tooltip-portal", children: /* @__PURE__ */ z(
|
|
75
|
-
"div",
|
|
76
|
-
{
|
|
77
|
-
ref: o,
|
|
78
|
-
style: {
|
|
79
|
-
...s.floatingStyles,
|
|
80
|
-
...e
|
|
81
|
-
},
|
|
82
|
-
...s.getFloatingProps(t),
|
|
83
|
-
className: ee(
|
|
84
|
-
"z-[55] whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny shadow max-w-[300px]",
|
|
85
|
-
s.getFloatingProps(t).className
|
|
86
|
-
),
|
|
87
|
-
children: [
|
|
88
|
-
t.children,
|
|
89
|
-
/* @__PURE__ */ m(
|
|
90
|
-
Sv,
|
|
91
|
-
{
|
|
92
|
-
ref: s.arrowRef,
|
|
93
|
-
context: s.context,
|
|
94
|
-
fill: "currentColor",
|
|
95
|
-
strokeWidth: 1,
|
|
96
|
-
className: "border-primary w-2 text-[var(--bg-layer-0,_#000000)]"
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
) }) : null;
|
|
102
|
-
}, rp = ({
|
|
103
|
-
children: e,
|
|
104
|
-
asChild: t = !1,
|
|
105
|
-
...s
|
|
106
|
-
}) => {
|
|
107
|
-
const i = ip(), o = t && gd(e), n = o ? e.props?.ref : null, r = ud([
|
|
108
|
-
i.refs.setReference,
|
|
109
|
-
...n ? [n] : []
|
|
110
|
-
]);
|
|
111
|
-
return o ? cc(
|
|
112
|
-
e,
|
|
113
|
-
i.getReferenceProps({
|
|
114
|
-
...e.props,
|
|
115
|
-
...s,
|
|
116
|
-
ref: r
|
|
117
|
-
})
|
|
118
|
-
) : /* @__PURE__ */ m(
|
|
119
|
-
"span",
|
|
120
|
-
{
|
|
121
|
-
ref: r,
|
|
122
|
-
...i.getReferenceProps(s),
|
|
123
|
-
className: s.className ?? "dial-tooltip-trigger text-left",
|
|
124
|
-
children: e
|
|
125
|
-
}
|
|
126
|
-
);
|
|
127
|
-
}, js = ({
|
|
128
|
-
hideTooltip: e,
|
|
129
|
-
tooltip: t,
|
|
130
|
-
children: s,
|
|
131
|
-
triggerClassName: i,
|
|
132
|
-
contentClassName: o,
|
|
133
|
-
...n
|
|
134
|
-
}) => /* @__PURE__ */ z(op, { ...n, children: [
|
|
135
|
-
/* @__PURE__ */ m(rp, { className: ee(i, "truncate"), children: s }),
|
|
136
|
-
/* @__PURE__ */ m(
|
|
137
|
-
np,
|
|
138
|
-
{
|
|
139
|
-
className: ee(
|
|
140
|
-
"text-primary",
|
|
141
|
-
o,
|
|
142
|
-
"max-w-[300px]",
|
|
143
|
-
(e || !t) && "hidden"
|
|
144
|
-
),
|
|
145
|
-
children: t
|
|
146
|
-
}
|
|
147
|
-
)
|
|
148
|
-
] }), yd = "-", xw = (e) => {
|
|
149
|
-
const t = Ew(e), {
|
|
8
|
+
const yd = "-", Sw = (e) => {
|
|
9
|
+
const t = Rw(e), {
|
|
150
10
|
conflictingClassGroups: s,
|
|
151
11
|
conflictingClassGroupModifiers: i
|
|
152
12
|
} = e;
|
|
153
13
|
return {
|
|
154
14
|
getClassGroupId: (r) => {
|
|
155
15
|
const a = r.split(yd);
|
|
156
|
-
return a[0] === "" && a.length !== 1 && a.shift(),
|
|
16
|
+
return a[0] === "" && a.length !== 1 && a.shift(), sp(a, t) || yw(r);
|
|
157
17
|
},
|
|
158
18
|
getConflictingClassGroupIds: (r, a) => {
|
|
159
19
|
const l = s[r] || [];
|
|
160
20
|
return a && i[r] ? [...l, ...i[r]] : l;
|
|
161
21
|
}
|
|
162
22
|
};
|
|
163
|
-
},
|
|
23
|
+
}, sp = (e, t) => {
|
|
164
24
|
if (e.length === 0)
|
|
165
25
|
return t.classGroupId;
|
|
166
|
-
const s = e[0], i = t.nextPart.get(s), o = i ?
|
|
26
|
+
const s = e[0], i = t.nextPart.get(s), o = i ? sp(e.slice(1), i) : void 0;
|
|
167
27
|
if (o)
|
|
168
28
|
return o;
|
|
169
29
|
if (t.validators.length === 0)
|
|
@@ -172,13 +32,13 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
172
32
|
return t.validators.find(({
|
|
173
33
|
validator: r
|
|
174
34
|
}) => r(n))?.classGroupId;
|
|
175
|
-
}, Iu = /^\[(.+)\]$/,
|
|
35
|
+
}, Iu = /^\[(.+)\]$/, yw = (e) => {
|
|
176
36
|
if (Iu.test(e)) {
|
|
177
37
|
const t = Iu.exec(e)[1], s = t?.substring(0, t.indexOf(":"));
|
|
178
38
|
if (s)
|
|
179
39
|
return "arbitrary.." + s;
|
|
180
40
|
}
|
|
181
|
-
},
|
|
41
|
+
}, Rw = (e) => {
|
|
182
42
|
const {
|
|
183
43
|
theme: t,
|
|
184
44
|
classGroups: s
|
|
@@ -197,7 +57,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
197
57
|
return;
|
|
198
58
|
}
|
|
199
59
|
if (typeof o == "function") {
|
|
200
|
-
if (
|
|
60
|
+
if (xw(o)) {
|
|
201
61
|
dc(o(i), t, s, i);
|
|
202
62
|
return;
|
|
203
63
|
}
|
|
@@ -219,7 +79,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
219
79
|
validators: []
|
|
220
80
|
}), s = s.nextPart.get(i);
|
|
221
81
|
}), s;
|
|
222
|
-
},
|
|
82
|
+
}, xw = (e) => e.isThemeGetter, Fw = (e) => {
|
|
223
83
|
if (e < 1)
|
|
224
84
|
return {
|
|
225
85
|
get: () => {
|
|
@@ -243,7 +103,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
243
103
|
s.has(n) ? s.set(n, r) : o(n, r);
|
|
244
104
|
}
|
|
245
105
|
};
|
|
246
|
-
}, uc = "!", hc = ":",
|
|
106
|
+
}, uc = "!", hc = ":", Ew = hc.length, Dw = (e) => {
|
|
247
107
|
const {
|
|
248
108
|
prefix: t,
|
|
249
109
|
experimentalParseClassName: s
|
|
@@ -255,7 +115,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
255
115
|
let f = o[p];
|
|
256
116
|
if (r === 0 && a === 0) {
|
|
257
117
|
if (f === hc) {
|
|
258
|
-
n.push(o.slice(l, p)), l = p +
|
|
118
|
+
n.push(o.slice(l, p)), l = p + Ew;
|
|
259
119
|
continue;
|
|
260
120
|
}
|
|
261
121
|
if (f === "/") {
|
|
@@ -265,7 +125,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
265
125
|
}
|
|
266
126
|
f === "[" ? r++ : f === "]" ? r-- : f === "(" ? a++ : f === ")" && a--;
|
|
267
127
|
}
|
|
268
|
-
const d = n.length === 0 ? o : o.substring(l), u =
|
|
128
|
+
const d = n.length === 0 ? o : o.substring(l), u = Pw(d), h = u !== d, g = c && c > l ? c - l : void 0;
|
|
269
129
|
return {
|
|
270
130
|
modifiers: n,
|
|
271
131
|
hasImportantModifier: h,
|
|
@@ -291,7 +151,7 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
291
151
|
});
|
|
292
152
|
}
|
|
293
153
|
return i;
|
|
294
|
-
},
|
|
154
|
+
}, Pw = (e) => e.endsWith(uc) ? e.substring(0, e.length - 1) : e.startsWith(uc) ? e.substring(1) : e, Tw = (e) => {
|
|
295
155
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((i) => [i, !0]));
|
|
296
156
|
return (i) => {
|
|
297
157
|
if (i.length <= 1)
|
|
@@ -302,18 +162,18 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
302
162
|
r[0] === "[" || t[r] ? (o.push(...n.sort(), r), n = []) : n.push(r);
|
|
303
163
|
}), o.push(...n.sort()), o;
|
|
304
164
|
};
|
|
305
|
-
},
|
|
306
|
-
cache:
|
|
307
|
-
parseClassName:
|
|
308
|
-
sortModifiers:
|
|
309
|
-
...
|
|
310
|
-
}),
|
|
165
|
+
}, Mw = (e) => ({
|
|
166
|
+
cache: Fw(e.cacheSize),
|
|
167
|
+
parseClassName: Dw(e),
|
|
168
|
+
sortModifiers: Tw(e),
|
|
169
|
+
...Sw(e)
|
|
170
|
+
}), Iw = /\s+/, Aw = (e, t) => {
|
|
311
171
|
const {
|
|
312
172
|
parseClassName: s,
|
|
313
173
|
getClassGroupId: i,
|
|
314
174
|
getConflictingClassGroupIds: o,
|
|
315
175
|
sortModifiers: n
|
|
316
|
-
} = t, r = [], a = e.trim().split(
|
|
176
|
+
} = t, r = [], a = e.trim().split(Iw);
|
|
317
177
|
let l = "";
|
|
318
178
|
for (let c = a.length - 1; c >= 0; c -= 1) {
|
|
319
179
|
const d = a[c], {
|
|
@@ -352,52 +212,52 @@ const hi = ({ errorText: e }) => e && /* @__PURE__ */ m("span", { className: "te
|
|
|
352
212
|
}
|
|
353
213
|
return l;
|
|
354
214
|
};
|
|
355
|
-
function
|
|
215
|
+
function kw() {
|
|
356
216
|
let e = 0, t, s, i = "";
|
|
357
217
|
for (; e < arguments.length; )
|
|
358
|
-
(t = arguments[e++]) && (s =
|
|
218
|
+
(t = arguments[e++]) && (s = ip(t)) && (i && (i += " "), i += s);
|
|
359
219
|
return i;
|
|
360
220
|
}
|
|
361
|
-
const
|
|
221
|
+
const ip = (e) => {
|
|
362
222
|
if (typeof e == "string")
|
|
363
223
|
return e;
|
|
364
224
|
let t, s = "";
|
|
365
225
|
for (let i = 0; i < e.length; i++)
|
|
366
|
-
e[i] && (t =
|
|
226
|
+
e[i] && (t = ip(e[i])) && (s && (s += " "), s += t);
|
|
367
227
|
return s;
|
|
368
228
|
};
|
|
369
|
-
function
|
|
229
|
+
function Lw(e, ...t) {
|
|
370
230
|
let s, i, o, n = r;
|
|
371
231
|
function r(l) {
|
|
372
232
|
const c = t.reduce((d, u) => u(d), e());
|
|
373
|
-
return s =
|
|
233
|
+
return s = Mw(c), i = s.cache.get, o = s.cache.set, n = a, a(l);
|
|
374
234
|
}
|
|
375
235
|
function a(l) {
|
|
376
236
|
const c = i(l);
|
|
377
237
|
if (c)
|
|
378
238
|
return c;
|
|
379
|
-
const d =
|
|
239
|
+
const d = Aw(l, s);
|
|
380
240
|
return o(l, d), d;
|
|
381
241
|
}
|
|
382
242
|
return function() {
|
|
383
|
-
return n(
|
|
243
|
+
return n(kw.apply(null, arguments));
|
|
384
244
|
};
|
|
385
245
|
}
|
|
386
246
|
const et = (e) => {
|
|
387
247
|
const t = (s) => s[e] || [];
|
|
388
248
|
return t.isThemeGetter = !0, t;
|
|
389
|
-
},
|
|
249
|
+
}, op = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, np = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ow = /^\d+\/\d+$/, Nw = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hw = /\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$/, Gw = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Bw = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vw = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ii = (e) => Ow.test(e), Ee = (e) => !!e && !Number.isNaN(Number(e)), Ls = (e) => !!e && Number.isInteger(Number(e)), gl = (e) => e.endsWith("%") && Ee(e.slice(0, -1)), ps = (e) => Nw.test(e), zw = () => !0, Ww = (e) => (
|
|
390
250
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
391
251
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
392
252
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
393
|
-
|
|
394
|
-
),
|
|
395
|
-
const i =
|
|
253
|
+
Hw.test(e) && !Gw.test(e)
|
|
254
|
+
), rp = () => !1, _w = (e) => Bw.test(e), Uw = (e) => Vw.test(e), $w = (e) => !re(e) && !ae(e), jw = (e) => po(e, cp, rp), re = (e) => op.test(e), Xs = (e) => po(e, dp, Ww), pl = (e) => po(e, Qw, Ee), ku = (e) => po(e, ap, rp), Kw = (e) => po(e, lp, Uw), Xn = (e) => po(e, up, _w), ae = (e) => np.test(e), Bo = (e) => fo(e, dp), qw = (e) => fo(e, Xw), Lu = (e) => fo(e, ap), Yw = (e) => fo(e, cp), Zw = (e) => fo(e, lp), Jn = (e) => fo(e, up, !0), po = (e, t, s) => {
|
|
255
|
+
const i = op.exec(e);
|
|
396
256
|
return i ? i[1] ? t(i[1]) : s(i[2]) : !1;
|
|
397
257
|
}, fo = (e, t, s = !1) => {
|
|
398
|
-
const i =
|
|
258
|
+
const i = np.exec(e);
|
|
399
259
|
return i ? i[1] ? t(i[1]) : s : !1;
|
|
400
|
-
},
|
|
260
|
+
}, ap = (e) => e === "position" || e === "percentage", lp = (e) => e === "image" || e === "url", cp = (e) => e === "length" || e === "size" || e === "bg-size", dp = (e) => e === "length", Qw = (e) => e === "number", Xw = (e) => e === "family-name", up = (e) => e === "shadow", Jw = () => {
|
|
401
261
|
const e = et("color"), t = et("font"), s = et("text"), i = et("font-weight"), o = et("tracking"), n = et("leading"), r = et("breakpoint"), a = et("container"), l = et("spacing"), c = et("radius"), d = et("shadow"), u = et("inset-shadow"), h = et("text-shadow"), g = et("drop-shadow"), p = et("blur"), f = et("perspective"), C = et("aspect"), v = et("ease"), w = et("animate"), b = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
402
262
|
"center",
|
|
403
263
|
"top",
|
|
@@ -416,13 +276,13 @@ const et = (e) => {
|
|
|
416
276
|
"bottom-left",
|
|
417
277
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
418
278
|
"left-bottom"
|
|
419
|
-
], y = () => [...S(), ae, re], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], E = () => [ae, re, l], T = () => [Ii, "full", "auto", ...E()], k = () => [
|
|
420
|
-
span: ["full",
|
|
421
|
-
},
|
|
279
|
+
], y = () => [...S(), ae, re], R = () => ["auto", "hidden", "clip", "visible", "scroll"], x = () => ["auto", "contain", "none"], E = () => [ae, re, l], T = () => [Ii, "full", "auto", ...E()], k = () => [Ls, "none", "subgrid", ae, re], F = () => ["auto", {
|
|
280
|
+
span: ["full", Ls, ae, re]
|
|
281
|
+
}, Ls, ae, re], P = () => [Ls, "auto", ae, re], G = () => ["auto", "min", "max", "fr", ae, re], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ie = () => ["auto", ...E()], ne = () => [Ii, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], N = () => [e, ae, re], ue = () => [...S(), Lu, ku, {
|
|
422
282
|
position: [ae, re]
|
|
423
283
|
}], U = () => ["no-repeat", {
|
|
424
284
|
repeat: ["", "x", "y", "space", "round"]
|
|
425
|
-
}], se = () => ["auto", "cover", "contain",
|
|
285
|
+
}], se = () => ["auto", "cover", "contain", Yw, jw, {
|
|
426
286
|
size: [ae, re]
|
|
427
287
|
}], te = () => [gl, Bo, Xs], Z = () => [
|
|
428
288
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -447,11 +307,11 @@ const et = (e) => {
|
|
|
447
307
|
aspect: ["video"],
|
|
448
308
|
blur: [ps],
|
|
449
309
|
breakpoint: [ps],
|
|
450
|
-
color: [
|
|
310
|
+
color: [zw],
|
|
451
311
|
container: [ps],
|
|
452
312
|
"drop-shadow": [ps],
|
|
453
313
|
ease: ["in", "out", "in-out"],
|
|
454
|
-
font: [
|
|
314
|
+
font: [$w],
|
|
455
315
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
456
316
|
"inset-shadow": [ps],
|
|
457
317
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -685,7 +545,7 @@ const et = (e) => {
|
|
|
685
545
|
* @see https://tailwindcss.com/docs/z-index
|
|
686
546
|
*/
|
|
687
547
|
z: [{
|
|
688
|
-
z: [
|
|
548
|
+
z: [Ls, "auto", ae, re]
|
|
689
549
|
}],
|
|
690
550
|
// ------------------------
|
|
691
551
|
// --- Flexbox and Grid ---
|
|
@@ -737,7 +597,7 @@ const et = (e) => {
|
|
|
737
597
|
* @see https://tailwindcss.com/docs/order
|
|
738
598
|
*/
|
|
739
599
|
order: [{
|
|
740
|
-
order: [
|
|
600
|
+
order: [Ls, "first", "last", "none", ae, re]
|
|
741
601
|
}],
|
|
742
602
|
/**
|
|
743
603
|
* Grid Template Columns
|
|
@@ -1163,7 +1023,7 @@ const et = (e) => {
|
|
|
1163
1023
|
* @see https://tailwindcss.com/docs/font-family
|
|
1164
1024
|
*/
|
|
1165
1025
|
"font-family": [{
|
|
1166
|
-
font: [
|
|
1026
|
+
font: [qw, re, t]
|
|
1167
1027
|
}],
|
|
1168
1028
|
/**
|
|
1169
1029
|
* Font Variant Numeric
|
|
@@ -1415,10 +1275,10 @@ const et = (e) => {
|
|
|
1415
1275
|
bg: ["none", {
|
|
1416
1276
|
linear: [{
|
|
1417
1277
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1418
|
-
},
|
|
1278
|
+
}, Ls, ae, re],
|
|
1419
1279
|
radial: ["", ae, re],
|
|
1420
|
-
conic: [
|
|
1421
|
-
},
|
|
1280
|
+
conic: [Ls, ae, re]
|
|
1281
|
+
}, Zw, Kw]
|
|
1422
1282
|
}],
|
|
1423
1283
|
/**
|
|
1424
1284
|
* Background Color
|
|
@@ -2867,11 +2727,162 @@ const et = (e) => {
|
|
|
2867
2727
|
},
|
|
2868
2728
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2869
2729
|
};
|
|
2870
|
-
},
|
|
2871
|
-
function
|
|
2872
|
-
return
|
|
2730
|
+
}, e1 = /* @__PURE__ */ Lw(Jw);
|
|
2731
|
+
function ge(...e) {
|
|
2732
|
+
return e1(ee(e));
|
|
2873
2733
|
}
|
|
2874
|
-
const
|
|
2734
|
+
const hi = ({
|
|
2735
|
+
errorText: e,
|
|
2736
|
+
className: t,
|
|
2737
|
+
...s
|
|
2738
|
+
}) => e ? /* @__PURE__ */ m(
|
|
2739
|
+
"span",
|
|
2740
|
+
{
|
|
2741
|
+
...s,
|
|
2742
|
+
className: ge("text-error dial-tiny mt-1", t),
|
|
2743
|
+
children: e
|
|
2744
|
+
}
|
|
2745
|
+
) : null, Ve = ({ icon: e, className: t }) => e ? /* @__PURE__ */ m("span", { className: ee("flex-shrink-0", t), children: e }) : null, t1 = 7, s1 = 2, hp = fa(null), gp = () => {
|
|
2746
|
+
const e = st(hp);
|
|
2747
|
+
if (e == null)
|
|
2748
|
+
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
2749
|
+
return e;
|
|
2750
|
+
}, i1 = ({
|
|
2751
|
+
initialOpen: e = !1,
|
|
2752
|
+
placement: t = "bottom",
|
|
2753
|
+
isTriggerClickable: s = !1,
|
|
2754
|
+
open: i,
|
|
2755
|
+
onOpenChange: o
|
|
2756
|
+
} = {}) => {
|
|
2757
|
+
const [n, r] = I(e), a = L(null), l = i ?? n, c = o ?? r, d = ad({
|
|
2758
|
+
placement: t,
|
|
2759
|
+
open: l,
|
|
2760
|
+
onOpenChange: c,
|
|
2761
|
+
whileElementsMounted: jg,
|
|
2762
|
+
middleware: [
|
|
2763
|
+
_g(t1 + s1),
|
|
2764
|
+
Ug({
|
|
2765
|
+
crossAxis: t.includes("-"),
|
|
2766
|
+
fallbackAxisSideDirection: "start",
|
|
2767
|
+
padding: 5
|
|
2768
|
+
}),
|
|
2769
|
+
$g({ padding: 5 }),
|
|
2770
|
+
wv({
|
|
2771
|
+
element: a
|
|
2772
|
+
})
|
|
2773
|
+
]
|
|
2774
|
+
}), u = Kg(d.context, {
|
|
2775
|
+
move: !1,
|
|
2776
|
+
enabled: i == null,
|
|
2777
|
+
mouseOnly: s,
|
|
2778
|
+
delay: { open: 500, close: 0 }
|
|
2779
|
+
}), h = bv(d.context, {
|
|
2780
|
+
enabled: i == null
|
|
2781
|
+
}), g = ld(d.context), p = cd(d.context, { role: "tooltip" }), f = dd([u, h, g, p]);
|
|
2782
|
+
return Se(() => {
|
|
2783
|
+
if (!l) return;
|
|
2784
|
+
const C = d.refs.reference.current;
|
|
2785
|
+
if (!(C instanceof Element)) return;
|
|
2786
|
+
const v = new IntersectionObserver(
|
|
2787
|
+
([w]) => {
|
|
2788
|
+
w.isIntersecting || c(!1);
|
|
2789
|
+
},
|
|
2790
|
+
{ root: null, threshold: 0 }
|
|
2791
|
+
);
|
|
2792
|
+
return v.observe(C), () => v.disconnect();
|
|
2793
|
+
}, [l, d.refs.reference, c]), B(
|
|
2794
|
+
() => ({
|
|
2795
|
+
open: l,
|
|
2796
|
+
setOpen: c,
|
|
2797
|
+
arrowRef: a,
|
|
2798
|
+
...f,
|
|
2799
|
+
...d
|
|
2800
|
+
}),
|
|
2801
|
+
[l, c, f, d]
|
|
2802
|
+
);
|
|
2803
|
+
}, pp = ({
|
|
2804
|
+
children: e,
|
|
2805
|
+
...t
|
|
2806
|
+
}) => {
|
|
2807
|
+
const s = i1(t);
|
|
2808
|
+
return /* @__PURE__ */ m(hp.Provider, { value: s, children: e });
|
|
2809
|
+
}, fp = ({ style: e, ...t }) => {
|
|
2810
|
+
const s = gp(), i = L(null), o = ud([s.refs.setFloating, i]);
|
|
2811
|
+
return s.open ? /* @__PURE__ */ m(hd, { id: "tooltip-portal", children: /* @__PURE__ */ z(
|
|
2812
|
+
"div",
|
|
2813
|
+
{
|
|
2814
|
+
ref: o,
|
|
2815
|
+
style: {
|
|
2816
|
+
...s.floatingStyles,
|
|
2817
|
+
...e
|
|
2818
|
+
},
|
|
2819
|
+
...s.getFloatingProps(t),
|
|
2820
|
+
className: ee(
|
|
2821
|
+
"z-[55] whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny shadow max-w-[300px]",
|
|
2822
|
+
s.getFloatingProps(t).className
|
|
2823
|
+
),
|
|
2824
|
+
children: [
|
|
2825
|
+
t.children,
|
|
2826
|
+
/* @__PURE__ */ m(
|
|
2827
|
+
Sv,
|
|
2828
|
+
{
|
|
2829
|
+
ref: s.arrowRef,
|
|
2830
|
+
context: s.context,
|
|
2831
|
+
fill: "currentColor",
|
|
2832
|
+
strokeWidth: 1,
|
|
2833
|
+
className: "border-primary w-2 text-[var(--bg-layer-0,_#000000)]"
|
|
2834
|
+
}
|
|
2835
|
+
)
|
|
2836
|
+
]
|
|
2837
|
+
}
|
|
2838
|
+
) }) : null;
|
|
2839
|
+
}, mp = ({
|
|
2840
|
+
children: e,
|
|
2841
|
+
asChild: t = !1,
|
|
2842
|
+
...s
|
|
2843
|
+
}) => {
|
|
2844
|
+
const i = gp(), o = t && gd(e), n = o ? e.props?.ref : null, r = ud([
|
|
2845
|
+
i.refs.setReference,
|
|
2846
|
+
...n ? [n] : []
|
|
2847
|
+
]);
|
|
2848
|
+
return o ? cc(
|
|
2849
|
+
e,
|
|
2850
|
+
i.getReferenceProps({
|
|
2851
|
+
...e.props,
|
|
2852
|
+
...s,
|
|
2853
|
+
ref: r
|
|
2854
|
+
})
|
|
2855
|
+
) : /* @__PURE__ */ m(
|
|
2856
|
+
"span",
|
|
2857
|
+
{
|
|
2858
|
+
ref: r,
|
|
2859
|
+
...i.getReferenceProps(s),
|
|
2860
|
+
className: s.className ?? "dial-tooltip-trigger text-left",
|
|
2861
|
+
children: e
|
|
2862
|
+
}
|
|
2863
|
+
);
|
|
2864
|
+
}, Es = ({
|
|
2865
|
+
hideTooltip: e,
|
|
2866
|
+
tooltip: t,
|
|
2867
|
+
children: s,
|
|
2868
|
+
triggerClassName: i,
|
|
2869
|
+
contentClassName: o,
|
|
2870
|
+
...n
|
|
2871
|
+
}) => /* @__PURE__ */ z(pp, { ...n, children: [
|
|
2872
|
+
/* @__PURE__ */ m(mp, { className: ee(i, "truncate"), children: s }),
|
|
2873
|
+
/* @__PURE__ */ m(
|
|
2874
|
+
fp,
|
|
2875
|
+
{
|
|
2876
|
+
className: ee(
|
|
2877
|
+
"text-primary",
|
|
2878
|
+
o,
|
|
2879
|
+
"max-w-[300px]",
|
|
2880
|
+
(e || !t) && "hidden"
|
|
2881
|
+
),
|
|
2882
|
+
children: t
|
|
2883
|
+
}
|
|
2884
|
+
)
|
|
2885
|
+
] }), mo = ({
|
|
2875
2886
|
fieldTitle: e,
|
|
2876
2887
|
optional: t,
|
|
2877
2888
|
optionalText: s,
|
|
@@ -2882,7 +2893,7 @@ const mo = ({
|
|
|
2882
2893
|
"label",
|
|
2883
2894
|
{
|
|
2884
2895
|
...n,
|
|
2885
|
-
className:
|
|
2896
|
+
className: ge(
|
|
2886
2897
|
"dial-tiny text-secondary flex gap-1",
|
|
2887
2898
|
i,
|
|
2888
2899
|
!i?.includes("mb") && "mb-2"
|
|
@@ -2890,7 +2901,7 @@ const mo = ({
|
|
|
2890
2901
|
children: [
|
|
2891
2902
|
typeof e == "string" ? /* @__PURE__ */ m("span", { className: "min-h-4", children: e }) : e,
|
|
2892
2903
|
t && /* @__PURE__ */ m("span", { children: s ?? "(Optional)" }),
|
|
2893
|
-
o && /* @__PURE__ */ m(
|
|
2904
|
+
o && /* @__PURE__ */ m(Es, { tooltip: o, children: /* @__PURE__ */ m(
|
|
2894
2905
|
Ve,
|
|
2895
2906
|
{
|
|
2896
2907
|
icon: /* @__PURE__ */ m(md, { size: 14, className: "text-secondary" })
|
|
@@ -2899,13 +2910,13 @@ const mo = ({
|
|
|
2899
2910
|
]
|
|
2900
2911
|
}
|
|
2901
2912
|
) : null;
|
|
2902
|
-
var
|
|
2913
|
+
var Ne = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Tertiary = "tertiary", e.Danger = "danger", e))(Ne || {});
|
|
2903
2914
|
const o1 = {
|
|
2904
|
-
[
|
|
2905
|
-
[
|
|
2906
|
-
[
|
|
2907
|
-
[
|
|
2908
|
-
},
|
|
2915
|
+
[Ne.Primary]: "dial-primary-button",
|
|
2916
|
+
[Ne.Secondary]: "dial-secondary-button",
|
|
2917
|
+
[Ne.Tertiary]: "dial-tertiary-button",
|
|
2918
|
+
[Ne.Danger]: "dial-danger-button"
|
|
2919
|
+
}, Ie = ({
|
|
2909
2920
|
label: e,
|
|
2910
2921
|
variant: t,
|
|
2911
2922
|
className: s,
|
|
@@ -2969,7 +2980,7 @@ const n1 = (e) => ({
|
|
|
2969
2980
|
{
|
|
2970
2981
|
...a,
|
|
2971
2982
|
role: "alert",
|
|
2972
|
-
className:
|
|
2983
|
+
className: ge(
|
|
2973
2984
|
a1,
|
|
2974
2985
|
r1[e],
|
|
2975
2986
|
s
|
|
@@ -2980,7 +2991,7 @@ const n1 = (e) => ({
|
|
|
2980
2991
|
/* @__PURE__ */ m("div", { className: "text-primary", children: t })
|
|
2981
2992
|
] }),
|
|
2982
2993
|
n && /* @__PURE__ */ m(
|
|
2983
|
-
|
|
2994
|
+
Ie,
|
|
2984
2995
|
{
|
|
2985
2996
|
className: "ml-2 text-secondary hover:text-primary",
|
|
2986
2997
|
"aria-label": "Close alert",
|
|
@@ -3055,9 +3066,9 @@ const n1 = (e) => ({
|
|
|
3055
3066
|
() => typeof e == "string" ? e : c,
|
|
3056
3067
|
[c, e]
|
|
3057
3068
|
), f = B(() => i ? "" : a ? p : "", [p, i, a]);
|
|
3058
|
-
return /* @__PURE__ */ z(
|
|
3069
|
+
return /* @__PURE__ */ z(pp, { ...n, children: [
|
|
3059
3070
|
/* @__PURE__ */ m(
|
|
3060
|
-
|
|
3071
|
+
mp,
|
|
3061
3072
|
{
|
|
3062
3073
|
asChild: !0,
|
|
3063
3074
|
onMouseEnter: g,
|
|
@@ -3066,7 +3077,7 @@ const n1 = (e) => ({
|
|
|
3066
3077
|
"span",
|
|
3067
3078
|
{
|
|
3068
3079
|
id: o,
|
|
3069
|
-
className:
|
|
3080
|
+
className: ge(
|
|
3070
3081
|
"block truncate flex-1 min-w-0 max-w-full text-left",
|
|
3071
3082
|
t
|
|
3072
3083
|
),
|
|
@@ -3080,9 +3091,9 @@ const n1 = (e) => ({
|
|
|
3080
3091
|
}
|
|
3081
3092
|
),
|
|
3082
3093
|
/* @__PURE__ */ m(
|
|
3083
|
-
|
|
3094
|
+
fp,
|
|
3084
3095
|
{
|
|
3085
|
-
className:
|
|
3096
|
+
className: ge(
|
|
3086
3097
|
u1,
|
|
3087
3098
|
s,
|
|
3088
3099
|
!f && "hidden"
|
|
@@ -3228,7 +3239,7 @@ const h1 = (e, t) => {
|
|
|
3228
3239
|
}, f1 = ({
|
|
3229
3240
|
name: e,
|
|
3230
3241
|
value: t,
|
|
3231
|
-
|
|
3242
|
+
label: s,
|
|
3232
3243
|
description: i,
|
|
3233
3244
|
checked: o = !1,
|
|
3234
3245
|
inputId: n,
|
|
@@ -3324,7 +3335,7 @@ const m1 = "w-full flex", C1 = {
|
|
|
3324
3335
|
role: "group",
|
|
3325
3336
|
"aria-labelledby": t ? v : void 0,
|
|
3326
3337
|
"aria-describedby": y,
|
|
3327
|
-
className:
|
|
3338
|
+
className: ge(
|
|
3328
3339
|
m1,
|
|
3329
3340
|
C1[r],
|
|
3330
3341
|
l
|
|
@@ -3334,7 +3345,7 @@ const m1 = "w-full flex", C1 = {
|
|
|
3334
3345
|
"div",
|
|
3335
3346
|
{
|
|
3336
3347
|
id: v,
|
|
3337
|
-
className:
|
|
3348
|
+
className: ge(r === "horizontal" && "shrink-0"),
|
|
3338
3349
|
children: /* @__PURE__ */ m(
|
|
3339
3350
|
mo,
|
|
3340
3351
|
{
|
|
@@ -3342,7 +3353,7 @@ const m1 = "w-full flex", C1 = {
|
|
|
3342
3353
|
fieldTitle: t,
|
|
3343
3354
|
optional: s,
|
|
3344
3355
|
optionalText: i,
|
|
3345
|
-
className:
|
|
3356
|
+
className: ge(
|
|
3346
3357
|
a && "sr-only",
|
|
3347
3358
|
c
|
|
3348
3359
|
),
|
|
@@ -3351,13 +3362,13 @@ const m1 = "w-full flex", C1 = {
|
|
|
3351
3362
|
)
|
|
3352
3363
|
}
|
|
3353
3364
|
),
|
|
3354
|
-
/* @__PURE__ */ z("div", { className:
|
|
3365
|
+
/* @__PURE__ */ z("div", { className: ge("min-w-0 w-full", u), children: [
|
|
3355
3366
|
g ? /* @__PURE__ */ m("div", { className: "dial-input px-3 py-2", children: x() }) : C,
|
|
3356
3367
|
h && /* @__PURE__ */ m(
|
|
3357
3368
|
"div",
|
|
3358
3369
|
{
|
|
3359
3370
|
id: S,
|
|
3360
|
-
className:
|
|
3371
|
+
className: ge({
|
|
3361
3372
|
"dial-tiny text-secondary mt-1": !0,
|
|
3362
3373
|
"text-error": !!n
|
|
3363
3374
|
}),
|
|
@@ -3406,7 +3417,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3406
3417
|
role: "radiogroup",
|
|
3407
3418
|
"aria-label": e,
|
|
3408
3419
|
"aria-disabled": u || void 0,
|
|
3409
|
-
className:
|
|
3420
|
+
className: ge(
|
|
3410
3421
|
v1,
|
|
3411
3422
|
b1[f],
|
|
3412
3423
|
n
|
|
@@ -3414,7 +3425,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3414
3425
|
children: g.map((v) => /* @__PURE__ */ z(
|
|
3415
3426
|
"div",
|
|
3416
3427
|
{
|
|
3417
|
-
className:
|
|
3428
|
+
className: ge(
|
|
3418
3429
|
"flex flex-col",
|
|
3419
3430
|
r,
|
|
3420
3431
|
v.id === p && a
|
|
@@ -3428,11 +3439,11 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3428
3439
|
inputId: v.id,
|
|
3429
3440
|
disabled: u,
|
|
3430
3441
|
className: t,
|
|
3431
|
-
labelClassName:
|
|
3442
|
+
labelClassName: ge(
|
|
3432
3443
|
d,
|
|
3433
3444
|
v.id === p && o
|
|
3434
3445
|
),
|
|
3435
|
-
|
|
3446
|
+
label: v.name,
|
|
3436
3447
|
checked: v.id === p,
|
|
3437
3448
|
onChange: () => C(v.id)
|
|
3438
3449
|
}
|
|
@@ -3440,7 +3451,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3440
3451
|
v.id === p && v.content ? /* @__PURE__ */ m(
|
|
3441
3452
|
"div",
|
|
3442
3453
|
{
|
|
3443
|
-
className:
|
|
3454
|
+
className: ge(
|
|
3444
3455
|
w1,
|
|
3445
3456
|
i
|
|
3446
3457
|
),
|
|
@@ -3464,7 +3475,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3464
3475
|
}) => /* @__PURE__ */ z(
|
|
3465
3476
|
"div",
|
|
3466
3477
|
{
|
|
3467
|
-
className:
|
|
3478
|
+
className: ge(
|
|
3468
3479
|
"h-full w-full flex flex-col items-center justify-center text-secondary",
|
|
3469
3480
|
i
|
|
3470
3481
|
),
|
|
@@ -3474,7 +3485,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3474
3485
|
/* @__PURE__ */ m(
|
|
3475
3486
|
"span",
|
|
3476
3487
|
{
|
|
3477
|
-
className:
|
|
3488
|
+
className: ge("dial-small mt-2 text-primary", o),
|
|
3478
3489
|
"aria-label": "no-results-title",
|
|
3479
3490
|
children: t
|
|
3480
3491
|
}
|
|
@@ -3482,7 +3493,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3482
3493
|
s && /* @__PURE__ */ m(
|
|
3483
3494
|
"span",
|
|
3484
3495
|
{
|
|
3485
|
-
className:
|
|
3496
|
+
className: ge("mt-1 text-primary", n),
|
|
3486
3497
|
"aria-label": "no-results-description",
|
|
3487
3498
|
children: s
|
|
3488
3499
|
}
|
|
@@ -3544,11 +3555,11 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3544
3555
|
/* @__PURE__ */ z(
|
|
3545
3556
|
"div",
|
|
3546
3557
|
{
|
|
3547
|
-
className:
|
|
3558
|
+
className: ge("border-t border-primary h-12", v),
|
|
3548
3559
|
children: [
|
|
3549
3560
|
f && a,
|
|
3550
3561
|
/* @__PURE__ */ m(
|
|
3551
|
-
|
|
3562
|
+
Ie,
|
|
3552
3563
|
{
|
|
3553
3564
|
className: "hover:text-accent-primary p-1",
|
|
3554
3565
|
onClick: w,
|
|
@@ -3576,7 +3587,7 @@ const v1 = "flex", w1 = "pb-1 mt-2", b1 = {
|
|
|
3576
3587
|
/* @__PURE__ */ m("label", { className: "dial-tiny mb-2 text-secondary", children: e }),
|
|
3577
3588
|
i || /* @__PURE__ */ z("div", { className: "flex flex-row items-center", children: [
|
|
3578
3589
|
/* @__PURE__ */ m(
|
|
3579
|
-
|
|
3590
|
+
Es,
|
|
3580
3591
|
{
|
|
3581
3592
|
triggerClassName: "text-primary",
|
|
3582
3593
|
tooltip: s || t,
|
|
@@ -3600,7 +3611,7 @@ const y1 = {
|
|
|
3600
3611
|
iconBefore: o,
|
|
3601
3612
|
bordered: n = !0
|
|
3602
3613
|
}) => {
|
|
3603
|
-
const r = y1[i], a =
|
|
3614
|
+
const r = y1[i], a = ge(
|
|
3604
3615
|
"flex items-center gap-1 dial-tiny rounded p-1 h-[22px] text-primary",
|
|
3605
3616
|
r,
|
|
3606
3617
|
n ? "border" : "border-transparent",
|
|
@@ -3610,7 +3621,7 @@ const y1 = {
|
|
|
3610
3621
|
/* @__PURE__ */ m(Ve, { icon: o }),
|
|
3611
3622
|
/* @__PURE__ */ m(wt, { text: e }),
|
|
3612
3623
|
s && /* @__PURE__ */ m(
|
|
3613
|
-
|
|
3624
|
+
Ie,
|
|
3614
3625
|
{
|
|
3615
3626
|
iconAfter: /* @__PURE__ */ m(go, { size: 16 }),
|
|
3616
3627
|
onClick: (l) => s(l)
|
|
@@ -5392,7 +5403,7 @@ const ju = "column", R0 = "flex items-center", x0 = "mr-3 cursor-move text-secon
|
|
|
5392
5403
|
"div",
|
|
5393
5404
|
{
|
|
5394
5405
|
ref: a,
|
|
5395
|
-
className:
|
|
5406
|
+
className: ge(R0, s),
|
|
5396
5407
|
style: { opacity: c ? 0 : 1 },
|
|
5397
5408
|
"aria-roledescription": "Draggable item",
|
|
5398
5409
|
children: [
|
|
@@ -5482,7 +5493,7 @@ const ju = "column", R0 = "flex items-center", x0 = "mr-3 cursor-move text-secon
|
|
|
5482
5493
|
}) => /* @__PURE__ */ m(
|
|
5483
5494
|
Ve,
|
|
5484
5495
|
{
|
|
5485
|
-
className:
|
|
5496
|
+
className: ge("text-accent-primary", s),
|
|
5486
5497
|
icon: /* @__PURE__ */ m(
|
|
5487
5498
|
rw,
|
|
5488
5499
|
{
|
|
@@ -5502,7 +5513,7 @@ const ju = "column", R0 = "flex items-center", x0 = "mr-3 cursor-move text-secon
|
|
|
5502
5513
|
details: o
|
|
5503
5514
|
}) => {
|
|
5504
5515
|
const n = e.includes(".") ? e.split(".").pop() : null;
|
|
5505
|
-
return /* @__PURE__ */ z("div", { className:
|
|
5516
|
+
return /* @__PURE__ */ z("div", { className: ge("flex items-center gap-2 w-full", t), children: [
|
|
5506
5517
|
n && /* @__PURE__ */ m(
|
|
5507
5518
|
Tp,
|
|
5508
5519
|
{
|
|
@@ -5548,7 +5559,7 @@ const ju = "column", R0 = "flex items-center", x0 = "mr-3 cursor-move text-secon
|
|
|
5548
5559
|
className: "inline-block align-middle"
|
|
5549
5560
|
}
|
|
5550
5561
|
);
|
|
5551
|
-
return /* @__PURE__ */ z("div", { className:
|
|
5562
|
+
return /* @__PURE__ */ z("div", { className: ge("flex items-center gap-2 w-full", t), children: [
|
|
5552
5563
|
/* @__PURE__ */ z("span", { className: "inline-flex relative text-secondary", role: "img", children: [
|
|
5553
5564
|
n(),
|
|
5554
5565
|
s && /* @__PURE__ */ m("span", { className: "absolute -bottom-0.5 -left-0.5", children: /* @__PURE__ */ m(Vr, {}) })
|
|
@@ -6032,7 +6043,7 @@ const z0 = ({ side: e, className: t }) => {
|
|
|
6032
6043
|
customHandler: s,
|
|
6033
6044
|
handlerClassName: i
|
|
6034
6045
|
}) => {
|
|
6035
|
-
const o =
|
|
6046
|
+
const o = ge(
|
|
6036
6047
|
"invisible h-full w-0.5 group-hover:visible bg-accent-primary text-accent-primary cursor-col-resize transition-opacity",
|
|
6037
6048
|
t && "visible",
|
|
6038
6049
|
i
|
|
@@ -6136,13 +6147,13 @@ const $0 = (e) => {
|
|
|
6136
6147
|
}) => {
|
|
6137
6148
|
if (!o && n)
|
|
6138
6149
|
return /* @__PURE__ */ m(Be, { children: n });
|
|
6139
|
-
const u =
|
|
6150
|
+
const u = ge(
|
|
6140
6151
|
"bg-layer-3",
|
|
6141
6152
|
e && "animate-pulse",
|
|
6142
6153
|
c
|
|
6143
6154
|
);
|
|
6144
6155
|
if (r !== Kt.Default) {
|
|
6145
|
-
const E =
|
|
6156
|
+
const E = ge(
|
|
6146
6157
|
u,
|
|
6147
6158
|
r === Kt.Circular && "rounded-full",
|
|
6148
6159
|
r === Kt.Rectangular && "rounded",
|
|
@@ -6151,11 +6162,11 @@ const $0 = (e) => {
|
|
|
6151
6162
|
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
6163
|
}
|
|
6153
6164
|
const h = !!s, g = !!i, p = !!t, f = typeof s == "object" ? s : {}, C = typeof i == "object" ? i : {}, v = typeof t == "object" ? t : {}, w = $0(f.size), b = f.shape ?? vc.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
|
-
return /* @__PURE__ */ z("div", { ...d, className:
|
|
6165
|
+
return /* @__PURE__ */ z("div", { ...d, className: ge("flex gap-4", c), children: [
|
|
6155
6166
|
h && /* @__PURE__ */ m(
|
|
6156
6167
|
"div",
|
|
6157
6168
|
{
|
|
6158
|
-
className:
|
|
6169
|
+
className: ge(
|
|
6159
6170
|
u,
|
|
6160
6171
|
b === vc.Circle ? "rounded-full" : "rounded",
|
|
6161
6172
|
"flex-shrink-0"
|
|
@@ -6167,14 +6178,14 @@ const $0 = (e) => {
|
|
|
6167
6178
|
g && /* @__PURE__ */ m(
|
|
6168
6179
|
"div",
|
|
6169
6180
|
{
|
|
6170
|
-
className:
|
|
6181
|
+
className: ge(u, "h-4 rounded"),
|
|
6171
6182
|
style: { width: S }
|
|
6172
6183
|
}
|
|
6173
6184
|
),
|
|
6174
6185
|
p && /* @__PURE__ */ m("div", { className: "flex flex-col gap-3", children: Array.from({ length: y }).map((E, T) => /* @__PURE__ */ m(
|
|
6175
6186
|
"div",
|
|
6176
6187
|
{
|
|
6177
|
-
className:
|
|
6188
|
+
className: ge(u, "h-4 rounded"),
|
|
6178
6189
|
style: { width: x(T) }
|
|
6179
6190
|
},
|
|
6180
6191
|
T
|
|
@@ -6443,7 +6454,7 @@ function Ra(e, t) {
|
|
|
6443
6454
|
}
|
|
6444
6455
|
var gS = "[tabindex], input, select, button, textarea, [href]", Bp = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
|
|
6445
6456
|
function en(e) {
|
|
6446
|
-
return !e || !e.matches("input, select, button, textarea") || !e.matches(Bp) ? !1 :
|
|
6457
|
+
return !e || !e.matches("input, select, button, textarea") || !e.matches(Bp) ? !1 : Ds(e);
|
|
6447
6458
|
}
|
|
6448
6459
|
function $e(e, t, s = {}) {
|
|
6449
6460
|
const { skipAriaHidden: i } = s;
|
|
@@ -6545,13 +6556,13 @@ function Ft(e) {
|
|
|
6545
6556
|
for (; e?.firstChild; )
|
|
6546
6557
|
e.firstChild.remove();
|
|
6547
6558
|
}
|
|
6548
|
-
function
|
|
6559
|
+
function Ws(e) {
|
|
6549
6560
|
e?.parentNode && e.remove();
|
|
6550
6561
|
}
|
|
6551
6562
|
function Wp(e) {
|
|
6552
6563
|
return !!e.offsetParent;
|
|
6553
6564
|
}
|
|
6554
|
-
function
|
|
6565
|
+
function Ds(e) {
|
|
6555
6566
|
return e.checkVisibility ? e.checkVisibility({ checkVisibilityCSS: !0 }) : !(!Wp(e) || window.getComputedStyle(e).visibility !== "visible");
|
|
6556
6567
|
}
|
|
6557
6568
|
function Hd(e) {
|
|
@@ -6588,11 +6599,11 @@ function Vd(e) {
|
|
|
6588
6599
|
function Tt(e, t, s) {
|
|
6589
6600
|
s == null || s === "" ? e.removeAttribute(t) : e.setAttribute(t, s.toString());
|
|
6590
6601
|
}
|
|
6591
|
-
function
|
|
6602
|
+
function Ps(e, t, s) {
|
|
6592
6603
|
const o = Ip(e).ResizeObserver, n = o ? new o(s) : null;
|
|
6593
6604
|
return n?.observe(t), () => n?.disconnect();
|
|
6594
6605
|
}
|
|
6595
|
-
function
|
|
6606
|
+
function Ts(e, t) {
|
|
6596
6607
|
const s = Ip(e);
|
|
6597
6608
|
s.requestAnimationFrame ? s.requestAnimationFrame(t) : s.webkitRequestAnimationFrame ? s.webkitRequestAnimationFrame(t) : s.setTimeout(t, 0);
|
|
6598
6609
|
}
|
|
@@ -6696,7 +6707,7 @@ var Rr = (e, ...t) => {
|
|
|
6696
6707
|
t.removeEventListener(s, i, o);
|
|
6697
6708
|
e.length = 0;
|
|
6698
6709
|
}
|
|
6699
|
-
},
|
|
6710
|
+
}, Gs = (e) => {
|
|
6700
6711
|
e.cancelable && e.preventDefault();
|
|
6701
6712
|
};
|
|
6702
6713
|
function RS(e, t) {
|
|
@@ -6906,7 +6917,7 @@ function Sc(e, t = "setTimeout", s) {
|
|
|
6906
6917
|
for (const r of n)
|
|
6907
6918
|
r();
|
|
6908
6919
|
};
|
|
6909
|
-
t === "raf" ?
|
|
6920
|
+
t === "raf" ? Ts(s, o) : window.setTimeout(o, 0);
|
|
6910
6921
|
}
|
|
6911
6922
|
function lt(e, t, s) {
|
|
6912
6923
|
let i;
|
|
@@ -7346,7 +7357,7 @@ function af(e) {
|
|
|
7346
7357
|
function ZS(e, t) {
|
|
7347
7358
|
return t ? !e.get("enableStrictPivotColumnOrder") : e.get("maintainColumnOrder");
|
|
7348
7359
|
}
|
|
7349
|
-
function
|
|
7360
|
+
function _s(e, t, s = !1, i) {
|
|
7350
7361
|
const { gos: o, environment: n } = e;
|
|
7351
7362
|
if (i == null && (i = n.getDefaultRowHeight()), af(o)) {
|
|
7352
7363
|
if (s)
|
|
@@ -7444,7 +7455,7 @@ function Rl(e) {
|
|
|
7444
7455
|
function ey(e) {
|
|
7445
7456
|
return typeof e.get("rowSelection") != "string";
|
|
7446
7457
|
}
|
|
7447
|
-
function
|
|
7458
|
+
function Us(e) {
|
|
7448
7459
|
const t = e.get("cellSelection");
|
|
7449
7460
|
return t !== void 0 ? !!t : e.get("enableRangeSelection");
|
|
7450
7461
|
}
|
|
@@ -7575,7 +7586,7 @@ var dy = {
|
|
|
7575
7586
|
function ff() {
|
|
7576
7587
|
return uy++;
|
|
7577
7588
|
}
|
|
7578
|
-
function
|
|
7589
|
+
function $s(e) {
|
|
7579
7590
|
return e instanceof xi;
|
|
7580
7591
|
}
|
|
7581
7592
|
var xi = class extends O {
|
|
@@ -8029,12 +8040,12 @@ var Dr = class extends O {
|
|
|
8029
8040
|
forEachLeafColumn(e) {
|
|
8030
8041
|
if (this.children)
|
|
8031
8042
|
for (const t of this.children)
|
|
8032
|
-
|
|
8043
|
+
$s(t) ? e(t) : pt(t) && t.forEachLeafColumn(e);
|
|
8033
8044
|
}
|
|
8034
8045
|
addLeafColumns(e) {
|
|
8035
8046
|
if (this.children)
|
|
8036
8047
|
for (const t of this.children)
|
|
8037
|
-
|
|
8048
|
+
$s(t) ? e.push(t) : pt(t) && t.addLeafColumns(e);
|
|
8038
8049
|
}
|
|
8039
8050
|
getColumnGroupShow() {
|
|
8040
8051
|
const e = this.colGroupDef;
|
|
@@ -8151,7 +8162,7 @@ function vf(e) {
|
|
|
8151
8162
|
const t = [], s = (i) => {
|
|
8152
8163
|
for (let o = 0; o < i.length; o++) {
|
|
8153
8164
|
const n = i[o];
|
|
8154
|
-
|
|
8165
|
+
$s(n) ? t.push(n) : pt(n) && s(n.getChildren());
|
|
8155
8166
|
}
|
|
8156
8167
|
};
|
|
8157
8168
|
return s(e), t;
|
|
@@ -8174,14 +8185,14 @@ function Xr(e, t, s) {
|
|
|
8174
8185
|
function Kd(e) {
|
|
8175
8186
|
return e.getId().startsWith(xa);
|
|
8176
8187
|
}
|
|
8177
|
-
function
|
|
8188
|
+
function Ms(e) {
|
|
8178
8189
|
return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(mf) ?? !1;
|
|
8179
8190
|
}
|
|
8180
8191
|
function ys(e) {
|
|
8181
8192
|
return (typeof e == "string" ? e : "getColId" in e ? e.getColId() : e.colId)?.startsWith(Cf) ?? !1;
|
|
8182
8193
|
}
|
|
8183
8194
|
function py(e) {
|
|
8184
|
-
return
|
|
8195
|
+
return Ms(e) || ys(e);
|
|
8185
8196
|
}
|
|
8186
8197
|
function Jr(e) {
|
|
8187
8198
|
let t = [];
|
|
@@ -8485,7 +8496,7 @@ function Yt(e, t, s) {
|
|
|
8485
8496
|
P.push(U), _.push(U);
|
|
8486
8497
|
continue;
|
|
8487
8498
|
}
|
|
8488
|
-
if (
|
|
8499
|
+
if (Ms(se)) {
|
|
8489
8500
|
G.push(U), _.push(U);
|
|
8490
8501
|
continue;
|
|
8491
8502
|
}
|
|
@@ -8818,7 +8829,7 @@ var dh = (e, t, s, i) => {
|
|
|
8818
8829
|
const c = Kd(l);
|
|
8819
8830
|
if (i) {
|
|
8820
8831
|
const d = r?.includes(l);
|
|
8821
|
-
return c || d || o &&
|
|
8832
|
+
return c || d || o && Ms(l) || n && ys(l);
|
|
8822
8833
|
} else
|
|
8823
8834
|
return c || l.isVisible();
|
|
8824
8835
|
});
|
|
@@ -9734,7 +9745,7 @@ function Zi(e, t, s = !1) {
|
|
|
9734
9745
|
const i = gS;
|
|
9735
9746
|
let o = Bp;
|
|
9736
9747
|
t && (o += ", " + t), s && (o += ', [tabindex="-1"]');
|
|
9737
|
-
const n = Array.prototype.slice.apply(e.querySelectorAll(i)).filter((l) =>
|
|
9748
|
+
const n = Array.prototype.slice.apply(e.querySelectorAll(i)).filter((l) => Ds(l)), r = Array.prototype.slice.apply(e.querySelectorAll(o));
|
|
9738
9749
|
return r.length ? ((l, c) => l.filter((d) => c.indexOf(d) === -1))(n, r) : n;
|
|
9739
9750
|
}
|
|
9740
9751
|
function vi(e, t = !1, s = !1, i = !1) {
|
|
@@ -10329,7 +10340,7 @@ var si = class extends Gf {
|
|
|
10329
10340
|
}
|
|
10330
10341
|
highlightItem(e) {
|
|
10331
10342
|
const t = e.getGui();
|
|
10332
|
-
if (!
|
|
10343
|
+
if (!Ds(t))
|
|
10333
10344
|
return;
|
|
10334
10345
|
this.clearHighlighted(), e.setHighlighted(!0), this.highlightedItem = e;
|
|
10335
10346
|
const s = this.getGui(), { scrollTop: i, clientHeight: o } = s, { offsetTop: n, offsetHeight: r } = t;
|
|
@@ -10715,7 +10726,7 @@ var si = class extends Gf {
|
|
|
10715
10726
|
}, fh, Qi = (fh = typeof window == "object" ? window : {}).agStyleInjectionState ?? (fh.agStyleInjectionState = {
|
|
10716
10727
|
map: /* @__PURE__ */ new WeakMap(),
|
|
10717
10728
|
grids: /* @__PURE__ */ new Set()
|
|
10718
|
-
}), St = (e) => new zf(e),
|
|
10729
|
+
}), St = (e) => new zf(e), Bs = "$default", qR = 0, zf = class {
|
|
10719
10730
|
constructor({ feature: e, params: t, modeParams: s = {}, css: i, cssImports: o }) {
|
|
10720
10731
|
this.feature = e, this.css = i, this.cssImports = o, this.modeParams = {
|
|
10721
10732
|
// NOTE: it's important that default is defined first, putting it
|
|
@@ -10723,8 +10734,8 @@ var si = class extends Gf {
|
|
|
10723
10734
|
// params override any prior modal params, so modal params in this
|
|
10724
10735
|
// part need to come after default params to prevent them from being
|
|
10725
10736
|
// immediately overridden.
|
|
10726
|
-
[
|
|
10727
|
-
...s[
|
|
10737
|
+
[Bs]: {
|
|
10738
|
+
...s[Bs] ?? {},
|
|
10728
10739
|
...t ?? {}
|
|
10729
10740
|
},
|
|
10730
10741
|
...s
|
|
@@ -10910,7 +10921,7 @@ ${o}`;
|
|
|
10910
10921
|
withoutPart(t) {
|
|
10911
10922
|
return this.withPart(St({ feature: t }));
|
|
10912
10923
|
}
|
|
10913
|
-
withParams(t, s =
|
|
10924
|
+
withParams(t, s = Bs) {
|
|
10914
10925
|
return this.withPart(
|
|
10915
10926
|
St({
|
|
10916
10927
|
modeParams: { [s]: t }
|
|
@@ -10947,7 +10958,7 @@ ${o}`;
|
|
|
10947
10958
|
// NOTE: defining the default mode here is important, it ensures
|
|
10948
10959
|
// that the default mode is first in iteration order, which puts
|
|
10949
10960
|
// it first in outputted CSS, allowing other modes to override it
|
|
10950
|
-
[
|
|
10961
|
+
[Bs]: { ...JR }
|
|
10951
10962
|
};
|
|
10952
10963
|
for (const i of Ch(this.parts))
|
|
10953
10964
|
for (const o of Object.keys(i.modeParams)) {
|
|
@@ -10958,10 +10969,10 @@ ${o}`;
|
|
|
10958
10969
|
const c = n[l];
|
|
10959
10970
|
c !== void 0 && (r[l] = c, a.add(l));
|
|
10960
10971
|
}
|
|
10961
|
-
if (o ===
|
|
10972
|
+
if (o === Bs)
|
|
10962
10973
|
for (const l of Object.keys(s)) {
|
|
10963
10974
|
const c = s[l];
|
|
10964
|
-
if (l !==
|
|
10975
|
+
if (l !== Bs)
|
|
10965
10976
|
for (const d of a)
|
|
10966
10977
|
delete c[d];
|
|
10967
10978
|
}
|
|
@@ -10986,7 +10997,7 @@ ${o}`;
|
|
|
10986
10997
|
const r = this._getModeParams();
|
|
10987
10998
|
for (const l of Object.keys(r)) {
|
|
10988
10999
|
const c = r[l];
|
|
10989
|
-
if (l !==
|
|
11000
|
+
if (l !== Bs) {
|
|
10990
11001
|
const u = `:where([data-ag-theme-mode="${typeof CSS == "object" ? CSS.escape(l) : l}"]) & {
|
|
10991
11002
|
`;
|
|
10992
11003
|
o += u, n += u;
|
|
@@ -11002,7 +11013,7 @@ ${o}`;
|
|
|
11002
11013
|
`;
|
|
11003
11014
|
}
|
|
11004
11015
|
}
|
|
11005
|
-
l !==
|
|
11016
|
+
l !== Bs && (o += `}
|
|
11006
11017
|
`, n += `}
|
|
11007
11018
|
`);
|
|
11008
11019
|
}
|
|
@@ -11591,7 +11602,7 @@ ${n}}
|
|
|
11591
11602
|
)), t.style.left = `${d}px`, t.style.top = `${u}px`, e.postProcessCallback && e.postProcessCallback());
|
|
11592
11603
|
};
|
|
11593
11604
|
if (l(), !n) {
|
|
11594
|
-
const c =
|
|
11605
|
+
const c = Ps(this.beans, t, () => l(!0));
|
|
11595
11606
|
setTimeout(() => c(), x2);
|
|
11596
11607
|
}
|
|
11597
11608
|
}
|
|
@@ -11898,7 +11909,7 @@ ${n}}
|
|
|
11898
11909
|
const s = this.beans, i = (a) => this.onScroll(a), o = (a) => this.onKeyDown(a), n = ns(s), r = nt(s);
|
|
11899
11910
|
Rr(
|
|
11900
11911
|
e.handlers,
|
|
11901
|
-
[n, "contextmenu",
|
|
11912
|
+
[n, "contextmenu", Gs],
|
|
11902
11913
|
[n, "keydown", o],
|
|
11903
11914
|
[r, "scroll", i, { capture: !0 }],
|
|
11904
11915
|
[r.defaultView || window, "scroll", i],
|
|
@@ -11938,8 +11949,8 @@ ${n}}
|
|
|
11938
11949
|
[o, "pointerup", c],
|
|
11939
11950
|
[o, "pointercancel", d],
|
|
11940
11951
|
[o, "pointermove", l, { passive: !1 }],
|
|
11941
|
-
[o, "touchmove",
|
|
11942
|
-
[n, "mousemove",
|
|
11952
|
+
[o, "touchmove", Gs, { passive: !1 }],
|
|
11953
|
+
[n, "mousemove", Gs, { passive: !1 }]
|
|
11943
11954
|
), e.dragStartPixels === 0 ? this.onMouseOrPointerMove(t) : fs(t);
|
|
11944
11955
|
}
|
|
11945
11956
|
// gets called whenever mouse down on any drag source
|
|
@@ -11947,14 +11958,14 @@ ${n}}
|
|
|
11947
11958
|
if (this.gos.get("suppressTouch") || !e.includeTouch || !fs(t) || en(kl(t)))
|
|
11948
11959
|
return;
|
|
11949
11960
|
if (e.stopPropagationForTouch && t.stopPropagation(), this.isPointer()) {
|
|
11950
|
-
|
|
11961
|
+
Gs(t);
|
|
11951
11962
|
return;
|
|
11952
11963
|
}
|
|
11953
11964
|
this.destroyDrag();
|
|
11954
11965
|
const i = this.beans, o = ns(i), n = new Al(o, e, t.touches[0]), r = (c) => this.onTouchMove(c), a = (c) => this.onTouchUp(c), l = t.target ?? e.eElement;
|
|
11955
11966
|
this.initDrag(
|
|
11956
11967
|
n,
|
|
11957
|
-
[ns(i), "touchmove",
|
|
11968
|
+
[ns(i), "touchmove", Gs, { passive: !1 }],
|
|
11958
11969
|
[l, "touchmove", r, { passive: !0 }],
|
|
11959
11970
|
[l, "touchend", a, { passive: !0 }],
|
|
11960
11971
|
[l, "touchcancel", a, { passive: !0 }]
|
|
@@ -11977,7 +11988,7 @@ ${n}}
|
|
|
11977
11988
|
}
|
|
11978
11989
|
/** only gets called after a mouse down - as this is only added after mouseDown and is removed when mouseUp happens */
|
|
11979
11990
|
onMouseOrPointerMove(e) {
|
|
11980
|
-
fs(e) && (qs() && nt(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) &&
|
|
11991
|
+
fs(e) && (qs() && nt(this.beans).getSelection()?.removeAllRanges(), this.shouldPreventMouseEvent(e) && Gs(e), this.onMove(e));
|
|
11981
11992
|
}
|
|
11982
11993
|
onTouchMove(e) {
|
|
11983
11994
|
const t = this.drag;
|
|
@@ -12386,11 +12397,11 @@ var vn = class extends O {
|
|
|
12386
12397
|
}
|
|
12387
12398
|
addDisplayedLeafColumns(e) {
|
|
12388
12399
|
for (const t of this.displayedChildren ?? [])
|
|
12389
|
-
|
|
12400
|
+
$s(t) ? e.push(t) : Ze(t) && t.addDisplayedLeafColumns(e);
|
|
12390
12401
|
}
|
|
12391
12402
|
addLeafColumns(e) {
|
|
12392
12403
|
for (const t of this.children ?? [])
|
|
12393
|
-
|
|
12404
|
+
$s(t) ? e.push(t) : Ze(t) && t.addLeafColumns(e);
|
|
12394
12405
|
}
|
|
12395
12406
|
getChildren() {
|
|
12396
12407
|
return this.children;
|
|
@@ -12431,7 +12442,7 @@ var vn = class extends O {
|
|
|
12431
12442
|
}
|
|
12432
12443
|
this.dispatchLocalEvent({ type: "displayedChildrenChanged" });
|
|
12433
12444
|
}
|
|
12434
|
-
}, Oc = "row-group-", iu = "t-", ou = "b-", k2 = 0,
|
|
12445
|
+
}, Oc = "row-group-", iu = "t-", ou = "b-", k2 = 0, js = class {
|
|
12435
12446
|
constructor(e) {
|
|
12436
12447
|
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 = k2++, this.alreadyRendered = !1, this.hovered = !1, this.__selected = !1, this.beans = e;
|
|
12437
12448
|
}
|
|
@@ -12762,7 +12773,7 @@ var O2 = /* @__PURE__ */ new Set([
|
|
|
12762
12773
|
"treeNodeFlags",
|
|
12763
12774
|
"treeParent"
|
|
12764
12775
|
]), N2 = (e, t) => {
|
|
12765
|
-
const s = new
|
|
12776
|
+
const s = new js(t);
|
|
12766
12777
|
for (const i of Object.keys(e))
|
|
12767
12778
|
O2.has(i) || (s[i] = e[i]);
|
|
12768
12779
|
return s.oldRowTop = null, s;
|
|
@@ -12781,7 +12792,7 @@ var O2 = /* @__PURE__ */ new Set([
|
|
|
12781
12792
|
agDateColumnFilter: "agDateColumnFilterHandler",
|
|
12782
12793
|
agTextColumnFilter: "agTextColumnFilterHandler"
|
|
12783
12794
|
}, H2 = new Set(Object.values(Jf));
|
|
12784
|
-
function
|
|
12795
|
+
function Os(e, t) {
|
|
12785
12796
|
const s = e.filterUi;
|
|
12786
12797
|
if (!s)
|
|
12787
12798
|
return null;
|
|
@@ -12975,7 +12986,7 @@ var V2 = class extends Ke {
|
|
|
12975
12986
|
filterSummaryInRangeValues: (e) => `(${e[0]}, ${e[1]})`,
|
|
12976
12987
|
filterSummaryTextQuote: (e) => `"${e[0]}"`
|
|
12977
12988
|
};
|
|
12978
|
-
function
|
|
12989
|
+
function Vs(e, t, s) {
|
|
12979
12990
|
return xS(e, z2, t, s);
|
|
12980
12991
|
}
|
|
12981
12992
|
function nu(e, t) {
|
|
@@ -13032,7 +13043,7 @@ var W2 = class extends Ke {
|
|
|
13032
13043
|
if (l) {
|
|
13033
13044
|
const d = n.map((u) => {
|
|
13034
13045
|
const h = `${u}Filter`;
|
|
13035
|
-
return { type: u, label:
|
|
13046
|
+
return { type: u, label: Vs(this, h) };
|
|
13036
13047
|
});
|
|
13037
13048
|
if (this.applyActive = Da(this.params), !c) {
|
|
13038
13049
|
c = this.createBean(new V2()), this.appendChild(c.getGui());
|
|
@@ -13048,7 +13059,7 @@ var W2 = class extends Ke {
|
|
|
13048
13059
|
}
|
|
13049
13060
|
c.updateButtons(d, a);
|
|
13050
13061
|
} else
|
|
13051
|
-
this.applyActive = !1, c && (
|
|
13062
|
+
this.applyActive = !1, c && (Ws(c.getGui()), this.eButtons = this.destroyBean(c));
|
|
13052
13063
|
}
|
|
13053
13064
|
close(e) {
|
|
13054
13065
|
const t = this.hidePopup;
|
|
@@ -13306,7 +13317,7 @@ var K2 = {
|
|
|
13306
13317
|
function Y2(e, t = !1) {
|
|
13307
13318
|
return (t ? q2 : K2)[e ?? "text"];
|
|
13308
13319
|
}
|
|
13309
|
-
var sm = "ag-resizer-wrapper",
|
|
13320
|
+
var sm = "ag-resizer-wrapper", Ns = (e, t) => ({
|
|
13310
13321
|
tag: "div",
|
|
13311
13322
|
ref: `${e}Resizer`,
|
|
13312
13323
|
cls: `ag-resizer ag-resizer-${t}`
|
|
@@ -13314,14 +13325,14 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
|
|
|
13314
13325
|
tag: "div",
|
|
13315
13326
|
cls: sm,
|
|
13316
13327
|
children: [
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13328
|
+
Ns("eTopLeft", "topLeft"),
|
|
13329
|
+
Ns("eTop", "top"),
|
|
13330
|
+
Ns("eTopRight", "topRight"),
|
|
13331
|
+
Ns("eRight", "right"),
|
|
13332
|
+
Ns("eBottomRight", "bottomRight"),
|
|
13333
|
+
Ns("eBottom", "bottom"),
|
|
13334
|
+
Ns("eBottomLeft", "bottomLeft"),
|
|
13335
|
+
Ns("eLeft", "left")
|
|
13325
13336
|
]
|
|
13326
13337
|
}, Q2 = class extends O {
|
|
13327
13338
|
constructor(e, t) {
|
|
@@ -13349,7 +13360,7 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
|
|
|
13349
13360
|
const { centered: t, forcePopupParentAsOffsetParent: s, minWidth: i, width: o, minHeight: n, height: r, x: a, y: l } = this.config;
|
|
13350
13361
|
this.offsetParent || this.setOffsetParent();
|
|
13351
13362
|
let c = 0, d = 0;
|
|
13352
|
-
const u =
|
|
13363
|
+
const u = Ds(this.element);
|
|
13353
13364
|
if (u) {
|
|
13354
13365
|
const h = this.findBoundaryElement(), g = window.getComputedStyle(h);
|
|
13355
13366
|
if (g.minWidth != null) {
|
|
@@ -13489,7 +13500,7 @@ var sm = "ag-resizer-wrapper", Os = (e, t) => ({
|
|
|
13489
13500
|
const s = this.getAvailableHeight();
|
|
13490
13501
|
this.element.style.setProperty("max-height", `${s}px`);
|
|
13491
13502
|
};
|
|
13492
|
-
e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber =
|
|
13503
|
+
e && this.popupSvc ? (this.resizeObserverSubscriber?.(), this.resizeObserverSubscriber = Ps(
|
|
13493
13504
|
this.beans,
|
|
13494
13505
|
this.popupSvc?.getPopupParent(),
|
|
13495
13506
|
t
|
|
@@ -13862,7 +13873,7 @@ var X2 = "ag-focus-managed", bo = class extends O {
|
|
|
13862
13873
|
this.positionableFeature = this.destroyBean(this.positionableFeature), super.destroy();
|
|
13863
13874
|
}
|
|
13864
13875
|
translate(e) {
|
|
13865
|
-
return
|
|
13876
|
+
return Vs(this, e);
|
|
13866
13877
|
}
|
|
13867
13878
|
// override to control positionable feature
|
|
13868
13879
|
getPositionableElement() {
|
|
@@ -13908,7 +13919,7 @@ var Tr = {
|
|
|
13908
13919
|
}, s = t.autoHeight ? Tr.AUTO_HEIGHT : t.print ? Tr.PRINT : Tr.NORMAL;
|
|
13909
13920
|
this.view.updateLayoutClasses(s, t);
|
|
13910
13921
|
}
|
|
13911
|
-
},
|
|
13922
|
+
}, Hs = "Viewport", Eh = "fakeVScrollComp", Ll = [
|
|
13912
13923
|
"fakeHScrollComp",
|
|
13913
13924
|
"centerHeader",
|
|
13914
13925
|
"topCenter",
|
|
@@ -13967,7 +13978,7 @@ var Tr = {
|
|
|
13967
13978
|
}
|
|
13968
13979
|
addHorizontalScrollListeners() {
|
|
13969
13980
|
this.addManagedElementListeners(this.centerRowsCtrl.eViewport, {
|
|
13970
|
-
scroll: this.onHScroll.bind(this,
|
|
13981
|
+
scroll: this.onHScroll.bind(this, Hs)
|
|
13971
13982
|
});
|
|
13972
13983
|
for (const e of Ll) {
|
|
13973
13984
|
const t = this.ctrlsSvc.get(e);
|
|
@@ -13975,7 +13986,7 @@ var Tr = {
|
|
|
13975
13986
|
}
|
|
13976
13987
|
}
|
|
13977
13988
|
addVerticalScrollListeners() {
|
|
13978
|
-
const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), s = t ? lt(this, this.onVScroll.bind(this,
|
|
13989
|
+
const e = this.ctrlsSvc.get("fakeVScrollComp"), t = this.gos.get("debounceVerticalScrollbar"), s = t ? lt(this, this.onVScroll.bind(this, Hs), Dh) : this.onVScroll.bind(this, Hs), i = t ? lt(this, this.onVScroll.bind(this, Eh), Dh) : this.onVScroll.bind(this, Eh);
|
|
13979
13990
|
this.addManagedElementListeners(this.eBodyViewport, { scroll: s }), this.registerScrollPartner(e, i);
|
|
13980
13991
|
}
|
|
13981
13992
|
registerScrollPartner(e, t) {
|
|
@@ -13988,7 +13999,7 @@ var Tr = {
|
|
|
13988
13999
|
this.centerRowsCtrl != null && (e === void 0 && (e = this.centerRowsCtrl.getCenterViewportScrollLeft()), this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)));
|
|
13989
14000
|
}
|
|
13990
14001
|
setScrollLeftForAllContainersExceptCurrent(e) {
|
|
13991
|
-
for (const t of [...Ll,
|
|
14002
|
+
for (const t of [...Ll, Hs]) {
|
|
13992
14003
|
if (this.lastScrollSource[
|
|
13993
14004
|
1
|
|
13994
14005
|
/* Horizontal */
|
|
@@ -13999,7 +14010,7 @@ var Tr = {
|
|
|
13999
14010
|
}
|
|
14000
14011
|
}
|
|
14001
14012
|
getViewportForSource(e) {
|
|
14002
|
-
return e ===
|
|
14013
|
+
return e === Hs ? this.centerRowsCtrl.eViewport : this.ctrlsSvc.get(e).eViewport;
|
|
14003
14014
|
}
|
|
14004
14015
|
isControllingScroll(e, t) {
|
|
14005
14016
|
return this.lastScrollSource[t] == null ? (t === 0 ? this.lastScrollSource[0] = e : this.lastScrollSource[1] = e, !0) : this.lastScrollSource[t] === e;
|
|
@@ -14025,10 +14036,10 @@ var Tr = {
|
|
|
14025
14036
|
))
|
|
14026
14037
|
return;
|
|
14027
14038
|
let t;
|
|
14028
|
-
if (e ===
|
|
14039
|
+
if (e === Hs ? t = this.eBodyViewport.scrollTop : t = this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(), this.shouldBlockScrollUpdate(0, t, !0))
|
|
14029
14040
|
return;
|
|
14030
14041
|
const { animationFrameSvc: s } = this;
|
|
14031
|
-
s?.setScrollTop(t), this.nextScrollTop = t, e ===
|
|
14042
|
+
s?.setScrollTop(t), this.nextScrollTop = t, e === Hs ? this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t) : this.eBodyViewport.scrollTop = t, s?.active ? s.schedule() : this.scrollGridIfNeeded(!0), this.resetLastVScrollDebounced();
|
|
14032
14043
|
}
|
|
14033
14044
|
doHorizontalScroll(e) {
|
|
14034
14045
|
const t = this.ctrlsSvc.get("fakeHScrollComp").getScrollPosition();
|
|
@@ -14090,7 +14101,7 @@ var Tr = {
|
|
|
14090
14101
|
t = !0;
|
|
14091
14102
|
break;
|
|
14092
14103
|
}
|
|
14093
|
-
t && this.onHScroll(
|
|
14104
|
+
t && this.onHScroll(Hs);
|
|
14094
14105
|
}
|
|
14095
14106
|
scrollGridIfNeeded(e = !1) {
|
|
14096
14107
|
const t = this.scrollTop != this.nextScrollTop;
|
|
@@ -14275,7 +14286,7 @@ var Tr = {
|
|
|
14275
14286
|
}
|
|
14276
14287
|
listenForResize() {
|
|
14277
14288
|
const { beans: e, centerContainerCtrl: t, gridBodyCtrl: s } = this, i = () => {
|
|
14278
|
-
|
|
14289
|
+
Ts(e, () => {
|
|
14279
14290
|
this.onCenterViewportResized();
|
|
14280
14291
|
});
|
|
14281
14292
|
};
|
|
@@ -14519,7 +14530,7 @@ var gx = class extends O {
|
|
|
14519
14530
|
beans: { rowModel: t, rangeSvc: s, selectionSvc: i },
|
|
14520
14531
|
gos: o
|
|
14521
14532
|
} = this;
|
|
14522
|
-
s &&
|
|
14533
|
+
s && Us(o) && !oy(o) && t.isRowsToRender() ? nx(this.beans) : i && i.selectAllRowNodes({ source: "keyboardSelectAll", selectAll: pf(o) }), e.preventDefault();
|
|
14523
14534
|
}
|
|
14524
14535
|
onCtrlAndC(e, t) {
|
|
14525
14536
|
if (!e || this.gos.get("enableCellTextSelection"))
|
|
@@ -14822,7 +14833,7 @@ var mx = ["topCenter", "topLeft", "topRight"], Cx = ["bottomCenter", "bottomLeft
|
|
|
14822
14833
|
return _r(this.eViewport, this.enableRtl);
|
|
14823
14834
|
}
|
|
14824
14835
|
registerViewportResizeListener(e) {
|
|
14825
|
-
const t =
|
|
14836
|
+
const t = Ps(this.beans, this.eViewport, e);
|
|
14826
14837
|
this.addDestroyFunc(() => t());
|
|
14827
14838
|
}
|
|
14828
14839
|
isViewportInTheDOMTree() {
|
|
@@ -14910,7 +14921,7 @@ var mx = ["topCenter", "topLeft", "topRight"], Cx = ["bottomCenter", "bottomLeft
|
|
|
14910
14921
|
const { scrollVisibleSvc: e } = this, t = e.verticalScrollShowing;
|
|
14911
14922
|
this.setVerticalScrollPaddingVisible(t), this.setStickyWidth(t), this.setStickyBottomOffsetBottom();
|
|
14912
14923
|
const s = t && e.getScrollbarWidth() || 0, i = Of() ? 16 : 0, o = `calc(100% + ${s + i}px)`;
|
|
14913
|
-
|
|
14924
|
+
Ts(this.beans, () => this.comp.setBodyViewportWidth(o)), this.updateScrollingClasses();
|
|
14914
14925
|
}
|
|
14915
14926
|
setGridRootRole() {
|
|
14916
14927
|
const { rowGroupColsSvc: e, colModel: t } = this;
|
|
@@ -15134,7 +15145,7 @@ var um = class extends Ke {
|
|
|
15134
15145
|
});
|
|
15135
15146
|
}
|
|
15136
15147
|
onScrollVisibilityChanged() {
|
|
15137
|
-
this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(),
|
|
15148
|
+
this.invisibleScrollbar === void 0 && this.initialiseInvisibleScrollbar(), Ts(this.beans, () => this.setScrollVisible());
|
|
15138
15149
|
}
|
|
15139
15150
|
hideAndShowInvisibleScrollAsNeeded() {
|
|
15140
15151
|
this.addManagedEventListeners({
|
|
@@ -15152,7 +15163,7 @@ var um = class extends Ke {
|
|
|
15152
15163
|
const t = this.eViewport;
|
|
15153
15164
|
IS(
|
|
15154
15165
|
this,
|
|
15155
|
-
() =>
|
|
15166
|
+
() => Ds(t),
|
|
15156
15167
|
() => this.setScrollPosition(e),
|
|
15157
15168
|
100
|
|
15158
15169
|
);
|
|
@@ -15223,7 +15234,7 @@ var um = class extends Ke {
|
|
|
15223
15234
|
return _r(this.eViewport, this.enableRtl);
|
|
15224
15235
|
}
|
|
15225
15236
|
setScrollPosition(e) {
|
|
15226
|
-
|
|
15237
|
+
Ds(this.eViewport) || this.attemptSettingScrollPosition(e), Ur(this.eViewport, e, this.enableRtl);
|
|
15227
15238
|
}
|
|
15228
15239
|
}, kx = {
|
|
15229
15240
|
tag: "div",
|
|
@@ -15260,7 +15271,7 @@ var um = class extends Ke {
|
|
|
15260
15271
|
return this.eViewport.scrollTop;
|
|
15261
15272
|
}
|
|
15262
15273
|
setScrollPosition(e, t) {
|
|
15263
|
-
!t && !
|
|
15274
|
+
!t && !Ds(this.eViewport) && this.attemptSettingScrollPosition(e), this.eViewport.scrollTop = e;
|
|
15264
15275
|
}
|
|
15265
15276
|
}, Ox = "ag-column-first", Nx = "ag-column-last";
|
|
15266
15277
|
function hm(e, t, s, i) {
|
|
@@ -15398,7 +15409,7 @@ var $x = class extends O {
|
|
|
15398
15409
|
headerRowsChanged: e,
|
|
15399
15410
|
columnHeaderHeightChanged: e,
|
|
15400
15411
|
// add this to the animation frame to avoid a feedback loop
|
|
15401
|
-
columnGroupHeaderHeightChanged: () =>
|
|
15412
|
+
columnGroupHeaderHeightChanged: () => Ts(this.beans, () => e()),
|
|
15402
15413
|
gridStylesChanged: e,
|
|
15403
15414
|
advancedFilterEnabledChanged: e
|
|
15404
15415
|
});
|
|
@@ -15579,7 +15590,7 @@ var $x = class extends O {
|
|
|
15579
15590
|
const u = this.column.isAutoHeaderHeight();
|
|
15580
15591
|
u && !r && c(), !u && r && d();
|
|
15581
15592
|
}, c = () => {
|
|
15582
|
-
r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a =
|
|
15593
|
+
r = !0, this.comp.toggleCss("ag-header-cell-auto-height", !0), n(0), a = Ps(this.beans, t, () => n(0));
|
|
15583
15594
|
}, d = () => {
|
|
15584
15595
|
r = !1, a && a(), this.comp.toggleCss("ag-header-cell-auto-height", !1), a = void 0;
|
|
15585
15596
|
};
|
|
@@ -16254,7 +16265,7 @@ var qx = 0, Bl = class extends O {
|
|
|
16254
16265
|
}
|
|
16255
16266
|
getHeaderCtrlForColumn(e) {
|
|
16256
16267
|
const t = (s) => s?.getHeaderCellCtrls().find((i) => i.column === e);
|
|
16257
|
-
if (
|
|
16268
|
+
if ($s(e))
|
|
16258
16269
|
return t(this.columnsRowCtrl);
|
|
16259
16270
|
if (this.groupsRowCtrls.length !== 0)
|
|
16260
16271
|
for (let s = 0; s < this.groupsRowCtrls.length; s++) {
|
|
@@ -16335,7 +16346,7 @@ var qx = 0, Bl = class extends O {
|
|
|
16335
16346
|
return !e.getColDef().suppressHeaderFilterButton && !!this.beans.filterManager?.isFilterAllowed(e);
|
|
16336
16347
|
}
|
|
16337
16348
|
isHeaderContextMenuEnabled(e) {
|
|
16338
|
-
return !(e &&
|
|
16349
|
+
return !(e && $s(e) ? e.getColDef() : e?.getColGroupDef())?.suppressHeaderContextMenu && this.gos.get("columnMenu") === "new";
|
|
16339
16350
|
}
|
|
16340
16351
|
isHeaderMenuButtonAlwaysShowEnabled() {
|
|
16341
16352
|
return this.isSuppressMenuHide();
|
|
@@ -16370,7 +16381,7 @@ var qx = 0, Bl = class extends O {
|
|
|
16370
16381
|
e?.showMenuAfterMouseEvent(r, a, s, n, i);
|
|
16371
16382
|
} else if (r) {
|
|
16372
16383
|
const a = this.beans, l = a.ctrlsSvc;
|
|
16373
|
-
l.getScrollFeature().ensureColumnVisible(r, "auto"),
|
|
16384
|
+
l.getScrollFeature().ensureColumnVisible(r, "auto"), Ts(a, () => {
|
|
16374
16385
|
const c = l.getHeaderRowContainerCtrl(r.getPinned())?.getHeaderCtrlForColumn(r);
|
|
16375
16386
|
c && e?.showMenuAfterButtonClick(
|
|
16376
16387
|
r,
|
|
@@ -16763,7 +16774,7 @@ var kh = class extends O {
|
|
|
16763
16774
|
let e = !1, t = 0;
|
|
16764
16775
|
const s = (i) => {
|
|
16765
16776
|
if (i.rowHeightEstimated) {
|
|
16766
|
-
const o =
|
|
16777
|
+
const o = _s(this.beans, i);
|
|
16767
16778
|
i.setRowTop(t), i.setRowHeight(o.height), t += o.height, e = !0;
|
|
16768
16779
|
}
|
|
16769
16780
|
};
|
|
@@ -16884,7 +16895,7 @@ function uF(e, t) {
|
|
|
16884
16895
|
let s = 0, i = !1;
|
|
16885
16896
|
return t.forEach((o, n) => {
|
|
16886
16897
|
if (i || (i = o.rowTop !== s), o.setRowTop(s), o.rowHeightEstimated || o.rowHeight == null) {
|
|
16887
|
-
const r =
|
|
16898
|
+
const r = _s(e, o).height;
|
|
16888
16899
|
i || (i = o.rowHeight !== r), o.setRowHeight(r);
|
|
16889
16900
|
}
|
|
16890
16901
|
o.setRowIndex(n), s += o.rowHeight;
|
|
@@ -16959,7 +16970,7 @@ var Nh = class extends O {
|
|
|
16959
16970
|
let e = !1, t = 0;
|
|
16960
16971
|
const s = (i) => {
|
|
16961
16972
|
if (i.rowHeightEstimated) {
|
|
16962
|
-
const o =
|
|
16973
|
+
const o = _s(this.beans, i);
|
|
16963
16974
|
i.setRowTop(t), i.setRowHeight(o.height), t += o.height, e = !0;
|
|
16964
16975
|
}
|
|
16965
16976
|
};
|
|
@@ -16996,7 +17007,7 @@ var Nh = class extends O {
|
|
|
16996
17007
|
if (h !== void 0)
|
|
16997
17008
|
h.data !== d && h.updateData(d), l += this.setRowTopAndRowIndex(h, l, c), n.delete(u);
|
|
16998
17009
|
else {
|
|
16999
|
-
const g = new
|
|
17010
|
+
const g = new js(this.beans);
|
|
17000
17011
|
g.id = u, g.data = d, g.rowPinned = t, l += this.setRowTopAndRowIndex(g, l, c), s.cache[u] = g, s.order.push(u);
|
|
17001
17012
|
}
|
|
17002
17013
|
}
|
|
@@ -17005,7 +17016,7 @@ var Nh = class extends O {
|
|
|
17005
17016
|
s.order = r;
|
|
17006
17017
|
}
|
|
17007
17018
|
setRowTopAndRowIndex(e, t, s) {
|
|
17008
|
-
return e.setRowTop(t), e.setRowHeight(
|
|
17019
|
+
return e.setRowTop(t), e.setRowHeight(_s(this.beans, e).height), e.setRowIndex(s), e.rowHeight;
|
|
17009
17020
|
}
|
|
17010
17021
|
getPinnedTopTotalHeight() {
|
|
17011
17022
|
return Hh(this.pinnedTopRows);
|
|
@@ -17445,7 +17456,7 @@ function wm({ gos: e, selectionColSvc: t }, s) {
|
|
|
17445
17456
|
const i = e.get("rowSelection"), o = s.getColDef(), { headerCheckboxSelection: n } = o;
|
|
17446
17457
|
let r = !1;
|
|
17447
17458
|
if (typeof i == "object") {
|
|
17448
|
-
const l =
|
|
17459
|
+
const l = Ms(s), c = Kd(s);
|
|
17449
17460
|
(qr(i) === "autoGroupColumn" && c || l && t?.isSelectionColumnEnabled()) && (r = Fr(i));
|
|
17450
17461
|
} else typeof n == "function" ? r = n(me(e, { column: s, colDef: o })) : r = !!n;
|
|
17451
17462
|
return r;
|
|
@@ -17563,7 +17574,7 @@ var bF = class extends O {
|
|
|
17563
17574
|
isCellCheckboxSelection(e, t) {
|
|
17564
17575
|
const s = this.gos.get("rowSelection");
|
|
17565
17576
|
if (s && typeof s != "string") {
|
|
17566
|
-
const i =
|
|
17577
|
+
const i = Ms(e) && qi(s);
|
|
17567
17578
|
return e.isColumnFunc(t, i);
|
|
17568
17579
|
} else
|
|
17569
17580
|
return e.isColumnFunc(t, e.colDef.checkboxSelection);
|
|
@@ -17832,7 +17843,7 @@ var bF = class extends O {
|
|
|
17832
17843
|
}
|
|
17833
17844
|
destroy() {
|
|
17834
17845
|
const { eTopGuard: e, eBottomGuard: t } = this;
|
|
17835
|
-
|
|
17846
|
+
Ws(e), Ws(t), super.destroy();
|
|
17836
17847
|
}
|
|
17837
17848
|
}, yF = class extends Ke {
|
|
17838
17849
|
initialiseTabGuard(t) {
|
|
@@ -17882,7 +17893,7 @@ var bF = class extends O {
|
|
|
17882
17893
|
[o, "touchcancel", a, l],
|
|
17883
17894
|
// we set passive=false, as we want to prevent default on this event
|
|
17884
17895
|
[o, "touchend", r, c],
|
|
17885
|
-
[o, "contextmenu",
|
|
17896
|
+
[o, "contextmenu", Gs, c]
|
|
17886
17897
|
);
|
|
17887
17898
|
}
|
|
17888
17899
|
this.clearLongPress(), this.longPressTimer = window.setTimeout(() => {
|
|
@@ -17898,7 +17909,7 @@ var bF = class extends O {
|
|
|
17898
17909
|
}
|
|
17899
17910
|
onTouchEnd(e) {
|
|
17900
17911
|
const t = this.touchStart;
|
|
17901
|
-
!t || !sn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick &&
|
|
17912
|
+
!t || !sn(t, e.changedTouches) || (this.moved || (this.eventSvc?.dispatchEvent({ type: "tap", touchStart: t }), this.checkDoubleTap(t)), this.preventClick && Gs(e), this.cancel());
|
|
17902
17913
|
}
|
|
17903
17914
|
onTouchCancel(e) {
|
|
17904
17915
|
const t = this.touchStart;
|
|
@@ -18071,7 +18082,7 @@ var IF = class extends O {
|
|
|
18071
18082
|
this.view = e, this.eGridHostDiv = t, this.eGui = s, this.eGui.setAttribute("grid-id", this.beans.context.getId());
|
|
18072
18083
|
const { dragAndDrop: i, ctrlsSvc: o } = this.beans;
|
|
18073
18084
|
i?.registerGridDropTarget(() => this.eGui, this), this.createManagedBean(new ru(this.view)), this.view.setRtlClass(this.gos.get("enableRtl") ? "ag-rtl" : "ag-ltr");
|
|
18074
|
-
const n =
|
|
18085
|
+
const n = Ps(this.beans, this.eGridHostDiv, this.onGridSizeChanged.bind(this));
|
|
18075
18086
|
this.addDestroyFunc(() => n()), o.register("gridCtrl", this);
|
|
18076
18087
|
}
|
|
18077
18088
|
isDetailGrid() {
|
|
@@ -19453,7 +19464,7 @@ var wn = class {
|
|
|
19453
19464
|
return new ZF(e, t, s, i, o, n);
|
|
19454
19465
|
}
|
|
19455
19466
|
createRowDragCompForRow(e, t) {
|
|
19456
|
-
if (
|
|
19467
|
+
if (Us(this.gos))
|
|
19457
19468
|
return;
|
|
19458
19469
|
const s = this.getLocaleTextFunc();
|
|
19459
19470
|
return this.createRowDragComp(
|
|
@@ -21241,7 +21252,7 @@ function ui(e, t, s) {
|
|
|
21241
21252
|
function Ul(e) {
|
|
21242
21253
|
const t = [];
|
|
21243
21254
|
return ui(e, !0, (s) => {
|
|
21244
|
-
|
|
21255
|
+
$s(s) && t.push(s);
|
|
21245
21256
|
}), t;
|
|
21246
21257
|
}
|
|
21247
21258
|
var n3 = class extends O {
|
|
@@ -23415,7 +23426,7 @@ var VD = class extends C2 {
|
|
|
23415
23426
|
)) : t.style.width = `var(${e.cssName}, ${Kl}px)`, s.appendChild(t), this.sizeEls.set(e, t);
|
|
23416
23427
|
let n = this.measureSizeEl(e);
|
|
23417
23428
|
n === "no-styles" && !o && W(9, { variable: e });
|
|
23418
|
-
const r =
|
|
23429
|
+
const r = Ps(this.beans, t, () => {
|
|
23419
23430
|
const a = this.measureSizeEl(e);
|
|
23420
23431
|
a === "detached" || a === "no-styles" || (this.lastKnownValues.set(e, a), a !== n && (n = a, this.fireStylesChangedEvent(e.changeKey)));
|
|
23421
23432
|
});
|
|
@@ -25786,7 +25797,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
|
|
|
25786
25797
|
if (!this.eMenu)
|
|
25787
25798
|
return;
|
|
25788
25799
|
if (this.currentShowMenu = this.workOutShowMenu(), !this.currentShowMenu) {
|
|
25789
|
-
|
|
25800
|
+
Ws(this.eMenu), this.eMenu = void 0;
|
|
25790
25801
|
return;
|
|
25791
25802
|
}
|
|
25792
25803
|
const { gos: e, eMenu: t, params: s } = this, i = Mt(e);
|
|
@@ -25849,7 +25860,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
|
|
|
25849
25860
|
}
|
|
25850
25861
|
configureFilter(e, t, s, i) {
|
|
25851
25862
|
if (!e)
|
|
25852
|
-
return
|
|
25863
|
+
return Ws(t), !1;
|
|
25853
25864
|
const o = this.params.column;
|
|
25854
25865
|
return this.addInIcon(i, t, o), this.addManagedListeners(o, { filterChanged: s }), s(), !0;
|
|
25855
25866
|
}
|
|
@@ -26051,7 +26062,7 @@ var wP = Km(!0), bP = Km(!1), SP = class extends Ke {
|
|
|
26051
26062
|
}
|
|
26052
26063
|
requestFrame() {
|
|
26053
26064
|
const e = this.executeFrame.bind(this, 60);
|
|
26054
|
-
|
|
26065
|
+
Ts(this.beans, e);
|
|
26055
26066
|
}
|
|
26056
26067
|
isQueueEmpty() {
|
|
26057
26068
|
return !this.ticking;
|
|
@@ -26966,7 +26977,7 @@ var qP = class extends O {
|
|
|
26966
26977
|
onBackspaceOrDeleteKeyDown(e, t) {
|
|
26967
26978
|
const { cellCtrl: s, beans: i, rowNode: o } = this, { gos: n, rangeSvc: r, eventSvc: a, editSvc: l } = i;
|
|
26968
26979
|
if (a.dispatchEvent({ type: "keyShortcutChangedCellStart" }), KP(e, n.get("enableCellEditingOnBackspace")) && !l?.isEditing(s, { withOpenEditor: !0 })) {
|
|
26969
|
-
if (r &&
|
|
26980
|
+
if (r && Us(n))
|
|
26970
26981
|
r.clearCellRangeCellValues({ dispatchWrapperEvents: !0, wrapperEventSource: "deleteKey" });
|
|
26971
26982
|
else if (s.isCellEditable()) {
|
|
26972
26983
|
const { column: c } = s, d = this.beans.valueSvc.getDeleteValue(c, o);
|
|
@@ -27290,7 +27301,7 @@ var qP = class extends O {
|
|
|
27290
27301
|
const { beans: e } = this;
|
|
27291
27302
|
this.positionFeature = new ZP(this, e), this.customStyleFeature = e.cellStyles?.createCellCustomStyleFeature(this, e), this.editStyleFeature = e.editSvc?.createCellStyleFeature(this, e), this.mouseListener = new YP(this, e, this.column), this.keyboardListener = new qP(this, e, this.rowNode, this.rowCtrl), this.enableTooltipFeature();
|
|
27292
27303
|
const { rangeSvc: t } = e;
|
|
27293
|
-
t &&
|
|
27304
|
+
t && Us(e.gos) && (this.rangeFeature = t.createCellRangeFeature(e, this)), ys(this.column) && (this.rowResizeFeature = this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e, this));
|
|
27294
27305
|
}
|
|
27295
27306
|
isCellSpanning() {
|
|
27296
27307
|
return !1;
|
|
@@ -27375,7 +27386,7 @@ var qP = class extends O {
|
|
|
27375
27386
|
const u = this.editSvc.prepDetailsDuringBatch(this, { compDetails: l, valueToDisplay: a });
|
|
27376
27387
|
u && (u.compDetails ? l = u.compDetails : u.valueToDisplay && (a = u.valueToDisplay));
|
|
27377
27388
|
}
|
|
27378
|
-
this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n &&
|
|
27389
|
+
this.comp.setRenderDetails(l, a, e), this.customRowDragComp?.refreshVisibility(), !t && n && Ts(s, () => n?.refreshHandle()), this.rowResizeFeature?.refreshRowResizer();
|
|
27379
27390
|
}
|
|
27380
27391
|
setupControlComps() {
|
|
27381
27392
|
const e = this.column.getColDef();
|
|
@@ -27400,7 +27411,7 @@ var qP = class extends O {
|
|
|
27400
27411
|
return (this.rowNode.rowPinned == null || t && kn(this.rowNode)) && !!e;
|
|
27401
27412
|
}
|
|
27402
27413
|
isCheckboxSelection(e) {
|
|
27403
|
-
const { rowSelection: t, groupDisplayType: s } = this.beans.gridOptions, i = qr(t), o =
|
|
27414
|
+
const { rowSelection: t, groupDisplayType: s } = this.beans.gridOptions, i = qr(t), o = Ms(this.column);
|
|
27404
27415
|
return s === "custom" && i !== "selectionColumn" && o ? !1 : e.checkboxSelection || o && typeof t == "object" && qi(t);
|
|
27405
27416
|
}
|
|
27406
27417
|
refreshShouldDestroy() {
|
|
@@ -28255,7 +28266,7 @@ var r5 = class extends O {
|
|
|
28255
28266
|
return this.fullWidthGui ? this.fullWidthGui.element : null;
|
|
28256
28267
|
}
|
|
28257
28268
|
getRowYPosition() {
|
|
28258
|
-
const e = this.allRowGuis.find((t) =>
|
|
28269
|
+
const e = this.allRowGuis.find((t) => Ds(t.element))?.element;
|
|
28259
28270
|
return e ? e.getBoundingClientRect().top : 0;
|
|
28260
28271
|
}
|
|
28261
28272
|
onSuppressCellFocusChanged(e) {
|
|
@@ -28567,7 +28578,7 @@ var r5 = class extends O {
|
|
|
28567
28578
|
onRowHeightChanged(e) {
|
|
28568
28579
|
if (this.rowNode.rowHeight == null)
|
|
28569
28580
|
return;
|
|
28570
|
-
const t = this.rowNode.rowHeight, s = this.beans.environment.getDefaultRowHeight(), o = af(this.gos) ?
|
|
28581
|
+
const t = this.rowNode.rowHeight, s = this.beans.environment.getDefaultRowHeight(), o = af(this.gos) ? _s(this.beans, this.rowNode).height : void 0, n = o ? `${Math.min(s, o) - 2}px` : void 0;
|
|
28571
28582
|
this.forEachGui(e, (r) => {
|
|
28572
28583
|
r.element.style.height = `${t}px`, n && r.element.style.setProperty("--ag-line-height", n);
|
|
28573
28584
|
});
|
|
@@ -29613,8 +29624,8 @@ var x5 = (
|
|
|
29613
29624
|
this.eventSvc.removeListener("cellSelectionChanged", e), this.eventSvc.removeListener("columnMoved", t), this.eventSvc.removeListener("columnPinned", t), this.eventSvc.removeListener("columnVisible", t);
|
|
29614
29625
|
};
|
|
29615
29626
|
this.addDestroyFunc(() => i()), this.addManagedPropertyListeners(["enableRangeSelection", "cellSelection"], () => {
|
|
29616
|
-
|
|
29617
|
-
}),
|
|
29627
|
+
Us(this.gos) ? s() : i();
|
|
29628
|
+
}), Us(this.gos) && s();
|
|
29618
29629
|
};
|
|
29619
29630
|
}
|
|
29620
29631
|
wireBeans(e) {
|
|
@@ -30268,7 +30279,7 @@ var x5 = (
|
|
|
30268
30279
|
* but not execute the event until all of the data has finished being rendered to the dom.
|
|
30269
30280
|
*/
|
|
30270
30281
|
dispatchFirstDataRenderedEvent() {
|
|
30271
|
-
this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0,
|
|
30282
|
+
this.dataFirstRenderedFired || (this.dataFirstRenderedFired = !0, Ts(this.beans, () => {
|
|
30272
30283
|
this.beans.eventSvc.dispatchEvent({
|
|
30273
30284
|
type: "firstDataRendered",
|
|
30274
30285
|
firstRow: this.firstRenderedRow,
|
|
@@ -32990,7 +33001,7 @@ var U4 = {
|
|
|
32990
33001
|
})
|
|
32991
33002
|
);
|
|
32992
33003
|
else {
|
|
32993
|
-
const h =
|
|
33004
|
+
const h = Os(c);
|
|
32994
33005
|
h && l.push(
|
|
32995
33006
|
h.then((g) => {
|
|
32996
33007
|
a(d, e(g), {
|
|
@@ -33021,7 +33032,7 @@ var U4 = {
|
|
|
33021
33032
|
})
|
|
33022
33033
|
);
|
|
33023
33034
|
else {
|
|
33024
|
-
const n =
|
|
33035
|
+
const n = Os(i);
|
|
33025
33036
|
n && s.push(
|
|
33026
33037
|
n.then((r) => {
|
|
33027
33038
|
this.setColFilterActive(
|
|
@@ -33083,7 +33094,7 @@ var U4 = {
|
|
|
33083
33094
|
() => this.updateFilterFlagInColumns("filterChanged", s).then(() => {
|
|
33084
33095
|
this.allColumnFilters.forEach((o) => {
|
|
33085
33096
|
const { column: n, isHandler: r } = o;
|
|
33086
|
-
i !== n.getColId() && (r && o.handler.onAnyFilterChanged?.(),
|
|
33097
|
+
i !== n.getColId() && (r && o.handler.onAnyFilterChanged?.(), Os(o, r)?.then((a) => {
|
|
33087
33098
|
typeof a?.onAnyFilterChanged == "function" && a.onAnyFilterChanged();
|
|
33088
33099
|
}));
|
|
33089
33100
|
}), this.processingFilterChange = !0;
|
|
@@ -33101,7 +33112,7 @@ var U4 = {
|
|
|
33101
33112
|
this.allColumnFilters.forEach((s) => {
|
|
33102
33113
|
const i = s.isHandler;
|
|
33103
33114
|
i && s.handler.onNewRowsLoaded?.();
|
|
33104
|
-
const o =
|
|
33115
|
+
const o = Os(s, i);
|
|
33105
33116
|
o && t.push(
|
|
33106
33117
|
o.then((n) => {
|
|
33107
33118
|
n.onNewRowsLoaded?.();
|
|
@@ -33135,13 +33146,13 @@ var U4 = {
|
|
|
33135
33146
|
}
|
|
33136
33147
|
getOrCreateFilterUi(e) {
|
|
33137
33148
|
const t = this.getOrCreateFilterWrapper(e, !0);
|
|
33138
|
-
return t ?
|
|
33149
|
+
return t ? Os(t) : null;
|
|
33139
33150
|
}
|
|
33140
33151
|
getFilterUiForDisplay(e) {
|
|
33141
33152
|
const t = this.getOrCreateFilterWrapper(e, !0);
|
|
33142
33153
|
if (!t)
|
|
33143
33154
|
return null;
|
|
33144
|
-
const s =
|
|
33155
|
+
const s = Os(t);
|
|
33145
33156
|
return s ? s.then((i) => ({
|
|
33146
33157
|
comp: i,
|
|
33147
33158
|
params: t.filterUi.filterParams,
|
|
@@ -33506,7 +33517,7 @@ var U4 = {
|
|
|
33506
33517
|
this.destroyFilterUi(s, o, g, p);
|
|
33507
33518
|
return;
|
|
33508
33519
|
}
|
|
33509
|
-
s.filterUi.filterParams = f,
|
|
33520
|
+
s.filterUi.filterParams = f, Os(s, h)?.then((C) => {
|
|
33510
33521
|
(C?.refresh ? C.refresh(f) : !0) === !1 ? this.destroyFilterUi(s, o, g, p) : this.dispatchLocalEvent({
|
|
33511
33522
|
type: "filterParamsChanged",
|
|
33512
33523
|
column: o,
|
|
@@ -33638,7 +33649,7 @@ var U4 = {
|
|
|
33638
33649
|
this.refreshHandlerAndUi(n, t, "api").then(() => i());
|
|
33639
33650
|
return;
|
|
33640
33651
|
}
|
|
33641
|
-
const o =
|
|
33652
|
+
const o = Os(e);
|
|
33642
33653
|
if (o) {
|
|
33643
33654
|
o.then((n) => {
|
|
33644
33655
|
if (typeof n?.setModel != "function") {
|
|
@@ -34021,7 +34032,7 @@ var q4 = class extends O {
|
|
|
34021
34032
|
const c = () => r?.afterGuiDetached(), d = ry(this.gos) ? i ?? this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody : void 0, u = (f) => {
|
|
34022
34033
|
Mh(e, !1, "contextMenu");
|
|
34023
34034
|
const C = f instanceof KeyboardEvent;
|
|
34024
|
-
this.tabListener && (this.tabListener = this.tabListener()), C && i &&
|
|
34035
|
+
this.tabListener && (this.tabListener = this.tabListener()), C && i && Ds(i) && Hf(i)?.focus({ preventScroll: !0 }), c(), this.destroyBean(this.activeMenu), this.dispatchVisibleChangedEvent(!1, s, e), n?.();
|
|
34025
34036
|
}, h = this.getLocaleTextFunc(), g = o && s !== "columnFilter" ? h("ariaLabelColumnMenu", "Column Menu") : h("ariaLabelColumnFilter", "Column Filter"), p = this.popupSvc?.addPopup({
|
|
34026
34037
|
modal: !0,
|
|
34027
34038
|
eChild: a,
|
|
@@ -34384,12 +34395,12 @@ var bu = class extends J2 {
|
|
|
34384
34395
|
removeElements(e, t, s) {
|
|
34385
34396
|
const i = cn(e, t, s);
|
|
34386
34397
|
for (const o of i)
|
|
34387
|
-
|
|
34398
|
+
Ws(o);
|
|
34388
34399
|
}
|
|
34389
34400
|
removeComponents(e, t, s) {
|
|
34390
34401
|
const i = cn(e, t, s);
|
|
34391
34402
|
for (const o of i)
|
|
34392
|
-
|
|
34403
|
+
Ws(o.getGui()), this.destroyBean(o);
|
|
34393
34404
|
}
|
|
34394
34405
|
afterGuiAttached(e) {
|
|
34395
34406
|
if (super.afterGuiAttached(e), this.resetPlaceholder(), !e?.suppressFocus) {
|
|
@@ -34923,13 +34934,13 @@ var ug = 1e3, hg = 1 / 0, sT = class extends bu {
|
|
|
34923
34934
|
getModelAsString(e, t) {
|
|
34924
34935
|
const s = this.getLocaleTextFunc(), i = t === "filterToolPanel";
|
|
34925
34936
|
if (!e)
|
|
34926
|
-
return i ?
|
|
34937
|
+
return i ? Vs(this, "filterSummaryInactive") : null;
|
|
34927
34938
|
if (e.operator != null) {
|
|
34928
34939
|
const n = e, a = (n.conditions ?? []).map((c) => this.getModelAsString(c, t)), l = n.operator === "AND" ? "andCondition" : "orCondition";
|
|
34929
|
-
return a.join(` ${
|
|
34940
|
+
return a.join(` ${Vs(this, l)} `);
|
|
34930
34941
|
} else {
|
|
34931
34942
|
if (e.type === "blank" || e.type === "notBlank")
|
|
34932
|
-
return i ?
|
|
34943
|
+
return i ? Vs(this, e.type === "blank" ? "filterSummaryBlank" : "filterSummaryNotBlank") : s(e.type, e.type);
|
|
34933
34944
|
{
|
|
34934
34945
|
const n = e, r = this.optionsFactory.getCustomOption(n.type), { displayKey: a, displayName: l, numberOfInputs: c } = r || {};
|
|
34935
34946
|
return a && l && c === 0 ? s(a, l) : this.conditionToString(
|
|
@@ -34949,7 +34960,7 @@ var ug = 1e3, hg = 1 / 0, sT = class extends bu {
|
|
|
34949
34960
|
conditionForToolPanel(e, t, s, i, o, n) {
|
|
34950
34961
|
let r;
|
|
34951
34962
|
const a = this.getTypeKey(e);
|
|
34952
|
-
return a && (r =
|
|
34963
|
+
return a && (r = Vs(this, a)), o && n && (r = this.getLocaleTextFunc()(o, n)), r != null ? t ? `${r} ${Vs(this, "filterSummaryInRangeValues", [s(), i()])}` : `${r} ${s()}` : null;
|
|
34953
34964
|
}
|
|
34954
34965
|
getTypeKey(e) {
|
|
34955
34966
|
const t = this.filterTypeKeys[e];
|
|
@@ -35555,7 +35566,7 @@ var hT = {
|
|
|
35555
35566
|
conditionToString(e, t, s, i, o) {
|
|
35556
35567
|
const { filter: n, filterTo: r, type: a } = e;
|
|
35557
35568
|
if (t) {
|
|
35558
|
-
const l = (d) => () =>
|
|
35569
|
+
const l = (d) => () => Vs(this, "filterSummaryTextQuote", [d]), c = this.conditionForToolPanel(
|
|
35559
35570
|
a,
|
|
35560
35571
|
s,
|
|
35561
35572
|
l(n),
|
|
@@ -36245,7 +36256,7 @@ var xT = class extends O {
|
|
|
36245
36256
|
keyShortcutChangedCellEnd: () => {
|
|
36246
36257
|
let e;
|
|
36247
36258
|
const { rangeSvc: t, gos: s } = this.beans;
|
|
36248
|
-
t &&
|
|
36259
|
+
t && Us(s) ? e = new Jl(this.cellValueChanges, void 0, void 0, [
|
|
36249
36260
|
...t.getCellRanges()
|
|
36250
36261
|
]) : e = new Bi(this.cellValueChanges), this.pushActionsToUndoStack(e), this.isRangeInAction = !1;
|
|
36251
36262
|
},
|
|
@@ -37808,7 +37819,7 @@ var PC = class extends O {
|
|
|
37808
37819
|
}, t((h) => {
|
|
37809
37820
|
if (!h)
|
|
37810
37821
|
return null;
|
|
37811
|
-
const g = h.filter((p) => !
|
|
37822
|
+
const g = h.filter((p) => !Ms(p));
|
|
37812
37823
|
return [...r, ...g];
|
|
37813
37824
|
});
|
|
37814
37825
|
}
|
|
@@ -38098,7 +38109,7 @@ var XM = class extends bF {
|
|
|
38098
38109
|
createDaemonNode(e) {
|
|
38099
38110
|
if (!e.id)
|
|
38100
38111
|
return;
|
|
38101
|
-
const t = new
|
|
38112
|
+
const t = new js(this.beans);
|
|
38102
38113
|
return t.id = e.id, t.data = e.data, t.__selected = e.__selected, t.level = e.level, t;
|
|
38103
38114
|
}
|
|
38104
38115
|
// if the id has changed for the node, then this means the rowNode
|
|
@@ -38749,7 +38760,7 @@ var l6 = {
|
|
|
38749
38760
|
});
|
|
38750
38761
|
}
|
|
38751
38762
|
createRowNode(e, t) {
|
|
38752
|
-
const s = new
|
|
38763
|
+
const s = new js(this.beans);
|
|
38753
38764
|
s.parent = this.rootNode, s.level = t, s.group = !1, s.expanded = !1, s.setDataAndId(e, String(this.nextId++));
|
|
38754
38765
|
const i = s.id, o = this.allNodesMap;
|
|
38755
38766
|
return o[i] && W(2, { nodeId: i }), o[i] = s, s;
|
|
@@ -38933,7 +38944,7 @@ var l6 = {
|
|
|
38933
38944
|
super(...arguments), this.beanName = "rowModel", this.rootNode = null, this.rowCountReady = !1, this.nodeManager = void 0, this.rowsToDisplay = [], this.rowDataUpdatedPending = !1, this.asyncTransactions = null, this.asyncTransactionsTimer = 0, this.started = !1, this.refreshingModel = !1, this.rowNodesCountReady = !1, this.stages = [], this.stagesRefreshProps = /* @__PURE__ */ new Map(), this.onRowHeightChanged_debounced = lt(this, this.onRowHeightChanged.bind(this), 100);
|
|
38934
38945
|
}
|
|
38935
38946
|
postConstruct() {
|
|
38936
|
-
const e = this.beans, t = new
|
|
38947
|
+
const e = this.beans, t = new js(e);
|
|
38937
38948
|
this.rootNode = t, this.nodeManager = this.createBean(new g6(t));
|
|
38938
38949
|
const s = this.refreshModel.bind(this, { step: "group" }), i = this.refreshModel.bind(this, {
|
|
38939
38950
|
step: "group",
|
|
@@ -38989,7 +39000,7 @@ var l6 = {
|
|
|
38989
39000
|
for (let d = l; d <= c; d++) {
|
|
38990
39001
|
const u = this.getRow(d);
|
|
38991
39002
|
if (u.rowHeightEstimated) {
|
|
38992
|
-
const h =
|
|
39003
|
+
const h = _s(this.beans, u);
|
|
38993
39004
|
u.setRowHeight(h.height), o = !0, n = !0;
|
|
38994
39005
|
}
|
|
38995
39006
|
}
|
|
@@ -39024,7 +39035,7 @@ var l6 = {
|
|
|
39024
39035
|
for (let r = 0, a = s.length; r < a; ++r) {
|
|
39025
39036
|
const l = s[r], c = l.id;
|
|
39026
39037
|
if (c != null && e?.add(c), l.rowHeight == null) {
|
|
39027
|
-
const d =
|
|
39038
|
+
const d = _s(t, l, n, i);
|
|
39028
39039
|
l.setRowHeight(d.height, d.estimated);
|
|
39029
39040
|
}
|
|
39030
39041
|
l.setRowTop(o), l.setRowIndex(r), o += l.rowHeight;
|
|
@@ -39644,7 +39655,7 @@ var L6 = {
|
|
|
39644
39655
|
};
|
|
39645
39656
|
}
|
|
39646
39657
|
getColumnsToExport(e) {
|
|
39647
|
-
const { allColumns: t = !1, skipRowGroups: s = !1, exportRowNumbers: i = !1, columnKeys: o } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) =>
|
|
39658
|
+
const { allColumns: t = !1, skipRowGroups: s = !1, exportRowNumbers: i = !1, columnKeys: o } = e, { colModel: n, gos: r, visibleCols: a } = this, l = n.isPivotMode(), c = (h) => Ms(h) ? !1 : !ys(h) || i;
|
|
39648
39659
|
if (o?.length)
|
|
39649
39660
|
return n.getColsForKeys(o).filter(c);
|
|
39650
39661
|
const d = r.get("treeData");
|
|
@@ -39859,7 +39870,7 @@ var W6 = {
|
|
|
39859
39870
|
rowNodes: o
|
|
39860
39871
|
} = this;
|
|
39861
39872
|
for (let n = 0; n < e; n++) {
|
|
39862
|
-
const r = s + n, a = new
|
|
39873
|
+
const r = s + n, a = new js(i);
|
|
39863
39874
|
a.setRowHeight(t), a.uiLevel = 0, a.setRowIndex(r), a.setRowTop(t * r), o.push(a);
|
|
39864
39875
|
}
|
|
39865
39876
|
}
|
|
@@ -39920,7 +39931,7 @@ var W6 = {
|
|
|
39920
39931
|
const { rowNodes: t, beans: s } = this;
|
|
39921
39932
|
t.forEach((o, n) => {
|
|
39922
39933
|
const r = e.rowData ? e.rowData[n] : void 0;
|
|
39923
|
-
!o.id && o.alreadyRendered && r && (t[n] = new
|
|
39934
|
+
!o.id && o.alreadyRendered && r && (t[n] = new js(s), t[n].setRowIndex(o.rowIndex), t[n].setRowTop(o.rowTop), t[n].setRowHeight(o.rowHeight), o.clearRowTopAndRowIndex()), this.setDataAndId(t[n], r, this.startRow + n);
|
|
39924
39935
|
});
|
|
39925
39936
|
const i = e.rowCount != null && e.rowCount >= 0 ? e.rowCount : void 0;
|
|
39926
39937
|
this.parentCache.pageLoaded(this, i);
|
|
@@ -40087,7 +40098,7 @@ var W6 = {
|
|
|
40087
40098
|
postConstruct() {
|
|
40088
40099
|
if (this.gos.get("rowModelType") !== "infinite")
|
|
40089
40100
|
return;
|
|
40090
|
-
const e = this.beans, t = new
|
|
40101
|
+
const e = this.beans, t = new js(e);
|
|
40091
40102
|
this.rootNode = t, t.level = -1, this.rowHeight = li(e), this.addEventListeners(), this.addDestroyFunc(() => this.destroyCache());
|
|
40092
40103
|
}
|
|
40093
40104
|
start() {
|
|
@@ -40811,7 +40822,7 @@ var gI = class extends O {
|
|
|
40811
40822
|
}
|
|
40812
40823
|
setCellSelectionState(e) {
|
|
40813
40824
|
const { gos: t, rangeSvc: s, colModel: i, visibleCols: o } = this.beans;
|
|
40814
|
-
if (!
|
|
40825
|
+
if (!Us(t) || !s)
|
|
40815
40826
|
return;
|
|
40816
40827
|
const n = [];
|
|
40817
40828
|
for (const r of e?.cellRanges ?? []) {
|
|
@@ -41670,7 +41681,7 @@ var tA = class extends O {
|
|
|
41670
41681
|
if (!e.scaleUpToFitGridWidth)
|
|
41671
41682
|
return o(i);
|
|
41672
41683
|
const n = wg(this.beans), r = (c) => s.leftCols.some((d) => nn(d, c)), a = (c) => s.rightCols.some((d) => nn(d, c)), l = e.colKeys.filter(
|
|
41673
|
-
(c) => !
|
|
41684
|
+
(c) => !Ms(c) && !ys(c) && !r(c) && !a(c)
|
|
41674
41685
|
);
|
|
41675
41686
|
this.sizeColumnsToFit(n, e.source, !0, {
|
|
41676
41687
|
defaultMaxWidth: e.defaultMaxWidth,
|
|
@@ -42635,7 +42646,7 @@ var AA = {
|
|
|
42635
42646
|
let n = !1;
|
|
42636
42647
|
const r = (a) => {
|
|
42637
42648
|
const l = a.__autoHeights;
|
|
42638
|
-
let c =
|
|
42649
|
+
let c = _s(this.beans, a).height;
|
|
42639
42650
|
for (const d of o) {
|
|
42640
42651
|
let u = l?.[d.getColId()];
|
|
42641
42652
|
const h = s?.getCellSpan(d, a);
|
|
@@ -42719,7 +42730,7 @@ var AA = {
|
|
|
42719
42730
|
this.setRowAutoHeight(o, v, n);
|
|
42720
42731
|
}, l = () => a(0);
|
|
42721
42732
|
l();
|
|
42722
|
-
const c =
|
|
42733
|
+
const c = Ps(r, t, l);
|
|
42723
42734
|
return s.addDestroyFunc(() => {
|
|
42724
42735
|
c(), this.setRowAutoHeight(o, void 0, n);
|
|
42725
42736
|
}), !0;
|
|
@@ -43813,14 +43824,14 @@ var ok = 1e3, nk = class {
|
|
|
43813
43824
|
instanceId: r
|
|
43814
43825
|
} = e, a = L(), [l, c] = I(
|
|
43815
43826
|
() => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
|
|
43816
|
-
), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [C, v] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [R, x] = I(), E = B(() => e.isForceWrapper(), [e]), T = B(() => e.getCellAriaRole(), [e]), k = L(null), F = L(null), P = L(null), G = L(), _ = L(), H = L(), ie = L([]), ne = L(), N = L(), [ue, U] = I(0), se = D((
|
|
43817
|
-
N.current =
|
|
43827
|
+
), [d, u] = I(), [h, g] = I(1), [p, f] = I(), [C, v] = I(!1), [w, b] = I(!1), [S, y] = I(!1), [R, x] = I(), E = B(() => e.isForceWrapper(), [e]), T = B(() => e.getCellAriaRole(), [e]), k = L(null), F = L(null), P = L(null), G = L(), _ = L(), H = L(), ie = L([]), ne = L(), N = L(), [ue, U] = I(0), se = D((pe) => {
|
|
43828
|
+
N.current = pe, U((Pe) => Pe + 1);
|
|
43818
43829
|
}, []), te = l != null && (C || S || w) && (d == null || !!d.popup), Z = E || te, X = B(() => e.getCellValueClass(), [e]), oe = D(
|
|
43819
|
-
(
|
|
43820
|
-
if (_.current =
|
|
43821
|
-
const Pe =
|
|
43830
|
+
(pe) => {
|
|
43831
|
+
if (_.current = pe, pe) {
|
|
43832
|
+
const Pe = pe.isCancelBeforeStart && pe.isCancelBeforeStart();
|
|
43822
43833
|
setTimeout(() => {
|
|
43823
|
-
Pe ? (e.stopEditing(!0), e.focusCell(!0)) : (e.cellEditorAttached(), e.enableEditorTooltipFeature(
|
|
43834
|
+
Pe ? (e.stopEditing(!0), e.focusCell(!0)) : (e.cellEditorAttached(), e.enableEditorTooltipFeature(pe));
|
|
43824
43835
|
});
|
|
43825
43836
|
}
|
|
43826
43837
|
},
|
|
@@ -43829,11 +43840,11 @@ var ok = 1e3, nk = class {
|
|
|
43829
43840
|
Ce.current || (Ce.current = new Tn(() => k.current)), _C(l, Z, N.current, ue, G, k);
|
|
43830
43841
|
const V = L();
|
|
43831
43842
|
qt(() => {
|
|
43832
|
-
const
|
|
43833
|
-
if (V.current = l,
|
|
43843
|
+
const pe = V.current, Pe = l;
|
|
43844
|
+
if (V.current = l, pe == null || pe.compDetails == null || Pe == null || Pe.compDetails == null)
|
|
43834
43845
|
return;
|
|
43835
43846
|
ne.current?.refreshVisibility();
|
|
43836
|
-
const j =
|
|
43847
|
+
const j = pe.compDetails, xe = Pe.compDetails;
|
|
43837
43848
|
if (j.componentClass != xe.componentClass || P.current?.refresh == null)
|
|
43838
43849
|
return;
|
|
43839
43850
|
P.current.refresh(xe.params) != !0 && g((De) => De + 1);
|
|
@@ -43854,8 +43865,8 @@ var ok = 1e3, nk = class {
|
|
|
43854
43865
|
};
|
|
43855
43866
|
}, [d]);
|
|
43856
43867
|
const A = D(
|
|
43857
|
-
(
|
|
43858
|
-
if (H.current =
|
|
43868
|
+
(pe) => {
|
|
43869
|
+
if (H.current = pe, !pe || o.isDestroyed() || !e.isAlive()) {
|
|
43859
43870
|
const xe = ie.current;
|
|
43860
43871
|
ie.current = [];
|
|
43861
43872
|
for (const ve of xe)
|
|
@@ -43864,16 +43875,16 @@ var ok = 1e3, nk = class {
|
|
|
43864
43875
|
}
|
|
43865
43876
|
let Pe;
|
|
43866
43877
|
const j = (xe) => {
|
|
43867
|
-
xe && (
|
|
43868
|
-
|
|
43878
|
+
xe && (pe.insertAdjacentElement("afterbegin", xe.getGui()), ie.current.push(() => {
|
|
43879
|
+
Ws(xe.getGui()), o.destroyBean(xe), ne.current === Pe && (ne.current = void 0);
|
|
43869
43880
|
}));
|
|
43870
43881
|
};
|
|
43871
43882
|
C && j(e.createSelectionCheckbox()), S && j(e.createDndSource()), w && (Pe = e.createRowDragComp(), ne.current = Pe, Pe && (j(Pe), Pe.refreshVisibility()));
|
|
43872
43883
|
},
|
|
43873
43884
|
[e, o, S, w, C]
|
|
43874
43885
|
), Y = D(() => {
|
|
43875
|
-
const
|
|
43876
|
-
if (!Pe || !
|
|
43886
|
+
const pe = !e.isCellSpanning() || F.current, Pe = k.current;
|
|
43887
|
+
if (!Pe || !pe || !e || !e.isAlive() || o.isDestroyed()) {
|
|
43877
43888
|
a.current = o.destroyBean(a.current);
|
|
43878
43889
|
return;
|
|
43879
43890
|
}
|
|
@@ -43940,30 +43951,30 @@ var ok = 1e3, nk = class {
|
|
|
43940
43951
|
s,
|
|
43941
43952
|
a.current
|
|
43942
43953
|
);
|
|
43943
|
-
}, []), $ = D((
|
|
43944
|
-
k.current =
|
|
43945
|
-
}, []), fe = D((
|
|
43946
|
-
F.current =
|
|
43954
|
+
}, []), $ = D((pe) => {
|
|
43955
|
+
k.current = pe, Y();
|
|
43956
|
+
}, []), fe = D((pe) => {
|
|
43957
|
+
F.current = pe, Y();
|
|
43947
43958
|
}, []), le = B(() => !!(l?.compDetails?.componentFromFramework && So(l.compDetails.componentClass)), [l]);
|
|
43948
43959
|
qt(() => {
|
|
43949
43960
|
if (!k.current)
|
|
43950
43961
|
return;
|
|
43951
|
-
const { current:
|
|
43952
|
-
|
|
43962
|
+
const { current: pe } = Ce;
|
|
43963
|
+
pe.toggleCss("ag-cell-value", !Z), pe.toggleCss("ag-cell-inline-editing", !!d && !d.popup), pe.toggleCss("ag-cell-popup-editing", !!d && !!d.popup), pe.toggleCss("ag-cell-not-inline-editing", !d || !!d.popup);
|
|
43953
43964
|
});
|
|
43954
43965
|
const ye = () => {
|
|
43955
|
-
const { compDetails:
|
|
43956
|
-
if (!
|
|
43966
|
+
const { compDetails: pe, value: Pe } = l;
|
|
43967
|
+
if (!pe)
|
|
43957
43968
|
return Pe?.toString?.() ?? Pe;
|
|
43958
|
-
if (
|
|
43959
|
-
const j =
|
|
43960
|
-
return /* @__PURE__ */ q.createElement(Pv, { fallback: /* @__PURE__ */ q.createElement(Fk, { cellCtrl: e, parent: k }) }, le ? /* @__PURE__ */ q.createElement(j, { ...
|
|
43969
|
+
if (pe.componentFromFramework) {
|
|
43970
|
+
const j = pe.componentClass;
|
|
43971
|
+
return /* @__PURE__ */ q.createElement(Pv, { fallback: /* @__PURE__ */ q.createElement(Fk, { cellCtrl: e, parent: k }) }, le ? /* @__PURE__ */ q.createElement(j, { ...pe.params, key: h }) : /* @__PURE__ */ q.createElement(j, { ...pe.params, key: h, ref: P }));
|
|
43961
43972
|
}
|
|
43962
43973
|
}, Re = () => {
|
|
43963
|
-
const
|
|
43964
|
-
return d != null ? d.popup ? /* @__PURE__ */ q.createElement(q.Fragment, null,
|
|
43965
|
-
},
|
|
43966
|
-
return e.isCellSpanning() ? /* @__PURE__ */ q.createElement("div", { ref: fe, className: "ag-spanned-cell-wrapper", role: "presentation" },
|
|
43974
|
+
const pe = () => l == null ? null : Z ? /* @__PURE__ */ q.createElement("span", { role: "presentation", id: `cell-${r}`, className: X, ref: se }, ye()) : ye(), Pe = (j) => Rk(j, oe, k.current, e, R);
|
|
43975
|
+
return d != null ? d.popup ? /* @__PURE__ */ q.createElement(q.Fragment, null, pe(), Pe(d)) : Pe(d) : pe();
|
|
43976
|
+
}, Ae = () => /* @__PURE__ */ q.createElement("div", { ref: $, style: p, role: T, "col-id": n }, Z ? /* @__PURE__ */ q.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: A }, Re()) : Re());
|
|
43977
|
+
return e.isCellSpanning() ? /* @__PURE__ */ q.createElement("div", { ref: fe, className: "ag-spanned-cell-wrapper", role: "presentation" }, Ae()) : Ae();
|
|
43967
43978
|
}, Dk = ft(Ek), Pk = ({ rowCtrl: e, containerType: t }) => {
|
|
43968
43979
|
const { context: s, gos: i, editSvc: o } = st(mt), n = st(HC) === "default", r = L(), a = L(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = I(
|
|
43969
43980
|
() => c ? e.rowNode.getRowIndexString() : null
|
|
@@ -44011,8 +44022,8 @@ var ok = 1e3, nk = class {
|
|
|
44011
44022
|
// if we don't maintain the order, then cols will be ripped out and into the dom
|
|
44012
44023
|
// when cols reordered, which would stop the CSS transitions from working
|
|
44013
44024
|
setCellCtrls: (le, ye) => {
|
|
44014
|
-
const Re = w.current,
|
|
44015
|
-
|
|
44025
|
+
const Re = w.current, Ae = ua(Re, le, a.current);
|
|
44026
|
+
Ae !== Re && (w.current = Ae, n ? N.current() : yn(ye, () => S(Ae)));
|
|
44016
44027
|
},
|
|
44017
44028
|
showFullWidth: (le) => {
|
|
44018
44029
|
G.current = le.params, R(le);
|
|
@@ -44195,7 +44206,7 @@ var ok = 1e3, nk = class {
|
|
|
44195
44206
|
},
|
|
44196
44207
|
registerBodyViewportResizeListener: (Ge) => {
|
|
44197
44208
|
if (Z.current) {
|
|
44198
|
-
const rt =
|
|
44209
|
+
const rt = Ps(e, Z.current, Ge);
|
|
44199
44210
|
Ce.current.push(() => rt());
|
|
44200
44211
|
}
|
|
44201
44212
|
},
|
|
@@ -44231,14 +44242,14 @@ var ok = 1e3, nk = class {
|
|
|
44231
44242
|
), Re = B(
|
|
44232
44243
|
() => Gt("ag-floating-bottom", x ? "ag-invisible" : null, G),
|
|
44233
44244
|
[G, x]
|
|
44234
|
-
),
|
|
44245
|
+
), Ae = B(
|
|
44235
44246
|
() => ({
|
|
44236
44247
|
height: n,
|
|
44237
44248
|
minHeight: n,
|
|
44238
44249
|
overflowY: F
|
|
44239
44250
|
}),
|
|
44240
44251
|
[n, F]
|
|
44241
|
-
),
|
|
44252
|
+
), pe = B(
|
|
44242
44253
|
() => ({
|
|
44243
44254
|
height: c,
|
|
44244
44255
|
top: u,
|
|
@@ -44268,7 +44279,7 @@ var ok = 1e3, nk = class {
|
|
|
44268
44279
|
return /* @__PURE__ */ q.createElement("div", { ref: V, className: A }, /* @__PURE__ */ q.createElement(Ck, null), ve({
|
|
44269
44280
|
section: ue,
|
|
44270
44281
|
className: fe,
|
|
44271
|
-
style:
|
|
44282
|
+
style: Ae,
|
|
44272
44283
|
children: ["topLeft", "topCenter", "topRight", "topFullWidth"]
|
|
44273
44284
|
}), /* @__PURE__ */ q.createElement("div", { className: $, ref: te, role: "presentation" }, ve({
|
|
44274
44285
|
section: Z,
|
|
@@ -44277,7 +44288,7 @@ var ok = 1e3, nk = class {
|
|
|
44277
44288
|
})), ve({
|
|
44278
44289
|
section: U,
|
|
44279
44290
|
className: le,
|
|
44280
|
-
style:
|
|
44291
|
+
style: pe,
|
|
44281
44292
|
children: ["stickyTopLeft", "stickyTopCenter", "stickyTopRight", "stickyTopFullWidth"]
|
|
44282
44293
|
}), ve({
|
|
44283
44294
|
section: se,
|
|
@@ -44672,7 +44683,7 @@ var Wk = class extends c4 {
|
|
|
44672
44683
|
e.node.setRowHeight(F), (qe(n) || Ri(n)) && r.onRowHeightChanged();
|
|
44673
44684
|
}, 0);
|
|
44674
44685
|
};
|
|
44675
|
-
v.current =
|
|
44686
|
+
v.current = Ps(s, x, k), k();
|
|
44676
44687
|
}
|
|
44677
44688
|
}, []), R = D((x) => {
|
|
44678
44689
|
f.current?.registerDetailWithMaster(x);
|
|
@@ -44752,10 +44763,10 @@ const Kk = ee(
|
|
|
44752
44763
|
onClose: i,
|
|
44753
44764
|
...o
|
|
44754
44765
|
}) => /* @__PURE__ */ m(
|
|
44755
|
-
|
|
44766
|
+
Ie,
|
|
44756
44767
|
{
|
|
44757
44768
|
"aria-label": e,
|
|
44758
|
-
className:
|
|
44769
|
+
className: ge("text-secondary hover:enabled:text-accent-primary", t),
|
|
44759
44770
|
onClick: i,
|
|
44760
44771
|
iconBefore: /* @__PURE__ */ m(go, { size: s }),
|
|
44761
44772
|
...o
|
|
@@ -44889,7 +44900,7 @@ const Kk = ee(
|
|
|
44889
44900
|
) : V.type === ed.PlainText ? /* @__PURE__ */ m(
|
|
44890
44901
|
"div",
|
|
44891
44902
|
{
|
|
44892
|
-
className:
|
|
44903
|
+
className: ge(
|
|
44893
44904
|
"px-3 py-2 text-secondary dial-caption",
|
|
44894
44905
|
V.className
|
|
44895
44906
|
),
|
|
@@ -45025,9 +45036,6 @@ const Kk = ee(
|
|
|
45025
45036
|
fontSize: 14,
|
|
45026
45037
|
fontFamily: {
|
|
45027
45038
|
googleFont: "var(--theme-font, var(--font-inter))"
|
|
45028
|
-
},
|
|
45029
|
-
cellStyle: {
|
|
45030
|
-
textAlign: "center"
|
|
45031
45039
|
}
|
|
45032
45040
|
}, sc = 40, e8 = (e, t, s, i, o) => {
|
|
45033
45041
|
const n = typeof e == "string" ? e.toLowerCase() : e, r = typeof t == "string" ? t.toLowerCase() : t;
|
|
@@ -45267,7 +45275,7 @@ const qC = ({
|
|
|
45267
45275
|
const ye = le.data ? i?.(le.data) ?? [] : [];
|
|
45268
45276
|
let Re = null;
|
|
45269
45277
|
typeof $ == "function" ? Re = /* @__PURE__ */ m($, { ...le }) : Re = U(le);
|
|
45270
|
-
const
|
|
45278
|
+
const Ae = le.data ? p(le.data) : null, pe = Ae ? l?.has(Ae) : !1;
|
|
45271
45279
|
return /* @__PURE__ */ m(
|
|
45272
45280
|
At,
|
|
45273
45281
|
{
|
|
@@ -45276,7 +45284,7 @@ const qC = ({
|
|
|
45276
45284
|
anchorToMouse: !0,
|
|
45277
45285
|
matchReferenceWidth: !0,
|
|
45278
45286
|
className: "w-full h-full",
|
|
45279
|
-
disabled:
|
|
45287
|
+
disabled: pe,
|
|
45280
45288
|
children: /* @__PURE__ */ m("span", { className: "block min-w-0 max-w-full flex-1", children: Re })
|
|
45281
45289
|
}
|
|
45282
45290
|
);
|
|
@@ -45301,8 +45309,6 @@ const qC = ({
|
|
|
45301
45309
|
resizable: !1,
|
|
45302
45310
|
filter: !1,
|
|
45303
45311
|
floatingFilter: !1,
|
|
45304
|
-
suppressMenu: !0,
|
|
45305
|
-
borderless: !0,
|
|
45306
45312
|
cellRenderer: se,
|
|
45307
45313
|
headerComponent: ue
|
|
45308
45314
|
}),
|
|
@@ -45408,10 +45414,10 @@ const fr = ({
|
|
|
45408
45414
|
horizontal: o,
|
|
45409
45415
|
onClick: n
|
|
45410
45416
|
}) => {
|
|
45411
|
-
const r =
|
|
45417
|
+
const r = ge(
|
|
45412
45418
|
"rounded h-[38px] items-center flex flex-row border-transparent cursor-pointer dial-small leading-4 hover:text-accent-primary",
|
|
45413
45419
|
{ "border-b-2 px-4": o, "border-l-2 px-3": !o }
|
|
45414
|
-
), a =
|
|
45420
|
+
), a = ge(
|
|
45415
45421
|
r,
|
|
45416
45422
|
{
|
|
45417
45423
|
"bg-layer-4": o,
|
|
@@ -45493,7 +45499,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45493
45499
|
"div",
|
|
45494
45500
|
{
|
|
45495
45501
|
role: "tablist",
|
|
45496
|
-
className:
|
|
45502
|
+
className: ge(
|
|
45497
45503
|
"h-11 flex items-center bg-layer-3 px-4",
|
|
45498
45504
|
n
|
|
45499
45505
|
),
|
|
@@ -45513,7 +45519,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45513
45519
|
onClick: (x) => {
|
|
45514
45520
|
s(x), l(!1);
|
|
45515
45521
|
},
|
|
45516
|
-
className:
|
|
45522
|
+
className: ge(
|
|
45517
45523
|
"w-full rounded-none h-11 items-center px-6",
|
|
45518
45524
|
r
|
|
45519
45525
|
)
|
|
@@ -45586,7 +45592,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45586
45592
|
R.id
|
|
45587
45593
|
)),
|
|
45588
45594
|
children: /* @__PURE__ */ m(
|
|
45589
|
-
|
|
45595
|
+
Ie,
|
|
45590
45596
|
{
|
|
45591
45597
|
iconBefore: /* @__PURE__ */ m(Fn, { size: 18 }),
|
|
45592
45598
|
className: ee(
|
|
@@ -45600,7 +45606,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45600
45606
|
] })
|
|
45601
45607
|
);
|
|
45602
45608
|
}, o8 = "w-full overflow-hidden", n8 = "flex flex-nowrap items-center gap-2 min-w-0 px-0 py-0 whitespace-nowrap", YC = "flex items-center gap-2 min-w-0 shrink-0 dial-small", r8 = "max-w-[20%] basis-[20%] flex-none", a8 = "flex-1 min-w-0", Tg = "inline-flex items-center gap-1 min-w-0 transition-colors", l8 = "text-secondary hover:text-accent-primary", c8 = "text-primary cursor-default", ZC = "flex-none inline-flex items-center leading-none text-secondary", d8 = "items-center gap-1 min-w-0 transition-colors text-secondary hover:text-accent-primary", QC = /* @__PURE__ */ m(Xg, { size: 16, "aria-hidden": "true" }), mr = ({
|
|
45603
|
-
|
|
45609
|
+
label: e,
|
|
45604
45610
|
href: t,
|
|
45605
45611
|
onClick: s,
|
|
45606
45612
|
disabled: i,
|
|
@@ -45608,20 +45614,21 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45608
45614
|
separator: n = QC,
|
|
45609
45615
|
className: r,
|
|
45610
45616
|
iconBefore: a,
|
|
45611
|
-
|
|
45617
|
+
labelClassName: l,
|
|
45618
|
+
...c
|
|
45612
45619
|
}) => {
|
|
45613
|
-
const
|
|
45620
|
+
const d = ge(
|
|
45614
45621
|
YC,
|
|
45615
45622
|
o ? a8 : r8,
|
|
45616
45623
|
r
|
|
45617
|
-
),
|
|
45624
|
+
), u = (!!t || !!s) && !o && !i, h = u ? ge(
|
|
45618
45625
|
Tg,
|
|
45619
45626
|
l8
|
|
45620
|
-
) :
|
|
45627
|
+
) : ge(
|
|
45621
45628
|
Tg,
|
|
45622
45629
|
c8,
|
|
45623
45630
|
i ? "pointer-events-none opacity-75" : ""
|
|
45624
|
-
),
|
|
45631
|
+
), g = typeof e == "string" ? /* @__PURE__ */ m(
|
|
45625
45632
|
wt,
|
|
45626
45633
|
{
|
|
45627
45634
|
className: l,
|
|
@@ -45631,7 +45638,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45631
45638
|
) : /* @__PURE__ */ m(
|
|
45632
45639
|
"span",
|
|
45633
45640
|
{
|
|
45634
|
-
className:
|
|
45641
|
+
className: ge(
|
|
45635
45642
|
"flex-1 min-w-0 max-w-full truncate",
|
|
45636
45643
|
l
|
|
45637
45644
|
),
|
|
@@ -45639,34 +45646,42 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45639
45646
|
children: e
|
|
45640
45647
|
}
|
|
45641
45648
|
);
|
|
45642
|
-
return /* @__PURE__ */ z(
|
|
45643
|
-
|
|
45644
|
-
|
|
45645
|
-
|
|
45646
|
-
|
|
45647
|
-
"
|
|
45648
|
-
|
|
45649
|
-
className:
|
|
45650
|
-
"aria-current": o ? "page" : void 0,
|
|
45651
|
-
"aria-disabled": i ? "true" : void 0,
|
|
45652
|
-
children: [
|
|
45649
|
+
return /* @__PURE__ */ z(
|
|
45650
|
+
"li",
|
|
45651
|
+
{
|
|
45652
|
+
...c,
|
|
45653
|
+
className: d,
|
|
45654
|
+
"aria-label": c["aria-label"] || "breadcrumb-item",
|
|
45655
|
+
children: [
|
|
45656
|
+
u ? /* @__PURE__ */ z("a", { href: t, onClick: s, className: h, children: [
|
|
45653
45657
|
a,
|
|
45654
|
-
|
|
45655
|
-
]
|
|
45656
|
-
|
|
45657
|
-
|
|
45658
|
-
|
|
45659
|
-
|
|
45658
|
+
g
|
|
45659
|
+
] }) : /* @__PURE__ */ z(
|
|
45660
|
+
"span",
|
|
45661
|
+
{
|
|
45662
|
+
className: h,
|
|
45663
|
+
"aria-current": o ? "page" : void 0,
|
|
45664
|
+
"aria-disabled": i ? "true" : void 0,
|
|
45665
|
+
children: [
|
|
45666
|
+
a,
|
|
45667
|
+
g
|
|
45668
|
+
]
|
|
45669
|
+
}
|
|
45670
|
+
),
|
|
45671
|
+
!o && /* @__PURE__ */ m("span", { className: ZC, "aria-label": "separator", children: n })
|
|
45672
|
+
]
|
|
45673
|
+
}
|
|
45674
|
+
);
|
|
45660
45675
|
}, u8 = ({
|
|
45661
45676
|
pathItems: e,
|
|
45662
45677
|
separator: t = QC,
|
|
45663
45678
|
ariaLabel: s = "Breadcrumb",
|
|
45664
45679
|
className: i,
|
|
45665
45680
|
children: o,
|
|
45666
|
-
|
|
45681
|
+
labelClassName: n
|
|
45667
45682
|
}) => {
|
|
45668
45683
|
const r = B(() => e?.length ? e : Tv.toArray(o).filter(gd).map((c) => {
|
|
45669
|
-
const d = c.props, {
|
|
45684
|
+
const d = c.props, { labelClassName: u, isLast: h, separator: g, ...p } = d;
|
|
45670
45685
|
return p;
|
|
45671
45686
|
}), [e, o]), a = D(
|
|
45672
45687
|
(c) => {
|
|
@@ -45684,14 +45699,14 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45684
45699
|
key: `item-${f}`,
|
|
45685
45700
|
isLast: f === r.length - 1,
|
|
45686
45701
|
separator: t,
|
|
45687
|
-
|
|
45702
|
+
labelClassName: n
|
|
45688
45703
|
}
|
|
45689
45704
|
));
|
|
45690
45705
|
const c = r.at(0), d = r.slice(1, -2), u = r.at(-2), h = r.at(-1);
|
|
45691
45706
|
if (!c || !u || !h) return null;
|
|
45692
45707
|
const g = d.map((p, f) => ({
|
|
45693
45708
|
key: String(f + 1),
|
|
45694
|
-
label: typeof p.
|
|
45709
|
+
label: typeof p.label == "string" ? p.label : `Item ${f + 1}`,
|
|
45695
45710
|
disabled: p.disabled
|
|
45696
45711
|
}));
|
|
45697
45712
|
return /* @__PURE__ */ z(Be, { children: [
|
|
@@ -45701,10 +45716,10 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45701
45716
|
...c,
|
|
45702
45717
|
key: "item-0",
|
|
45703
45718
|
separator: t,
|
|
45704
|
-
|
|
45719
|
+
labelClassName: n
|
|
45705
45720
|
}
|
|
45706
45721
|
),
|
|
45707
|
-
/* @__PURE__ */ z("li", { className:
|
|
45722
|
+
/* @__PURE__ */ z("li", { className: ge(YC), children: [
|
|
45708
45723
|
/* @__PURE__ */ m(
|
|
45709
45724
|
At,
|
|
45710
45725
|
{
|
|
@@ -45733,7 +45748,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45733
45748
|
...u,
|
|
45734
45749
|
key: `item-${r.length - 2}`,
|
|
45735
45750
|
separator: t,
|
|
45736
|
-
|
|
45751
|
+
labelClassName: n
|
|
45737
45752
|
}
|
|
45738
45753
|
),
|
|
45739
45754
|
/* @__PURE__ */ Yo(
|
|
@@ -45743,7 +45758,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45743
45758
|
key: `item-${r.length - 1}`,
|
|
45744
45759
|
isLast: !0,
|
|
45745
45760
|
separator: t,
|
|
45746
|
-
|
|
45761
|
+
labelClassName: n
|
|
45747
45762
|
}
|
|
45748
45763
|
)
|
|
45749
45764
|
] });
|
|
@@ -45752,7 +45767,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45752
45767
|
"nav",
|
|
45753
45768
|
{
|
|
45754
45769
|
"aria-label": s,
|
|
45755
|
-
className:
|
|
45770
|
+
className: ge(o8, i),
|
|
45756
45771
|
children: /* @__PURE__ */ m("ol", { className: n8, children: l })
|
|
45757
45772
|
}
|
|
45758
45773
|
);
|
|
@@ -45760,7 +45775,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45760
45775
|
iconClassName: e,
|
|
45761
45776
|
...t
|
|
45762
45777
|
}) => /* @__PURE__ */ m(
|
|
45763
|
-
|
|
45778
|
+
Ie,
|
|
45764
45779
|
{
|
|
45765
45780
|
...t,
|
|
45766
45781
|
iconBefore: /* @__PURE__ */ m(En, { ...de, className: e || "" })
|
|
@@ -45777,10 +45792,10 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45777
45792
|
disableTooltip: l,
|
|
45778
45793
|
onChange: c
|
|
45779
45794
|
}) => /* @__PURE__ */ m(
|
|
45780
|
-
|
|
45795
|
+
Es,
|
|
45781
45796
|
{
|
|
45782
45797
|
tooltip: l ? null : e,
|
|
45783
|
-
triggerClassName:
|
|
45798
|
+
triggerClassName: ge("flex", o),
|
|
45784
45799
|
children: /* @__PURE__ */ m(
|
|
45785
45800
|
"textarea",
|
|
45786
45801
|
{
|
|
@@ -45919,7 +45934,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
45919
45934
|
}
|
|
45920
45935
|
),
|
|
45921
45936
|
/* @__PURE__ */ m(
|
|
45922
|
-
|
|
45937
|
+
Es,
|
|
45923
45938
|
{
|
|
45924
45939
|
tooltip: x ? void 0 : R || i,
|
|
45925
45940
|
triggerClassName: ee(l, "flex-1"),
|
|
@@ -46048,7 +46063,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
46048
46063
|
elementContainerClassName: n,
|
|
46049
46064
|
errorText: r,
|
|
46050
46065
|
...a
|
|
46051
|
-
}) => /* @__PURE__ */ z("div", { className:
|
|
46066
|
+
}) => /* @__PURE__ */ z("div", { className: ge("flex flex-col", o), children: [
|
|
46052
46067
|
/* @__PURE__ */ m(
|
|
46053
46068
|
mo,
|
|
46054
46069
|
{
|
|
@@ -46068,7 +46083,7 @@ const Dg = () => typeof window < "u" && window.innerWidth < 640, Pg = () => {
|
|
|
46068
46083
|
),
|
|
46069
46084
|
/* @__PURE__ */ m(hi, { errorText: r })
|
|
46070
46085
|
] }), JC = ({
|
|
46071
|
-
|
|
46086
|
+
label: e,
|
|
46072
46087
|
switchId: t,
|
|
46073
46088
|
isOn: s = !1,
|
|
46074
46089
|
disabled: i,
|
|
@@ -46126,7 +46141,7 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
|
|
|
46126
46141
|
[Zt.Lg]: "dial-lg-popup"
|
|
46127
46142
|
}, yo = ({
|
|
46128
46143
|
open: e = !1,
|
|
46129
|
-
|
|
46144
|
+
header: t,
|
|
46130
46145
|
portalId: s,
|
|
46131
46146
|
className: i,
|
|
46132
46147
|
overlayClassName: o,
|
|
@@ -46154,7 +46169,7 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
|
|
|
46154
46169
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
46155
46170
|
n
|
|
46156
46171
|
),
|
|
46157
|
-
children: /* @__PURE__ */ m(
|
|
46172
|
+
children: /* @__PURE__ */ m(Es, { tooltip: S, children: S })
|
|
46158
46173
|
}
|
|
46159
46174
|
) : S : /* @__PURE__ */ m("span", {});
|
|
46160
46175
|
return /* @__PURE__ */ m(hd, { id: s, children: /* @__PURE__ */ m(
|
|
@@ -46179,7 +46194,7 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
|
|
|
46179
46194
|
/* @__PURE__ */ z(
|
|
46180
46195
|
"div",
|
|
46181
46196
|
{
|
|
46182
|
-
className:
|
|
46197
|
+
className: ge(b8, r),
|
|
46183
46198
|
children: [
|
|
46184
46199
|
b(t),
|
|
46185
46200
|
/* @__PURE__ */ m(
|
|
@@ -46210,16 +46225,16 @@ const v8 = "z-[52] flex items-center justify-center bg-blackout md:p-4", w8 = "d
|
|
|
46210
46225
|
var Rn = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(Rn || {});
|
|
46211
46226
|
const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-150 px-6 py-4", x8 = "Cancel", F8 = "Ok", Mg = {
|
|
46212
46227
|
[Rn.Info]: {
|
|
46213
|
-
confirmVariant:
|
|
46214
|
-
cancelVariant:
|
|
46228
|
+
confirmVariant: Ne.Primary,
|
|
46229
|
+
cancelVariant: Ne.Secondary
|
|
46215
46230
|
},
|
|
46216
46231
|
[Rn.Danger]: {
|
|
46217
46232
|
container: "dial-danger-popup",
|
|
46218
|
-
confirmVariant:
|
|
46219
|
-
cancelVariant:
|
|
46233
|
+
confirmVariant: Ne.Danger,
|
|
46234
|
+
cancelVariant: Ne.Secondary
|
|
46220
46235
|
}
|
|
46221
46236
|
}, E8 = ({
|
|
46222
|
-
|
|
46237
|
+
header: e,
|
|
46223
46238
|
description: t,
|
|
46224
46239
|
descriptionClassName: s,
|
|
46225
46240
|
open: i = !1,
|
|
@@ -46240,15 +46255,15 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46240
46255
|
}) => {
|
|
46241
46256
|
const w = r ? null : /* @__PURE__ */ z("div", { className: y8, children: [
|
|
46242
46257
|
/* @__PURE__ */ m(
|
|
46243
|
-
|
|
46258
|
+
Ie,
|
|
46244
46259
|
{
|
|
46245
|
-
variant:
|
|
46260
|
+
variant: Ne.Secondary,
|
|
46246
46261
|
label: n,
|
|
46247
46262
|
onClick: () => h ? h() : d?.()
|
|
46248
46263
|
}
|
|
46249
46264
|
),
|
|
46250
46265
|
/* @__PURE__ */ m(
|
|
46251
|
-
|
|
46266
|
+
Ie,
|
|
46252
46267
|
{
|
|
46253
46268
|
variant: Mg[f].confirmVariant,
|
|
46254
46269
|
className: c,
|
|
@@ -46268,7 +46283,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46268
46283
|
yo,
|
|
46269
46284
|
{
|
|
46270
46285
|
open: i,
|
|
46271
|
-
|
|
46286
|
+
header: e,
|
|
46272
46287
|
className: ee(Mg[f].container, l),
|
|
46273
46288
|
dividers: p,
|
|
46274
46289
|
onClose: () => d?.(),
|
|
@@ -46285,7 +46300,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46285
46300
|
"flex gap-x-2 gap-y-1",
|
|
46286
46301
|
t
|
|
46287
46302
|
),
|
|
46288
|
-
children: e?.map((o) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(
|
|
46303
|
+
children: e?.map((o) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(Es, { tooltip: o, children: /* @__PURE__ */ m(
|
|
46289
46304
|
Ed,
|
|
46290
46305
|
{
|
|
46291
46306
|
tag: o,
|
|
@@ -46358,7 +46373,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46358
46373
|
(l || c) && "dial-input-error"
|
|
46359
46374
|
),
|
|
46360
46375
|
children: [
|
|
46361
|
-
/* @__PURE__ */ m(
|
|
46376
|
+
/* @__PURE__ */ m(Es, { tooltip: p == null ? void 0 : String(p), children: p || !u ? /* @__PURE__ */ m("span", { className: o, children: p }) : /* @__PURE__ */ m("span", { className: "text-secondary", children: u }) }),
|
|
46362
46377
|
!s && /* @__PURE__ */ m("div", { className: "flex-shrink-0", children: /* @__PURE__ */ m(
|
|
46363
46378
|
Ve,
|
|
46364
46379
|
{
|
|
@@ -46392,7 +46407,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46392
46407
|
inputClassName: a,
|
|
46393
46408
|
emptyValueText: l,
|
|
46394
46409
|
onClose: c,
|
|
46395
|
-
|
|
46410
|
+
header: d,
|
|
46396
46411
|
portalId: u,
|
|
46397
46412
|
onApply: h,
|
|
46398
46413
|
cancelButtonTitle: g = "Cancel",
|
|
@@ -46427,22 +46442,22 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46427
46442
|
{
|
|
46428
46443
|
open: S,
|
|
46429
46444
|
onClose: x,
|
|
46430
|
-
|
|
46445
|
+
header: d,
|
|
46431
46446
|
portalId: u,
|
|
46432
46447
|
size: b,
|
|
46433
46448
|
footer: /* @__PURE__ */ z("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
|
|
46434
46449
|
/* @__PURE__ */ m(
|
|
46435
|
-
|
|
46450
|
+
Ie,
|
|
46436
46451
|
{
|
|
46437
|
-
variant:
|
|
46452
|
+
variant: Ne.Secondary,
|
|
46438
46453
|
label: g,
|
|
46439
46454
|
onClick: x
|
|
46440
46455
|
}
|
|
46441
46456
|
),
|
|
46442
46457
|
/* @__PURE__ */ m(
|
|
46443
|
-
|
|
46458
|
+
Ie,
|
|
46444
46459
|
{
|
|
46445
|
-
variant:
|
|
46460
|
+
variant: Ne.Primary,
|
|
46446
46461
|
label: p,
|
|
46447
46462
|
onClick: E,
|
|
46448
46463
|
disabled: !f
|
|
@@ -46466,7 +46481,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46466
46481
|
)
|
|
46467
46482
|
] });
|
|
46468
46483
|
}, P8 = "Create", T8 = "Cancel", M8 = "flex items-center justify-end gap-2 px-6 py-3", V7 = ({
|
|
46469
|
-
|
|
46484
|
+
header: e,
|
|
46470
46485
|
open: t = !1,
|
|
46471
46486
|
submitLabel: s = P8,
|
|
46472
46487
|
cancelLabel: i = T8,
|
|
@@ -46484,17 +46499,17 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46484
46499
|
}) => {
|
|
46485
46500
|
const f = o ? null : /* @__PURE__ */ z("div", { className: M8, children: [
|
|
46486
46501
|
/* @__PURE__ */ m(
|
|
46487
|
-
|
|
46502
|
+
Ie,
|
|
46488
46503
|
{
|
|
46489
|
-
variant:
|
|
46504
|
+
variant: Ne.Secondary,
|
|
46490
46505
|
label: i,
|
|
46491
46506
|
onClick: () => d ? d() : l?.()
|
|
46492
46507
|
}
|
|
46493
46508
|
),
|
|
46494
46509
|
/* @__PURE__ */ m(
|
|
46495
|
-
|
|
46510
|
+
Ie,
|
|
46496
46511
|
{
|
|
46497
|
-
variant:
|
|
46512
|
+
variant: Ne.Primary,
|
|
46498
46513
|
className: a,
|
|
46499
46514
|
label: s,
|
|
46500
46515
|
disabled: n,
|
|
@@ -46506,7 +46521,7 @@ const y8 = "flex justify-end gap-2 px-6 py-4", R8 = "text-secondary dial-small-1
|
|
|
46506
46521
|
yo,
|
|
46507
46522
|
{
|
|
46508
46523
|
open: t,
|
|
46509
|
-
|
|
46524
|
+
header: e,
|
|
46510
46525
|
className: r,
|
|
46511
46526
|
dividers: h,
|
|
46512
46527
|
onClose: () => l?.(),
|
|
@@ -46616,7 +46631,7 @@ const L8 = {
|
|
|
46616
46631
|
return /* @__PURE__ */ z(
|
|
46617
46632
|
"div",
|
|
46618
46633
|
{
|
|
46619
|
-
className:
|
|
46634
|
+
className: ge(
|
|
46620
46635
|
"dial-input flex flex-row items-center justify-between",
|
|
46621
46636
|
n && "dial-input-error",
|
|
46622
46637
|
i && "dial-input-disable",
|
|
@@ -46679,17 +46694,17 @@ const L8 = {
|
|
|
46679
46694
|
}, W7 = ({
|
|
46680
46695
|
placeholder: e = "",
|
|
46681
46696
|
selectedItems: t = [],
|
|
46682
|
-
|
|
46683
|
-
|
|
46684
|
-
|
|
46685
|
-
|
|
46686
|
-
|
|
46697
|
+
listClassName: s,
|
|
46698
|
+
listElementClassName: i,
|
|
46699
|
+
containerClassName: o,
|
|
46700
|
+
inputClassName: n,
|
|
46701
|
+
onChange: r
|
|
46687
46702
|
}) => {
|
|
46688
46703
|
const [a, l] = I(""), c = D(
|
|
46689
46704
|
(u) => {
|
|
46690
|
-
u.key === "Enter" && (
|
|
46705
|
+
u.key === "Enter" && (r([...t, u.currentTarget.value]), l("")), (u.key === "Backspace" || u.key === "Delete") && t.length && !a && r(t.slice(0, -1));
|
|
46691
46706
|
},
|
|
46692
|
-
[t,
|
|
46707
|
+
[t, r, a]
|
|
46693
46708
|
), d = D(
|
|
46694
46709
|
(u) => {
|
|
46695
46710
|
l(u.target.value);
|
|
@@ -46701,15 +46716,15 @@ const L8 = {
|
|
|
46701
46716
|
{
|
|
46702
46717
|
className: ee([
|
|
46703
46718
|
"dial-input px-3 py-2 flex flex-row items-center flex-wrap w-fit gap-2",
|
|
46704
|
-
|
|
46719
|
+
o
|
|
46705
46720
|
]),
|
|
46706
46721
|
children: [
|
|
46707
46722
|
/* @__PURE__ */ m(
|
|
46708
46723
|
ev,
|
|
46709
46724
|
{
|
|
46710
46725
|
selectedItems: t,
|
|
46711
|
-
listClassName:
|
|
46712
|
-
listElementClassName:
|
|
46726
|
+
listClassName: s,
|
|
46727
|
+
listElementClassName: i
|
|
46713
46728
|
}
|
|
46714
46729
|
),
|
|
46715
46730
|
/* @__PURE__ */ m(
|
|
@@ -46717,7 +46732,7 @@ const L8 = {
|
|
|
46717
46732
|
{
|
|
46718
46733
|
type: "text",
|
|
46719
46734
|
value: a,
|
|
46720
|
-
className: ee(["border-0 bg-transparent p-0",
|
|
46735
|
+
className: ee(["border-0 bg-transparent p-0", n]),
|
|
46721
46736
|
placeholder: t?.length ? "" : e,
|
|
46722
46737
|
onKeyDown: c,
|
|
46723
46738
|
onChange: d
|
|
@@ -46921,14 +46936,14 @@ const z8 = ({
|
|
|
46921
46936
|
const ye = !t && le ? se[0] : void 0, Re = B(
|
|
46922
46937
|
() => ye ? e.find((j) => j.value === ye) : void 0,
|
|
46923
46938
|
[e, ye]
|
|
46924
|
-
),
|
|
46939
|
+
), Ae = D(() => !t || se.length === 0 ? null : /* @__PURE__ */ m(
|
|
46925
46940
|
sv,
|
|
46926
46941
|
{
|
|
46927
46942
|
options: e,
|
|
46928
46943
|
selectedValues: se,
|
|
46929
46944
|
handleRemoveTag: oe
|
|
46930
46945
|
}
|
|
46931
|
-
), [t, e, se, oe]),
|
|
46946
|
+
), [t, e, se, oe]), pe = D(() => t ? le ? Ae() : /* @__PURE__ */ m("span", { className: "text-secondary truncate", children: c }) : Re ? /* @__PURE__ */ z(Be, { children: [
|
|
46932
46947
|
Re.icon && /* @__PURE__ */ m(Ve, { icon: Re.icon }),
|
|
46933
46948
|
/* @__PURE__ */ m(
|
|
46934
46949
|
wt,
|
|
@@ -46944,7 +46959,7 @@ const z8 = ({
|
|
|
46944
46959
|
a,
|
|
46945
46960
|
i,
|
|
46946
46961
|
c,
|
|
46947
|
-
|
|
46962
|
+
Ae,
|
|
46948
46963
|
Re
|
|
46949
46964
|
]);
|
|
46950
46965
|
xn(T, () => ({
|
|
@@ -46988,7 +47003,7 @@ const z8 = ({
|
|
|
46988
47003
|
}
|
|
46989
47004
|
),
|
|
46990
47005
|
b && /* @__PURE__ */ m(
|
|
46991
|
-
|
|
47006
|
+
Ie,
|
|
46992
47007
|
{
|
|
46993
47008
|
"aria-label": "Close select",
|
|
46994
47009
|
className: "shrink-0",
|
|
@@ -47101,7 +47116,7 @@ const z8 = ({
|
|
|
47101
47116
|
"aria-haspopup": "listbox",
|
|
47102
47117
|
"aria-expanded": P,
|
|
47103
47118
|
"aria-controls": `list-${s || F}`,
|
|
47104
|
-
className:
|
|
47119
|
+
className: ge(
|
|
47105
47120
|
O8,
|
|
47106
47121
|
v && "opacity-75 !cursor-not-allowed",
|
|
47107
47122
|
r === sd.Sm ? "min-h-[25px] px-1.5 py-1" : "min-h-[38px] px-3 py-2",
|
|
@@ -47139,7 +47154,7 @@ const z8 = ({
|
|
|
47139
47154
|
"aria-disabled": v,
|
|
47140
47155
|
autoComplete: "off"
|
|
47141
47156
|
}
|
|
47142
|
-
) }) : /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary", children:
|
|
47157
|
+
) }) : /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: pe() }),
|
|
47143
47158
|
!E && /* @__PURE__ */ m(
|
|
47144
47159
|
Ve,
|
|
47145
47160
|
{
|
|
@@ -47847,9 +47862,9 @@ const tL = function(t, s, i) {
|
|
|
47847
47862
|
t && /* @__PURE__ */ m("p", { className: "mb-1", children: t }),
|
|
47848
47863
|
s && /* @__PURE__ */ m("p", { className: "mb-0.5", children: s }),
|
|
47849
47864
|
i && /* @__PURE__ */ m(
|
|
47850
|
-
|
|
47865
|
+
Ie,
|
|
47851
47866
|
{
|
|
47852
|
-
variant:
|
|
47867
|
+
variant: Ne.Tertiary,
|
|
47853
47868
|
label: i,
|
|
47854
47869
|
onClick: () => u.current?.click()
|
|
47855
47870
|
}
|
|
@@ -47966,9 +47981,9 @@ const tL = function(t, s, i) {
|
|
|
47966
47981
|
),
|
|
47967
47982
|
a && !!i?.length && /* @__PURE__ */ z("div", { className: "flex flex-row items-center gap-x-2", children: [
|
|
47968
47983
|
/* @__PURE__ */ m(
|
|
47969
|
-
|
|
47984
|
+
Ie,
|
|
47970
47985
|
{
|
|
47971
|
-
variant:
|
|
47986
|
+
variant: Ne.Tertiary,
|
|
47972
47987
|
className: "!text-error",
|
|
47973
47988
|
iconBefore: /* @__PURE__ */ m(En, { ...de }),
|
|
47974
47989
|
label: c,
|
|
@@ -47976,9 +47991,9 @@ const tL = function(t, s, i) {
|
|
|
47976
47991
|
}
|
|
47977
47992
|
),
|
|
47978
47993
|
(o ? o > i?.length : !0) && /* @__PURE__ */ m(
|
|
47979
|
-
|
|
47994
|
+
Ie,
|
|
47980
47995
|
{
|
|
47981
|
-
variant:
|
|
47996
|
+
variant: Ne.Tertiary,
|
|
47982
47997
|
iconBefore: /* @__PURE__ */ m(uw, { ...de }),
|
|
47983
47998
|
label: d,
|
|
47984
47999
|
onClick: g
|
|
@@ -48022,10 +48037,10 @@ const tL = function(t, s, i) {
|
|
|
48022
48037
|
items: e.items
|
|
48023
48038
|
},
|
|
48024
48039
|
onOpenChange: (o) => s(o),
|
|
48025
|
-
children: /* @__PURE__ */ m(
|
|
48040
|
+
children: /* @__PURE__ */ m(Ie, { ...e, iconAfter: i })
|
|
48026
48041
|
}
|
|
48027
48042
|
) });
|
|
48028
|
-
}, aL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Hg = "w-full text-secondary flex items-center gap-2", lL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", cL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", dL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", uL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", hL = 280, gL = "Files",
|
|
48043
|
+
}, aL = "w-full h-full grid grid-rows-[auto_1fr] gap-5 p-6 overflow-hidden min-w-0 bg-layer-2", Hg = "w-full text-secondary flex items-center gap-2", lL = "flex min-h-0 min-w-0 h-full gap-4 overflow-hidden", cL = "flex flex-col flex-1 min-h-0 min-w-0 h-full gap-4", dL = "w-full h-full rounded bg-layer-3 text-secondary overflow-auto min-w-0", uL = "flex-1 w-full rounded text-secondary overflow-auto min-h-0 min-w-0", hL = 280, gL = "Files", zs = 20, pL = "Files", rc = ".dial_folder", fL = 280, mL = 460, ac = 44, CL = 56, vL = 800;
|
|
48029
48044
|
var Le = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(Le || {}), wL = /* @__PURE__ */ ((e) => (e.FILE = "FILE", e.PROMPT = "PROMPT", e.CONVERSATION = "CONVERSATION", e.APPLICATION = "APPLICATION", e.TOOLSET = "TOOL_SET", e))(wL || {}), bL = /* @__PURE__ */ ((e) => (e.READ = "READ", e.WRITE = "WRITE", e.SHARE = "SHARE", e))(bL || {});
|
|
48030
48045
|
const Si = (e, t) => {
|
|
48031
48046
|
if (!(!e || !e.length || !t))
|
|
@@ -48147,7 +48162,7 @@ const EL = ({
|
|
|
48147
48162
|
inputRef: p,
|
|
48148
48163
|
onChange: f
|
|
48149
48164
|
}) => {
|
|
48150
|
-
const C = () => d ? /* @__PURE__ */ m(
|
|
48165
|
+
const C = () => d ? /* @__PURE__ */ m(Es, { tooltip: u, children: g || /* @__PURE__ */ m(
|
|
48151
48166
|
gw,
|
|
48152
48167
|
{
|
|
48153
48168
|
...de,
|
|
@@ -48173,7 +48188,7 @@ const EL = ({
|
|
|
48173
48188
|
/* @__PURE__ */ m(
|
|
48174
48189
|
ho,
|
|
48175
48190
|
{
|
|
48176
|
-
containerClassName:
|
|
48191
|
+
containerClassName: ge(
|
|
48177
48192
|
"!h-6 py-[1px] pl-[7px] pr-[7px]",
|
|
48178
48193
|
h
|
|
48179
48194
|
),
|
|
@@ -48379,7 +48394,7 @@ const pa = ({
|
|
|
48379
48394
|
"div",
|
|
48380
48395
|
{
|
|
48381
48396
|
style: { paddingLeft: `${T * FL}px` },
|
|
48382
|
-
className:
|
|
48397
|
+
className: ge(
|
|
48383
48398
|
"py-1 gap-[2px] dial-small flex justify-between hover:bg-accent-primary-alpha rounded group/item w-full mb-[2px] relative",
|
|
48384
48399
|
oe
|
|
48385
48400
|
),
|
|
@@ -48417,7 +48432,7 @@ const pa = ({
|
|
|
48417
48432
|
type: H ? Qt.Folder : Qt.File,
|
|
48418
48433
|
loading: ue,
|
|
48419
48434
|
shared: te,
|
|
48420
|
-
iconSize:
|
|
48435
|
+
iconSize: zs,
|
|
48421
48436
|
...!Z && {
|
|
48422
48437
|
editing: U,
|
|
48423
48438
|
onSave: C,
|
|
@@ -48470,7 +48485,7 @@ const pa = ({
|
|
|
48470
48485
|
);
|
|
48471
48486
|
}, ML = "w-full flex items-center justify-between gap-4", IL = "min-w-0 h-[38px] flex-1 overflow-hidden bg-layer-3 px-3 flex items-center rounded", AL = "w-[260px]", kL = ({
|
|
48472
48487
|
ariaLabel: e = "Breadcrumb",
|
|
48473
|
-
|
|
48488
|
+
labelClassName: t,
|
|
48474
48489
|
onItemClick: s,
|
|
48475
48490
|
path: i,
|
|
48476
48491
|
makeHref: o,
|
|
@@ -48492,11 +48507,11 @@ const pa = ({
|
|
|
48492
48507
|
const b = B(() => {
|
|
48493
48508
|
if (!i) return;
|
|
48494
48509
|
const T = i.split("/").map((F) => F.trim()).filter(Boolean);
|
|
48495
|
-
if (!T.length) return [{
|
|
48510
|
+
if (!T.length) return [{ label: "/" }];
|
|
48496
48511
|
const k = T.map((F, P) => {
|
|
48497
48512
|
const G = T.slice(0, P + 1), _ = typeof o == "function" ? o(G, P) : void 0;
|
|
48498
48513
|
return {
|
|
48499
|
-
|
|
48514
|
+
label: F,
|
|
48500
48515
|
href: _,
|
|
48501
48516
|
onClick: s ? (H) => {
|
|
48502
48517
|
H.preventDefault(), s(_);
|
|
@@ -48511,7 +48526,7 @@ const pa = ({
|
|
|
48511
48526
|
const _ = k.slice(F.length);
|
|
48512
48527
|
return [
|
|
48513
48528
|
{
|
|
48514
|
-
|
|
48529
|
+
label: r,
|
|
48515
48530
|
href: n,
|
|
48516
48531
|
onClick: s ? (H) => {
|
|
48517
48532
|
H.preventDefault(), s(n);
|
|
@@ -48531,10 +48546,10 @@ const pa = ({
|
|
|
48531
48546
|
}, [u, S]), x = D(() => {
|
|
48532
48547
|
(!d || String(d).trim() === "") && f?.("");
|
|
48533
48548
|
}, [d, f]), E = D(() => w && S ? /* @__PURE__ */ m(
|
|
48534
|
-
|
|
48549
|
+
Ie,
|
|
48535
48550
|
{
|
|
48536
48551
|
className: "!p-[9px]",
|
|
48537
|
-
variant:
|
|
48552
|
+
variant: Ne.Secondary,
|
|
48538
48553
|
iconBefore: /* @__PURE__ */ m(fw, { ...de }),
|
|
48539
48554
|
onClick: () => {
|
|
48540
48555
|
y(!1), f?.("");
|
|
@@ -48545,7 +48560,7 @@ const pa = ({
|
|
|
48545
48560
|
{
|
|
48546
48561
|
pathItems: b,
|
|
48547
48562
|
ariaLabel: e,
|
|
48548
|
-
|
|
48563
|
+
labelClassName: t,
|
|
48549
48564
|
className: l
|
|
48550
48565
|
}
|
|
48551
48566
|
) }), [
|
|
@@ -48560,7 +48575,7 @@ const pa = ({
|
|
|
48560
48575
|
return /* @__PURE__ */ z(
|
|
48561
48576
|
"div",
|
|
48562
48577
|
{
|
|
48563
|
-
className:
|
|
48578
|
+
className: ge(
|
|
48564
48579
|
ML,
|
|
48565
48580
|
{
|
|
48566
48581
|
"gap-3": w
|
|
@@ -48573,7 +48588,7 @@ const pa = ({
|
|
|
48573
48588
|
c && /* @__PURE__ */ m(
|
|
48574
48589
|
"div",
|
|
48575
48590
|
{
|
|
48576
|
-
className:
|
|
48591
|
+
className: ge(AL, {
|
|
48577
48592
|
"w-[38px]": w && !S,
|
|
48578
48593
|
"w-full": w && S
|
|
48579
48594
|
}),
|
|
@@ -48591,7 +48606,7 @@ const pa = ({
|
|
|
48591
48606
|
onBlur: x,
|
|
48592
48607
|
invalid: p,
|
|
48593
48608
|
className: C,
|
|
48594
|
-
containerClassName:
|
|
48609
|
+
containerClassName: ge(v, {
|
|
48595
48610
|
"p-[10px]": w
|
|
48596
48611
|
})
|
|
48597
48612
|
}
|
|
@@ -48616,7 +48631,7 @@ const uv = () => {
|
|
|
48616
48631
|
areHiddenFilesVisible: i,
|
|
48617
48632
|
onToggleHiddenFiles: o,
|
|
48618
48633
|
isNewButtonVisible: n,
|
|
48619
|
-
newButtonVariant: r =
|
|
48634
|
+
newButtonVariant: r = Ne.Secondary,
|
|
48620
48635
|
newButtonDropdownItems: a = [],
|
|
48621
48636
|
newButtonLabel: l = "New",
|
|
48622
48637
|
hiddenFilesSwitcherLabel: c = "Hidden files",
|
|
@@ -48650,7 +48665,7 @@ const uv = () => {
|
|
|
48650
48665
|
JC,
|
|
48651
48666
|
{
|
|
48652
48667
|
switchId: "hidden-files-switch",
|
|
48653
|
-
|
|
48668
|
+
label: c,
|
|
48654
48669
|
isOn: i,
|
|
48655
48670
|
onChange: o
|
|
48656
48671
|
}
|
|
@@ -48673,7 +48688,7 @@ const uv = () => {
|
|
|
48673
48688
|
menu: { items: g },
|
|
48674
48689
|
allowedPlacements: ["bottom", "bottom-start"],
|
|
48675
48690
|
children: /* @__PURE__ */ m(
|
|
48676
|
-
|
|
48691
|
+
Ie,
|
|
48677
48692
|
{
|
|
48678
48693
|
className: "h-[38px]",
|
|
48679
48694
|
iconBefore: /* @__PURE__ */ m(
|
|
@@ -48770,11 +48785,11 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48770
48785
|
ref: a,
|
|
48771
48786
|
className: "absolute top-0 left-0 invisible pointer-events-none overflow-hidden whitespace-nowrap flex gap-3",
|
|
48772
48787
|
children: s.map(({ key: u, icon: h, title: g }) => /* @__PURE__ */ m(
|
|
48773
|
-
|
|
48788
|
+
Ie,
|
|
48774
48789
|
{
|
|
48775
48790
|
iconBefore: h,
|
|
48776
48791
|
label: g,
|
|
48777
|
-
variant:
|
|
48792
|
+
variant: Ne.Secondary,
|
|
48778
48793
|
hideTitleOnMobile: !0
|
|
48779
48794
|
},
|
|
48780
48795
|
u
|
|
@@ -48790,12 +48805,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48790
48805
|
"aria-label": "File bulk actions",
|
|
48791
48806
|
children: [
|
|
48792
48807
|
/* @__PURE__ */ m("div", { ref: r, children: /* @__PURE__ */ m(
|
|
48793
|
-
|
|
48808
|
+
Ie,
|
|
48794
48809
|
{
|
|
48795
48810
|
label: d,
|
|
48796
48811
|
onClick: t,
|
|
48797
48812
|
textClassName: "text-accent-primary whitespace-nowrap",
|
|
48798
|
-
variant:
|
|
48813
|
+
variant: Ne.Tertiary,
|
|
48799
48814
|
iconBefore: /* @__PURE__ */ m(go, { ...de, className: "text-accent-primary" })
|
|
48800
48815
|
}
|
|
48801
48816
|
) }),
|
|
@@ -48806,7 +48821,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48806
48821
|
menu: { items: c },
|
|
48807
48822
|
allowedPlacements: ["bottom", "bottom-start"],
|
|
48808
48823
|
children: /* @__PURE__ */ m(
|
|
48809
|
-
|
|
48824
|
+
Ie,
|
|
48810
48825
|
{
|
|
48811
48826
|
className: "h-[38px]",
|
|
48812
48827
|
iconBefore: /* @__PURE__ */ m(
|
|
@@ -48821,12 +48836,12 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
48821
48836
|
}
|
|
48822
48837
|
),
|
|
48823
48838
|
l.map(({ key: u, icon: h, title: g, onClick: p, disabled: f }) => /* @__PURE__ */ m(
|
|
48824
|
-
|
|
48839
|
+
Ie,
|
|
48825
48840
|
{
|
|
48826
48841
|
className: "!p-[9px]",
|
|
48827
48842
|
iconBefore: h,
|
|
48828
48843
|
label: g,
|
|
48829
|
-
variant:
|
|
48844
|
+
variant: Ne.Secondary,
|
|
48830
48845
|
hideTitleOnMobile: !0,
|
|
48831
48846
|
disabled: f,
|
|
48832
48847
|
onClick: (C) => p?.({ key: u, domEvent: C })
|
|
@@ -49280,26 +49295,26 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49280
49295
|
u(void 0), p.current = $;
|
|
49281
49296
|
const fe = _(A);
|
|
49282
49297
|
if (fe.length > 0) {
|
|
49283
|
-
const
|
|
49284
|
-
return u(
|
|
49298
|
+
const Ae = s ? (s / 1048576).toFixed(2) : 0, pe = o.oversizedFiles || `Files exceed maximum size (${Ae}MB): ${fe.join(", ")}`;
|
|
49299
|
+
return u(pe), !1;
|
|
49285
49300
|
}
|
|
49286
49301
|
if (t)
|
|
49287
49302
|
try {
|
|
49288
|
-
const
|
|
49303
|
+
const Ae = await t(
|
|
49289
49304
|
A,
|
|
49290
49305
|
$,
|
|
49291
49306
|
Y
|
|
49292
49307
|
);
|
|
49293
|
-
if (!
|
|
49308
|
+
if (!Ae.valid)
|
|
49294
49309
|
return u(
|
|
49295
|
-
|
|
49310
|
+
Ae.message || o.validationFailed || "Validation failed"
|
|
49296
49311
|
), !1;
|
|
49297
49312
|
} catch {
|
|
49298
49313
|
return u(
|
|
49299
49314
|
o.validationError || "Validation error occurred"
|
|
49300
49315
|
), !1;
|
|
49301
49316
|
}
|
|
49302
|
-
const le = new Map(A.map((
|
|
49317
|
+
const le = new Map(A.map((Ae) => [Ae.name, Ae]));
|
|
49303
49318
|
C(le);
|
|
49304
49319
|
const ye = H(A, Y);
|
|
49305
49320
|
return w({ destinationFolder: Y }), x(Y, ye, {
|
|
@@ -49399,7 +49414,7 @@ const GL = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
|
|
|
49399
49414
|
}
|
|
49400
49415
|
const ye = le.name.replace(/\.zip$/i, "");
|
|
49401
49416
|
if (Y.some(
|
|
49402
|
-
(
|
|
49417
|
+
(Ae) => Ae.nodeType === Le.FOLDER && Ae.name.toLowerCase() === ye.toLowerCase()
|
|
49403
49418
|
)) {
|
|
49404
49419
|
u(
|
|
49405
49420
|
o.validationFailed || `Folder with name "${ye}" already exists`
|
|
@@ -49655,14 +49670,14 @@ const QL = ({
|
|
|
49655
49670
|
const i = t === 0;
|
|
49656
49671
|
return {
|
|
49657
49672
|
additionalButtons: B(() => {
|
|
49658
|
-
const n =
|
|
49673
|
+
const n = ge([
|
|
49659
49674
|
"hover:text-accent-primary p-1",
|
|
49660
49675
|
i && "text-controls-disable hover:text-controls-disable disabled:hover:cursor-default"
|
|
49661
49676
|
]);
|
|
49662
49677
|
return /* @__PURE__ */ z(Be, { children: [
|
|
49663
49678
|
e,
|
|
49664
49679
|
/* @__PURE__ */ m(
|
|
49665
|
-
|
|
49680
|
+
Ie,
|
|
49666
49681
|
{
|
|
49667
49682
|
disabled: i,
|
|
49668
49683
|
className: n,
|
|
@@ -49712,55 +49727,55 @@ function o7({
|
|
|
49712
49727
|
onNavigationPanelSearchChange: r,
|
|
49713
49728
|
allItems: a = []
|
|
49714
49729
|
}) {
|
|
49715
|
-
const [l, c] = I(""), d = L(!1), u = L(!1), h = L([]);
|
|
49730
|
+
const [l, c] = I(""), d = L(!1), u = L(!1), h = L([]), g = L(s);
|
|
49716
49731
|
Se(() => {
|
|
49717
49732
|
n != null && c(String(n));
|
|
49718
49733
|
}, [n]);
|
|
49719
|
-
const
|
|
49734
|
+
const p = String(
|
|
49720
49735
|
n ?? l ?? ""
|
|
49721
|
-
).trim(),
|
|
49722
|
-
(
|
|
49723
|
-
const
|
|
49724
|
-
if (!
|
|
49736
|
+
).trim(), f = u.current && (o || i.length > 0 || p !== ""), C = D(
|
|
49737
|
+
(S) => {
|
|
49738
|
+
const y = S.trim();
|
|
49739
|
+
if (!y) {
|
|
49725
49740
|
u.current = !1, d.current = !1;
|
|
49726
49741
|
return;
|
|
49727
49742
|
}
|
|
49728
|
-
u.current = !0, e && s && !d.current && (d.current = !0, e(s,
|
|
49743
|
+
u.current = !0, e && s && !d.current && (d.current = !0, e(s, y));
|
|
49729
49744
|
},
|
|
49730
49745
|
[e, s]
|
|
49731
|
-
),
|
|
49732
|
-
d.current = !1, u.current = !1, h.current = [], t?.();
|
|
49733
|
-
}, [t]),
|
|
49734
|
-
(
|
|
49735
|
-
const
|
|
49736
|
-
c(
|
|
49746
|
+
), v = D(() => {
|
|
49747
|
+
d.current = !1, u.current = !1, h.current = [], c(""), r?.(""), t?.();
|
|
49748
|
+
}, [t, r]), w = D(
|
|
49749
|
+
(S) => {
|
|
49750
|
+
const y = String(S ?? "");
|
|
49751
|
+
c(y), r?.(y), y.trim() ? C(y) : v();
|
|
49737
49752
|
},
|
|
49738
|
-
[r,
|
|
49753
|
+
[r, C, v]
|
|
49739
49754
|
);
|
|
49740
49755
|
Se(() => {
|
|
49741
|
-
u.current &&
|
|
49742
|
-
}, [s,
|
|
49756
|
+
g.current !== s && (g.current = s, (u.current || p) && v());
|
|
49757
|
+
}, [s, v, p]), Se(() => {
|
|
49743
49758
|
i.length > 0 && h.current.length === 0 && (h.current = i);
|
|
49744
49759
|
}, [i]);
|
|
49745
|
-
const
|
|
49760
|
+
const b = B(() => {
|
|
49746
49761
|
if (e) {
|
|
49747
|
-
const
|
|
49748
|
-
return !
|
|
49762
|
+
const y = h.current.length > 0 ? h.current : i;
|
|
49763
|
+
return !p || y.length === 0 ? y : zg(y, p);
|
|
49749
49764
|
}
|
|
49750
|
-
if (!
|
|
49765
|
+
if (!p || !a.length)
|
|
49751
49766
|
return [];
|
|
49752
|
-
const
|
|
49753
|
-
return zg(
|
|
49754
|
-
}, [e, i,
|
|
49767
|
+
const S = i7(a);
|
|
49768
|
+
return zg(S, p);
|
|
49769
|
+
}, [e, i, p, a]);
|
|
49755
49770
|
return {
|
|
49756
|
-
isSearchMode:
|
|
49771
|
+
isSearchMode: f,
|
|
49757
49772
|
searchValue: l,
|
|
49758
|
-
effectiveSearchValue:
|
|
49773
|
+
effectiveSearchValue: p,
|
|
49759
49774
|
setSearchValue: c,
|
|
49760
|
-
handleSearchChange:
|
|
49761
|
-
handleSearchActivate:
|
|
49762
|
-
handleSearchClear:
|
|
49763
|
-
searchResultsRows:
|
|
49775
|
+
handleSearchChange: w,
|
|
49776
|
+
handleSearchActivate: C,
|
|
49777
|
+
handleSearchClear: v,
|
|
49778
|
+
searchResultsRows: b
|
|
49764
49779
|
};
|
|
49765
49780
|
}
|
|
49766
49781
|
function n7({
|
|
@@ -49844,19 +49859,19 @@ const r7 = ({
|
|
|
49844
49859
|
defaultSelectedPaths: l,
|
|
49845
49860
|
onSelectedPathsChange: c
|
|
49846
49861
|
}), ye = B(() => {
|
|
49847
|
-
const
|
|
49862
|
+
const He = /* @__PURE__ */ new Map();
|
|
49848
49863
|
return $.forEach((Pt) => {
|
|
49849
49864
|
const ts = Si(s, Pt);
|
|
49850
|
-
ts &&
|
|
49851
|
-
}),
|
|
49852
|
-
}, [$, s]), { currentPath: Re, setCurrentPath:
|
|
49865
|
+
ts && He.set(Pt, ts);
|
|
49866
|
+
}), He;
|
|
49867
|
+
}, [$, s]), { currentPath: Re, setCurrentPath: Ae, handlePathChange: pe } = WL({
|
|
49853
49868
|
path: o,
|
|
49854
49869
|
defaultPath: n,
|
|
49855
49870
|
onPathChange: S,
|
|
49856
49871
|
onSelectionClear: fe
|
|
49857
49872
|
}), [Pe, j] = I(), xe = w?.destinationFolderPath ?? Pe, ve = D(
|
|
49858
|
-
(
|
|
49859
|
-
w?.setDestinationFolderPath ? w.setDestinationFolderPath(
|
|
49873
|
+
(He) => {
|
|
49874
|
+
w?.setDestinationFolderPath ? w.setDestinationFolderPath(He) : j(He);
|
|
49860
49875
|
},
|
|
49861
49876
|
[w]
|
|
49862
49877
|
), { areHiddenFilesVisible: De, toggleHiddenFilesVisibility: Je } = BL({
|
|
@@ -49915,7 +49930,7 @@ const r7 = ({
|
|
|
49915
49930
|
handleConflictDuplicate: Gn,
|
|
49916
49931
|
handleConflictDecideForEach: Bn
|
|
49917
49932
|
} = zL({
|
|
49918
|
-
getDestinationFiles: (
|
|
49933
|
+
getDestinationFiles: (He) => Gg(s, He)?.items ?? [],
|
|
49919
49934
|
onCopyFiles: R,
|
|
49920
49935
|
onMoveToFiles: x,
|
|
49921
49936
|
onCopySuccess: fe,
|
|
@@ -49973,20 +49988,20 @@ const r7 = ({
|
|
|
49973
49988
|
allowedFileTypes: Y,
|
|
49974
49989
|
validationMessages: _
|
|
49975
49990
|
}), sl = D(
|
|
49976
|
-
(
|
|
49991
|
+
(He) => {
|
|
49977
49992
|
const Pt = Re ?? "", ts = Dt?.items ?? [];
|
|
49978
|
-
Mi(
|
|
49993
|
+
Mi(He, Pt, ts);
|
|
49979
49994
|
},
|
|
49980
49995
|
[Re, Dt, Mi]
|
|
49981
49996
|
), ko = D(() => {
|
|
49982
|
-
const
|
|
49983
|
-
Io(
|
|
49997
|
+
const He = Re ?? "", Pt = Dt?.items ?? [];
|
|
49998
|
+
Io(He, Pt);
|
|
49984
49999
|
}, [Re, Dt, Io]), il = D(() => {
|
|
49985
|
-
const
|
|
49986
|
-
it(
|
|
50000
|
+
const He = Re ?? "", Pt = Dt?.items ?? [];
|
|
50001
|
+
it(He, Pt);
|
|
49987
50002
|
}, [Re, Dt, it]), {
|
|
49988
50003
|
isCreatingFolder: Lo,
|
|
49989
|
-
newFolderTempId:
|
|
50004
|
+
newFolderTempId: Is,
|
|
49990
50005
|
startFolderCreation: Oo,
|
|
49991
50006
|
cancelFolderCreation: No,
|
|
49992
50007
|
saveFolderCreation: qn,
|
|
@@ -50028,8 +50043,8 @@ const r7 = ({
|
|
|
50028
50043
|
owner: dt.owner
|
|
50029
50044
|
}));
|
|
50030
50045
|
}
|
|
50031
|
-
const
|
|
50032
|
-
let ts =
|
|
50046
|
+
const He = so(Fo).trim(), Pt = Dt?.items ?? [];
|
|
50047
|
+
let ts = He ? yL(Dt) : Pt;
|
|
50033
50048
|
De || (ts = ts.filter((Ue) => !nd(Ue)));
|
|
50034
50049
|
const ul = ts.map((Ue) => ({
|
|
50035
50050
|
id: Ue.id ?? Ue.path,
|
|
@@ -50044,19 +50059,19 @@ const r7 = ({
|
|
|
50044
50059
|
owner: Ue.owner,
|
|
50045
50060
|
contentType: Ue.contentType
|
|
50046
50061
|
}));
|
|
50047
|
-
if (Lo &&
|
|
50048
|
-
id:
|
|
50062
|
+
if (Lo && Is && !He && ul.unshift({
|
|
50063
|
+
id: Is,
|
|
50049
50064
|
name: "",
|
|
50050
50065
|
updatedAt: void 0,
|
|
50051
50066
|
size: "",
|
|
50052
50067
|
author: void 0,
|
|
50053
|
-
path:
|
|
50068
|
+
path: Is,
|
|
50054
50069
|
nodeType: Le.FOLDER,
|
|
50055
50070
|
extension: void 0,
|
|
50056
50071
|
isTemporary: !0,
|
|
50057
50072
|
owner: void 0
|
|
50058
|
-
}), !
|
|
50059
|
-
const Cv =
|
|
50073
|
+
}), !He) return ul;
|
|
50074
|
+
const Cv = He.split(/\s+/).filter(Boolean);
|
|
50060
50075
|
return ul.filter((Ue) => {
|
|
50061
50076
|
if (Ue.isTemporary) return !0;
|
|
50062
50077
|
const Ct = so(Ue.name), dt = so(Ue.author), vv = SL(Ue.extension);
|
|
@@ -50071,22 +50086,22 @@ const r7 = ({
|
|
|
50071
50086
|
Fo,
|
|
50072
50087
|
De,
|
|
50073
50088
|
Lo,
|
|
50074
|
-
|
|
50075
|
-
]),
|
|
50076
|
-
(
|
|
50077
|
-
|
|
50089
|
+
Is
|
|
50090
|
+
]), As = D(
|
|
50091
|
+
(He) => {
|
|
50092
|
+
pe(He.path);
|
|
50078
50093
|
},
|
|
50079
|
-
[
|
|
50080
|
-
),
|
|
50081
|
-
(
|
|
50082
|
-
|
|
50094
|
+
[pe]
|
|
50095
|
+
), ks = D(
|
|
50096
|
+
(He) => {
|
|
50097
|
+
pe(He);
|
|
50083
50098
|
},
|
|
50084
|
-
[
|
|
50099
|
+
[pe]
|
|
50085
50100
|
), Ho = D(
|
|
50086
|
-
(
|
|
50087
|
-
|
|
50101
|
+
(He) => {
|
|
50102
|
+
He.nodeType === Le.FOLDER ? pe(He.path) : y?.(He);
|
|
50088
50103
|
},
|
|
50089
|
-
[
|
|
50104
|
+
[pe, y]
|
|
50090
50105
|
), { expandedPaths: Zn, setExpandedPaths: nl, collapseAll: Qs } = dv({
|
|
50091
50106
|
expandedPaths: h?.expandedPaths,
|
|
50092
50107
|
onExpandedPathsChange: h?.onExpandedPathsChange
|
|
@@ -50122,13 +50137,13 @@ const r7 = ({
|
|
|
50122
50137
|
...w,
|
|
50123
50138
|
destinationFolderPath: xe,
|
|
50124
50139
|
setDestinationFolderPath: ve,
|
|
50125
|
-
|
|
50140
|
+
header: Eo,
|
|
50126
50141
|
onCreateFolder: ne,
|
|
50127
50142
|
onCreateFolderValidate: N,
|
|
50128
50143
|
folderCreationValidationMessages: ue
|
|
50129
50144
|
},
|
|
50130
50145
|
currentPath: Re,
|
|
50131
|
-
setCurrentPath:
|
|
50146
|
+
setCurrentPath: Ae,
|
|
50132
50147
|
searchValue: Na,
|
|
50133
50148
|
effectiveSearchValue: Fo,
|
|
50134
50149
|
setSearchValue: Ha,
|
|
@@ -50165,9 +50180,9 @@ const r7 = ({
|
|
|
50165
50180
|
confirmDelete: Do,
|
|
50166
50181
|
deleteConfirmationOpen: Vn,
|
|
50167
50182
|
itemsToDelete: zn,
|
|
50168
|
-
handlePathChange:
|
|
50169
|
-
handleTreeItemClick:
|
|
50170
|
-
handleBreadcrumbItemClick:
|
|
50183
|
+
handlePathChange: pe,
|
|
50184
|
+
handleTreeItemClick: As,
|
|
50185
|
+
handleBreadcrumbItemClick: ks,
|
|
50171
50186
|
handleSearchChange: Ga,
|
|
50172
50187
|
handleTableRowClick: Ho,
|
|
50173
50188
|
onTableFileClick: y,
|
|
@@ -50187,7 +50202,7 @@ const r7 = ({
|
|
|
50187
50202
|
newActions: ol,
|
|
50188
50203
|
isNewButtonVisible: K,
|
|
50189
50204
|
isCreatingFolder: Lo,
|
|
50190
|
-
newFolderTempId:
|
|
50205
|
+
newFolderTempId: Is,
|
|
50191
50206
|
startFolderCreation: Oo,
|
|
50192
50207
|
cancelFolderCreation: No,
|
|
50193
50208
|
saveFolderCreation: qn,
|
|
@@ -50310,7 +50325,7 @@ const fv = ({
|
|
|
50310
50325
|
E8,
|
|
50311
50326
|
{
|
|
50312
50327
|
open: e,
|
|
50313
|
-
|
|
50328
|
+
header: d,
|
|
50314
50329
|
confirmLabel: n,
|
|
50315
50330
|
cancelLabel: o,
|
|
50316
50331
|
variant: Rn.Danger,
|
|
@@ -50331,12 +50346,15 @@ const fv = ({
|
|
|
50331
50346
|
onUploadFiles: l,
|
|
50332
50347
|
onValidateUpload: c,
|
|
50333
50348
|
maxFileSize: d,
|
|
50334
|
-
|
|
50335
|
-
|
|
50349
|
+
header: u,
|
|
50350
|
+
sourceFolder: h,
|
|
50351
|
+
disabledPathTooltip: g = "Unavailable for the original path. Please select another folder",
|
|
50352
|
+
path: p,
|
|
50353
|
+
...f
|
|
50336
50354
|
}) => {
|
|
50337
|
-
const [
|
|
50338
|
-
|
|
50339
|
-
}, []),
|
|
50355
|
+
const [C, v] = I(!1), w = L(null), b = D((R) => {
|
|
50356
|
+
v(R);
|
|
50357
|
+
}, []), S = r === tt.Copy ? "Copy to" : "Move to", y = B(() => !p || !h ? !1 : h === p, [p, h]);
|
|
50340
50358
|
return /* @__PURE__ */ m(
|
|
50341
50359
|
yo,
|
|
50342
50360
|
{
|
|
@@ -50349,13 +50367,13 @@ const fv = ({
|
|
|
50349
50367
|
footer: /* @__PURE__ */ z("div", { className: "flex justify-between space-x-2 py-4 px-6", children: [
|
|
50350
50368
|
/* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
|
|
50351
50369
|
/* @__PURE__ */ m(
|
|
50352
|
-
|
|
50370
|
+
Ie,
|
|
50353
50371
|
{
|
|
50354
50372
|
label: n,
|
|
50355
|
-
variant:
|
|
50373
|
+
variant: Ne.Tertiary,
|
|
50356
50374
|
iconBefore: /* @__PURE__ */ m(vw, { ...de }),
|
|
50357
50375
|
onClick: () => {
|
|
50358
|
-
|
|
50376
|
+
w.current?.createFolder();
|
|
50359
50377
|
}
|
|
50360
50378
|
}
|
|
50361
50379
|
),
|
|
@@ -50364,15 +50382,15 @@ const fv = ({
|
|
|
50364
50382
|
"div",
|
|
50365
50383
|
{
|
|
50366
50384
|
className: "inline-flex items-center cursor-pointer",
|
|
50367
|
-
onClick: (
|
|
50368
|
-
|
|
50385
|
+
onClick: (R) => {
|
|
50386
|
+
R.stopPropagation(), b(!C);
|
|
50369
50387
|
},
|
|
50370
50388
|
children: /* @__PURE__ */ m(
|
|
50371
50389
|
JC,
|
|
50372
50390
|
{
|
|
50373
|
-
|
|
50374
|
-
isOn:
|
|
50375
|
-
onChange:
|
|
50391
|
+
label: a,
|
|
50392
|
+
isOn: C,
|
|
50393
|
+
onChange: b,
|
|
50376
50394
|
switchId: "hidden-files-switch"
|
|
50377
50395
|
}
|
|
50378
50396
|
)
|
|
@@ -50381,39 +50399,49 @@ const fv = ({
|
|
|
50381
50399
|
] }),
|
|
50382
50400
|
/* @__PURE__ */ z("div", { className: "flex space-x-4", children: [
|
|
50383
50401
|
/* @__PURE__ */ m(
|
|
50384
|
-
|
|
50402
|
+
Ie,
|
|
50385
50403
|
{
|
|
50386
50404
|
onClick: e,
|
|
50387
50405
|
label: "Cancel",
|
|
50388
|
-
variant:
|
|
50406
|
+
variant: Ne.Secondary
|
|
50389
50407
|
}
|
|
50390
50408
|
),
|
|
50391
|
-
/* @__PURE__ */ m(
|
|
50392
|
-
|
|
50409
|
+
y ? /* @__PURE__ */ m(Es, { tooltip: g, children: /* @__PURE__ */ m(
|
|
50410
|
+
Ie,
|
|
50393
50411
|
{
|
|
50394
50412
|
onClick: t,
|
|
50395
50413
|
label: r === "copy" ? i : o,
|
|
50396
|
-
variant:
|
|
50414
|
+
variant: Ne.Primary,
|
|
50415
|
+
disabled: y,
|
|
50416
|
+
"aria-disabled": y
|
|
50417
|
+
}
|
|
50418
|
+
) }) : /* @__PURE__ */ m(
|
|
50419
|
+
Ie,
|
|
50420
|
+
{
|
|
50421
|
+
onClick: t,
|
|
50422
|
+
label: r === "copy" ? i : o,
|
|
50423
|
+
variant: Ne.Primary
|
|
50397
50424
|
}
|
|
50398
50425
|
)
|
|
50399
50426
|
] })
|
|
50400
50427
|
] }),
|
|
50401
|
-
|
|
50428
|
+
header: u ?? S,
|
|
50402
50429
|
children: /* @__PURE__ */ m(
|
|
50403
50430
|
y7,
|
|
50404
50431
|
{
|
|
50405
|
-
...
|
|
50406
|
-
actionsRef:
|
|
50407
|
-
|
|
50408
|
-
|
|
50432
|
+
...f,
|
|
50433
|
+
actionsRef: w,
|
|
50434
|
+
path: p,
|
|
50435
|
+
showHiddenFiles: C,
|
|
50436
|
+
onShowHiddenFilesChange: b,
|
|
50409
50437
|
treeOptions: {
|
|
50410
|
-
...
|
|
50438
|
+
...f.treeOptions,
|
|
50411
50439
|
collapsed: !0,
|
|
50412
|
-
expandedPaths: /* @__PURE__ */ new Set([
|
|
50440
|
+
expandedPaths: /* @__PURE__ */ new Set([f.rootItem?.path || "/"])
|
|
50413
50441
|
},
|
|
50414
50442
|
gridOptions: {
|
|
50415
50443
|
withSelectionColumn: !1,
|
|
50416
|
-
...
|
|
50444
|
+
...f.gridOptions
|
|
50417
50445
|
},
|
|
50418
50446
|
onUploadFiles: l,
|
|
50419
50447
|
onValidateUpload: c,
|
|
@@ -50644,13 +50672,13 @@ const fv = ({
|
|
|
50644
50672
|
Ld,
|
|
50645
50673
|
{
|
|
50646
50674
|
name: X.data.name,
|
|
50647
|
-
iconSize:
|
|
50675
|
+
iconSize: zs
|
|
50648
50676
|
}
|
|
50649
50677
|
) : /* @__PURE__ */ m(
|
|
50650
50678
|
kd,
|
|
50651
50679
|
{
|
|
50652
50680
|
name: X.data.name,
|
|
50653
|
-
iconSize:
|
|
50681
|
+
iconSize: zs
|
|
50654
50682
|
}
|
|
50655
50683
|
)
|
|
50656
50684
|
},
|
|
@@ -50803,23 +50831,23 @@ const fv = ({
|
|
|
50803
50831
|
open: e,
|
|
50804
50832
|
onClose: t,
|
|
50805
50833
|
size: Zt.Md,
|
|
50806
|
-
|
|
50834
|
+
header: H,
|
|
50807
50835
|
dividers: !1,
|
|
50808
50836
|
footer: /* @__PURE__ */ z("div", { className: "flex justify-end gap-3 py-4 px-6", children: [
|
|
50809
50837
|
/* @__PURE__ */ m(
|
|
50810
|
-
|
|
50838
|
+
Ie,
|
|
50811
50839
|
{
|
|
50812
50840
|
onClick: t,
|
|
50813
50841
|
label: h,
|
|
50814
|
-
variant:
|
|
50842
|
+
variant: Ne.Secondary
|
|
50815
50843
|
}
|
|
50816
50844
|
),
|
|
50817
50845
|
/* @__PURE__ */ m(
|
|
50818
|
-
|
|
50846
|
+
Ie,
|
|
50819
50847
|
{
|
|
50820
50848
|
onClick: Z,
|
|
50821
50849
|
label: u,
|
|
50822
|
-
variant:
|
|
50850
|
+
variant: Ne.Primary
|
|
50823
50851
|
}
|
|
50824
50852
|
)
|
|
50825
50853
|
] }),
|
|
@@ -50864,7 +50892,7 @@ const fv = ({
|
|
|
50864
50892
|
name: t,
|
|
50865
50893
|
elementId: e,
|
|
50866
50894
|
shared: a,
|
|
50867
|
-
iconSize:
|
|
50895
|
+
iconSize: zs,
|
|
50868
50896
|
details: /* @__PURE__ */ z("div", { className: "flex items-center gap-1 dial-tiny text-secondary", children: [
|
|
50869
50897
|
/* @__PURE__ */ m("span", { children: i }),
|
|
50870
50898
|
o && i && /* @__PURE__ */ m(wr, { size: 2, className: "text-secondary" }),
|
|
@@ -50930,8 +50958,6 @@ const C7 = ({
|
|
|
50930
50958
|
resizable: !1,
|
|
50931
50959
|
filter: !1,
|
|
50932
50960
|
floatingFilter: !1,
|
|
50933
|
-
suppressMenu: !0,
|
|
50934
|
-
borderless: !0,
|
|
50935
50961
|
cellRenderer: i
|
|
50936
50962
|
}),
|
|
50937
50963
|
[i]
|
|
@@ -50960,7 +50986,7 @@ const C7 = ({
|
|
|
50960
50986
|
onClose: t,
|
|
50961
50987
|
fileMetadata: s,
|
|
50962
50988
|
loading: i = !1,
|
|
50963
|
-
|
|
50989
|
+
header: o = "Information",
|
|
50964
50990
|
nameLabel: n = "Name:",
|
|
50965
50991
|
pathLabel: r = "Path:",
|
|
50966
50992
|
modifiedDateLabel: a = "Modified Date:",
|
|
@@ -50974,7 +51000,7 @@ const C7 = ({
|
|
|
50974
51000
|
open: e,
|
|
50975
51001
|
onClose: t,
|
|
50976
51002
|
size: Zt.Sm,
|
|
50977
|
-
|
|
51003
|
+
header: o,
|
|
50978
51004
|
dividers: !1,
|
|
50979
51005
|
children: /* @__PURE__ */ m("div", { className: "px-6 py-4", children: /* @__PURE__ */ m(
|
|
50980
51006
|
"div",
|
|
@@ -51114,8 +51140,8 @@ const C7 = ({
|
|
|
51114
51140
|
onRenameSave: le,
|
|
51115
51141
|
onRenameCancel: ye,
|
|
51116
51142
|
onRenameValidate: Re,
|
|
51117
|
-
getDisplayName:
|
|
51118
|
-
isDragging:
|
|
51143
|
+
getDisplayName: Ae,
|
|
51144
|
+
isDragging: pe,
|
|
51119
51145
|
isDraggingOverWindow: Pe,
|
|
51120
51146
|
handleDragEnter: j,
|
|
51121
51147
|
handleDragLeave: xe,
|
|
@@ -51154,7 +51180,7 @@ const C7 = ({
|
|
|
51154
51180
|
isSearchMode: Hn
|
|
51155
51181
|
} = a7(), {
|
|
51156
51182
|
width: Ya = hL,
|
|
51157
|
-
|
|
51183
|
+
header: Gn = gL,
|
|
51158
51184
|
containerClassName: Bn = dL,
|
|
51159
51185
|
additionalButtons: Vn,
|
|
51160
51186
|
...zn
|
|
@@ -51193,8 +51219,8 @@ const C7 = ({
|
|
|
51193
51219
|
minWidth: 200,
|
|
51194
51220
|
cellRenderer: (K) => {
|
|
51195
51221
|
const Te = K.data.nodeType, {
|
|
51196
|
-
saveFolderCreation:
|
|
51197
|
-
validateFolderName:
|
|
51222
|
+
saveFolderCreation: As,
|
|
51223
|
+
validateFolderName: ks,
|
|
51198
51224
|
cancelFolderCreation: Ho,
|
|
51199
51225
|
newFolderTempId: Zn,
|
|
51200
51226
|
sharedByMePaths: nl
|
|
@@ -51208,11 +51234,11 @@ const C7 = ({
|
|
|
51208
51234
|
elementId: `new-folder-${K.data.id}`,
|
|
51209
51235
|
editing: !0,
|
|
51210
51236
|
shared: Qs,
|
|
51211
|
-
iconSize:
|
|
51212
|
-
validate:
|
|
51213
|
-
onSave:
|
|
51237
|
+
iconSize: zs,
|
|
51238
|
+
validate: ks,
|
|
51239
|
+
onSave: As,
|
|
51214
51240
|
onCancel: Ho,
|
|
51215
|
-
inputContainerClassName:
|
|
51241
|
+
inputContainerClassName: ge([
|
|
51216
51242
|
"!h-9",
|
|
51217
51243
|
it && Te === Le.ITEM && "!h-10"
|
|
51218
51244
|
])
|
|
@@ -51237,11 +51263,11 @@ const C7 = ({
|
|
|
51237
51263
|
elementId: `rename-${K.data.id}`,
|
|
51238
51264
|
editing: !0,
|
|
51239
51265
|
shared: Qs,
|
|
51240
|
-
iconSize:
|
|
51266
|
+
iconSize: zs,
|
|
51241
51267
|
validate: (ts) => Qn(ts, Go),
|
|
51242
51268
|
onSave: cl,
|
|
51243
51269
|
onCancel: dl,
|
|
51244
|
-
inputContainerClassName:
|
|
51270
|
+
inputContainerClassName: ge([
|
|
51245
51271
|
"!h-9",
|
|
51246
51272
|
it && Te === Le.ITEM && "!h-10"
|
|
51247
51273
|
])
|
|
@@ -51265,14 +51291,14 @@ const C7 = ({
|
|
|
51265
51291
|
{
|
|
51266
51292
|
name: K.data.name,
|
|
51267
51293
|
shared: Qs,
|
|
51268
|
-
iconSize:
|
|
51294
|
+
iconSize: zs
|
|
51269
51295
|
}
|
|
51270
51296
|
) : /* @__PURE__ */ m(
|
|
51271
51297
|
kd,
|
|
51272
51298
|
{
|
|
51273
51299
|
name: K.data.name,
|
|
51274
51300
|
shared: Qs,
|
|
51275
|
-
iconSize:
|
|
51301
|
+
iconSize: zs
|
|
51276
51302
|
}
|
|
51277
51303
|
);
|
|
51278
51304
|
}
|
|
@@ -51404,9 +51430,9 @@ const C7 = ({
|
|
|
51404
51430
|
]
|
|
51405
51431
|
), el = B(() => {
|
|
51406
51432
|
const K = /* @__PURE__ */ new Map();
|
|
51407
|
-
return R.forEach((Te,
|
|
51408
|
-
const
|
|
51409
|
-
|
|
51433
|
+
return R.forEach((Te, As) => {
|
|
51434
|
+
const ks = S.find((Ho) => Ho.path === As);
|
|
51435
|
+
ks && K.set(As, ks);
|
|
51410
51436
|
}), K;
|
|
51411
51437
|
}, [R, S]), tl = B(() => {
|
|
51412
51438
|
const K = /* @__PURE__ */ new Set();
|
|
@@ -51414,7 +51440,7 @@ const C7 = ({
|
|
|
51414
51440
|
}, [p, S, Ao]), sl = D(
|
|
51415
51441
|
(K) => {
|
|
51416
51442
|
const Te = /* @__PURE__ */ new Set();
|
|
51417
|
-
K.forEach((
|
|
51443
|
+
K.forEach((As, ks) => Te.add(ks)), E(Te);
|
|
51418
51444
|
},
|
|
51419
51445
|
[E]
|
|
51420
51446
|
), ko = g7({
|
|
@@ -51550,7 +51576,7 @@ const C7 = ({
|
|
|
51550
51576
|
Gn,
|
|
51551
51577
|
g,
|
|
51552
51578
|
w
|
|
51553
|
-
]),
|
|
51579
|
+
]), Is = p7({
|
|
51554
51580
|
actionLabels: r?.actionLabels,
|
|
51555
51581
|
onDuplicate: (K) => U([K]),
|
|
51556
51582
|
onCopy: (K) => {
|
|
@@ -51567,9 +51593,9 @@ const C7 = ({
|
|
|
51567
51593
|
}), Oo = D(
|
|
51568
51594
|
(K) => {
|
|
51569
51595
|
const Te = Si(t, K.path);
|
|
51570
|
-
return Te ?
|
|
51596
|
+
return Te ? Is(Te) : [];
|
|
51571
51597
|
},
|
|
51572
|
-
[t,
|
|
51598
|
+
[t, Is]
|
|
51573
51599
|
), { actionsColumnDef: No } = C7({
|
|
51574
51600
|
getContextMenuItems: Oo,
|
|
51575
51601
|
isRowDisabled: Ao,
|
|
@@ -51600,7 +51626,7 @@ const C7 = ({
|
|
|
51600
51626
|
"section",
|
|
51601
51627
|
{
|
|
51602
51628
|
ref: Xa,
|
|
51603
|
-
className:
|
|
51629
|
+
className: ge(
|
|
51604
51630
|
aL,
|
|
51605
51631
|
{
|
|
51606
51632
|
"gap-3 pt-4": l && y.size > 0,
|
|
@@ -51616,7 +51642,7 @@ const C7 = ({
|
|
|
51616
51642
|
/* @__PURE__ */ z(
|
|
51617
51643
|
"div",
|
|
51618
51644
|
{
|
|
51619
|
-
className:
|
|
51645
|
+
className: ge(cL, {
|
|
51620
51646
|
"gap-3": it
|
|
51621
51647
|
}),
|
|
51622
51648
|
children: [
|
|
@@ -51639,7 +51665,7 @@ const C7 = ({
|
|
|
51639
51665
|
{
|
|
51640
51666
|
role: "region",
|
|
51641
51667
|
"aria-label": "File Manager Grid View",
|
|
51642
|
-
className:
|
|
51668
|
+
className: ge(uL),
|
|
51643
51669
|
onDragEnter: j,
|
|
51644
51670
|
onDragLeave: xe,
|
|
51645
51671
|
onDragOver: ve,
|
|
@@ -51655,8 +51681,8 @@ const C7 = ({
|
|
|
51655
51681
|
withoutHeaderBorders: it,
|
|
51656
51682
|
selectionOnHover: !it,
|
|
51657
51683
|
className: ee(
|
|
51658
|
-
|
|
51659
|
-
Pe && !
|
|
51684
|
+
pe ? "border border-dashed border-accent-primary" : "",
|
|
51685
|
+
Pe && !pe ? "border border-dashed border-primary" : ""
|
|
51660
51686
|
),
|
|
51661
51687
|
...Io,
|
|
51662
51688
|
additionalGridOptions: {
|
|
@@ -51670,7 +51696,7 @@ const C7 = ({
|
|
|
51670
51696
|
context: {
|
|
51671
51697
|
cancelFolderCreation: Ge,
|
|
51672
51698
|
saveFolderCreation: rt,
|
|
51673
|
-
getDisplayName:
|
|
51699
|
+
getDisplayName: Ae,
|
|
51674
51700
|
onRenameCancel: ye,
|
|
51675
51701
|
onRenameSave: le,
|
|
51676
51702
|
onRenameValidate: Re,
|
|
@@ -51684,7 +51710,7 @@ const C7 = ({
|
|
|
51684
51710
|
},
|
|
51685
51711
|
selectedRows: el,
|
|
51686
51712
|
onSelectionChangeWithMap: sl,
|
|
51687
|
-
wrapperBorder: !
|
|
51713
|
+
wrapperBorder: !pe && !Pe,
|
|
51688
51714
|
disabledRowIds: tl
|
|
51689
51715
|
}
|
|
51690
51716
|
)
|
|
@@ -51724,7 +51750,8 @@ const C7 = ({
|
|
|
51724
51750
|
path: d?.destinationFolderPath || b,
|
|
51725
51751
|
onPathChange: (K) => {
|
|
51726
51752
|
d?.setDestinationFolderPath?.(K);
|
|
51727
|
-
}
|
|
51753
|
+
},
|
|
51754
|
+
sourceFolder: b || "/"
|
|
51728
51755
|
}
|
|
51729
51756
|
),
|
|
51730
51757
|
/* @__PURE__ */ m(
|
|
@@ -51758,7 +51785,7 @@ const C7 = ({
|
|
|
51758
51785
|
onClose: ja,
|
|
51759
51786
|
fileMetadata: Rt?.fileMetadata ?? $a,
|
|
51760
51787
|
loading: Rt?.loading,
|
|
51761
|
-
|
|
51788
|
+
header: Rt?.header,
|
|
51762
51789
|
nameLabel: Rt?.nameLabel,
|
|
51763
51790
|
pathLabel: Rt?.pathLabel,
|
|
51764
51791
|
modifiedDateLabel: Rt?.modifiedDateLabel,
|
|
@@ -51791,14 +51818,14 @@ const C7 = ({
|
|
|
51791
51818
|
};
|
|
51792
51819
|
export {
|
|
51793
51820
|
Vi as AlertVariant,
|
|
51794
|
-
|
|
51821
|
+
Ne as ButtonVariant,
|
|
51795
51822
|
Rn as ConfirmationPopupVariant,
|
|
51796
51823
|
M7 as DialAlert,
|
|
51797
51824
|
W7 as DialAutocompleteInput,
|
|
51798
51825
|
ev as DialAutocompleteInputValue,
|
|
51799
51826
|
u8 as DialBreadcrumb,
|
|
51800
51827
|
mr as DialBreadcrumbItem,
|
|
51801
|
-
|
|
51828
|
+
Ie as DialButton,
|
|
51802
51829
|
Ng as DialButtonDropdown,
|
|
51803
51830
|
Gr as DialCheckbox,
|
|
51804
51831
|
KC as DialCloseButton,
|
|
@@ -51855,7 +51882,7 @@ export {
|
|
|
51855
51882
|
G7 as DialTextAreaField,
|
|
51856
51883
|
H7 as DialTextInputField,
|
|
51857
51884
|
g8 as DialTextarea,
|
|
51858
|
-
|
|
51885
|
+
Es as DialTooltip,
|
|
51859
51886
|
ed as DropdownItemType,
|
|
51860
51887
|
zt as DropdownTrigger,
|
|
51861
51888
|
jk as DropdownType,
|
|
@@ -51872,7 +51899,7 @@ export {
|
|
|
51872
51899
|
Wt as StepStatus,
|
|
51873
51900
|
td as TabOrientation,
|
|
51874
51901
|
Fd as TagVariant,
|
|
51875
|
-
|
|
51902
|
+
ge as mergeClasses,
|
|
51876
51903
|
j7 as useDialFileManagerTabs,
|
|
51877
51904
|
PL as useEditableItem,
|
|
51878
51905
|
a7 as useFileManagerContext
|