@marimo-team/islands 0.14.11-dev2 → 0.14.11-dev21
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-Dl7Gx8nj.js → ConnectedDataExplorerComponent-B98UAJGl.js} +4 -4
- package/dist/{ImageComparisonComponent-IsA0pccG.js → ImageComparisonComponent-3rx-X1eA.js} +1 -1
- package/dist/{VegaLite-C3jfIIJl.js → VegaLite-bssctYsi.js} +6961 -7180
- package/dist/{_baseUniq-DXGCzwrs.js → _baseUniq-n5nuGCm-.js} +36 -36
- package/dist/{any-language-editor-BbtP_crK.js → any-language-editor-CTuUQiXP.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-B5UTatfK.js → architectureDiagram-NQ2NVSRB-Ghs-gTjF.js} +897 -894
- package/dist/assets/{worker-BcyuOSTi.js → save-worker-fI5ofStJ.js} +1076 -1649
- package/dist/assets/{save-worker-BIDtxCd1.js → worker-Bfk1FrzG.js} +1627 -1747
- package/dist/assets/worker-BldghCZh.js +3752 -0
- package/dist/{blockDiagram-JOT3LUYC-BsdaPVqe.js → blockDiagram-PHRCVELO-BJrdpvE8.js} +534 -522
- package/dist/{c4Diagram-VJAJSXHY-mAt84R4z.js → c4Diagram-6F6E4RAY-C3mvzJPu.js} +4 -4
- package/dist/{channel-BQIWHLpc.js → channel-Dv_KwBSx.js} +1 -1
- package/dist/{chunk-4BMEZGHF-CKIxJWxP.js → chunk-353BL4L5-DE1uUKLI.js} +1 -1
- package/dist/{chunk-D6G4REZN-CgGV16Ao.js → chunk-67H74DCK-BSe-uUSS.js} +1 -1
- package/dist/chunk-6OLS64BW-lmSfyWue.js +1383 -0
- package/dist/{chunk-XZIHB7SX-Bwue5JjE.js → chunk-AACKK3MU-DAmuROVD.js} +1 -1
- package/dist/chunk-BFAMUDN2-D9C6R9UM.js +8 -0
- package/dist/chunk-E2GYISFI-BzFDmP6o.js +19 -0
- package/dist/{chunk-A2AXSNBT-wMvlVMnZ.js → chunk-QEP2MXWD-BILXx23p.js} +30 -27
- package/dist/chunk-SKB7J2MH-CxMkQppY.js +20 -0
- package/dist/{classDiagram-GIVACNV2-DOmcKRwM.js → classDiagram-BGRH5UQR-BbYr5aD9.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DOmcKRwM.js → classDiagram-v2-O24JOBDK-BbYr5aD9.js} +2 -2
- package/dist/{clone-PHSHUhb-.js → clone-DuBujAk0.js} +1 -1
- package/dist/{dagre-OKDRZEBW-D5HNBllU.js → dagre-FFZHY6LT-DO5nLpLx.js} +8 -8
- package/dist/{data-editor-Coz_zrsX.js → data-editor-C8yM5wyh.js} +213 -201
- package/dist/diagram-3EMPZRKU-B1rYMJMS.js +313 -0
- package/dist/diagram-5UYTHUR4-BUu8PsmE.js +137 -0
- package/dist/{diagram-SSKATNLV-BsO89QJN.js → diagram-ZTM2IBQH-lz_uZrYh.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-DWIMKTfS.js → erDiagram-R3QVA2FD-D_A2jrJV.js} +6 -5
- package/dist/{flowDiagram-4HSFHLVR-CnO0wmaL.js → flowDiagram-PKI6S5ZS-Bv6D_bIf.js} +283 -278
- package/dist/{ganttDiagram-APWFNJXF-otclLFL4.js → ganttDiagram-EK5VF46D-CbkaARm4.js} +453 -439
- package/dist/{gitGraphDiagram-7IBYFJ6S-C7F3RAja.js → gitGraphDiagram-GW3U2K7C-B8ZGoOT-.js} +35 -35
- package/dist/{graph-Btsdly6D.js → graph-txVVq_De.js} +3 -3
- package/dist/{index-BreCkhLm.js → index-BI6tloBb.js} +3 -3
- package/dist/{index-CcRF-HlA.js → index-CFJazcU-.js} +4 -4
- package/dist/{index-BGmzdYRo.js → index-OiR0LgXX.js} +6 -3
- package/dist/{index-z8OyYHEh.js → index-fJDj-gSp.js} +1 -1
- package/dist/index-pBmAzQJl.js +235 -0
- package/dist/{infoDiagram-PH2N3AL5-BwcXDzwE.js → infoDiagram-RLU2ROGC-DJw6nWp0.js} +5 -3
- package/dist/journeyDiagram-EWQZEKCU-1oCDdLcB.js +836 -0
- package/dist/{kanban-definition-NDS4AKOZ-3NJYjnpz.js → kanban-definition-ILFWEQ3N-nKJ02Ox0.js} +41 -39
- package/dist/{layout-qfivsCI_.js → layout-CbUwX9d6.js} +49 -49
- package/dist/{linear-D_Kojy5s.js → linear-sn9_bxtB.js} +22 -22
- package/dist/{main-DLuap1gp.js → main-D9-48wlP.js} +45053 -45130
- package/dist/main.js +1 -1
- package/dist/{mermaid-DCIbF0Rd.js → mermaid-CRRCnedu.js} +4925 -4853
- package/dist/min-CYaGuxZ4.js +80 -0
- package/dist/{mindmap-definition-ALO5MXBD-BtSBR7-c.js → mindmap-definition-CZNETY7S-CV62GMPJ.js} +3 -3
- package/dist/{pieDiagram-IB7DONF6-TiB_3g9z.js → pieDiagram-NIOCPIFQ-Bcs4p6kX.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-B0DPjp7Z.js → quadrantDiagram-2OG54O6I-BlY5yea6.js} +2 -2
- package/dist/{react-plotly-BXWB3UQ5.js → react-plotly-B1SKP2B-.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-D_IlbRr_.js → requirementDiagram-SO3GGRV7-rmiJc5mh.js} +5 -4
- package/dist/{sankeyDiagram-QLVOVGJD-BHm9uvp_.js → sankeyDiagram-4UZDY2LN-TVzOLFCA.js} +11 -11
- package/dist/{sequenceDiagram-X6HHIX6F-3wcWWNtl.js → sequenceDiagram-ZIKVLSP4-POBNIgPB.js} +151 -149
- package/dist/{slides-component-JEGZbKgL.js → slides-component-5Y9DQzeV.js} +969 -962
- package/dist/stateDiagram-XX37X6EN-lR-7TG5f.js +264 -0
- package/dist/{stateDiagram-v2-YXO3MK2T-DTdt4vFc.js → stateDiagram-v2-GD6S3NHB-CYV2YCSY.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-DyZM4tB4.js → time-BytuUgXk.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-Of4cvbYH.js → timeline-definition-RI47OAVP-DOrNrVHk.js} +99 -102
- package/dist/{radar-MK3ICKWK-BMSp8zaN.js → treemap-FKARHQ26-BOli4yXg.js} +2469 -2330
- package/dist/{vega-component-Dwc_9OTG.js → vega-component-KZ-3GH6H.js} +21 -21
- package/dist/{xychartDiagram-VJFVF3MP-5Jc993Va.js → xychartDiagram-H2YORKM3-CUOFDcIy.js} +409 -375
- package/package.json +37 -37
- package/dist/assets/worker-Dz6PPEGc.js +0 -4115
- package/dist/chunk-AEK57VVT-BAi7QtEw.js +0 -1416
- package/dist/chunk-RZ5BOZE2-D7Ag0UF8.js +0 -24
- package/dist/diagram-VNBRO52H-CA8VTm7L.js +0 -126
- package/dist/journeyDiagram-U35MCT3I-Co4hTdu9.js +0 -809
- package/dist/min-CQBZldos.js +0 -80
- package/dist/stateDiagram-DGXRK772-DbH3Rdz4.js +0 -271
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a2;
|
|
2
|
-
import {
|
|
2
|
+
import { G as g, b as x, H as mr, J as Fl, K as bl, j as Zt, M as Pl, O as Dl, P as El } from "./main-D9-48wlP.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 yt(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 Rt(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 Dt(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 Et(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 Ft(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 = Ft($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 = yt(e.width), i = yt(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 = yt(t.flex);
|
|
1547
1547
|
if (i !== void 0 && e.setFlex(i), e.getFlex() <= 0) {
|
|
1548
|
-
const l =
|
|
1548
|
+
const l = yt(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 = yt(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(Ct(t.source))
|
|
1650
1650
|
), this.addManagedPropertyListener("rowSelection", (t) => {
|
|
1651
|
-
this.onSelectionOptionsChanged(t.currentValue, t.previousValue,
|
|
1651
|
+
this.onSelectionOptionsChanged(t.currentValue, t.previousValue, Ct(t.source));
|
|
1652
1652
|
}), this.addManagedPropertyListener(
|
|
1653
1653
|
"autoGroupColumnDef",
|
|
1654
|
-
(t) => this.onAutoGroupColumnDefChanged(
|
|
1654
|
+
(t) => this.onAutoGroupColumnDefChanged(Ct(t.source))
|
|
1655
1655
|
), this.addManagedPropertyListeners(
|
|
1656
1656
|
["defaultColDef", "defaultColGroupDef", "columnTypes", "suppressFieldDotNotation"],
|
|
1657
|
-
(t) => this.recreateColumnDefs(
|
|
1657
|
+
(t) => this.recreateColumnDefs(Ct(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"), Ct(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 && Ft(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 Ct(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 = yt(i(m)), S = yt(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 ne(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
|
+
ne(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) : ne(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) : ne(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 (ne(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 ne(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
|
+
ne(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
|
+
vt(this.treeCenter, false, e), vt(this.treeLeft, false, e), vt(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
|
+
vt(e, false, (t) => {
|
|
3640
|
+
ne(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 (ne(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 vt(s, false, (r) => {
|
|
3667
|
+
if (ne(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 (ne(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 = (ne(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 = (ne(p) ? p.getProvidedColumnGroup() : p).getOriginalParent(), f = c[u], S = (ne(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 (ne(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), ne(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 vt(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 (ne(o)) {
|
|
3777
3777
|
const r = t ? o.getDisplayedChildren() : o.getChildren();
|
|
3778
|
-
|
|
3778
|
+
vt(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 vt(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 xt(e) {
|
|
4561
4561
|
const {
|
|
4562
4562
|
height: t,
|
|
4563
4563
|
width: s,
|
|
@@ -4594,23 +4594,23 @@ function Mt(e) {
|
|
|
4594
4594
|
};
|
|
4595
4595
|
}
|
|
4596
4596
|
function oo(e) {
|
|
4597
|
-
const t =
|
|
4597
|
+
const t = xt(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 = xt(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 } = xt(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 } = xt(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 } = xt(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 Mt(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 ft 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 pt 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() && (ft.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 pt 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 || ft.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 = ft.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 pt 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(), ft.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 pt extends F {
|
|
|
4951
4951
|
}), this.tooltipMouseEnterListener = this.tooltipMouseLeaveListener = this.tooltipFocusInListener = this.tooltipFocusOutListener = null;
|
|
4952
4952
|
}
|
|
4953
4953
|
lockService() {
|
|
4954
|
-
|
|
4954
|
+
ft.isLocked = true, this.interactiveTooltipTimeoutId = window.setTimeout(() => {
|
|
4955
4955
|
this.unlockService(), this.setToDoNothing();
|
|
4956
4956
|
}, $o);
|
|
4957
4957
|
}
|
|
4958
4958
|
unlockService() {
|
|
4959
|
-
|
|
4959
|
+
ft.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
|
+
Mt(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 Mt(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
|
+
}, St = 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 St {
|
|
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 (Et(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 At = 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 At(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 && Mt(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
|
+
Mt(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) => Mt(o));
|
|
9793
9793
|
}
|
|
9794
9794
|
removeComponents(e, t, s) {
|
|
9795
9795
|
this.removeItems(e, t, s).forEach((o) => {
|
|
9796
|
-
|
|
9796
|
+
Mt(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 St && 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 St))
|
|
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 St && 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 St && 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 Tt = class extends St {
|
|
10116
10116
|
constructor(e, t = "ag-text-field", s = "text") {
|
|
10117
10117
|
super(e, t, s);
|
|
10118
10118
|
}
|
|
@@ -10141,8 +10141,8 @@ var At = class extends wt {
|
|
|
10141
10141
|
}
|
|
10142
10142
|
}, si = {
|
|
10143
10143
|
selector: "AG-INPUT-TEXT-FIELD",
|
|
10144
|
-
component:
|
|
10145
|
-
}, fo = class extends
|
|
10144
|
+
component: Tt
|
|
10145
|
+
}, fo = class extends Tt {
|
|
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 Tt({ 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 Tt());
|
|
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`), ne(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 } = xt(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
|
+
Dt(this.gos, this.eGui, s, this), t.addDestroyFunc(() => Dt(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 At(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.8";
|
|
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 Tt((_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 Tt()), 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 (ne(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 At(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) => Ft(t, w)), h = c.filter((w) => !Ft(t, w)), p = u.filter((w) => !Ft(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 At(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 At(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 = Rt(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) => Ft([
|
|
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 } = xt(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
|
+
Dt(this.beans.gos, s, Ki.DOM_DATA_KEY_CELL_CTRL, this), t.addDestroyFunc(() => Dt(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 bt = 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 Ft = 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), Dt(s, t.element, $i.DOM_DATA_KEY_ROW_CTRL, this), t.compBean.addDestroyFunc(() => Dt(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 Ft = 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 bt(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 Ft = 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 = Et(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 Ft = 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 Pt = 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 bt = 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, Pt.DOM_DATA_KEY_ROW_CTRL);
|
|
17411
17411
|
if (s)
|
|
17412
17412
|
return s;
|
|
17413
17413
|
t = t.parentElement;
|
|
@@ -17433,8 +17433,8 @@ var bt = 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, bt.DOM_DATA_KEY_CELL_CTRL),
|
|
17437
|
+
rowCtrl: Ai(this.gos, e, Pt.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, bt.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 bt && 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 bt) {
|
|
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 Pt ? 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 bt)
|
|
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 St {
|
|
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
|
+
Dt(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 Tt {
|
|
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
|
+
}, It = {
|
|
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: [It]
|
|
19832
19832
|
}, Qh = {
|
|
19833
19833
|
version: k,
|
|
19834
19834
|
moduleName: "@ag-grid-community/undo-redo-edit",
|
|
19835
19835
|
beans: [kh],
|
|
19836
|
-
dependantModules: [
|
|
19836
|
+
dependantModules: [It]
|
|
19837
19837
|
}, Xh = {
|
|
19838
19838
|
version: k,
|
|
19839
19839
|
moduleName: "@ag-grid-community/full-row-edit",
|
|
19840
19840
|
beans: [qh],
|
|
19841
|
-
dependantModules: [
|
|
19841
|
+
dependantModules: [It]
|
|
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: [It]
|
|
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: [It]
|
|
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: [It]
|
|
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: [It, 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 Pt(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, bt.DOM_DATA_KEY_CELL_CTRL), o = hs(this.gos, s, Pt.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 = Rt(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 Pt(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 At(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 = Ft(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), Pt.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(`.${At.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(Ct(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: Rt(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(Rt(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,16 +26985,25 @@ function Ym(e) {
|
|
|
26985
26985
|
}
|
|
26986
26986
|
var ll = class al extends F {
|
|
26987
26987
|
constructor() {
|
|
26988
|
-
super(...arguments), this.beanName = "gos", this.domDataKey = "__AG_" + Math.random().toString(), this.propertyEventService = new Ut(), this.globalEventHandlerFactory = (t) => (s, i) => {
|
|
26988
|
+
super(...arguments), this.beanName = "gos", this.gridReadyFired = false, this.queueEvents = [], 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
|
-
}
|
|
26994
|
+
const r = (n, l) => {
|
|
26995
|
+
const a = this.gridOptions[fs.getCallbackForEvent(n)];
|
|
26996
|
+
typeof a == "function" && this.frameworkOverrides.wrapOutgoing(() => a(i));
|
|
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 });
|
|
26998
27007
|
};
|
|
26999
27008
|
}
|
|
27000
27009
|
wireBeans(t) {
|
|
@@ -27012,6 +27021,9 @@ var ll = class al extends F {
|
|
|
27012
27021
|
}
|
|
27013
27022
|
});
|
|
27014
27023
|
}
|
|
27024
|
+
destroy() {
|
|
27025
|
+
super.destroy(), this.queueEvents = [];
|
|
27026
|
+
}
|
|
27015
27027
|
/**
|
|
27016
27028
|
* Get the raw value of the GridOptions property provided.
|
|
27017
27029
|
* @param property
|
|
@@ -27105,7 +27117,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
27105
27117
|
}
|
|
27106
27118
|
findHeader(e, t) {
|
|
27107
27119
|
let s, i;
|
|
27108
|
-
if (
|
|
27120
|
+
if (ne(e.column) ? s = this.visibleColsService.getGroupAtDirection(e.column, t) : (i = `getCol${t}`, s = this.visibleColsService[i](e.column)), !s)
|
|
27109
27121
|
return;
|
|
27110
27122
|
const { headerRowIndex: o } = e;
|
|
27111
27123
|
if (this.getHeaderRowType(o) !== "filter") {
|
|
@@ -27122,7 +27134,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
27122
27134
|
}
|
|
27123
27135
|
getHeaderIndexToFocus(e, t) {
|
|
27124
27136
|
let s;
|
|
27125
|
-
if (
|
|
27137
|
+
if (ne(e) && this.isAnyChildSpanningHeaderHeight(e) && e.isPadding()) {
|
|
27126
27138
|
const i = e;
|
|
27127
27139
|
s = i.getLeafColumns()[0];
|
|
27128
27140
|
let o = s;
|
|
@@ -27797,8 +27809,8 @@ var Qm = ll, Xm = class extends F {
|
|
|
27797
27809
|
}
|
|
27798
27810
|
postConstruct() {
|
|
27799
27811
|
const { gos: e, rowModel: t, onRowSelected: s } = this;
|
|
27800
|
-
this.selectionCtx.init(t), this.rowSelectionMode = zs(e), this.groupSelectsChildren =
|
|
27801
|
-
const i =
|
|
27812
|
+
this.selectionCtx.init(t), this.rowSelectionMode = zs(e), this.groupSelectsChildren = Et(e), this.addManagedPropertyListeners(["groupSelectsChildren", "rowSelection"], () => {
|
|
27813
|
+
const i = Et(e), o = zs(e);
|
|
27802
27814
|
(i !== this.groupSelectsChildren || o !== this.rowSelectionMode) && (this.groupSelectsChildren = i, this.rowSelectionMode = o, this.deselectAllRowNodes({ source: "api" }));
|
|
27803
27815
|
}), this.addManagedEventListeners({ rowSelected: s.bind(this) });
|
|
27804
27816
|
}
|
|
@@ -28119,7 +28131,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
28119
28131
|
const { gos: t } = this, s = Vs(t), i = Qi(t);
|
|
28120
28132
|
if (!s || !i)
|
|
28121
28133
|
return;
|
|
28122
|
-
const o =
|
|
28134
|
+
const o = Et(t), r = Y(t) && o, n = [], l = (a) => {
|
|
28123
28135
|
if (e && !a.group)
|
|
28124
28136
|
return;
|
|
28125
28137
|
if (r && a.group) {
|
|
@@ -28313,7 +28325,7 @@ var Qm = ll, Xm = class extends F {
|
|
|
28313
28325
|
this.waitingForColumns = false, this.setColumnsAndData(t);
|
|
28314
28326
|
return;
|
|
28315
28327
|
}
|
|
28316
|
-
this.columnModel.setColumnDefs(t,
|
|
28328
|
+
this.columnModel.setColumnDefs(t, Ct(e.source));
|
|
28317
28329
|
}
|
|
28318
28330
|
}
|
|
28319
28331
|
}, hC = "paste", gC = class extends F {
|
|
@@ -28618,12 +28630,12 @@ var Qm = ll, Xm = class extends F {
|
|
|
28618
28630
|
"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"
|
|
28619
28631
|
)), o;
|
|
28620
28632
|
}
|
|
28621
|
-
}, Po = class
|
|
28633
|
+
}, Po = class mt {
|
|
28622
28634
|
static applyGlobalGridOptions(t) {
|
|
28623
|
-
if (!
|
|
28635
|
+
if (!mt.gridOptions)
|
|
28624
28636
|
return t;
|
|
28625
28637
|
let s = {};
|
|
28626
|
-
return we(s,
|
|
28638
|
+
return we(s, mt.gridOptions, true, true), mt.mergeStrategy === "deep" ? we(s, t, true, true) : s = { ...s, ...t }, mt.gridOptions.context && (s.context = mt.gridOptions.context), t.context && (mt.mergeStrategy === "deep" && s.context && we(t.context, s.context, true, true), s.context = t.context), s;
|
|
28627
28639
|
}
|
|
28628
28640
|
};
|
|
28629
28641
|
Po.gridOptions = void 0;
|
|
@@ -29467,7 +29479,7 @@ var xC = "ROOT_NODE_ID", Fi = 0, AC = class {
|
|
|
29467
29479
|
}
|
|
29468
29480
|
getNodesInRangeForSelection(e, t) {
|
|
29469
29481
|
let s = false, i = false;
|
|
29470
|
-
const o = [], r =
|
|
29482
|
+
const o = [], r = Et(this.gos);
|
|
29471
29483
|
return this.forEachNodeAfterFilterAndSort((n) => {
|
|
29472
29484
|
if (i)
|
|
29473
29485
|
return;
|
|
@@ -29665,7 +29677,7 @@ var xC = "ROOT_NODE_ID", Fi = 0, AC = class {
|
|
|
29665
29677
|
rowNode: this.rootNode,
|
|
29666
29678
|
changedPath: t,
|
|
29667
29679
|
afterColumnsChanged: i
|
|
29668
|
-
}),
|
|
29680
|
+
}), Et(this.gos) && this.selectionService.updateGroupsFromChildrenSelections(
|
|
29669
29681
|
"rowGroupChanged",
|
|
29670
29682
|
t
|
|
29671
29683
|
) && this.eventService.dispatchEvent({
|
|
@@ -30183,7 +30195,7 @@ var _C = class extends F {
|
|
|
30183
30195
|
o
|
|
30184
30196
|
);
|
|
30185
30197
|
}
|
|
30186
|
-
}, Do = "32.3.
|
|
30198
|
+
}, Do = "32.3.8", hl = {
|
|
30187
30199
|
version: Do,
|
|
30188
30200
|
moduleName: "@ag-grid-community/client-side-row-model-core",
|
|
30189
30201
|
rowModel: "clientSide",
|
|
@@ -30604,7 +30616,7 @@ var iv = class extends F {
|
|
|
30604
30616
|
e.forEach((o) => {
|
|
30605
30617
|
const r = o;
|
|
30606
30618
|
r.getChildren && r.getChildren().forEach((n) => i.push(n));
|
|
30607
|
-
}), e.length > 0 &&
|
|
30619
|
+
}), e.length > 0 && ne(e[0]) && this.doAddHeaderHeader(t, e, s), i && i.length > 0 && this.recursivelyAddHeaderGroups(
|
|
30608
30620
|
i,
|
|
30609
30621
|
t,
|
|
30610
30622
|
s
|
|
@@ -30634,7 +30646,7 @@ var iv = class extends F {
|
|
|
30634
30646
|
);
|
|
30635
30647
|
});
|
|
30636
30648
|
}
|
|
30637
|
-
}, Eo = "32.3.
|
|
30649
|
+
}, Eo = "32.3.8", gl = {
|
|
30638
30650
|
version: Eo,
|
|
30639
30651
|
moduleName: "@ag-grid-community/csv-export-core",
|
|
30640
30652
|
beans: [ev, iv]
|
|
@@ -30889,7 +30901,7 @@ var iv = class extends F {
|
|
|
30889
30901
|
return false;
|
|
30890
30902
|
}
|
|
30891
30903
|
postConstruct() {
|
|
30892
|
-
this.gos.get("rowModelType") === "infinite" && (this.rowHeight =
|
|
30904
|
+
this.gos.get("rowModelType") === "infinite" && (this.rowHeight = Rt(this.gos), this.addEventListeners(), this.addDestroyFunc(() => this.destroyCache()), this.verifyProps());
|
|
30893
30905
|
}
|
|
30894
30906
|
verifyProps() {
|
|
30895
30907
|
this.gos.exists("initialGroupOrderComparator") && b(
|
|
@@ -30912,7 +30924,7 @@ var iv = class extends F {
|
|
|
30912
30924
|
newColumnsLoaded: this.onColumnEverything.bind(this),
|
|
30913
30925
|
storeUpdated: this.onCacheUpdated.bind(this)
|
|
30914
30926
|
}), this.addManagedPropertyListener("datasource", () => this.setDatasource(this.gos.get("datasource"))), this.addManagedPropertyListener("cacheBlockSize", () => this.resetCache()), this.addManagedPropertyListener("rowHeight", () => {
|
|
30915
|
-
this.rowHeight =
|
|
30927
|
+
this.rowHeight = Rt(this.gos), this.cacheParams.rowHeight = this.rowHeight, this.updateRowHeights();
|
|
30916
30928
|
});
|
|
30917
30929
|
}
|
|
30918
30930
|
onFilterChanged() {
|
|
@@ -30974,7 +30986,7 @@ var iv = class extends F {
|
|
|
30974
30986
|
// or a new datasource is set
|
|
30975
30987
|
initialRowCount: this.gos.get("infiniteInitialRowCount"),
|
|
30976
30988
|
maxBlocksInCache: this.gos.get("maxBlocksInCache"),
|
|
30977
|
-
rowHeight:
|
|
30989
|
+
rowHeight: Rt(this.gos),
|
|
30978
30990
|
// if user doesn't provide overflow, we use default overflow of 1, so user can scroll past
|
|
30979
30991
|
// the current page and request first row of next page
|
|
30980
30992
|
overflowSize: this.gos.get("cacheOverflowSize"),
|
|
@@ -31057,7 +31069,7 @@ function hv(e) {
|
|
|
31057
31069
|
var _a3, _b;
|
|
31058
31070
|
return (_b = (_a3 = e.rowModelHelperService) == null ? void 0 : _a3.getInfiniteRowModel()) == null ? void 0 : _b.getRowCount();
|
|
31059
31071
|
}
|
|
31060
|
-
var Mo = "32.3.
|
|
31072
|
+
var Mo = "32.3.8", pl = {
|
|
31061
31073
|
version: Mo,
|
|
31062
31074
|
moduleName: "@ag-grid-community/infinite-row-model-core",
|
|
31063
31075
|
rowModel: "infinite",
|
|
@@ -31860,7 +31872,7 @@ var Iv = 1e3, Lv = class {
|
|
|
31860
31872
|
}
|
|
31861
31873
|
}
|
|
31862
31874
|
}, [e]);
|
|
31863
|
-
},
|
|
31875
|
+
}, wt = Kv, $v = class {
|
|
31864
31876
|
constructor(e, t) {
|
|
31865
31877
|
this.cellEditorParams = e, this.refreshProps = t, this.instanceCreated = new ie((s) => {
|
|
31866
31878
|
this.resolveInstanceCreated = s;
|
|
@@ -32062,7 +32074,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32062
32074
|
if (ge) {
|
|
32063
32075
|
const j = ge.getGui();
|
|
32064
32076
|
J.insertAdjacentElement("afterbegin", j), $.current.push(() => {
|
|
32065
|
-
i.destroyBean(ge),
|
|
32077
|
+
i.destroyBean(ge), Mt(j);
|
|
32066
32078
|
});
|
|
32067
32079
|
}
|
|
32068
32080
|
return ge;
|
|
@@ -32074,7 +32086,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32074
32086
|
w && ue(e.createDndSource()), v && ue(e.createRowDragComp());
|
|
32075
32087
|
},
|
|
32076
32088
|
[e, i, w, v, C]
|
|
32077
|
-
),
|
|
32089
|
+
), le = g.useCallback((J) => {
|
|
32078
32090
|
if (I.current = J, n.current = J ? i.createBean(new $t()) : i.destroyBean(n.current), !J || !e)
|
|
32079
32091
|
return;
|
|
32080
32092
|
const ue = {
|
|
@@ -32113,7 +32125,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32113
32125
|
}
|
|
32114
32126
|
}, ge = he.current || void 0;
|
|
32115
32127
|
e.setComp(ue, J, ge, t, s, n.current);
|
|
32116
|
-
}, []),
|
|
32128
|
+
}, []), ae = g.useMemo(() => {
|
|
32117
32129
|
var _a3;
|
|
32118
32130
|
return !!(((_a3 = l == null ? void 0 : l.compDetails) == null ? void 0 : _a3.componentFromFramework) && Qt(l.compDetails.componentClass));
|
|
32119
32131
|
}, [l]);
|
|
@@ -32127,10 +32139,10 @@ var Iv = 1e3, Lv = class {
|
|
|
32127
32139
|
r,
|
|
32128
32140
|
T,
|
|
32129
32141
|
K,
|
|
32130
|
-
|
|
32142
|
+
ae,
|
|
32131
32143
|
U
|
|
32132
|
-
), c != null && Jv(c, X, I.current, e, E)),
|
|
32133
|
-
return /* @__PURE__ */ x.createElement("div", { ref:
|
|
32144
|
+
), c != null && Jv(c, X, I.current, e, E)), pt = g.useCallback(() => e.onFocusOut(), []);
|
|
32145
|
+
return /* @__PURE__ */ x.createElement("div", { ref: le, style: p, role: A, "col-id": o, onBlur: pt }, K ? /* @__PURE__ */ x.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: G }, Be()) : Be());
|
|
32134
32146
|
}, tw = g.memo(ew), sw = ({ rowCtrl: e, containerType: t }) => {
|
|
32135
32147
|
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(
|
|
32136
32148
|
() => l ? e.getInitialRowTop(t) : void 0
|
|
@@ -32142,7 +32154,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32142
32154
|
if (W.current || !R || he > 10)
|
|
32143
32155
|
return;
|
|
32144
32156
|
const G = (_a3 = T.current) == null ? void 0 : _a3.firstChild;
|
|
32145
|
-
G ? (e.setupDetailRowAutoHeight(G), W.current = true) : $((
|
|
32157
|
+
G ? (e.setupDetailRowAutoHeight(G), W.current = true) : $((le) => le + 1);
|
|
32146
32158
|
}, [R, he]);
|
|
32147
32159
|
const te = g.useRef();
|
|
32148
32160
|
te.current || (te.current = new ys(() => T.current));
|
|
@@ -32153,34 +32165,34 @@ var Iv = 1e3, Lv = class {
|
|
|
32153
32165
|
}
|
|
32154
32166
|
if (!e.isAlive())
|
|
32155
32167
|
return;
|
|
32156
|
-
const
|
|
32168
|
+
const le = {
|
|
32157
32169
|
// the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
|
|
32158
32170
|
// as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
|
|
32159
32171
|
setTop: P,
|
|
32160
32172
|
setTransform: I,
|
|
32161
32173
|
// i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
|
|
32162
32174
|
// React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
|
|
32163
|
-
addOrRemoveCssClass: (
|
|
32164
|
-
setDomOrder: (
|
|
32175
|
+
addOrRemoveCssClass: (ae, Be) => te.current.addOrRemoveCssClass(ae, Be),
|
|
32176
|
+
setDomOrder: (ae) => r.current = ae,
|
|
32165
32177
|
setRowIndex: c,
|
|
32166
32178
|
setRowId: d,
|
|
32167
32179
|
setRowBusinessKey: p,
|
|
32168
32180
|
setUserStyles: C,
|
|
32169
32181
|
// if we don't maintain the order, then cols will be ripped out and into the dom
|
|
32170
32182
|
// when cols reordered, which would stop the CSS transitions from working
|
|
32171
|
-
setCellCtrls: (
|
|
32172
|
-
v.current = f.current
|
|
32173
|
-
const
|
|
32174
|
-
|
|
32183
|
+
setCellCtrls: (ae, Be) => {
|
|
32184
|
+
v.current = f.current;
|
|
32185
|
+
const pt = Ao(v.current, ae, r.current);
|
|
32186
|
+
pt !== v.current && (f.current = pt, xo(Be, () => w(pt)));
|
|
32175
32187
|
},
|
|
32176
|
-
showFullWidth: (
|
|
32188
|
+
showFullWidth: (ae) => E(ae),
|
|
32177
32189
|
getFullWidthCellRenderer: () => L.current,
|
|
32178
|
-
refreshFullWidth: (
|
|
32190
|
+
refreshFullWidth: (ae) => X.current ? (E((Be) => ({
|
|
32179
32191
|
...Be,
|
|
32180
|
-
params:
|
|
32181
|
-
})), true) : !L.current || !L.current.refresh ? false : L.current.refresh(
|
|
32192
|
+
params: ae()
|
|
32193
|
+
})), true) : !L.current || !L.current.refresh ? false : L.current.refresh(ae())
|
|
32182
32194
|
};
|
|
32183
|
-
e.setComp(
|
|
32195
|
+
e.setComp(le, G, t, o.current);
|
|
32184
32196
|
}, []);
|
|
32185
32197
|
g.useLayoutEffect(
|
|
32186
32198
|
() => bs(R, s, T.current, L),
|
|
@@ -32220,7 +32232,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32220
32232
|
);
|
|
32221
32233
|
}, iw = g.memo(sw), ow = ({ name: e }) => {
|
|
32222
32234
|
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;
|
|
32223
|
-
|
|
32235
|
+
wt(" AG Row Container " + e + " ", m);
|
|
32224
32236
|
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(() => {
|
|
32225
32237
|
if (f() && (u.current = t.destroyBean(u.current)), C()) {
|
|
32226
32238
|
const E = (P) => {
|
|
@@ -32268,31 +32280,31 @@ var Iv = 1e3, Lv = class {
|
|
|
32268
32280
|
}, rw = g.memo(ow), nw = () => {
|
|
32269
32281
|
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();
|
|
32270
32282
|
z.current || (z.current = new ys(() => _.current));
|
|
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([]),
|
|
32272
|
-
|
|
32273
|
-
const
|
|
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([]), le = g.useRef([]);
|
|
32284
|
+
wt(" AG Grid Body ", _), wt(" AG Pinned Top ", U), wt(" AG Sticky Top ", se), wt(" AG Middle ", Q), wt(" AG Pinned Bottom ", xe);
|
|
32285
|
+
const ae = g.useCallback((We) => {
|
|
32274
32286
|
if (_.current = We, !We) {
|
|
32275
|
-
G.current = e.destroyBeans(G.current),
|
|
32287
|
+
G.current = e.destroyBeans(G.current), le.current.forEach((re) => re()), le.current = [];
|
|
32276
32288
|
return;
|
|
32277
32289
|
}
|
|
32278
32290
|
if (!e)
|
|
32279
32291
|
return;
|
|
32280
|
-
const Ps = (
|
|
32281
|
-
|
|
32282
|
-
}, li = (
|
|
32283
|
-
const Pe = e.createBean(new
|
|
32292
|
+
const Ps = (re, Pe) => {
|
|
32293
|
+
re.appendChild(Pe), le.current.push(() => re.removeChild(Pe));
|
|
32294
|
+
}, li = (re) => {
|
|
32295
|
+
const Pe = e.createBean(new re());
|
|
32284
32296
|
return G.current.push(Pe), Pe;
|
|
32285
|
-
}, Jt = (
|
|
32286
|
-
Ps(
|
|
32297
|
+
}, Jt = (re, Pe, Rl) => {
|
|
32298
|
+
Ps(re, document.createComment(Rl)), Ps(re, li(Pe).getGui());
|
|
32287
32299
|
};
|
|
32288
32300
|
Jt(We, md, " AG Fake Horizontal Scroll "), Jt(We, fd, " AG Overlay Wrapper "), X.current && Jt(X.current, Cd, " AG Fake Vertical Scroll ");
|
|
32289
32301
|
const yl = {
|
|
32290
32302
|
setRowAnimationCssOnBodyViewport: i,
|
|
32291
|
-
setColumnCount: (
|
|
32292
|
-
_.current && xa(_.current,
|
|
32303
|
+
setColumnCount: (re) => {
|
|
32304
|
+
_.current && xa(_.current, re);
|
|
32293
32305
|
},
|
|
32294
|
-
setRowCount: (
|
|
32295
|
-
_.current && Ea(_.current,
|
|
32306
|
+
setRowCount: (re) => {
|
|
32307
|
+
_.current && Ea(_.current, re);
|
|
32296
32308
|
},
|
|
32297
32309
|
setTopHeight: r,
|
|
32298
32310
|
setBottomHeight: l,
|
|
@@ -32301,18 +32313,18 @@ var Iv = 1e3, Lv = class {
|
|
|
32301
32313
|
setStickyTopWidth: p,
|
|
32302
32314
|
setTopDisplay: E,
|
|
32303
32315
|
setBottomDisplay: P,
|
|
32304
|
-
setColumnMovingCss: (
|
|
32316
|
+
setColumnMovingCss: (re, Pe) => z.current.addOrRemoveCssClass(re, Pe),
|
|
32305
32317
|
updateLayoutClasses: te,
|
|
32306
32318
|
setAlwaysVerticalScrollClass: I,
|
|
32307
32319
|
setPinnedTopBottomOverflowY: L,
|
|
32308
|
-
setCellSelectableCss: (
|
|
32309
|
-
setBodyViewportWidth: (
|
|
32310
|
-
Q.current && (Q.current.style.width =
|
|
32320
|
+
setCellSelectableCss: (re, Pe) => he(Pe ? re : null),
|
|
32321
|
+
setBodyViewportWidth: (re) => {
|
|
32322
|
+
Q.current && (Q.current.style.width = re);
|
|
32311
32323
|
},
|
|
32312
|
-
registerBodyViewportResizeListener: (
|
|
32324
|
+
registerBodyViewportResizeListener: (re) => {
|
|
32313
32325
|
if (Q.current) {
|
|
32314
|
-
const Pe = t.observeResize(Q.current,
|
|
32315
|
-
|
|
32326
|
+
const Pe = t.observeResize(Q.current, re);
|
|
32327
|
+
le.current.push(() => Pe());
|
|
32316
32328
|
}
|
|
32317
32329
|
},
|
|
32318
32330
|
setStickyBottomHeight: C,
|
|
@@ -32328,7 +32340,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32328
32340
|
se.current,
|
|
32329
32341
|
K.current
|
|
32330
32342
|
);
|
|
32331
|
-
}, []), Be = g.useMemo(() => ke("ag-root", "ag-unselectable", $), [$]),
|
|
32343
|
+
}, []), Be = g.useMemo(() => ke("ag-root", "ag-unselectable", $), [$]), pt = g.useMemo(
|
|
32332
32344
|
() => ke(
|
|
32333
32345
|
"ag-body-viewport",
|
|
32334
32346
|
s,
|
|
@@ -32376,14 +32388,14 @@ var Iv = 1e3, Lv = class {
|
|
|
32376
32388
|
className: li,
|
|
32377
32389
|
style: Jt
|
|
32378
32390
|
}) => /* @__PURE__ */ x.createElement("div", { ref: We, className: li, role: "presentation", style: Jt }, Ps.map(Sl));
|
|
32379
|
-
return /* @__PURE__ */ x.createElement("div", { ref:
|
|
32391
|
+
return /* @__PURE__ */ x.createElement("div", { ref: ae, className: Be, role: "treegrid" }, /* @__PURE__ */ x.createElement(Uv, null), Xt({
|
|
32380
32392
|
section: U,
|
|
32381
32393
|
className: ue,
|
|
32382
32394
|
style: be,
|
|
32383
32395
|
children: ["topLeft", "topCenter", "topRight", "topFullWidth"]
|
|
32384
32396
|
}), /* @__PURE__ */ x.createElement("div", { className: J, ref: X, role: "presentation" }, Xt({
|
|
32385
32397
|
section: Q,
|
|
32386
|
-
className:
|
|
32398
|
+
className: pt,
|
|
32387
32399
|
children: ["left", "center", "right", "fullWidth"]
|
|
32388
32400
|
})), Xt({
|
|
32389
32401
|
section: se,
|
|
@@ -32463,7 +32475,7 @@ var Iv = 1e3, Lv = class {
|
|
|
32463
32475
|
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(() => {
|
|
32464
32476
|
}), E = g.useRef(), D = g.useRef([]), P = g.useCallback(() => {
|
|
32465
32477
|
}, []), A = g.useMemo(() => e.isDestroyed() ? null : e.getBeans(), [e]);
|
|
32466
|
-
|
|
32478
|
+
wt(" AG Grid ", f);
|
|
32467
32479
|
const I = g.useCallback(($) => {
|
|
32468
32480
|
if (f.current = $, C.current = $ ? e.createBean(new _g()) : e.destroyBean(C.current), !$ || e.isDestroyed())
|
|
32469
32481
|
return;
|
|
@@ -32508,16 +32520,16 @@ var Iv = 1e3, Lv = class {
|
|
|
32508
32520
|
gridHeaderDropZonesSelector: X
|
|
32509
32521
|
} = $.getOptionalSelectors(), Q = [];
|
|
32510
32522
|
if (X) {
|
|
32511
|
-
const G = e.createBean(new X.component()),
|
|
32512
|
-
te.insertAdjacentElement("afterbegin",
|
|
32523
|
+
const G = e.createBean(new X.component()), le = G.getGui();
|
|
32524
|
+
te.insertAdjacentElement("afterbegin", le), Q.push(le), z.push(G);
|
|
32513
32525
|
}
|
|
32514
32526
|
if (se) {
|
|
32515
|
-
const G = e.createBean(new se.component()),
|
|
32516
|
-
|
|
32527
|
+
const G = e.createBean(new se.component()), le = G.getGui(), ae = S.querySelector(".ag-tab-guard-bottom");
|
|
32528
|
+
ae && (ae.insertAdjacentElement("beforebegin", le), Q.push(le)), z.push(G), D.current.push(G);
|
|
32517
32529
|
}
|
|
32518
32530
|
const xe = (G) => {
|
|
32519
|
-
const
|
|
32520
|
-
return te.insertAdjacentElement("beforeend",
|
|
32531
|
+
const le = e.createBean(new G()), ae = le.getGui();
|
|
32532
|
+
return te.insertAdjacentElement("beforeend", ae), Q.push(ae), z.push(le), le;
|
|
32521
32533
|
};
|
|
32522
32534
|
if (K && xe(K.component), U) {
|
|
32523
32535
|
const G = xe(U.component);
|