@marimo-team/islands 0.14.11-dev39 → 0.14.11-dev4
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/{ConnectedDataExplorerComponent-Sd9Nxepm.js → ConnectedDataExplorerComponent-B3jU38aR.js} +4 -4
- package/dist/{ImageComparisonComponent-5Y_UPK-4.js → ImageComparisonComponent-CUfFulP7.js} +1 -1
- package/dist/{VegaLite-xEnU6x-s.js → VegaLite-CT_m2Gns.js} +7180 -6961
- package/dist/{_baseUniq-hectrKF-.js → _baseUniq-DVXzAxqW.js} +36 -36
- package/dist/{any-language-editor-CFSQwvzE.js → any-language-editor-Bm5ppbnQ.js} +1 -1
- package/dist/{architectureDiagram-NQ2NVSRB-CCXJjFvh.js → architectureDiagram-IEHRJDOE-Buq1PEDd.js} +894 -897
- package/dist/assets/{worker-Bfk1FrzG.js → save-worker-BIDtxCd1.js} +1724 -1604
- package/dist/assets/{save-worker-fI5ofStJ.js → worker-BcyuOSTi.js} +1649 -1076
- package/dist/assets/worker-Dz6PPEGc.js +4115 -0
- package/dist/{blockDiagram-PHRCVELO-BjyOlQ-1.js → blockDiagram-JOT3LUYC-Baj8O4gb.js} +522 -534
- package/dist/{c4Diagram-6F6E4RAY-Dekfu0nv.js → c4Diagram-VJAJSXHY-CBDfWUzS.js} +4 -4
- package/dist/{channel-3ZP1Ahsx.js → channel-Cy0SmgpI.js} +1 -1
- package/dist/{chunk-353BL4L5-DAFgStCL.js → chunk-4BMEZGHF-BnpEqs6S.js} +1 -1
- package/dist/{chunk-QEP2MXWD-B3Qy_0QF.js → chunk-A2AXSNBT-i8l7moUJ.js} +27 -30
- package/dist/chunk-AEK57VVT-BxuW_6WB.js +1416 -0
- package/dist/{chunk-67H74DCK-DZpdsEFc.js → chunk-D6G4REZN-DwIklRV0.js} +1 -1
- package/dist/chunk-RZ5BOZE2-CNoeotZt.js +24 -0
- package/dist/{chunk-AACKK3MU-B95hL8py.js → chunk-XZIHB7SX-Cr4T9caJ.js} +1 -1
- package/dist/{classDiagram-v2-O24JOBDK-CRnOnb_r.js → classDiagram-GIVACNV2-CbFkMOFI.js} +2 -2
- package/dist/{classDiagram-BGRH5UQR-CRnOnb_r.js → classDiagram-v2-COTLJTTW-CbFkMOFI.js} +2 -2
- package/dist/{clone-CFt3Dbsx.js → clone-BeXSGgDB.js} +1 -1
- package/dist/{dagre-FFZHY6LT-BCZYCsTf.js → dagre-OKDRZEBW-Bo2roBvL.js} +8 -8
- package/dist/{data-editor-DJm7TwNK.js → data-editor-Dnm_K2_c.js} +201 -213
- package/dist/{diagram-ZTM2IBQH-CZn2HwdK.js → diagram-SSKATNLV-6e7ZOneB.js} +3 -3
- package/dist/diagram-VNBRO52H-VcG5htt_.js +126 -0
- package/dist/{erDiagram-R3QVA2FD-CgONUTHE.js → erDiagram-Q7BY3M3F-DObb1KYA.js} +5 -6
- package/dist/{flowDiagram-PKI6S5ZS-Dk7_9UWG.js → flowDiagram-4HSFHLVR-BAvIkIMr.js} +278 -283
- package/dist/{ganttDiagram-EK5VF46D-CRpVp1Tv.js → ganttDiagram-APWFNJXF-BUabt1F7.js} +439 -453
- package/dist/{gitGraphDiagram-GW3U2K7C-C62qVSS0.js → gitGraphDiagram-7IBYFJ6S-Bs-H6FAX.js} +35 -35
- package/dist/{graph-Bmg6ThvY.js → graph-B7tbSSJp.js} +3 -3
- package/dist/{index-DjyV3XsQ.js → index-CiG5v3ld.js} +3 -3
- package/dist/{index-CpMCQprO.js → index-DI-1MlWW.js} +1 -1
- package/dist/{index-DOW7j8QD.js → index-DpepA-b-.js} +3 -6
- package/dist/{index-BmXq13zt.js → index-phTQQwAJ.js} +4 -4
- package/dist/{infoDiagram-RLU2ROGC-BxV_L_v4.js → infoDiagram-PH2N3AL5-7fwphtgP.js} +3 -5
- package/dist/journeyDiagram-U35MCT3I-C4s4ilvs.js +809 -0
- package/dist/{kanban-definition-ILFWEQ3N-Czy4NHmp.js → kanban-definition-NDS4AKOZ-DcxIaLdv.js} +39 -41
- package/dist/{layout-oDYqqouw.js → layout-v4OeDCTb.js} +49 -49
- package/dist/{linear-B2w8crqt.js → linear-xHimOevt.js} +22 -22
- package/dist/{main-WBPEOYUW.js → main-C7CuKeJY.js} +47637 -47530
- package/dist/main.js +1 -1
- package/dist/{mermaid-BrDUrAOA.js → mermaid-C9S7GU2b.js} +4855 -4927
- package/dist/min-BT9mkTQN.js +80 -0
- package/dist/{mindmap-definition-CZNETY7S-DwnN0Xtd.js → mindmap-definition-ALO5MXBD-CVFEcHZK.js} +3 -3
- package/dist/{pieDiagram-NIOCPIFQ-C6DftsTF.js → pieDiagram-IB7DONF6-Co1Ma8jK.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-D_F4-y3O.js → quadrantDiagram-7GDLP6J5-DQlP2K2y.js} +2 -2
- package/dist/{treemap-FKARHQ26-BdRtb6Jl.js → radar-MK3ICKWK-BhkTFShi.js} +2330 -2469
- package/dist/{react-plotly-DyGjmGkP.js → react-plotly-Bh6GaXqm.js} +1 -1
- package/dist/{requirementDiagram-SO3GGRV7-B0B6nUaZ.js → requirementDiagram-KVF5MWMF-BygiWyL4.js} +4 -5
- package/dist/{sankeyDiagram-4UZDY2LN-Dc9a_ZCf.js → sankeyDiagram-QLVOVGJD-Ch4TJi_X.js} +11 -11
- package/dist/{sequenceDiagram-ZIKVLSP4-CK0IGm4R.js → sequenceDiagram-X6HHIX6F-DuQdesWk.js} +149 -151
- package/dist/{slides-component-Dnp9jsH4.js → slides-component-BA1GLkbQ.js} +962 -969
- package/dist/stateDiagram-DGXRK772-CG6dTG8s.js +271 -0
- package/dist/{stateDiagram-v2-GD6S3NHB-z7eMLBFB.js → stateDiagram-v2-YXO3MK2T-ChBhvPue.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-CsAbaoLW.js → time-BImtLwbp.js} +2 -2
- package/dist/{timeline-definition-RI47OAVP-BClUsJ6N.js → timeline-definition-BDJGKUSR-DDxqWt73.js} +102 -99
- package/dist/{vega-component-B4kFG0mV.js → vega-component-ClHul7Ph.js} +21 -21
- package/dist/{xychartDiagram-H2YORKM3-DKa9A91j.js → xychartDiagram-VJFVF3MP-DsuROm2x.js} +375 -409
- package/package.json +42 -42
- package/dist/assets/worker-BldghCZh.js +0 -3752
- package/dist/chunk-6OLS64BW-Brmt-SZS.js +0 -1383
- package/dist/chunk-BFAMUDN2-BT75CqeT.js +0 -8
- package/dist/chunk-E2GYISFI-C0R6djsG.js +0 -19
- package/dist/chunk-SKB7J2MH-CW_LVmrE.js +0 -20
- package/dist/diagram-3EMPZRKU-K1apRbx_.js +0 -313
- package/dist/diagram-5UYTHUR4-CDt_HKgG.js +0 -137
- package/dist/index-pBmAzQJl.js +0 -235
- package/dist/journeyDiagram-EWQZEKCU-BmLTz9kg.js +0 -836
- package/dist/min-DrafC17d.js +0 -80
- package/dist/stateDiagram-XX37X6EN-BvfpfSgz.js +0 -264
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a2;
|
|
2
|
-
import {
|
|
2
|
+
import { F as g, b as x, G as mr, H as Fl, J as bl, j as Zt, K as Pl, M as Dl, P as El } from "./main-C7CuKeJY.js";
|
|
3
3
|
var Ut = class {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.allSyncListeners = /* @__PURE__ */ new Map(), this.allAsyncListeners = /* @__PURE__ */ new Map(), this.globalSyncListeners = /* @__PURE__ */ new Set(), this.globalAsyncListeners = /* @__PURE__ */ new Set(), this.asyncFunctionsQueue = [], this.scheduled = false, this.firedEvents = {};
|
|
@@ -144,7 +144,7 @@ function Ee(e) {
|
|
|
144
144
|
function Pi(e) {
|
|
145
145
|
return e != null && typeof e.toString == "function" ? e.toString() : null;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function St(e) {
|
|
148
148
|
if (e === void 0)
|
|
149
149
|
return;
|
|
150
150
|
if (e === null || e === "")
|
|
@@ -239,7 +239,7 @@ function Ol(e) {
|
|
|
239
239
|
const t = e.get("detailRowHeight");
|
|
240
240
|
return Mi(t) ? { height: t, estimated: false } : { height: 300, estimated: false };
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function yt(e) {
|
|
243
243
|
const { environment: t } = e, s = e.get("rowHeight");
|
|
244
244
|
if (!s || N(s))
|
|
245
245
|
return t.getDefaultRowHeight();
|
|
@@ -253,7 +253,7 @@ function hs(e, t, s) {
|
|
|
253
253
|
const i = t[e.getDomDataKey()];
|
|
254
254
|
return i ? i[s] : void 0;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Pt(e, t, s, i) {
|
|
257
257
|
const o = e.getDomDataKey();
|
|
258
258
|
let r = t[o];
|
|
259
259
|
N(r) && (r = {}, t[o] = r), r[s] = i;
|
|
@@ -407,7 +407,7 @@ function Xi(e) {
|
|
|
407
407
|
}
|
|
408
408
|
return (t == null ? void 0 : t.mode) === "multiRow" ? t.groupSelects : void 0;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Dt(e) {
|
|
411
411
|
const t = Xi(e);
|
|
412
412
|
return t === "descendants" || t === "filteredDescendants";
|
|
413
413
|
}
|
|
@@ -449,7 +449,7 @@ function _s(e, t, s) {
|
|
|
449
449
|
function Mr(e, t, s) {
|
|
450
450
|
Ul(e, t), t.slice().reverse().forEach((i) => _s(e, i, s));
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Rt(e, t) {
|
|
453
453
|
return e.indexOf(t) > -1;
|
|
454
454
|
}
|
|
455
455
|
function Kl(e) {
|
|
@@ -507,7 +507,7 @@ function Yl(e) {
|
|
|
507
507
|
return t.path ? t.path : t.composedPath ? t.composedPath() : ql(t);
|
|
508
508
|
}
|
|
509
509
|
function Ql(e, t, s, i) {
|
|
510
|
-
const r =
|
|
510
|
+
const r = Rt($l, s) ? { passive: true } : void 0;
|
|
511
511
|
e && e.addEventListener && e.addEventListener(t, s, i, r);
|
|
512
512
|
}
|
|
513
513
|
var F = class {
|
|
@@ -993,7 +993,7 @@ var to = class extends F {
|
|
|
993
993
|
}
|
|
994
994
|
calculateColInitialWidth(e) {
|
|
995
995
|
let t;
|
|
996
|
-
const s =
|
|
996
|
+
const s = St(e.width), i = St(e.initialWidth);
|
|
997
997
|
return s != null ? t = s : i != null ? t = i : t = 200, Math.max(Math.min(t, this.maxWidth), this.minWidth);
|
|
998
998
|
}
|
|
999
999
|
isEmptyGroup() {
|
|
@@ -1543,9 +1543,9 @@ var to = class extends F {
|
|
|
1543
1543
|
return (_a3 = this.dataTypeService) == null ? void 0 : _a3.addColumnListeners(n), n;
|
|
1544
1544
|
}
|
|
1545
1545
|
applyColumnState(e, t, s) {
|
|
1546
|
-
const i =
|
|
1546
|
+
const i = St(t.flex);
|
|
1547
1547
|
if (i !== void 0 && e.setFlex(i), e.getFlex() <= 0) {
|
|
1548
|
-
const l =
|
|
1548
|
+
const l = St(t.width);
|
|
1549
1549
|
if (l != null)
|
|
1550
1550
|
e.setActualWidth(l, s);
|
|
1551
1551
|
else {
|
|
@@ -1554,7 +1554,7 @@ var to = class extends F {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
}
|
|
1556
1556
|
t.sort !== void 0 && (t.sort == "asc" || t.sort == "desc" ? e.setSort(t.sort, s) : e.setSort(void 0, s));
|
|
1557
|
-
const r =
|
|
1557
|
+
const r = St(t.sortIndex);
|
|
1558
1558
|
r !== void 0 && e.setSortIndex(r);
|
|
1559
1559
|
const n = Di(t.hide);
|
|
1560
1560
|
n !== void 0 && e.setVisible(!n, s), t.pinned !== void 0 && e.setPinned(t.pinned);
|
|
@@ -1646,18 +1646,18 @@ var ia = class extends F {
|
|
|
1646
1646
|
const e = this.gos.get("pivotMode");
|
|
1647
1647
|
this.isPivotSettingAllowed(e) && (this.pivotMode = e), this.addManagedPropertyListeners(
|
|
1648
1648
|
["groupDisplayType", "treeData", "treeDataDisplayType", "groupHideOpenParents"],
|
|
1649
|
-
(t) => this.refreshAll(
|
|
1649
|
+
(t) => this.refreshAll(mt(t.source))
|
|
1650
1650
|
), this.addManagedPropertyListener("rowSelection", (t) => {
|
|
1651
|
-
this.onSelectionOptionsChanged(t.currentValue, t.previousValue,
|
|
1651
|
+
this.onSelectionOptionsChanged(t.currentValue, t.previousValue, mt(t.source));
|
|
1652
1652
|
}), this.addManagedPropertyListener(
|
|
1653
1653
|
"autoGroupColumnDef",
|
|
1654
|
-
(t) => this.onAutoGroupColumnDefChanged(
|
|
1654
|
+
(t) => this.onAutoGroupColumnDefChanged(mt(t.source))
|
|
1655
1655
|
), this.addManagedPropertyListeners(
|
|
1656
1656
|
["defaultColDef", "defaultColGroupDef", "columnTypes", "suppressFieldDotNotation"],
|
|
1657
|
-
(t) => this.recreateColumnDefs(
|
|
1657
|
+
(t) => this.recreateColumnDefs(mt(t.source))
|
|
1658
1658
|
), this.addManagedPropertyListener(
|
|
1659
1659
|
"pivotMode",
|
|
1660
|
-
(t) => this.setPivotMode(this.gos.get("pivotMode"),
|
|
1660
|
+
(t) => this.setPivotMode(this.gos.get("pivotMode"), mt(t.source))
|
|
1661
1661
|
), this.addManagedEventListeners({ firstDataRendered: () => this.onFirstDataRendered() });
|
|
1662
1662
|
}
|
|
1663
1663
|
// called from SyncService, when grid has finished initialising
|
|
@@ -1712,7 +1712,7 @@ var ia = class extends F {
|
|
|
1712
1712
|
return this.cols.list.filter((i) => {
|
|
1713
1713
|
const o = Ti(i);
|
|
1714
1714
|
if (e) {
|
|
1715
|
-
const r = t &&
|
|
1715
|
+
const r = t && Rt(t, i);
|
|
1716
1716
|
return o || r;
|
|
1717
1717
|
} else
|
|
1718
1718
|
return o || i.isVisible();
|
|
@@ -2123,7 +2123,7 @@ var ia = class extends F {
|
|
|
2123
2123
|
(r || n !== l) && this.refreshAll(s);
|
|
2124
2124
|
}
|
|
2125
2125
|
};
|
|
2126
|
-
function
|
|
2126
|
+
function mt(e) {
|
|
2127
2127
|
return e === "gridOptionsUpdated" ? "gridOptionsChanged" : e;
|
|
2128
2128
|
}
|
|
2129
2129
|
function Wo(e) {
|
|
@@ -2477,7 +2477,7 @@ var oa = class extends F {
|
|
|
2477
2477
|
extractColsCommon(e = [], t = [], s, i, o, r, n) {
|
|
2478
2478
|
const l = [], a = [];
|
|
2479
2479
|
(this.columnModel.getColDefCols() || []).forEach((h) => {
|
|
2480
|
-
const p = e.indexOf(h) < 0, m = h.getColDef(), C = Di(r(m)), f = Di(n(m)), v =
|
|
2480
|
+
const p = e.indexOf(h) < 0, m = h.getColDef(), C = Di(r(m)), f = Di(n(m)), v = St(i(m)), S = St(o(m));
|
|
2481
2481
|
let w;
|
|
2482
2482
|
C !== void 0 ? w = C : v !== void 0 ? v === null ? w = false : w = v >= 0 : p ? f !== void 0 ? w = f : S !== void 0 ? w = S != null && S >= 0 : w = false : w = t.indexOf(h) >= 0, w && ((p ? v != null || S != null : v != null) ? l.push(h) : a.push(h));
|
|
2483
2483
|
});
|
|
@@ -3241,7 +3241,7 @@ var da = class extends F {
|
|
|
3241
3241
|
function Or(e, t) {
|
|
3242
3242
|
return e + "_" + t;
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3244
|
+
function le(e) {
|
|
3245
3245
|
return e instanceof kr;
|
|
3246
3246
|
}
|
|
3247
3247
|
var kr = class extends F {
|
|
@@ -3271,7 +3271,7 @@ var kr = class extends F {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
checkLeft() {
|
|
3273
3273
|
if (this.displayedChildren.forEach((e) => {
|
|
3274
|
-
|
|
3274
|
+
le(e) && e.checkLeft();
|
|
3275
3275
|
}), this.displayedChildren.length > 0)
|
|
3276
3276
|
if (this.gos.get("enableRtl")) {
|
|
3277
3277
|
const t = H(this.displayedChildren).getLeft();
|
|
@@ -3367,12 +3367,12 @@ var kr = class extends F {
|
|
|
3367
3367
|
}
|
|
3368
3368
|
addDisplayedLeafColumns(e) {
|
|
3369
3369
|
this.displayedChildren.forEach((t) => {
|
|
3370
|
-
dt(t) ? e.push(t) :
|
|
3370
|
+
dt(t) ? e.push(t) : le(t) && t.addDisplayedLeafColumns(e);
|
|
3371
3371
|
});
|
|
3372
3372
|
}
|
|
3373
3373
|
addLeafColumns(e) {
|
|
3374
3374
|
this.children.forEach((t) => {
|
|
3375
|
-
dt(t) ? e.push(t) :
|
|
3375
|
+
dt(t) ? e.push(t) : le(t) && t.addLeafColumns(e);
|
|
3376
3376
|
});
|
|
3377
3377
|
}
|
|
3378
3378
|
getChildren() {
|
|
@@ -3398,7 +3398,7 @@ var kr = class extends F {
|
|
|
3398
3398
|
return;
|
|
3399
3399
|
}
|
|
3400
3400
|
this.children.forEach((s) => {
|
|
3401
|
-
if (
|
|
3401
|
+
if (le(s) && (!s.displayedChildren || !s.displayedChildren.length))
|
|
3402
3402
|
return;
|
|
3403
3403
|
switch (s.getColumnGroupShow()) {
|
|
3404
3404
|
case "open":
|
|
@@ -3483,7 +3483,7 @@ var kr = class extends F {
|
|
|
3483
3483
|
}
|
|
3484
3484
|
getAriaColIndex(e) {
|
|
3485
3485
|
let t;
|
|
3486
|
-
return
|
|
3486
|
+
return le(e) ? t = e.getLeafColumns()[0] : t = e, this.ariaOrderColumns.indexOf(t) + 1;
|
|
3487
3487
|
}
|
|
3488
3488
|
getAllAutoHeightCols() {
|
|
3489
3489
|
return this.autoHeightCols;
|
|
@@ -3491,7 +3491,7 @@ var kr = class extends F {
|
|
|
3491
3491
|
setLeftValuesOfGroups() {
|
|
3492
3492
|
[this.treeLeft, this.treeRight, this.treeCenter].forEach((e) => {
|
|
3493
3493
|
e.forEach((t) => {
|
|
3494
|
-
|
|
3494
|
+
le(t) && t.checkLeft();
|
|
3495
3495
|
});
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
@@ -3629,15 +3629,15 @@ var kr = class extends F {
|
|
|
3629
3629
|
const e = (t) => {
|
|
3630
3630
|
this.colsAndGroupsMap[t.getUniqueId()] = t;
|
|
3631
3631
|
};
|
|
3632
|
-
|
|
3632
|
+
Ct(this.treeCenter, false, e), Ct(this.treeLeft, false, e), Ct(this.treeRight, false, e);
|
|
3633
3633
|
}
|
|
3634
3634
|
isVisible(e) {
|
|
3635
3635
|
return this.colsAndGroupsMap[e.getUniqueId()] === e;
|
|
3636
3636
|
}
|
|
3637
3637
|
updateOpenClosedVisibilityInColumnGroups() {
|
|
3638
3638
|
const e = this.getAllTrees();
|
|
3639
|
-
|
|
3640
|
-
|
|
3639
|
+
Ct(e, false, (t) => {
|
|
3640
|
+
le(t) && t.calculateDisplayedColumns();
|
|
3641
3641
|
});
|
|
3642
3642
|
}
|
|
3643
3643
|
getFirstColumn() {
|
|
@@ -3659,12 +3659,12 @@ var kr = class extends F {
|
|
|
3659
3659
|
getColumnGroup(e, t) {
|
|
3660
3660
|
if (!e)
|
|
3661
3661
|
return null;
|
|
3662
|
-
if (
|
|
3662
|
+
if (le(e))
|
|
3663
3663
|
return e;
|
|
3664
3664
|
const s = this.getAllTrees(), i = typeof t == "number";
|
|
3665
3665
|
let o = null;
|
|
3666
|
-
return
|
|
3667
|
-
if (
|
|
3666
|
+
return Ct(s, false, (r) => {
|
|
3667
|
+
if (le(r)) {
|
|
3668
3668
|
const n = r;
|
|
3669
3669
|
let l;
|
|
3670
3670
|
i ? l = e === n.getGroupId() && t === n.getPartId() : l = e === n.getGroupId(), l && (o = n);
|
|
@@ -3699,7 +3699,7 @@ var kr = class extends F {
|
|
|
3699
3699
|
return false;
|
|
3700
3700
|
const i = t === "first";
|
|
3701
3701
|
let o;
|
|
3702
|
-
if (
|
|
3702
|
+
if (le(e)) {
|
|
3703
3703
|
const r = e.getDisplayedLeafColumns();
|
|
3704
3704
|
if (!r.length)
|
|
3705
3705
|
return false;
|
|
@@ -3718,7 +3718,7 @@ var kr = class extends F {
|
|
|
3718
3718
|
const d = (h) => {
|
|
3719
3719
|
const p = u;
|
|
3720
3720
|
u = h;
|
|
3721
|
-
const m = c[p], f = (
|
|
3721
|
+
const m = c[p], f = (le(m) ? m.getProvidedColumnGroup() : m).getOriginalParent();
|
|
3722
3722
|
if (f == null) {
|
|
3723
3723
|
for (let S = p; S < h; S++)
|
|
3724
3724
|
l.push(c[S]);
|
|
@@ -3736,7 +3736,7 @@ var kr = class extends F {
|
|
|
3736
3736
|
a.push(v);
|
|
3737
3737
|
};
|
|
3738
3738
|
for (let h = 1; h < c.length; h++) {
|
|
3739
|
-
const p = c[h], C = (
|
|
3739
|
+
const p = c[h], C = (le(p) ? p.getProvidedColumnGroup() : p).getOriginalParent(), f = c[u], S = (le(f) ? f.getProvidedColumnGroup() : f).getOriginalParent();
|
|
3740
3740
|
C !== S && d(h);
|
|
3741
3741
|
}
|
|
3742
3742
|
u < c.length && d(c.length);
|
|
@@ -3752,7 +3752,7 @@ var kr = class extends F {
|
|
|
3752
3752
|
mapOldGroupsById(e) {
|
|
3753
3753
|
const t = {}, s = (i) => {
|
|
3754
3754
|
i.forEach((o) => {
|
|
3755
|
-
if (
|
|
3755
|
+
if (le(o)) {
|
|
3756
3756
|
const r = o;
|
|
3757
3757
|
t[o.getUniqueId()] = r, s(r.getChildren());
|
|
3758
3758
|
}
|
|
@@ -3762,27 +3762,27 @@ var kr = class extends F {
|
|
|
3762
3762
|
}
|
|
3763
3763
|
setupParentsIntoCols(e, t) {
|
|
3764
3764
|
e.forEach((s) => {
|
|
3765
|
-
if (s.setParent(t),
|
|
3765
|
+
if (s.setParent(t), le(s)) {
|
|
3766
3766
|
const i = s;
|
|
3767
3767
|
this.setupParentsIntoCols(i.getChildren(), i);
|
|
3768
3768
|
}
|
|
3769
3769
|
});
|
|
3770
3770
|
}
|
|
3771
3771
|
};
|
|
3772
|
-
function
|
|
3772
|
+
function Ct(e, t, s) {
|
|
3773
3773
|
if (e)
|
|
3774
3774
|
for (let i = 0; i < e.length; i++) {
|
|
3775
3775
|
const o = e[i];
|
|
3776
|
-
if (
|
|
3776
|
+
if (le(o)) {
|
|
3777
3777
|
const r = t ? o.getDisplayedChildren() : o.getChildren();
|
|
3778
|
-
|
|
3778
|
+
Ct(r, t, s);
|
|
3779
3779
|
}
|
|
3780
3780
|
s(o);
|
|
3781
3781
|
}
|
|
3782
3782
|
}
|
|
3783
3783
|
function hi(e) {
|
|
3784
3784
|
const t = [];
|
|
3785
|
-
return
|
|
3785
|
+
return Ct(e, true, (s) => {
|
|
3786
3786
|
dt(s) && t.push(s);
|
|
3787
3787
|
}), t;
|
|
3788
3788
|
}
|
|
@@ -4557,7 +4557,7 @@ function Nt(e, t, s) {
|
|
|
4557
4557
|
}
|
|
4558
4558
|
return false;
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Mt(e) {
|
|
4561
4561
|
const {
|
|
4562
4562
|
height: t,
|
|
4563
4563
|
width: s,
|
|
@@ -4594,23 +4594,23 @@ function xt(e) {
|
|
|
4594
4594
|
};
|
|
4595
4595
|
}
|
|
4596
4596
|
function oo(e) {
|
|
4597
|
-
const t =
|
|
4597
|
+
const t = Mt(e);
|
|
4598
4598
|
return t.boxSizing === "border-box" ? t.height - t.paddingTop - t.paddingBottom : t.height;
|
|
4599
4599
|
}
|
|
4600
4600
|
function Rs(e) {
|
|
4601
|
-
const t =
|
|
4601
|
+
const t = Mt(e);
|
|
4602
4602
|
return t.boxSizing === "border-box" ? t.width - t.paddingLeft - t.paddingRight : t.width;
|
|
4603
4603
|
}
|
|
4604
4604
|
function Ur(e) {
|
|
4605
|
-
const { height: t, marginBottom: s, marginTop: i } =
|
|
4605
|
+
const { height: t, marginBottom: s, marginTop: i } = Mt(e);
|
|
4606
4606
|
return Math.floor(t + s + i);
|
|
4607
4607
|
}
|
|
4608
4608
|
function $s(e) {
|
|
4609
|
-
const { width: t, marginLeft: s, marginRight: i } =
|
|
4609
|
+
const { width: t, marginLeft: s, marginRight: i } = Mt(e);
|
|
4610
4610
|
return Math.floor(t + s + i);
|
|
4611
4611
|
}
|
|
4612
4612
|
function Kr(e) {
|
|
4613
|
-
const t = e.getBoundingClientRect(), { borderTopWidth: s, borderLeftWidth: i, borderRightWidth: o, borderBottomWidth: r } =
|
|
4613
|
+
const t = e.getBoundingClientRect(), { borderTopWidth: s, borderLeftWidth: i, borderRightWidth: o, borderBottomWidth: r } = Mt(e);
|
|
4614
4614
|
return {
|
|
4615
4615
|
top: t.top + (s || 0),
|
|
4616
4616
|
left: t.left + (i || 0),
|
|
@@ -4629,7 +4629,7 @@ function Me(e) {
|
|
|
4629
4629
|
for (; e && e.firstChild; )
|
|
4630
4630
|
e.removeChild(e.firstChild);
|
|
4631
4631
|
}
|
|
4632
|
-
function
|
|
4632
|
+
function Et(e) {
|
|
4633
4633
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
4634
4634
|
}
|
|
4635
4635
|
function $r(e) {
|
|
@@ -4772,7 +4772,7 @@ function Qr() {
|
|
|
4772
4772
|
function Xr() {
|
|
4773
4773
|
return ki == null && Qr(), ki;
|
|
4774
4774
|
}
|
|
4775
|
-
var Ka = 1e3, $a = 1e3, $o = 100, Jr = class
|
|
4775
|
+
var Ka = 1e3, $a = 1e3, $o = 100, Jr = class pt extends F {
|
|
4776
4776
|
constructor(t, s, i, o) {
|
|
4777
4777
|
super(), this.parentComp = t, this.tooltipShowDelayOverride = s, this.tooltipHideDelayOverride = i, this.shouldDisplayTooltip = o, this.interactionEnabled = false, this.isInteractingWithTooltip = false, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = false;
|
|
4778
4778
|
}
|
|
@@ -4808,7 +4808,7 @@ var Ka = 1e3, $a = 1e3, $o = 100, Jr = class ft extends F {
|
|
|
4808
4808
|
return !t || t === "hover" ? 0 : 1;
|
|
4809
4809
|
}
|
|
4810
4810
|
onMouseEnter(t) {
|
|
4811
|
-
this.interactionEnabled && this.interactiveTooltipTimeoutId && (this.unlockService(), this.startHideTimeout()), !gt() && (
|
|
4811
|
+
this.interactionEnabled && this.interactiveTooltipTimeoutId && (this.unlockService(), this.startHideTimeout()), !gt() && (pt.isLocked ? this.showTooltipTimeoutId = window.setTimeout(() => {
|
|
4812
4812
|
this.prepareToShowTooltip(t);
|
|
4813
4813
|
}, $o) : this.prepareToShowTooltip(t));
|
|
4814
4814
|
}
|
|
@@ -4833,13 +4833,13 @@ var Ka = 1e3, $a = 1e3, $o = 100, Jr = class ft extends F {
|
|
|
4833
4833
|
this.isInteractingWithTooltip && (this.isInteractingWithTooltip = false), this.setToDoNothing();
|
|
4834
4834
|
}
|
|
4835
4835
|
prepareToShowTooltip(t) {
|
|
4836
|
-
if (this.state != 0 ||
|
|
4836
|
+
if (this.state != 0 || pt.isLocked)
|
|
4837
4837
|
return;
|
|
4838
4838
|
let s = 0;
|
|
4839
4839
|
t && (s = this.isLastTooltipHiddenRecently() ? 200 : this.getTooltipDelay("show")), this.lastMouseEvent = t || null, this.showTooltipTimeoutId = window.setTimeout(this.showTooltip.bind(this), s), this.state = 1;
|
|
4840
4840
|
}
|
|
4841
4841
|
isLastTooltipHiddenRecently() {
|
|
4842
|
-
const t = (/* @__PURE__ */ new Date()).getTime(), s =
|
|
4842
|
+
const t = (/* @__PURE__ */ new Date()).getTime(), s = pt.lastTooltipHideTime;
|
|
4843
4843
|
return t - s < Ka;
|
|
4844
4844
|
}
|
|
4845
4845
|
setToDoNothing(t) {
|
|
@@ -4858,7 +4858,7 @@ var Ka = 1e3, $a = 1e3, $o = 100, Jr = class ft extends F {
|
|
|
4858
4858
|
this.userComponentFactory.getTooltipCompDetails(t).newAgStackInstance().then(s);
|
|
4859
4859
|
}
|
|
4860
4860
|
hideTooltip(t) {
|
|
4861
|
-
!t && this.isInteractingWithTooltip || (this.tooltipComp && (this.destroyTooltipComp(),
|
|
4861
|
+
!t && this.isInteractingWithTooltip || (this.tooltipComp && (this.destroyTooltipComp(), pt.lastTooltipHideTime = (/* @__PURE__ */ new Date()).getTime()), this.eventService.dispatchEvent({
|
|
4862
4862
|
type: "tooltipHide",
|
|
4863
4863
|
parentGui: this.parentComp.getGui()
|
|
4864
4864
|
}), t && (this.isInteractingWithTooltip = false), this.setToDoNothing(true));
|
|
@@ -4951,12 +4951,12 @@ var Ka = 1e3, $a = 1e3, $o = 100, Jr = class ft extends F {
|
|
|
4951
4951
|
}), this.tooltipMouseEnterListener = this.tooltipMouseLeaveListener = this.tooltipFocusInListener = this.tooltipFocusOutListener = null;
|
|
4952
4952
|
}
|
|
4953
4953
|
lockService() {
|
|
4954
|
-
|
|
4954
|
+
pt.isLocked = true, this.interactiveTooltipTimeoutId = window.setTimeout(() => {
|
|
4955
4955
|
this.unlockService(), this.setToDoNothing();
|
|
4956
4956
|
}, $o);
|
|
4957
4957
|
}
|
|
4958
4958
|
unlockService() {
|
|
4959
|
-
|
|
4959
|
+
pt.isLocked = false, this.clearInteractiveTimeout();
|
|
4960
4960
|
}
|
|
4961
4961
|
startHideTimeout() {
|
|
4962
4962
|
this.clearHideTimeout(), this.hideTooltipTimeoutId = window.setTimeout(this.hideTooltip.bind(this), this.getTooltipDelay("hide"));
|
|
@@ -5716,7 +5716,7 @@ var Ja = (
|
|
|
5716
5716
|
if (!this.eMenu)
|
|
5717
5717
|
return;
|
|
5718
5718
|
if (this.currentShowMenu = this.workOutShowMenu(), !this.currentShowMenu) {
|
|
5719
|
-
|
|
5719
|
+
Et(this.eMenu), this.eMenu = void 0;
|
|
5720
5720
|
return;
|
|
5721
5721
|
}
|
|
5722
5722
|
const e = this.menuService.isLegacyMenuEnabled();
|
|
@@ -5789,7 +5789,7 @@ var Ja = (
|
|
|
5789
5789
|
}
|
|
5790
5790
|
configureFilter(e, t, s) {
|
|
5791
5791
|
if (!e)
|
|
5792
|
-
return
|
|
5792
|
+
return Et(t), false;
|
|
5793
5793
|
const i = this.params.column;
|
|
5794
5794
|
return this.addInIcon("filter", t, i), this.addManagedListeners(i, { filterChanged: s }), s(), true;
|
|
5795
5795
|
}
|
|
@@ -6058,7 +6058,7 @@ var nc = class extends q {
|
|
|
6058
6058
|
setValue(e, t) {
|
|
6059
6059
|
return this.value === e ? this : (this.previousValue = this.value, this.value = e, t || this.dispatchLocalEvent({ type: "fieldValueChanged" }), this);
|
|
6060
6060
|
}
|
|
6061
|
-
},
|
|
6061
|
+
}, wt = class extends sn {
|
|
6062
6062
|
constructor(e, t, s = "text", i = "input") {
|
|
6063
6063
|
super(
|
|
6064
6064
|
e,
|
|
@@ -6119,7 +6119,7 @@ var nc = class extends q {
|
|
|
6119
6119
|
}
|
|
6120
6120
|
return this;
|
|
6121
6121
|
}
|
|
6122
|
-
}, co = class extends
|
|
6122
|
+
}, co = class extends wt {
|
|
6123
6123
|
constructor(e, t = "ag-checkbox", s = "checkbox") {
|
|
6124
6124
|
super(e, t, s), this.labelAlignment = "right", this.selected = false, this.readOnly = false, this.passive = false;
|
|
6125
6125
|
}
|
|
@@ -7814,7 +7814,7 @@ var Ue = ti, Oc = class {
|
|
|
7814
7814
|
if (this.selectable !== t) {
|
|
7815
7815
|
if (this.selectable = t, this.dispatchRowEvent("selectableChanged"), s)
|
|
7816
7816
|
return;
|
|
7817
|
-
if (
|
|
7817
|
+
if (Dt(this.beans.gos)) {
|
|
7818
7818
|
const o = this.calculateSelectedFromChildren();
|
|
7819
7819
|
this.setSelectedParams({
|
|
7820
7820
|
newValue: o ?? false,
|
|
@@ -8886,7 +8886,7 @@ var et = Fs, _c = class extends F {
|
|
|
8886
8886
|
}
|
|
8887
8887
|
};
|
|
8888
8888
|
dn.FOCUS_MANAGED_CLASS = "ag-focus-managed";
|
|
8889
|
-
var
|
|
8889
|
+
var xt = dn, gn = {
|
|
8890
8890
|
applyFilter: "Apply",
|
|
8891
8891
|
clearFilter: "Clear",
|
|
8892
8892
|
resetFilter: "Reset",
|
|
@@ -8933,7 +8933,7 @@ var jc = class extends q {
|
|
|
8933
8933
|
}
|
|
8934
8934
|
postConstruct() {
|
|
8935
8935
|
this.resetTemplate(), this.createManagedBean(
|
|
8936
|
-
new
|
|
8936
|
+
new xt(this.getFocusableElement(), {
|
|
8937
8937
|
handleKeyDown: this.handleKeyDown.bind(this)
|
|
8938
8938
|
})
|
|
8939
8939
|
), this.positionableFeature = new $c(this.getPositionableElement(), {
|
|
@@ -8986,7 +8986,7 @@ var jc = class extends q {
|
|
|
8986
8986
|
return;
|
|
8987
8987
|
const n = o && o.length > 0 && !this.isReadOnly();
|
|
8988
8988
|
if (this.eButtonsPanel ? (Me(this.eButtonsPanel), this.buttonListeners.forEach((c) => c()), this.buttonListeners = []) : n && (this.eButtonsPanel = document.createElement("div"), this.eButtonsPanel.classList.add("ag-filter-apply-panel")), !n) {
|
|
8989
|
-
this.eButtonsPanel &&
|
|
8989
|
+
this.eButtonsPanel && Et(this.eButtonsPanel);
|
|
8990
8990
|
return;
|
|
8991
8991
|
}
|
|
8992
8992
|
const l = document.createDocumentFragment(), a = (c) => {
|
|
@@ -9223,7 +9223,7 @@ var jc = class extends q {
|
|
|
9223
9223
|
}
|
|
9224
9224
|
clearOptions() {
|
|
9225
9225
|
this.options = [], this.reset(true), this.itemEls.forEach((e) => {
|
|
9226
|
-
|
|
9226
|
+
Et(e);
|
|
9227
9227
|
}), this.itemEls = [];
|
|
9228
9228
|
}
|
|
9229
9229
|
updateIndices() {
|
|
@@ -9789,11 +9789,11 @@ var jc = class extends q {
|
|
|
9789
9789
|
this.removeElements(this.eJoinOperatorPanels, s, t), this.removeComponents(this.eJoinOperatorsAnd, s, t), this.removeComponents(this.eJoinOperatorsOr, s, t);
|
|
9790
9790
|
}
|
|
9791
9791
|
removeElements(e, t, s) {
|
|
9792
|
-
this.removeItems(e, t, s).forEach((o) =>
|
|
9792
|
+
this.removeItems(e, t, s).forEach((o) => Et(o));
|
|
9793
9793
|
}
|
|
9794
9794
|
removeComponents(e, t, s) {
|
|
9795
9795
|
this.removeItems(e, t, s).forEach((o) => {
|
|
9796
|
-
|
|
9796
|
+
Et(o.getGui()), this.destroyBean(o);
|
|
9797
9797
|
});
|
|
9798
9798
|
}
|
|
9799
9799
|
removeItems(e, t, s) {
|
|
@@ -9807,7 +9807,7 @@ var jc = class extends q {
|
|
|
9807
9807
|
const t = this.getInputs(0)[0];
|
|
9808
9808
|
if (!t)
|
|
9809
9809
|
return;
|
|
9810
|
-
t instanceof
|
|
9810
|
+
t instanceof wt && t.getInputElement().focus();
|
|
9811
9811
|
}
|
|
9812
9812
|
}
|
|
9813
9813
|
afterGuiDetached() {
|
|
@@ -9842,7 +9842,7 @@ var jc = class extends q {
|
|
|
9842
9842
|
resetPlaceholder() {
|
|
9843
9843
|
const e = this.localeService.getLocaleTextFunc();
|
|
9844
9844
|
this.forEachInput((t, s, i, o) => {
|
|
9845
|
-
if (!(t instanceof
|
|
9845
|
+
if (!(t instanceof wt))
|
|
9846
9846
|
return;
|
|
9847
9847
|
const r = s === 0 && o > 1 ? "inRangeStart" : s === 0 ? "filterOoo" : "inRangeEnd", n = s === 0 && o > 1 ? e("ariaFilterFromValue", "Filter from value") : s === 0 ? e("ariaFilterValue", "Filter Value") : e("ariaFilterToValue", "Filter to Value");
|
|
9848
9848
|
t.setInputPlaceholder(this.getPlaceholderText(r, i)), t.setInputAriaLabel(n);
|
|
@@ -9850,7 +9850,7 @@ var jc = class extends q {
|
|
|
9850
9850
|
}
|
|
9851
9851
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9852
9852
|
setElementValue(e, t, s) {
|
|
9853
|
-
e instanceof
|
|
9853
|
+
e instanceof wt && e.setValue(t != null ? String(t) : null, true);
|
|
9854
9854
|
}
|
|
9855
9855
|
setElementDisplayed(e, t) {
|
|
9856
9856
|
e instanceof q && Z(e.getGui(), t);
|
|
@@ -9859,7 +9859,7 @@ var jc = class extends q {
|
|
|
9859
9859
|
e instanceof q && Cs(e.getGui(), t);
|
|
9860
9860
|
}
|
|
9861
9861
|
attachElementOnChange(e, t) {
|
|
9862
|
-
e instanceof
|
|
9862
|
+
e instanceof wt && e.onValueChange(t);
|
|
9863
9863
|
}
|
|
9864
9864
|
forEachInput(e) {
|
|
9865
9865
|
this.getConditionTypes().forEach((t, s) => {
|
|
@@ -10112,7 +10112,7 @@ function ru(e) {
|
|
|
10112
10112
|
function nu(e, t = false) {
|
|
10113
10113
|
return e === y.DELETE ? true : !t && e === y.BACKSPACE ? Yr() : false;
|
|
10114
10114
|
}
|
|
10115
|
-
var
|
|
10115
|
+
var At = class extends wt {
|
|
10116
10116
|
constructor(e, t = "ag-text-field", s = "text") {
|
|
10117
10117
|
super(e, t, s);
|
|
10118
10118
|
}
|
|
@@ -10141,8 +10141,8 @@ var Tt = class extends St {
|
|
|
10141
10141
|
}
|
|
10142
10142
|
}, si = {
|
|
10143
10143
|
selector: "AG-INPUT-TEXT-FIELD",
|
|
10144
|
-
component:
|
|
10145
|
-
}, fo = class extends
|
|
10144
|
+
component: At
|
|
10145
|
+
}, fo = class extends At {
|
|
10146
10146
|
constructor(e) {
|
|
10147
10147
|
super(e, "ag-number-field", "number");
|
|
10148
10148
|
}
|
|
@@ -10326,7 +10326,7 @@ var au = class extends mn {
|
|
|
10326
10326
|
}
|
|
10327
10327
|
createFromToElement(e, t, s, i) {
|
|
10328
10328
|
const o = this.createManagedBean(
|
|
10329
|
-
i ? new
|
|
10329
|
+
i ? new At({ allowedCharPattern: i }) : new fo()
|
|
10330
10330
|
);
|
|
10331
10331
|
o.addCssClass(`ag-filter-${s}`), o.addCssClass("ag-filter-filter"), t.push(o), e.appendChild(o.getGui());
|
|
10332
10332
|
}
|
|
@@ -10466,7 +10466,7 @@ var cu = class extends fn {
|
|
|
10466
10466
|
return e.classList.add("ag-filter-body"), Ve(e, "presentation"), this.createFromToElement(e, this.eValuesFrom, "from"), this.createFromToElement(e, this.eValuesTo, "to"), e;
|
|
10467
10467
|
}
|
|
10468
10468
|
createFromToElement(e, t, s) {
|
|
10469
|
-
const i = this.createManagedBean(new
|
|
10469
|
+
const i = this.createManagedBean(new At());
|
|
10470
10470
|
i.addCssClass(`ag-filter-${s}`), i.addCssClass("ag-filter-filter"), t.push(i), e.appendChild(i.getGui());
|
|
10471
10471
|
}
|
|
10472
10472
|
removeValueElements(e, t) {
|
|
@@ -10841,7 +10841,7 @@ var bn = class {
|
|
|
10841
10841
|
return i + t;
|
|
10842
10842
|
}
|
|
10843
10843
|
setLeft(e) {
|
|
10844
|
-
if (M(e) && (this.eCell.style.left = `${e}px`),
|
|
10844
|
+
if (M(e) && (this.eCell.style.left = `${e}px`), le(this.columnOrGroup)) {
|
|
10845
10845
|
const t = this.columnOrGroup.getLeafColumns();
|
|
10846
10846
|
if (!t.length)
|
|
10847
10847
|
return;
|
|
@@ -10913,7 +10913,7 @@ var Cu = 0, xn = class An extends F {
|
|
|
10913
10913
|
const { wrapperElement: s, checkMeasuringCallback: i, compBean: o } = t, { animationFrameService: r, resizeObserverService: n, columnModel: l, gos: a } = this.beans, c = (C) => {
|
|
10914
10914
|
if (!this.isAlive() || !o.isAlive())
|
|
10915
10915
|
return;
|
|
10916
|
-
const { paddingTop: f, paddingBottom: v, borderBottomWidth: S, borderTopWidth: w } =
|
|
10916
|
+
const { paddingTop: f, paddingBottom: v, borderBottomWidth: S, borderTopWidth: w } = Mt(this.getGui()), R = f + v + S + w, D = s.offsetHeight + R;
|
|
10917
10917
|
if (C < 5) {
|
|
10918
10918
|
const P = oe(a), A = !P || !P.contains(s), I = D == 0;
|
|
10919
10919
|
if (A || I) {
|
|
@@ -11002,7 +11002,7 @@ var Cu = 0, xn = class An extends F {
|
|
|
11002
11002
|
}
|
|
11003
11003
|
addDomData(t) {
|
|
11004
11004
|
const s = An.DOM_DATA_KEY_HEADER_CTRL;
|
|
11005
|
-
|
|
11005
|
+
Pt(this.gos, this.eGui, s, this), t.addDestroyFunc(() => Pt(this.gos, this.eGui, s, null));
|
|
11006
11006
|
}
|
|
11007
11007
|
getGui() {
|
|
11008
11008
|
return this.eGui;
|
|
@@ -11092,7 +11092,7 @@ var ii = xn, vo = class extends F {
|
|
|
11092
11092
|
}
|
|
11093
11093
|
setupFocus(e) {
|
|
11094
11094
|
e.createManagedBean(
|
|
11095
|
-
new
|
|
11095
|
+
new xt(this.eGui, {
|
|
11096
11096
|
shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this),
|
|
11097
11097
|
onTabKeyDown: this.onTabKeyDown.bind(this),
|
|
11098
11098
|
handleKeyDown: this.handleKeyDown.bind(this),
|
|
@@ -11271,7 +11271,7 @@ var ii = xn, vo = class extends F {
|
|
|
11271
11271
|
super.destroy(), this.destroySyncListener = null, this.destroyFilterChangedListener = null;
|
|
11272
11272
|
}
|
|
11273
11273
|
};
|
|
11274
|
-
var k = "32.3.
|
|
11274
|
+
var k = "32.3.7";
|
|
11275
11275
|
function wu(e) {
|
|
11276
11276
|
var _a3, _b;
|
|
11277
11277
|
return !!((_a3 = e.filterManager) == null ? void 0 : _a3.isColumnFilterPresent()) || !!((_b = e.filterManager) == null ? void 0 : _b.isAggregateFilterPresent());
|
|
@@ -12208,7 +12208,7 @@ var Iu = class extends q {
|
|
|
12208
12208
|
}
|
|
12209
12209
|
setupGui(e) {
|
|
12210
12210
|
var _a3;
|
|
12211
|
-
this.eFloatingFilterTextInput = this.createManagedBean(new
|
|
12211
|
+
this.eFloatingFilterTextInput = this.createManagedBean(new At((_a3 = this.params) == null ? void 0 : _a3.config));
|
|
12212
12212
|
const t = this.eFloatingFilterTextInput.getGui();
|
|
12213
12213
|
e.appendChild(t);
|
|
12214
12214
|
const s = (i) => this.valueChangedListener(i);
|
|
@@ -12304,7 +12304,7 @@ var Iu = class extends q {
|
|
|
12304
12304
|
}, this.numberInputActive = true;
|
|
12305
12305
|
}
|
|
12306
12306
|
setupGui(e) {
|
|
12307
|
-
this.eFloatingFilterNumberInput = this.createManagedBean(new fo()), this.eFloatingFilterTextInput = this.createManagedBean(new
|
|
12307
|
+
this.eFloatingFilterNumberInput = this.createManagedBean(new fo()), this.eFloatingFilterTextInput = this.createManagedBean(new At()), this.eFloatingFilterTextInput.setDisabled(true);
|
|
12308
12308
|
const t = this.eFloatingFilterNumberInput.getGui(), s = this.eFloatingFilterTextInput.getGui();
|
|
12309
12309
|
e.appendChild(t), e.appendChild(s), this.setupListeners(t, (i) => this.valueChangedListener(i)), this.setupListeners(s, (i) => this.valueChangedListener(i));
|
|
12310
12310
|
}
|
|
@@ -12698,7 +12698,7 @@ var Wu = class extends F {
|
|
|
12698
12698
|
if (e.getPinned())
|
|
12699
12699
|
return;
|
|
12700
12700
|
let s;
|
|
12701
|
-
if (
|
|
12701
|
+
if (le(e)) {
|
|
12702
12702
|
const i = e.getDisplayedLeafColumns();
|
|
12703
12703
|
s = t === "Before" ? H(i) : i[0];
|
|
12704
12704
|
} else
|
|
@@ -12711,7 +12711,7 @@ var Wu = class extends F {
|
|
|
12711
12711
|
}
|
|
12712
12712
|
setComp(e, t, s) {
|
|
12713
12713
|
this.comp = e, this.eGui = t, this.createManagedBean(
|
|
12714
|
-
new
|
|
12714
|
+
new xt(s, {
|
|
12715
12715
|
onTabKeyDown: this.onTabKeyDown.bind(this),
|
|
12716
12716
|
handleKeyDown: this.handleKeyDown.bind(this),
|
|
12717
12717
|
onFocusOut: this.onFocusOut.bind(this)
|
|
@@ -12980,7 +12980,7 @@ function sd(e) {
|
|
|
12980
12980
|
const { movingCols: t, draggingRight: s, xPosition: i, pinned: o, gos: r, columnModel: n, visibleColsService: l } = e;
|
|
12981
12981
|
if (r.get("suppressMovableColumns") || t.some((w) => w.getColDef().suppressMovable))
|
|
12982
12982
|
return [];
|
|
12983
|
-
const c = td(l, o), u = n.getCols(), d = c.filter((w) =>
|
|
12983
|
+
const c = td(l, o), u = n.getCols(), d = c.filter((w) => Rt(t, w)), h = c.filter((w) => !Rt(t, w)), p = u.filter((w) => !Rt(t, w));
|
|
12984
12984
|
let m = 0, C = i;
|
|
12985
12985
|
if (s) {
|
|
12986
12986
|
let w = 0;
|
|
@@ -13576,7 +13576,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
13576
13576
|
}), this.addColumnHoverListener(o), this.setupFilterClass(o), this.setupClassesFromColDef(), this.setupTooltip(o), this.addActiveHeaderMouseListeners(o), this.setupSelectAll(o), this.setupUserComp(o), this.refreshAria(), this.resizeFeature = o.createManagedBean(
|
|
13577
13577
|
new ld(this.getPinned(), this.column, s, e, this)
|
|
13578
13578
|
), o.createManagedBean(new vo([this.column], t)), o.createManagedBean(new Co(this.column, t, this.beans)), o.createManagedBean(
|
|
13579
|
-
new
|
|
13579
|
+
new xt(t, {
|
|
13580
13580
|
shouldStopEventPropagation: (n) => this.shouldStopEventPropagation(n),
|
|
13581
13581
|
onTabKeyDown: () => null,
|
|
13582
13582
|
handleKeyDown: this.handleKeyDown.bind(this),
|
|
@@ -14143,7 +14143,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
14143
14143
|
}), this.setupUserComp(o), this.addHeaderMouseListeners(o), this.addManagedPropertyListener("groupHeaderHeight", this.refreshMaxHeaderHeight.bind(this)), this.refreshMaxHeaderHeight();
|
|
14144
14144
|
const r = this.getParentRowCtrl().getPinned(), n = this.column.getProvidedColumnGroup().getLeafColumns();
|
|
14145
14145
|
o.createManagedBean(new vo(n, t)), o.createManagedBean(new Co(this.column, t, this.beans)), o.createManagedBean(new dd(e, this.column)), this.resizeFeature = o.createManagedBean(new ud(e, s, r, this.column)), o.createManagedBean(
|
|
14146
|
-
new
|
|
14146
|
+
new xt(t, {
|
|
14147
14147
|
shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this),
|
|
14148
14148
|
onTabKeyDown: () => {
|
|
14149
14149
|
},
|
|
@@ -15907,7 +15907,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
15907
15907
|
applyRowSpan(e) {
|
|
15908
15908
|
if (this.rowSpan === 1 && !e)
|
|
15909
15909
|
return;
|
|
15910
|
-
const s =
|
|
15910
|
+
const s = yt(this.beans.gos) * this.rowSpan;
|
|
15911
15911
|
this.eGui.style.height = `${s}px`, this.eGui.style.zIndex = "1";
|
|
15912
15912
|
}
|
|
15913
15913
|
// overriding to make public, as we don't dispose this bean via context
|
|
@@ -15937,7 +15937,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
15937
15937
|
if (!this.rangeCount || !e)
|
|
15938
15938
|
return false;
|
|
15939
15939
|
const t = e.getCellRanges();
|
|
15940
|
-
return t.length > 0 && t.every((s) =>
|
|
15940
|
+
return t.length > 0 && t.every((s) => Rt([
|
|
15941
15941
|
1,
|
|
15942
15942
|
0
|
|
15943
15943
|
/* VALUE */
|
|
@@ -16058,7 +16058,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
16058
16058
|
const i = t.parentElement, o = ut(this.beans.gos, this.rowNode).height, r = (a) => {
|
|
16059
16059
|
if (this.editing || !this.isAlive() || !s.isAlive())
|
|
16060
16060
|
return;
|
|
16061
|
-
const { paddingTop: c, paddingBottom: u, borderBottomWidth: d, borderTopWidth: h } =
|
|
16061
|
+
const { paddingTop: c, paddingBottom: u, borderBottomWidth: d, borderTopWidth: h } = Mt(i), p = c + u + d + h, C = t.offsetHeight + p;
|
|
16062
16062
|
if (a < 5) {
|
|
16063
16063
|
const v = oe(this.beans.gos), S = !v || !v.contains(t), w = C == 0;
|
|
16064
16064
|
if (S || w) {
|
|
@@ -16262,7 +16262,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
16262
16262
|
}
|
|
16263
16263
|
addDomData(t) {
|
|
16264
16264
|
const s = this.getGui();
|
|
16265
|
-
|
|
16265
|
+
Pt(this.beans.gos, s, Ki.DOM_DATA_KEY_CELL_CTRL, this), t.addDestroyFunc(() => Pt(this.beans.gos, s, Ki.DOM_DATA_KEY_CELL_CTRL, null));
|
|
16266
16266
|
}
|
|
16267
16267
|
createEvent(t, s) {
|
|
16268
16268
|
return this.beans.gos.addGridCommonParams({
|
|
@@ -16501,7 +16501,7 @@ var Zo = 7, _i = 100, Es = _i / 2, id = 5, od = 100, rd = class extends F {
|
|
|
16501
16501
|
}
|
|
16502
16502
|
};
|
|
16503
16503
|
Vn.DOM_DATA_KEY_CELL_CTRL = "cellCtrl";
|
|
16504
|
-
var
|
|
16504
|
+
var Ft = Vn, $d = 0, Bn = class $i extends F {
|
|
16505
16505
|
constructor(t, s, i, o, r) {
|
|
16506
16506
|
var _a3;
|
|
16507
16507
|
super(), this.allRowGuis = [], this.active = true, this.centerCellCtrls = { list: [], map: {} }, this.leftCellCtrls = { list: [], map: {} }, this.rightCellCtrls = { list: [], map: {} }, this.slideInAnimation = {
|
|
@@ -16556,7 +16556,7 @@ var bt = Vn, $d = 0, Bn = class $i extends F {
|
|
|
16556
16556
|
const s = this.gos;
|
|
16557
16557
|
this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")), this.listenOnDomOrder(t), this.beans.columnModel.wasAutoRowHeightEverActive() && this.rowNode.checkAutoHeights(), this.onRowHeightChanged(t), this.updateRowIndexes(t), this.setFocusedClasses(t), this.setStylesFromGridOptions(false, t), Vs(s) && this.rowNode.selectable && this.onRowSelected(t), this.updateColumnLists(!this.useAnimationFrameForCreate);
|
|
16558
16558
|
const i = t.rowComp;
|
|
16559
|
-
this.getInitialRowClasses(t.containerType).forEach((r) => i.addOrRemoveCssClass(r, true)), this.executeSlideAndFadeAnimations(t), this.rowNode.group && Us(t.element, this.rowNode.expanded == true), this.setRowCompRowId(i), this.setRowCompRowBusinessKey(i),
|
|
16559
|
+
this.getInitialRowClasses(t.containerType).forEach((r) => i.addOrRemoveCssClass(r, true)), this.executeSlideAndFadeAnimations(t), this.rowNode.group && Us(t.element, this.rowNode.expanded == true), this.setRowCompRowId(i), this.setRowCompRowBusinessKey(i), Pt(s, t.element, $i.DOM_DATA_KEY_ROW_CTRL, this), t.compBean.addDestroyFunc(() => Pt(s, t.element, $i.DOM_DATA_KEY_ROW_CTRL, null)), this.useAnimationFrameForCreate ? this.beans.animationFrameService.createTask(
|
|
16560
16560
|
this.addHoverFunctionality.bind(this, t),
|
|
16561
16561
|
this.rowNode.rowIndex,
|
|
16562
16562
|
"createTasksP2"
|
|
@@ -16677,7 +16677,7 @@ var bt = Vn, $d = 0, Bn = class $i extends F {
|
|
|
16677
16677
|
for (const l of s) {
|
|
16678
16678
|
const a = l.getInstanceId();
|
|
16679
16679
|
let c = t.map[a];
|
|
16680
|
-
c || (c = new
|
|
16680
|
+
c || (c = new Ft(l, this.rowNode, this.beans, this)), r(a, c);
|
|
16681
16681
|
}
|
|
16682
16682
|
for (const l of t.list) {
|
|
16683
16683
|
const a = l.getColumn().getInstanceId();
|
|
@@ -16997,7 +16997,7 @@ var bt = Vn, $d = 0, Bn = class $i extends F {
|
|
|
16997
16997
|
return;
|
|
16998
16998
|
const { gos: i } = this;
|
|
16999
16999
|
this.beans.eventService.dispatchEvent(this.createRowEventWithSource("rowClicked", t));
|
|
17000
|
-
const o = t.ctrlKey || t.metaKey, r = t.shiftKey, n = this.rowNode.isSelected(), l =
|
|
17000
|
+
const o = t.ctrlKey || t.metaKey, r = t.shiftKey, n = this.rowNode.isSelected(), l = Dt(i), a = Vo(i), c = Bl(i);
|
|
17001
17001
|
if (
|
|
17002
17002
|
// we do not allow selecting groups by clicking (as the click here expands the group), or if it's a detail row,
|
|
17003
17003
|
// so return if it's a group row
|
|
@@ -17369,7 +17369,7 @@ var bt = Vn, $d = 0, Bn = class $i extends F {
|
|
|
17369
17369
|
}
|
|
17370
17370
|
};
|
|
17371
17371
|
Bn.DOM_DATA_KEY_ROW_CTRL = "renderedRow";
|
|
17372
|
-
var
|
|
17372
|
+
var bt = Bn, jd = class extends F {
|
|
17373
17373
|
wireBeans(e) {
|
|
17374
17374
|
this.mouseEventService = e.mouseEventService, this.valueService = e.valueService, this.menuService = e.menuService, this.ctrlsService = e.ctrlsService, this.navigationService = e.navigationService, this.focusService = e.focusService, this.undoRedoService = e.undoRedoService, this.visibleColsService = e.visibleColsService, this.rowModel = e.rowModel, this.pinnedRowModel = e.pinnedRowModel, this.rangeService = e.rangeService, this.clipboardService = e.clipboardService;
|
|
17375
17375
|
}
|
|
@@ -17407,7 +17407,7 @@ var Pt = Bn, jd = class extends F {
|
|
|
17407
17407
|
getRowForEvent(e) {
|
|
17408
17408
|
let t = e.target;
|
|
17409
17409
|
for (; t; ) {
|
|
17410
|
-
const s = hs(this.gos, t,
|
|
17410
|
+
const s = hs(this.gos, t, bt.DOM_DATA_KEY_ROW_CTRL);
|
|
17411
17411
|
if (s)
|
|
17412
17412
|
return s;
|
|
17413
17413
|
t = t.parentElement;
|
|
@@ -17433,8 +17433,8 @@ var Pt = Bn, jd = class extends F {
|
|
|
17433
17433
|
}
|
|
17434
17434
|
getControlsForEventTarget(e) {
|
|
17435
17435
|
return {
|
|
17436
|
-
cellCtrl: Ai(this.gos, e,
|
|
17437
|
-
rowCtrl: Ai(this.gos, e,
|
|
17436
|
+
cellCtrl: Ai(this.gos, e, Ft.DOM_DATA_KEY_CELL_CTRL),
|
|
17437
|
+
rowCtrl: Ai(this.gos, e, bt.DOM_DATA_KEY_ROW_CTRL)
|
|
17438
17438
|
};
|
|
17439
17439
|
}
|
|
17440
17440
|
processKeyboardEvent(e, t) {
|
|
@@ -18227,7 +18227,7 @@ var dh = class extends F {
|
|
|
18227
18227
|
t[er] = this.gridInstanceId;
|
|
18228
18228
|
}
|
|
18229
18229
|
getRenderedCellForEvent(t) {
|
|
18230
|
-
return Ai(this.gos, t.target,
|
|
18230
|
+
return Ai(this.gos, t.target, Ft.DOM_DATA_KEY_CELL_CTRL);
|
|
18231
18231
|
}
|
|
18232
18232
|
// walks the path of the event, and returns true if this grid is the first one that it finds. if doing
|
|
18233
18233
|
// master / detail grids, and a child grid is found, then it returns false. this stops things like copy/paste
|
|
@@ -18416,7 +18416,7 @@ var hh = _n, gh = class extends F {
|
|
|
18416
18416
|
const { rowIndex: o, rowPinned: r } = e.getRowPosition();
|
|
18417
18417
|
(r ? o === 0 : o === this.pageBoundsService.getFirstRow()) && (this.gos.get("headerHeight") === 0 || this.focusService.isHeaderFocusSuppressed() ? this.focusService.focusNextGridCoreContainer(true, true) : (t.preventDefault(), this.focusService.focusPreviousFromFirstCell(t)));
|
|
18418
18418
|
} else
|
|
18419
|
-
e instanceof
|
|
18419
|
+
e instanceof Ft && e.focusCell(true), (!s && this.focusService.focusOverlay(false) || this.focusService.focusNextGridCoreContainer(s)) && t.preventDefault();
|
|
18420
18420
|
}
|
|
18421
18421
|
// comes from API
|
|
18422
18422
|
tabToNextCell(e, t) {
|
|
@@ -18428,7 +18428,7 @@ var hh = _n, gh = class extends F {
|
|
|
18428
18428
|
}
|
|
18429
18429
|
tabToNextCellCommon(e, t, s) {
|
|
18430
18430
|
let i = e.isEditing();
|
|
18431
|
-
if (!i && e instanceof
|
|
18431
|
+
if (!i && e instanceof Ft) {
|
|
18432
18432
|
const n = e.getRowCtrl();
|
|
18433
18433
|
n && (i = n.isEditing());
|
|
18434
18434
|
}
|
|
@@ -18456,14 +18456,14 @@ var hh = _n, gh = class extends F {
|
|
|
18456
18456
|
moveToNextCellNotEditing(e, t) {
|
|
18457
18457
|
const s = this.visibleColsService.getAllCols();
|
|
18458
18458
|
let i;
|
|
18459
|
-
e instanceof
|
|
18459
|
+
e instanceof bt ? i = {
|
|
18460
18460
|
...e.getRowPosition(),
|
|
18461
18461
|
column: t ? s[0] : H(s)
|
|
18462
18462
|
} : i = e.getCellPosition();
|
|
18463
18463
|
const o = this.findNextCellToFocusOn(i, t, false);
|
|
18464
18464
|
if (o === false)
|
|
18465
18465
|
return null;
|
|
18466
|
-
if (o instanceof
|
|
18466
|
+
if (o instanceof Ft)
|
|
18467
18467
|
o.focusCell(true);
|
|
18468
18468
|
else if (o)
|
|
18469
18469
|
return this.tryToFocusFullWidthRow(o.getRowPosition(), t);
|
|
@@ -19068,7 +19068,7 @@ var hh = _n, gh = class extends F {
|
|
|
19068
19068
|
const o = this.getCellGui(i, t);
|
|
19069
19069
|
return o || (i.isFullWidth() ? i.getFullWidthElement() : s);
|
|
19070
19070
|
}
|
|
19071
|
-
}, Sh = class extends
|
|
19071
|
+
}, Sh = class extends wt {
|
|
19072
19072
|
constructor(e) {
|
|
19073
19073
|
super(e, "ag-text-area", null, "textarea");
|
|
19074
19074
|
}
|
|
@@ -19118,7 +19118,7 @@ var hh = _n, gh = class extends F {
|
|
|
19118
19118
|
), this.params = e;
|
|
19119
19119
|
}
|
|
19120
19120
|
postConstruct() {
|
|
19121
|
-
|
|
19121
|
+
Pt(this.gos, this.getGui(), "popupEditorWrapper", true), this.addKeyDownListener();
|
|
19122
19122
|
}
|
|
19123
19123
|
addKeyDownListener() {
|
|
19124
19124
|
const e = this.getGui(), t = this.params, s = (i) => {
|
|
@@ -19282,7 +19282,7 @@ var hh = _n, gh = class extends F {
|
|
|
19282
19282
|
constructor() {
|
|
19283
19283
|
super(new Dh());
|
|
19284
19284
|
}
|
|
19285
|
-
}, Mh = class extends
|
|
19285
|
+
}, Mh = class extends At {
|
|
19286
19286
|
constructor(e) {
|
|
19287
19287
|
super(e, "ag-date-field", "date");
|
|
19288
19288
|
}
|
|
@@ -19811,7 +19811,7 @@ var jh = class extends F {
|
|
|
19811
19811
|
const s = t ? e.createRowEvent("rowEditingStarted") : e.createRowEvent("rowEditingStopped");
|
|
19812
19812
|
this.eventService.dispatchEvent(s);
|
|
19813
19813
|
}
|
|
19814
|
-
},
|
|
19814
|
+
}, Tt = {
|
|
19815
19815
|
version: k,
|
|
19816
19816
|
moduleName: "@ag-grid-community/edit-core",
|
|
19817
19817
|
beans: [jh]
|
|
@@ -19828,22 +19828,22 @@ var jh = class extends F {
|
|
|
19828
19828
|
getCurrentUndoSize: Kh,
|
|
19829
19829
|
getCurrentRedoSize: $h
|
|
19830
19830
|
},
|
|
19831
|
-
dependantModules: [
|
|
19831
|
+
dependantModules: [Tt]
|
|
19832
19832
|
}, Qh = {
|
|
19833
19833
|
version: k,
|
|
19834
19834
|
moduleName: "@ag-grid-community/undo-redo-edit",
|
|
19835
19835
|
beans: [kh],
|
|
19836
|
-
dependantModules: [
|
|
19836
|
+
dependantModules: [Tt]
|
|
19837
19837
|
}, Xh = {
|
|
19838
19838
|
version: k,
|
|
19839
19839
|
moduleName: "@ag-grid-community/full-row-edit",
|
|
19840
19840
|
beans: [qh],
|
|
19841
|
-
dependantModules: [
|
|
19841
|
+
dependantModules: [Tt]
|
|
19842
19842
|
}, Yn = {
|
|
19843
19843
|
version: k,
|
|
19844
19844
|
moduleName: "@ag-grid-community/default-editor",
|
|
19845
19845
|
userComponents: [{ name: "agCellEditor", classImp: Kn }],
|
|
19846
|
-
dependantModules: [
|
|
19846
|
+
dependantModules: [Tt]
|
|
19847
19847
|
}, Jh = {
|
|
19848
19848
|
version: k,
|
|
19849
19849
|
moduleName: "@ag-grid-community/data-type-editors",
|
|
@@ -19865,12 +19865,12 @@ var jh = class extends F {
|
|
|
19865
19865
|
version: k,
|
|
19866
19866
|
moduleName: "@ag-grid-community/select-editor",
|
|
19867
19867
|
userComponents: [{ name: "agSelectCellEditor", classImp: bh }],
|
|
19868
|
-
dependantModules: [
|
|
19868
|
+
dependantModules: [Tt]
|
|
19869
19869
|
}, eg = {
|
|
19870
19870
|
version: k,
|
|
19871
19871
|
moduleName: "@ag-grid-community/large-text-editor",
|
|
19872
19872
|
userComponents: [{ name: "agLargeTextCellEditor", classImp: Rh }],
|
|
19873
|
-
dependantModules: [
|
|
19873
|
+
dependantModules: [Tt]
|
|
19874
19874
|
}, tg = {
|
|
19875
19875
|
version: k,
|
|
19876
19876
|
moduleName: "@ag-grid-community/all-editors",
|
|
@@ -19878,7 +19878,7 @@ var jh = class extends F {
|
|
|
19878
19878
|
}, sg = {
|
|
19879
19879
|
version: k,
|
|
19880
19880
|
moduleName: "@ag-grid-community/editing",
|
|
19881
|
-
dependantModules: [
|
|
19881
|
+
dependantModules: [Tt, Qh, Xh, tg, Yh]
|
|
19882
19882
|
}, ig = class extends F {
|
|
19883
19883
|
constructor() {
|
|
19884
19884
|
super(...arguments), this.beanName = "autoWidthCalculator";
|
|
@@ -20362,7 +20362,7 @@ var jh = class extends F {
|
|
|
20362
20362
|
const { pinnedRowModel: s, beans: i, printLayout: o } = this, r = Object.fromEntries(e.map((l) => [l.getRowNode().id, l]));
|
|
20363
20363
|
s.forEachPinnedRow(t, (l, a) => {
|
|
20364
20364
|
const c = e[a];
|
|
20365
|
-
c && s.getPinnedRowById(c.getRowNode().id, t) === void 0 && (c.destroyFirstPass(), c.destroySecondPass()), l.id in r ? (e[a] = r[l.id], delete r[l.id]) : e[a] = new
|
|
20365
|
+
c && s.getPinnedRowById(c.getRowNode().id, t) === void 0 && (c.destroyFirstPass(), c.destroySecondPass()), l.id in r ? (e[a] = r[l.id], delete r[l.id]) : e[a] = new bt(l, i, false, false, o);
|
|
20366
20366
|
});
|
|
20367
20367
|
const n = t === "top" ? s.getPinnedTopRowCount() : s.getPinnedBottomRowCount();
|
|
20368
20368
|
e.length = n;
|
|
@@ -20409,7 +20409,7 @@ var jh = class extends F {
|
|
|
20409
20409
|
const t = (e == null ? void 0 : e.suppressKeepFocus) ? null : this.focusService.getFocusCellToUseAfterRefresh();
|
|
20410
20410
|
if (t == null)
|
|
20411
20411
|
return null;
|
|
20412
|
-
const s = ee(this.gos), i = hs(this.gos, s,
|
|
20412
|
+
const s = ee(this.gos), i = hs(this.gos, s, Ft.DOM_DATA_KEY_CELL_CTRL), o = hs(this.gos, s, bt.DOM_DATA_KEY_ROW_CTRL);
|
|
20413
20413
|
return i || o ? t : null;
|
|
20414
20414
|
}
|
|
20415
20415
|
// gets called from:
|
|
@@ -20757,7 +20757,7 @@ var jh = class extends F {
|
|
|
20757
20757
|
return this.gos.get("rowBuffer");
|
|
20758
20758
|
}
|
|
20759
20759
|
getRowBufferInPixels() {
|
|
20760
|
-
const e = this.getRowBuffer(), t =
|
|
20760
|
+
const e = this.getRowBuffer(), t = yt(this.gos);
|
|
20761
20761
|
return e * t;
|
|
20762
20762
|
}
|
|
20763
20763
|
workOutFirstAndLastRowsToRender() {
|
|
@@ -20848,7 +20848,7 @@ var jh = class extends F {
|
|
|
20848
20848
|
if (i)
|
|
20849
20849
|
return i;
|
|
20850
20850
|
const o = this.gos.get("suppressAnimationFrame"), r = s && !o && !this.printLayout;
|
|
20851
|
-
return new
|
|
20851
|
+
return new bt(e, this.beans, t, r, this.printLayout);
|
|
20852
20852
|
}
|
|
20853
20853
|
getRenderedNodes() {
|
|
20854
20854
|
const e = this.rowCtrlsByRowIndex;
|
|
@@ -21328,7 +21328,7 @@ var jh = class extends F {
|
|
|
21328
21328
|
}
|
|
21329
21329
|
postConstruct() {
|
|
21330
21330
|
this.createManagedBean(
|
|
21331
|
-
new
|
|
21331
|
+
new xt(this.eFocusableElement, {
|
|
21332
21332
|
shouldStopEventPropagation: () => this.shouldStopEventPropagation(),
|
|
21333
21333
|
onTabKeyDown: (e) => this.onTabKeyDown(e),
|
|
21334
21334
|
handleKeyDown: (e) => this.handleKeyDown(e),
|
|
@@ -21857,7 +21857,7 @@ var jh = class extends F {
|
|
|
21857
21857
|
}
|
|
21858
21858
|
// for Vanilla JS, we just add the event to the element
|
|
21859
21859
|
addEventListener(e, t, s, i) {
|
|
21860
|
-
const o =
|
|
21860
|
+
const o = Rt(vg, t);
|
|
21861
21861
|
e.addEventListener(t, s, { capture: !!i, passive: o });
|
|
21862
21862
|
}
|
|
21863
21863
|
get shouldWrapOutgoing() {
|
|
@@ -23440,7 +23440,7 @@ var Lg = class extends F {
|
|
|
23440
23440
|
// grid cell will still be focused as far as the grid is concerned,
|
|
23441
23441
|
// however the browser focus will have moved somewhere else.
|
|
23442
23442
|
getFocusCellToUseAfterRefresh() {
|
|
23443
|
-
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedCellPosition || this.isDomDataMissingInHierarchy(ee(this.gos),
|
|
23443
|
+
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedCellPosition || this.isDomDataMissingInHierarchy(ee(this.gos), bt.DOM_DATA_KEY_ROW_CTRL) ? null : this.focusedCellPosition;
|
|
23444
23444
|
}
|
|
23445
23445
|
getFocusHeaderToUseAfterRefresh() {
|
|
23446
23446
|
return this.gos.get("suppressFocusAfterRefresh") || !this.focusedHeaderPosition || this.isDomDataMissingInHierarchy(
|
|
@@ -23689,7 +23689,7 @@ var Lg = class extends F {
|
|
|
23689
23689
|
isTargetUnderManagedComponent(t, s) {
|
|
23690
23690
|
if (!s)
|
|
23691
23691
|
return false;
|
|
23692
|
-
const i = t.querySelectorAll(`.${
|
|
23692
|
+
const i = t.querySelectorAll(`.${xt.FOCUS_MANAGED_CLASS}`);
|
|
23693
23693
|
if (!i.length)
|
|
23694
23694
|
return false;
|
|
23695
23695
|
for (let o = 0; o < i.length; o++)
|
|
@@ -24238,7 +24238,7 @@ var kp = class extends F {
|
|
|
24238
24238
|
this.groupHideOpenParents = this.gos.get("groupHideOpenParents"), this.addManagedPropertyListener("groupHideOpenParents", () => {
|
|
24239
24239
|
this.groupHideOpenParents = this.gos.get("groupHideOpenParents");
|
|
24240
24240
|
}), this.processDataTypeDefinitions(), this.addManagedPropertyListener("dataTypeDefinitions", (e) => {
|
|
24241
|
-
this.processDataTypeDefinitions(), this.columnModel.recreateColumnDefs(
|
|
24241
|
+
this.processDataTypeDefinitions(), this.columnModel.recreateColumnDefs(mt(e.source));
|
|
24242
24242
|
});
|
|
24243
24243
|
}
|
|
24244
24244
|
processDataTypeDefinitions() {
|
|
@@ -24761,7 +24761,7 @@ function sf(e) {
|
|
|
24761
24761
|
}
|
|
24762
24762
|
function of(e) {
|
|
24763
24763
|
return {
|
|
24764
|
-
rowHeight:
|
|
24764
|
+
rowHeight: yt(e.gos),
|
|
24765
24765
|
headerHeight: e.columnModel.getHeaderHeight()
|
|
24766
24766
|
};
|
|
24767
24767
|
}
|
|
@@ -25605,7 +25605,7 @@ var Rm = class extends F {
|
|
|
25605
25605
|
const e = this.centerRowsCtrl.getViewportSizeFeature().getBodyHeight();
|
|
25606
25606
|
if (e > 0) {
|
|
25607
25607
|
const t = () => {
|
|
25608
|
-
const s = Math.max(
|
|
25608
|
+
const s = Math.max(yt(this.gos), 1), i = Math.floor(e / s);
|
|
25609
25609
|
this.paginationService.setPageSize(i, "autoCalculated");
|
|
25610
25610
|
};
|
|
25611
25611
|
this.isBodyRendered ? Se(() => t(), 50)() : (t(), this.isBodyRendered = true);
|
|
@@ -26985,25 +26985,16 @@ function Ym(e) {
|
|
|
26985
26985
|
}
|
|
26986
26986
|
var ll = class al extends F {
|
|
26987
26987
|
constructor() {
|
|
26988
|
-
super(...arguments), this.beanName = "gos", this.
|
|
26988
|
+
super(...arguments), this.beanName = "gos", this.domDataKey = "__AG_" + Math.random().toString(), this.propertyEventService = new Ut(), this.globalEventHandlerFactory = (t) => (s, i) => {
|
|
26989
26989
|
if (!this.isAlive())
|
|
26990
26990
|
return;
|
|
26991
26991
|
const o = Hs.has(s);
|
|
26992
26992
|
if (o && !t || !o && t)
|
|
26993
26993
|
return;
|
|
26994
|
-
const r = (
|
|
26995
|
-
|
|
26996
|
-
|
|
26997
|
-
};
|
|
26998
|
-
if (this.gridReadyFired)
|
|
26999
|
-
r(s);
|
|
27000
|
-
else if (s === "gridReady") {
|
|
27001
|
-
r(s), this.gridReadyFired = true;
|
|
27002
|
-
for (const n of this.queueEvents)
|
|
27003
|
-
r(n.eventName, n.event);
|
|
27004
|
-
this.queueEvents = [];
|
|
27005
|
-
} else
|
|
27006
|
-
this.queueEvents.push({ eventName: s, event: i });
|
|
26994
|
+
const r = fs.getCallbackForEvent(s), n = this.gridOptions[r];
|
|
26995
|
+
typeof n == "function" && this.frameworkOverrides.wrapOutgoing(() => {
|
|
26996
|
+
n(i);
|
|
26997
|
+
});
|
|
27007
26998
|
};
|
|
27008
26999
|
}
|
|
27009
27000
|
wireBeans(t) {
|
|
@@ -27021,9 +27012,6 @@ var ll = class al extends F {
|
|
|
27021
27012
|
}
|
|
27022
27013
|
});
|
|
27023
27014
|
}
|
|
27024
|
-
destroy() {
|
|
27025
|
-
super.destroy(), this.queueEvents = [];
|
|
27026
|
-
}
|
|
27027
27015
|
/**
|
|
27028
27016
|
* Get the raw value of the GridOptions property provided.
|
|
27029
27017
|
* @param property
|
|
@@ -27117,7 +27105,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
27117
27105
|
}
|
|
27118
27106
|
findHeader(e, t) {
|
|
27119
27107
|
let s, i;
|
|
27120
|
-
if (
|
|
27108
|
+
if (le(e.column) ? s = this.visibleColsService.getGroupAtDirection(e.column, t) : (i = `getCol${t}`, s = this.visibleColsService[i](e.column)), !s)
|
|
27121
27109
|
return;
|
|
27122
27110
|
const { headerRowIndex: o } = e;
|
|
27123
27111
|
if (this.getHeaderRowType(o) !== "filter") {
|
|
@@ -27134,7 +27122,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
27134
27122
|
}
|
|
27135
27123
|
getHeaderIndexToFocus(e, t) {
|
|
27136
27124
|
let s;
|
|
27137
|
-
if (
|
|
27125
|
+
if (le(e) && this.isAnyChildSpanningHeaderHeight(e) && e.isPadding()) {
|
|
27138
27126
|
const i = e;
|
|
27139
27127
|
s = i.getLeafColumns()[0];
|
|
27140
27128
|
let o = s;
|
|
@@ -27809,8 +27797,8 @@ var Qm = ll, Xm = class extends F {
|
|
|
27809
27797
|
}
|
|
27810
27798
|
postConstruct() {
|
|
27811
27799
|
const { gos: e, rowModel: t, onRowSelected: s } = this;
|
|
27812
|
-
this.selectionCtx.init(t), this.rowSelectionMode = zs(e), this.groupSelectsChildren =
|
|
27813
|
-
const i =
|
|
27800
|
+
this.selectionCtx.init(t), this.rowSelectionMode = zs(e), this.groupSelectsChildren = Dt(e), this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"], () => {
|
|
27801
|
+
const i = Dt(e), o = zs(e);
|
|
27814
27802
|
(i !== this.groupSelectsChildren || o !== this.rowSelectionMode) && (this.groupSelectsChildren = i, this.rowSelectionMode = o, this.deselectAllRowNodes({ source: "api" }));
|
|
27815
27803
|
}), this.addManagedEventListeners({ rowSelected: s.bind(this) });
|
|
27816
27804
|
}
|
|
@@ -28131,7 +28119,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
28131
28119
|
const { gos: t } = this, s = Vs(t), i = Qi(t);
|
|
28132
28120
|
if (!s || !i)
|
|
28133
28121
|
return;
|
|
28134
|
-
const o =
|
|
28122
|
+
const o = Dt(t), r = Y(t) && o, n = [], l = (a) => {
|
|
28135
28123
|
if (e && !a.group)
|
|
28136
28124
|
return;
|
|
28137
28125
|
if (r && a.group) {
|
|
@@ -28325,7 +28313,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
28325
28313
|
this.waitingForColumns = false, this.setColumnsAndData(t);
|
|
28326
28314
|
return;
|
|
28327
28315
|
}
|
|
28328
|
-
this.columnModel.setColumnDefs(t,
|
|
28316
|
+
this.columnModel.setColumnDefs(t, mt(e.source));
|
|
28329
28317
|
}
|
|
28330
28318
|
}
|
|
28331
28319
|
}, hC = "paste", gC = class extends F {
|
|
@@ -28630,12 +28618,12 @@ var Qm = ll, Xm = class extends F {
|
|
|
28630
28618
|
"a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key"
|
|
28631
28619
|
)), o;
|
|
28632
28620
|
}
|
|
28633
|
-
}, Po = class
|
|
28621
|
+
}, Po = class ft {
|
|
28634
28622
|
static applyGlobalGridOptions(t) {
|
|
28635
|
-
if (!
|
|
28623
|
+
if (!ft.gridOptions)
|
|
28636
28624
|
return t;
|
|
28637
28625
|
let s = {};
|
|
28638
|
-
return we(s,
|
|
28626
|
+
return we(s, ft.gridOptions, true, true), ft.mergeStrategy === "deep" ? we(s, t, true, true) : s = { ...s, ...t }, ft.gridOptions.context && (s.context = ft.gridOptions.context), t.context && (ft.mergeStrategy === "deep" && s.context && we(t.context, s.context, true, true), s.context = t.context), s;
|
|
28639
28627
|
}
|
|
28640
28628
|
};
|
|
28641
28629
|
Po.gridOptions = void 0;
|
|
@@ -29479,7 +29467,7 @@ var xC = "ROOT_NODE_ID", Fi = 0, AC = class {
|
|
|
29479
29467
|
}
|
|
29480
29468
|
getNodesInRangeForSelection(e, t) {
|
|
29481
29469
|
let s = false, i = false;
|
|
29482
|
-
const o = [], r =
|
|
29470
|
+
const o = [], r = Dt(this.gos);
|
|
29483
29471
|
return this.forEachNodeAfterFilterAndSort((n) => {
|
|
29484
29472
|
if (i)
|
|
29485
29473
|
return;
|
|
@@ -29677,7 +29665,7 @@ var xC = "ROOT_NODE_ID", Fi = 0, AC = class {
|
|
|
29677
29665
|
rowNode: this.rootNode,
|
|
29678
29666
|
changedPath: t,
|
|
29679
29667
|
afterColumnsChanged: i
|
|
29680
|
-
}),
|
|
29668
|
+
}), Dt(this.gos) && this.selectionService.updateGroupsFromChildrenSelections(
|
|
29681
29669
|
"rowGroupChanged",
|
|
29682
29670
|
t
|
|
29683
29671
|
) && this.eventService.dispatchEvent({
|
|
@@ -30195,7 +30183,7 @@ var _C = class extends F {
|
|
|
30195
30183
|
o
|
|
30196
30184
|
);
|
|
30197
30185
|
}
|
|
30198
|
-
}, Do = "32.3.
|
|
30186
|
+
}, Do = "32.3.7", hl = {
|
|
30199
30187
|
version: Do,
|
|
30200
30188
|
moduleName: "@ag-grid-community/client-side-row-model-core",
|
|
30201
30189
|
rowModel: "clientSide",
|
|
@@ -30616,7 +30604,7 @@ var iv = class extends F {
|
|
|
30616
30604
|
e.forEach((o) => {
|
|
30617
30605
|
const r = o;
|
|
30618
30606
|
r.getChildren && r.getChildren().forEach((n) => i.push(n));
|
|
30619
|
-
}), e.length > 0 &&
|
|
30607
|
+
}), e.length > 0 && le(e[0]) && this.doAddHeaderHeader(t, e, s), i && i.length > 0 && this.recursivelyAddHeaderGroups(
|
|
30620
30608
|
i,
|
|
30621
30609
|
t,
|
|
30622
30610
|
s
|
|
@@ -30646,7 +30634,7 @@ var iv = class extends F {
|
|
|
30646
30634
|
);
|
|
30647
30635
|
});
|
|
30648
30636
|
}
|
|
30649
|
-
}, Eo = "32.3.
|
|
30637
|
+
}, Eo = "32.3.7", gl = {
|
|
30650
30638
|
version: Eo,
|
|
30651
30639
|
moduleName: "@ag-grid-community/csv-export-core",
|
|
30652
30640
|
beans: [ev, iv]
|
|
@@ -30901,7 +30889,7 @@ var iv = class extends F {
|
|
|
30901
30889
|
return false;
|
|
30902
30890
|
}
|
|
30903
30891
|
postConstruct() {
|
|
30904
|
-
this.gos.get("rowModelType") === "infinite" && (this.rowHeight =
|
|
30892
|
+
this.gos.get("rowModelType") === "infinite" && (this.rowHeight = yt(this.gos), this.addEventListeners(), this.addDestroyFunc(() => this.destroyCache()), this.verifyProps());
|
|
30905
30893
|
}
|
|
30906
30894
|
verifyProps() {
|
|
30907
30895
|
this.gos.exists("initialGroupOrderComparator") && b(
|
|
@@ -30924,7 +30912,7 @@ var iv = class extends F {
|
|
|
30924
30912
|
newColumnsLoaded: this.onColumnEverything.bind(this),
|
|
30925
30913
|
storeUpdated: this.onCacheUpdated.bind(this)
|
|
30926
30914
|
}), this.addManagedPropertyListener("datasource", () => this.setDatasource(this.gos.get("datasource"))), this.addManagedPropertyListener("cacheBlockSize", () => this.resetCache()), this.addManagedPropertyListener("rowHeight", () => {
|
|
30927
|
-
this.rowHeight =
|
|
30915
|
+
this.rowHeight = yt(this.gos), this.cacheParams.rowHeight = this.rowHeight, this.updateRowHeights();
|
|
30928
30916
|
});
|
|
30929
30917
|
}
|
|
30930
30918
|
onFilterChanged() {
|
|
@@ -30986,7 +30974,7 @@ var iv = class extends F {
|
|
|
30986
30974
|
// or a new datasource is set
|
|
30987
30975
|
initialRowCount: this.gos.get("infiniteInitialRowCount"),
|
|
30988
30976
|
maxBlocksInCache: this.gos.get("maxBlocksInCache"),
|
|
30989
|
-
rowHeight:
|
|
30977
|
+
rowHeight: yt(this.gos),
|
|
30990
30978
|
// if user doesn't provide overflow, we use default overflow of 1, so user can scroll past
|
|
30991
30979
|
// the current page and request first row of next page
|
|
30992
30980
|
overflowSize: this.gos.get("cacheOverflowSize"),
|
|
@@ -31069,7 +31057,7 @@ function hv(e) {
|
|
|
31069
31057
|
var _a3, _b;
|
|
31070
31058
|
return (_b = (_a3 = e.rowModelHelperService) == null ? void 0 : _a3.getInfiniteRowModel()) == null ? void 0 : _b.getRowCount();
|
|
31071
31059
|
}
|
|
31072
|
-
var Mo = "32.3.
|
|
31060
|
+
var Mo = "32.3.7", pl = {
|
|
31073
31061
|
version: Mo,
|
|
31074
31062
|
moduleName: "@ag-grid-community/infinite-row-model-core",
|
|
31075
31063
|
rowModel: "infinite",
|
|
@@ -31872,7 +31860,7 @@ var Iv = 1e3, Lv = class {
|
|
|
31872
31860
|
}
|
|
31873
31861
|
}
|
|
31874
31862
|
}, [e]);
|
|
31875
|
-
},
|
|
31863
|
+
}, vt = Kv, $v = class {
|
|
31876
31864
|
constructor(e, t) {
|
|
31877
31865
|
this.cellEditorParams = e, this.refreshProps = t, this.instanceCreated = new ie((s) => {
|
|
31878
31866
|
this.resolveInstanceCreated = s;
|
|
@@ -32074,7 +32062,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32074
32062
|
if (ge) {
|
|
32075
32063
|
const j = ge.getGui();
|
|
32076
32064
|
J.insertAdjacentElement("afterbegin", j), $.current.push(() => {
|
|
32077
|
-
i.destroyBean(ge),
|
|
32065
|
+
i.destroyBean(ge), Et(j);
|
|
32078
32066
|
});
|
|
32079
32067
|
}
|
|
32080
32068
|
return ge;
|
|
@@ -32086,7 +32074,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32086
32074
|
w && ue(e.createDndSource()), v && ue(e.createRowDragComp());
|
|
32087
32075
|
},
|
|
32088
32076
|
[e, i, w, v, C]
|
|
32089
|
-
),
|
|
32077
|
+
), ae = g.useCallback((J) => {
|
|
32090
32078
|
if (I.current = J, n.current = J ? i.createBean(new $t()) : i.destroyBean(n.current), !J || !e)
|
|
32091
32079
|
return;
|
|
32092
32080
|
const ue = {
|
|
@@ -32125,7 +32113,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32125
32113
|
}
|
|
32126
32114
|
}, ge = he.current || void 0;
|
|
32127
32115
|
e.setComp(ue, J, ge, t, s, n.current);
|
|
32128
|
-
}, []),
|
|
32116
|
+
}, []), re = g.useMemo(() => {
|
|
32129
32117
|
var _a3;
|
|
32130
32118
|
return !!(((_a3 = l == null ? void 0 : l.compDetails) == null ? void 0 : _a3.componentFromFramework) && Qt(l.compDetails.componentClass));
|
|
32131
32119
|
}, [l]);
|
|
@@ -32139,10 +32127,10 @@ var Iv = 1e3, Lv = class {
|
|
|
32139
32127
|
r,
|
|
32140
32128
|
T,
|
|
32141
32129
|
K,
|
|
32142
|
-
|
|
32130
|
+
re,
|
|
32143
32131
|
U
|
|
32144
|
-
), c != null && Jv(c, X, I.current, e, E)),
|
|
32145
|
-
return /* @__PURE__ */ x.createElement("div", { ref:
|
|
32132
|
+
), c != null && Jv(c, X, I.current, e, E)), It = g.useCallback(() => e.onFocusOut(), []);
|
|
32133
|
+
return /* @__PURE__ */ x.createElement("div", { ref: ae, style: p, role: A, "col-id": o, onBlur: It }, K ? /* @__PURE__ */ x.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: G }, Be()) : Be());
|
|
32146
32134
|
}, tw = g.memo(ew), sw = ({ rowCtrl: e, containerType: t }) => {
|
|
32147
32135
|
const { context: s, gos: i } = g.useContext(fe), o = g.useRef(), r = g.useRef(e.getDomOrder()), n = e.isFullWidth(), l = e.getRowNode().displayed, [a, c] = g.useState(() => l ? e.getRowIndex() : null), [u, d] = g.useState(() => e.getRowId()), [h, p] = g.useState(() => e.getBusinessKey()), [m, C] = g.useState(() => e.getRowStyles()), f = g.useRef(null), v = g.useRef(null), [S, w] = g.useState(() => null), [R, E] = g.useState(), [D, P] = g.useState(
|
|
32148
32136
|
() => l ? e.getInitialRowTop(t) : void 0
|
|
@@ -32154,7 +32142,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32154
32142
|
if (W.current || !R || he > 10)
|
|
32155
32143
|
return;
|
|
32156
32144
|
const G = (_a3 = T.current) == null ? void 0 : _a3.firstChild;
|
|
32157
|
-
G ? (e.setupDetailRowAutoHeight(G), W.current = true) : $((
|
|
32145
|
+
G ? (e.setupDetailRowAutoHeight(G), W.current = true) : $((ae) => ae + 1);
|
|
32158
32146
|
}, [R, he]);
|
|
32159
32147
|
const te = g.useRef();
|
|
32160
32148
|
te.current || (te.current = new ys(() => T.current));
|
|
@@ -32165,34 +32153,34 @@ var Iv = 1e3, Lv = class {
|
|
|
32165
32153
|
}
|
|
32166
32154
|
if (!e.isAlive())
|
|
32167
32155
|
return;
|
|
32168
|
-
const
|
|
32156
|
+
const ae = {
|
|
32169
32157
|
// the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
|
|
32170
32158
|
// as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
|
|
32171
32159
|
setTop: P,
|
|
32172
32160
|
setTransform: I,
|
|
32173
32161
|
// i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
|
|
32174
32162
|
// React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
|
|
32175
|
-
addOrRemoveCssClass: (
|
|
32176
|
-
setDomOrder: (
|
|
32163
|
+
addOrRemoveCssClass: (re, Be) => te.current.addOrRemoveCssClass(re, Be),
|
|
32164
|
+
setDomOrder: (re) => r.current = re,
|
|
32177
32165
|
setRowIndex: c,
|
|
32178
32166
|
setRowId: d,
|
|
32179
32167
|
setRowBusinessKey: p,
|
|
32180
32168
|
setUserStyles: C,
|
|
32181
32169
|
// if we don't maintain the order, then cols will be ripped out and into the dom
|
|
32182
32170
|
// when cols reordered, which would stop the CSS transitions from working
|
|
32183
|
-
setCellCtrls: (
|
|
32184
|
-
v.current = f.current;
|
|
32185
|
-
const
|
|
32186
|
-
|
|
32171
|
+
setCellCtrls: (re, Be) => {
|
|
32172
|
+
v.current = f.current, f.current = re;
|
|
32173
|
+
const It = Ao(v.current, re, r.current);
|
|
32174
|
+
It !== v.current && xo(Be, () => w(It));
|
|
32187
32175
|
},
|
|
32188
|
-
showFullWidth: (
|
|
32176
|
+
showFullWidth: (re) => E(re),
|
|
32189
32177
|
getFullWidthCellRenderer: () => L.current,
|
|
32190
|
-
refreshFullWidth: (
|
|
32178
|
+
refreshFullWidth: (re) => X.current ? (E((Be) => ({
|
|
32191
32179
|
...Be,
|
|
32192
|
-
params:
|
|
32193
|
-
})), true) : !L.current || !L.current.refresh ? false : L.current.refresh(
|
|
32180
|
+
params: re()
|
|
32181
|
+
})), true) : !L.current || !L.current.refresh ? false : L.current.refresh(re())
|
|
32194
32182
|
};
|
|
32195
|
-
e.setComp(
|
|
32183
|
+
e.setComp(ae, G, t, o.current);
|
|
32196
32184
|
}, []);
|
|
32197
32185
|
g.useLayoutEffect(
|
|
32198
32186
|
() => bs(R, s, T.current, L),
|
|
@@ -32232,7 +32220,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32232
32220
|
);
|
|
32233
32221
|
}, iw = g.memo(sw), ow = ({ name: e }) => {
|
|
32234
32222
|
const { context: t } = g.useContext(fe), s = g.useMemo(() => Gt(e), [e]), i = g.useRef(null), o = g.useRef(null), r = g.useRef([]), n = g.useRef([]), [l, a] = g.useState(() => []), c = g.useRef(false), u = g.useRef(), d = g.useMemo(() => ke(s.viewport), [s]), h = g.useMemo(() => ke(s.container), [s]), p = s.type === "center", m = p ? i : o;
|
|
32235
|
-
|
|
32223
|
+
vt(" AG Row Container " + e + " ", m);
|
|
32236
32224
|
const C = g.useCallback(() => p ? i.current != null && o.current != null : o.current != null, []), f = g.useCallback(() => p ? i.current == null && o.current == null : o.current == null, []), v = g.useCallback(() => {
|
|
32237
32225
|
if (f() && (u.current = t.destroyBean(u.current)), C()) {
|
|
32238
32226
|
const E = (P) => {
|
|
@@ -32280,31 +32268,31 @@ var Iv = 1e3, Lv = class {
|
|
|
32280
32268
|
}, rw = g.memo(ow), nw = () => {
|
|
32281
32269
|
const { context: e, resizeObserverService: t } = g.useContext(fe), [s, i] = g.useState(""), [o, r] = g.useState(0), [n, l] = g.useState(0), [a, c] = g.useState("0px"), [u, d] = g.useState("0px"), [h, p] = g.useState("100%"), [m, C] = g.useState("0px"), [f, v] = g.useState("0px"), [S, w] = g.useState("100%"), [R, E] = g.useState(""), [D, P] = g.useState(""), [A, I] = g.useState(null), [T, L] = g.useState(""), [W, he] = g.useState(null), [$, te] = g.useState("ag-layout-normal"), z = g.useRef();
|
|
32282
32270
|
z.current || (z.current = new ys(() => _.current));
|
|
32283
|
-
const _ = g.useRef(null), U = g.useRef(null), se = g.useRef(null), K = g.useRef(null), X = g.useRef(null), Q = g.useRef(null), xe = g.useRef(null), G = g.useRef([]),
|
|
32284
|
-
|
|
32285
|
-
const
|
|
32271
|
+
const _ = g.useRef(null), U = g.useRef(null), se = g.useRef(null), K = g.useRef(null), X = g.useRef(null), Q = g.useRef(null), xe = g.useRef(null), G = g.useRef([]), ae = g.useRef([]);
|
|
32272
|
+
vt(" AG Grid Body ", _), vt(" AG Pinned Top ", U), vt(" AG Sticky Top ", se), vt(" AG Middle ", Q), vt(" AG Pinned Bottom ", xe);
|
|
32273
|
+
const re = g.useCallback((We) => {
|
|
32286
32274
|
if (_.current = We, !We) {
|
|
32287
|
-
G.current = e.destroyBeans(G.current),
|
|
32275
|
+
G.current = e.destroyBeans(G.current), ae.current.forEach((ne) => ne()), ae.current = [];
|
|
32288
32276
|
return;
|
|
32289
32277
|
}
|
|
32290
32278
|
if (!e)
|
|
32291
32279
|
return;
|
|
32292
|
-
const Ps = (
|
|
32293
|
-
|
|
32294
|
-
}, li = (
|
|
32295
|
-
const Pe = e.createBean(new
|
|
32280
|
+
const Ps = (ne, Pe) => {
|
|
32281
|
+
ne.appendChild(Pe), ae.current.push(() => ne.removeChild(Pe));
|
|
32282
|
+
}, li = (ne) => {
|
|
32283
|
+
const Pe = e.createBean(new ne());
|
|
32296
32284
|
return G.current.push(Pe), Pe;
|
|
32297
|
-
}, Jt = (
|
|
32298
|
-
Ps(
|
|
32285
|
+
}, Jt = (ne, Pe, Rl) => {
|
|
32286
|
+
Ps(ne, document.createComment(Rl)), Ps(ne, li(Pe).getGui());
|
|
32299
32287
|
};
|
|
32300
32288
|
Jt(We, md, " AG Fake Horizontal Scroll "), Jt(We, fd, " AG Overlay Wrapper "), X.current && Jt(X.current, Cd, " AG Fake Vertical Scroll ");
|
|
32301
32289
|
const yl = {
|
|
32302
32290
|
setRowAnimationCssOnBodyViewport: i,
|
|
32303
|
-
setColumnCount: (
|
|
32304
|
-
_.current && xa(_.current,
|
|
32291
|
+
setColumnCount: (ne) => {
|
|
32292
|
+
_.current && xa(_.current, ne);
|
|
32305
32293
|
},
|
|
32306
|
-
setRowCount: (
|
|
32307
|
-
_.current && Ea(_.current,
|
|
32294
|
+
setRowCount: (ne) => {
|
|
32295
|
+
_.current && Ea(_.current, ne);
|
|
32308
32296
|
},
|
|
32309
32297
|
setTopHeight: r,
|
|
32310
32298
|
setBottomHeight: l,
|
|
@@ -32313,18 +32301,18 @@ var Iv = 1e3, Lv = class {
|
|
|
32313
32301
|
setStickyTopWidth: p,
|
|
32314
32302
|
setTopDisplay: E,
|
|
32315
32303
|
setBottomDisplay: P,
|
|
32316
|
-
setColumnMovingCss: (
|
|
32304
|
+
setColumnMovingCss: (ne, Pe) => z.current.addOrRemoveCssClass(ne, Pe),
|
|
32317
32305
|
updateLayoutClasses: te,
|
|
32318
32306
|
setAlwaysVerticalScrollClass: I,
|
|
32319
32307
|
setPinnedTopBottomOverflowY: L,
|
|
32320
|
-
setCellSelectableCss: (
|
|
32321
|
-
setBodyViewportWidth: (
|
|
32322
|
-
Q.current && (Q.current.style.width =
|
|
32308
|
+
setCellSelectableCss: (ne, Pe) => he(Pe ? ne : null),
|
|
32309
|
+
setBodyViewportWidth: (ne) => {
|
|
32310
|
+
Q.current && (Q.current.style.width = ne);
|
|
32323
32311
|
},
|
|
32324
|
-
registerBodyViewportResizeListener: (
|
|
32312
|
+
registerBodyViewportResizeListener: (ne) => {
|
|
32325
32313
|
if (Q.current) {
|
|
32326
|
-
const Pe = t.observeResize(Q.current,
|
|
32327
|
-
|
|
32314
|
+
const Pe = t.observeResize(Q.current, ne);
|
|
32315
|
+
ae.current.push(() => Pe());
|
|
32328
32316
|
}
|
|
32329
32317
|
},
|
|
32330
32318
|
setStickyBottomHeight: C,
|
|
@@ -32340,7 +32328,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32340
32328
|
se.current,
|
|
32341
32329
|
K.current
|
|
32342
32330
|
);
|
|
32343
|
-
}, []), Be = g.useMemo(() => ke("ag-root", "ag-unselectable", $), [$]),
|
|
32331
|
+
}, []), Be = g.useMemo(() => ke("ag-root", "ag-unselectable", $), [$]), It = g.useMemo(
|
|
32344
32332
|
() => ke(
|
|
32345
32333
|
"ag-body-viewport",
|
|
32346
32334
|
s,
|
|
@@ -32388,14 +32376,14 @@ var Iv = 1e3, Lv = class {
|
|
|
32388
32376
|
className: li,
|
|
32389
32377
|
style: Jt
|
|
32390
32378
|
}) => /* @__PURE__ */ x.createElement("div", { ref: We, className: li, role: "presentation", style: Jt }, Ps.map(Sl));
|
|
32391
|
-
return /* @__PURE__ */ x.createElement("div", { ref:
|
|
32379
|
+
return /* @__PURE__ */ x.createElement("div", { ref: re, className: Be, role: "treegrid" }, /* @__PURE__ */ x.createElement(Uv, null), Xt({
|
|
32392
32380
|
section: U,
|
|
32393
32381
|
className: ue,
|
|
32394
32382
|
style: be,
|
|
32395
32383
|
children: ["topLeft", "topCenter", "topRight", "topFullWidth"]
|
|
32396
32384
|
}), /* @__PURE__ */ x.createElement("div", { className: J, ref: X, role: "presentation" }, Xt({
|
|
32397
32385
|
section: Q,
|
|
32398
|
-
className:
|
|
32386
|
+
className: It,
|
|
32399
32387
|
children: ["left", "center", "right", "fullWidth"]
|
|
32400
32388
|
})), Xt({
|
|
32401
32389
|
section: se,
|
|
@@ -32475,7 +32463,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32475
32463
|
const [t, s] = g.useState(""), [i, o] = g.useState(""), [r, n] = g.useState(""), [l, a] = g.useState(null), [c, u] = g.useState(null), [d, h] = g.useState(false), [p, m] = g.useState(), C = g.useRef(), f = g.useRef(null), v = g.useRef(), [S, w] = g.useState(null), R = g.useRef(() => {
|
|
32476
32464
|
}), E = g.useRef(), D = g.useRef([]), P = g.useCallback(() => {
|
|
32477
32465
|
}, []), A = g.useMemo(() => e.isDestroyed() ? null : e.getBeans(), [e]);
|
|
32478
|
-
|
|
32466
|
+
vt(" AG Grid ", f);
|
|
32479
32467
|
const I = g.useCallback(($) => {
|
|
32480
32468
|
if (f.current = $, C.current = $ ? e.createBean(new _g()) : e.destroyBean(C.current), !$ || e.isDestroyed())
|
|
32481
32469
|
return;
|
|
@@ -32520,16 +32508,16 @@ var Iv = 1e3, Lv = class {
|
|
|
32520
32508
|
gridHeaderDropZonesSelector: X
|
|
32521
32509
|
} = $.getOptionalSelectors(), Q = [];
|
|
32522
32510
|
if (X) {
|
|
32523
|
-
const G = e.createBean(new X.component()),
|
|
32524
|
-
te.insertAdjacentElement("afterbegin",
|
|
32511
|
+
const G = e.createBean(new X.component()), ae = G.getGui();
|
|
32512
|
+
te.insertAdjacentElement("afterbegin", ae), Q.push(ae), z.push(G);
|
|
32525
32513
|
}
|
|
32526
32514
|
if (se) {
|
|
32527
|
-
const G = e.createBean(new se.component()),
|
|
32528
|
-
|
|
32515
|
+
const G = e.createBean(new se.component()), ae = G.getGui(), re = S.querySelector(".ag-tab-guard-bottom");
|
|
32516
|
+
re && (re.insertAdjacentElement("beforebegin", ae), Q.push(ae)), z.push(G), D.current.push(G);
|
|
32529
32517
|
}
|
|
32530
32518
|
const xe = (G) => {
|
|
32531
|
-
const
|
|
32532
|
-
return te.insertAdjacentElement("beforeend",
|
|
32519
|
+
const ae = e.createBean(new G()), re = ae.getGui();
|
|
32520
|
+
return te.insertAdjacentElement("beforeend", re), Q.push(re), z.push(ae), ae;
|
|
32533
32521
|
};
|
|
32534
32522
|
if (K && xe(K.component), U) {
|
|
32535
32523
|
const G = xe(U.component);
|