@epam/ai-dial-ui-kit 0.11.0-dev.26 → 0.11.0-dev.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{JsonEditor-B5uvRX5y.cjs → JsonEditor-CduYxMNC.cjs} +1 -1
- package/dist/{JsonEditor-CmYZkBsL.js → JsonEditor-LH-83m4G.js} +1 -1
- package/dist/{MarkdownEditor-Bu3knjK6.js → MarkdownEditor-CqrJFxFA.js} +1 -1
- package/dist/{MarkdownEditor-C6LwR9l7.cjs → MarkdownEditor-D_3d1_mR.cjs} +1 -1
- package/dist/components-manifest.json +6 -2
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +1 -1
- package/dist/{index-KT8MigCw.js → index-D2SxeGYQ.js} +241 -237
- package/dist/{index-x8Hms8De.cjs → index-Dx0731Rb.cjs} +10 -10
- package/dist/index.css +1 -1
- package/dist/src/types/size.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as De from "react";
|
|
2
|
-
import J, { useState as M, useRef as H, useEffect as ye, useMemo as V, createContext as ia, useContext as
|
|
2
|
+
import J, { useState as M, useRef as H, useEffect as ye, useMemo as V, createContext as ia, useContext as ut, isValidElement as Nh, cloneElement as Au, useCallback as D, memo as Lt, useLayoutEffect as mi, PureComponent as z0, Component as W0, forwardRef as Hh, useImperativeHandle as sa, createElement as Rr, Suspense as j0, useId as na, Children as _0 } from "react";
|
|
3
3
|
import ce from "classnames";
|
|
4
4
|
import { IconInfoCircle as Tv, IconCircleCheckFilled as U0, IconAlertTriangleFilled as Iv, IconAlertCircleFilled as Mv, IconInfoCircleFilled as $0, IconX as Bo, IconCaretLeftFilled as q0, IconCaretRightFilled as kv, IconMinus as K0, IconCheck as Gh, IconExclamationCircle as Bh, IconClipboardX as Av, IconChevronsLeft as Y0, IconChevronsRight as Z0, IconGripVertical as Q0, IconFile as Lv, IconFileTypeZip as X0, IconFileTypeXml as J0, IconFileTypeXls as ex, IconFileTypeVue as tx, IconFileTypeTxt as ix, IconFileTypeTsx as sx, IconFileTypeTs as nx, IconFileTypeSvg as ox, IconFileTypeSql as rx, IconFileTypeRs as ax, IconFileTypePpt as lx, IconFileTypePng as cx, IconFileTypePhp as dx, IconFileTypePdf as ux, IconFileTypeJsx as hx, IconFileTypeJs as px, IconFileTypeJpg as gx, IconFileTypeHtml as fx, IconFileTypeDocx as mx, IconFileTypeDoc as vx, IconFileTypeCsv as Cx, IconFileTypeCss as wx, IconFileTypeBmp as bx, IconArrowUpRight as xx, IconFolder as Vh, IconChevronLeft as yx, IconChevronRight as oa, IconZoomCancel as Sx, IconAlertTriangle as Ov, IconChevronDown as Vo, IconDotsVertical as zo, IconDots as Rx, IconTrashX as To, IconArrowNarrowDown as Fx, IconEyeOff as Nv, IconEye as Cc, IconSearch as Ex, IconPlus as wc, IconChevronUp as Dx, IconCircleFilled as fl, IconFileZip as Px, IconCopyMinus as Tx, IconFolderPlus as zg, IconArrowLeft as Ix, IconUserX as zh, IconCopy as Wh, IconDownload as jh, IconExternalLink as Lu, IconPencilMinus as Hv, IconFileDescription as Mx } from "@tabler/icons-react";
|
|
5
5
|
import { useFloating as bc, autoUpdate as _h, offset as Uh, flip as $h, shift as qh, arrow as kx, useHover as Kh, useFocus as Ax, useDismiss as xc, useRole as yc, useInteractions as Sc, useMergeRefs as Yh, FloatingPortal as Rc, FloatingArrow as Lx, FloatingFocusManager as Zh, autoPlacement as Ox, size as Nx, useClick as Hx, FloatingOverlay as Gx } from "@floating-ui/react";
|
|
@@ -3260,7 +3260,7 @@ const Qg = {
|
|
|
3260
3260
|
`Could not find Button styles for variant: ${e} and appearance: ${t}. Using default primary solid button styles.`
|
|
3261
3261
|
), Qg[Xe.Primary][Oe.Solid]);
|
|
3262
3262
|
}, Oy = 7, Ny = 2, Jv = ia(null), eC = () => {
|
|
3263
|
-
const e =
|
|
3263
|
+
const e = ut(Jv);
|
|
3264
3264
|
if (e == null)
|
|
3265
3265
|
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
3266
3266
|
return e;
|
|
@@ -3400,11 +3400,11 @@ const Qg = {
|
|
|
3400
3400
|
}
|
|
3401
3401
|
)
|
|
3402
3402
|
] });
|
|
3403
|
-
var
|
|
3403
|
+
var ot = /* @__PURE__ */ ((e) => (e.Small = "small", e.Standard = "standard", e.Large = "large", e))(ot || {});
|
|
3404
3404
|
const Hs = ({
|
|
3405
3405
|
variant: e,
|
|
3406
3406
|
appearance: t = Oe.Solid,
|
|
3407
|
-
size: i =
|
|
3407
|
+
size: i = ot.Standard,
|
|
3408
3408
|
className: s,
|
|
3409
3409
|
icon: n,
|
|
3410
3410
|
tooltipProps: o,
|
|
@@ -3413,7 +3413,7 @@ const Hs = ({
|
|
|
3413
3413
|
}) => {
|
|
3414
3414
|
const l = se(
|
|
3415
3415
|
e && Xv(e, t),
|
|
3416
|
-
i ===
|
|
3416
|
+
i === ot.Small ? "h-[24px] w-[24px]" : "h-[40px] w-[40px]",
|
|
3417
3417
|
"dial-icon-button disabled:cursor-not-allowed focus-visible:outline outline-offset-0 disabled:text-controls-secondary-disable",
|
|
3418
3418
|
s
|
|
3419
3419
|
), c = /* @__PURE__ */ g.jsx(
|
|
@@ -3478,7 +3478,7 @@ const ci = 18, ae = {
|
|
|
3478
3478
|
label: e,
|
|
3479
3479
|
variant: t,
|
|
3480
3480
|
appearance: i = Oe.Solid,
|
|
3481
|
-
size: s =
|
|
3481
|
+
size: s = ot.Standard,
|
|
3482
3482
|
className: n,
|
|
3483
3483
|
textClassName: o,
|
|
3484
3484
|
iconAfter: r,
|
|
@@ -3493,8 +3493,8 @@ const ci = 18, ae = {
|
|
|
3493
3493
|
o
|
|
3494
3494
|
), p = se(
|
|
3495
3495
|
t && Xv(t, i),
|
|
3496
|
-
s ===
|
|
3497
|
-
i !== Oe.Link && (s ===
|
|
3496
|
+
s === ot.Small ? "dial-tiny-semi-text" : "dial-small-semi-text",
|
|
3497
|
+
i !== Oe.Link && (s === ot.Small ? "h-[24px] px-2" : "h-[40px] px-3"),
|
|
3498
3498
|
"disabled:cursor-not-allowed focus-visible:outline outline-offset-0",
|
|
3499
3499
|
n
|
|
3500
3500
|
), f = /* @__PURE__ */ g.jsxs(
|
|
@@ -3693,7 +3693,7 @@ const Ky = {
|
|
|
3693
3693
|
className: "text-secondary"
|
|
3694
3694
|
}
|
|
3695
3695
|
),
|
|
3696
|
-
size:
|
|
3696
|
+
size: ot.Small,
|
|
3697
3697
|
className: "!p-0 items-center flex justify-center",
|
|
3698
3698
|
disabled: e <= 1,
|
|
3699
3699
|
onClick: () => i(e - 1),
|
|
@@ -3729,7 +3729,7 @@ const Ky = {
|
|
|
3729
3729
|
className: "text-secondary"
|
|
3730
3730
|
}
|
|
3731
3731
|
),
|
|
3732
|
-
size:
|
|
3732
|
+
size: ot.Small,
|
|
3733
3733
|
className: "!p-0 items-center flex justify-center",
|
|
3734
3734
|
disabled: e >= t,
|
|
3735
3735
|
onClick: () => i(e + 1),
|
|
@@ -4278,7 +4278,7 @@ const oS = "flex", rS = "pb-1 mt-2", aS = {
|
|
|
4278
4278
|
className: "hover:text-accent-primary",
|
|
4279
4279
|
onClick: w,
|
|
4280
4280
|
"aria-label": "sidebar-state",
|
|
4281
|
-
size:
|
|
4281
|
+
size: ot.Small,
|
|
4282
4282
|
icon: m ? /* @__PURE__ */ g.jsx(Y0, { size: n, stroke: o }) : /* @__PURE__ */ g.jsx(Z0, { size: n, stroke: o })
|
|
4283
4283
|
}
|
|
4284
4284
|
)
|
|
@@ -5891,7 +5891,7 @@ class q2 {
|
|
|
5891
5891
|
}
|
|
5892
5892
|
}
|
|
5893
5893
|
function jo() {
|
|
5894
|
-
const { dragDropManager: e } =
|
|
5894
|
+
const { dragDropManager: e } = ut(iC);
|
|
5895
5895
|
return ke(e != null, "Expected drag drop context"), e;
|
|
5896
5896
|
}
|
|
5897
5897
|
function K2(e, t) {
|
|
@@ -6990,7 +6990,7 @@ var ns = (e) => e == null || e === "" ? null : e;
|
|
|
6990
6990
|
function re(e) {
|
|
6991
6991
|
return e != null && e !== "";
|
|
6992
6992
|
}
|
|
6993
|
-
function
|
|
6993
|
+
function lt(e) {
|
|
6994
6994
|
return !re(e);
|
|
6995
6995
|
}
|
|
6996
6996
|
var ju = (e) => e != null && typeof e.toString == "function" ? e.toString() : null, zr = (e, t) => {
|
|
@@ -7100,7 +7100,7 @@ function OR(e) {
|
|
|
7100
7100
|
function Si(e) {
|
|
7101
7101
|
return e.eRootDiv.getRootNode();
|
|
7102
7102
|
}
|
|
7103
|
-
function
|
|
7103
|
+
function rt(e) {
|
|
7104
7104
|
return Si(e).activeElement;
|
|
7105
7105
|
}
|
|
7106
7106
|
function St(e) {
|
|
@@ -7110,7 +7110,7 @@ function St(e) {
|
|
|
7110
7110
|
return n && re(n) ? s = n() : i && (s = i.ownerDocument), s && re(s) ? s : document;
|
|
7111
7111
|
}
|
|
7112
7112
|
function hp(e) {
|
|
7113
|
-
const t =
|
|
7113
|
+
const t = rt(e);
|
|
7114
7114
|
return t === null || t === St(e).body;
|
|
7115
7115
|
}
|
|
7116
7116
|
function pp(e) {
|
|
@@ -8144,7 +8144,7 @@ function ji(...e) {
|
|
|
8144
8144
|
function jC(e, t) {
|
|
8145
8145
|
return e.get("rowModelType") === t;
|
|
8146
8146
|
}
|
|
8147
|
-
function
|
|
8147
|
+
function dt(e, t) {
|
|
8148
8148
|
return jC(e, "clientSide");
|
|
8149
8149
|
}
|
|
8150
8150
|
function Uo(e, t) {
|
|
@@ -8191,7 +8191,7 @@ function B3(e) {
|
|
|
8191
8191
|
}
|
|
8192
8192
|
function vn(e) {
|
|
8193
8193
|
const { environment: t, gos: i } = e, s = i.get("rowHeight");
|
|
8194
|
-
if (!s ||
|
|
8194
|
+
if (!s || lt(s))
|
|
8195
8195
|
return t.getDefaultRowHeight();
|
|
8196
8196
|
const n = t.refreshRowHeightVariable();
|
|
8197
8197
|
return n !== -1 ? n : (Y(24), t.getDefaultRowHeight());
|
|
@@ -8206,7 +8206,7 @@ function UC(e, t, i) {
|
|
|
8206
8206
|
function En(e, t, i, s) {
|
|
8207
8207
|
const n = e.getDomDataKey();
|
|
8208
8208
|
let o = t[n];
|
|
8209
|
-
|
|
8209
|
+
lt(o) && (o = {}, t[n] = o), o[i] = s;
|
|
8210
8210
|
}
|
|
8211
8211
|
function Co(e) {
|
|
8212
8212
|
return e.get("ensureDomOrder") ? !1 : e.get("animateRows");
|
|
@@ -8231,7 +8231,7 @@ function V3(e) {
|
|
|
8231
8231
|
return e.get("groupHideOpenParents") ? !0 : e.get("groupDisplayType") === "multipleColumns";
|
|
8232
8232
|
}
|
|
8233
8233
|
function z3(e) {
|
|
8234
|
-
return V3(e) && e.get("groupHideColumnsUntilExpanded") &&
|
|
8234
|
+
return V3(e) && e.get("groupHideColumnsUntilExpanded") && dt(e);
|
|
8235
8235
|
}
|
|
8236
8236
|
function KC(e, t) {
|
|
8237
8237
|
return t ? !1 : e.get("groupDisplayType") === "groupRows";
|
|
@@ -8635,7 +8635,7 @@ var sF = ["asc", "desc", null], nF = [
|
|
|
8635
8635
|
}
|
|
8636
8636
|
/** @deprecated v32 use col.getSort() === undefined */
|
|
8637
8637
|
isSortNone() {
|
|
8638
|
-
return
|
|
8638
|
+
return lt(this.getSort());
|
|
8639
8639
|
}
|
|
8640
8640
|
/** @deprecated v32 use col.getSort() !== undefined */
|
|
8641
8641
|
isSorting() {
|
|
@@ -8765,13 +8765,13 @@ var sF = ["asc", "desc", null], nF = [
|
|
|
8765
8765
|
});
|
|
8766
8766
|
}
|
|
8767
8767
|
getColSpan(e) {
|
|
8768
|
-
if (
|
|
8768
|
+
if (lt(this.colDef.colSpan))
|
|
8769
8769
|
return 1;
|
|
8770
8770
|
const t = this.createBaseColDefParams(e), i = this.colDef.colSpan(t);
|
|
8771
8771
|
return Math.max(i, 1);
|
|
8772
8772
|
}
|
|
8773
8773
|
getRowSpan(e) {
|
|
8774
|
-
if (
|
|
8774
|
+
if (lt(this.colDef.rowSpan))
|
|
8775
8775
|
return 1;
|
|
8776
8776
|
const t = this.createBaseColDefParams(e), i = this.colDef.rowSpan(t);
|
|
8777
8777
|
return Math.max(i, 1);
|
|
@@ -9242,7 +9242,7 @@ function iw(e) {
|
|
|
9242
9242
|
function sw(e, t) {
|
|
9243
9243
|
return e + "_" + t;
|
|
9244
9244
|
}
|
|
9245
|
-
function
|
|
9245
|
+
function gt(e) {
|
|
9246
9246
|
return e instanceof Yr;
|
|
9247
9247
|
}
|
|
9248
9248
|
var Yr = class extends j {
|
|
@@ -9269,7 +9269,7 @@ var Yr = class extends j {
|
|
|
9269
9269
|
}
|
|
9270
9270
|
checkLeft() {
|
|
9271
9271
|
for (const e of this.displayedChildren)
|
|
9272
|
-
|
|
9272
|
+
gt(e) && e.checkLeft();
|
|
9273
9273
|
if (this.displayedChildren.length > 0)
|
|
9274
9274
|
if (this.gos.get("enableRtl")) {
|
|
9275
9275
|
const t = Ke(this.displayedChildren).getLeft();
|
|
@@ -9364,11 +9364,11 @@ var Yr = class extends j {
|
|
|
9364
9364
|
}
|
|
9365
9365
|
addDisplayedLeafColumns(e) {
|
|
9366
9366
|
for (const t of this.displayedChildren ?? [])
|
|
9367
|
-
Vs(t) ? e.push(t) :
|
|
9367
|
+
Vs(t) ? e.push(t) : gt(t) && t.addDisplayedLeafColumns(e);
|
|
9368
9368
|
}
|
|
9369
9369
|
addLeafColumns(e) {
|
|
9370
9370
|
for (const t of this.children ?? [])
|
|
9371
|
-
Vs(t) ? e.push(t) :
|
|
9371
|
+
Vs(t) ? e.push(t) : gt(t) && t.addLeafColumns(e);
|
|
9372
9372
|
}
|
|
9373
9373
|
getChildren() {
|
|
9374
9374
|
return this.children;
|
|
@@ -9393,7 +9393,7 @@ var Yr = class extends j {
|
|
|
9393
9393
|
return;
|
|
9394
9394
|
}
|
|
9395
9395
|
for (const i of this.children ?? []) {
|
|
9396
|
-
if (
|
|
9396
|
+
if (gt(i) && !i.displayedChildren?.length)
|
|
9397
9397
|
continue;
|
|
9398
9398
|
switch (i.getColumnGroupShow()) {
|
|
9399
9399
|
case "open":
|
|
@@ -10538,7 +10538,7 @@ var ra = class {
|
|
|
10538
10538
|
}
|
|
10539
10539
|
this.css = Mf;
|
|
10540
10540
|
}
|
|
10541
|
-
}, Mf = /* @__PURE__ */ Symbol(),
|
|
10541
|
+
}, Mf = /* @__PURE__ */ Symbol(), ht = class extends $o {
|
|
10542
10542
|
}, Wd, jd, _d, Ud, Xu, Ju, $d;
|
|
10543
10543
|
function Ks() {
|
|
10544
10544
|
return Wd === void 0 && (Wd = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Wd;
|
|
@@ -10621,7 +10621,7 @@ function Dn(e, t = !1, i = !1, s = !1) {
|
|
|
10621
10621
|
return o ? (o.focus({ preventScroll: !0 }), !0) : !1;
|
|
10622
10622
|
}
|
|
10623
10623
|
function Hn(e, t, i, s) {
|
|
10624
|
-
const n = wn(t, i ? ':not([tabindex="-1"])' : null), o =
|
|
10624
|
+
const n = wn(t, i ? ':not([tabindex="-1"])' : null), o = rt(e);
|
|
10625
10625
|
let r;
|
|
10626
10626
|
i ? r = n.findIndex((l) => l.contains(o)) : r = n.indexOf(o);
|
|
10627
10627
|
const a = r + (s ? -1 : 1);
|
|
@@ -10784,7 +10784,7 @@ function Cw(e, t, i, s) {
|
|
|
10784
10784
|
} else typeof t == "string" && (n = t);
|
|
10785
10785
|
return n;
|
|
10786
10786
|
}
|
|
10787
|
-
var vE = class extends
|
|
10787
|
+
var vE = class extends ht {
|
|
10788
10788
|
constructor(e, t) {
|
|
10789
10789
|
super(), this.filterNameKey = e, this.cssIdentifier = t, this.applyActive = !1, this.debouncePending = !1, this.defaultDebounceMs = 0;
|
|
10790
10790
|
}
|
|
@@ -12491,7 +12491,7 @@ var tD = class extends j {
|
|
|
12491
12491
|
}
|
|
12492
12492
|
onFocusOut(e) {
|
|
12493
12493
|
const { relatedTarget: t } = e, { eGui: i, beans: s } = this;
|
|
12494
|
-
!t && i.contains(
|
|
12494
|
+
!t && i.contains(rt(s)) || i.contains(t) || (s.focusSvc.focusedHeader = null);
|
|
12495
12495
|
}
|
|
12496
12496
|
onHeaderContextMenu(e, t, i) {
|
|
12497
12497
|
const { menuSvc: s, ctrlsSvc: n } = this.beans;
|
|
@@ -12567,7 +12567,7 @@ var zp = class extends j {
|
|
|
12567
12567
|
return o + t;
|
|
12568
12568
|
}
|
|
12569
12569
|
setLeft(e) {
|
|
12570
|
-
if (re(e) && (this.eCell.style.left = `${e}px`),
|
|
12570
|
+
if (re(e) && (this.eCell.style.left = `${e}px`), gt(this.columnOrGroup)) {
|
|
12571
12571
|
const t = this.columnOrGroup.getLeafColumns();
|
|
12572
12572
|
if (!t.length)
|
|
12573
12573
|
return;
|
|
@@ -12576,7 +12576,7 @@ var zp = class extends j {
|
|
|
12576
12576
|
}
|
|
12577
12577
|
}, iD = "ag-column-first", sD = "ag-column-last";
|
|
12578
12578
|
function Rw(e, t, i, s) {
|
|
12579
|
-
return
|
|
12579
|
+
return lt(e) ? [] : oD(e.headerClass, e, t, i, s);
|
|
12580
12580
|
}
|
|
12581
12581
|
function Fw(e, t, i) {
|
|
12582
12582
|
e.toggleCss(iD, i.isColAtEdge(t, "first")), e.toggleCss(sD, i.isColAtEdge(t, "last"));
|
|
@@ -12592,7 +12592,7 @@ function nD(e, t, i, s) {
|
|
|
12592
12592
|
});
|
|
12593
12593
|
}
|
|
12594
12594
|
function oD(e, t, i, s, n) {
|
|
12595
|
-
if (
|
|
12595
|
+
if (lt(e))
|
|
12596
12596
|
return [];
|
|
12597
12597
|
let o;
|
|
12598
12598
|
if (typeof e == "function") {
|
|
@@ -12628,7 +12628,7 @@ var rD = 0, Ew = "headerCtrl", Wp = class extends j {
|
|
|
12628
12628
|
return !!n(o);
|
|
12629
12629
|
}
|
|
12630
12630
|
getWrapperHasFocus() {
|
|
12631
|
-
return
|
|
12631
|
+
return rt(this.beans) === this.eGui;
|
|
12632
12632
|
}
|
|
12633
12633
|
setGui(e, t) {
|
|
12634
12634
|
this.eGui = e, this.addDomData(t), t.addManagedListeners(this.beans.eventSvc, {
|
|
@@ -12700,7 +12700,7 @@ var rD = 0, Ew = "headerCtrl", Wp = class extends j {
|
|
|
12700
12700
|
this.eGui && _t(this.eGui, "tabindex", e ? null : "-1");
|
|
12701
12701
|
}
|
|
12702
12702
|
onGuiKeyDown(e) {
|
|
12703
|
-
const t =
|
|
12703
|
+
const t = rt(this.beans), i = e.key === N.LEFT || e.key === N.RIGHT;
|
|
12704
12704
|
if (this.isResizing && (e.preventDefault(), e.stopImmediatePropagation()), // if elements within the header are focused, we don't process the event
|
|
12705
12705
|
t !== this.eGui || // if shiftKey, ctrlKey, metaKey and altKey are not pressed, it's cell navigation so we don't process the event
|
|
12706
12706
|
!e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey)
|
|
@@ -13089,7 +13089,7 @@ var rD = 0, Ew = "headerCtrl", Wp = class extends j {
|
|
|
13089
13089
|
}
|
|
13090
13090
|
announceAriaDescription() {
|
|
13091
13091
|
const { beans: e, eGui: t, ariaDescriptionProperties: i } = this;
|
|
13092
|
-
if (!t.contains(
|
|
13092
|
+
if (!t.contains(rt(e)))
|
|
13093
13093
|
return;
|
|
13094
13094
|
const s = Array.from(i.keys()).sort((n, o) => n === "filter" ? -1 : o.charCodeAt(0) - n.charCodeAt(0)).map((n) => i.get(n)).join(". ");
|
|
13095
13095
|
e.ariaAnnounce?.announceValue(s, "columnHeader");
|
|
@@ -13434,7 +13434,7 @@ var lD = 0, Yd = class extends j {
|
|
|
13434
13434
|
}, i = t.autoHeight ? Fl.AUTO_HEIGHT : t.print ? Fl.PRINT : Fl.NORMAL;
|
|
13435
13435
|
this.view.updateLayoutClasses(i, t);
|
|
13436
13436
|
}
|
|
13437
|
-
}, Dw = class extends
|
|
13437
|
+
}, Dw = class extends ht {
|
|
13438
13438
|
constructor(e, t) {
|
|
13439
13439
|
super(), this.direction = t, this.eViewport = fe, this.eContainer = fe, this.hideTimeout = 0, this.setTemplate(e);
|
|
13440
13440
|
}
|
|
@@ -15151,7 +15151,7 @@ var So = {
|
|
|
15151
15151
|
return !Zr(e) || !Ri(e) || !!e.sideBar?.comp?.isDisplayed();
|
|
15152
15152
|
}
|
|
15153
15153
|
getNextFocusableIndex(e, t) {
|
|
15154
|
-
const i =
|
|
15154
|
+
const i = rt(this.beans), s = e.findIndex((n) => n.getGui().contains(i));
|
|
15155
15155
|
return { indexWithFocus: s, nextIndex: s + (t ? -1 : 1) };
|
|
15156
15156
|
}
|
|
15157
15157
|
focusGridBodyDefault(e) {
|
|
@@ -15676,7 +15676,7 @@ function $t(e, t, i) {
|
|
|
15676
15676
|
});
|
|
15677
15677
|
}
|
|
15678
15678
|
}
|
|
15679
|
-
var XD = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "true" } }, JD = class extends
|
|
15679
|
+
var XD = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "true" } }, JD = class extends ht {
|
|
15680
15680
|
constructor(e, t, i) {
|
|
15681
15681
|
super(XD), this.rowNode = e, this.column = t, this.eCell = i;
|
|
15682
15682
|
}
|
|
@@ -15720,7 +15720,7 @@ var XD = { tag: "div", cls: "ag-drag-handle ag-row-drag", attrs: { draggable: "t
|
|
|
15720
15720
|
]
|
|
15721
15721
|
}
|
|
15722
15722
|
]
|
|
15723
|
-
}, i5 = class extends
|
|
15723
|
+
}, i5 = class extends ht {
|
|
15724
15724
|
constructor() {
|
|
15725
15725
|
super(), this.dragSource = null, this.eIcon = fe, this.eLabel = fe, this.eGhost = fe, this.registerCSS(e5);
|
|
15726
15726
|
}
|
|
@@ -16080,7 +16080,7 @@ var zw = (e, t) => {
|
|
|
16080
16080
|
tag: "div",
|
|
16081
16081
|
cls: "ag-drag-handle ag-row-drag",
|
|
16082
16082
|
attrs: { "aria-hidden": "true" }
|
|
16083
|
-
}, nl = { skipAriaHidden: !0 }, f5 = class extends
|
|
16083
|
+
}, nl = { skipAriaHidden: !0 }, f5 = class extends ht {
|
|
16084
16084
|
constructor(e, t, i, s, n, o = !1) {
|
|
16085
16085
|
super(), this.cellValueFn = e, this.rowNode = t, this.column = i, this.customGui = s, this.dragStartPixels = n, this.alwaysVisible = o, this.dragSource = null, this.disabled = !1;
|
|
16086
16086
|
}
|
|
@@ -16345,14 +16345,14 @@ var w5 = 0.25, b5 = class extends j {
|
|
|
16345
16345
|
}
|
|
16346
16346
|
u?.detail && (u = u.parent), r.moved && (r.moved = d !== u);
|
|
16347
16347
|
let m = 0.5;
|
|
16348
|
-
if (u && (l && r.moved && (f || !p) ? m = d.rowIndex > u.rowIndex ? -0.5 : 0.5 : m = (r.y - u.rowTop - u.rowHeight / 2) / u.rowHeight || 0), !p && l && u && r.moved &&
|
|
16348
|
+
if (u && (l && r.moved && (f || !p) ? m = d.rowIndex > u.rowIndex ? -0.5 : 0.5 : m = (r.y - u.rowTop - u.rowHeight / 2) / u.rowHeight || 0), !p && l && u && r.moved && dt(o)) {
|
|
16349
16349
|
const v = y5(a, r);
|
|
16350
16350
|
v && (m = d.rowIndex > v.rowIndex ? -0.5 : 0.5, u = v, r.moved && (r.moved = d !== u));
|
|
16351
16351
|
}
|
|
16352
16352
|
return r.target = u, r.newParent = f, r.pointerPos = S5(u, r.y), r.yDelta = m, h?.fixRowsDrop(r, p, i, m), this.validateRowsDrop(r, p, s), t.changed || (t.changed = Xf(e?.dropTarget, r)), r;
|
|
16353
16353
|
}
|
|
16354
16354
|
newRowsDrop(e, t) {
|
|
16355
|
-
const { beans: i, gos: s } = this, n = i.rowModel.rootNode, o =
|
|
16355
|
+
const { beans: i, gos: s } = this, n = i.rowModel.rootNode, o = dt(s) ? s.get("rowDragManaged") : !1, r = s.get("suppressMoveWhenRowDragging"), a = this.isFromThisGrid(e);
|
|
16356
16356
|
let { rowNode: l, rowNodes: c } = e.dragItem;
|
|
16357
16357
|
if (c || (c = l ? [l] : []), l || (l = c[0]), !l || !n)
|
|
16358
16358
|
return null;
|
|
@@ -16631,7 +16631,7 @@ var w5 = 0.25, b5 = class extends j {
|
|
|
16631
16631
|
}
|
|
16632
16632
|
createRowDragCompForCell(e, t, i, s, n, o) {
|
|
16633
16633
|
const r = this.gos;
|
|
16634
|
-
return r.get("rowDragManaged") && (!
|
|
16634
|
+
return r.get("rowDragManaged") && (!dt(r) || r.get("pagination")) ? void 0 : this.createRowDragComp(
|
|
16635
16635
|
i,
|
|
16636
16636
|
e,
|
|
16637
16637
|
t,
|
|
@@ -17060,7 +17060,7 @@ var em = 7, ah = 100, ol = ah / 2, z5 = 5, W5 = 100, j5 = class extends j {
|
|
|
17060
17060
|
this.finishColumnMoving();
|
|
17061
17061
|
return;
|
|
17062
17062
|
}
|
|
17063
|
-
if (this.lastDraggingEvent = e, !e || !s &&
|
|
17063
|
+
if (this.lastDraggingEvent = e, !e || !s && lt(e.hDirection))
|
|
17064
17064
|
return;
|
|
17065
17065
|
const a = rh({
|
|
17066
17066
|
x: e.x,
|
|
@@ -17495,7 +17495,7 @@ var $5 = class extends j {
|
|
|
17495
17495
|
return new U5(e, t);
|
|
17496
17496
|
}
|
|
17497
17497
|
moveHeader(e, t, i, s, n) {
|
|
17498
|
-
const { ctrlsSvc: o, gos: r, colModel: a, visibleCols: l, focusSvc: c } = this.beans, d = t.getBoundingClientRect(), u = d.left, h =
|
|
17498
|
+
const { ctrlsSvc: o, gos: r, colModel: a, visibleCols: l, focusSvc: c } = this.beans, d = t.getBoundingClientRect(), u = d.left, h = gt(i), p = h ? d.width : i.getActualWidth(), f = e === "left" !== r.get("enableRtl"), m = rh({
|
|
17499
17499
|
x: f ? u - 20 : u + p + 20,
|
|
17500
17500
|
pinned: s,
|
|
17501
17501
|
fromKeyboard: !0,
|
|
@@ -17545,7 +17545,7 @@ var $5 = class extends j {
|
|
|
17545
17545
|
setDragSourceForHeader(e, t, i) {
|
|
17546
17546
|
const { gos: s, colModel: n, dragAndDrop: o, visibleCols: r } = this.beans;
|
|
17547
17547
|
let a = !s.get("suppressDragLeaveHidesColumns");
|
|
17548
|
-
const l =
|
|
17548
|
+
const l = gt(t), c = l ? t.getProvidedColumnGroup().getLeafColumns() : [t], u = {
|
|
17549
17549
|
type: 1,
|
|
17550
17550
|
eElement: e,
|
|
17551
17551
|
getDefaultIconName: () => a ? "hide" : "notAllowed",
|
|
@@ -18237,7 +18237,7 @@ var oP = {
|
|
|
18237
18237
|
}
|
|
18238
18238
|
announceAriaDescription() {
|
|
18239
18239
|
const { beans: e, eGui: t, ariaAnnouncement: i } = this;
|
|
18240
|
-
!i || !t.contains(
|
|
18240
|
+
!i || !t.contains(rt(e)) || e.ariaAnnounce?.announceValue(i, "columnHeader");
|
|
18241
18241
|
}
|
|
18242
18242
|
// unlike columns, this will only get called once, as we don't react on props on column groups
|
|
18243
18243
|
// (we will always destroy and recreate this comp if something changes)
|
|
@@ -18379,12 +18379,12 @@ var bP = class extends j {
|
|
|
18379
18379
|
}
|
|
18380
18380
|
getAriaColIndex(e) {
|
|
18381
18381
|
let t;
|
|
18382
|
-
return
|
|
18382
|
+
return gt(e) ? t = e.getLeafColumns()[0] : t = e, this.ariaOrderColumns.indexOf(t) + 1;
|
|
18383
18383
|
}
|
|
18384
18384
|
setLeftValuesOfGroups() {
|
|
18385
18385
|
for (const e of [this.treeLeft, this.treeRight, this.treeCenter])
|
|
18386
18386
|
for (const t of e)
|
|
18387
|
-
|
|
18387
|
+
gt(t) && t.checkLeft();
|
|
18388
18388
|
}
|
|
18389
18389
|
setLeftValuesOfCols(e) {
|
|
18390
18390
|
const { colModel: t } = this.beans;
|
|
@@ -18514,7 +18514,7 @@ var bP = class extends j {
|
|
|
18514
18514
|
return !1;
|
|
18515
18515
|
const s = t === "first";
|
|
18516
18516
|
let n;
|
|
18517
|
-
if (
|
|
18517
|
+
if (gt(e)) {
|
|
18518
18518
|
const o = e.getDisplayedLeafColumns();
|
|
18519
18519
|
if (!o.length)
|
|
18520
18520
|
return !1;
|
|
@@ -18528,7 +18528,7 @@ function bn(e, t, i) {
|
|
|
18528
18528
|
if (e)
|
|
18529
18529
|
for (let s = 0; s < e.length; s++) {
|
|
18530
18530
|
const n = e[s];
|
|
18531
|
-
if (
|
|
18531
|
+
if (gt(n)) {
|
|
18532
18532
|
const o = t ? n.getDisplayedChildren() : n.getChildren();
|
|
18533
18533
|
bn(o, t, i);
|
|
18534
18534
|
}
|
|
@@ -18616,7 +18616,7 @@ var xP = class extends j {
|
|
|
18616
18616
|
updateOpenClosedVisibility() {
|
|
18617
18617
|
const e = this.beans.visibleCols.getAllTrees();
|
|
18618
18618
|
bn(e, !1, (t) => {
|
|
18619
|
-
|
|
18619
|
+
gt(t) && t.calculateDisplayedColumns();
|
|
18620
18620
|
});
|
|
18621
18621
|
}
|
|
18622
18622
|
// returns the group with matching colId and instanceId. If instanceId is missing,
|
|
@@ -18624,12 +18624,12 @@ var xP = class extends j {
|
|
|
18624
18624
|
getColumnGroup(e, t) {
|
|
18625
18625
|
if (!e)
|
|
18626
18626
|
return null;
|
|
18627
|
-
if (
|
|
18627
|
+
if (gt(e))
|
|
18628
18628
|
return e;
|
|
18629
18629
|
const i = this.beans.visibleCols.getAllTrees(), s = typeof t == "number";
|
|
18630
18630
|
let n = null;
|
|
18631
18631
|
return bn(i, !1, (o) => {
|
|
18632
|
-
if (
|
|
18632
|
+
if (gt(o)) {
|
|
18633
18633
|
const r = o;
|
|
18634
18634
|
let a;
|
|
18635
18635
|
s ? a = e === r.getGroupId() && t === r.getPartId() : a = e === r.getGroupId(), a && (n = r);
|
|
@@ -18646,7 +18646,7 @@ var xP = class extends j {
|
|
|
18646
18646
|
const u = (h) => {
|
|
18647
18647
|
const p = d;
|
|
18648
18648
|
d = h;
|
|
18649
|
-
const f = c[p], v = (
|
|
18649
|
+
const f = c[p], v = (gt(f) ? f.getProvidedColumnGroup() : f).getOriginalParent();
|
|
18650
18650
|
if (v == null) {
|
|
18651
18651
|
for (let w = p; w < h; w++)
|
|
18652
18652
|
a.push(c[w]);
|
|
@@ -18664,7 +18664,7 @@ var xP = class extends j {
|
|
|
18664
18664
|
l.push(C);
|
|
18665
18665
|
};
|
|
18666
18666
|
for (let h = 1; h < c.length; h++) {
|
|
18667
|
-
const p = c[h], m = (
|
|
18667
|
+
const p = c[h], m = (gt(p) ? p.getProvidedColumnGroup() : p).getOriginalParent(), v = c[d], w = (gt(v) ? v.getProvidedColumnGroup() : v).getOriginalParent();
|
|
18668
18668
|
m !== w && u(h);
|
|
18669
18669
|
}
|
|
18670
18670
|
d < c.length && u(c.length);
|
|
@@ -18772,7 +18772,7 @@ var xP = class extends j {
|
|
|
18772
18772
|
mapOldGroupsById(e) {
|
|
18773
18773
|
const t = {}, i = (s) => {
|
|
18774
18774
|
for (const n of s)
|
|
18775
|
-
if (
|
|
18775
|
+
if (gt(n)) {
|
|
18776
18776
|
const o = n;
|
|
18777
18777
|
t[n.getUniqueId()] = o, i(o.getChildren());
|
|
18778
18778
|
}
|
|
@@ -18781,7 +18781,7 @@ var xP = class extends j {
|
|
|
18781
18781
|
}
|
|
18782
18782
|
setupParentsIntoCols(e, t) {
|
|
18783
18783
|
for (const i of e ?? [])
|
|
18784
|
-
if (i.parent !== t && (this.beans.colViewport.colsWithinViewportHash = ""), i.parent = t,
|
|
18784
|
+
if (i.parent !== t && (this.beans.colViewport.colsWithinViewportHash = ""), i.parent = t, gt(i)) {
|
|
18785
18785
|
const s = i;
|
|
18786
18786
|
this.setupParentsIntoCols(s.getChildren(), s);
|
|
18787
18787
|
}
|
|
@@ -18908,7 +18908,7 @@ function SP(e, t) {
|
|
|
18908
18908
|
let u = 1e3, h = 1e3;
|
|
18909
18909
|
const p = (w) => {
|
|
18910
18910
|
const b = e1(w);
|
|
18911
|
-
|
|
18911
|
+
lt(b.rowGroupIndex) && b.rowGroup && (b.rowGroupIndex = u++), lt(b.pivotIndex) && b.pivot && (b.pivotIndex = h++), d.push(b);
|
|
18912
18912
|
};
|
|
18913
18913
|
s?.getColumns()?.forEach(p), n?.getColumns()?.forEach(p), c?.forEach(p), Ti(e, { state: d }, t);
|
|
18914
18914
|
const f = s?.getColumns() ?? [], C = [...n?.getColumns() ?? [], ...f, ...a].map((w) => ({ colId: w.colId }));
|
|
@@ -18971,7 +18971,7 @@ function Jw(e, t) {
|
|
|
18971
18971
|
}
|
|
18972
18972
|
function oc(e) {
|
|
18973
18973
|
const { colModel: t, rowGroupColsSvc: i, pivotColsSvc: s } = e, n = t.getColDefCols();
|
|
18974
|
-
if (
|
|
18974
|
+
if (lt(n) || !t.isAlive())
|
|
18975
18975
|
return [];
|
|
18976
18976
|
const o = i?.columns, r = s?.columns, a = [], l = (d) => {
|
|
18977
18977
|
const u = d.isRowGroupActive() && o ? o.indexOf(d) : null, h = d.isPivotActive() && r ? r.indexOf(d) : null, p = d.isValueActive() ? d.getAggFunc() : null, f = d.getSortIndex() != null ? d.getSortIndex() : null;
|
|
@@ -19641,7 +19641,7 @@ var hn = class extends t1 {
|
|
|
19641
19641
|
role: "presentation"
|
|
19642
19642
|
}
|
|
19643
19643
|
]
|
|
19644
|
-
}, AP = class extends
|
|
19644
|
+
}, AP = class extends ht {
|
|
19645
19645
|
constructor() {
|
|
19646
19646
|
super(kP, [$p]), this.eCheckbox = fe, this.registerCSS(MP);
|
|
19647
19647
|
}
|
|
@@ -19661,7 +19661,7 @@ var hn = class extends t1 {
|
|
|
19661
19661
|
}), this.addManagedElementListeners(e.eGridCell, {
|
|
19662
19662
|
keydown: (n) => {
|
|
19663
19663
|
if (n.key === N.SPACE && !t.isDisabled()) {
|
|
19664
|
-
e.eGridCell ===
|
|
19664
|
+
e.eGridCell === rt(i) && t.toggle();
|
|
19665
19665
|
const o = t.getValue();
|
|
19666
19666
|
this.onCheckboxChanged(o), n.preventDefault();
|
|
19667
19667
|
}
|
|
@@ -19707,7 +19707,7 @@ var hn = class extends t1 {
|
|
|
19707
19707
|
valueChanged: a
|
|
19708
19708
|
}), a || this.updateCheckbox(t);
|
|
19709
19709
|
}
|
|
19710
|
-
}, LP = { tag: "div", cls: "ag-skeleton-container" }, OP = class extends
|
|
19710
|
+
}, LP = { tag: "div", cls: "ag-skeleton-container" }, OP = class extends ht {
|
|
19711
19711
|
constructor() {
|
|
19712
19712
|
super(LP);
|
|
19713
19713
|
}
|
|
@@ -20260,7 +20260,7 @@ var u4 = [
|
|
|
20260
20260
|
}
|
|
20261
20261
|
canInferCellDataType(e, t) {
|
|
20262
20262
|
const { gos: i } = this;
|
|
20263
|
-
if (!
|
|
20263
|
+
if (!dt(i))
|
|
20264
20264
|
return !1;
|
|
20265
20265
|
const s = { cellRenderer: !0, valueGetter: !0, valueParser: !0, refData: !0 };
|
|
20266
20266
|
if (cu(t, s))
|
|
@@ -21061,7 +21061,7 @@ ${n}`;
|
|
|
21061
21061
|
ref: "foregroundColor",
|
|
21062
21062
|
mix: e,
|
|
21063
21063
|
onto: "headerBackgroundColor"
|
|
21064
|
-
}),
|
|
21064
|
+
}), ft = { ref: "backgroundColor" }, zi = { ref: "foregroundColor" }, Jt = { ref: "accentColor" }, rc = {
|
|
21065
21065
|
backgroundColor: "#fff",
|
|
21066
21066
|
foregroundColor: "#181d1f",
|
|
21067
21067
|
borderColor: Nt(0.15),
|
|
@@ -21110,7 +21110,7 @@ ${n}`;
|
|
|
21110
21110
|
listItemHeight: {
|
|
21111
21111
|
calc: "max(iconSize, dataFontSize) + widgetVerticalSpacing"
|
|
21112
21112
|
},
|
|
21113
|
-
dragAndDropImageBackgroundColor:
|
|
21113
|
+
dragAndDropImageBackgroundColor: ft,
|
|
21114
21114
|
dragAndDropImageBorder: !0,
|
|
21115
21115
|
dragAndDropImageNotAllowedBorder: {
|
|
21116
21116
|
color: {
|
|
@@ -21128,7 +21128,7 @@ ${n}`;
|
|
|
21128
21128
|
toggleButtonHeight: 18,
|
|
21129
21129
|
toggleButtonOnBackgroundColor: Jt,
|
|
21130
21130
|
toggleButtonOffBackgroundColor: Tt(0.3),
|
|
21131
|
-
toggleButtonSwitchBackgroundColor:
|
|
21131
|
+
toggleButtonSwitchBackgroundColor: ft,
|
|
21132
21132
|
toggleButtonSwitchInset: 2,
|
|
21133
21133
|
tooltipBackgroundColor: {
|
|
21134
21134
|
ref: "chromeBackgroundColor"
|
|
@@ -21152,7 +21152,7 @@ ${n}`;
|
|
|
21152
21152
|
mix: 0.25
|
|
21153
21153
|
}
|
|
21154
21154
|
},
|
|
21155
|
-
panelBackgroundColor:
|
|
21155
|
+
panelBackgroundColor: ft,
|
|
21156
21156
|
panelTitleBarHeight: { ref: "headerHeight" },
|
|
21157
21157
|
panelTitleBarBackgroundColor: {
|
|
21158
21158
|
ref: "headerBackgroundColor"
|
|
@@ -21571,7 +21571,7 @@ ${i}}
|
|
|
21571
21571
|
sideButtonTextColor: { ref: "textColor" },
|
|
21572
21572
|
sideButtonHoverBackgroundColor: { ref: "sideButtonBackgroundColor" },
|
|
21573
21573
|
sideButtonHoverTextColor: { ref: "sideButtonTextColor" },
|
|
21574
|
-
sideButtonSelectedBackgroundColor:
|
|
21574
|
+
sideButtonSelectedBackgroundColor: ft,
|
|
21575
21575
|
sideButtonSelectedTextColor: { ref: "sideButtonTextColor" },
|
|
21576
21576
|
sideButtonBorder: "solid 1px transparent",
|
|
21577
21577
|
sideButtonSelectedBorder: !0,
|
|
@@ -21608,7 +21608,7 @@ ${i}}
|
|
|
21608
21608
|
ref: "backgroundColor",
|
|
21609
21609
|
mix: 0.66
|
|
21610
21610
|
},
|
|
21611
|
-
dataBackgroundColor:
|
|
21611
|
+
dataBackgroundColor: ft,
|
|
21612
21612
|
oddRowBackgroundColor: { ref: "dataBackgroundColor" },
|
|
21613
21613
|
wrapperBorderRadius: 8,
|
|
21614
21614
|
cellHorizontalPadding: {
|
|
@@ -21687,9 +21687,9 @@ ${i}}
|
|
|
21687
21687
|
advancedFilterBuilderColumnPillColor: "#a6e194",
|
|
21688
21688
|
advancedFilterBuilderOptionPillColor: "#f3c08b",
|
|
21689
21689
|
advancedFilterBuilderValuePillColor: "#85c0e4",
|
|
21690
|
-
filterPanelApplyButtonColor:
|
|
21690
|
+
filterPanelApplyButtonColor: ft,
|
|
21691
21691
|
filterPanelApplyButtonBackgroundColor: Jt,
|
|
21692
|
-
columnPanelApplyButtonColor:
|
|
21692
|
+
columnPanelApplyButtonColor: ft,
|
|
21693
21693
|
columnPanelApplyButtonBackgroundColor: Jt,
|
|
21694
21694
|
filterPanelCardSubtleColor: {
|
|
21695
21695
|
ref: "textColor",
|
|
@@ -21763,7 +21763,7 @@ ${i}}
|
|
|
21763
21763
|
feature: "buttonStyle",
|
|
21764
21764
|
params: {
|
|
21765
21765
|
...g1,
|
|
21766
|
-
buttonBackgroundColor:
|
|
21766
|
+
buttonBackgroundColor: ft,
|
|
21767
21767
|
buttonBorder: !0,
|
|
21768
21768
|
buttonHoverBackgroundColor: { ref: "rowHoverColor" },
|
|
21769
21769
|
buttonActiveBorder: { color: Jt }
|
|
@@ -21776,7 +21776,7 @@ ${i}}
|
|
|
21776
21776
|
buttonBorder: { color: zi, width: 2, style: "outset" },
|
|
21777
21777
|
buttonActiveBorder: { color: zi, width: 2, style: "inset" },
|
|
21778
21778
|
buttonBackgroundColor: Tt(0.07),
|
|
21779
|
-
buttonHoverBackgroundColor:
|
|
21779
|
+
buttonHoverBackgroundColor: ft,
|
|
21780
21780
|
buttonVerticalPadding: { calc: "spacing * 0.5" }
|
|
21781
21781
|
},
|
|
21782
21782
|
css: p1
|
|
@@ -21856,20 +21856,20 @@ ${i}}
|
|
|
21856
21856
|
checkboxBorderRadius: {
|
|
21857
21857
|
ref: "borderRadius"
|
|
21858
21858
|
},
|
|
21859
|
-
checkboxUncheckedBackgroundColor:
|
|
21859
|
+
checkboxUncheckedBackgroundColor: ft,
|
|
21860
21860
|
checkboxUncheckedBorderColor: Tt(0.3),
|
|
21861
21861
|
checkboxCheckedBackgroundColor: Jt,
|
|
21862
21862
|
checkboxCheckedBorderColor: { ref: "checkboxCheckedBackgroundColor" },
|
|
21863
21863
|
checkboxCheckedShapeImage: {
|
|
21864
21864
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7" fill="none"><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" d="M1 3.5 3.5 6l5-5"/></svg>'
|
|
21865
21865
|
},
|
|
21866
|
-
checkboxCheckedShapeColor:
|
|
21866
|
+
checkboxCheckedShapeColor: ft,
|
|
21867
21867
|
checkboxIndeterminateBackgroundColor: Tt(0.3),
|
|
21868
21868
|
checkboxIndeterminateBorderColor: { ref: "checkboxIndeterminateBackgroundColor" },
|
|
21869
21869
|
checkboxIndeterminateShapeImage: {
|
|
21870
21870
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="10" height="2" fill="none"><rect width="10" height="2" fill="#000" rx="1"/></svg>'
|
|
21871
21871
|
},
|
|
21872
|
-
checkboxIndeterminateShapeColor:
|
|
21872
|
+
checkboxIndeterminateShapeColor: ft,
|
|
21873
21873
|
radioCheckedShapeImage: {
|
|
21874
21874
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" fill="none"><circle cx="3" cy="3" r="3" fill="#000"/></svg>'
|
|
21875
21875
|
}
|
|
@@ -21893,8 +21893,8 @@ ${i}}
|
|
|
21893
21893
|
advancedFilterBuilderValuePillColor: "#374c86",
|
|
21894
21894
|
filterPanelApplyButtonColor: zi,
|
|
21895
21895
|
columnPanelApplyButtonColor: zi,
|
|
21896
|
-
findMatchColor:
|
|
21897
|
-
findActiveMatchColor:
|
|
21896
|
+
findMatchColor: ft,
|
|
21897
|
+
findActiveMatchColor: ft,
|
|
21898
21898
|
checkboxUncheckedBorderColor: Tt(0.4),
|
|
21899
21899
|
toggleButtonOffBackgroundColor: Tt(0.4),
|
|
21900
21900
|
rowBatchEditBackgroundColor: Tt(0.1),
|
|
@@ -22069,7 +22069,7 @@ ${i}}
|
|
|
22069
22069
|
feature: "inputStyle",
|
|
22070
22070
|
params: {
|
|
22071
22071
|
...O6,
|
|
22072
|
-
inputBackgroundColor:
|
|
22072
|
+
inputBackgroundColor: ft,
|
|
22073
22073
|
inputBorder: !0,
|
|
22074
22074
|
inputBorderRadius: {
|
|
22075
22075
|
ref: "borderRadius"
|
|
@@ -22150,7 +22150,7 @@ ${i}}
|
|
|
22150
22150
|
tabSelectedBorderColor: {
|
|
22151
22151
|
ref: "borderColor"
|
|
22152
22152
|
},
|
|
22153
|
-
tabSelectedBackgroundColor:
|
|
22153
|
+
tabSelectedBackgroundColor: ft
|
|
22154
22154
|
},
|
|
22155
22155
|
css: y1
|
|
22156
22156
|
}), B6 = /* @__PURE__ */ G6(), V6 = () => At({
|
|
@@ -22180,7 +22180,7 @@ ${i}}
|
|
|
22180
22180
|
tabSelectedBorderColor: {
|
|
22181
22181
|
ref: "borderColor"
|
|
22182
22182
|
},
|
|
22183
|
-
tabSelectedBackgroundColor:
|
|
22183
|
+
tabSelectedBackgroundColor: ft
|
|
22184
22184
|
},
|
|
22185
22185
|
css: () => y1 + H6
|
|
22186
22186
|
}), z6 = /* @__PURE__ */ V6(), W6 = () => ({
|
|
@@ -22209,12 +22209,12 @@ ${i}}
|
|
|
22209
22209
|
},
|
|
22210
22210
|
checkboxBorderRadius: 2,
|
|
22211
22211
|
checkboxBorderWidth: 1,
|
|
22212
|
-
checkboxUncheckedBackgroundColor:
|
|
22212
|
+
checkboxUncheckedBackgroundColor: ft,
|
|
22213
22213
|
checkboxUncheckedBorderColor: Tt(0.5),
|
|
22214
|
-
checkboxCheckedBackgroundColor:
|
|
22214
|
+
checkboxCheckedBackgroundColor: ft,
|
|
22215
22215
|
checkboxCheckedBorderColor: Jt,
|
|
22216
22216
|
checkboxCheckedShapeColor: Jt,
|
|
22217
|
-
checkboxIndeterminateBackgroundColor:
|
|
22217
|
+
checkboxIndeterminateBackgroundColor: ft,
|
|
22218
22218
|
checkboxIndeterminateBorderColor: Tt(0.5),
|
|
22219
22219
|
checkboxIndeterminateShapeColor: Tt(0.5),
|
|
22220
22220
|
focusShadow: { radius: 2, spread: 1, color: Jt },
|
|
@@ -22222,7 +22222,7 @@ ${i}}
|
|
|
22222
22222
|
iconButtonHoverBackgroundColor: "transparent",
|
|
22223
22223
|
iconButtonActiveBackgroundColor: "transparent",
|
|
22224
22224
|
fontSize: 12,
|
|
22225
|
-
tabSelectedBackgroundColor:
|
|
22225
|
+
tabSelectedBackgroundColor: ft,
|
|
22226
22226
|
headerFontWeight: "bold",
|
|
22227
22227
|
toggleButtonWidth: 32,
|
|
22228
22228
|
toggleButtonHeight: 16,
|
|
@@ -22463,7 +22463,7 @@ var iT = class extends j {
|
|
|
22463
22463
|
if (e.getPinned())
|
|
22464
22464
|
return;
|
|
22465
22465
|
let i;
|
|
22466
|
-
if (
|
|
22466
|
+
if (gt(e)) {
|
|
22467
22467
|
const s = e.getDisplayedLeafColumns();
|
|
22468
22468
|
i = t === "Before" ? Ke(s) : s[0];
|
|
22469
22469
|
} else
|
|
@@ -22599,14 +22599,14 @@ var oT = class extends j {
|
|
|
22599
22599
|
return e.get("suppressFocusAfterRefresh") || e.get("suppressCellFocus") || !t || !this.doesRowOrCellHaveBrowserFocus() ? null : t;
|
|
22600
22600
|
}
|
|
22601
22601
|
getFocusHeaderToUseAfterRefresh() {
|
|
22602
|
-
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(
|
|
22602
|
+
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeader || !this.isDomDataPresentInHierarchy(rt(this.beans), Ew) ? null : this.focusedHeader;
|
|
22603
22603
|
}
|
|
22604
22604
|
/**
|
|
22605
22605
|
* Check for both cells and rows, as a row might be destroyed and the dom data removed before the cell if the
|
|
22606
22606
|
* row is animating out.
|
|
22607
22607
|
*/
|
|
22608
22608
|
doesRowOrCellHaveBrowserFocus() {
|
|
22609
|
-
const e =
|
|
22609
|
+
const e = rt(this.beans);
|
|
22610
22610
|
return this.isDomDataPresentInHierarchy(e, ic, !0) ? !0 : this.isDomDataPresentInHierarchy(e, sc, !0);
|
|
22611
22611
|
}
|
|
22612
22612
|
isDomDataPresentInHierarchy(e, t, i) {
|
|
@@ -24490,7 +24490,7 @@ function MT(e, t) {
|
|
|
24490
24490
|
]
|
|
24491
24491
|
};
|
|
24492
24492
|
}
|
|
24493
|
-
var kT = class extends
|
|
24493
|
+
var kT = class extends ht {
|
|
24494
24494
|
constructor() {
|
|
24495
24495
|
super(...arguments), this.eFilter = fe, this.eFilterButton = fe, this.eSortIndicator = fe, this.eMenu = fe, this.eLabel = fe, this.eText = fe, this.eColRef = fe, this.eSortOrder = fe, this.eSortAsc = fe, this.eSortDesc = fe, this.eSortMixed = fe, this.eSortNone = fe, this.eSortAbsoluteAsc = fe, this.eSortAbsoluteDesc = fe, this.isLoadingInnerComponent = !1;
|
|
24496
24496
|
}
|
|
@@ -24703,7 +24703,7 @@ var kT = class extends ut {
|
|
|
24703
24703
|
{ tag: "span", ref: "agOpened", cls: "ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded" },
|
|
24704
24704
|
{ tag: "span", ref: "agClosed", cls: "ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed" }
|
|
24705
24705
|
]
|
|
24706
|
-
}, OT = class extends
|
|
24706
|
+
}, OT = class extends ht {
|
|
24707
24707
|
constructor() {
|
|
24708
24708
|
super(LT), this.agOpened = fe, this.agClosed = fe, this.agLabel = fe, this.isLoadingInnerComponent = !1;
|
|
24709
24709
|
}
|
|
@@ -25107,7 +25107,7 @@ var kT = class extends ut {
|
|
|
25107
25107
|
if (!r) {
|
|
25108
25108
|
r = s[0];
|
|
25109
25109
|
const a = Wf(this.beans, e, !0);
|
|
25110
|
-
if (
|
|
25110
|
+
if (lt(a) || !a.rowPinned && !(i?.isRowInPage(a.rowIndex) ?? !0))
|
|
25111
25111
|
return null;
|
|
25112
25112
|
n = a ? a.rowIndex : null, o = a ? a.rowPinned : null;
|
|
25113
25113
|
}
|
|
@@ -25119,7 +25119,7 @@ var kT = class extends ut {
|
|
|
25119
25119
|
if (!a) {
|
|
25120
25120
|
a = Ke(n);
|
|
25121
25121
|
const l = tc(t, { rowIndex: e.rowIndex, rowPinned: e.rowPinned }, !0);
|
|
25122
|
-
if (
|
|
25122
|
+
if (lt(l) || !l.rowPinned && !(s?.isRowInPage(l.rowIndex) ?? !0))
|
|
25123
25123
|
return null;
|
|
25124
25124
|
o = l ? l.rowIndex : null, r = l ? l.rowPinned : null;
|
|
25125
25125
|
}
|
|
@@ -26178,7 +26178,7 @@ var hI = class extends j {
|
|
|
26178
26178
|
else {
|
|
26179
26179
|
let n = e;
|
|
26180
26180
|
const o = e.getPinned();
|
|
26181
|
-
for (let r = 0; n && r < i && (s.push(n), n = this.beans.visibleCols.getColAfter(n), !(!n ||
|
|
26181
|
+
for (let r = 0; n && r < i && (s.push(n), n = this.beans.visibleCols.getColAfter(n), !(!n || lt(n) || o !== n.getPinned())); r++)
|
|
26182
26182
|
;
|
|
26183
26183
|
}
|
|
26184
26184
|
return s;
|
|
@@ -26633,7 +26633,7 @@ var hI = class extends j {
|
|
|
26633
26633
|
this.onCompAttachedFuncs = [], this.onEditorAttachedFuncs = [], this.isCellFocused() && this.hasBrowserFocus() && this.beans.focusSvc.attemptToRecoverFocus(), super.destroy();
|
|
26634
26634
|
}
|
|
26635
26635
|
hasBrowserFocus() {
|
|
26636
|
-
return this.eGui?.contains(
|
|
26636
|
+
return this.eGui?.contains(rt(this.beans)) ?? !1;
|
|
26637
26637
|
}
|
|
26638
26638
|
createSelectionCheckbox() {
|
|
26639
26639
|
const e = this.beans.selectionSvc?.createCheckboxSelectionComponent();
|
|
@@ -27203,7 +27203,7 @@ var RI = class extends j {
|
|
|
27203
27203
|
return;
|
|
27204
27204
|
const t = this.allRowGuis.find(
|
|
27205
27205
|
(a) => a.element.contains(e.target)
|
|
27206
|
-
), i = t ? t.element : null, s = i === e.target, n =
|
|
27206
|
+
), i = t ? t.element : null, s = i === e.target, n = rt(this.beans);
|
|
27207
27207
|
let o = !1;
|
|
27208
27208
|
i && n && (o = i.contains(n) && n.classList.contains("ag-cell"));
|
|
27209
27209
|
let r = null;
|
|
@@ -27581,7 +27581,7 @@ var RI = class extends j {
|
|
|
27581
27581
|
} else
|
|
27582
27582
|
for (const n of this.allRowGuis)
|
|
27583
27583
|
n.rowComp.toggleCss("ag-opacity-zero", !0);
|
|
27584
|
-
this.fullWidthGui?.element.contains(
|
|
27584
|
+
this.fullWidthGui?.element.contains(rt(this.beans)) && this.beans.focusSvc.attemptToRecoverFocus(), t.setHovered(!1);
|
|
27585
27585
|
const i = this.createRowEvent("virtualRowRemoved");
|
|
27586
27586
|
this.dispatchLocalEvent(i), this.beans.eventSvc.dispatchEvent(i), super.destroy();
|
|
27587
27587
|
}
|
|
@@ -27959,7 +27959,7 @@ var RI = class extends j {
|
|
|
27959
27959
|
let n = i, o = !1;
|
|
27960
27960
|
const r = this.beans, { cellNavigation: a, focusSvc: l, gos: c } = r;
|
|
27961
27961
|
for (; n && (n === i || !this.isValidNavigateCell(n)); )
|
|
27962
|
-
c.get("enableRtl") ? t === N.LEFT && (n = this.getLastCellOfColSpan(n)) : t === N.RIGHT && (n = this.getLastCellOfColSpan(n)), n = a.getNextCellToFocus(t, n), o =
|
|
27962
|
+
c.get("enableRtl") ? t === N.LEFT && (n = this.getLastCellOfColSpan(n)) : t === N.RIGHT && (n = this.getLastCellOfColSpan(n)), n = a.getNextCellToFocus(t, n), o = lt(n);
|
|
27963
27963
|
if (o && e && e.key === N.UP && (n = {
|
|
27964
27964
|
rowIndex: -1,
|
|
27965
27965
|
rowPinned: null,
|
|
@@ -28052,7 +28052,7 @@ var RI = class extends j {
|
|
|
28052
28052
|
}
|
|
28053
28053
|
ensureCellVisible(e) {
|
|
28054
28054
|
const t = $C(this.gos), i = this.beans.rowModel.getRow(e.rowIndex), s = t && i?.sticky, { scrollFeature: n } = this.gridBodyCon;
|
|
28055
|
-
!s &&
|
|
28055
|
+
!s && lt(e.rowPinned) && n.ensureIndexVisible(e.rowIndex), e.column.isPinned() || n.ensureColumnVisible(e.column);
|
|
28056
28056
|
}
|
|
28057
28057
|
ensureColumnVisible(e) {
|
|
28058
28058
|
const t = this.gridBodyCon.scrollFeature;
|
|
@@ -28339,7 +28339,7 @@ var DI = {
|
|
|
28339
28339
|
version: ie,
|
|
28340
28340
|
beans: [GI],
|
|
28341
28341
|
css: [HI]
|
|
28342
|
-
}, Wc = class extends
|
|
28342
|
+
}, Wc = class extends ht {
|
|
28343
28343
|
constructor() {
|
|
28344
28344
|
super();
|
|
28345
28345
|
}
|
|
@@ -28419,7 +28419,7 @@ var QI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
28419
28419
|
children: [{ tag: "div", ref: "eOverlayWrapper", cls: "ag-overlay-wrapper", role: "presentation" }]
|
|
28420
28420
|
}
|
|
28421
28421
|
]
|
|
28422
|
-
}, M1 = class extends
|
|
28422
|
+
}, M1 = class extends ht {
|
|
28423
28423
|
constructor() {
|
|
28424
28424
|
super(XI), this.eOverlayWrapper = fe, this.activeOverlay = null, this.activePromise = null, this.activeCssClass = null, this.elToFocusAfter = null, this.overlayExclusive = !1, this.oldWrapperPadding = null, this.registerCSS(QI);
|
|
28425
28425
|
}
|
|
@@ -28458,7 +28458,7 @@ var QI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
28458
28458
|
if (this.destroyActiveOverlay(), this.elToFocusAfter = null, this.activePromise = e, this.overlayExclusive = i, !e)
|
|
28459
28459
|
return this.refreshWrapperPadding(), He.resolve();
|
|
28460
28460
|
if (this.setWrapperTypeClass(t), this.setDisplayed(!0, { skipAriaHidden: !0 }), this.refreshWrapperPadding(), i && this.isGridFocused()) {
|
|
28461
|
-
const s =
|
|
28461
|
+
const s = rt(this.beans);
|
|
28462
28462
|
s && !hp(this.beans) && (this.elToFocusAfter = s);
|
|
28463
28463
|
}
|
|
28464
28464
|
return e.then((s) => {
|
|
@@ -28499,7 +28499,7 @@ var QI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
28499
28499
|
this.destroyActiveOverlay(), this.setDisplayed(!1, { skipAriaHidden: !0 });
|
|
28500
28500
|
}
|
|
28501
28501
|
isGridFocused() {
|
|
28502
|
-
const e =
|
|
28502
|
+
const e = rt(this.beans);
|
|
28503
28503
|
return !!e && this.beans.eGridDiv.contains(e);
|
|
28504
28504
|
}
|
|
28505
28505
|
destroy() {
|
|
@@ -28560,7 +28560,7 @@ var QI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
|
|
|
28560
28560
|
}
|
|
28561
28561
|
postConstruct() {
|
|
28562
28562
|
const e = this.gos;
|
|
28563
|
-
this.showInitialOverlay =
|
|
28563
|
+
this.showInitialOverlay = dt(e);
|
|
28564
28564
|
const t = () => {
|
|
28565
28565
|
this.userForcedNoRows || this.updateOverlay(!1);
|
|
28566
28566
|
}, [i, s, n, o] = this.addManagedEventListeners({
|
|
@@ -29656,7 +29656,7 @@ var cM = class extends j {
|
|
|
29656
29656
|
super(...arguments), this.beanName = "rowNodeSorter", this.accentedSort = !1, this.primaryColumnsSortGroups = !1, this.pivotActive = !1;
|
|
29657
29657
|
}
|
|
29658
29658
|
postConstruct() {
|
|
29659
|
-
this.firstLeaf =
|
|
29659
|
+
this.firstLeaf = dt(this.gos) ? nc : dM, this.addManagedPropertyListeners(
|
|
29660
29660
|
["accentedSort", "autoGroupColumnDef", "treeData"],
|
|
29661
29661
|
this.updateOptions.bind(this)
|
|
29662
29662
|
);
|
|
@@ -29776,7 +29776,7 @@ var on = (e, t) => ({
|
|
|
29776
29776
|
on("AbsoluteDesc", "absolute-descending-icon"),
|
|
29777
29777
|
on("None", "none-icon")
|
|
29778
29778
|
]
|
|
29779
|
-
}, ig = class extends
|
|
29779
|
+
}, ig = class extends ht {
|
|
29780
29780
|
constructor(e) {
|
|
29781
29781
|
super(), this.eSortOrder = fe, this.eSortAsc = fe, this.eSortDesc = fe, this.eSortMixed = fe, this.eSortNone = fe, this.eSortAbsoluteAsc = fe, this.eSortAbsoluteDesc = fe, e || this.setTemplate(hM);
|
|
29782
29782
|
}
|
|
@@ -30477,7 +30477,7 @@ var CM = "paste", wM = class extends j {
|
|
|
30477
30477
|
}
|
|
30478
30478
|
isSetValueSupported(e, t, i, s) {
|
|
30479
30479
|
const { field: n, valueSetter: o } = s, r = this.beans.formula, a = e.isAllowFormula() && r?.isFormula(i), l = !!this.formulaDataSvc?.hasDataSource();
|
|
30480
|
-
return
|
|
30480
|
+
return lt(n) && lt(o) && !(l && a) ? t.group && (s.groupRowValueSetter || s.groupRowEditable) ? !0 : (Y(17), !1) : this.dataTypeSvc && !this.dataTypeSvc.checkType(e, i) ? (Y(135), !1) : !0;
|
|
30481
30481
|
}
|
|
30482
30482
|
handleExternalFormulaChange(e) {
|
|
30483
30483
|
const { column: t, rowNode: i, newValue: s, eventSource: n, setterParams: o } = e, r = this.beans.formula, a = this.formulaDataSvc;
|
|
@@ -30489,7 +30489,7 @@ var CM = "paste", wM = class extends j {
|
|
|
30489
30489
|
return !1;
|
|
30490
30490
|
a.setFormula({ column: t, rowNode: i, formula: s });
|
|
30491
30491
|
const u = r?.resolveValue(t, i), h = t.getColDef();
|
|
30492
|
-
if (re(h.valueSetter) || !
|
|
30492
|
+
if (re(h.valueSetter) || !lt(h.field)) {
|
|
30493
30493
|
const p = { ...o, newValue: u };
|
|
30494
30494
|
this.computeValueChange({
|
|
30495
30495
|
column: t,
|
|
@@ -31384,7 +31384,7 @@ var HM = {
|
|
|
31384
31384
|
}
|
|
31385
31385
|
createProvidedBeans(e, t, i) {
|
|
31386
31386
|
let s = i ? i.frameworkOverrides : null;
|
|
31387
|
-
|
|
31387
|
+
lt(s) && (s = new N1());
|
|
31388
31388
|
const n = {
|
|
31389
31389
|
gridOptions: t,
|
|
31390
31390
|
eGridDiv: e,
|
|
@@ -32897,7 +32897,7 @@ var W8 = class extends j {
|
|
|
32897
32897
|
else if (s === "fitCellContents") {
|
|
32898
32898
|
this.addManagedEventListeners({ firstDataRendered: () => this.onFirstDataRendered(t) });
|
|
32899
32899
|
const n = e.get("rowData");
|
|
32900
|
-
i = n != null && n.length > 0 &&
|
|
32900
|
+
i = n != null && n.length > 0 && dt(e);
|
|
32901
32901
|
}
|
|
32902
32902
|
i && this.beans.colDelayRenderSvc?.hideColumns(s);
|
|
32903
32903
|
}
|
|
@@ -33340,7 +33340,7 @@ var $8 = class extends j {
|
|
|
33340
33340
|
}
|
|
33341
33341
|
processRows(e, t) {
|
|
33342
33342
|
return (i) => {
|
|
33343
|
-
const s = this.rowModel, n =
|
|
33343
|
+
const s = this.rowModel, n = dt(this.gos), o = Uo(this.gos), r = !n && e.onlySelected, a = this.processRow.bind(this, i, e, t), { exportedRows: l = "filteredAndSorted" } = e;
|
|
33344
33344
|
if (e.rowPositions)
|
|
33345
33345
|
e.rowPositions.filter((c) => c.rowPinned == null).sort((c, d) => c.rowIndex - d.rowIndex).map((c) => s.getRow(c.rowIndex)).forEach(a);
|
|
33346
33346
|
else if (this.colModel.isPivotMode())
|
|
@@ -33383,7 +33383,7 @@ var $8 = class extends j {
|
|
|
33383
33383
|
for (const r of o.getChildren() ?? [])
|
|
33384
33384
|
s.push(r);
|
|
33385
33385
|
}
|
|
33386
|
-
e.length > 0 &&
|
|
33386
|
+
e.length > 0 && gt(e[0]) && this.doAddHeaderHeader(t, e, i), s && s.length > 0 && this.recursivelyAddHeaderGroups(
|
|
33387
33387
|
s,
|
|
33388
33388
|
t,
|
|
33389
33389
|
i
|
|
@@ -33847,7 +33847,7 @@ var ok = {
|
|
|
33847
33847
|
this.isInteractingWithTooltip = !0;
|
|
33848
33848
|
}
|
|
33849
33849
|
isTooltipFocused() {
|
|
33850
|
-
const e = this.tooltipComp?.getGui(), t =
|
|
33850
|
+
const e = this.tooltipComp?.getGui(), t = rt(this.beans);
|
|
33851
33851
|
return !!e && e.contains(t);
|
|
33852
33852
|
}
|
|
33853
33853
|
onTooltipFocusOut(e) {
|
|
@@ -34113,7 +34113,7 @@ var ok = {
|
|
|
34113
34113
|
const t = this.beans, i = St(t), { wrapperEl: s, eChild: n, closedCallback: o, afterGuiAttached: r, closeOnEsc: a, modal: l, ariaOwns: c } = e;
|
|
34114
34114
|
let d = !1;
|
|
34115
34115
|
const u = (m) => {
|
|
34116
|
-
if (!s.contains(
|
|
34116
|
+
if (!s.contains(rt(t)))
|
|
34117
34117
|
return;
|
|
34118
34118
|
m.key === N.ESCAPE && !this.isStopPropagation(m) && f({ keyboardEvent: m });
|
|
34119
34119
|
}, h = (m) => f({ mouseEvent: m }), p = (m) => f({ touchEvent: m }), f = (m = {}) => {
|
|
@@ -34846,7 +34846,7 @@ var fk = (e, t) => {
|
|
|
34846
34846
|
}), this.eInput.step = "any";
|
|
34847
34847
|
}
|
|
34848
34848
|
onWheel(e) {
|
|
34849
|
-
|
|
34849
|
+
rt(this.beans) === this.eInput && e.preventDefault();
|
|
34850
34850
|
}
|
|
34851
34851
|
setMin(e) {
|
|
34852
34852
|
const t = e instanceof Date ? Bt(e ?? null, !!this.includeTime) ?? void 0 : e;
|
|
@@ -35146,7 +35146,7 @@ var fk = (e, t) => {
|
|
|
35146
35146
|
typeof t == "number" && this.setPrecision(t), typeof i == "number" && this.setMin(i), typeof s == "number" && this.setMax(s), typeof n == "number" && this.setStep(n);
|
|
35147
35147
|
}
|
|
35148
35148
|
onWheel(e) {
|
|
35149
|
-
|
|
35149
|
+
rt(this.beans) === this.eInput && e.preventDefault();
|
|
35150
35150
|
}
|
|
35151
35151
|
normalizeValue(e) {
|
|
35152
35152
|
return e === "" ? "" : (this.precision != null && (e = this.adjustPrecision(e)), e);
|
|
@@ -35784,7 +35784,7 @@ var fk = (e, t) => {
|
|
|
35784
35784
|
initialiseEditor(e) {
|
|
35785
35785
|
this.focusAfterAttached = e.cellStartedEdit;
|
|
35786
35786
|
const { eEditor: t, valueSvc: i, gos: s } = this, { values: n, value: o, eventKey: r } = e;
|
|
35787
|
-
if (
|
|
35787
|
+
if (lt(n)) {
|
|
35788
35788
|
Y(58);
|
|
35789
35789
|
return;
|
|
35790
35790
|
}
|
|
@@ -36419,10 +36419,10 @@ var mA = class extends j {
|
|
|
36419
36419
|
});
|
|
36420
36420
|
}
|
|
36421
36421
|
bulkRefreshCell(e, t) {
|
|
36422
|
-
|
|
36422
|
+
dt(this.gos, this.beans.rowModel) && this.refCell(e, this.model.getEdit(e), t);
|
|
36423
36423
|
}
|
|
36424
36424
|
bulkRefreshMap(e, t) {
|
|
36425
|
-
|
|
36425
|
+
dt(this.gos, this.beans.rowModel) && e.forEach((i, s) => {
|
|
36426
36426
|
for (const n of i.keys())
|
|
36427
36427
|
this.refCell({ rowNode: s, column: n }, i.get(n), t);
|
|
36428
36428
|
});
|
|
@@ -37335,7 +37335,7 @@ var zA = class extends Wp {
|
|
|
37335
37335
|
}
|
|
37336
37336
|
onTabKeyDown(e) {
|
|
37337
37337
|
const { beans: t } = this;
|
|
37338
|
-
if (
|
|
37338
|
+
if (rt(t) === this.eGui)
|
|
37339
37339
|
return;
|
|
37340
37340
|
const n = Hn(t, this.eGui, null, e.shiftKey);
|
|
37341
37341
|
if (n) {
|
|
@@ -38338,7 +38338,7 @@ var h7 = class extends j {
|
|
|
38338
38338
|
const { compName: f, jsComp: m, fwComp: v } = lw(n, t);
|
|
38339
38339
|
f ? p = f : m == null && v == null && t.filter === !0 && (p = i), h = this.handlerMap[p], h && (u = d(h));
|
|
38340
38340
|
}
|
|
38341
|
-
return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (
|
|
38341
|
+
return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (dt(s) && Y(277, { colId: e.getColId() }), u7) : void 0;
|
|
38342
38342
|
}
|
|
38343
38343
|
createHandler(e, t, i) {
|
|
38344
38344
|
const s = this.createHandlerFunc(e, t, i);
|
|
@@ -38992,7 +38992,7 @@ function m7(e) {
|
|
|
38992
38992
|
cls: e
|
|
38993
38993
|
};
|
|
38994
38994
|
}
|
|
38995
|
-
var v7 = class extends
|
|
38995
|
+
var v7 = class extends ht {
|
|
38996
38996
|
constructor(e) {
|
|
38997
38997
|
const { className: t = "ag-filter-apply-panel" } = e ?? {};
|
|
38998
38998
|
super(m7(t)), this.listeners = [], this.validationMessage = null, this.className = t;
|
|
@@ -39053,7 +39053,7 @@ var v7 = class extends ut {
|
|
|
39053
39053
|
destroy() {
|
|
39054
39054
|
this.destroyListeners(), super.destroy();
|
|
39055
39055
|
}
|
|
39056
|
-
}, C7 = class extends
|
|
39056
|
+
}, C7 = class extends ht {
|
|
39057
39057
|
constructor(e, t, i, s, n, o) {
|
|
39058
39058
|
super(), this.column = e, this.wrapper = t, this.eventParent = i, this.updateModel = s, this.isGlobalButtons = n, this.enableGlobalButtonCheck = o, this.hidePopup = null, this.applyActive = !1;
|
|
39059
39059
|
}
|
|
@@ -39149,7 +39149,7 @@ var v7 = class extends ut {
|
|
|
39149
39149
|
destroy() {
|
|
39150
39150
|
this.hidePopup = null, this.eButtons = this.destroyBean(this.eButtons);
|
|
39151
39151
|
}
|
|
39152
|
-
}, w7 = ":where(.ag-menu:not(.ag-tabs) .ag-filter)>:not(.ag-filter-wrapper){min-width:180px}", b7 = { tag: "div", cls: "ag-filter" }, x7 = class extends
|
|
39152
|
+
}, w7 = ":where(.ag-menu:not(.ag-tabs) .ag-filter)>:not(.ag-filter-wrapper){min-width:180px}", b7 = { tag: "div", cls: "ag-filter" }, x7 = class extends ht {
|
|
39153
39153
|
constructor(e, t, i) {
|
|
39154
39154
|
super(b7), this.column = e, this.source = t, this.enableGlobalButtonCheck = i, this.wrapper = null;
|
|
39155
39155
|
}
|
|
@@ -39360,7 +39360,7 @@ var v7 = class extends ut {
|
|
|
39360
39360
|
ref: "eFloatingFilterText"
|
|
39361
39361
|
}
|
|
39362
39362
|
]
|
|
39363
|
-
}, F7 = class extends
|
|
39363
|
+
}, F7 = class extends ht {
|
|
39364
39364
|
constructor() {
|
|
39365
39365
|
super(R7, [_c]), this.eFloatingFilterText = fe;
|
|
39366
39366
|
}
|
|
@@ -40287,7 +40287,7 @@ function ab(e, t) {
|
|
|
40287
40287
|
const { filter: i, filterTo: s, type: n } = e || {};
|
|
40288
40288
|
return [i || null, s || null].slice(0, Ws(n, t));
|
|
40289
40289
|
}
|
|
40290
|
-
var lb = class extends
|
|
40290
|
+
var lb = class extends ht {
|
|
40291
40291
|
constructor() {
|
|
40292
40292
|
super(...arguments), this.defaultDebounceMs = 0;
|
|
40293
40293
|
}
|
|
@@ -40891,7 +40891,7 @@ var V7 = class extends ag {
|
|
|
40891
40891
|
cls: "ag-date-filter"
|
|
40892
40892
|
}
|
|
40893
40893
|
]
|
|
40894
|
-
}, d9 = class extends
|
|
40894
|
+
}, d9 = class extends ht {
|
|
40895
40895
|
constructor() {
|
|
40896
40896
|
super(c9, [_c]), this.eDateInput = fe, this.isApply = !1, this.applyOnFocusOut = !1;
|
|
40897
40897
|
}
|
|
@@ -41626,7 +41626,7 @@ var F9 = class extends j {
|
|
|
41626
41626
|
}
|
|
41627
41627
|
loadFromDatasource() {
|
|
41628
41628
|
const e = this.createLoadParams();
|
|
41629
|
-
if (
|
|
41629
|
+
if (lt(this.params.datasource.getRows)) {
|
|
41630
41630
|
Y(90);
|
|
41631
41631
|
return;
|
|
41632
41632
|
}
|
|
@@ -42177,7 +42177,7 @@ var sL = class extends j {
|
|
|
42177
42177
|
}
|
|
42178
42178
|
postConstruct() {
|
|
42179
42179
|
const { gos: e, ctrlsSvc: t, colDelayRenderSvc: i } = this.beans;
|
|
42180
|
-
this.isClientSideRowModel =
|
|
42180
|
+
this.isClientSideRowModel = dt(e);
|
|
42181
42181
|
const s = Xm(e.get("initialState") ?? {}), n = s.partialColumnState;
|
|
42182
42182
|
delete s.partialColumnState, this.cachedState = s;
|
|
42183
42183
|
const o = this.suppressEventsAndDispatchInitEvent.bind(this);
|
|
@@ -42731,7 +42731,7 @@ function mL(e, t) {
|
|
|
42731
42731
|
const i = t(), s = i("thousandSeparator", ","), n = i("decimalSeparator", ".");
|
|
42732
42732
|
return e.toString().replace(".", n).replace(/(\d)(?=(\d{3})+(?!\d))/g, `$1${s}`);
|
|
42733
42733
|
}
|
|
42734
|
-
var wr = "paginationPageSizeSelector", vL = { tag: "span", cls: "ag-paging-page-size" }, CL = class extends
|
|
42734
|
+
var wr = "paginationPageSizeSelector", vL = { tag: "span", cls: "ag-paging-page-size" }, CL = class extends ht {
|
|
42735
42735
|
constructor() {
|
|
42736
42736
|
super(vL), this.hasEmptyOption = !1, this.handlePageSizeItemSelected = () => {
|
|
42737
42737
|
if (!this.selectPageSizeComp)
|
|
@@ -43228,7 +43228,7 @@ var kL = {
|
|
|
43228
43228
|
{ tag: "span", ref: "eDelta", cls: "ag-value-change-delta" },
|
|
43229
43229
|
{ tag: "span", ref: "eValue", cls: "ag-value-change-value" }
|
|
43230
43230
|
]
|
|
43231
|
-
}, NL = class extends
|
|
43231
|
+
}, NL = class extends ht {
|
|
43232
43232
|
constructor() {
|
|
43233
43233
|
super(OL), this.eValue = fe, this.eDelta = fe, this.refreshCount = 0;
|
|
43234
43234
|
}
|
|
@@ -43267,7 +43267,7 @@ var kL = {
|
|
|
43267
43267
|
}, HL = ".ag-value-slide-out{opacity:1}:where(.ag-ltr) .ag-value-slide-out{margin-right:5px;transition:opacity 3s,margin-right 3s}:where(.ag-rtl) .ag-value-slide-out{margin-left:5px;transition:opacity 3s,margin-left 3s}:where(.ag-ltr,.ag-rtl) .ag-value-slide-out{transition-timing-function:linear}.ag-value-slide-out-end{opacity:0}:where(.ag-ltr) .ag-value-slide-out-end{margin-right:10px}:where(.ag-rtl) .ag-value-slide-out-end{margin-left:10px}", GL = {
|
|
43268
43268
|
tag: "span",
|
|
43269
43269
|
children: [{ tag: "span", ref: "eCurrent", cls: "ag-value-slide-current" }]
|
|
43270
|
-
}, BL = class extends
|
|
43270
|
+
}, BL = class extends ht {
|
|
43271
43271
|
constructor() {
|
|
43272
43272
|
super(GL), this.eCurrent = fe, this.refreshCount = 0, this.registerCSS(HL);
|
|
43273
43273
|
}
|
|
@@ -43289,7 +43289,7 @@ var kL = {
|
|
|
43289
43289
|
}
|
|
43290
43290
|
refresh(e, t = !1) {
|
|
43291
43291
|
let i = e.value;
|
|
43292
|
-
if (
|
|
43292
|
+
if (lt(i) && (i = ""), i === this.lastValue || this.beans.filterManager?.isSuppressFlashingCellsBecauseFiltering())
|
|
43293
43293
|
return !1;
|
|
43294
43294
|
t || this.addSlideAnimation(), this.lastValue = i;
|
|
43295
43295
|
const s = this.eCurrent;
|
|
@@ -44162,7 +44162,7 @@ var vO = {
|
|
|
44162
44162
|
role: "presentation"
|
|
44163
44163
|
}
|
|
44164
44164
|
]
|
|
44165
|
-
}, CO = class extends
|
|
44165
|
+
}, CO = class extends ht {
|
|
44166
44166
|
constructor() {
|
|
44167
44167
|
super(vO, [$p]), this.eCheckbox = fe;
|
|
44168
44168
|
}
|
|
@@ -44344,7 +44344,7 @@ var vO = {
|
|
|
44344
44344
|
}
|
|
44345
44345
|
onSpaceKeyDown(e) {
|
|
44346
44346
|
const t = this.cbSelectAll;
|
|
44347
|
-
t.isDisplayed() && !t.getGui().contains(
|
|
44347
|
+
t.isDisplayed() && !t.getGui().contains(rt(this.beans)) && (e.preventDefault(), t.setValue(!t.getValue()));
|
|
44348
44348
|
}
|
|
44349
44349
|
getCheckboxGui() {
|
|
44350
44350
|
return this.cbSelectAll.getGui();
|
|
@@ -44393,7 +44393,7 @@ var vO = {
|
|
|
44393
44393
|
}
|
|
44394
44394
|
checkRightRowModelType(e) {
|
|
44395
44395
|
const { gos: t, rowModel: i } = this.beans;
|
|
44396
|
-
return
|
|
44396
|
+
return dt(t) || Uo(t) ? !0 : (Y(129, { feature: e, rowModel: i.getType() }), !1);
|
|
44397
44397
|
}
|
|
44398
44398
|
onCbSelectAll() {
|
|
44399
44399
|
if (this.processingEventFromCheckbox || !this.cbSelectAllVisible)
|
|
@@ -44461,7 +44461,7 @@ var xO = class extends j {
|
|
|
44461
44461
|
e.forEachGui(i, (n) => {
|
|
44462
44462
|
n.rowComp.toggleCss("ag-row-selected", s);
|
|
44463
44463
|
const o = n.element;
|
|
44464
|
-
wC(o, s), o.contains(
|
|
44464
|
+
wC(o, s), o.contains(rt(this.beans)) && t(n);
|
|
44465
44465
|
});
|
|
44466
44466
|
}
|
|
44467
44467
|
announceAriaRowSelection(e) {
|
|
@@ -44599,7 +44599,7 @@ var xO = class extends j {
|
|
|
44599
44599
|
} else {
|
|
44600
44600
|
o.setRoot(e);
|
|
44601
44601
|
const h = q3(n), p = Zl(n) === "filteredDescendants", f = u && (!h || !l);
|
|
44602
|
-
if (p && r === void 0 &&
|
|
44602
|
+
if (p && r === void 0 && dt(n))
|
|
44603
44603
|
return {
|
|
44604
44604
|
node: e,
|
|
44605
44605
|
newValue: !1,
|
|
@@ -44735,7 +44735,7 @@ var xO = class extends j {
|
|
|
44735
44735
|
if (!this.groupSelectsDescendants)
|
|
44736
44736
|
return !1;
|
|
44737
44737
|
const { gos: i, rowModel: s } = this.beans;
|
|
44738
|
-
if (!
|
|
44738
|
+
if (!dt(i))
|
|
44739
44739
|
return !1;
|
|
44740
44740
|
const n = s.rootNode;
|
|
44741
44741
|
if (!n)
|
|
@@ -44815,7 +44815,7 @@ var xO = class extends j {
|
|
|
44815
44815
|
// where groups don't actually appear in the selection normally.
|
|
44816
44816
|
getBestCostNodeSelection() {
|
|
44817
44817
|
const { gos: e, rowModel: t } = this.beans;
|
|
44818
|
-
if (!
|
|
44818
|
+
if (!dt(e))
|
|
44819
44819
|
return;
|
|
44820
44820
|
const i = t.getTopLevelNodes();
|
|
44821
44821
|
if (i === null)
|
|
@@ -44833,7 +44833,7 @@ var xO = class extends j {
|
|
|
44833
44833
|
return this.getSelectionCount() === 0;
|
|
44834
44834
|
}
|
|
44835
44835
|
deselectAllRowNodes({ source: e, selectAll: t }) {
|
|
44836
|
-
const i =
|
|
44836
|
+
const i = dt(this.gos);
|
|
44837
44837
|
let s = !1;
|
|
44838
44838
|
const n = (o) => {
|
|
44839
44839
|
const r = this.selectRowNode(o.primaryRow, !1, void 0, e);
|
|
@@ -44920,7 +44920,7 @@ var xO = class extends j {
|
|
|
44920
44920
|
if (this.getNodesToSelect(n).forEach((r) => {
|
|
44921
44921
|
const a = this.selectRowNode(r.primaryRow, !0, void 0, s);
|
|
44922
44922
|
o || (o = a);
|
|
44923
|
-
}), i.selectAll = !0,
|
|
44923
|
+
}), i.selectAll = !0, dt(t) && this.groupSelectsDescendants) {
|
|
44924
44924
|
const r = this.updateGroupsFromChildrenSelections(s);
|
|
44925
44925
|
o || (o = r);
|
|
44926
44926
|
}
|
|
@@ -44944,7 +44944,7 @@ var xO = class extends j {
|
|
|
44944
44944
|
});
|
|
44945
44945
|
}
|
|
44946
44946
|
canSelectAll() {
|
|
44947
|
-
return
|
|
44947
|
+
return dt(this.beans.gos);
|
|
44948
44948
|
}
|
|
44949
44949
|
/**
|
|
44950
44950
|
* Updates the selectable state for a node by invoking isRowSelectable callback.
|
|
@@ -44958,7 +44958,7 @@ var xO = class extends j {
|
|
|
44958
44958
|
const { gos: t, rowModel: i } = this.beans;
|
|
44959
44959
|
if (!mn(t))
|
|
44960
44960
|
return;
|
|
44961
|
-
const s = "selectableChanged", n =
|
|
44961
|
+
const s = "selectableChanged", n = dt(t) && this.groupSelectsDescendants, o = [];
|
|
44962
44962
|
if (n) {
|
|
44963
44963
|
const r = i.rootNode;
|
|
44964
44964
|
r && kn(r, i.hierarchical, e, (a) => {
|
|
@@ -46419,7 +46419,7 @@ function pc(e, t, i) {
|
|
|
46419
46419
|
return s.length === e.length && n.length === 0 ? e : s.length === 0 && n.length === t.length ? t : s.length === 0 ? n : n.length === 0 ? s : [...s, ...n];
|
|
46420
46420
|
}
|
|
46421
46421
|
var Db = Hh((e, t) => {
|
|
46422
|
-
const { registry: i, context: s } =
|
|
46422
|
+
const { registry: i, context: s } = ut(Ot), n = H(null), o = H(null), r = H(null), a = H(null), l = H(null), c = H(), [d, u] = M(), [h, p] = M(), [f, m] = M(), [v, C] = M(() => new fi()), [w, b] = M(() => new fi("ag-hidden")), [x, y] = M(() => new fi("ag-hidden")), [R, S] = M(() => new fi("ag-invisible"));
|
|
46423
46423
|
sa(t, () => ({
|
|
46424
46424
|
// force new instance when grid tries to refresh
|
|
46425
46425
|
refresh() {
|
|
@@ -46913,7 +46913,7 @@ var CN = 1e3, wN = class {
|
|
|
46913
46913
|
}
|
|
46914
46914
|
}
|
|
46915
46915
|
}, bN = J.createContext([]), xN = J.createContext(void 0), yN = ({ ctrl: e }) => {
|
|
46916
|
-
const t = e.isAlive(), { context: i } =
|
|
46916
|
+
const t = e.isAlive(), { context: i } = ut(Ot), [s, n] = M(), [o, r] = M(), a = H(), l = H(null), c = H(null), d = H(null), u = H(), h = H();
|
|
46917
46917
|
t && !h.current && (h.current = new ra(() => l.current));
|
|
46918
46918
|
const p = D((C) => {
|
|
46919
46919
|
if (l.current = C, !C || !e.isAlive() || i.isDestroyed()) {
|
|
@@ -46965,7 +46965,7 @@ var CN = 1e3, wN = class {
|
|
|
46965
46965
|
return ["afterGuiAttached"];
|
|
46966
46966
|
}
|
|
46967
46967
|
}, FN = ({ ctrl: e }) => {
|
|
46968
|
-
const { context: t, gos: i } =
|
|
46968
|
+
const { context: t, gos: i } = ut(Ot), [s, n] = M(), [o, r] = M(
|
|
46969
46969
|
() => new fi("ag-header-cell", "ag-floating-filter")
|
|
46970
46970
|
), [a, l] = M(() => new fi()), [c, d] = M(
|
|
46971
46971
|
() => new fi("ag-floating-filter-button", "ag-hidden")
|
|
@@ -47037,7 +47037,7 @@ var CN = 1e3, wN = class {
|
|
|
47037
47037
|
)
|
|
47038
47038
|
));
|
|
47039
47039
|
}, EN = Lt(FN), DN = ({ ctrl: e }) => {
|
|
47040
|
-
const { context: t } =
|
|
47040
|
+
const { context: t } = ut(Ot), [i, s] = M(), [n, o] = M(() => new fi()), [r, a] = M(() => new fi()), [l, c] = M("false"), [d, u] = M(), [h, p] = M(), f = H(), m = H(null), v = H(null), C = H(null), w = H(), b = D((E) => {
|
|
47041
47041
|
if (m.current = E, !E || !e.isAlive() || t.isDestroyed()) {
|
|
47042
47042
|
f.current = t.destroyBean(f.current);
|
|
47043
47043
|
return;
|
|
@@ -47075,7 +47075,7 @@ var CN = 1e3, wN = class {
|
|
|
47075
47075
|
), S = h?.componentFromFramework, F = h?.componentClass;
|
|
47076
47076
|
return /* @__PURE__ */ J.createElement("div", { ref: b, style: i, className: y, role: "columnheader", "aria-expanded": d }, /* @__PURE__ */ J.createElement("div", { ref: C, className: "ag-header-cell-comp-wrapper", role: "presentation" }, S ? x ? /* @__PURE__ */ J.createElement(F, { ...h.params }) : /* @__PURE__ */ J.createElement(F, { ...h.params, ref: w }) : null), /* @__PURE__ */ J.createElement("div", { ref: v, "aria-hidden": l, className: R }));
|
|
47077
47077
|
}, PN = Lt(DN), TN = ({ ctrl: e }) => {
|
|
47078
|
-
const { gos: t, context: i } =
|
|
47078
|
+
const { gos: t, context: i } = ut(Ot), { topOffset: s, rowHeight: n } = V(() => e.getTopAndHeight(), []), o = V(() => t.get("tabIndex"), []), [r, a] = M(() => e.getAriaRowIndex()), l = e.headerRowClass, [c, d] = M(() => n + "px"), [u, h] = M(() => s + "px"), p = H(null), [f, m] = M(() => e.getUpdatedHeaderCtrls()), v = H(), C = H(null), w = D((y) => {
|
|
47079
47079
|
if (C.current = y, !y || !e.isAlive() || i.isDestroyed()) {
|
|
47080
47080
|
v.current = i.destroyBean(v.current);
|
|
47081
47081
|
return;
|
|
@@ -47125,7 +47125,7 @@ var CN = 1e3, wN = class {
|
|
|
47125
47125
|
f.map(x)
|
|
47126
47126
|
);
|
|
47127
47127
|
}, IN = Lt(TN), MN = ({ pinned: e }) => {
|
|
47128
|
-
const [t, i] = M(!0), [s, n] = M([]), { context: o } =
|
|
47128
|
+
const [t, i] = M(!0), [s, n] = M([]), { context: o } = ut(Ot), r = H(null), a = H(null), l = H(), c = e === "left", d = e === "right", u = !c && !d, h = D((m) => {
|
|
47129
47129
|
if (r.current = m, !m || o.isDestroyed()) {
|
|
47130
47130
|
l.current = o.destroyBean(l.current);
|
|
47131
47131
|
return;
|
|
@@ -47150,7 +47150,7 @@ var CN = 1e3, wN = class {
|
|
|
47150
47150
|
}, []), p = t ? "" : "ag-hidden", f = () => s.map((m) => /* @__PURE__ */ J.createElement(IN, { ctrl: m, key: m.instanceId }));
|
|
47151
47151
|
return c ? /* @__PURE__ */ J.createElement("div", { ref: h, className: "ag-pinned-left-header " + p, "aria-hidden": !t, role: "rowgroup" }, f()) : d ? /* @__PURE__ */ J.createElement("div", { ref: h, className: "ag-pinned-right-header " + p, "aria-hidden": !t, role: "rowgroup" }, f()) : u ? /* @__PURE__ */ J.createElement("div", { ref: h, className: "ag-header-viewport " + p, role: "rowgroup", tabIndex: -1 }, /* @__PURE__ */ J.createElement("div", { ref: a, className: "ag-header-container", role: "presentation" }, f())) : null;
|
|
47152
47152
|
}, Cu = Lt(MN), kN = () => {
|
|
47153
|
-
const [e, t] = M(() => new fi()), [i, s] = M(), { context: n } =
|
|
47153
|
+
const [e, t] = M(() => new fi()), [i, s] = M(), { context: n } = ut(Ot), o = H(null), r = H(), a = D((d) => {
|
|
47154
47154
|
if (o.current = d, !d || n.isDestroyed()) {
|
|
47155
47155
|
r.current = n.destroyBean(r.current);
|
|
47156
47156
|
return;
|
|
@@ -47231,7 +47231,7 @@ var CN = 1e3, wN = class {
|
|
|
47231
47231
|
n.current && i.current?.();
|
|
47232
47232
|
}), []);
|
|
47233
47233
|
}, HN = (e) => {
|
|
47234
|
-
const [t, i] = M(), s =
|
|
47234
|
+
const [t, i] = M(), s = ut(Ot), { context: n, popupSvc: o, gos: r, editSvc: a } = s, { editDetails: l, cellCtrl: c, eParentCell: d } = e;
|
|
47235
47235
|
return NN(() => {
|
|
47236
47236
|
const { compDetails: u } = l, h = r.get("stopEditingWhenCellsLoseFocus");
|
|
47237
47237
|
let p, f;
|
|
@@ -47267,7 +47267,7 @@ var CN = 1e3, wN = class {
|
|
|
47267
47267
|
p?.(), n.destroyBean(f);
|
|
47268
47268
|
};
|
|
47269
47269
|
}), mi(() => () => {
|
|
47270
|
-
c.isCellFocused() && t?.getGui().contains(
|
|
47270
|
+
c.isCellFocused() && t?.getGui().contains(rt(s)) && d.focus({ preventScroll: !0 });
|
|
47271
47271
|
}, [t]), t && e.wrappedContent ? Fc(e.wrappedContent, t.getGui()) : null;
|
|
47272
47272
|
}, iv = Lt(HN), GN = (e, t, i) => {
|
|
47273
47273
|
const { compProxy: s } = e;
|
|
@@ -47294,7 +47294,7 @@ var CN = 1e3, wN = class {
|
|
|
47294
47294
|
}
|
|
47295
47295
|
) : c && n ? /* @__PURE__ */ J.createElement(iv, { editDetails: e, cellCtrl: s, eParentCell: i, jsChildComp: n }) : null;
|
|
47296
47296
|
}, VN = (e, t, i, s, n, o, r = !1) => {
|
|
47297
|
-
const { context: a } =
|
|
47297
|
+
const { context: a } = ut(Ot), l = D(() => {
|
|
47298
47298
|
const c = n.current;
|
|
47299
47299
|
if (!c)
|
|
47300
47300
|
return;
|
|
@@ -47345,7 +47345,7 @@ var CN = 1e3, wN = class {
|
|
|
47345
47345
|
printLayout: t,
|
|
47346
47346
|
editingCell: i
|
|
47347
47347
|
}) => {
|
|
47348
|
-
const s =
|
|
47348
|
+
const s = ut(Ot), { context: n } = s, {
|
|
47349
47349
|
column: { colIdSanitised: o },
|
|
47350
47350
|
instanceId: r
|
|
47351
47351
|
} = e, a = H(), [l, c] = M(
|
|
@@ -47515,7 +47515,7 @@ var CN = 1e3, wN = class {
|
|
|
47515
47515
|
}, Ee = () => /* @__PURE__ */ J.createElement("div", { ref: de, style: f, role: P, "col-id": o }, le ? /* @__PURE__ */ J.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: ne }, Me()) : Me());
|
|
47516
47516
|
return e.isCellSpanning() ? /* @__PURE__ */ J.createElement("div", { ref: U, className: "ag-spanned-cell-wrapper", role: "presentation" }, Ee()) : Ee();
|
|
47517
47517
|
}, jN = Lt(WN), _N = ({ rowCtrl: e, containerType: t }) => {
|
|
47518
|
-
const { context: i, gos: s, editSvc: n } =
|
|
47518
|
+
const { context: i, gos: s, editSvc: n } = ut(Ot), o = ut(Rb) === "default", r = H(), a = H(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = M(
|
|
47519
47519
|
() => c ? e.rowNode.getRowIndexString() : null
|
|
47520
47520
|
), [h, p] = M(() => e.rowId), [f, m] = M(() => e.businessKey), [v, C] = M(() => e.rowStyles), w = H(null), [b, x] = M(() => null), [y, R] = M(), [S, F] = M(
|
|
47521
47521
|
() => c ? e.getInitialRowTop(t) : void 0
|
|
@@ -47615,7 +47615,7 @@ var CN = 1e3, wN = class {
|
|
|
47615
47615
|
Se ? Ne() : le ? z() : null
|
|
47616
47616
|
);
|
|
47617
47617
|
}, nv = Lt(_N), UN = ({ name: e }) => {
|
|
47618
|
-
const { context: t, gos: i } =
|
|
47618
|
+
const { context: t, gos: i } = ut(Ot), s = V(() => da(e), [e]), n = H(null), o = H(null), r = H(null), a = H([]), l = H([]), [c, d] = M(() => []), u = !!i.get("enableCellSpan") && !!s.getSpannedRowCtrls, h = H([]), p = H([]), [f, m] = M(() => []), v = H(!1), C = H(), w = V(() => li("ag-viewport", Aw(e)), [e]), b = V(() => li(Lw(e)), [e]), x = V(() => li("ag-spanning-container", RD(e)), [e]), y = s.type === "center" || u, R = y ? n : o;
|
|
47619
47619
|
dn(" AG Row Container " + e + " ", R);
|
|
47620
47620
|
const S = D(() => {
|
|
47621
47621
|
const A = !y || n.current != null, G = o.current != null, W = !u || r.current != null;
|
|
@@ -47697,7 +47697,7 @@ var CN = 1e3, wN = class {
|
|
|
47697
47697
|
const $ = () => /* @__PURE__ */ J.createElement("div", { className: x, ref: T, role: "presentation" }, f.map((A) => /* @__PURE__ */ J.createElement(nv, { rowCtrl: A, containerType: s.type, key: A.instanceId })));
|
|
47698
47698
|
return /* @__PURE__ */ J.createElement("div", { className: w, ref: I, role: "rowgroup" }, L(), u ? $() : null);
|
|
47699
47699
|
}, $N = Lt(UN), qN = () => {
|
|
47700
|
-
const e =
|
|
47700
|
+
const e = ut(Ot), { context: t, overlays: i } = e, [s, n] = M(""), [o, r] = M(0), [a, l] = M(0), [c, d] = M("0px"), [u, h] = M("0px"), [p, f] = M("100%"), [m, v] = M("0px"), [C, w] = M("0px"), [b, x] = M("100%"), [y, R] = M(!0), [S, F] = M(!0), [E, P] = M(null), [T, I] = M(""), [L, $] = M(null), [A, G] = M("ag-layout-normal"), W = H();
|
|
47701
47701
|
W.current || (W.current = new ra(() => B.current));
|
|
47702
47702
|
const B = H(null), Q = H(null), O = H(null), k = H(null), _ = H(null), Z = H(null), le = H(null), Se = H([]), X = H([]);
|
|
47703
47703
|
dn(" AG Grid Body ", B), dn(" AG Pinned Top ", Q), dn(" AG Sticky Top ", O), dn(" AG Middle ", Z), dn(" AG Pinned Bottom ", le);
|
|
@@ -47841,7 +47841,7 @@ var CN = 1e3, wN = class {
|
|
|
47841
47841
|
children: ["bottomLeft", "bottomCenter", "bottomRight", "bottomFullWidth"]
|
|
47842
47842
|
}));
|
|
47843
47843
|
}, KN = Lt(qN), YN = (e, t) => {
|
|
47844
|
-
const { children: i, eFocusableElement: s, onTabKeyDown: n, gridCtrl: o, forceFocusOutWhenTabGuardsAreEmpty: r, isEmpty: a } = e, { context: l } =
|
|
47844
|
+
const { children: i, eFocusableElement: s, onTabKeyDown: n, gridCtrl: o, forceFocusOutWhenTabGuardsAreEmpty: r, isEmpty: a } = e, { context: l } = ut(Ot), c = H(null), d = H(null), u = H(), h = (C) => {
|
|
47845
47845
|
const w = C == null ? void 0 : parseInt(C, 10).toString();
|
|
47846
47846
|
for (const b of [c, d])
|
|
47847
47847
|
w === void 0 ? b.current?.removeAttribute("tabindex") : b.current?.setAttribute("tabindex", w);
|
|
@@ -48055,7 +48055,7 @@ var CN = 1e3, wN = class {
|
|
|
48055
48055
|
componentWrappingElement: void 0,
|
|
48056
48056
|
...Mb
|
|
48057
48057
|
}, kb = new Set(Object.keys(iH)), sH = new Set(Object.keys(Mb)), Ab = (e) => {
|
|
48058
|
-
const t =
|
|
48058
|
+
const t = ut(bN), i = ut(xN), s = H(), n = H(null), o = H(null), r = H([]), a = H([]), l = H(e), c = H(), d = H(), u = H(!1), [h, p] = M(void 0), [, f] = M(0), m = H(), v = (y) => {
|
|
48059
48059
|
const R = n.current?.classList, S = (F = "") => F.trim().split(/\s+/g).filter(Boolean);
|
|
48060
48060
|
if (m.current !== y) {
|
|
48061
48061
|
for (const F of S(m.current))
|
|
@@ -48229,7 +48229,7 @@ var oH = class extends ZO {
|
|
|
48229
48229
|
return new Pb(e, this.parent, t, n);
|
|
48230
48230
|
}
|
|
48231
48231
|
}, rH = Hh((e, t) => {
|
|
48232
|
-
const i =
|
|
48232
|
+
const i = ut(Ot), { registry: s, context: n, gos: o, rowModel: r } = i, [a, l] = M(() => new fi()), [c, d] = M(() => new fi()), [u, h] = M(), [p, f] = M(), m = H(), v = H(null), C = H(), w = V(
|
|
48233
48233
|
() => P3(e.api.getGridId(), u?.rowModelType ?? "clientSide"),
|
|
48234
48234
|
[e]
|
|
48235
48235
|
), b = V(() => a.toString() + " ag-details-row", [a]), x = V(() => c.toString() + " ag-details-grid", [c]);
|
|
@@ -48256,7 +48256,7 @@ var oH = class extends ZO {
|
|
|
48256
48256
|
return;
|
|
48257
48257
|
const T = v.current.clientHeight;
|
|
48258
48258
|
T != null && T > 0 && setTimeout(() => {
|
|
48259
|
-
e.node.setRowHeight(T), (
|
|
48259
|
+
e.node.setRowHeight(T), (dt(o) || Uo(o)) && r.onRowHeightChanged();
|
|
48260
48260
|
}, 0);
|
|
48261
48261
|
};
|
|
48262
48262
|
C.current = ps(i, S, P), P();
|
|
@@ -50441,20 +50441,20 @@ const VH = "flex justify-end gap-2 px-6 py-4", zH = "text-secondary dial-small-1
|
|
|
50441
50441
|
icon: e,
|
|
50442
50442
|
onClick: t,
|
|
50443
50443
|
disabled: i,
|
|
50444
|
-
size: s =
|
|
50444
|
+
size: s = ot.Standard
|
|
50445
50445
|
}) => /* @__PURE__ */ g.jsx(
|
|
50446
50446
|
"div",
|
|
50447
50447
|
{
|
|
50448
50448
|
className: ce(
|
|
50449
50449
|
"border-l border-tertiary",
|
|
50450
|
-
s ===
|
|
50450
|
+
s === ot.Standard ? "h-[40px] w-[44px]" : "h-[24px] w-[32px]"
|
|
50451
50451
|
),
|
|
50452
50452
|
children: /* @__PURE__ */ g.jsx(
|
|
50453
50453
|
Hs,
|
|
50454
50454
|
{
|
|
50455
50455
|
className: ce(
|
|
50456
50456
|
XH,
|
|
50457
|
-
s ===
|
|
50457
|
+
s === ot.Small && "p-1"
|
|
50458
50458
|
),
|
|
50459
50459
|
icon: e,
|
|
50460
50460
|
onClick: t,
|
|
@@ -50667,14 +50667,14 @@ const VH = "flex justify-end gap-2 px-6 py-4", zH = "text-secondary dial-small-1
|
|
|
50667
50667
|
}
|
|
50668
50668
|
);
|
|
50669
50669
|
}, rG = {
|
|
50670
|
-
[
|
|
50670
|
+
[ot.Small]: {
|
|
50671
50671
|
className: "dial-tiny-text",
|
|
50672
50672
|
wrapperClassName: "pl-2 py-0",
|
|
50673
50673
|
containerClassName: "h-[24px]",
|
|
50674
50674
|
iconSize: 16,
|
|
50675
50675
|
iconStroke: 1
|
|
50676
50676
|
},
|
|
50677
|
-
[
|
|
50677
|
+
[ot.Standard]: {
|
|
50678
50678
|
className: "dial-small-text",
|
|
50679
50679
|
wrapperClassName: "",
|
|
50680
50680
|
containerClassName: "",
|
|
@@ -50682,7 +50682,7 @@ const VH = "flex justify-end gap-2 px-6 py-4", zH = "text-secondary dial-small-1
|
|
|
50682
50682
|
iconStroke: 1.5
|
|
50683
50683
|
}
|
|
50684
50684
|
}, Zb = ({
|
|
50685
|
-
size: e =
|
|
50685
|
+
size: e = ot.Standard,
|
|
50686
50686
|
placeholder: t = "Search...",
|
|
50687
50687
|
value: i,
|
|
50688
50688
|
onChange: s,
|
|
@@ -52251,7 +52251,7 @@ const DG = function(t, i, s) {
|
|
|
52251
52251
|
}, tz = ({
|
|
52252
52252
|
icon: e,
|
|
52253
52253
|
ariaLabel: t,
|
|
52254
|
-
size: i =
|
|
52254
|
+
size: i = ot.Standard,
|
|
52255
52255
|
disabled: s = !1,
|
|
52256
52256
|
className: n,
|
|
52257
52257
|
buttonClassName: o,
|
|
@@ -52265,8 +52265,12 @@ const DG = function(t, i, s) {
|
|
|
52265
52265
|
defaultOpen: p = !1,
|
|
52266
52266
|
...f
|
|
52267
52267
|
}) => {
|
|
52268
|
-
const m = i ===
|
|
52269
|
-
|
|
52268
|
+
const m = i === ot.Small, [v, C] = M(p), w = u ?? v, b = m ? "w-8 px-0" : "w-10 px-0", x = {
|
|
52269
|
+
[ot.Small]: "size-5",
|
|
52270
|
+
[ot.Standard]: "size-6",
|
|
52271
|
+
[ot.Large]: "size-7"
|
|
52272
|
+
}, y = (R) => {
|
|
52273
|
+
C(R), h?.(R);
|
|
52270
52274
|
};
|
|
52271
52275
|
return /* @__PURE__ */ g.jsx(
|
|
52272
52276
|
zt,
|
|
@@ -52277,7 +52281,7 @@ const DG = function(t, i, s) {
|
|
|
52277
52281
|
matchReferenceWidth: d,
|
|
52278
52282
|
className: n,
|
|
52279
52283
|
open: w,
|
|
52280
|
-
onOpenChange:
|
|
52284
|
+
onOpenChange: y,
|
|
52281
52285
|
defaultOpen: p,
|
|
52282
52286
|
children: /* @__PURE__ */ g.jsxs(
|
|
52283
52287
|
"button",
|
|
@@ -52300,7 +52304,7 @@ const DG = function(t, i, s) {
|
|
|
52300
52304
|
icon: e,
|
|
52301
52305
|
className: se(
|
|
52302
52306
|
"flex items-center justify-center text-inherit",
|
|
52303
|
-
|
|
52307
|
+
x[i],
|
|
52304
52308
|
l && "-mr-2",
|
|
52305
52309
|
r
|
|
52306
52310
|
)
|
|
@@ -56505,7 +56509,7 @@ const RB = ({
|
|
|
56505
56509
|
{
|
|
56506
56510
|
disabled: s,
|
|
56507
56511
|
className: o,
|
|
56508
|
-
size:
|
|
56512
|
+
size: ot.Small,
|
|
56509
56513
|
onClick: i,
|
|
56510
56514
|
icon: /* @__PURE__ */ g.jsx(Tx, { size: mt.LG, stroke: 1.5 }),
|
|
56511
56515
|
"aria-label": "collapse-all"
|
|
@@ -56786,7 +56790,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
56786
56790
|
Xs(_e);
|
|
56787
56791
|
}
|
|
56788
56792
|
}, [s, Yi, Xs]);
|
|
56789
|
-
const { currentPath:
|
|
56793
|
+
const { currentPath: pt, setCurrentPath: Js, handlePathChange: Qi } = fB({
|
|
56790
56794
|
path: o,
|
|
56791
56795
|
defaultPath: r,
|
|
56792
56796
|
onPathChange: R,
|
|
@@ -56828,21 +56832,21 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
56828
56832
|
effectiveSearchValue: en,
|
|
56829
56833
|
setSearchValue: Sa,
|
|
56830
56834
|
handleSearchChange: Ra,
|
|
56831
|
-
handleSearchClear:
|
|
56835
|
+
handleSearchClear: ct,
|
|
56832
56836
|
searchResultsRows: Un
|
|
56833
56837
|
} = MB({
|
|
56834
56838
|
onSearchFiles: U,
|
|
56835
56839
|
clearSearchResults: Me,
|
|
56836
|
-
currentPath:
|
|
56840
|
+
currentPath: pt,
|
|
56837
56841
|
searchResults: oe,
|
|
56838
56842
|
searchInProgress: pe,
|
|
56839
56843
|
navigationPanelValue: m?.value,
|
|
56840
56844
|
onNavigationPanelSearchChange: m?.onSearchChange,
|
|
56841
56845
|
allItems: s,
|
|
56842
56846
|
activeTab: w?.activeTab
|
|
56843
|
-
}),
|
|
56844
|
-
() => Do(s,
|
|
56845
|
-
[s,
|
|
56847
|
+
}), at = V(
|
|
56848
|
+
() => Do(s, pt) ?? s[0],
|
|
56849
|
+
[s, pt]
|
|
56846
56850
|
), si = D(
|
|
56847
56851
|
(me, _e) => !_e || !me ? !1 : uB(me.path) > _e,
|
|
56848
56852
|
[]
|
|
@@ -56920,31 +56924,31 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
56920
56924
|
allowedFileTypes: Ee,
|
|
56921
56925
|
validationMessages: k,
|
|
56922
56926
|
uploadEnabled: O,
|
|
56923
|
-
currentFolder:
|
|
56927
|
+
currentFolder: at
|
|
56924
56928
|
}), Pd = D(
|
|
56925
56929
|
(me) => {
|
|
56926
|
-
|
|
56927
|
-
const _e =
|
|
56930
|
+
ct();
|
|
56931
|
+
const _e = pt ?? "", Ze = at?.items ?? [];
|
|
56928
56932
|
Qn(me, _e, Ze);
|
|
56929
56933
|
},
|
|
56930
|
-
[
|
|
56934
|
+
[pt, at, Qn, ct]
|
|
56931
56935
|
), za = D(() => {
|
|
56932
|
-
|
|
56933
|
-
const me =
|
|
56936
|
+
ct();
|
|
56937
|
+
const me = pt ?? "", _e = at?.items ?? [];
|
|
56934
56938
|
ws(me, _e);
|
|
56935
|
-
}, [
|
|
56936
|
-
|
|
56937
|
-
const me =
|
|
56939
|
+
}, [pt, at, ws, ct]), lr = D(() => {
|
|
56940
|
+
ct();
|
|
56941
|
+
const me = pt ?? "", _e = at?.items ?? [];
|
|
56938
56942
|
rr(me, _e);
|
|
56939
|
-
}, [
|
|
56940
|
-
|
|
56941
|
-
}, [Gn,
|
|
56942
|
-
|
|
56943
|
+
}, [pt, at, rr, ct]), Wa = D(() => {
|
|
56944
|
+
ct(), Gn?.(pt, at);
|
|
56945
|
+
}, [Gn, pt, at, ct]), ja = D(() => {
|
|
56946
|
+
ct(), ga?.(pt, at);
|
|
56943
56947
|
}, [
|
|
56944
56948
|
ga,
|
|
56945
|
-
|
|
56946
|
-
|
|
56947
|
-
|
|
56949
|
+
pt,
|
|
56950
|
+
at,
|
|
56951
|
+
ct
|
|
56948
56952
|
]), _a = D(
|
|
56949
56953
|
(me) => {
|
|
56950
56954
|
er?.(me);
|
|
@@ -56964,28 +56968,28 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
56964
56968
|
saveFolderCreation: b0,
|
|
56965
56969
|
validateFolderName: x0
|
|
56966
56970
|
} = DB({
|
|
56967
|
-
currentFolder:
|
|
56971
|
+
currentFolder: at,
|
|
56968
56972
|
onCreateFolder: nd,
|
|
56969
56973
|
onValidateFolderName: Se,
|
|
56970
56974
|
validationMessages: X,
|
|
56971
56975
|
items: s
|
|
56972
56976
|
}), Gg = D(() => {
|
|
56973
|
-
if (wt && si(
|
|
56977
|
+
if (wt && si(at, wt - 1)) {
|
|
56974
56978
|
ni();
|
|
56975
56979
|
return;
|
|
56976
56980
|
}
|
|
56977
|
-
|
|
56981
|
+
ct(), et();
|
|
56978
56982
|
}, [
|
|
56979
|
-
|
|
56983
|
+
ct,
|
|
56980
56984
|
et,
|
|
56981
|
-
|
|
56985
|
+
at,
|
|
56982
56986
|
wt,
|
|
56983
56987
|
si,
|
|
56984
56988
|
ni
|
|
56985
56989
|
]), { newActions: y0, isNewButtonVisible: S0, isNewButtonDisabled: R0 } = FB(
|
|
56986
56990
|
{
|
|
56987
56991
|
newActions: w?.newActions,
|
|
56988
|
-
currentFolder:
|
|
56992
|
+
currentFolder: at,
|
|
56989
56993
|
onUploadFiles: Gn ? Wa : za,
|
|
56990
56994
|
onUploadArchive: lr,
|
|
56991
56995
|
onCreateFolder: Gg,
|
|
@@ -57020,15 +57024,15 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57020
57024
|
name: te,
|
|
57021
57025
|
updatedAt: void 0,
|
|
57022
57026
|
author: void 0,
|
|
57023
|
-
path:
|
|
57027
|
+
path: pt ?? "/",
|
|
57024
57028
|
nodeType: xe.FOLDER,
|
|
57025
57029
|
extension: void 0,
|
|
57026
57030
|
isTemporary: !0,
|
|
57027
57031
|
owner: void 0
|
|
57028
57032
|
}), dr;
|
|
57029
57033
|
}
|
|
57030
|
-
const me = Po(en).trim(), _e =
|
|
57031
|
-
let Ze = me ? nB(
|
|
57034
|
+
const me = Po(en).trim(), _e = at?.items ?? [];
|
|
57035
|
+
let Ze = me ? nB(at) : _e;
|
|
57032
57036
|
ii || (Ze = Ze.filter((Ve) => Ve.nodeType !== xe.ITEM)), sr || (Ze = Ze.filter(
|
|
57033
57037
|
(Ve) => Ve.nodeType !== xe.FOLDER
|
|
57034
57038
|
)), zn || (Ze = Ze.filter((Ve) => me ? !Ve.path.split("/").filter(Boolean).some((st) => st.startsWith(".")) : !a0(Ve)));
|
|
@@ -57053,7 +57057,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57053
57057
|
name: te,
|
|
57054
57058
|
updatedAt: void 0,
|
|
57055
57059
|
author: void 0,
|
|
57056
|
-
path:
|
|
57060
|
+
path: pt ?? "/",
|
|
57057
57061
|
nodeType: xe.FOLDER,
|
|
57058
57062
|
extension: void 0,
|
|
57059
57063
|
isTemporary: !0,
|
|
@@ -57070,7 +57074,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57070
57074
|
}, [
|
|
57071
57075
|
nr,
|
|
57072
57076
|
Un,
|
|
57073
|
-
|
|
57077
|
+
at,
|
|
57074
57078
|
en,
|
|
57075
57079
|
zn,
|
|
57076
57080
|
tn,
|
|
@@ -57078,12 +57082,12 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57078
57082
|
te,
|
|
57079
57083
|
ii,
|
|
57080
57084
|
sr,
|
|
57081
|
-
|
|
57085
|
+
pt
|
|
57082
57086
|
]);
|
|
57083
57087
|
ye(() => {
|
|
57084
57088
|
const me = ms.current;
|
|
57085
57089
|
if (!me) return;
|
|
57086
|
-
if ((
|
|
57090
|
+
if ((pt ?? "") !== me.destinationFolder) {
|
|
57087
57091
|
ms.current = null;
|
|
57088
57092
|
return;
|
|
57089
57093
|
}
|
|
@@ -57095,7 +57099,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57095
57099
|
Ze.size > 0 && (Xs(Ze), ms.current = null);
|
|
57096
57100
|
}, [
|
|
57097
57101
|
s,
|
|
57098
|
-
|
|
57102
|
+
pt,
|
|
57099
57103
|
Xs,
|
|
57100
57104
|
Ee,
|
|
57101
57105
|
he
|
|
@@ -57129,11 +57133,11 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57129
57133
|
ni();
|
|
57130
57134
|
return;
|
|
57131
57135
|
}
|
|
57132
|
-
|
|
57136
|
+
ct(), it(me[0]);
|
|
57133
57137
|
}
|
|
57134
57138
|
},
|
|
57135
57139
|
[
|
|
57136
|
-
|
|
57140
|
+
ct,
|
|
57137
57141
|
it,
|
|
57138
57142
|
wt,
|
|
57139
57143
|
si,
|
|
@@ -57146,11 +57150,11 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57146
57150
|
ni();
|
|
57147
57151
|
return;
|
|
57148
57152
|
}
|
|
57149
|
-
|
|
57153
|
+
ct(), Js(me[0].path), cr(new Set(Jn).add(me[0].path || "/")), bs(me[0]);
|
|
57150
57154
|
}
|
|
57151
57155
|
},
|
|
57152
57156
|
[
|
|
57153
|
-
|
|
57157
|
+
ct,
|
|
57154
57158
|
bs,
|
|
57155
57159
|
Jn,
|
|
57156
57160
|
cr,
|
|
@@ -57166,11 +57170,11 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57166
57170
|
ni();
|
|
57167
57171
|
return;
|
|
57168
57172
|
}
|
|
57169
|
-
|
|
57173
|
+
ct(), Qt(me[0]);
|
|
57170
57174
|
}
|
|
57171
57175
|
},
|
|
57172
57176
|
[
|
|
57173
|
-
|
|
57177
|
+
ct,
|
|
57174
57178
|
Qt,
|
|
57175
57179
|
wt,
|
|
57176
57180
|
si,
|
|
@@ -57183,11 +57187,11 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57183
57187
|
ni();
|
|
57184
57188
|
return;
|
|
57185
57189
|
}
|
|
57186
|
-
|
|
57190
|
+
ct(), Js(me[0].path), cr(new Set(Jn).add(me[0].path || "/")), Hg(me[0]);
|
|
57187
57191
|
}
|
|
57188
57192
|
},
|
|
57189
57193
|
[
|
|
57190
|
-
|
|
57194
|
+
ct,
|
|
57191
57195
|
Hg,
|
|
57192
57196
|
Js,
|
|
57193
57197
|
Jn,
|
|
@@ -57236,7 +57240,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57236
57240
|
folderCreationValidationMessages: X,
|
|
57237
57241
|
sourceFolder: wd
|
|
57238
57242
|
},
|
|
57239
|
-
currentPath:
|
|
57243
|
+
currentPath: pt,
|
|
57240
57244
|
setCurrentPath: Js,
|
|
57241
57245
|
searchValue: gd,
|
|
57242
57246
|
effectiveSearchValue: en,
|
|
@@ -57250,7 +57254,7 @@ const AB = ':;,=/{}%&\\"', h0 = `(\r
|
|
|
57250
57254
|
selectedFiles: ad,
|
|
57251
57255
|
setSelectedPaths: Xs,
|
|
57252
57256
|
clearSelection: Zi,
|
|
57253
|
-
currentFolder:
|
|
57257
|
+
currentFolder: at,
|
|
57254
57258
|
gridRows: F0,
|
|
57255
57259
|
handleCopyTo: $n,
|
|
57256
57260
|
handleMoveTo: fd,
|
|
@@ -58052,7 +58056,7 @@ const WB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
|
|
|
58052
58056
|
children: /* @__PURE__ */ g.jsx(
|
|
58053
58057
|
Ob,
|
|
58054
58058
|
{
|
|
58055
|
-
size:
|
|
58059
|
+
size: ot.Small,
|
|
58056
58060
|
icon: /* @__PURE__ */ g.jsx(zo, { stroke: 2, size: mt.SM })
|
|
58057
58061
|
}
|
|
58058
58062
|
)
|
|
@@ -59107,7 +59111,7 @@ function dV({
|
|
|
59107
59111
|
]) };
|
|
59108
59112
|
}
|
|
59109
59113
|
const uV = () => {
|
|
59110
|
-
const e =
|
|
59114
|
+
const e = ut(c0);
|
|
59111
59115
|
if (!e)
|
|
59112
59116
|
throw new Error(
|
|
59113
59117
|
"useFileManagerContext must be used within <FileManagerProvider>"
|
|
@@ -59413,7 +59417,7 @@ const uV = () => {
|
|
|
59413
59417
|
uploadConflictingFiles: od,
|
|
59414
59418
|
uploadConflictResolutionOpen: rd,
|
|
59415
59419
|
handleUploadConflictReplace: ad,
|
|
59416
|
-
handleUploadConflictDuplicate:
|
|
59420
|
+
handleUploadConflictDuplicate: pt,
|
|
59417
59421
|
handleUploadConflictCancel: Js,
|
|
59418
59422
|
handleUploadConflictDecideForEach: Qi,
|
|
59419
59423
|
openMetadataPopup: ir,
|
|
@@ -59440,9 +59444,9 @@ const uV = () => {
|
|
|
59440
59444
|
getDisabledTooltip: en,
|
|
59441
59445
|
fileTooLargeTooltip: Sa,
|
|
59442
59446
|
unsupportedFileTypeTooltip: Ra,
|
|
59443
|
-
gridClassName:
|
|
59447
|
+
gridClassName: ct,
|
|
59444
59448
|
nonClickableTableColumns: Un,
|
|
59445
|
-
hideSearchPathItemName:
|
|
59449
|
+
hideSearchPathItemName: at,
|
|
59446
59450
|
showHiddenFileSwitcherInDestinationPopup: si,
|
|
59447
59451
|
showCreateFolderButtonInDestinationPopup: ni,
|
|
59448
59452
|
newFolderDefaultName: $n
|
|
@@ -59931,7 +59935,7 @@ const uV = () => {
|
|
|
59931
59935
|
disabledRowIds: ws,
|
|
59932
59936
|
forbiddenSymbolsRegExp: Je,
|
|
59933
59937
|
forbiddenSymbolsTooltip: Rt,
|
|
59934
|
-
hideSearchPathItemName:
|
|
59938
|
+
hideSearchPathItemName: at,
|
|
59935
59939
|
newFolderDefaultName: $n,
|
|
59936
59940
|
filesLoading: n
|
|
59937
59941
|
}
|
|
@@ -59957,7 +59961,7 @@ const uV = () => {
|
|
|
59957
59961
|
ws,
|
|
59958
59962
|
Je,
|
|
59959
59963
|
Rt,
|
|
59960
|
-
|
|
59964
|
+
at,
|
|
59961
59965
|
$n,
|
|
59962
59966
|
n
|
|
59963
59967
|
]
|
|
@@ -60022,7 +60026,7 @@ const uV = () => {
|
|
|
60022
60026
|
),
|
|
60023
60027
|
children: [
|
|
60024
60028
|
Ed(),
|
|
60025
|
-
/* @__PURE__ */ g.jsxs("div", { className: se(OG,
|
|
60029
|
+
/* @__PURE__ */ g.jsxs("div", { className: se(OG, ct), children: [
|
|
60026
60030
|
Dd(),
|
|
60027
60031
|
/* @__PURE__ */ g.jsxs(
|
|
60028
60032
|
"div",
|
|
@@ -60117,7 +60121,7 @@ const uV = () => {
|
|
|
60117
60121
|
onFolderPopupPathChange: dd,
|
|
60118
60122
|
showHiddenFileSwitcher: si,
|
|
60119
60123
|
showCreateFolderButton: ni,
|
|
60120
|
-
hideSearchPathItemName:
|
|
60124
|
+
hideSearchPathItemName: at
|
|
60121
60125
|
}
|
|
60122
60126
|
),
|
|
60123
60127
|
/* @__PURE__ */ g.jsx(
|
|
@@ -60139,7 +60143,7 @@ const uV = () => {
|
|
|
60139
60143
|
open: rd,
|
|
60140
60144
|
onClose: Js,
|
|
60141
60145
|
onReplace: ad,
|
|
60142
|
-
onDuplicate:
|
|
60146
|
+
onDuplicate: pt,
|
|
60143
60147
|
onDecideForEach: Qi,
|
|
60144
60148
|
conflictingFiles: od
|
|
60145
60149
|
}
|
|
@@ -60282,7 +60286,7 @@ const xV = {
|
|
|
60282
60286
|
removeFieldAriaLabel: "Remove field"
|
|
60283
60287
|
}, g0 = ia(null);
|
|
60284
60288
|
function Qs() {
|
|
60285
|
-
const e =
|
|
60289
|
+
const e = ut(g0);
|
|
60286
60290
|
if (!e)
|
|
60287
60291
|
throw new Error("useSchemaContext must be used inside DialSchemaRenderer");
|
|
60288
60292
|
return e;
|
|
@@ -60537,7 +60541,7 @@ const Ng = ({
|
|
|
60537
60541
|
r && /* @__PURE__ */ g.jsx(
|
|
60538
60542
|
Eg,
|
|
60539
60543
|
{
|
|
60540
|
-
size:
|
|
60544
|
+
size: ot.Small,
|
|
60541
60545
|
onClick: (m) => {
|
|
60542
60546
|
m.stopPropagation(), r();
|
|
60543
60547
|
},
|
|
@@ -61152,7 +61156,7 @@ const Ng = ({
|
|
|
61152
61156
|
!l && /* @__PURE__ */ g.jsx(
|
|
61153
61157
|
Eg,
|
|
61154
61158
|
{
|
|
61155
|
-
size:
|
|
61159
|
+
size: ot.Small,
|
|
61156
61160
|
onClick: o,
|
|
61157
61161
|
"aria-label": a,
|
|
61158
61162
|
className: "shrink-0 p-1"
|
|
@@ -61408,7 +61412,7 @@ const Ng = ({
|
|
|
61408
61412
|
}) })
|
|
61409
61413
|
}
|
|
61410
61414
|
);
|
|
61411
|
-
}, rz = () => import("./JsonEditor-
|
|
61415
|
+
}, rz = () => import("./JsonEditor-LH-83m4G.js"), az = () => import("./MarkdownEditor-CqrJFxFA.js");
|
|
61412
61416
|
export {
|
|
61413
61417
|
hs as $,
|
|
61414
61418
|
gV as A,
|
|
@@ -61454,7 +61458,7 @@ export {
|
|
|
61454
61458
|
Jr as aB,
|
|
61455
61459
|
pi as aC,
|
|
61456
61460
|
cH as aD,
|
|
61457
|
-
|
|
61461
|
+
ot as aE,
|
|
61458
61462
|
Et as aF,
|
|
61459
61463
|
NB as aG,
|
|
61460
61464
|
po as aH,
|