@wangcheng051/plugin-kit 0.2.0 → 0.2.1
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/CHANGELOG.md +11 -0
- package/README.md +19 -2
- package/dist/index.cjs +51 -51
- package/dist/index.js +890 -881
- package/dist/index.umd.cjs +52 -52
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ai from "react";
|
|
2
|
-
import T, { createContext as xd, useContext as lt, useEffect as Je, useState as
|
|
2
|
+
import T, { createContext as xd, useContext as lt, useEffect as Je, useState as x, Component as zh, useRef as N, useCallback as Z, useMemo as $, memo as wt, forwardRef as Ol, useImperativeHandle as _l, useLayoutEffect as Ri, createElement as Ja } from "react";
|
|
3
3
|
import { Typography as Kh, Tooltip as Gd, Tag as $h, Popover as Od, Checkbox as Yh, Button as Mr, Input as _d, Spin as jh, Pagination as qh } from "antd";
|
|
4
4
|
import { useSelector as Vd } from "react-redux";
|
|
5
5
|
import sl, { createPortal as Hd } from "react-dom";
|
|
@@ -1085,7 +1085,7 @@ const Kp = "_poper_cidv4_2", $p = "_antTable_cidv4_6", Yp = "_detailTable_cidv4_
|
|
|
1085
1085
|
contextRenderFooter: ag
|
|
1086
1086
|
}, dg = ({ onChange: t = () => {
|
|
1087
1087
|
}, columRef: e }) => {
|
|
1088
|
-
const { language: i } = Vd((c) => c.controller), [s, o] =
|
|
1088
|
+
const { language: i } = Vd((c) => c.controller), [s, o] = x(!1), [r, n] = x(
|
|
1089
1089
|
di(e.current)
|
|
1090
1090
|
);
|
|
1091
1091
|
Je(() => {
|
|
@@ -1184,7 +1184,7 @@ const Kp = "_poper_cidv4_2", $p = "_antTable_cidv4_6", Yp = "_detailTable_cidv4_
|
|
|
1184
1184
|
/* @__PURE__ */ React.createElement(eu, { onClick: () => d() })
|
|
1185
1185
|
));
|
|
1186
1186
|
};
|
|
1187
|
-
var Wl = Object.defineProperty, ug = Object.defineProperties, cg = Object.getOwnPropertyDescriptor, hg = Object.getOwnPropertyDescriptors, Ir = Object.getOwnPropertySymbols, tu = Object.prototype.hasOwnProperty, iu = Object.prototype.propertyIsEnumerable, ud = (t, e, i) => e in t ? Wl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i,
|
|
1187
|
+
var Wl = Object.defineProperty, ug = Object.defineProperties, cg = Object.getOwnPropertyDescriptor, hg = Object.getOwnPropertyDescriptors, Ir = Object.getOwnPropertySymbols, tu = Object.prototype.hasOwnProperty, iu = Object.prototype.propertyIsEnumerable, ud = (t, e, i) => e in t ? Wl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, H = (t, e) => {
|
|
1188
1188
|
for (var i in e || (e = {}))
|
|
1189
1189
|
tu.call(e, i) && ud(t, i, e[i]);
|
|
1190
1190
|
if (Ir)
|
|
@@ -1215,7 +1215,7 @@ je(su, {
|
|
|
1215
1215
|
exists: () => P,
|
|
1216
1216
|
jsonEquals: () => al,
|
|
1217
1217
|
makeNull: () => ei,
|
|
1218
|
-
missing: () =>
|
|
1218
|
+
missing: () => Y,
|
|
1219
1219
|
missingOrEmpty: () => Lt,
|
|
1220
1220
|
toStringOrNull: () => Ao,
|
|
1221
1221
|
values: () => Yi
|
|
@@ -1226,7 +1226,7 @@ function ei(t) {
|
|
|
1226
1226
|
function P(t, e = !1) {
|
|
1227
1227
|
return t != null && (t !== "" || e);
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Y(t) {
|
|
1230
1230
|
return !P(t);
|
|
1231
1231
|
}
|
|
1232
1232
|
function Lt(t) {
|
|
@@ -1475,45 +1475,45 @@ function Cg(...t) {
|
|
|
1475
1475
|
return (e) => t.reduce((i, s) => s(i), e);
|
|
1476
1476
|
}
|
|
1477
1477
|
var vg = () => {
|
|
1478
|
-
}, du = /* @__PURE__ */ ((t) => (t.CommunityCoreModule = "@ag-grid-community/core", t.InfiniteRowModelModule = "@ag-grid-community/infinite-row-model", t.ClientSideRowModelModule = "@ag-grid-community/client-side-row-model", t.CsvExportModule = "@ag-grid-community/csv-export", t.EnterpriseCoreModule = "@ag-grid-enterprise/core", t.RowGroupingModule = "@ag-grid-enterprise/row-grouping", t.ColumnsToolPanelModule = "@ag-grid-enterprise/column-tool-panel", t.FiltersToolPanelModule = "@ag-grid-enterprise/filter-tool-panel", t.MenuModule = "@ag-grid-enterprise/menu", t.SetFilterModule = "@ag-grid-enterprise/set-filter", t.MultiFilterModule = "@ag-grid-enterprise/multi-filter", t.StatusBarModule = "@ag-grid-enterprise/status-bar", t.SideBarModule = "@ag-grid-enterprise/side-bar", t.RangeSelectionModule = "@ag-grid-enterprise/range-selection", t.MasterDetailModule = "@ag-grid-enterprise/master-detail", t.RichSelectModule = "@ag-grid-enterprise/rich-select", t.GridChartsModule = "@ag-grid-enterprise/charts", t.ViewportRowModelModule = "@ag-grid-enterprise/viewport-row-model", t.ServerSideRowModelModule = "@ag-grid-enterprise/server-side-row-model", t.ExcelExportModule = "@ag-grid-enterprise/excel-export", t.ClipboardModule = "@ag-grid-enterprise/clipboard", t.SparklinesModule = "@ag-grid-enterprise/sparklines", t.AdvancedFilterModule = "@ag-grid-enterprise/advanced-filter", t.AngularModule = "@ag-grid-community/angular", t.ReactModule = "@ag-grid-community/react", t.VueModule = "@ag-grid-community/vue", t))(du || {}), rn = class
|
|
1478
|
+
}, du = /* @__PURE__ */ ((t) => (t.CommunityCoreModule = "@ag-grid-community/core", t.InfiniteRowModelModule = "@ag-grid-community/infinite-row-model", t.ClientSideRowModelModule = "@ag-grid-community/client-side-row-model", t.CsvExportModule = "@ag-grid-community/csv-export", t.EnterpriseCoreModule = "@ag-grid-enterprise/core", t.RowGroupingModule = "@ag-grid-enterprise/row-grouping", t.ColumnsToolPanelModule = "@ag-grid-enterprise/column-tool-panel", t.FiltersToolPanelModule = "@ag-grid-enterprise/filter-tool-panel", t.MenuModule = "@ag-grid-enterprise/menu", t.SetFilterModule = "@ag-grid-enterprise/set-filter", t.MultiFilterModule = "@ag-grid-enterprise/multi-filter", t.StatusBarModule = "@ag-grid-enterprise/status-bar", t.SideBarModule = "@ag-grid-enterprise/side-bar", t.RangeSelectionModule = "@ag-grid-enterprise/range-selection", t.MasterDetailModule = "@ag-grid-enterprise/master-detail", t.RichSelectModule = "@ag-grid-enterprise/rich-select", t.GridChartsModule = "@ag-grid-enterprise/charts", t.ViewportRowModelModule = "@ag-grid-enterprise/viewport-row-model", t.ServerSideRowModelModule = "@ag-grid-enterprise/server-side-row-model", t.ExcelExportModule = "@ag-grid-enterprise/excel-export", t.ClipboardModule = "@ag-grid-enterprise/clipboard", t.SparklinesModule = "@ag-grid-enterprise/sparklines", t.AdvancedFilterModule = "@ag-grid-enterprise/advanced-filter", t.AngularModule = "@ag-grid-community/angular", t.ReactModule = "@ag-grid-community/react", t.VueModule = "@ag-grid-community/vue", t))(du || {}), rn = class Ce {
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Globally register the given module for all grids.
|
|
1481
1481
|
* @param module - module to register
|
|
1482
1482
|
*/
|
|
1483
1483
|
static register(e) {
|
|
1484
|
-
|
|
1484
|
+
Ce.__register(e, !0, void 0);
|
|
1485
1485
|
}
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Globally register the given modules for all grids.
|
|
1488
1488
|
* @param modules - modules to register
|
|
1489
1489
|
*/
|
|
1490
1490
|
static registerModules(e) {
|
|
1491
|
-
|
|
1491
|
+
Ce.__registerModules(e, !0, void 0);
|
|
1492
1492
|
}
|
|
1493
1493
|
/** AG GRID INTERNAL - Module registration helper. */
|
|
1494
1494
|
static __register(e, i, s) {
|
|
1495
|
-
|
|
1495
|
+
Ce.runVersionChecks(e), s !== void 0 ? (Ce.areGridScopedModules = !0, Ce.gridModulesMap[s] === void 0 && (Ce.gridModulesMap[s] = {}), Ce.gridModulesMap[s][e.moduleName] = e) : Ce.globalModulesMap[e.moduleName] = e, Ce.setModuleBased(i);
|
|
1496
1496
|
}
|
|
1497
1497
|
/** AG GRID INTERNAL - Unregister grid scoped module. */
|
|
1498
1498
|
static __unRegisterGridModules(e) {
|
|
1499
|
-
delete
|
|
1499
|
+
delete Ce.gridModulesMap[e];
|
|
1500
1500
|
}
|
|
1501
1501
|
/** AG GRID INTERNAL - Module registration helper. */
|
|
1502
1502
|
static __registerModules(e, i, s) {
|
|
1503
|
-
|
|
1503
|
+
Ce.setModuleBased(i), e && e.forEach((o) => Ce.__register(o, i, s));
|
|
1504
1504
|
}
|
|
1505
1505
|
static isValidModuleVersion(e) {
|
|
1506
|
-
const [i, s] = e.version.split(".") || [], [o, r] =
|
|
1506
|
+
const [i, s] = e.version.split(".") || [], [o, r] = Ce.currentModuleVersion.split(".") || [];
|
|
1507
1507
|
return i === o && s === r;
|
|
1508
1508
|
}
|
|
1509
1509
|
static runVersionChecks(e) {
|
|
1510
|
-
if (
|
|
1510
|
+
if (Ce.currentModuleVersion || (Ce.currentModuleVersion = e.version), e.version ? Ce.isValidModuleVersion(e) || console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is version ${e.version} but the other modules are version ${this.currentModuleVersion}. Please update all modules to the same version.`) : console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is incompatible. Please update all modules to the same version.`), e.validate) {
|
|
1511
1511
|
const i = e.validate();
|
|
1512
1512
|
i.isValid || console.error(`AG Grid: ${i.message}`);
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
1515
|
static setModuleBased(e) {
|
|
1516
|
-
|
|
1516
|
+
Ce.moduleBased === void 0 ? Ce.moduleBased = e : Ce.moduleBased !== e && Gs(
|
|
1517
1517
|
() => {
|
|
1518
1518
|
console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."), console.warn("Please see https://www.ag-grid.com/javascript-grid/modules/ for more information.");
|
|
1519
1519
|
},
|
|
@@ -1524,7 +1524,7 @@ var vg = () => {
|
|
|
1524
1524
|
* AG GRID INTERNAL - Set if files are being served from a single UMD bundle to provide accurate enterprise upgrade steps.
|
|
1525
1525
|
*/
|
|
1526
1526
|
static __setIsBundled() {
|
|
1527
|
-
|
|
1527
|
+
Ce.isBundled = !0;
|
|
1528
1528
|
}
|
|
1529
1529
|
/** AG GRID INTERNAL - Assert a given module has been register, globally or individually with this grid. */
|
|
1530
1530
|
static __assertRegistered(e, i, s) {
|
|
@@ -1533,15 +1533,15 @@ var vg = () => {
|
|
|
1533
1533
|
return !0;
|
|
1534
1534
|
const r = i + e;
|
|
1535
1535
|
let n;
|
|
1536
|
-
if (
|
|
1536
|
+
if (Ce.isBundled)
|
|
1537
1537
|
n = `AG Grid: unable to use ${i} as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle:
|
|
1538
1538
|
|
|
1539
1539
|
<script src="https://cdn.jsdelivr.net/npm/ag-grid-enterprise@AG_GRID_VERSION/dist/ag-grid-enterprise.min.js"><\/script>
|
|
1540
1540
|
|
|
1541
1541
|
For more info see: https://ag-grid.com/javascript-data-grid/getting-started/#getting-started-with-ag-grid-enterprise`;
|
|
1542
|
-
else if (
|
|
1542
|
+
else if (Ce.moduleBased || Ce.moduleBased === void 0) {
|
|
1543
1543
|
let l = (o = Object.entries(du).find(([a, d]) => d === e)) == null ? void 0 : o[0];
|
|
1544
|
-
n = `AG Grid: unable to use ${i} as the ${l} is not registered${
|
|
1544
|
+
n = `AG Grid: unable to use ${i} as the ${l} is not registered${Ce.areGridScopedModules ? ` for gridId: ${s}` : ""}. Check if you have registered the module:
|
|
1545
1545
|
|
|
1546
1546
|
import { ModuleRegistry } from '@ag-grid-community/core';
|
|
1547
1547
|
import { ${l} } from '${e}';
|
|
@@ -1560,26 +1560,26 @@ For more info see: https://www.ag-grid.com/javascript-grid/modules/`;
|
|
|
1560
1560
|
/** AG GRID INTERNAL - Is the given module registered, globally or individually with this grid. */
|
|
1561
1561
|
static __isRegistered(e, i) {
|
|
1562
1562
|
var s;
|
|
1563
|
-
return !!
|
|
1563
|
+
return !!Ce.globalModulesMap[e] || !!((s = Ce.gridModulesMap[i]) != null && s[e]);
|
|
1564
1564
|
}
|
|
1565
1565
|
/** AG GRID INTERNAL - Get all registered modules globally / individually for this grid. */
|
|
1566
1566
|
static __getRegisteredModules(e) {
|
|
1567
|
-
return [...Yi(
|
|
1567
|
+
return [...Yi(Ce.globalModulesMap), ...Yi(Ce.gridModulesMap[e] || {})];
|
|
1568
1568
|
}
|
|
1569
1569
|
/** AG GRID INTERNAL - Get the list of modules registered individually for this grid. */
|
|
1570
1570
|
static __getGridRegisteredModules(e) {
|
|
1571
1571
|
var i;
|
|
1572
|
-
return Yi((i =
|
|
1572
|
+
return Yi((i = Ce.gridModulesMap[e]) != null ? i : {}) || [];
|
|
1573
1573
|
}
|
|
1574
1574
|
/** INTERNAL */
|
|
1575
1575
|
static __isPackageBased() {
|
|
1576
|
-
return !
|
|
1576
|
+
return !Ce.moduleBased;
|
|
1577
1577
|
}
|
|
1578
1578
|
};
|
|
1579
1579
|
rn.globalModulesMap = {};
|
|
1580
1580
|
rn.gridModulesMap = {};
|
|
1581
1581
|
rn.areGridScopedModules = !1;
|
|
1582
|
-
var
|
|
1582
|
+
var he = rn, wg = class {
|
|
1583
1583
|
constructor(t, e) {
|
|
1584
1584
|
if (this.beanWrappers = {}, this.destroyed = !1, !t || !t.beanClasses)
|
|
1585
1585
|
return;
|
|
@@ -1700,7 +1700,7 @@ var ue = rn, wg = class {
|
|
|
1700
1700
|
return;
|
|
1701
1701
|
this.destroyed = !0, this.logger.log(">> Shutting down ag-Application Context");
|
|
1702
1702
|
const t = this.getBeanInstances();
|
|
1703
|
-
this.destroyBeans(t), this.contextParams.providedBeanInstances = null,
|
|
1703
|
+
this.destroyBeans(t), this.contextParams.providedBeanInstances = null, he.__unRegisterGridModules(this.contextParams.gridId), this.logger.log(">> ag-Application Context shut down - component is dead");
|
|
1704
1704
|
}
|
|
1705
1705
|
destroyBean(t) {
|
|
1706
1706
|
t && this.destroyBeans([t]);
|
|
@@ -1731,7 +1731,7 @@ function at(t, e, i) {
|
|
|
1731
1731
|
const s = ts(t.constructor);
|
|
1732
1732
|
s.preDestroyMethods || (s.preDestroyMethods = []), s.preDestroyMethods.push(e);
|
|
1733
1733
|
}
|
|
1734
|
-
function
|
|
1734
|
+
function V(t) {
|
|
1735
1735
|
return (e) => {
|
|
1736
1736
|
const i = ts(e);
|
|
1737
1737
|
i.beanName = t;
|
|
@@ -1742,7 +1742,7 @@ function g(t) {
|
|
|
1742
1742
|
cu(e, t, !1, e, i);
|
|
1743
1743
|
};
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1745
|
+
function ge(t) {
|
|
1746
1746
|
return (e, i, s) => {
|
|
1747
1747
|
cu(e, t, !0, e, i);
|
|
1748
1748
|
};
|
|
@@ -1864,7 +1864,7 @@ u([
|
|
|
1864
1864
|
Wt(3, Mt("globalSyncEventListener"))
|
|
1865
1865
|
], $t.prototype, "setBeans", 1);
|
|
1866
1866
|
$t = u([
|
|
1867
|
-
|
|
1867
|
+
V("eventService")
|
|
1868
1868
|
], $t);
|
|
1869
1869
|
var Kl = class {
|
|
1870
1870
|
constructor(t) {
|
|
@@ -1973,7 +1973,7 @@ var Ve = class pu {
|
|
|
1973
1973
|
return !1;
|
|
1974
1974
|
}
|
|
1975
1975
|
isRowGroupDisplayed(e) {
|
|
1976
|
-
if (
|
|
1976
|
+
if (Y(this.colDef) || Y(this.colDef.showRowGroup))
|
|
1977
1977
|
return !1;
|
|
1978
1978
|
const i = this.colDef.showRowGroup === !0, s = this.colDef.showRowGroup === e;
|
|
1979
1979
|
return i || s;
|
|
@@ -2106,7 +2106,7 @@ var Ve = class pu {
|
|
|
2106
2106
|
return this.sort === "desc";
|
|
2107
2107
|
}
|
|
2108
2108
|
isSortNone() {
|
|
2109
|
-
return
|
|
2109
|
+
return Y(this.sort);
|
|
2110
2110
|
}
|
|
2111
2111
|
isSorting() {
|
|
2112
2112
|
return P(this.sort);
|
|
@@ -2259,13 +2259,13 @@ var Ve = class pu {
|
|
|
2259
2259
|
});
|
|
2260
2260
|
}
|
|
2261
2261
|
getColSpan(e) {
|
|
2262
|
-
if (
|
|
2262
|
+
if (Y(this.colDef.colSpan))
|
|
2263
2263
|
return 1;
|
|
2264
2264
|
const i = this.createBaseColDefParams(e), s = this.colDef.colSpan(i);
|
|
2265
2265
|
return Math.max(s, 1);
|
|
2266
2266
|
}
|
|
2267
2267
|
getRowSpan(e) {
|
|
2268
|
-
if (
|
|
2268
|
+
if (Y(this.colDef.rowSpan))
|
|
2269
2269
|
return 1;
|
|
2270
2270
|
const i = this.createBaseColDefParams(e), s = this.colDef.rowSpan(i);
|
|
2271
2271
|
return Math.max(s, 1);
|
|
@@ -2377,7 +2377,7 @@ u([
|
|
|
2377
2377
|
u([
|
|
2378
2378
|
M
|
|
2379
2379
|
], Ve.prototype, "initialise", 1);
|
|
2380
|
-
var
|
|
2380
|
+
var we = Ve, nn = class vo {
|
|
2381
2381
|
constructor(e, i, s, o) {
|
|
2382
2382
|
this.localEventService = new $t(), this.expandable = !1, this.instanceId = hu(), this.expandableListenerRemoveCallback = null, this.colGroupDef = e, this.groupId = i, this.expanded = !!e && !!e.openByDefault, this.padding = s, this.level = o;
|
|
2383
2383
|
}
|
|
@@ -2439,7 +2439,7 @@ var ve = Ve, nn = class vo {
|
|
|
2439
2439
|
}
|
|
2440
2440
|
addLeafColumns(e) {
|
|
2441
2441
|
this.children && this.children.forEach((i) => {
|
|
2442
|
-
i instanceof
|
|
2442
|
+
i instanceof we ? e.push(i) : i instanceof vo && i.addLeafColumns(e);
|
|
2443
2443
|
});
|
|
2444
2444
|
}
|
|
2445
2445
|
getColumnGroupShow() {
|
|
@@ -2529,7 +2529,7 @@ je(fu, {
|
|
|
2529
2529
|
includes: () => Tt,
|
|
2530
2530
|
insertArrayIntoArray: () => cl,
|
|
2531
2531
|
insertIntoArray: () => Po,
|
|
2532
|
-
last: () =>
|
|
2532
|
+
last: () => ae,
|
|
2533
2533
|
moveInArray: () => hl,
|
|
2534
2534
|
pushAll: () => pl,
|
|
2535
2535
|
removeAllFromArray: () => wu,
|
|
@@ -2544,7 +2544,7 @@ je(fu, {
|
|
|
2544
2544
|
function mu(t) {
|
|
2545
2545
|
return t != null && t.length > 0;
|
|
2546
2546
|
}
|
|
2547
|
-
function
|
|
2547
|
+
function ae(t) {
|
|
2548
2548
|
if (!(!t || !t.length))
|
|
2549
2549
|
return t[t.length - 1];
|
|
2550
2550
|
}
|
|
@@ -2926,7 +2926,7 @@ var L = gi, Fo = class extends L {
|
|
|
2926
2926
|
n.setColDef(l, e, o), this.applyColumnState(n, l, o);
|
|
2927
2927
|
} else {
|
|
2928
2928
|
const l = s.getUniqueKey(e.colId, e.field), a = this.addColumnDefaultAndTypes(e, l);
|
|
2929
|
-
n = new
|
|
2929
|
+
n = new we(a, e, l, t), this.context.createBean(n);
|
|
2930
2930
|
}
|
|
2931
2931
|
return this.dataTypeService.addColumnListeners(n), n;
|
|
2932
2932
|
}
|
|
@@ -3006,7 +3006,7 @@ u([
|
|
|
3006
3006
|
Wt(0, Mt("loggerFactory"))
|
|
3007
3007
|
], Fo.prototype, "setBeans", 1);
|
|
3008
3008
|
Fo = u([
|
|
3009
|
-
|
|
3009
|
+
V("columnFactory")
|
|
3010
3010
|
], Fo);
|
|
3011
3011
|
function li(t, e, i) {
|
|
3012
3012
|
if (e)
|
|
@@ -3049,7 +3049,7 @@ var ln = class Qt {
|
|
|
3049
3049
|
e instanceof Qt && e.checkLeft();
|
|
3050
3050
|
}), this.displayedChildren.length > 0)
|
|
3051
3051
|
if (this.gos.get("enableRtl")) {
|
|
3052
|
-
const i =
|
|
3052
|
+
const i = ae(this.displayedChildren).getLeft();
|
|
3053
3053
|
this.setLeft(i);
|
|
3054
3054
|
} else {
|
|
3055
3055
|
const e = this.displayedChildren[0].getLeft();
|
|
@@ -3145,12 +3145,12 @@ var ln = class Qt {
|
|
|
3145
3145
|
}
|
|
3146
3146
|
addDisplayedLeafColumns(e) {
|
|
3147
3147
|
this.displayedChildren.forEach((i) => {
|
|
3148
|
-
i instanceof
|
|
3148
|
+
i instanceof we ? e.push(i) : i instanceof Qt && i.addDisplayedLeafColumns(e);
|
|
3149
3149
|
});
|
|
3150
3150
|
}
|
|
3151
3151
|
addLeafColumns(e) {
|
|
3152
3152
|
this.children.forEach((i) => {
|
|
3153
|
-
i instanceof
|
|
3153
|
+
i instanceof we ? e.push(i) : i instanceof Qt && i.addLeafColumns(e);
|
|
3154
3154
|
});
|
|
3155
3155
|
}
|
|
3156
3156
|
getChildren() {
|
|
@@ -3355,7 +3355,7 @@ var Rr = /* @__PURE__ */ new Set([p.EVENT_GRID_PRE_DESTROYED, p.EVENT_FILL_START
|
|
|
3355
3355
|
t ? i = `${Os}-${t.getId()}` : i = Os;
|
|
3356
3356
|
const s = this.createAutoGroupColDef(i, t, e);
|
|
3357
3357
|
s.colId = i;
|
|
3358
|
-
const o = new
|
|
3358
|
+
const o = new we(s, null, i, !0);
|
|
3359
3359
|
return this.context.createBean(o), o;
|
|
3360
3360
|
}
|
|
3361
3361
|
/**
|
|
@@ -3368,7 +3368,7 @@ var Rr = /* @__PURE__ */ new Set([p.EVENT_GRID_PRE_DESTROYED, p.EVENT_FILL_START
|
|
|
3368
3368
|
createAutoGroupColDef(t, e, i) {
|
|
3369
3369
|
let s = this.createBaseColDef(e);
|
|
3370
3370
|
const o = this.gos.get("autoGroupColumnDef");
|
|
3371
|
-
gt(s, o), s = this.columnFactory.addColumnDefaultAndTypes(s, t), this.gos.get("treeData") ||
|
|
3371
|
+
gt(s, o), s = this.columnFactory.addColumnDefaultAndTypes(s, t), this.gos.get("treeData") || Y(s.field) && Y(s.valueGetter) && Y(s.filterValueGetter) && s.filter !== "agGroupColumnFilter" && (s.filter = !1), i && i > 0 && (s.headerCheckboxSelection = !1);
|
|
3372
3372
|
const r = this.gos.isColumnsSortingCoupledToGroup(), n = s.valueGetter || s.field != null;
|
|
3373
3373
|
return r && !n && (s.sortIndex = void 0, s.initialSort = void 0), s;
|
|
3374
3374
|
}
|
|
@@ -3400,7 +3400,7 @@ u([
|
|
|
3400
3400
|
g("columnFactory")
|
|
3401
3401
|
], Lo.prototype, "columnFactory", 2);
|
|
3402
3402
|
Lo = u([
|
|
3403
|
-
|
|
3403
|
+
V("autoGroupColService")
|
|
3404
3404
|
], Lo);
|
|
3405
3405
|
var Au = {};
|
|
3406
3406
|
je(Au, {
|
|
@@ -3598,7 +3598,7 @@ var Ye = class extends L {
|
|
|
3598
3598
|
this.eventService.dispatchEvent(i);
|
|
3599
3599
|
}
|
|
3600
3600
|
getSecondaryPivotColumn(t, e) {
|
|
3601
|
-
if (
|
|
3601
|
+
if (Y(this.secondaryColumns))
|
|
3602
3602
|
return null;
|
|
3603
3603
|
const i = this.getPrimaryColumn(e);
|
|
3604
3604
|
let s = null;
|
|
@@ -3612,7 +3612,7 @@ var Ye = class extends L {
|
|
|
3612
3612
|
}
|
|
3613
3613
|
setFirstRightAndLastLeftPinned(t) {
|
|
3614
3614
|
let e, i;
|
|
3615
|
-
this.gos.get("enableRtl") ? (e = this.displayedColumnsLeft ? this.displayedColumnsLeft[0] : null, i = this.displayedColumnsRight ?
|
|
3615
|
+
this.gos.get("enableRtl") ? (e = this.displayedColumnsLeft ? this.displayedColumnsLeft[0] : null, i = this.displayedColumnsRight ? ae(this.displayedColumnsRight) : null) : (e = this.displayedColumnsLeft ? ae(this.displayedColumnsLeft) : null, i = this.displayedColumnsRight ? this.displayedColumnsRight[0] : null), this.gridColumns.forEach((s) => {
|
|
3616
3616
|
s.setLastLeftPinned(s === e, t), s.setFirstRightPinned(s === i, t);
|
|
3617
3617
|
});
|
|
3618
3618
|
}
|
|
@@ -3730,7 +3730,7 @@ var Ye = class extends L {
|
|
|
3730
3730
|
const e = [], i = (s) => {
|
|
3731
3731
|
for (let o = 0; o < s.length; o++) {
|
|
3732
3732
|
const r = s[o];
|
|
3733
|
-
r instanceof
|
|
3733
|
+
r instanceof we ? e.push(r) : r instanceof Ge && i(r.getChildren());
|
|
3734
3734
|
}
|
|
3735
3735
|
};
|
|
3736
3736
|
return i(t), e;
|
|
@@ -3824,10 +3824,10 @@ var Ye = class extends L {
|
|
|
3824
3824
|
const r = t.getDisplayedLeafColumns();
|
|
3825
3825
|
if (!r.length)
|
|
3826
3826
|
return !1;
|
|
3827
|
-
o = s ? r[0] :
|
|
3827
|
+
o = s ? r[0] : ae(r);
|
|
3828
3828
|
} else
|
|
3829
3829
|
o = t;
|
|
3830
|
-
return (s ? i[0] :
|
|
3830
|
+
return (s ? i[0] : ae(i)) === o;
|
|
3831
3831
|
}
|
|
3832
3832
|
getAriaColumnIndex(t) {
|
|
3833
3833
|
let e;
|
|
@@ -4083,17 +4083,17 @@ var Ye = class extends L {
|
|
|
4083
4083
|
b -= C[A.getId()];
|
|
4084
4084
|
else {
|
|
4085
4085
|
E.push(A);
|
|
4086
|
-
const
|
|
4087
|
-
R +=
|
|
4086
|
+
const O = m[F];
|
|
4087
|
+
R += O;
|
|
4088
4088
|
}
|
|
4089
4089
|
});
|
|
4090
4090
|
const D = 1 / R;
|
|
4091
4091
|
E.forEach((A, F) => {
|
|
4092
|
-
const
|
|
4093
|
-
let
|
|
4094
|
-
|
|
4095
|
-
const
|
|
4096
|
-
P(
|
|
4092
|
+
const W = F === E.length - 1;
|
|
4093
|
+
let O;
|
|
4094
|
+
W ? O = b : (O = Math.round(m[F] * h * D), b -= O);
|
|
4095
|
+
const G = A.getMinWidth(), _ = A.getMaxWidth();
|
|
4096
|
+
P(G) && O < G ? (O = G, w[A.getId()] = !0, v = !0) : P(_) && _ > 0 && O > _ && (O = _, w[A.getId()] = !0, v = !0), C[A.getId()] = O;
|
|
4097
4097
|
});
|
|
4098
4098
|
}
|
|
4099
4099
|
f.forEach((E) => {
|
|
@@ -4329,7 +4329,7 @@ var Ye = class extends L {
|
|
|
4329
4329
|
return i < e.length - 1 ? e[i + 1] : null;
|
|
4330
4330
|
}
|
|
4331
4331
|
getDisplayedGroupAtDirection(t, e) {
|
|
4332
|
-
const i = t.getProvidedColumnGroup().getLevel() + t.getPaddingLevel(), s = t.getDisplayedLeafColumns(), o = e === "After" ?
|
|
4332
|
+
const i = t.getProvidedColumnGroup().getLevel() + t.getPaddingLevel(), s = t.getDisplayedLeafColumns(), o = e === "After" ? ae(s) : s[0], r = `getDisplayedCol${e}`;
|
|
4333
4333
|
for (; ; ) {
|
|
4334
4334
|
const n = this[r](o);
|
|
4335
4335
|
if (!n)
|
|
@@ -4372,7 +4372,7 @@ var Ye = class extends L {
|
|
|
4372
4372
|
};
|
|
4373
4373
|
}
|
|
4374
4374
|
getColumnState() {
|
|
4375
|
-
if (
|
|
4375
|
+
if (Y(this.primaryColumns) || !this.isAlive())
|
|
4376
4376
|
return [];
|
|
4377
4377
|
const e = this.getPrimaryAndSecondaryAndAutoColumns().map(this.createStateItemFromColumn.bind(this));
|
|
4378
4378
|
return this.orderColumnStateList(e), e;
|
|
@@ -4391,7 +4391,7 @@ var Ye = class extends L {
|
|
|
4391
4391
|
let s = 1e3, o = 1e3, r = [];
|
|
4392
4392
|
this.groupAutoColumns && (r = r.concat(this.groupAutoColumns)), e && (r = r.concat(e)), r.forEach((n) => {
|
|
4393
4393
|
const l = this.getColumnStateFromColDef(n);
|
|
4394
|
-
|
|
4394
|
+
Y(l.rowGroupIndex) && l.rowGroup && (l.rowGroupIndex = s++), Y(l.pivotIndex) && l.pivot && (l.pivotIndex = o++), i.push(l);
|
|
4395
4395
|
}), this.applyColumnState({ state: i, applyOrder: !0 }, t);
|
|
4396
4396
|
}
|
|
4397
4397
|
getColumnStateFromColDef(t) {
|
|
@@ -4455,15 +4455,15 @@ var Ye = class extends L {
|
|
|
4455
4455
|
);
|
|
4456
4456
|
d.forEach(y);
|
|
4457
4457
|
const E = (b, D, A, F) => {
|
|
4458
|
-
const
|
|
4459
|
-
if (
|
|
4460
|
-
return
|
|
4461
|
-
if (
|
|
4458
|
+
const W = b[A.getId()], O = b[F.getId()], G = W != null, _ = O != null;
|
|
4459
|
+
if (G && _)
|
|
4460
|
+
return W - O;
|
|
4461
|
+
if (G)
|
|
4462
4462
|
return -1;
|
|
4463
|
-
if (
|
|
4463
|
+
if (_)
|
|
4464
4464
|
return 1;
|
|
4465
|
-
const
|
|
4466
|
-
return
|
|
4465
|
+
const K = D.indexOf(A), k = D.indexOf(F), oe = K >= 0, de = k >= 0;
|
|
4466
|
+
return oe && de ? K - k : oe ? -1 : 1;
|
|
4467
4467
|
};
|
|
4468
4468
|
this.rowGroupColumns.sort(E.bind(this, c, w)), this.pivotColumns.sort(E.bind(this, h, v)), this.updateGridColumns();
|
|
4469
4469
|
const R = this.groupAutoColumns ? this.groupAutoColumns.slice() : [];
|
|
@@ -4520,16 +4520,16 @@ var Ye = class extends L {
|
|
|
4520
4520
|
if (Zt(R, b))
|
|
4521
4521
|
return;
|
|
4522
4522
|
const A = new Set(v);
|
|
4523
|
-
y.forEach((
|
|
4524
|
-
A.delete(
|
|
4523
|
+
y.forEach((O) => {
|
|
4524
|
+
A.delete(O) || A.add(O);
|
|
4525
4525
|
});
|
|
4526
|
-
const F = [...A],
|
|
4526
|
+
const F = [...A], W = {
|
|
4527
4527
|
type: w,
|
|
4528
4528
|
columns: F,
|
|
4529
4529
|
column: F.length === 1 ? F[0] : null,
|
|
4530
4530
|
source: t
|
|
4531
4531
|
};
|
|
4532
|
-
this.eventService.dispatchEvent(
|
|
4532
|
+
this.eventService.dispatchEvent(W);
|
|
4533
4533
|
}, n = (w) => {
|
|
4534
4534
|
const v = [];
|
|
4535
4535
|
return o.forEach((y) => {
|
|
@@ -4666,7 +4666,7 @@ var Ye = class extends L {
|
|
|
4666
4666
|
return i ? [i] : null;
|
|
4667
4667
|
}
|
|
4668
4668
|
getAutoColumn(t) {
|
|
4669
|
-
return !this.groupAutoColumns || !P(this.groupAutoColumns) ||
|
|
4669
|
+
return !this.groupAutoColumns || !P(this.groupAutoColumns) || Y(this.groupAutoColumns) ? null : this.groupAutoColumns.find((e) => this.columnsMatch(e, t)) || null;
|
|
4670
4670
|
}
|
|
4671
4671
|
columnsMatch(t, e) {
|
|
4672
4672
|
const i = t === e, s = t.getColDef() === e, o = t.getColId() == e;
|
|
@@ -4872,7 +4872,7 @@ var Ye = class extends L {
|
|
|
4872
4872
|
}
|
|
4873
4873
|
calculateColumnsForDisplay() {
|
|
4874
4874
|
let t;
|
|
4875
|
-
return this.pivotMode &&
|
|
4875
|
+
return this.pivotMode && Y(this.secondaryColumns) ? t = this.gridColumns.filter((e) => {
|
|
4876
4876
|
const i = this.groupAutoColumns && Tt(this.groupAutoColumns, e), s = this.valueColumns && Tt(this.valueColumns, e);
|
|
4877
4877
|
return i || s;
|
|
4878
4878
|
}) : t = this.gridColumns.filter((e) => this.groupAutoColumns && Tt(this.groupAutoColumns, e) || e.isVisible()), t;
|
|
@@ -4910,7 +4910,7 @@ var Ye = class extends L {
|
|
|
4910
4910
|
if (!this.gridColumns)
|
|
4911
4911
|
return;
|
|
4912
4912
|
const i = t;
|
|
4913
|
-
if (!(!i &&
|
|
4913
|
+
if (!(!i && Y(this.secondaryColumns))) {
|
|
4914
4914
|
if (i) {
|
|
4915
4915
|
this.processSecondaryColumnDefinitions(t);
|
|
4916
4916
|
const s = this.columnFactory.createColumnTree(
|
|
@@ -4963,7 +4963,7 @@ var Ye = class extends L {
|
|
|
4963
4963
|
this.autoHeightActive = this.gridColumns.filter((t) => t.isAutoHeight()).length > 0, this.autoHeightActive && (this.autoHeightActiveAtLeastOnce = !0, this.gos.isRowModelType("clientSide") || this.gos.isRowModelType("serverSide") || B("autoHeight columns only work with Client Side Row Model and Server Side Row Model."));
|
|
4964
4964
|
}
|
|
4965
4965
|
orderGridColsLike(t) {
|
|
4966
|
-
if (
|
|
4966
|
+
if (Y(t))
|
|
4967
4967
|
return;
|
|
4968
4968
|
const e = yi(t.map((a, d) => [a, d]));
|
|
4969
4969
|
let i = !0;
|
|
@@ -5013,7 +5013,7 @@ var Ye = class extends L {
|
|
|
5013
5013
|
}), [...e, ...i, ...s];
|
|
5014
5014
|
}
|
|
5015
5015
|
addAutoGroupToGridColumns() {
|
|
5016
|
-
if (
|
|
5016
|
+
if (Y(this.groupAutoColumns)) {
|
|
5017
5017
|
this.destroyOldColumns(this.groupAutoColsBalancedTree), this.groupAutoColsBalancedTree = null;
|
|
5018
5018
|
return;
|
|
5019
5019
|
}
|
|
@@ -5098,7 +5098,7 @@ var Ye = class extends L {
|
|
|
5098
5098
|
}
|
|
5099
5099
|
derivedDisplayedColumnsFromDisplayedTree(t, e) {
|
|
5100
5100
|
e.length = 0, Bi(t, !0, (i) => {
|
|
5101
|
-
i instanceof
|
|
5101
|
+
i instanceof we && e.push(i);
|
|
5102
5102
|
});
|
|
5103
5103
|
}
|
|
5104
5104
|
isColumnVirtualisationSuppressed() {
|
|
@@ -5120,7 +5120,7 @@ var Ye = class extends L {
|
|
|
5120
5120
|
i = this.viewportRowCenter[e];
|
|
5121
5121
|
break;
|
|
5122
5122
|
}
|
|
5123
|
-
return
|
|
5123
|
+
return Y(i) && (i = []), i;
|
|
5124
5124
|
}
|
|
5125
5125
|
calculateHeaderRows() {
|
|
5126
5126
|
this.viewportRowLeft = {}, this.viewportRowRight = {}, this.viewportRowCenter = {};
|
|
@@ -5131,7 +5131,7 @@ var Ye = class extends L {
|
|
|
5131
5131
|
for (let n = 0; n < i.length; n++) {
|
|
5132
5132
|
const l = i[n];
|
|
5133
5133
|
let a = !1;
|
|
5134
|
-
if (l instanceof
|
|
5134
|
+
if (l instanceof we)
|
|
5135
5135
|
a = t[l.getId()] === !0;
|
|
5136
5136
|
else {
|
|
5137
5137
|
const c = l.getDisplayedChildren();
|
|
@@ -5243,9 +5243,9 @@ var Ye = class extends L {
|
|
|
5243
5243
|
const E = y / this.getWidthOfColsInList(f);
|
|
5244
5244
|
let R = y;
|
|
5245
5245
|
for (let b = f.length - 1; b >= 0; b--) {
|
|
5246
|
-
const D = f[b], A = d == null ? void 0 : d[D.getId()], F = (r = A == null ? void 0 : A.minWidth) != null ? r : s == null ? void 0 : s.defaultMinWidth,
|
|
5247
|
-
let
|
|
5248
|
-
P(
|
|
5246
|
+
const D = f[b], A = d == null ? void 0 : d[D.getId()], F = (r = A == null ? void 0 : A.minWidth) != null ? r : s == null ? void 0 : s.defaultMinWidth, W = (n = A == null ? void 0 : A.maxWidth) != null ? n : s == null ? void 0 : s.defaultMaxWidth, O = (l = D.getMinWidth()) != null ? l : 0, G = (a = D.getMaxWidth()) != null ? a : Number.MAX_VALUE, _ = typeof F == "number" && F > O ? F : D.getMinWidth(), K = typeof W == "number" && W < G ? W : D.getMaxWidth();
|
|
5247
|
+
let k = Math.round(D.getActualWidth() * E);
|
|
5248
|
+
P(_) && k < _ ? (k = _, v(D), w = !1) : P(K) && k > K ? (k = K, v(D), w = !1) : b === 0 && (k = R), D.setActualWidth(k, e, !0), R -= k;
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
@@ -5342,7 +5342,7 @@ var Ye = class extends L {
|
|
|
5342
5342
|
for (let i = 0; i < e.length; i++) {
|
|
5343
5343
|
const s = this[e[i]]();
|
|
5344
5344
|
if (s.length)
|
|
5345
|
-
return t ?
|
|
5345
|
+
return t ? ae(s) : s[0];
|
|
5346
5346
|
}
|
|
5347
5347
|
return null;
|
|
5348
5348
|
}
|
|
@@ -5424,8 +5424,8 @@ var Ye = class extends L {
|
|
|
5424
5424
|
const b = (D) => {
|
|
5425
5425
|
const A = w[D];
|
|
5426
5426
|
for (let F = R; F < A; F++) {
|
|
5427
|
-
const
|
|
5428
|
-
f.has(
|
|
5427
|
+
const W = C[F];
|
|
5428
|
+
f.has(W) && (o[W][a] = y++, f.delete(W));
|
|
5429
5429
|
}
|
|
5430
5430
|
R = A;
|
|
5431
5431
|
};
|
|
@@ -5435,8 +5435,8 @@ var Ye = class extends L {
|
|
|
5435
5435
|
b(A), o[A][a] = y++;
|
|
5436
5436
|
else {
|
|
5437
5437
|
const F = D.getColDef();
|
|
5438
|
-
(F[a] === null || F[a] === void 0 && F[d] == null) && (E || (F[n] || F[n] === void 0 && F[l] ? b(A) : (f.forEach((
|
|
5439
|
-
o[
|
|
5438
|
+
(F[a] === null || F[a] === void 0 && F[d] == null) && (E || (F[n] || F[n] === void 0 && F[l] ? b(A) : (f.forEach((G) => {
|
|
5439
|
+
o[G][a] = y + w[G];
|
|
5440
5440
|
}), y += C.length, E = !0)), i[A] || (i[A] = { colId: A }), i[A][a] = y++);
|
|
5441
5441
|
}
|
|
5442
5442
|
});
|
|
@@ -5511,7 +5511,7 @@ u([
|
|
|
5511
5511
|
g("columnDefFactory")
|
|
5512
5512
|
], Ye.prototype, "columnDefFactory", 2);
|
|
5513
5513
|
u([
|
|
5514
|
-
|
|
5514
|
+
ge("aggFuncService")
|
|
5515
5515
|
], Ye.prototype, "aggFuncService", 2);
|
|
5516
5516
|
u([
|
|
5517
5517
|
M
|
|
@@ -5523,7 +5523,7 @@ u([
|
|
|
5523
5523
|
Wt(0, Mt("loggerFactory"))
|
|
5524
5524
|
], Ye.prototype, "setBeans", 1);
|
|
5525
5525
|
Ye = u([
|
|
5526
|
-
|
|
5526
|
+
V("columnModel")
|
|
5527
5527
|
], Ye);
|
|
5528
5528
|
function Ls(t) {
|
|
5529
5529
|
return t === "gridOptionsUpdated" ? "gridOptionsChanged" : t;
|
|
@@ -5601,7 +5601,7 @@ var gl = class extends L {
|
|
|
5601
5601
|
}
|
|
5602
5602
|
};
|
|
5603
5603
|
gl = u([
|
|
5604
|
-
|
|
5604
|
+
V("displayedGroupCreator")
|
|
5605
5605
|
], gl);
|
|
5606
5606
|
var xg = {
|
|
5607
5607
|
enableBrowserTooltips: !0,
|
|
@@ -6043,7 +6043,7 @@ var Mo = Be, qe = class br {
|
|
|
6043
6043
|
/** Combines component props / attributes with the provided gridOptions returning a new combined gridOptions object */
|
|
6044
6044
|
static combineAttributesAndGridOptions(e, i) {
|
|
6045
6045
|
typeof e != "object" && (e = {});
|
|
6046
|
-
const s =
|
|
6046
|
+
const s = H({}, e);
|
|
6047
6047
|
return br.getGridOptionKeys().forEach((r) => {
|
|
6048
6048
|
const n = i[r];
|
|
6049
6049
|
typeof n < "u" && n !== br.VUE_OMITTED_PROPERTY && (s[r] = n);
|
|
@@ -6128,7 +6128,7 @@ var Vr = qe, fl = class extends L {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
};
|
|
6130
6130
|
fl = u([
|
|
6131
|
-
|
|
6131
|
+
V("agStackComponentsRegistry")
|
|
6132
6132
|
], fl);
|
|
6133
6133
|
var Mu = {};
|
|
6134
6134
|
je(Mu, {
|
|
@@ -7077,7 +7077,7 @@ function va(t) {
|
|
|
7077
7077
|
const e = /* @__PURE__ */ new Set();
|
|
7078
7078
|
return t.forEach((i) => e.add(i)), e;
|
|
7079
7079
|
}
|
|
7080
|
-
var Xg =
|
|
7080
|
+
var Xg = H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H({}, Mu), fu), $u), Ju), tc), gu), nu), dc), su), cc), pc), Lu), Cc), Zu), ou), vc), wc), Au), z = Xg, ks = class {
|
|
7081
7081
|
constructor(t = 0, e = 1) {
|
|
7082
7082
|
this.nextValue = t, this.step = e;
|
|
7083
7083
|
}
|
|
@@ -7231,7 +7231,7 @@ var Xg = V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V({}, Mu), fu), $u), Ju), tc), gu), n
|
|
|
7231
7231
|
this.state === 2 && this.hideTooltip(), this.onBodyScrollEventCallback && (this.onBodyScrollEventCallback(), this.onBodyScrollEventCallback = void 0), this.onColumnMovedEventCallback && (this.onColumnMovedEventCallback(), this.onColumnMovedEventCallback = void 0), this.clearTimeouts(), this.state = 0, this.lastMouseEvent = null;
|
|
7232
7232
|
}
|
|
7233
7233
|
showTooltip() {
|
|
7234
|
-
const e =
|
|
7234
|
+
const e = H({}, this.parentComp.getTooltipParams());
|
|
7235
7235
|
if (!P(e.value) || this.shouldDisplayTooltip && !this.shouldDisplayTooltip()) {
|
|
7236
7236
|
this.setToDoNothing();
|
|
7237
7237
|
return;
|
|
@@ -7290,9 +7290,9 @@ var Xg = V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V({}, Mu), fu), $u), Ju), tc), gu), n
|
|
|
7290
7290
|
nudgeY: 18,
|
|
7291
7291
|
skipObserver: this.tooltipMouseTrack
|
|
7292
7292
|
};
|
|
7293
|
-
this.lastMouseEvent ? this.popupService.positionPopupUnderMouseEvent(Te(
|
|
7293
|
+
this.lastMouseEvent ? this.popupService.positionPopupUnderMouseEvent(Te(H({}, e), {
|
|
7294
7294
|
mouseEvent: this.lastMouseEvent
|
|
7295
|
-
})) : this.popupService.positionPopupByComponent(Te(
|
|
7295
|
+
})) : this.popupService.positionPopupByComponent(Te(H({}, e), {
|
|
7296
7296
|
eventSource: this.parentComp.getGui(),
|
|
7297
7297
|
position: "under",
|
|
7298
7298
|
keepWithinBounds: !0,
|
|
@@ -7616,7 +7616,7 @@ u([
|
|
|
7616
7616
|
uu
|
|
7617
7617
|
], nr.prototype, "createChildComponentsPreConstruct", 1);
|
|
7618
7618
|
var j = nr;
|
|
7619
|
-
function
|
|
7619
|
+
function I(t) {
|
|
7620
7620
|
return ef.bind(this, `[ref=${t}]`, t);
|
|
7621
7621
|
}
|
|
7622
7622
|
function ef(t, e, i, s, o) {
|
|
@@ -7681,7 +7681,7 @@ var wa = class extends j {
|
|
|
7681
7681
|
}
|
|
7682
7682
|
};
|
|
7683
7683
|
u([
|
|
7684
|
-
|
|
7684
|
+
I("eFloatingFilterText")
|
|
7685
7685
|
], wa.prototype, "eFloatingFilterText", 2);
|
|
7686
7686
|
u([
|
|
7687
7687
|
g("columnModel")
|
|
@@ -7798,7 +7798,7 @@ var Sc = class {
|
|
|
7798
7798
|
dateFormatOoo: "yyyy-mm-dd"
|
|
7799
7799
|
}, gn = class Rc extends L {
|
|
7800
7800
|
constructor(e, i = {}) {
|
|
7801
|
-
super(), this.eFocusableElement = e, this.callbacks = i, this.callbacks =
|
|
7801
|
+
super(), this.eFocusableElement = e, this.callbacks = i, this.callbacks = H({
|
|
7802
7802
|
shouldStopEventPropagation: () => !1,
|
|
7803
7803
|
onTabKeyDown: (s) => {
|
|
7804
7804
|
if (s.defaultPrevented)
|
|
@@ -8433,7 +8433,7 @@ u([
|
|
|
8433
8433
|
g("rowModel")
|
|
8434
8434
|
], fn.prototype, "rowModel", 2);
|
|
8435
8435
|
u([
|
|
8436
|
-
|
|
8436
|
+
I("eFilterBody")
|
|
8437
8437
|
], fn.prototype, "eFilterBody", 2);
|
|
8438
8438
|
u([
|
|
8439
8439
|
M
|
|
@@ -8666,16 +8666,16 @@ u([
|
|
|
8666
8666
|
g("popupService")
|
|
8667
8667
|
], ps.prototype, "popupService", 2);
|
|
8668
8668
|
u([
|
|
8669
|
-
|
|
8669
|
+
I("eLabel")
|
|
8670
8670
|
], ps.prototype, "eLabel", 2);
|
|
8671
8671
|
u([
|
|
8672
|
-
|
|
8672
|
+
I("eWrapper")
|
|
8673
8673
|
], ps.prototype, "eWrapper", 2);
|
|
8674
8674
|
u([
|
|
8675
|
-
|
|
8675
|
+
I("eDisplayField")
|
|
8676
8676
|
], ps.prototype, "eDisplayField", 2);
|
|
8677
8677
|
u([
|
|
8678
|
-
|
|
8678
|
+
I("eIcon")
|
|
8679
8679
|
], ps.prototype, "eIcon", 2);
|
|
8680
8680
|
var mn = class Dr extends j {
|
|
8681
8681
|
constructor(e = "default", i = !1) {
|
|
@@ -8814,7 +8814,7 @@ u([
|
|
|
8814
8814
|
], mn.prototype, "init", 1);
|
|
8815
8815
|
var hd = mn, Dc = class Ac extends ps {
|
|
8816
8816
|
constructor(e) {
|
|
8817
|
-
super(
|
|
8817
|
+
super(H({
|
|
8818
8818
|
pickerAriaLabelKey: "ariaLabelSelectField",
|
|
8819
8819
|
pickerAriaLabelValue: "Select Field",
|
|
8820
8820
|
pickerType: "ag-list",
|
|
@@ -8960,13 +8960,13 @@ var Cn = Dc, zt = class extends Tc {
|
|
|
8960
8960
|
}
|
|
8961
8961
|
};
|
|
8962
8962
|
u([
|
|
8963
|
-
|
|
8963
|
+
I("eLabel")
|
|
8964
8964
|
], zt.prototype, "eLabel", 2);
|
|
8965
8965
|
u([
|
|
8966
|
-
|
|
8966
|
+
I("eWrapper")
|
|
8967
8967
|
], zt.prototype, "eWrapper", 2);
|
|
8968
8968
|
u([
|
|
8969
|
-
|
|
8969
|
+
I("eInput")
|
|
8970
8970
|
], zt.prototype, "eInput", 2);
|
|
8971
8971
|
var vn = class extends zt {
|
|
8972
8972
|
constructor(t, e = "ag-checkbox", i = "checkbox") {
|
|
@@ -9691,7 +9691,7 @@ var Le = dt, ke = class We extends Le {
|
|
|
9691
9691
|
}
|
|
9692
9692
|
createCondition(e) {
|
|
9693
9693
|
const i = this.getConditionType(e), s = {}, o = this.getValues(e);
|
|
9694
|
-
return o.length > 0 && (s.dateFrom = Nt(o[0])), o.length > 1 && (s.dateTo = Nt(o[1])),
|
|
9694
|
+
return o.length > 0 && (s.dateFrom = Nt(o[0])), o.length > 1 && (s.dateTo = Nt(o[1])), H({
|
|
9695
9695
|
dateFrom: null,
|
|
9696
9696
|
dateTo: null,
|
|
9697
9697
|
filterType: this.getFilterType(),
|
|
@@ -9882,10 +9882,10 @@ u([
|
|
|
9882
9882
|
g("userComponentFactory")
|
|
9883
9883
|
], wn.prototype, "userComponentFactory", 2);
|
|
9884
9884
|
u([
|
|
9885
|
-
|
|
9885
|
+
I("eReadOnlyText")
|
|
9886
9886
|
], wn.prototype, "eReadOnlyText", 2);
|
|
9887
9887
|
u([
|
|
9888
|
-
|
|
9888
|
+
I("eDateWrapper")
|
|
9889
9889
|
], wn.prototype, "eDateWrapper", 2);
|
|
9890
9890
|
var Ic = class extends j {
|
|
9891
9891
|
constructor() {
|
|
@@ -9955,7 +9955,7 @@ var Ic = class extends j {
|
|
|
9955
9955
|
}
|
|
9956
9956
|
};
|
|
9957
9957
|
u([
|
|
9958
|
-
|
|
9958
|
+
I("eDateInput")
|
|
9959
9959
|
], Ic.prototype, "eDateInput", 2);
|
|
9960
9960
|
var gs = class extends zt {
|
|
9961
9961
|
constructor(t, e = "ag-text-field", i = "text") {
|
|
@@ -10273,7 +10273,7 @@ var Oc = xc, _c = class extends Ea {
|
|
|
10273
10273
|
value: n,
|
|
10274
10274
|
textFormatter: f
|
|
10275
10275
|
};
|
|
10276
|
-
return r.some((C) => this.matcher(Te(
|
|
10276
|
+
return r.some((C) => this.matcher(Te(H({}, m), { filterText: C })));
|
|
10277
10277
|
}
|
|
10278
10278
|
getModelAsString(e) {
|
|
10279
10279
|
var i;
|
|
@@ -10402,7 +10402,7 @@ var Ta = kt, Vc = class extends L {
|
|
|
10402
10402
|
}
|
|
10403
10403
|
};
|
|
10404
10404
|
u([
|
|
10405
|
-
|
|
10405
|
+
I("eFloatingFilterInputContainer")
|
|
10406
10406
|
], Sn.prototype, "eFloatingFilterInputContainer", 2);
|
|
10407
10407
|
u([
|
|
10408
10408
|
M
|
|
@@ -10637,19 +10637,19 @@ Ci.TEMPLATE = /* html */
|
|
|
10637
10637
|
<span ref="eSortNone" class="ag-sort-indicator-icon ag-sort-none-icon ag-hidden" aria-hidden="true"></span>
|
|
10638
10638
|
</span>`;
|
|
10639
10639
|
u([
|
|
10640
|
-
|
|
10640
|
+
I("eSortOrder")
|
|
10641
10641
|
], Ci.prototype, "eSortOrder", 2);
|
|
10642
10642
|
u([
|
|
10643
|
-
|
|
10643
|
+
I("eSortAsc")
|
|
10644
10644
|
], Ci.prototype, "eSortAsc", 2);
|
|
10645
10645
|
u([
|
|
10646
|
-
|
|
10646
|
+
I("eSortDesc")
|
|
10647
10647
|
], Ci.prototype, "eSortDesc", 2);
|
|
10648
10648
|
u([
|
|
10649
|
-
|
|
10649
|
+
I("eSortMixed")
|
|
10650
10650
|
], Ci.prototype, "eSortMixed", 2);
|
|
10651
10651
|
u([
|
|
10652
|
-
|
|
10652
|
+
I("eSortNone")
|
|
10653
10653
|
], Ci.prototype, "eSortNone", 2);
|
|
10654
10654
|
u([
|
|
10655
10655
|
g("columnModel")
|
|
@@ -10752,7 +10752,7 @@ var Da = Ci, et = class kc extends j {
|
|
|
10752
10752
|
this.eSortNone
|
|
10753
10753
|
)), this.eSortIndicator.setupSort(this.params.column), !this.currentSort)
|
|
10754
10754
|
return;
|
|
10755
|
-
this.addManagedListener(this.params.column,
|
|
10755
|
+
this.addManagedListener(this.params.column, we.EVENT_MOVING_CHANGED, () => {
|
|
10756
10756
|
this.lastMovingChanged = (/* @__PURE__ */ new Date()).getTime();
|
|
10757
10757
|
}), this.eLabel && this.addManagedListener(this.eLabel, "click", (i) => {
|
|
10758
10758
|
const s = this.params.column.isMoving(), r = (/* @__PURE__ */ new Date()).getTime() - this.lastMovingChanged < 50;
|
|
@@ -10785,7 +10785,7 @@ var Da = Ci, et = class kc extends j {
|
|
|
10785
10785
|
if (!e)
|
|
10786
10786
|
return Ut(i), !1;
|
|
10787
10787
|
const { column: o } = this.params;
|
|
10788
|
-
return this.addInIcon("filter", i, o), this.addManagedListener(o,
|
|
10788
|
+
return this.addInIcon("filter", i, o), this.addManagedListener(o, we.EVENT_FILTER_CHANGED, s), s(), !0;
|
|
10789
10789
|
}
|
|
10790
10790
|
onFilterChangedIcon() {
|
|
10791
10791
|
const e = this.params.column.isFilterActive();
|
|
@@ -10820,37 +10820,37 @@ u([
|
|
|
10820
10820
|
g("columnModel")
|
|
10821
10821
|
], et.prototype, "columnModel", 2);
|
|
10822
10822
|
u([
|
|
10823
|
-
|
|
10823
|
+
I("eFilter")
|
|
10824
10824
|
], et.prototype, "eFilter", 2);
|
|
10825
10825
|
u([
|
|
10826
|
-
|
|
10826
|
+
I("eFilterButton")
|
|
10827
10827
|
], et.prototype, "eFilterButton", 2);
|
|
10828
10828
|
u([
|
|
10829
|
-
|
|
10829
|
+
I("eSortIndicator")
|
|
10830
10830
|
], et.prototype, "eSortIndicator", 2);
|
|
10831
10831
|
u([
|
|
10832
|
-
|
|
10832
|
+
I("eMenu")
|
|
10833
10833
|
], et.prototype, "eMenu", 2);
|
|
10834
10834
|
u([
|
|
10835
|
-
|
|
10835
|
+
I("eLabel")
|
|
10836
10836
|
], et.prototype, "eLabel", 2);
|
|
10837
10837
|
u([
|
|
10838
|
-
|
|
10838
|
+
I("eText")
|
|
10839
10839
|
], et.prototype, "eText", 2);
|
|
10840
10840
|
u([
|
|
10841
|
-
|
|
10841
|
+
I("eSortOrder")
|
|
10842
10842
|
], et.prototype, "eSortOrder", 2);
|
|
10843
10843
|
u([
|
|
10844
|
-
|
|
10844
|
+
I("eSortAsc")
|
|
10845
10845
|
], et.prototype, "eSortAsc", 2);
|
|
10846
10846
|
u([
|
|
10847
|
-
|
|
10847
|
+
I("eSortDesc")
|
|
10848
10848
|
], et.prototype, "eSortDesc", 2);
|
|
10849
10849
|
u([
|
|
10850
|
-
|
|
10850
|
+
I("eSortMixed")
|
|
10851
10851
|
], et.prototype, "eSortMixed", 2);
|
|
10852
10852
|
u([
|
|
10853
|
-
|
|
10853
|
+
I("eSortNone")
|
|
10854
10854
|
], et.prototype, "eSortNone", 2);
|
|
10855
10855
|
var El = et, ar = class Bc extends j {
|
|
10856
10856
|
constructor() {
|
|
@@ -10924,10 +10924,10 @@ u([
|
|
|
10924
10924
|
g("columnModel")
|
|
10925
10925
|
], ar.prototype, "columnModel", 2);
|
|
10926
10926
|
u([
|
|
10927
|
-
|
|
10927
|
+
I("agOpened")
|
|
10928
10928
|
], ar.prototype, "eOpenIcon", 2);
|
|
10929
10929
|
u([
|
|
10930
|
-
|
|
10930
|
+
I("agClosed")
|
|
10931
10931
|
], ar.prototype, "eCloseIcon", 2);
|
|
10932
10932
|
var df = ar, fs = class extends j {
|
|
10933
10933
|
isPopup() {
|
|
@@ -10965,7 +10965,7 @@ Aa.TEMPLATE = /* html */
|
|
|
10965
10965
|
<ag-input-text-area ref="eTextArea" class="ag-large-text-input"></ag-input-text-area>
|
|
10966
10966
|
</div>`;
|
|
10967
10967
|
u([
|
|
10968
|
-
|
|
10968
|
+
I("eTextArea")
|
|
10969
10969
|
], Aa.prototype, "eTextArea", 2);
|
|
10970
10970
|
var uf = Aa, Pa = class extends fs {
|
|
10971
10971
|
constructor() {
|
|
@@ -10979,7 +10979,7 @@ var uf = Aa, Pa = class extends fs {
|
|
|
10979
10979
|
init(t) {
|
|
10980
10980
|
this.focusAfterAttached = t.cellStartedEdit;
|
|
10981
10981
|
const { eSelect: e, valueService: i, gos: s } = this, { values: o, value: r, eventKey: n } = t;
|
|
10982
|
-
if (
|
|
10982
|
+
if (Y(o)) {
|
|
10983
10983
|
console.warn("AG Grid: no values found for select cellEditor");
|
|
10984
10984
|
return;
|
|
10985
10985
|
}
|
|
@@ -11011,7 +11011,7 @@ u([
|
|
|
11011
11011
|
g("valueService")
|
|
11012
11012
|
], Pa.prototype, "valueService", 2);
|
|
11013
11013
|
u([
|
|
11014
|
-
|
|
11014
|
+
I("eSelect")
|
|
11015
11015
|
], Pa.prototype, "eSelect", 2);
|
|
11016
11016
|
var dr = class extends fs {
|
|
11017
11017
|
constructor(t) {
|
|
@@ -11061,7 +11061,7 @@ var dr = class extends fs {
|
|
|
11061
11061
|
}
|
|
11062
11062
|
};
|
|
11063
11063
|
u([
|
|
11064
|
-
|
|
11064
|
+
I("eInput")
|
|
11065
11065
|
], dr.prototype, "eInput", 2);
|
|
11066
11066
|
var cf = class {
|
|
11067
11067
|
getTemplate() {
|
|
@@ -11153,7 +11153,7 @@ var zc = class extends j {
|
|
|
11153
11153
|
}
|
|
11154
11154
|
refresh(t, e = !1) {
|
|
11155
11155
|
let i = t.value;
|
|
11156
|
-
return
|
|
11156
|
+
return Y(i) && (i = ""), i === this.lastValue || this.filterManager.isSuppressFlashingCellsBecauseFiltering() ? !1 : (e || this.addSlideAnimation(), this.lastValue = i, P(t.valueFormatted) ? this.eCurrent.textContent = t.valueFormatted : P(t.value) ? this.eCurrent.textContent = i : Ne(this.eCurrent), !0);
|
|
11157
11157
|
}
|
|
11158
11158
|
};
|
|
11159
11159
|
u([
|
|
@@ -11432,7 +11432,7 @@ var De = class ye {
|
|
|
11432
11432
|
}
|
|
11433
11433
|
setGroupValue(e, i) {
|
|
11434
11434
|
const s = this.beans.columnModel.getGridColumn(e);
|
|
11435
|
-
|
|
11435
|
+
Y(this.groupData) && (this.groupData = {});
|
|
11436
11436
|
const o = s.getColId(), r = this.groupData[o];
|
|
11437
11437
|
r !== i && (this.groupData[o] = i, this.dispatchCellChangedEvent(s, i, r));
|
|
11438
11438
|
}
|
|
@@ -11544,7 +11544,7 @@ var De = class ye {
|
|
|
11544
11544
|
this.selected = e, this.eventService && this.dispatchLocalEvent(this.createLocalRowEvent(ye.EVENT_ROW_SELECTED));
|
|
11545
11545
|
const n = this.sibling;
|
|
11546
11546
|
n && n.footer && n.eventService && n.dispatchLocalEvent(n.createLocalRowEvent(ye.EVENT_ROW_SELECTED));
|
|
11547
|
-
const l = Te(
|
|
11547
|
+
const l = Te(H({}, this.createGlobalRowEvent(p.EVENT_ROW_SELECTED)), {
|
|
11548
11548
|
event: i || null,
|
|
11549
11549
|
source: s
|
|
11550
11550
|
});
|
|
@@ -11570,7 +11570,7 @@ var De = class ye {
|
|
|
11570
11570
|
}
|
|
11571
11571
|
// this is for internal use only. To make calling code more readable, this is the same method as setSelected except it takes names parameters
|
|
11572
11572
|
setSelectedParams(e) {
|
|
11573
|
-
return this.rowPinned ? (console.warn("AG Grid: cannot select pinned rows"), 0) : this.id === void 0 ? (console.warn("AG Grid: cannot select node until id for node is known"), 0) : this.beans.selectionService.setNodesSelected(Te(
|
|
11573
|
+
return this.rowPinned ? (console.warn("AG Grid: cannot select pinned rows"), 0) : this.id === void 0 ? (console.warn("AG Grid: cannot select node until id for node is known"), 0) : this.beans.selectionService.setNodesSelected(Te(H({}, e), { nodes: [this.footer ? this.sibling : this] }));
|
|
11574
11574
|
}
|
|
11575
11575
|
/**
|
|
11576
11576
|
* Returns:
|
|
@@ -11739,10 +11739,10 @@ var ee = De, En = class extends j {
|
|
|
11739
11739
|
if (typeof o == "function") {
|
|
11740
11740
|
const n = (t = this.overrides) == null ? void 0 : t.callbackParams;
|
|
11741
11741
|
if (!this.column)
|
|
11742
|
-
s = o(Te(
|
|
11742
|
+
s = o(Te(H({}, n), { node: this.rowNode, data: this.rowNode.data }));
|
|
11743
11743
|
else {
|
|
11744
11744
|
const l = this.column.createColumnFunctionCallbackParams(this.rowNode);
|
|
11745
|
-
s = o(
|
|
11745
|
+
s = o(H(H({}, n), l));
|
|
11746
11746
|
}
|
|
11747
11747
|
} else
|
|
11748
11748
|
s = o ?? !1;
|
|
@@ -11762,7 +11762,7 @@ var ee = De, En = class extends j {
|
|
|
11762
11762
|
}
|
|
11763
11763
|
};
|
|
11764
11764
|
u([
|
|
11765
|
-
|
|
11765
|
+
I("eCheckbox")
|
|
11766
11766
|
], En.prototype, "eCheckbox", 2);
|
|
11767
11767
|
u([
|
|
11768
11768
|
M
|
|
@@ -11997,7 +11997,7 @@ u([
|
|
|
11997
11997
|
at
|
|
11998
11998
|
], Q.prototype, "clearDragSourceParamsList", 1);
|
|
11999
11999
|
Q = u([
|
|
12000
|
-
|
|
12000
|
+
V("dragAndDropService")
|
|
12001
12001
|
], Q);
|
|
12002
12002
|
var is = class extends j {
|
|
12003
12003
|
constructor(t, e, i, s, o, r) {
|
|
@@ -12199,7 +12199,7 @@ var ms = class extends L {
|
|
|
12199
12199
|
i = i.parent;
|
|
12200
12200
|
}
|
|
12201
12201
|
}
|
|
12202
|
-
|
|
12202
|
+
Y(this.displayedGroupNode) && (this.displayedGroupNode = e);
|
|
12203
12203
|
}
|
|
12204
12204
|
setupShowingValueForOpenedParent() {
|
|
12205
12205
|
const t = this.params.node, e = this.params.column;
|
|
@@ -12241,7 +12241,7 @@ var ms = class extends L {
|
|
|
12241
12241
|
if (e != null && !e.isRowGroupDisplayed(t.getId()))
|
|
12242
12242
|
return this.params;
|
|
12243
12243
|
const s = this.params, { value: o, node: r } = this.params, n = this.valueService.formatValue(t, r, o);
|
|
12244
|
-
return Te(
|
|
12244
|
+
return Te(H({}, s), {
|
|
12245
12245
|
valueFormatted: n
|
|
12246
12246
|
});
|
|
12247
12247
|
}
|
|
@@ -12446,19 +12446,19 @@ Cs.TEMPLATE = /* html */
|
|
|
12446
12446
|
<span class="ag-group-child-count" ref="eChildCount"></span>
|
|
12447
12447
|
</span>`;
|
|
12448
12448
|
u([
|
|
12449
|
-
|
|
12449
|
+
I("eExpanded")
|
|
12450
12450
|
], Cs.prototype, "eExpanded", 2);
|
|
12451
12451
|
u([
|
|
12452
|
-
|
|
12452
|
+
I("eContracted")
|
|
12453
12453
|
], Cs.prototype, "eContracted", 2);
|
|
12454
12454
|
u([
|
|
12455
|
-
|
|
12455
|
+
I("eCheckbox")
|
|
12456
12456
|
], Cs.prototype, "eCheckbox", 2);
|
|
12457
12457
|
u([
|
|
12458
|
-
|
|
12458
|
+
I("eValue")
|
|
12459
12459
|
], Cs.prototype, "eValue", 2);
|
|
12460
12460
|
u([
|
|
12461
|
-
|
|
12461
|
+
I("eChildCount")
|
|
12462
12462
|
], Cs.prototype, "eChildCount", 2);
|
|
12463
12463
|
var md = Cs, yn = class Qc extends j {
|
|
12464
12464
|
constructor() {
|
|
@@ -12491,10 +12491,10 @@ yn.TEMPLATE = `<div class="ag-loading">
|
|
|
12491
12491
|
<span class="ag-loading-text" ref="eLoadingText"></span>
|
|
12492
12492
|
</div>`;
|
|
12493
12493
|
u([
|
|
12494
|
-
|
|
12494
|
+
I("eLoadingIcon")
|
|
12495
12495
|
], yn.prototype, "eLoadingIcon", 2);
|
|
12496
12496
|
u([
|
|
12497
|
-
|
|
12497
|
+
I("eLoadingText")
|
|
12498
12498
|
], yn.prototype, "eLoadingText", 2);
|
|
12499
12499
|
var gf = yn, Xc = class Jc extends j {
|
|
12500
12500
|
constructor() {
|
|
@@ -12751,7 +12751,7 @@ Fa.TEMPLATE = /* html*/
|
|
|
12751
12751
|
<ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>
|
|
12752
12752
|
</div>`;
|
|
12753
12753
|
u([
|
|
12754
|
-
|
|
12754
|
+
I("eCheckbox")
|
|
12755
12755
|
], Fa.prototype, "eCheckbox", 2);
|
|
12756
12756
|
var bf = Fa, rh = class extends fs {
|
|
12757
12757
|
constructor() {
|
|
@@ -12791,7 +12791,7 @@ var bf = Fa, rh = class extends fs {
|
|
|
12791
12791
|
}
|
|
12792
12792
|
};
|
|
12793
12793
|
u([
|
|
12794
|
-
|
|
12794
|
+
I("eCheckbox")
|
|
12795
12795
|
], rh.prototype, "eCheckbox", 2);
|
|
12796
12796
|
var Tf = class extends j {
|
|
12797
12797
|
constructor() {
|
|
@@ -12932,7 +12932,7 @@ var Tf = class extends j {
|
|
|
12932
12932
|
if (r)
|
|
12933
12933
|
return i(r, !1);
|
|
12934
12934
|
const n = this.enterpriseAgDefaultCompsModule[e];
|
|
12935
|
-
return n ?
|
|
12935
|
+
return n ? he.__assertRegistered(n, `AG Grid '${t}' component: ${e}`, this.context.getGridId()) : Gs(() => {
|
|
12936
12936
|
this.warnAboutMissingComponent(t, e);
|
|
12937
12937
|
}, "MissingComp" + e), null;
|
|
12938
12938
|
}
|
|
@@ -12949,7 +12949,7 @@ u([
|
|
|
12949
12949
|
M
|
|
12950
12950
|
], Wr.prototype, "init", 1);
|
|
12951
12951
|
Wr = u([
|
|
12952
|
-
|
|
12952
|
+
V("userComponentRegistry")
|
|
12953
12953
|
], Wr);
|
|
12954
12954
|
var Df = {
|
|
12955
12955
|
propertyName: "dateComponent",
|
|
@@ -13182,10 +13182,10 @@ u([
|
|
|
13182
13182
|
g("userComponentRegistry")
|
|
13183
13183
|
], Di.prototype, "userComponentRegistry", 2);
|
|
13184
13184
|
u([
|
|
13185
|
-
|
|
13185
|
+
ge("frameworkComponentWrapper")
|
|
13186
13186
|
], Di.prototype, "frameworkComponentWrapper", 2);
|
|
13187
13187
|
Di = u([
|
|
13188
|
-
|
|
13188
|
+
V("userComponentFactory")
|
|
13189
13189
|
], Di);
|
|
13190
13190
|
var lh = class {
|
|
13191
13191
|
constructor(t) {
|
|
@@ -13286,7 +13286,7 @@ var lh = class {
|
|
|
13286
13286
|
s && this.shouldPreventRowMove() || (this.gos.get("suppressMoveWhenRowDragging") || !i ? this.isDropZoneWithinThisGrid(t) || this.clientSideRowModel.highlightRowAtPixel(o[0], e) : this.moveRows(o, e));
|
|
13287
13287
|
}
|
|
13288
13288
|
getRowIndexNumber(t) {
|
|
13289
|
-
return parseInt(
|
|
13289
|
+
return parseInt(ae(t.getRowIndexString().split("-")), 10);
|
|
13290
13290
|
}
|
|
13291
13291
|
moveRowAndClearHighlight(t) {
|
|
13292
13292
|
const e = this.clientSideRowModel.getLastHighlightedRowNode(), i = e && e.highlighted === 1, s = this.mouseEventService.getNormalisedPosition(t).y, o = t.dragItem.rowNodes;
|
|
@@ -13336,7 +13336,7 @@ var lh = class {
|
|
|
13336
13336
|
t.onDragging(this.draggingToRowDragEvent(p.EVENT_ROW_DRAG_MOVE, i));
|
|
13337
13337
|
}), t.onDragStop && (e.onDragStop = (i) => {
|
|
13338
13338
|
t.onDragStop(this.draggingToRowDragEvent(p.EVENT_ROW_DRAG_END, i));
|
|
13339
|
-
})), this.dragAndDropService.addDropTarget(
|
|
13339
|
+
})), this.dragAndDropService.addDropTarget(H({
|
|
13340
13340
|
isInterestedIn: (i) => i === 2,
|
|
13341
13341
|
getIconName: () => Q.ICON_MOVE,
|
|
13342
13342
|
external: !0
|
|
@@ -13444,7 +13444,7 @@ u([
|
|
|
13444
13444
|
g("ctrlsService")
|
|
13445
13445
|
], Pt.prototype, "ctrlsService", 2);
|
|
13446
13446
|
u([
|
|
13447
|
-
|
|
13447
|
+
ge("rangeService")
|
|
13448
13448
|
], Pt.prototype, "rangeService", 2);
|
|
13449
13449
|
u([
|
|
13450
13450
|
M
|
|
@@ -13602,7 +13602,7 @@ u([
|
|
|
13602
13602
|
at
|
|
13603
13603
|
], _o.prototype, "removeAllListeners", 1);
|
|
13604
13604
|
_o = u([
|
|
13605
|
-
|
|
13605
|
+
V("dragService")
|
|
13606
13606
|
], _o);
|
|
13607
13607
|
var jn = "ag-list-item-hovered", ah = class extends L {
|
|
13608
13608
|
constructor(t, e, i) {
|
|
@@ -13733,15 +13733,15 @@ var te = class {
|
|
|
13733
13733
|
}
|
|
13734
13734
|
/** Similar to `exportDataAsCsv`, except returns the result as a string rather than download it. */
|
|
13735
13735
|
getDataAsCsv(t) {
|
|
13736
|
-
if (
|
|
13736
|
+
if (he.__assertRegistered("@ag-grid-community/csv-export", "api.getDataAsCsv", this.context.getGridId()))
|
|
13737
13737
|
return this.csvCreator.getDataAsCsv(t);
|
|
13738
13738
|
}
|
|
13739
13739
|
/** Downloads a CSV export of the grid's data. */
|
|
13740
13740
|
exportDataAsCsv(t) {
|
|
13741
|
-
|
|
13741
|
+
he.__assertRegistered("@ag-grid-community/csv-export", "api.exportDataAsCsv", this.context.getGridId()) && this.csvCreator.exportDataAsCsv(t);
|
|
13742
13742
|
}
|
|
13743
13743
|
assertNotExcelMultiSheet(t, e) {
|
|
13744
|
-
return
|
|
13744
|
+
return he.__assertRegistered("@ag-grid-enterprise/excel-export", "api." + t, this.context.getGridId()) ? this.excelCreator.getFactoryMode() === 1 ? (console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'"), !1) : !0 : !1;
|
|
13745
13745
|
}
|
|
13746
13746
|
/** Similar to `exportDataAsExcel`, except instead of downloading a file, it will return a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) to be processed by the user. */
|
|
13747
13747
|
getDataAsExcel(t) {
|
|
@@ -13754,7 +13754,7 @@ var te = class {
|
|
|
13754
13754
|
}
|
|
13755
13755
|
/** This is method to be used to get the grid's data as a sheet, that will later be exported either by `getMultipleSheetsAsExcel()` or `exportMultipleSheetsAsExcel()`. */
|
|
13756
13756
|
getSheetDataForExcel(t) {
|
|
13757
|
-
if (
|
|
13757
|
+
if (he.__assertRegistered("@ag-grid-enterprise/excel-export", "api.getSheetDataForExcel", this.context.getGridId()))
|
|
13758
13758
|
return this.excelCreator.setFactoryMode(
|
|
13759
13759
|
1
|
|
13760
13760
|
/* MULTI_SHEET */
|
|
@@ -13762,12 +13762,12 @@ var te = class {
|
|
|
13762
13762
|
}
|
|
13763
13763
|
/** Similar to `exportMultipleSheetsAsExcel`, except instead of downloading a file, it will return a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) to be processed by the user. */
|
|
13764
13764
|
getMultipleSheetsAsExcel(t) {
|
|
13765
|
-
if (
|
|
13765
|
+
if (he.__assertRegistered("@ag-grid-enterprise/excel-export", "api.getMultipleSheetsAsExcel", this.context.getGridId()))
|
|
13766
13766
|
return this.excelCreator.getMultipleSheetsAsExcel(t);
|
|
13767
13767
|
}
|
|
13768
13768
|
/** Downloads an Excel export of multiple sheets in one file. */
|
|
13769
13769
|
exportMultipleSheetsAsExcel(t) {
|
|
13770
|
-
|
|
13770
|
+
he.__assertRegistered("@ag-grid-enterprise/excel-export", "api.exportMultipleSheetsAsExcel", this.context.getGridId()) && this.excelCreator.exportMultipleSheetsAsExcel(t);
|
|
13771
13771
|
}
|
|
13772
13772
|
/**
|
|
13773
13773
|
* Sets an ARIA property in the grid panel (element with `role=\"grid\"`), and removes an ARIA property when the value is null.
|
|
@@ -13877,7 +13877,7 @@ var te = class {
|
|
|
13877
13877
|
* across multiple groups and you want to update the grid view in a single rerender instead of on every group change.
|
|
13878
13878
|
*/
|
|
13879
13879
|
onGroupExpandedOrCollapsed() {
|
|
13880
|
-
if (
|
|
13880
|
+
if (Y(this.clientSideRowModel)) {
|
|
13881
13881
|
this.logMissingRowModel("onGroupExpandedOrCollapsed", "clientSide");
|
|
13882
13882
|
return;
|
|
13883
13883
|
}
|
|
@@ -13888,7 +13888,7 @@ var te = class {
|
|
|
13888
13888
|
* Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.
|
|
13889
13889
|
*/
|
|
13890
13890
|
refreshClientSideRowModel(t) {
|
|
13891
|
-
if (
|
|
13891
|
+
if (Y(this.clientSideRowModel)) {
|
|
13892
13892
|
this.logMissingRowModel("refreshClientSideRowModel", "clientSide");
|
|
13893
13893
|
return;
|
|
13894
13894
|
}
|
|
@@ -13944,7 +13944,7 @@ var te = class {
|
|
|
13944
13944
|
}
|
|
13945
13945
|
/** Get the state of the Advanced Filter. Used for saving Advanced Filter state */
|
|
13946
13946
|
getAdvancedFilterModel() {
|
|
13947
|
-
return
|
|
13947
|
+
return he.__assertRegistered("@ag-grid-enterprise/advanced-filter", "api.getAdvancedFilterModel", this.context.getGridId()) ? this.filterManager.getAdvancedFilterModel() : null;
|
|
13948
13948
|
}
|
|
13949
13949
|
/** Set the state of the Advanced Filter. Used for restoring Advanced Filter state */
|
|
13950
13950
|
setAdvancedFilterModel(t) {
|
|
@@ -13952,7 +13952,7 @@ var te = class {
|
|
|
13952
13952
|
}
|
|
13953
13953
|
/** Open the Advanced Filter Builder dialog (if enabled). */
|
|
13954
13954
|
showAdvancedFilterBuilder() {
|
|
13955
|
-
|
|
13955
|
+
he.__assertRegistered("@ag-grid-enterprise/advanced-filter", "api.setAdvancedFilterModel", this.context.getGridId()) && this.filterManager.showAdvancedFilterBuilder("api");
|
|
13956
13956
|
}
|
|
13957
13957
|
/**
|
|
13958
13958
|
* Set all of the provided nodes selection state to the provided value.
|
|
@@ -13998,7 +13998,7 @@ var te = class {
|
|
|
13998
13998
|
* If `groupSelectsChildren=true` the returned object will be hierarchical, and will conform to IServerSideGroupSelectionState.
|
|
13999
13999
|
*/
|
|
14000
14000
|
getServerSideSelectionState() {
|
|
14001
|
-
return
|
|
14001
|
+
return Y(this.serverSideRowModel) ? (this.logMissingRowModel("getServerSideSelectionState", "serverSide"), null) : this.selectionService.getSelectionState();
|
|
14002
14002
|
}
|
|
14003
14003
|
/**
|
|
14004
14004
|
* Set the rules matching the selected rows in the SSRM.
|
|
@@ -14007,7 +14007,7 @@ var te = class {
|
|
|
14007
14007
|
* If `groupSelectsChildren=true` the param will be hierarchical, and should conform to IServerSideGroupSelectionState.
|
|
14008
14008
|
*/
|
|
14009
14009
|
setServerSideSelectionState(t) {
|
|
14010
|
-
if (
|
|
14010
|
+
if (Y(this.serverSideRowModel)) {
|
|
14011
14011
|
this.logMissingRowModel("setServerSideSelectionState", "serverSide");
|
|
14012
14012
|
return;
|
|
14013
14013
|
}
|
|
@@ -14057,7 +14057,7 @@ var te = class {
|
|
|
14057
14057
|
* Designed for use with `'children'` as the group selection type, where groups don't actually appear in the selection normally.
|
|
14058
14058
|
*/
|
|
14059
14059
|
getBestCostNodeSelection() {
|
|
14060
|
-
if (
|
|
14060
|
+
if (Y(this.clientSideRowModel)) {
|
|
14061
14061
|
this.logMissingRowModel("getBestCostNodeSelection", "clientSide");
|
|
14062
14062
|
return;
|
|
14063
14063
|
}
|
|
@@ -14105,7 +14105,7 @@ var te = class {
|
|
|
14105
14105
|
* but excluding groups the grid created where gaps were missing in the hierarchy.
|
|
14106
14106
|
*/
|
|
14107
14107
|
forEachLeafNode(t) {
|
|
14108
|
-
if (
|
|
14108
|
+
if (Y(this.clientSideRowModel)) {
|
|
14109
14109
|
this.logMissingRowModel("forEachLeafNode", "clientSide");
|
|
14110
14110
|
return;
|
|
14111
14111
|
}
|
|
@@ -14122,7 +14122,7 @@ var te = class {
|
|
|
14122
14122
|
}
|
|
14123
14123
|
/** Similar to `forEachNode`, except skips any filtered out data. */
|
|
14124
14124
|
forEachNodeAfterFilter(t) {
|
|
14125
|
-
if (
|
|
14125
|
+
if (Y(this.clientSideRowModel)) {
|
|
14126
14126
|
this.logMissingRowModel("forEachNodeAfterFilter", "clientSide");
|
|
14127
14127
|
return;
|
|
14128
14128
|
}
|
|
@@ -14130,7 +14130,7 @@ var te = class {
|
|
|
14130
14130
|
}
|
|
14131
14131
|
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
|
|
14132
14132
|
forEachNodeAfterFilterAndSort(t) {
|
|
14133
|
-
if (
|
|
14133
|
+
if (Y(this.clientSideRowModel)) {
|
|
14134
14134
|
this.logMissingRowModel("forEachNodeAfterFilterAndSort", "clientSide");
|
|
14135
14135
|
return;
|
|
14136
14136
|
}
|
|
@@ -14159,7 +14159,7 @@ var te = class {
|
|
|
14159
14159
|
}
|
|
14160
14160
|
/** Gets the status panel instance corresponding to the supplied `id`. */
|
|
14161
14161
|
getStatusPanel(t) {
|
|
14162
|
-
if (!
|
|
14162
|
+
if (!he.__assertRegistered("@ag-grid-enterprise/status-bar", "api.getStatusPanel", this.context.getGridId()))
|
|
14163
14163
|
return;
|
|
14164
14164
|
const e = this.statusBarService.getStatusPanel(t);
|
|
14165
14165
|
return $i(e);
|
|
@@ -14243,7 +14243,7 @@ var te = class {
|
|
|
14243
14243
|
return this.gridBodyCtrl.getRowDragFeature().getRowDropZone(t);
|
|
14244
14244
|
}
|
|
14245
14245
|
assertSideBarLoaded(t) {
|
|
14246
|
-
return
|
|
14246
|
+
return he.__assertRegistered("@ag-grid-enterprise/side-bar", "api." + t, this.context.getGridId());
|
|
14247
14247
|
}
|
|
14248
14248
|
/** Returns `true` if the side bar is visible. */
|
|
14249
14249
|
isSideBarVisible() {
|
|
@@ -14335,7 +14335,7 @@ var te = class {
|
|
|
14335
14335
|
var e;
|
|
14336
14336
|
const { colKey: i, rowNode: s, useFormatter: o } = t;
|
|
14337
14337
|
let r = (e = this.columnModel.getPrimaryColumn(i)) != null ? e : this.columnModel.getGridColumn(i);
|
|
14338
|
-
if (
|
|
14338
|
+
if (Y(r))
|
|
14339
14339
|
return null;
|
|
14340
14340
|
const n = this.valueService.getValue(r, s);
|
|
14341
14341
|
if (o) {
|
|
@@ -14392,7 +14392,7 @@ var te = class {
|
|
|
14392
14392
|
}
|
|
14393
14393
|
/** Returns the list of selected cell ranges. */
|
|
14394
14394
|
getCellRanges() {
|
|
14395
|
-
return this.rangeService ? this.rangeService.getCellRanges() : (
|
|
14395
|
+
return this.rangeService ? this.rangeService.getCellRanges() : (he.__assertRegistered("@ag-grid-enterprise/range-selection", "api.getCellRanges", this.context.getGridId()), null);
|
|
14396
14396
|
}
|
|
14397
14397
|
/** Adds the provided cell range to the selected ranges. */
|
|
14398
14398
|
addCellRange(t) {
|
|
@@ -14400,11 +14400,11 @@ var te = class {
|
|
|
14400
14400
|
this.rangeService.addCellRange(t);
|
|
14401
14401
|
return;
|
|
14402
14402
|
}
|
|
14403
|
-
|
|
14403
|
+
he.__assertRegistered("@ag-grid-enterprise/range-selection", "api.addCellRange", this.context.getGridId());
|
|
14404
14404
|
}
|
|
14405
14405
|
/** Clears the selected ranges. */
|
|
14406
14406
|
clearRangeSelection() {
|
|
14407
|
-
this.rangeService && this.rangeService.removeAllCellRanges(),
|
|
14407
|
+
this.rangeService && this.rangeService.removeAllCellRanges(), he.__assertRegistered("@ag-grid-enterprise/range-selection", "gridApi.clearRangeSelection", this.context.getGridId());
|
|
14408
14408
|
}
|
|
14409
14409
|
/** Reverts the last cell edit. */
|
|
14410
14410
|
undoCellEditing() {
|
|
@@ -14423,7 +14423,7 @@ var te = class {
|
|
|
14423
14423
|
return this.undoRedoService.getCurrentRedoStackSize();
|
|
14424
14424
|
}
|
|
14425
14425
|
assertChart(t, e) {
|
|
14426
|
-
if (
|
|
14426
|
+
if (he.__assertRegistered("@ag-grid-enterprise/charts", "api." + t, this.context.getGridId()))
|
|
14427
14427
|
return this.frameworkOverrides.wrapIncoming(() => e());
|
|
14428
14428
|
}
|
|
14429
14429
|
/** Returns a list of models with information about the charts that are currently rendered from the grid. */
|
|
@@ -14471,7 +14471,7 @@ var te = class {
|
|
|
14471
14471
|
return this.assertChart("restoreChart", () => this.chartService.restoreChart(t, e));
|
|
14472
14472
|
}
|
|
14473
14473
|
assertClipboard(t, e) {
|
|
14474
|
-
|
|
14474
|
+
he.__assertRegistered("@ag-grid-enterprise/clipboard", "api" + t, this.context.getGridId()) && e();
|
|
14475
14475
|
}
|
|
14476
14476
|
/** Copies data to clipboard by following the same rules as pressing Ctrl+C. */
|
|
14477
14477
|
copyToClipboard(t) {
|
|
@@ -15793,37 +15793,37 @@ u([
|
|
|
15793
15793
|
g("rowNodeBlockLoader")
|
|
15794
15794
|
], te.prototype, "rowNodeBlockLoader", 2);
|
|
15795
15795
|
u([
|
|
15796
|
-
|
|
15796
|
+
ge("csvCreator")
|
|
15797
15797
|
], te.prototype, "csvCreator", 2);
|
|
15798
15798
|
u([
|
|
15799
|
-
|
|
15799
|
+
ge("excelCreator")
|
|
15800
15800
|
], te.prototype, "excelCreator", 2);
|
|
15801
15801
|
u([
|
|
15802
|
-
|
|
15802
|
+
ge("rangeService")
|
|
15803
15803
|
], te.prototype, "rangeService", 2);
|
|
15804
15804
|
u([
|
|
15805
|
-
|
|
15805
|
+
ge("clipboardService")
|
|
15806
15806
|
], te.prototype, "clipboardService", 2);
|
|
15807
15807
|
u([
|
|
15808
|
-
|
|
15808
|
+
ge("aggFuncService")
|
|
15809
15809
|
], te.prototype, "aggFuncService", 2);
|
|
15810
15810
|
u([
|
|
15811
|
-
|
|
15811
|
+
ge("statusBarService")
|
|
15812
15812
|
], te.prototype, "statusBarService", 2);
|
|
15813
15813
|
u([
|
|
15814
|
-
|
|
15814
|
+
ge("chartService")
|
|
15815
15815
|
], te.prototype, "chartService", 2);
|
|
15816
15816
|
u([
|
|
15817
|
-
|
|
15817
|
+
ge("ssrmTransactionManager")
|
|
15818
15818
|
], te.prototype, "serverSideTransactionManager", 2);
|
|
15819
15819
|
u([
|
|
15820
|
-
|
|
15820
|
+
ge("sideBarService")
|
|
15821
15821
|
], te.prototype, "sideBarService", 2);
|
|
15822
15822
|
u([
|
|
15823
15823
|
M
|
|
15824
15824
|
], te.prototype, "init", 1);
|
|
15825
15825
|
te = u([
|
|
15826
|
-
|
|
15826
|
+
V("gridApi")
|
|
15827
15827
|
], te);
|
|
15828
15828
|
var Ct = class extends L {
|
|
15829
15829
|
constructor() {
|
|
@@ -15928,7 +15928,7 @@ u([
|
|
|
15928
15928
|
M
|
|
15929
15929
|
], Ct.prototype, "postConstruct", 1);
|
|
15930
15930
|
Ct = u([
|
|
15931
|
-
|
|
15931
|
+
V("quickFilterService")
|
|
15932
15932
|
], Ct);
|
|
15933
15933
|
var Gt = class extends L {
|
|
15934
15934
|
constructor() {
|
|
@@ -15944,7 +15944,7 @@ var Gt = class extends L {
|
|
|
15944
15944
|
this.eventService,
|
|
15945
15945
|
p.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,
|
|
15946
15946
|
({ enabled: s }) => this.onAdvancedFilterEnabledChanged(s)
|
|
15947
|
-
), this.addManagedListener(this.eventService, p.EVENT_DATA_TYPES_INFERRED, () => this.processFilterModelUpdateQueue()), this.addManagedListener(this.quickFilterService, Ct.EVENT_QUICK_FILTER_CHANGED, () => this.onFilterChanged({ source: "quickFilter" })), this.initialFilterModel =
|
|
15947
|
+
), this.addManagedListener(this.eventService, p.EVENT_DATA_TYPES_INFERRED, () => this.processFilterModelUpdateQueue()), this.addManagedListener(this.quickFilterService, Ct.EVENT_QUICK_FILTER_CHANGED, () => this.onFilterChanged({ source: "quickFilter" })), this.initialFilterModel = H({}, (i = (e = (t = this.gos.get("initialState")) == null ? void 0 : t.filter) == null ? void 0 : e.filterModel) != null ? i : {});
|
|
15948
15948
|
}
|
|
15949
15949
|
isExternalFilterPresentCallback() {
|
|
15950
15950
|
const t = this.gos.getCallback("isExternalFilterPresent");
|
|
@@ -16182,7 +16182,7 @@ var Gt = class extends L {
|
|
|
16182
16182
|
}
|
|
16183
16183
|
getDefaultFilter(t) {
|
|
16184
16184
|
let e;
|
|
16185
|
-
if (
|
|
16185
|
+
if (he.__isRegistered("@ag-grid-enterprise/set-filter", this.context.getGridId()))
|
|
16186
16186
|
e = "agSetColumnFilter";
|
|
16187
16187
|
else {
|
|
16188
16188
|
const i = this.dataTypeService.getBaseDataType(t);
|
|
@@ -16192,7 +16192,7 @@ var Gt = class extends L {
|
|
|
16192
16192
|
}
|
|
16193
16193
|
getDefaultFloatingFilter(t) {
|
|
16194
16194
|
let e;
|
|
16195
|
-
if (
|
|
16195
|
+
if (he.__isRegistered("@ag-grid-enterprise/set-filter", this.context.getGridId()))
|
|
16196
16196
|
e = "agSetColumnFloatingFilter";
|
|
16197
16197
|
else {
|
|
16198
16198
|
const i = this.dataTypeService.getBaseDataType(t);
|
|
@@ -16203,7 +16203,7 @@ var Gt = class extends L {
|
|
|
16203
16203
|
createFilterInstance(t) {
|
|
16204
16204
|
const e = this.getDefaultFilter(t), i = t.getColDef();
|
|
16205
16205
|
let s;
|
|
16206
|
-
const o = Te(
|
|
16206
|
+
const o = Te(H({}, this.createFilterParams(t, i)), {
|
|
16207
16207
|
filterModifiedCallback: () => this.filterModifiedCallbackFactory(s, t)(),
|
|
16208
16208
|
filterChangedCallback: (n) => this.filterChangedCallbackFactory(s, t)(n),
|
|
16209
16209
|
doesRowPassOtherFilter: (n) => this.doesRowPassOtherFilters(s, n)
|
|
@@ -16271,7 +16271,7 @@ var Gt = class extends L {
|
|
|
16271
16271
|
d != null && d.then((c) => {
|
|
16272
16272
|
a($i(c));
|
|
16273
16273
|
});
|
|
16274
|
-
}, s = t.getColDef(), o = Te(
|
|
16274
|
+
}, s = t.getColDef(), o = Te(H({}, this.createFilterParams(t, s)), {
|
|
16275
16275
|
filterChangedCallback: () => i((a) => this.filterChangedCallbackFactory(a, t)())
|
|
16276
16276
|
}), r = this.userComponentFactory.mergeParamsWithApplicationProvidedParams(s, yl, o);
|
|
16277
16277
|
let n = this.userComponentFactory.getDefaultFloatingFilterType(s, () => this.getDefaultFloatingFilter(t));
|
|
@@ -16351,7 +16351,7 @@ var Gt = class extends L {
|
|
|
16351
16351
|
return;
|
|
16352
16352
|
}
|
|
16353
16353
|
e.filterPromise.then((r) => {
|
|
16354
|
-
(r != null && r.refresh ? r.refresh(
|
|
16354
|
+
(r != null && r.refresh ? r.refresh(H(Te(H({}, this.createFilterParams(i, i.getColDef())), {
|
|
16355
16355
|
filterModifiedCallback: this.filterModifiedCallbackFactory(r, i),
|
|
16356
16356
|
filterChangedCallback: this.filterChangedCallbackFactory(r, i),
|
|
16357
16357
|
doesRowPassOtherFilter: (l) => this.doesRowPassOtherFilters(r, l)
|
|
@@ -16364,7 +16364,7 @@ var Gt = class extends L {
|
|
|
16364
16364
|
i,
|
|
16365
16365
|
this.addManagedListener(
|
|
16366
16366
|
t,
|
|
16367
|
-
|
|
16367
|
+
we.EVENT_COL_DEF_CHANGED,
|
|
16368
16368
|
() => this.checkDestroyFilter(i)
|
|
16369
16369
|
)
|
|
16370
16370
|
);
|
|
@@ -16495,13 +16495,13 @@ u([
|
|
|
16495
16495
|
g("quickFilterService")
|
|
16496
16496
|
], Gt.prototype, "quickFilterService", 2);
|
|
16497
16497
|
u([
|
|
16498
|
-
|
|
16498
|
+
ge("advancedFilterService")
|
|
16499
16499
|
], Gt.prototype, "advancedFilterService", 2);
|
|
16500
16500
|
u([
|
|
16501
16501
|
M
|
|
16502
16502
|
], Gt.prototype, "init", 1);
|
|
16503
16503
|
Gt = u([
|
|
16504
|
-
|
|
16504
|
+
V("filterManager")
|
|
16505
16505
|
], Gt);
|
|
16506
16506
|
var Rn = class extends j {
|
|
16507
16507
|
constructor(t, e) {
|
|
@@ -16622,13 +16622,13 @@ vs.TEMPLATE = /* html */
|
|
|
16622
16622
|
</div>
|
|
16623
16623
|
</div>`;
|
|
16624
16624
|
u([
|
|
16625
|
-
|
|
16625
|
+
I("eFloatingFilterBody")
|
|
16626
16626
|
], vs.prototype, "eFloatingFilterBody", 2);
|
|
16627
16627
|
u([
|
|
16628
|
-
|
|
16628
|
+
I("eButtonWrapper")
|
|
16629
16629
|
], vs.prototype, "eButtonWrapper", 2);
|
|
16630
16630
|
u([
|
|
16631
|
-
|
|
16631
|
+
I("eButtonShowMainFilter")
|
|
16632
16632
|
], vs.prototype, "eButtonShowMainFilter", 2);
|
|
16633
16633
|
u([
|
|
16634
16634
|
M
|
|
@@ -16773,7 +16773,7 @@ var vi = class extends L {
|
|
|
16773
16773
|
top: this.scrollTop
|
|
16774
16774
|
};
|
|
16775
16775
|
this.eventService.dispatchEvent(e), window.clearTimeout(this.scrollTimer), this.scrollTimer = void 0, this.scrollTimer = window.setTimeout(() => {
|
|
16776
|
-
const i = Te(
|
|
16776
|
+
const i = Te(H({}, e), {
|
|
16777
16777
|
type: p.EVENT_BODY_SCROLL_END
|
|
16778
16778
|
});
|
|
16779
16779
|
this.eventService.dispatchEvent(i);
|
|
@@ -16894,9 +16894,9 @@ var vi = class extends L {
|
|
|
16894
16894
|
const r = this.ctrlsService.getGridBodyCtrl(), n = r.getStickyTopHeight(), l = r.getStickyBottomHeight(), a = this.paginationProxy.getRow(t);
|
|
16895
16895
|
let d;
|
|
16896
16896
|
do {
|
|
16897
|
-
const c = a.rowTop, h = a.rowHeight, f = this.paginationProxy.getPixelOffset(), m = a.rowTop - f, C = m + a.rowHeight, w = this.getVScrollPosition(), v = this.heightScaler.getDivStretchOffset(), y = w.top + v, E = w.bottom + v, R = E - y, b = this.heightScaler.getScrollPositionForPixel(m), D = this.heightScaler.getScrollPositionForPixel(C - R), A = Math.min((b + D) / 2, m), F = y + n > m,
|
|
16898
|
-
let
|
|
16899
|
-
e === "top" ?
|
|
16897
|
+
const c = a.rowTop, h = a.rowHeight, f = this.paginationProxy.getPixelOffset(), m = a.rowTop - f, C = m + a.rowHeight, w = this.getVScrollPosition(), v = this.heightScaler.getDivStretchOffset(), y = w.top + v, E = w.bottom + v, R = E - y, b = this.heightScaler.getScrollPositionForPixel(m), D = this.heightScaler.getScrollPositionForPixel(C - R), A = Math.min((b + D) / 2, m), F = y + n > m, W = E - l < C;
|
|
16898
|
+
let O = null;
|
|
16899
|
+
e === "top" ? O = b : e === "bottom" ? O = D : e === "middle" ? O = A : F ? O = b - n : W && (O = D + l), O !== null && (this.setVerticalScrollPosition(O), this.rowRenderer.redraw({ afterScroll: !0 })), d = c !== a.rowTop || h !== a.rowHeight;
|
|
16900
16900
|
} while (d);
|
|
16901
16901
|
this.animationFrameService.flushAllFrames();
|
|
16902
16902
|
});
|
|
@@ -17275,7 +17275,7 @@ var Co = "ag-cell-range-selected", Kf = "ag-cell-range-chart", $f = "ag-cell-ran
|
|
|
17275
17275
|
const t = this.beans.gos, e = this.rangeService.getCellRanges(), i = e.length;
|
|
17276
17276
|
if (this.rangeCount < 1 || i < 1)
|
|
17277
17277
|
return !1;
|
|
17278
|
-
const s =
|
|
17278
|
+
const s = ae(e), o = this.cellCtrl.getCellPosition(), r = t.get("enableFillHandle") && !this.cellCtrl.isSuppressFillHandle(), n = t.get("enableRangeHandle");
|
|
17279
17279
|
let l = i === 1 && !this.cellCtrl.isEditing() && (r || n);
|
|
17280
17280
|
if (this.hasChartRange) {
|
|
17281
17281
|
const d = e[0].type === 1 && this.rangeService.isCellInSpecificRange(o, e[0]);
|
|
@@ -17284,7 +17284,7 @@ var Co = "ag-cell-range-selected", Kf = "ag-cell-range-chart", $f = "ag-cell-ran
|
|
|
17284
17284
|
return l && s.endRow != null && this.rangeService.isContiguousRange(s) && this.rangeService.isBottomRightCell(s, o);
|
|
17285
17285
|
}
|
|
17286
17286
|
addSelectionHandle() {
|
|
17287
|
-
const t = this.beans.gos, e =
|
|
17287
|
+
const t = this.beans.gos, e = ae(this.rangeService.getCellRanges()).type, s = t.get("enableFillHandle") && Y(e) ? 0 : 1;
|
|
17288
17288
|
this.selectionHandle && this.selectionHandle.getType() !== s && (this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle)), this.selectionHandle || (this.selectionHandle = this.selectionHandleFactory.createSelectionHandle(s)), this.selectionHandle.refresh(this.cellCtrl);
|
|
17289
17289
|
}
|
|
17290
17290
|
destroy() {
|
|
@@ -17327,7 +17327,7 @@ var Co = "ag-cell-range-selected", Kf = "ag-cell-range-chart", $f = "ag-cell-ran
|
|
|
17327
17327
|
else {
|
|
17328
17328
|
let i = this.column;
|
|
17329
17329
|
const s = this.column.getPinned();
|
|
17330
|
-
for (let o = 0; i && o < t && (e.push(i), i = this.beans.columnModel.getDisplayedColAfter(i), !(!i ||
|
|
17330
|
+
for (let o = 0; i && o < t && (e.push(i), i = this.beans.columnModel.getDisplayedColAfter(i), !(!i || Y(i) || s !== i.getPinned())); o++)
|
|
17331
17331
|
;
|
|
17332
17332
|
}
|
|
17333
17333
|
return e;
|
|
@@ -17340,7 +17340,7 @@ var Co = "ag-cell-range-selected", Kf = "ag-cell-range-chart", $f = "ag-cell-ran
|
|
|
17340
17340
|
}
|
|
17341
17341
|
getCellLeft() {
|
|
17342
17342
|
let t;
|
|
17343
|
-
return this.beans.gos.get("enableRtl") && this.colsSpanning ? t =
|
|
17343
|
+
return this.beans.gos.get("enableRtl") && this.colsSpanning ? t = ae(this.colsSpanning) : t = this.column, t.getLeft();
|
|
17344
17344
|
}
|
|
17345
17345
|
modifyLeftForPrintLayout(t) {
|
|
17346
17346
|
if (!this.cellCtrl.isPrintLayout() || this.column.getPinned() === "left")
|
|
@@ -17541,16 +17541,16 @@ u([
|
|
|
17541
17541
|
g("ariaAnnouncementService")
|
|
17542
17542
|
], J.prototype, "ariaAnnouncementService", 2);
|
|
17543
17543
|
u([
|
|
17544
|
-
|
|
17544
|
+
ge("rangeService")
|
|
17545
17545
|
], J.prototype, "rangeService", 2);
|
|
17546
17546
|
u([
|
|
17547
|
-
|
|
17547
|
+
ge("selectionHandleFactory")
|
|
17548
17548
|
], J.prototype, "selectionHandleFactory", 2);
|
|
17549
17549
|
u([
|
|
17550
17550
|
M
|
|
17551
17551
|
], J.prototype, "postConstruct", 1);
|
|
17552
17552
|
J = u([
|
|
17553
|
-
|
|
17553
|
+
V("beans")
|
|
17554
17554
|
], J);
|
|
17555
17555
|
var im = class extends J {
|
|
17556
17556
|
constructor(t, e, i) {
|
|
@@ -17829,7 +17829,7 @@ u([
|
|
|
17829
17829
|
], ch.prototype, "postConstruct", 1);
|
|
17830
17830
|
var om = "ag-column-first", rm = "ag-column-last", Tn = class {
|
|
17831
17831
|
static getHeaderClassesFromColDef(t, e, i, s) {
|
|
17832
|
-
return
|
|
17832
|
+
return Y(t) ? [] : this.getColumnClassesFromCollDef(
|
|
17833
17833
|
t.headerClass,
|
|
17834
17834
|
t,
|
|
17835
17835
|
e,
|
|
@@ -17838,7 +17838,7 @@ var om = "ag-column-first", rm = "ag-column-last", Tn = class {
|
|
|
17838
17838
|
);
|
|
17839
17839
|
}
|
|
17840
17840
|
static getToolPanelClassesFromColDef(t, e, i, s) {
|
|
17841
|
-
return
|
|
17841
|
+
return Y(t) ? [] : this.getColumnClassesFromCollDef(
|
|
17842
17842
|
t.toolPanelClass,
|
|
17843
17843
|
t,
|
|
17844
17844
|
e,
|
|
@@ -17860,7 +17860,7 @@ var om = "ag-column-first", rm = "ag-column-last", Tn = class {
|
|
|
17860
17860
|
});
|
|
17861
17861
|
}
|
|
17862
17862
|
static getColumnClassesFromCollDef(t, e, i, s, o) {
|
|
17863
|
-
if (
|
|
17863
|
+
if (Y(t))
|
|
17864
17864
|
return [];
|
|
17865
17865
|
let r;
|
|
17866
17866
|
if (typeof t == "function") {
|
|
@@ -18071,7 +18071,7 @@ var om = "ag-column-first", rm = "ag-column-last", Tn = class {
|
|
|
18071
18071
|
return s && (r = this.saveNewValue(o, i)), this.setEditing(!1), this.cellComp.setEditDetails(), this.editCompDetails = void 0, this.updateAndFormatValue(!1), this.refreshCell({ forceRefresh: !0, suppressFlash: !0 }), this.dispatchEditingStoppedEvent(o, i, !e && !!r), r;
|
|
18072
18072
|
}
|
|
18073
18073
|
dispatchEditingStoppedEvent(e, i, s) {
|
|
18074
|
-
const o = Te(
|
|
18074
|
+
const o = Te(H({}, this.createEvent(null, p.EVENT_CELL_EDITING_STOPPED)), {
|
|
18075
18075
|
oldValue: e,
|
|
18076
18076
|
newValue: i,
|
|
18077
18077
|
valueChanged: s
|
|
@@ -18558,7 +18558,7 @@ var Qi = hh, mm = 0, ph = class bl extends L {
|
|
|
18558
18558
|
}
|
|
18559
18559
|
setupFullWidth(e) {
|
|
18560
18560
|
const i = this.getPinnedForContainer(e.containerType);
|
|
18561
|
-
if (this.rowType == "FullWidthDetail" && !
|
|
18561
|
+
if (this.rowType == "FullWidthDetail" && !he.__assertRegistered("@ag-grid-enterprise/master-detail", "cell renderer 'agDetailCellRenderer' (for master detail)", this.beans.context.getGridId()))
|
|
18562
18562
|
return;
|
|
18563
18563
|
const s = this.createFullWidthCompDetails(e.element, i);
|
|
18564
18564
|
e.rowComp.showFullWidth(s);
|
|
@@ -19370,7 +19370,7 @@ var Xi = ph, St = class extends L {
|
|
|
19370
19370
|
rowEndIndex: a,
|
|
19371
19371
|
rowEndPinned: l,
|
|
19372
19372
|
columnStart: d[0],
|
|
19373
|
-
columnEnd:
|
|
19373
|
+
columnEnd: ae(d)
|
|
19374
19374
|
});
|
|
19375
19375
|
}
|
|
19376
19376
|
t.preventDefault();
|
|
@@ -19432,10 +19432,10 @@ u([
|
|
|
19432
19432
|
g("pinnedRowModel")
|
|
19433
19433
|
], St.prototype, "pinnedRowModel", 2);
|
|
19434
19434
|
u([
|
|
19435
|
-
|
|
19435
|
+
ge("rangeService")
|
|
19436
19436
|
], St.prototype, "rangeService", 2);
|
|
19437
19437
|
u([
|
|
19438
|
-
|
|
19438
|
+
ge("clipboardService")
|
|
19439
19439
|
], St.prototype, "clipboardService", 2);
|
|
19440
19440
|
u([
|
|
19441
19441
|
M
|
|
@@ -19644,7 +19644,7 @@ u([
|
|
|
19644
19644
|
g("dragService")
|
|
19645
19645
|
], An.prototype, "dragService", 2);
|
|
19646
19646
|
u([
|
|
19647
|
-
|
|
19647
|
+
ge("rangeService")
|
|
19648
19648
|
], An.prototype, "rangeService", 2);
|
|
19649
19649
|
u([
|
|
19650
19650
|
M
|
|
@@ -20117,28 +20117,28 @@ u([
|
|
|
20117
20117
|
g("resizeObserverService")
|
|
20118
20118
|
], jt.prototype, "resizeObserverService", 2);
|
|
20119
20119
|
u([
|
|
20120
|
-
|
|
20120
|
+
ge("rangeService")
|
|
20121
20121
|
], jt.prototype, "rangeService", 2);
|
|
20122
20122
|
u([
|
|
20123
|
-
|
|
20123
|
+
I("eBodyViewport")
|
|
20124
20124
|
], jt.prototype, "eBodyViewport", 2);
|
|
20125
20125
|
u([
|
|
20126
|
-
|
|
20126
|
+
I("eStickyTop")
|
|
20127
20127
|
], jt.prototype, "eStickyTop", 2);
|
|
20128
20128
|
u([
|
|
20129
|
-
|
|
20129
|
+
I("eStickyBottom")
|
|
20130
20130
|
], jt.prototype, "eStickyBottom", 2);
|
|
20131
20131
|
u([
|
|
20132
|
-
|
|
20132
|
+
I("eTop")
|
|
20133
20133
|
], jt.prototype, "eTop", 2);
|
|
20134
20134
|
u([
|
|
20135
|
-
|
|
20135
|
+
I("eBottom")
|
|
20136
20136
|
], jt.prototype, "eBottom", 2);
|
|
20137
20137
|
u([
|
|
20138
|
-
|
|
20138
|
+
I("gridHeader")
|
|
20139
20139
|
], jt.prototype, "headerRootComp", 2);
|
|
20140
20140
|
u([
|
|
20141
|
-
|
|
20141
|
+
I("eBody")
|
|
20142
20142
|
], jt.prototype, "eBody", 2);
|
|
20143
20143
|
u([
|
|
20144
20144
|
M
|
|
@@ -20196,7 +20196,7 @@ u([
|
|
|
20196
20196
|
M
|
|
20197
20197
|
], Bs.prototype, "postConstruct", 1);
|
|
20198
20198
|
Bs = u([
|
|
20199
|
-
|
|
20199
|
+
V("scrollVisibleService")
|
|
20200
20200
|
], Bs);
|
|
20201
20201
|
var ui = class extends L {
|
|
20202
20202
|
constructor() {
|
|
@@ -20247,7 +20247,7 @@ u([
|
|
|
20247
20247
|
g("ctrlsService")
|
|
20248
20248
|
], ui.prototype, "ctrlsService", 2);
|
|
20249
20249
|
ui = u([
|
|
20250
|
-
|
|
20250
|
+
V("mouseEventService")
|
|
20251
20251
|
], ui);
|
|
20252
20252
|
var Ze = class extends L {
|
|
20253
20253
|
constructor() {
|
|
@@ -20375,7 +20375,7 @@ var Ze = class extends L {
|
|
|
20375
20375
|
// home brings focus to top left cell, end brings focus to bottom right, grid scrolled to bring
|
|
20376
20376
|
// same cell into view (which means either scroll all the way up, or all the way down).
|
|
20377
20377
|
onHomeOrEndKey(t) {
|
|
20378
|
-
const e = t === S.PAGE_HOME, i = this.columnModel.getAllDisplayedColumns(), s = e ? i[0] :
|
|
20378
|
+
const e = t === S.PAGE_HOME, i = this.columnModel.getAllDisplayedColumns(), s = e ? i[0] : ae(i), o = e ? this.paginationProxy.getPageFirstRow() : this.paginationProxy.getPageLastRow();
|
|
20379
20379
|
this.navigateTo({
|
|
20380
20380
|
scrollIndex: o,
|
|
20381
20381
|
scrollType: null,
|
|
@@ -20435,8 +20435,8 @@ var Ze = class extends L {
|
|
|
20435
20435
|
moveToNextCellNotEditing(t, e) {
|
|
20436
20436
|
const i = this.columnModel.getAllDisplayedColumns();
|
|
20437
20437
|
let s;
|
|
20438
|
-
t instanceof Xi ? s = Te(
|
|
20439
|
-
column: e ? i[0] :
|
|
20438
|
+
t instanceof Xi ? s = Te(H({}, t.getRowPosition()), {
|
|
20439
|
+
column: e ? i[0] : ae(i)
|
|
20440
20440
|
}) : s = t.getCellPosition();
|
|
20441
20441
|
const o = this.findNextCellToFocusOn(s, e, !1);
|
|
20442
20442
|
if (o === !1)
|
|
@@ -20519,7 +20519,7 @@ var Ze = class extends L {
|
|
|
20519
20519
|
navigateToNextCell(t, e, i, s) {
|
|
20520
20520
|
let o = i, r = !1;
|
|
20521
20521
|
for (; o && (o === i || !this.isValidNavigateCell(o)); )
|
|
20522
|
-
this.gos.get("enableRtl") ? e === S.LEFT && (o = this.getLastCellOfColSpan(o)) : e === S.RIGHT && (o = this.getLastCellOfColSpan(o)), o = this.cellNavigationService.getNextCellToFocus(e, o), r =
|
|
20522
|
+
this.gos.get("enableRtl") ? e === S.LEFT && (o = this.getLastCellOfColSpan(o)) : e === S.RIGHT && (o = this.getLastCellOfColSpan(o)), o = this.cellNavigationService.getNextCellToFocus(e, o), r = Y(o);
|
|
20523
20523
|
if (r && t && t.key === S.UP && (o = {
|
|
20524
20524
|
rowIndex: -1,
|
|
20525
20525
|
rowPinned: null,
|
|
@@ -20566,7 +20566,7 @@ var Ze = class extends L {
|
|
|
20566
20566
|
const o = this.focusService.getFocusedCell(), r = {
|
|
20567
20567
|
rowIndex: t.rowIndex,
|
|
20568
20568
|
rowPinned: t.rowPinned,
|
|
20569
|
-
column: t.column || (e ?
|
|
20569
|
+
column: t.column || (e ? ae(i) : i[0])
|
|
20570
20570
|
};
|
|
20571
20571
|
this.focusPosition(r);
|
|
20572
20572
|
const n = o != null ? this.rowPositionUtils.before(r, o) : !1, l = {
|
|
@@ -20599,13 +20599,13 @@ var Ze = class extends L {
|
|
|
20599
20599
|
const i = e.getColSpanningList();
|
|
20600
20600
|
return i.length === 1 ? t : {
|
|
20601
20601
|
rowIndex: t.rowIndex,
|
|
20602
|
-
column:
|
|
20602
|
+
column: ae(i),
|
|
20603
20603
|
rowPinned: t.rowPinned
|
|
20604
20604
|
};
|
|
20605
20605
|
}
|
|
20606
20606
|
ensureCellVisible(t) {
|
|
20607
20607
|
const e = this.gos.isGroupRowsSticky(), i = this.rowModel.getRow(t.rowIndex);
|
|
20608
|
-
!(e && (i == null ? void 0 : i.sticky)) &&
|
|
20608
|
+
!(e && (i == null ? void 0 : i.sticky)) && Y(t.rowPinned) && this.gridBodyCon.getScrollFeature().ensureIndexVisible(t.rowIndex), t.column.isPinned() || this.gridBodyCon.getScrollFeature().ensureColumnVisible(t.column);
|
|
20609
20609
|
}
|
|
20610
20610
|
};
|
|
20611
20611
|
u([
|
|
@@ -20642,13 +20642,13 @@ u([
|
|
|
20642
20642
|
g("pinnedRowModel")
|
|
20643
20643
|
], Ze.prototype, "pinnedRowModel", 2);
|
|
20644
20644
|
u([
|
|
20645
|
-
|
|
20645
|
+
ge("rangeService")
|
|
20646
20646
|
], Ze.prototype, "rangeService", 2);
|
|
20647
20647
|
u([
|
|
20648
20648
|
M
|
|
20649
20649
|
], Ze.prototype, "postConstruct", 1);
|
|
20650
20650
|
Ze = u([
|
|
20651
|
-
|
|
20651
|
+
V("navigationService")
|
|
20652
20652
|
], Ze);
|
|
20653
20653
|
var Na = class mh extends fs {
|
|
20654
20654
|
constructor(e) {
|
|
@@ -20742,7 +20742,7 @@ var Ch = Na, Sm = class extends j {
|
|
|
20742
20742
|
if (!r)
|
|
20743
20743
|
return;
|
|
20744
20744
|
const { params: n } = e;
|
|
20745
|
-
r.then((a) => this.afterCellEditorCreated(o, a, n, i, s)),
|
|
20745
|
+
r.then((a) => this.afterCellEditorCreated(o, a, n, i, s)), Y(this.cellEditor) && n.cellStartedEdit && this.cellCtrl.focusCell(!0);
|
|
20746
20746
|
}
|
|
20747
20747
|
insertValueWithoutCellRenderer(e) {
|
|
20748
20748
|
const i = this.getParentOfValue();
|
|
@@ -20995,7 +20995,7 @@ var to = class extends j {
|
|
|
20995
20995
|
this.setRowCtrls([]);
|
|
20996
20996
|
}
|
|
20997
20997
|
setRowCtrls(e) {
|
|
20998
|
-
const i =
|
|
20998
|
+
const i = H({}, this.rowComps);
|
|
20999
20999
|
this.rowComps = {}, this.lastPlacedElement = null;
|
|
21000
21000
|
const s = (o) => {
|
|
21001
21001
|
const r = o.getInstanceId(), n = i[r];
|
|
@@ -21023,10 +21023,10 @@ u([
|
|
|
21023
21023
|
g("beans")
|
|
21024
21024
|
], to.prototype, "beans", 2);
|
|
21025
21025
|
u([
|
|
21026
|
-
|
|
21026
|
+
I("eViewport")
|
|
21027
21027
|
], to.prototype, "eViewport", 2);
|
|
21028
21028
|
u([
|
|
21029
|
-
|
|
21029
|
+
I("eContainer")
|
|
21030
21030
|
], to.prototype, "eContainer", 2);
|
|
21031
21031
|
u([
|
|
21032
21032
|
M
|
|
@@ -21079,11 +21079,11 @@ var Ji = class {
|
|
|
21079
21079
|
let b = [];
|
|
21080
21080
|
h.forEach((D) => {
|
|
21081
21081
|
var A;
|
|
21082
|
-
let F = null,
|
|
21083
|
-
for (;
|
|
21084
|
-
F =
|
|
21085
|
-
F != null ? (!!((A = F.getColGroupDef()) != null && A.marryChildren) ? F.getProvidedColumnGroup().getLeafColumns() : F.getLeafColumns()).forEach((
|
|
21086
|
-
b.includes(
|
|
21082
|
+
let F = null, W = D.getParent();
|
|
21083
|
+
for (; W != null && W.getDisplayedLeafColumns().length === 1; )
|
|
21084
|
+
F = W, W = W.getParent();
|
|
21085
|
+
F != null ? (!!((A = F.getColGroupDef()) != null && A.marryChildren) ? F.getProvidedColumnGroup().getLeafColumns() : F.getLeafColumns()).forEach((_) => {
|
|
21086
|
+
b.includes(_) || b.push(_);
|
|
21087
21087
|
}) : b.includes(D) || b.push(D);
|
|
21088
21088
|
}), h = b;
|
|
21089
21089
|
}
|
|
@@ -21109,13 +21109,13 @@ var Ji = class {
|
|
|
21109
21109
|
const D = m[b], A = a.getProposedColumnOrder(f, D);
|
|
21110
21110
|
if (!a.doesOrderPassRules(A))
|
|
21111
21111
|
continue;
|
|
21112
|
-
const F = A.filter((
|
|
21112
|
+
const F = A.filter((O) => y.includes(O));
|
|
21113
21113
|
if (R === null)
|
|
21114
21114
|
R = F;
|
|
21115
21115
|
else if (!Zt(F, R))
|
|
21116
21116
|
break;
|
|
21117
|
-
const
|
|
21118
|
-
E.push({ move: D, fragCount:
|
|
21117
|
+
const W = this.groupFragCount(A);
|
|
21118
|
+
E.push({ move: D, fragCount: W });
|
|
21119
21119
|
}
|
|
21120
21120
|
if (E.length !== 0)
|
|
21121
21121
|
return E.sort((b, D) => b.fragCount - D.fragCount), this.moveColumns(h, E[0].move, "uiColumnMoved", !1, a);
|
|
@@ -21127,7 +21127,7 @@ var Ji = class {
|
|
|
21127
21127
|
// each other. if the cols are not beside each other, then returns null
|
|
21128
21128
|
static calculateOldIndex(t, e) {
|
|
21129
21129
|
const i = e.getAllGridColumns(), s = Cu(t.map((a) => i.indexOf(a))), o = s[0];
|
|
21130
|
-
return
|
|
21130
|
+
return ae(s) - o !== s.length - 1 ? null : o;
|
|
21131
21131
|
}
|
|
21132
21132
|
// A measure of how fragmented in terms of groups an order of columns is
|
|
21133
21133
|
static groupFragCount(t) {
|
|
@@ -21261,7 +21261,7 @@ var Ji = class {
|
|
|
21261
21261
|
}
|
|
21262
21262
|
return;
|
|
21263
21263
|
}
|
|
21264
|
-
if (this.lastDraggingEvent = t,
|
|
21264
|
+
if (this.lastDraggingEvent = t, Y(t.hDirection))
|
|
21265
21265
|
return;
|
|
21266
21266
|
const r = Ji.normaliseX(
|
|
21267
21267
|
t.x,
|
|
@@ -21457,10 +21457,10 @@ oo.TEMPLATE = /* html */
|
|
|
21457
21457
|
<div ref="eHeaderCompWrapper" class="ag-header-cell-comp-wrapper" role="presentation"></div>
|
|
21458
21458
|
</div>`;
|
|
21459
21459
|
u([
|
|
21460
|
-
|
|
21460
|
+
I("eResize")
|
|
21461
21461
|
], oo.prototype, "eResize", 2);
|
|
21462
21462
|
u([
|
|
21463
|
-
|
|
21463
|
+
I("eHeaderCompWrapper")
|
|
21464
21464
|
], oo.prototype, "eHeaderCompWrapper", 2);
|
|
21465
21465
|
u([
|
|
21466
21466
|
M
|
|
@@ -21503,7 +21503,7 @@ Pn.TEMPLATE = /* html */
|
|
|
21503
21503
|
<div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>
|
|
21504
21504
|
</div>`;
|
|
21505
21505
|
u([
|
|
21506
|
-
|
|
21506
|
+
I("eResize")
|
|
21507
21507
|
], Pn.prototype, "eResize", 2);
|
|
21508
21508
|
u([
|
|
21509
21509
|
M
|
|
@@ -21688,7 +21688,7 @@ var Tm = 0, wi = class Sh extends L {
|
|
|
21688
21688
|
handleContextMenuMouseEvent(e, i, s) {
|
|
21689
21689
|
const o = e ?? i;
|
|
21690
21690
|
this.gos.get("preventDefaultOnContextMenu") && o.preventDefault();
|
|
21691
|
-
const r = s instanceof
|
|
21691
|
+
const r = s instanceof we ? s : void 0;
|
|
21692
21692
|
this.menuService.isHeaderContextMenuEnabled(r) && this.menuService.showHeaderContextMenu(r, e, i), this.dispatchColumnMouseEvent(p.EVENT_COLUMN_HEADER_CONTEXT_MENU, s);
|
|
21693
21693
|
}
|
|
21694
21694
|
dispatchColumnMouseEvent(e, i) {
|
|
@@ -21732,10 +21732,10 @@ var Fn = wi, Ln = class extends L {
|
|
|
21732
21732
|
this.colsSpanning = t, this.onLeftChanged();
|
|
21733
21733
|
}
|
|
21734
21734
|
getColumnOrGroup() {
|
|
21735
|
-
return this.beans.gos.get("enableRtl") && this.colsSpanning ?
|
|
21735
|
+
return this.beans.gos.get("enableRtl") && this.colsSpanning ? ae(this.colsSpanning) : this.columnOrGroup;
|
|
21736
21736
|
}
|
|
21737
21737
|
postConstruct() {
|
|
21738
|
-
this.addManagedListener(this.columnOrGroup,
|
|
21738
|
+
this.addManagedListener(this.columnOrGroup, we.EVENT_LEFT_CHANGED, this.onLeftChanged.bind(this)), this.setLeftFirstTime(), this.addManagedListener(this.eventService, p.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onLeftChanged.bind(this)), this.addManagedPropertyListener("domLayout", this.onLeftChanged.bind(this));
|
|
21739
21739
|
}
|
|
21740
21740
|
setLeftFirstTime() {
|
|
21741
21741
|
const t = this.beans.gos.get("suppressColumnMoveAnimation"), e = P(this.columnOrGroup.getOldLeft());
|
|
@@ -21762,7 +21762,7 @@ var Fn = wi, Ln = class extends L {
|
|
|
21762
21762
|
return s + e;
|
|
21763
21763
|
}
|
|
21764
21764
|
setLeft(t) {
|
|
21765
|
-
if (P(t) && (this.eCell.style.left = `${t}px`), this.columnOrGroup instanceof
|
|
21765
|
+
if (P(t) && (this.eCell.style.left = `${t}px`), this.columnOrGroup instanceof we)
|
|
21766
21766
|
this.columnOrGroup;
|
|
21767
21767
|
else {
|
|
21768
21768
|
const i = this.columnOrGroup.getLeafColumns();
|
|
@@ -21803,7 +21803,7 @@ var Dm = class extends Fn {
|
|
|
21803
21803
|
super(t, e, i), this.iconCreated = !1, this.column = t;
|
|
21804
21804
|
}
|
|
21805
21805
|
setComp(t, e, i, s) {
|
|
21806
|
-
this.comp = t, this.eButtonShowMainFilter = i, this.eFloatingFilterBody = s, this.setGui(e), this.setupActive(), this.setupWidth(), this.setupLeft(), this.setupHover(), this.setupFocus(), this.setupAria(), this.setupFilterButton(), this.setupUserComp(), this.setupSyncWithFilter(), this.setupUi(), this.addManagedListener(this.eButtonShowMainFilter, "click", this.showParentFilter.bind(this)), this.setupFilterChangedListener(), this.addManagedListener(this.column,
|
|
21806
|
+
this.comp = t, this.eButtonShowMainFilter = i, this.eFloatingFilterBody = s, this.setGui(e), this.setupActive(), this.setupWidth(), this.setupLeft(), this.setupHover(), this.setupFocus(), this.setupAria(), this.setupFilterButton(), this.setupUserComp(), this.setupSyncWithFilter(), this.setupUi(), this.addManagedListener(this.eButtonShowMainFilter, "click", this.showParentFilter.bind(this)), this.setupFilterChangedListener(), this.addManagedListener(this.column, we.EVENT_COL_DEF_CHANGED, this.onColDefChanged.bind(this));
|
|
21807
21807
|
}
|
|
21808
21808
|
// empty abstract method
|
|
21809
21809
|
resizeHeader() {
|
|
@@ -21952,17 +21952,17 @@ var Dm = class extends Fn {
|
|
|
21952
21952
|
}
|
|
21953
21953
|
});
|
|
21954
21954
|
};
|
|
21955
|
-
this.destroySyncListener = this.addManagedListener(this.column,
|
|
21955
|
+
this.destroySyncListener = this.addManagedListener(this.column, we.EVENT_FILTER_CHANGED, e), t.isFilterActive(this.column) && e(null);
|
|
21956
21956
|
}
|
|
21957
21957
|
setupWidth() {
|
|
21958
21958
|
const t = () => {
|
|
21959
21959
|
const e = `${this.column.getActualWidth()}px`;
|
|
21960
21960
|
this.comp.setWidth(e);
|
|
21961
21961
|
};
|
|
21962
|
-
this.addManagedListener(this.column,
|
|
21962
|
+
this.addManagedListener(this.column, we.EVENT_WIDTH_CHANGED, t), t();
|
|
21963
21963
|
}
|
|
21964
21964
|
setupFilterChangedListener() {
|
|
21965
|
-
this.active && (this.destroyFilterChangedListener = this.addManagedListener(this.column,
|
|
21965
|
+
this.active && (this.destroyFilterChangedListener = this.addManagedListener(this.column, we.EVENT_FILTER_CHANGED, this.updateFilterButton.bind(this)), this.updateFilterButton());
|
|
21966
21966
|
}
|
|
21967
21967
|
updateFilterButton() {
|
|
21968
21968
|
if (!this.suppressFilterButton && this.comp) {
|
|
@@ -22176,7 +22176,7 @@ var Am = class extends Fn {
|
|
|
22176
22176
|
onFocusIn: this.onFocusIn.bind(this),
|
|
22177
22177
|
onFocusOut: this.onFocusOut.bind(this)
|
|
22178
22178
|
}
|
|
22179
|
-
)), this.addResizeAndMoveKeyboardListeners(), this.addManagedPropertyListeners(["suppressMovableColumns", "suppressMenuHide", "suppressAggFuncInHeader"], this.refresh.bind(this)), this.addManagedListener(this.column,
|
|
22179
|
+
)), this.addResizeAndMoveKeyboardListeners(), this.addManagedPropertyListeners(["suppressMovableColumns", "suppressMenuHide", "suppressAggFuncInHeader"], this.refresh.bind(this)), this.addManagedListener(this.column, we.EVENT_COL_DEF_CHANGED, this.refresh.bind(this)), this.addManagedListener(this.eventService, p.EVENT_COLUMN_VALUE_CHANGED, this.onColumnValueChanged.bind(this)), this.addManagedListener(this.eventService, p.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onColumnRowGroupChanged.bind(this)), this.addManagedListener(this.eventService, p.EVENT_COLUMN_PIVOT_CHANGED, this.onColumnPivotChanged.bind(this)), this.addManagedListener(this.eventService, p.EVENT_HEADER_HEIGHT_CHANGED, this.onHeaderHeightChanged.bind(this));
|
|
22180
22180
|
}
|
|
22181
22181
|
resizeHeader(t, e) {
|
|
22182
22182
|
var i, s;
|
|
@@ -22395,32 +22395,32 @@ var Am = class extends Fn {
|
|
|
22395
22395
|
const e = this.column.getActualWidth();
|
|
22396
22396
|
this.comp.setWidth(`${e}px`);
|
|
22397
22397
|
};
|
|
22398
|
-
this.addManagedListener(this.column,
|
|
22398
|
+
this.addManagedListener(this.column, we.EVENT_WIDTH_CHANGED, t), t();
|
|
22399
22399
|
}
|
|
22400
22400
|
setupMovingCss() {
|
|
22401
22401
|
const t = () => {
|
|
22402
22402
|
this.comp.addOrRemoveCssClass("ag-header-cell-moving", this.column.isMoving());
|
|
22403
22403
|
};
|
|
22404
|
-
this.addManagedListener(this.column,
|
|
22404
|
+
this.addManagedListener(this.column, we.EVENT_MOVING_CHANGED, t), t();
|
|
22405
22405
|
}
|
|
22406
22406
|
setupMenuClass() {
|
|
22407
22407
|
const t = () => {
|
|
22408
22408
|
this.comp.addOrRemoveCssClass("ag-column-menu-visible", this.column.isMenuVisible());
|
|
22409
22409
|
};
|
|
22410
|
-
this.addManagedListener(this.column,
|
|
22410
|
+
this.addManagedListener(this.column, we.EVENT_MENU_VISIBLE_CHANGED, t), t();
|
|
22411
22411
|
}
|
|
22412
22412
|
setupSortableClass() {
|
|
22413
22413
|
const t = () => {
|
|
22414
22414
|
this.comp.addOrRemoveCssClass("ag-header-cell-sortable", !!this.sortable);
|
|
22415
22415
|
};
|
|
22416
|
-
t(), this.addRefreshFunction(t), this.addManagedListener(this.eventService,
|
|
22416
|
+
t(), this.addRefreshFunction(t), this.addManagedListener(this.eventService, we.EVENT_SORT_CHANGED, this.refreshAriaSort.bind(this));
|
|
22417
22417
|
}
|
|
22418
22418
|
setupFilterClass() {
|
|
22419
22419
|
const t = () => {
|
|
22420
22420
|
const e = this.column.isFilterActive();
|
|
22421
22421
|
this.comp.addOrRemoveCssClass("ag-header-cell-filtered", e), this.refreshAria();
|
|
22422
22422
|
};
|
|
22423
|
-
this.addManagedListener(this.column,
|
|
22423
|
+
this.addManagedListener(this.column, we.EVENT_FILTER_ACTIVE_CHANGED, t), t();
|
|
22424
22424
|
}
|
|
22425
22425
|
setupWrapTextClass() {
|
|
22426
22426
|
const t = () => {
|
|
@@ -22475,7 +22475,7 @@ var Am = class extends Fn {
|
|
|
22475
22475
|
}, a = () => {
|
|
22476
22476
|
o = !1, r && r(), this.comp.addOrRemoveCssClass("ag-header-cell-auto-height", !1), r = void 0;
|
|
22477
22477
|
};
|
|
22478
|
-
n(), this.addDestroyFunc(() => a()), this.addManagedListener(this.column,
|
|
22478
|
+
n(), this.addDestroyFunc(() => a()), this.addManagedListener(this.column, we.EVENT_WIDTH_CHANGED, () => o && s(0)), this.addManagedListener(this.eventService, we.EVENT_SORT_CHANGED, () => {
|
|
22479
22479
|
o && window.setTimeout(() => s(0));
|
|
22480
22480
|
}), this.addRefreshFunction(n);
|
|
22481
22481
|
}
|
|
@@ -22780,7 +22780,7 @@ var Pm = class extends Fn {
|
|
|
22780
22780
|
gos: o,
|
|
22781
22781
|
columnModel: e.columnModel
|
|
22782
22782
|
});
|
|
22783
|
-
const w = s.getDisplayedLeafColumns(), v = l ? w[0] :
|
|
22783
|
+
const w = s.getDisplayedLeafColumns(), v = l ? w[0] : ae(w);
|
|
22784
22784
|
this.ctrlsService.getGridBodyCtrl().getScrollFeature().ensureColumnVisible(v, "auto"), !this.isAlive() && C && this.restoreFocus(m, s, C);
|
|
22785
22785
|
}
|
|
22786
22786
|
restoreFocus(t, e, i) {
|
|
@@ -22792,7 +22792,7 @@ var Pm = class extends Fn {
|
|
|
22792
22792
|
return;
|
|
22793
22793
|
const r = this.findGroupWidthId(o, t);
|
|
22794
22794
|
r && this.focusService.focusHeaderPosition({
|
|
22795
|
-
headerPosition: Te(
|
|
22795
|
+
headerPosition: Te(H({}, i), {
|
|
22796
22796
|
column: r
|
|
22797
22797
|
})
|
|
22798
22798
|
});
|
|
@@ -22868,7 +22868,7 @@ var Pm = class extends Fn {
|
|
|
22868
22868
|
setupMovingCss() {
|
|
22869
22869
|
const e = this.column.getProvidedColumnGroup().getLeafColumns(), i = () => this.comp.addOrRemoveCssClass("ag-header-cell-moving", this.column.isMoving());
|
|
22870
22870
|
e.forEach((s) => {
|
|
22871
|
-
this.addManagedListener(s,
|
|
22871
|
+
this.addManagedListener(s, we.EVENT_MOVING_CHANGED, i);
|
|
22872
22872
|
}), i();
|
|
22873
22873
|
}
|
|
22874
22874
|
onFocusIn(t) {
|
|
@@ -23186,7 +23186,7 @@ var Ni = class extends L {
|
|
|
23186
23186
|
this.addManagedListener(this.eventService, p.EVENT_LEFT_PINNED_WIDTH_CHANGED, i), this.addManagedListener(this.eventService, p.EVENT_RIGHT_PINNED_WIDTH_CHANGED, i), this.addManagedListener(this.eventService, p.EVENT_SCROLL_VISIBILITY_CHANGED, i), this.addManagedListener(this.eventService, p.EVENT_SCROLLBAR_WIDTH_CHANGED, i);
|
|
23187
23187
|
}
|
|
23188
23188
|
getHeaderCtrlForColumn(t) {
|
|
23189
|
-
if (t instanceof
|
|
23189
|
+
if (t instanceof we)
|
|
23190
23190
|
return this.columnsRowCtrl ? this.columnsRowCtrl.getHeaderCellCtrl(t) : void 0;
|
|
23191
23191
|
if (this.groupsRowCtrls.length !== 0)
|
|
23192
23192
|
for (let e = 0; e < this.groupsRowCtrls.length; e++) {
|
|
@@ -23290,7 +23290,7 @@ Ss.CENTER_TEMPLATE = /* html */
|
|
|
23290
23290
|
<div class="ag-header-container" ref="eCenterContainer" role="rowgroup"></div>
|
|
23291
23291
|
</div>`;
|
|
23292
23292
|
u([
|
|
23293
|
-
|
|
23293
|
+
I("eCenterContainer")
|
|
23294
23294
|
], Ss.prototype, "eCenterContainer", 2);
|
|
23295
23295
|
u([
|
|
23296
23296
|
M
|
|
@@ -23377,7 +23377,7 @@ var qn = Ss, ss = class extends L {
|
|
|
23377
23377
|
let i;
|
|
23378
23378
|
if (t instanceof Ue) {
|
|
23379
23379
|
const s = t.getDisplayedLeafColumns();
|
|
23380
|
-
i = e === "Before" ?
|
|
23380
|
+
i = e === "Before" ? ae(s) : s[0];
|
|
23381
23381
|
} else
|
|
23382
23382
|
i = t;
|
|
23383
23383
|
this.gridBodyCon.getScrollFeature().ensureColumnVisible(i);
|
|
@@ -23396,7 +23396,7 @@ u([
|
|
|
23396
23396
|
M
|
|
23397
23397
|
], ss.prototype, "postConstruct", 1);
|
|
23398
23398
|
ss = u([
|
|
23399
|
-
|
|
23399
|
+
V("headerNavigationService")
|
|
23400
23400
|
], ss);
|
|
23401
23401
|
var xi = class extends L {
|
|
23402
23402
|
setComp(t, e, i) {
|
|
@@ -23560,7 +23560,7 @@ u([
|
|
|
23560
23560
|
g("ctrlsService")
|
|
23561
23561
|
], Vo.prototype, "ctrlsService", 2);
|
|
23562
23562
|
Vo = u([
|
|
23563
|
-
|
|
23563
|
+
V("horizontalResizeService")
|
|
23564
23564
|
], Vo);
|
|
23565
23565
|
var Ai = class extends L {
|
|
23566
23566
|
hideActiveMenu() {
|
|
@@ -23662,7 +23662,7 @@ u([
|
|
|
23662
23662
|
g("menuService")
|
|
23663
23663
|
], Ai.prototype, "menuService", 2);
|
|
23664
23664
|
Ai = u([
|
|
23665
|
-
|
|
23665
|
+
V("filterMenuFactory")
|
|
23666
23666
|
], Ai);
|
|
23667
23667
|
var Pr = /* @__PURE__ */ ((t) => (t.TAB_GUARD = "ag-tab-guard", t.TAB_GUARD_TOP = "ag-tab-guard-top", t.TAB_GUARD_BOTTOM = "ag-tab-guard-bottom", t))(Pr || {}), Mn = class extends L {
|
|
23668
23668
|
constructor(t) {
|
|
@@ -23960,10 +23960,10 @@ u([
|
|
|
23960
23960
|
g("focusService")
|
|
23961
23961
|
], In.prototype, "focusService", 2);
|
|
23962
23962
|
u([
|
|
23963
|
-
|
|
23963
|
+
I("eHeader")
|
|
23964
23964
|
], In.prototype, "eHeader", 2);
|
|
23965
23965
|
u([
|
|
23966
|
-
|
|
23966
|
+
I("eBody")
|
|
23967
23967
|
], In.prototype, "eBody", 2);
|
|
23968
23968
|
u([
|
|
23969
23969
|
M
|
|
@@ -24004,7 +24004,7 @@ var Mm = 50, Dl = class extends L {
|
|
|
24004
24004
|
}
|
|
24005
24005
|
};
|
|
24006
24006
|
Dl = u([
|
|
24007
|
-
|
|
24007
|
+
V("resizeObserverService")
|
|
24008
24008
|
], Dl);
|
|
24009
24009
|
var Ws = class extends L {
|
|
24010
24010
|
constructor() {
|
|
@@ -24122,7 +24122,7 @@ u([
|
|
|
24122
24122
|
M
|
|
24123
24123
|
], Ws.prototype, "init", 1);
|
|
24124
24124
|
Ws = u([
|
|
24125
|
-
|
|
24125
|
+
V("animationFrameService")
|
|
24126
24126
|
], Ws);
|
|
24127
24127
|
var Ho = class extends L {
|
|
24128
24128
|
postConstruct() {
|
|
@@ -24162,7 +24162,7 @@ u([
|
|
|
24162
24162
|
M
|
|
24163
24163
|
], Ho.prototype, "postConstruct", 1);
|
|
24164
24164
|
Ho = u([
|
|
24165
|
-
|
|
24165
|
+
V("expansionService")
|
|
24166
24166
|
], Ho);
|
|
24167
24167
|
var Ot = class extends L {
|
|
24168
24168
|
postConstruct() {
|
|
@@ -24310,19 +24310,19 @@ u([
|
|
|
24310
24310
|
g("rowRenderer")
|
|
24311
24311
|
], Ot.prototype, "rowRenderer", 2);
|
|
24312
24312
|
u([
|
|
24313
|
-
|
|
24313
|
+
ge("columnChooserFactory")
|
|
24314
24314
|
], Ot.prototype, "columnChooserFactory", 2);
|
|
24315
24315
|
u([
|
|
24316
|
-
|
|
24316
|
+
ge("contextMenuFactory")
|
|
24317
24317
|
], Ot.prototype, "contextMenuFactory", 2);
|
|
24318
24318
|
u([
|
|
24319
|
-
|
|
24319
|
+
ge("enterpriseMenuFactory")
|
|
24320
24320
|
], Ot.prototype, "enterpriseMenuFactory", 2);
|
|
24321
24321
|
u([
|
|
24322
24322
|
M
|
|
24323
24323
|
], Ot.prototype, "postConstruct", 1);
|
|
24324
24324
|
Ot = u([
|
|
24325
|
-
|
|
24325
|
+
V("menuService")
|
|
24326
24326
|
], Ot);
|
|
24327
24327
|
var os = class extends L {
|
|
24328
24328
|
postConstruct() {
|
|
@@ -24403,7 +24403,7 @@ u([
|
|
|
24403
24403
|
M
|
|
24404
24404
|
], os.prototype, "postConstruct", 1);
|
|
24405
24405
|
os = u([
|
|
24406
|
-
|
|
24406
|
+
V("autoWidthCalculator")
|
|
24407
24407
|
], os);
|
|
24408
24408
|
var pr = class extends L {
|
|
24409
24409
|
constructor(t, e) {
|
|
@@ -24460,7 +24460,7 @@ var pr = class extends L {
|
|
|
24460
24460
|
else if (s.childrenAfterSort) {
|
|
24461
24461
|
if (s.childrenAfterSort.length === 0)
|
|
24462
24462
|
break;
|
|
24463
|
-
s =
|
|
24463
|
+
s = ae(s.childrenAfterSort);
|
|
24464
24464
|
}
|
|
24465
24465
|
return s.rowTop + s.rowHeight;
|
|
24466
24466
|
}
|
|
@@ -25287,7 +25287,7 @@ u([
|
|
|
25287
25287
|
M
|
|
25288
25288
|
], At.prototype, "postConstruct", 1);
|
|
25289
25289
|
At = u([
|
|
25290
|
-
|
|
25290
|
+
V("rowRenderer")
|
|
25291
25291
|
], At);
|
|
25292
25292
|
var Im = class {
|
|
25293
25293
|
constructor(t) {
|
|
@@ -25403,7 +25403,7 @@ var Im = class {
|
|
|
25403
25403
|
getTotalHeight(t) {
|
|
25404
25404
|
if (!t || t.length === 0)
|
|
25405
25405
|
return 0;
|
|
25406
|
-
const e =
|
|
25406
|
+
const e = ae(t);
|
|
25407
25407
|
return e.rowTop + e.rowHeight;
|
|
25408
25408
|
}
|
|
25409
25409
|
};
|
|
@@ -25414,7 +25414,7 @@ u([
|
|
|
25414
25414
|
M
|
|
25415
25415
|
], ko.prototype, "init", 1);
|
|
25416
25416
|
ko = u([
|
|
25417
|
-
|
|
25417
|
+
V("pinnedRowModel")
|
|
25418
25418
|
], ko);
|
|
25419
25419
|
var Nn = class {
|
|
25420
25420
|
constructor(t, e) {
|
|
@@ -25630,7 +25630,7 @@ u([
|
|
|
25630
25630
|
Wt(0, Mt("loggerFactory"))
|
|
25631
25631
|
], si.prototype, "setBeans", 1);
|
|
25632
25632
|
si = u([
|
|
25633
|
-
|
|
25633
|
+
V("rowNodeBlockLoader")
|
|
25634
25634
|
], si);
|
|
25635
25635
|
var Bo = class extends L {
|
|
25636
25636
|
constructor() {
|
|
@@ -25702,7 +25702,7 @@ var Bo = class extends L {
|
|
|
25702
25702
|
return this.rowModel.getRowIndexAtPixel(t);
|
|
25703
25703
|
}
|
|
25704
25704
|
getCurrentPageHeight() {
|
|
25705
|
-
return
|
|
25705
|
+
return Y(this.topRowBounds) || Y(this.bottomRowBounds) ? 0 : Math.max(this.bottomRowBounds.rowTop + this.bottomRowBounds.rowHeight - this.topRowBounds.rowTop, 0);
|
|
25706
25706
|
}
|
|
25707
25707
|
getCurrentPagePixelRange() {
|
|
25708
25708
|
const t = this.topRowBounds ? this.topRowBounds.rowTop : 0, e = this.bottomRowBounds ? this.bottomRowBounds.rowTop + this.bottomRowBounds.rowHeight : 0;
|
|
@@ -25883,7 +25883,7 @@ u([
|
|
|
25883
25883
|
M
|
|
25884
25884
|
], Bo.prototype, "postConstruct", 1);
|
|
25885
25885
|
Bo = u([
|
|
25886
|
-
|
|
25886
|
+
V("paginationProxy")
|
|
25887
25887
|
], Bo);
|
|
25888
25888
|
var zr = class extends L {
|
|
25889
25889
|
processAllCellClasses(t, e, i, s) {
|
|
@@ -25928,7 +25928,7 @@ u([
|
|
|
25928
25928
|
g("expressionService")
|
|
25929
25929
|
], zr.prototype, "expressionService", 2);
|
|
25930
25930
|
zr = u([
|
|
25931
|
-
|
|
25931
|
+
V("stylingService")
|
|
25932
25932
|
], zr);
|
|
25933
25933
|
var bh = class extends vn {
|
|
25934
25934
|
constructor(t) {
|
|
@@ -26293,7 +26293,7 @@ u([
|
|
|
26293
26293
|
g("animationFrameService")
|
|
26294
26294
|
], gr.prototype, "animationFrameService", 2);
|
|
26295
26295
|
u([
|
|
26296
|
-
|
|
26296
|
+
I("eContainer")
|
|
26297
26297
|
], gr.prototype, "eContainer", 2);
|
|
26298
26298
|
u([
|
|
26299
26299
|
M
|
|
@@ -26312,7 +26312,7 @@ var Dh = gr, Om = (
|
|
|
26312
26312
|
), xn = class extends ps {
|
|
26313
26313
|
constructor(t) {
|
|
26314
26314
|
var e, i;
|
|
26315
|
-
super(Te(
|
|
26315
|
+
super(Te(H({
|
|
26316
26316
|
pickerAriaLabelKey: "ariaLabelRichSelectField",
|
|
26317
26317
|
pickerAriaLabelValue: "Rich Select Field",
|
|
26318
26318
|
pickerType: "ag-list",
|
|
@@ -26638,7 +26638,7 @@ u([
|
|
|
26638
26638
|
g("animationFrameService")
|
|
26639
26639
|
], xn.prototype, "animationFrameService", 2);
|
|
26640
26640
|
u([
|
|
26641
|
-
|
|
26641
|
+
I("eInput")
|
|
26642
26642
|
], xn.prototype, "eInput", 2);
|
|
26643
26643
|
var lo = class Ah extends Sa {
|
|
26644
26644
|
constructor(e) {
|
|
@@ -26690,13 +26690,13 @@ lo.TEMPLATE = /* html */
|
|
|
26690
26690
|
</div>
|
|
26691
26691
|
</div>`;
|
|
26692
26692
|
u([
|
|
26693
|
-
|
|
26693
|
+
I("eLabel")
|
|
26694
26694
|
], lo.prototype, "eLabel", 2);
|
|
26695
26695
|
u([
|
|
26696
|
-
|
|
26696
|
+
I("eSlider")
|
|
26697
26697
|
], lo.prototype, "eSlider", 2);
|
|
26698
26698
|
u([
|
|
26699
|
-
|
|
26699
|
+
I("eText")
|
|
26700
26700
|
], lo.prototype, "eText", 2);
|
|
26701
26701
|
u([
|
|
26702
26702
|
M
|
|
@@ -26849,13 +26849,13 @@ Gi.EVENT_EXPANDED = "expanded";
|
|
|
26849
26849
|
Gi.EVENT_COLLAPSED = "collapsed";
|
|
26850
26850
|
Gi.EVENT_ENABLE_CHANGE = "enableChange";
|
|
26851
26851
|
u([
|
|
26852
|
-
|
|
26852
|
+
I("eToolbar")
|
|
26853
26853
|
], Gi.prototype, "eToolbar", 2);
|
|
26854
26854
|
u([
|
|
26855
|
-
|
|
26855
|
+
I("cbGroupEnabled")
|
|
26856
26856
|
], Gi.prototype, "cbGroupEnabled", 2);
|
|
26857
26857
|
u([
|
|
26858
|
-
|
|
26858
|
+
I("eContainer")
|
|
26859
26859
|
], Gi.prototype, "eContainer", 2);
|
|
26860
26860
|
u([
|
|
26861
26861
|
M
|
|
@@ -26936,13 +26936,13 @@ var Vm = Gi, Qn = "ag-disabled-group-title-bar", ao = class Pl extends j {
|
|
|
26936
26936
|
};
|
|
26937
26937
|
ao.EVENT_EXPAND_CHANGED = "expandedChanged";
|
|
26938
26938
|
u([
|
|
26939
|
-
|
|
26939
|
+
I("eGroupOpenedIcon")
|
|
26940
26940
|
], ao.prototype, "eGroupOpenedIcon", 2);
|
|
26941
26941
|
u([
|
|
26942
|
-
|
|
26942
|
+
I("eGroupClosedIcon")
|
|
26943
26943
|
], ao.prototype, "eGroupClosedIcon", 2);
|
|
26944
26944
|
u([
|
|
26945
|
-
|
|
26945
|
+
I("eTitle")
|
|
26946
26946
|
], ao.prototype, "eTitle", 2);
|
|
26947
26947
|
u([
|
|
26948
26948
|
M
|
|
@@ -27058,7 +27058,7 @@ var wd = ao, Ha = class extends hr {
|
|
|
27058
27058
|
if (!e.length)
|
|
27059
27059
|
return;
|
|
27060
27060
|
if (!this.activeMenuItem)
|
|
27061
|
-
return t ?
|
|
27061
|
+
return t ? ae(e) : e[0];
|
|
27062
27062
|
t && e.reverse();
|
|
27063
27063
|
let i, s = !1;
|
|
27064
27064
|
for (let o = 0; o < e.length; o++) {
|
|
@@ -27113,7 +27113,7 @@ var uo = class Ps extends L {
|
|
|
27113
27113
|
init(e) {
|
|
27114
27114
|
var i, s;
|
|
27115
27115
|
const { menuItemDef: o, isAnotherSubMenuOpen: r, level: n, childComponent: l, contextParams: a } = e;
|
|
27116
|
-
return this.params = e.menuItemDef, this.level = n, this.isAnotherSubMenuOpen = r, this.childComponent = l, this.contextParams = a, this.cssClassPrefix = (s = (i = this.params.menuItemParams) == null ? void 0 : i.cssClassPrefix) != null ? s : "ag-menu-option", this.userComponentFactory.getMenuItemCompDetails(this.params, Te(
|
|
27116
|
+
return this.params = e.menuItemDef, this.level = n, this.isAnotherSubMenuOpen = r, this.childComponent = l, this.contextParams = a, this.cssClassPrefix = (s = (i = this.params.menuItemParams) == null ? void 0 : i.cssClassPrefix) != null ? s : "ag-menu-option", this.userComponentFactory.getMenuItemCompDetails(this.params, Te(H({}, o), {
|
|
27117
27117
|
level: n,
|
|
27118
27118
|
isAnotherSubMenuOpen: r,
|
|
27119
27119
|
openSubMenu: (c) => this.openSubMenu(c),
|
|
@@ -27216,7 +27216,7 @@ var uo = class Ps extends L {
|
|
|
27216
27216
|
}
|
|
27217
27217
|
onItemSelected(e) {
|
|
27218
27218
|
var i, s;
|
|
27219
|
-
(s = (i = this.menuItemComp).select) == null || s.call(i), this.params.action ? this.getFrameworkOverrides().wrapOutgoing(() => this.params.action(this.gos.addGridCommonParams(
|
|
27219
|
+
(s = (i = this.menuItemComp).select) == null || s.call(i), this.params.action ? this.getFrameworkOverrides().wrapOutgoing(() => this.params.action(this.gos.addGridCommonParams(H({}, this.contextParams)))) : this.openSubMenu(e && e.type === "keydown"), !(this.params.subMenu && !this.params.action || this.params.suppressCloseOnSelect) && this.closeMenu(e);
|
|
27220
27220
|
}
|
|
27221
27221
|
closeMenu(e) {
|
|
27222
27222
|
const i = {
|
|
@@ -27387,23 +27387,23 @@ var yr = uo, Es = class Fl extends j {
|
|
|
27387
27387
|
Es.CLOSE_BTN_TEMPLATE = /* html */
|
|
27388
27388
|
'<div class="ag-button"></div>';
|
|
27389
27389
|
u([
|
|
27390
|
-
|
|
27390
|
+
I("eContentWrapper")
|
|
27391
27391
|
], Es.prototype, "eContentWrapper", 2);
|
|
27392
27392
|
u([
|
|
27393
|
-
|
|
27393
|
+
I("eTitleBar")
|
|
27394
27394
|
], Es.prototype, "eTitleBar", 2);
|
|
27395
27395
|
u([
|
|
27396
|
-
|
|
27396
|
+
I("eTitleBarButtons")
|
|
27397
27397
|
], Es.prototype, "eTitleBarButtons", 2);
|
|
27398
27398
|
u([
|
|
27399
|
-
|
|
27399
|
+
I("eTitle")
|
|
27400
27400
|
], Es.prototype, "eTitle", 2);
|
|
27401
27401
|
u([
|
|
27402
27402
|
M
|
|
27403
27403
|
], Es.prototype, "postConstruct", 1);
|
|
27404
27404
|
var Hm = Es, km = class extends Hm {
|
|
27405
27405
|
constructor(t) {
|
|
27406
|
-
super(Te(
|
|
27406
|
+
super(Te(H({}, t), { popup: !0 })), this.isMaximizable = !1, this.isMaximized = !1, this.maximizeListeners = [], this.resizeListenerDestroy = null, this.lastPosition = {
|
|
27407
27407
|
x: 0,
|
|
27408
27408
|
y: 0,
|
|
27409
27409
|
width: 0,
|
|
@@ -27629,7 +27629,7 @@ var Bm = 0, pi = class extends L {
|
|
|
27629
27629
|
if (l !== -1)
|
|
27630
27630
|
return { hideFunc: this.popupList[l].hideFunc };
|
|
27631
27631
|
this.initialisePopupPosition(i);
|
|
27632
|
-
const a = this.createPopupWrapper(i, s, !!o), d = this.addEventListenersToPopup(Te(
|
|
27632
|
+
const a = this.createPopupWrapper(i, s, !!o), d = this.addEventListenersToPopup(Te(H({}, t), { wrapperEl: a }));
|
|
27633
27633
|
return r && r(), this.addPopupToPopupList(i, a, d, n), {
|
|
27634
27634
|
hideFunc: d
|
|
27635
27635
|
};
|
|
@@ -27783,7 +27783,7 @@ var Bm = 0, pi = class extends L {
|
|
|
27783
27783
|
const l = i.indexOf(n), a = n.querySelectorAll("div"), d = [];
|
|
27784
27784
|
for (a.forEach((c) => {
|
|
27785
27785
|
c.scrollTop !== 0 && d.push([c, c.scrollTop]);
|
|
27786
|
-
}), r ? n.classList.contains("ag-always-on-top") ? l !== s - 1 &&
|
|
27786
|
+
}), r ? n.classList.contains("ag-always-on-top") ? l !== s - 1 && ae(o).insertAdjacentElement("afterend", n) : l !== s - r - 1 && o[0].insertAdjacentElement("beforebegin", n) : l !== s - 1 && ae(i).insertAdjacentElement("afterend", n); d.length; ) {
|
|
27787
27787
|
const c = d.pop();
|
|
27788
27788
|
c[0].scrollTop = c[1];
|
|
27789
27789
|
}
|
|
@@ -27803,7 +27803,7 @@ u([
|
|
|
27803
27803
|
M
|
|
27804
27804
|
], pi.prototype, "postConstruct", 1);
|
|
27805
27805
|
pi = u([
|
|
27806
|
-
|
|
27806
|
+
V("popupService")
|
|
27807
27807
|
], pi);
|
|
27808
27808
|
var Wm = class extends j {
|
|
27809
27809
|
constructor() {
|
|
@@ -27922,7 +27922,7 @@ Gn.TEMPLATE = /* html */
|
|
|
27922
27922
|
<div ref="eList" class="ag-autocomplete-list"></div>
|
|
27923
27923
|
<div>`;
|
|
27924
27924
|
u([
|
|
27925
|
-
|
|
27925
|
+
I("eList")
|
|
27926
27926
|
], Gn.prototype, "eList", 2);
|
|
27927
27927
|
u([
|
|
27928
27928
|
M
|
|
@@ -28114,7 +28114,7 @@ u([
|
|
|
28114
28114
|
g("popupService")
|
|
28115
28115
|
], Oi.prototype, "popupService", 2);
|
|
28116
28116
|
u([
|
|
28117
|
-
|
|
28117
|
+
I("eAutocompleteInput")
|
|
28118
28118
|
], Oi.prototype, "eAutocompleteInput", 2);
|
|
28119
28119
|
u([
|
|
28120
28120
|
M
|
|
@@ -28218,13 +28218,13 @@ u([
|
|
|
28218
28218
|
g("dragAndDropService")
|
|
28219
28219
|
], _i.prototype, "dragAndDropService", 2);
|
|
28220
28220
|
u([
|
|
28221
|
-
|
|
28221
|
+
I("eText")
|
|
28222
28222
|
], _i.prototype, "eText", 2);
|
|
28223
28223
|
u([
|
|
28224
|
-
|
|
28224
|
+
I("eDragHandle")
|
|
28225
28225
|
], _i.prototype, "eDragHandle", 2);
|
|
28226
28226
|
u([
|
|
28227
|
-
|
|
28227
|
+
I("eButton")
|
|
28228
28228
|
], _i.prototype, "eButton", 2);
|
|
28229
28229
|
u([
|
|
28230
28230
|
M
|
|
@@ -28489,7 +28489,7 @@ var $m = ["touchstart", "touchend", "touchmove", "touchcancel"], Lh = class {
|
|
|
28489
28489
|
n = i ? this.paginationProxy.getPageFirstRow() : this.paginationProxy.getPageLastRow(), r = e.column;
|
|
28490
28490
|
else {
|
|
28491
28491
|
const l = this.columnModel.getAllDisplayedColumns(), a = this.gos.get("enableRtl");
|
|
28492
|
-
n = e.rowIndex, r = o !== a ? l[0] :
|
|
28492
|
+
n = e.rowIndex, r = o !== a ? l[0] : ae(l);
|
|
28493
28493
|
}
|
|
28494
28494
|
return {
|
|
28495
28495
|
rowIndex: n,
|
|
@@ -28631,7 +28631,7 @@ var $m = ["touchstart", "touchend", "touchmove", "touchcancel"], Lh = class {
|
|
|
28631
28631
|
if (!o) {
|
|
28632
28632
|
o = e[0];
|
|
28633
28633
|
const r = this.getRowBelow(t);
|
|
28634
|
-
if (
|
|
28634
|
+
if (Y(r) || !r.rowPinned && !this.paginationProxy.isRowInPage(r))
|
|
28635
28635
|
return null;
|
|
28636
28636
|
i = r ? r.rowIndex : null, s = r ? r.rowPinned : null;
|
|
28637
28637
|
}
|
|
@@ -28641,9 +28641,9 @@ var $m = ["touchstart", "touchend", "touchmove", "touchcancel"], Lh = class {
|
|
|
28641
28641
|
const e = this.columnModel.getAllDisplayedColumns();
|
|
28642
28642
|
let i = t.rowIndex, s = t.rowPinned, o = this.columnModel.getDisplayedColBefore(t.column);
|
|
28643
28643
|
if (!o) {
|
|
28644
|
-
o =
|
|
28644
|
+
o = ae(e);
|
|
28645
28645
|
const r = this.getRowAbove({ rowIndex: t.rowIndex, rowPinned: t.rowPinned });
|
|
28646
|
-
if (
|
|
28646
|
+
if (Y(r) || !r.rowPinned && !this.paginationProxy.isRowInPage(r))
|
|
28647
28647
|
return null;
|
|
28648
28648
|
i = r ? r.rowIndex : null, s = r ? r.rowPinned : null;
|
|
28649
28649
|
}
|
|
@@ -28666,7 +28666,7 @@ u([
|
|
|
28666
28666
|
g("paginationProxy")
|
|
28667
28667
|
], Pi.prototype, "paginationProxy", 2);
|
|
28668
28668
|
Pi = u([
|
|
28669
|
-
|
|
28669
|
+
V("cellNavigationService")
|
|
28670
28670
|
], Pi);
|
|
28671
28671
|
var rs = class extends L {
|
|
28672
28672
|
constructor() {
|
|
@@ -28825,7 +28825,7 @@ u([
|
|
|
28825
28825
|
M
|
|
28826
28826
|
], rs.prototype, "init", 1);
|
|
28827
28827
|
rs = u([
|
|
28828
|
-
|
|
28828
|
+
V("alignedGridsService")
|
|
28829
28829
|
], rs);
|
|
28830
28830
|
var ns = class extends L {
|
|
28831
28831
|
constructor() {
|
|
@@ -28903,7 +28903,7 @@ var ns = class extends L {
|
|
|
28903
28903
|
}
|
|
28904
28904
|
selectChildren(t, e, i, s) {
|
|
28905
28905
|
const o = i ? t.childrenAfterAggFilter : t.childrenAfterGroup;
|
|
28906
|
-
return
|
|
28906
|
+
return Y(o) ? 0 : this.setNodesSelected({
|
|
28907
28907
|
newValue: e,
|
|
28908
28908
|
clearSelection: !1,
|
|
28909
28909
|
suppressFinishActions: !0,
|
|
@@ -28916,7 +28916,7 @@ var ns = class extends L {
|
|
|
28916
28916
|
const t = Array.from(this.selectedNodes.keys());
|
|
28917
28917
|
if (t.length == 0)
|
|
28918
28918
|
return null;
|
|
28919
|
-
const e = this.selectedNodes.get(
|
|
28919
|
+
const e = this.selectedNodes.get(ae(t));
|
|
28920
28920
|
return e || null;
|
|
28921
28921
|
}
|
|
28922
28922
|
getSelectedNodes() {
|
|
@@ -29153,7 +29153,7 @@ u([
|
|
|
29153
29153
|
M
|
|
29154
29154
|
], ns.prototype, "init", 1);
|
|
29155
29155
|
ns = u([
|
|
29156
|
-
|
|
29156
|
+
V("selectionService")
|
|
29157
29157
|
], ns);
|
|
29158
29158
|
var Us = class {
|
|
29159
29159
|
constructor(t) {
|
|
@@ -29428,7 +29428,7 @@ u([
|
|
|
29428
29428
|
g("gridApi")
|
|
29429
29429
|
], Us.prototype, "api", 2);
|
|
29430
29430
|
Us = u([
|
|
29431
|
-
|
|
29431
|
+
V("columnApi")
|
|
29432
29432
|
], Us);
|
|
29433
29433
|
var Fi = class extends L {
|
|
29434
29434
|
constructor() {
|
|
@@ -29506,9 +29506,9 @@ var Fi = class extends L {
|
|
|
29506
29506
|
const o = this.columnModel.getPrimaryColumn(e);
|
|
29507
29507
|
if (!t || !o)
|
|
29508
29508
|
return !1;
|
|
29509
|
-
|
|
29509
|
+
Y(t.data) && (t.data = {});
|
|
29510
29510
|
const { field: r, valueSetter: n } = o.getColDef();
|
|
29511
|
-
if (
|
|
29511
|
+
if (Y(r) && Y(n))
|
|
29512
29512
|
return console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work"), !1;
|
|
29513
29513
|
if (!this.dataTypeService.checkType(o, i))
|
|
29514
29514
|
return console.warn("AG Grid: Data type of the new value does not match the cell data type of the column"), !1;
|
|
@@ -29637,7 +29637,7 @@ u([
|
|
|
29637
29637
|
M
|
|
29638
29638
|
], Fi.prototype, "init", 1);
|
|
29639
29639
|
Fi = u([
|
|
29640
|
-
|
|
29640
|
+
V("valueService")
|
|
29641
29641
|
], Fi);
|
|
29642
29642
|
var Kr = class extends L {
|
|
29643
29643
|
constructor() {
|
|
@@ -29687,7 +29687,7 @@ u([
|
|
|
29687
29687
|
Wt(0, Mt("loggerFactory"))
|
|
29688
29688
|
], Kr.prototype, "setBeans", 1);
|
|
29689
29689
|
Kr = u([
|
|
29690
|
-
|
|
29690
|
+
V("expressionService")
|
|
29691
29691
|
], Kr);
|
|
29692
29692
|
var $r = class extends L {
|
|
29693
29693
|
setBeans(t) {
|
|
@@ -29704,7 +29704,7 @@ u([
|
|
|
29704
29704
|
Wt(0, Mt("gridOptionsService"))
|
|
29705
29705
|
], $r.prototype, "setBeans", 1);
|
|
29706
29706
|
$r = u([
|
|
29707
|
-
|
|
29707
|
+
V("loggerFactory")
|
|
29708
29708
|
], $r);
|
|
29709
29709
|
var ka = class {
|
|
29710
29710
|
constructor(t, e) {
|
|
@@ -29735,16 +29735,16 @@ var ka = class {
|
|
|
29735
29735
|
return ((t = e == null ? void 0 : e.getAttribute("row-id")) == null ? void 0 : t.startsWith("detail")) || !1;
|
|
29736
29736
|
}
|
|
29737
29737
|
showDropZones() {
|
|
29738
|
-
return
|
|
29738
|
+
return he.__isRegistered("@ag-grid-enterprise/row-grouping", this.context.getGridId());
|
|
29739
29739
|
}
|
|
29740
29740
|
showSideBar() {
|
|
29741
|
-
return
|
|
29741
|
+
return he.__isRegistered("@ag-grid-enterprise/side-bar", this.context.getGridId());
|
|
29742
29742
|
}
|
|
29743
29743
|
showStatusBar() {
|
|
29744
|
-
return
|
|
29744
|
+
return he.__isRegistered("@ag-grid-enterprise/status-bar", this.context.getGridId());
|
|
29745
29745
|
}
|
|
29746
29746
|
showWatermark() {
|
|
29747
|
-
return
|
|
29747
|
+
return he.__isRegistered("@ag-grid-enterprise/core", this.context.getGridId());
|
|
29748
29748
|
}
|
|
29749
29749
|
onGridSizeChanged() {
|
|
29750
29750
|
const t = {
|
|
@@ -29778,8 +29778,8 @@ var ka = class {
|
|
|
29778
29778
|
const e = this.view.getFocusableContainers(), i = this.columnModel.getAllDisplayedColumns();
|
|
29779
29779
|
if (t) {
|
|
29780
29780
|
if (e.length > 1)
|
|
29781
|
-
return this.focusService.focusInto(
|
|
29782
|
-
const s =
|
|
29781
|
+
return this.focusService.focusInto(ae(e), !0);
|
|
29782
|
+
const s = ae(i);
|
|
29783
29783
|
if (this.focusService.focusGridView(s, !0))
|
|
29784
29784
|
return !0;
|
|
29785
29785
|
}
|
|
@@ -29886,13 +29886,13 @@ u([
|
|
|
29886
29886
|
g("loggerFactory")
|
|
29887
29887
|
], mr.prototype, "loggerFactory", 2);
|
|
29888
29888
|
u([
|
|
29889
|
-
|
|
29889
|
+
I("gridBody")
|
|
29890
29890
|
], mr.prototype, "gridBodyComp", 2);
|
|
29891
29891
|
u([
|
|
29892
|
-
|
|
29892
|
+
I("sideBar")
|
|
29893
29893
|
], mr.prototype, "sideBarComp", 2);
|
|
29894
29894
|
u([
|
|
29895
|
-
|
|
29895
|
+
I("rootWrapperBody")
|
|
29896
29896
|
], mr.prototype, "eRootWrapperBody", 2);
|
|
29897
29897
|
u([
|
|
29898
29898
|
M
|
|
@@ -30030,21 +30030,21 @@ u([
|
|
|
30030
30030
|
g("columnModel")
|
|
30031
30031
|
], ls.prototype, "columnModel", 2);
|
|
30032
30032
|
ls = u([
|
|
30033
|
-
|
|
30033
|
+
V("sortController")
|
|
30034
30034
|
], ls);
|
|
30035
|
-
var
|
|
30035
|
+
var ve = class extends L {
|
|
30036
30036
|
static addKeyboardModeEvents(t) {
|
|
30037
|
-
this.instanceCount > 0 || (t.addEventListener("keydown",
|
|
30037
|
+
this.instanceCount > 0 || (t.addEventListener("keydown", ve.toggleKeyboardMode), t.addEventListener("mousedown", ve.toggleKeyboardMode));
|
|
30038
30038
|
}
|
|
30039
30039
|
static removeKeyboardModeEvents(t) {
|
|
30040
|
-
this.instanceCount > 0 || (t.addEventListener("keydown",
|
|
30040
|
+
this.instanceCount > 0 || (t.addEventListener("keydown", ve.toggleKeyboardMode), t.addEventListener("mousedown", ve.toggleKeyboardMode));
|
|
30041
30041
|
}
|
|
30042
30042
|
static toggleKeyboardMode(t) {
|
|
30043
|
-
const e =
|
|
30044
|
-
i && (t.ctrlKey || t.metaKey || t.altKey) || e !== i && (
|
|
30043
|
+
const e = ve.keyboardModeActive, i = t.type === "keydown";
|
|
30044
|
+
i && (t.ctrlKey || t.metaKey || t.altKey) || e !== i && (ve.keyboardModeActive = i);
|
|
30045
30045
|
}
|
|
30046
30046
|
static unregisterGridCompController(t) {
|
|
30047
|
-
|
|
30047
|
+
ve.removeKeyboardModeEvents(t);
|
|
30048
30048
|
}
|
|
30049
30049
|
init() {
|
|
30050
30050
|
const t = this.clearFocusedCell.bind(this);
|
|
@@ -30054,8 +30054,8 @@ var Ce = class extends L {
|
|
|
30054
30054
|
}
|
|
30055
30055
|
registerKeyboardFocusEvents() {
|
|
30056
30056
|
const t = this.gos.getDocument();
|
|
30057
|
-
|
|
30058
|
-
|
|
30057
|
+
ve.addKeyboardModeEvents(t), ve.instanceCount++, this.addDestroyFunc(() => {
|
|
30058
|
+
ve.instanceCount--, ve.unregisterGridCompController(t);
|
|
30059
30059
|
});
|
|
30060
30060
|
}
|
|
30061
30061
|
onColumnEverythingChanged() {
|
|
@@ -30065,7 +30065,7 @@ var Ce = class extends L {
|
|
|
30065
30065
|
t !== e && this.clearFocusedCell();
|
|
30066
30066
|
}
|
|
30067
30067
|
isKeyboardMode() {
|
|
30068
|
-
return
|
|
30068
|
+
return ve.keyboardModeActive;
|
|
30069
30069
|
}
|
|
30070
30070
|
// we check if the browser is focusing something, and if it is, and
|
|
30071
30071
|
// it's the cell we think is focused, then return the cell. so this
|
|
@@ -30115,7 +30115,7 @@ var Ce = class extends L {
|
|
|
30115
30115
|
clearFocusedCell() {
|
|
30116
30116
|
if (this.restoredFocusedCellPosition = null, this.focusedCellPosition == null)
|
|
30117
30117
|
return;
|
|
30118
|
-
const t =
|
|
30118
|
+
const t = H({
|
|
30119
30119
|
type: p.EVENT_CELL_FOCUS_CLEARED
|
|
30120
30120
|
}, this.getFocusEventParams());
|
|
30121
30121
|
this.focusedCellPosition = null, this.eventService.dispatchEvent(t);
|
|
@@ -30137,7 +30137,7 @@ var Ce = class extends L {
|
|
|
30137
30137
|
rowPinned: ei(s),
|
|
30138
30138
|
column: n
|
|
30139
30139
|
} : null;
|
|
30140
|
-
const l = Te(
|
|
30140
|
+
const l = Te(H({
|
|
30141
30141
|
type: p.EVENT_CELL_FOCUSED
|
|
30142
30142
|
}, this.getFocusEventParams()), {
|
|
30143
30143
|
forceBrowserFocus: o,
|
|
@@ -30252,7 +30252,7 @@ var Ce = class extends L {
|
|
|
30252
30252
|
});
|
|
30253
30253
|
}
|
|
30254
30254
|
focusLastHeader(t) {
|
|
30255
|
-
const e = this.headerNavigationService.getHeaderRowCount() - 1, i =
|
|
30255
|
+
const e = this.headerNavigationService.getHeaderRowCount() - 1, i = ae(this.columnModel.getAllDisplayedColumns());
|
|
30256
30256
|
return this.focusHeaderPosition({
|
|
30257
30257
|
headerPosition: { headerRowIndex: e, column: i },
|
|
30258
30258
|
rowWithoutSpanValue: -1,
|
|
@@ -30276,7 +30276,7 @@ var Ce = class extends L {
|
|
|
30276
30276
|
return n.length ? ((a, d) => a.filter((c) => d.indexOf(c) === -1))(r, n) : r;
|
|
30277
30277
|
}
|
|
30278
30278
|
focusInto(t, e = !1, i = !1) {
|
|
30279
|
-
const s = this.findFocusableElements(t, null, i), o = e ?
|
|
30279
|
+
const s = this.findFocusableElements(t, null, i), o = e ? ae(s) : s[0];
|
|
30280
30280
|
return o ? (o.focus({ preventScroll: !0 }), !0) : !1;
|
|
30281
30281
|
}
|
|
30282
30282
|
findFocusableElementBeforeTabGuard(t, e) {
|
|
@@ -30356,50 +30356,50 @@ var Ce = class extends L {
|
|
|
30356
30356
|
this.advancedFilterFocusColumn = void 0;
|
|
30357
30357
|
}
|
|
30358
30358
|
};
|
|
30359
|
-
|
|
30360
|
-
|
|
30359
|
+
ve.keyboardModeActive = !1;
|
|
30360
|
+
ve.instanceCount = 0;
|
|
30361
30361
|
u([
|
|
30362
30362
|
g("eGridDiv")
|
|
30363
|
-
],
|
|
30363
|
+
], ve.prototype, "eGridDiv", 2);
|
|
30364
30364
|
u([
|
|
30365
30365
|
g("columnModel")
|
|
30366
|
-
],
|
|
30366
|
+
], ve.prototype, "columnModel", 2);
|
|
30367
30367
|
u([
|
|
30368
30368
|
g("headerNavigationService")
|
|
30369
|
-
],
|
|
30369
|
+
], ve.prototype, "headerNavigationService", 2);
|
|
30370
30370
|
u([
|
|
30371
30371
|
g("headerPositionUtils")
|
|
30372
|
-
],
|
|
30372
|
+
], ve.prototype, "headerPositionUtils", 2);
|
|
30373
30373
|
u([
|
|
30374
30374
|
g("rowRenderer")
|
|
30375
|
-
],
|
|
30375
|
+
], ve.prototype, "rowRenderer", 2);
|
|
30376
30376
|
u([
|
|
30377
30377
|
g("rowPositionUtils")
|
|
30378
|
-
],
|
|
30378
|
+
], ve.prototype, "rowPositionUtils", 2);
|
|
30379
30379
|
u([
|
|
30380
30380
|
g("cellPositionUtils")
|
|
30381
|
-
],
|
|
30381
|
+
], ve.prototype, "cellPositionUtils", 2);
|
|
30382
30382
|
u([
|
|
30383
30383
|
g("navigationService")
|
|
30384
|
-
],
|
|
30384
|
+
], ve.prototype, "navigationService", 2);
|
|
30385
30385
|
u([
|
|
30386
30386
|
g("ctrlsService")
|
|
30387
|
-
],
|
|
30387
|
+
], ve.prototype, "ctrlsService", 2);
|
|
30388
30388
|
u([
|
|
30389
30389
|
g("filterManager")
|
|
30390
|
-
],
|
|
30390
|
+
], ve.prototype, "filterManager", 2);
|
|
30391
30391
|
u([
|
|
30392
|
-
|
|
30393
|
-
],
|
|
30392
|
+
ge("rangeService")
|
|
30393
|
+
], ve.prototype, "rangeService", 2);
|
|
30394
30394
|
u([
|
|
30395
|
-
|
|
30396
|
-
],
|
|
30395
|
+
ge("advancedFilterService")
|
|
30396
|
+
], ve.prototype, "advancedFilterService", 2);
|
|
30397
30397
|
u([
|
|
30398
30398
|
M
|
|
30399
|
-
],
|
|
30400
|
-
|
|
30401
|
-
|
|
30402
|
-
],
|
|
30399
|
+
], ve.prototype, "init", 1);
|
|
30400
|
+
ve = u([
|
|
30401
|
+
V("focusService")
|
|
30402
|
+
], ve);
|
|
30403
30403
|
var Ll = class extends L {
|
|
30404
30404
|
setMouseOver(t) {
|
|
30405
30405
|
this.selectedColumns = t;
|
|
@@ -30420,7 +30420,7 @@ var Ll = class extends L {
|
|
|
30420
30420
|
}
|
|
30421
30421
|
};
|
|
30422
30422
|
Ll = u([
|
|
30423
|
-
|
|
30423
|
+
V("columnHoverService")
|
|
30424
30424
|
], Ll);
|
|
30425
30425
|
var Wo = class extends L {
|
|
30426
30426
|
constructor() {
|
|
@@ -30481,7 +30481,7 @@ u([
|
|
|
30481
30481
|
M
|
|
30482
30482
|
], Wo.prototype, "postConstruct", 1);
|
|
30483
30483
|
Wo = u([
|
|
30484
|
-
|
|
30484
|
+
V("columnAnimationService")
|
|
30485
30485
|
], Wo);
|
|
30486
30486
|
var zs = class extends L {
|
|
30487
30487
|
postConstruct() {
|
|
@@ -30519,7 +30519,7 @@ u([
|
|
|
30519
30519
|
M
|
|
30520
30520
|
], zs.prototype, "postConstruct", 1);
|
|
30521
30521
|
zs = u([
|
|
30522
|
-
|
|
30522
|
+
V("paginationAutoPageSizeService")
|
|
30523
30523
|
], zs);
|
|
30524
30524
|
var Yr = class extends L {
|
|
30525
30525
|
constructor() {
|
|
@@ -30546,7 +30546,7 @@ u([
|
|
|
30546
30546
|
M
|
|
30547
30547
|
], Yr.prototype, "init", 1);
|
|
30548
30548
|
Yr = u([
|
|
30549
|
-
|
|
30549
|
+
V("valueCache")
|
|
30550
30550
|
], Yr);
|
|
30551
30551
|
var Ym = "paste", Ks = class extends L {
|
|
30552
30552
|
init() {
|
|
@@ -30578,7 +30578,7 @@ u([
|
|
|
30578
30578
|
M
|
|
30579
30579
|
], Ks.prototype, "init", 1);
|
|
30580
30580
|
Ks = u([
|
|
30581
|
-
|
|
30581
|
+
V("changeDetectionService")
|
|
30582
30582
|
], Ks);
|
|
30583
30583
|
var jr = class extends L {
|
|
30584
30584
|
adaptFunction(t, e) {
|
|
@@ -30616,7 +30616,7 @@ u([
|
|
|
30616
30616
|
g("componentMetadataProvider")
|
|
30617
30617
|
], jr.prototype, "componentMetadataProvider", 2);
|
|
30618
30618
|
jr = u([
|
|
30619
|
-
|
|
30619
|
+
V("agComponentUtils")
|
|
30620
30620
|
], jr);
|
|
30621
30621
|
var Uo = class extends L {
|
|
30622
30622
|
postConstruct() {
|
|
@@ -30712,7 +30712,7 @@ u([
|
|
|
30712
30712
|
M
|
|
30713
30713
|
], Uo.prototype, "postConstruct", 1);
|
|
30714
30714
|
Uo = u([
|
|
30715
|
-
|
|
30715
|
+
V("componentMetadataProvider")
|
|
30716
30716
|
], Uo);
|
|
30717
30717
|
var jm = 25, Sd = 10, Xn = 8, qm = 4, Jn = 4, Zn = 6, Qm = 16, Ed = 14, el = 8, Xm = {
|
|
30718
30718
|
// this item is required for custom themes
|
|
@@ -30860,7 +30860,7 @@ u([
|
|
|
30860
30860
|
M
|
|
30861
30861
|
], zo.prototype, "postConstruct", 1);
|
|
30862
30862
|
zo = u([
|
|
30863
|
-
|
|
30863
|
+
V("environment")
|
|
30864
30864
|
], zo);
|
|
30865
30865
|
var $s = class extends L {
|
|
30866
30866
|
constructor() {
|
|
@@ -30929,7 +30929,7 @@ u([
|
|
|
30929
30929
|
M
|
|
30930
30930
|
], $s.prototype, "postConstruct", 1);
|
|
30931
30931
|
$s = u([
|
|
30932
|
-
|
|
30932
|
+
V("rowContainerHeightService")
|
|
30933
30933
|
], $s);
|
|
30934
30934
|
var Ys = class extends L {
|
|
30935
30935
|
init() {
|
|
@@ -30974,7 +30974,7 @@ u([
|
|
|
30974
30974
|
M
|
|
30975
30975
|
], Ys.prototype, "init", 1);
|
|
30976
30976
|
Ys = u([
|
|
30977
|
-
|
|
30977
|
+
V("selectableService")
|
|
30978
30978
|
], Ys);
|
|
30979
30979
|
var Et = class extends j {
|
|
30980
30980
|
constructor() {
|
|
@@ -31113,34 +31113,34 @@ u([
|
|
|
31113
31113
|
g("rowNodeBlockLoader")
|
|
31114
31114
|
], Et.prototype, "rowNodeBlockLoader", 2);
|
|
31115
31115
|
u([
|
|
31116
|
-
|
|
31116
|
+
I("btFirst")
|
|
31117
31117
|
], Et.prototype, "btFirst", 2);
|
|
31118
31118
|
u([
|
|
31119
|
-
|
|
31119
|
+
I("btPrevious")
|
|
31120
31120
|
], Et.prototype, "btPrevious", 2);
|
|
31121
31121
|
u([
|
|
31122
|
-
|
|
31122
|
+
I("btNext")
|
|
31123
31123
|
], Et.prototype, "btNext", 2);
|
|
31124
31124
|
u([
|
|
31125
|
-
|
|
31125
|
+
I("btLast")
|
|
31126
31126
|
], Et.prototype, "btLast", 2);
|
|
31127
31127
|
u([
|
|
31128
|
-
|
|
31128
|
+
I("lbRecordCount")
|
|
31129
31129
|
], Et.prototype, "lbRecordCount", 2);
|
|
31130
31130
|
u([
|
|
31131
|
-
|
|
31131
|
+
I("lbFirstRowOnPage")
|
|
31132
31132
|
], Et.prototype, "lbFirstRowOnPage", 2);
|
|
31133
31133
|
u([
|
|
31134
|
-
|
|
31134
|
+
I("lbLastRowOnPage")
|
|
31135
31135
|
], Et.prototype, "lbLastRowOnPage", 2);
|
|
31136
31136
|
u([
|
|
31137
|
-
|
|
31137
|
+
I("lbCurrent")
|
|
31138
31138
|
], Et.prototype, "lbCurrent", 2);
|
|
31139
31139
|
u([
|
|
31140
|
-
|
|
31140
|
+
I("lbTotal")
|
|
31141
31141
|
], Et.prototype, "lbTotal", 2);
|
|
31142
31142
|
u([
|
|
31143
|
-
|
|
31143
|
+
I("pageSizeComp")
|
|
31144
31144
|
], Et.prototype, "pageSizeComp", 2);
|
|
31145
31145
|
u([
|
|
31146
31146
|
M
|
|
@@ -31191,7 +31191,7 @@ u([
|
|
|
31191
31191
|
g("overlayService")
|
|
31192
31192
|
], Cr.prototype, "overlayService", 2);
|
|
31193
31193
|
u([
|
|
31194
|
-
|
|
31194
|
+
I("eOverlayWrapper")
|
|
31195
31195
|
], Cr.prototype, "eOverlayWrapper", 2);
|
|
31196
31196
|
u([
|
|
31197
31197
|
M
|
|
@@ -31248,7 +31248,7 @@ u([
|
|
|
31248
31248
|
g("paginationProxy")
|
|
31249
31249
|
], js.prototype, "paginationProxy", 2);
|
|
31250
31250
|
js = u([
|
|
31251
|
-
|
|
31251
|
+
V("rowPositionUtils")
|
|
31252
31252
|
], js);
|
|
31253
31253
|
var Ml = class extends L {
|
|
31254
31254
|
createId(t) {
|
|
@@ -31265,7 +31265,7 @@ var Ml = class extends L {
|
|
|
31265
31265
|
}
|
|
31266
31266
|
};
|
|
31267
31267
|
Ml = u([
|
|
31268
|
-
|
|
31268
|
+
V("cellPositionUtils")
|
|
31269
31269
|
], Ml);
|
|
31270
31270
|
var yo = class {
|
|
31271
31271
|
constructor(t) {
|
|
@@ -31401,7 +31401,7 @@ var Rd = Ih, oi = class extends L {
|
|
|
31401
31401
|
return;
|
|
31402
31402
|
r.ensureIndexVisible(i), r.ensureColumnVisible(n);
|
|
31403
31403
|
const l = { rowIndex: i, column: n, rowPinned: o };
|
|
31404
|
-
this.focusService.setFocusedCell(Te(
|
|
31404
|
+
this.focusService.setFocusedCell(Te(H({}, l), { forceBrowserFocus: !0 })), e == null || e.setRangeToCell(l);
|
|
31405
31405
|
}
|
|
31406
31406
|
addRowEditingListeners() {
|
|
31407
31407
|
this.addManagedListener(this.eventService, p.EVENT_ROW_EDITING_STARTED, (t) => {
|
|
@@ -31465,13 +31465,13 @@ u([
|
|
|
31465
31465
|
g("columnModel")
|
|
31466
31466
|
], oi.prototype, "columnModel", 2);
|
|
31467
31467
|
u([
|
|
31468
|
-
|
|
31468
|
+
ge("rangeService")
|
|
31469
31469
|
], oi.prototype, "rangeService", 2);
|
|
31470
31470
|
u([
|
|
31471
31471
|
M
|
|
31472
31472
|
], oi.prototype, "init", 1);
|
|
31473
31473
|
oi = u([
|
|
31474
|
-
|
|
31474
|
+
V("undoRedoService")
|
|
31475
31475
|
], oi);
|
|
31476
31476
|
var Ko = class extends L {
|
|
31477
31477
|
findHeader(t, e) {
|
|
@@ -31522,7 +31522,7 @@ var Ko = class extends L {
|
|
|
31522
31522
|
const s = this.getHeaderRowType(e);
|
|
31523
31523
|
let o = t, r = e + 1, n = r;
|
|
31524
31524
|
if (s === "group") {
|
|
31525
|
-
const l = t.getDisplayedLeafColumns(), a = i === "After" ? l[0] :
|
|
31525
|
+
const l = t.getDisplayedLeafColumns(), a = i === "After" ? l[0] : ae(l), d = [];
|
|
31526
31526
|
let c = a;
|
|
31527
31527
|
for (; c.getParent() !== t; )
|
|
31528
31528
|
c = c.getParent(), d.push(c);
|
|
@@ -31536,7 +31536,7 @@ var Ko = class extends L {
|
|
|
31536
31536
|
r++;
|
|
31537
31537
|
}
|
|
31538
31538
|
else
|
|
31539
|
-
o =
|
|
31539
|
+
o = ae(d), o || (o = a);
|
|
31540
31540
|
}
|
|
31541
31541
|
return { column: o, headerRowIndex: r, headerRowIndexWithoutSpan: n };
|
|
31542
31542
|
}
|
|
@@ -31571,7 +31571,7 @@ u([
|
|
|
31571
31571
|
g("ctrlsService")
|
|
31572
31572
|
], Ko.prototype, "ctrlsService", 2);
|
|
31573
31573
|
Ko = u([
|
|
31574
|
-
|
|
31574
|
+
V("headerPositionUtils")
|
|
31575
31575
|
], Ko);
|
|
31576
31576
|
var Il = class {
|
|
31577
31577
|
buildColumnDefs(t, e, i) {
|
|
@@ -31609,7 +31609,7 @@ var Il = class {
|
|
|
31609
31609
|
}
|
|
31610
31610
|
};
|
|
31611
31611
|
Il = u([
|
|
31612
|
-
|
|
31612
|
+
V("columnDefFactory")
|
|
31613
31613
|
], Il);
|
|
31614
31614
|
var $o = class {
|
|
31615
31615
|
getInitialRowClasses(t) {
|
|
@@ -31672,7 +31672,7 @@ u([
|
|
|
31672
31672
|
g("gridOptionsService")
|
|
31673
31673
|
], $o.prototype, "gos", 2);
|
|
31674
31674
|
$o = u([
|
|
31675
|
-
|
|
31675
|
+
V("rowCssClassCalculator")
|
|
31676
31676
|
], $o);
|
|
31677
31677
|
var qs = class extends L {
|
|
31678
31678
|
init() {
|
|
@@ -31732,7 +31732,7 @@ u([
|
|
|
31732
31732
|
M
|
|
31733
31733
|
], qs.prototype, "init", 1);
|
|
31734
31734
|
qs = u([
|
|
31735
|
-
|
|
31735
|
+
V("rowNodeSorter")
|
|
31736
31736
|
], qs);
|
|
31737
31737
|
var Zi = class extends L {
|
|
31738
31738
|
constructor() {
|
|
@@ -31787,7 +31787,7 @@ var Zi = class extends L {
|
|
|
31787
31787
|
};
|
|
31788
31788
|
Zi.NAME = "ctrlsService";
|
|
31789
31789
|
Zi = u([
|
|
31790
|
-
|
|
31790
|
+
V(Zi.NAME)
|
|
31791
31791
|
], Zi);
|
|
31792
31792
|
var Nl = class extends L {
|
|
31793
31793
|
constructor() {
|
|
@@ -31803,7 +31803,7 @@ var Nl = class extends L {
|
|
|
31803
31803
|
}
|
|
31804
31804
|
};
|
|
31805
31805
|
Nl = u([
|
|
31806
|
-
|
|
31806
|
+
V("ctrlsFactory")
|
|
31807
31807
|
], Nl);
|
|
31808
31808
|
var ys = class extends j {
|
|
31809
31809
|
constructor(t, e) {
|
|
@@ -31858,10 +31858,10 @@ var ys = class extends j {
|
|
|
31858
31858
|
}
|
|
31859
31859
|
};
|
|
31860
31860
|
u([
|
|
31861
|
-
|
|
31861
|
+
I("eViewport")
|
|
31862
31862
|
], ys.prototype, "eViewport", 2);
|
|
31863
31863
|
u([
|
|
31864
|
-
|
|
31864
|
+
I("eContainer")
|
|
31865
31865
|
], ys.prototype, "eContainer", 2);
|
|
31866
31866
|
u([
|
|
31867
31867
|
g("scrollVisibleService")
|
|
@@ -31924,10 +31924,10 @@ Rs.TEMPLATE = /* html */
|
|
|
31924
31924
|
<div class="ag-horizontal-right-spacer" ref="eRightSpacer"></div>
|
|
31925
31925
|
</div>`;
|
|
31926
31926
|
u([
|
|
31927
|
-
|
|
31927
|
+
I("eLeftSpacer")
|
|
31928
31928
|
], Rs.prototype, "eLeftSpacer", 2);
|
|
31929
31929
|
u([
|
|
31930
|
-
|
|
31930
|
+
I("eRightSpacer")
|
|
31931
31931
|
], Rs.prototype, "eRightSpacer", 2);
|
|
31932
31932
|
u([
|
|
31933
31933
|
g("columnModel")
|
|
@@ -31961,7 +31961,7 @@ u([
|
|
|
31961
31961
|
M
|
|
31962
31962
|
], Yo.prototype, "postConstruct", 1);
|
|
31963
31963
|
Yo = u([
|
|
31964
|
-
|
|
31964
|
+
V("pinnedWidthService")
|
|
31965
31965
|
], Yo);
|
|
31966
31966
|
var Qs = class extends L {
|
|
31967
31967
|
constructor() {
|
|
@@ -32003,7 +32003,7 @@ u([
|
|
|
32003
32003
|
M
|
|
32004
32004
|
], Qs.prototype, "postConstruct", 1);
|
|
32005
32005
|
Qs = u([
|
|
32006
|
-
|
|
32006
|
+
V("rowNodeEventThrottle")
|
|
32007
32007
|
], Qs);
|
|
32008
32008
|
var eC = {
|
|
32009
32009
|
columnsMenuParams: { version: "31.1", message: "Use `columnChooserParams` instead." },
|
|
@@ -32556,7 +32556,7 @@ var eC = {
|
|
|
32556
32556
|
docsUrl: "grid-options/",
|
|
32557
32557
|
deprecations: oC,
|
|
32558
32558
|
validations: nC
|
|
32559
|
-
},
|
|
32559
|
+
}, pe = class {
|
|
32560
32560
|
constructor() {
|
|
32561
32561
|
this.destroyed = !1, this.domDataKey = "__AG_" + Math.random().toString(), this.propertyEventService = new $t(), this.globalEventHandlerFactory = (t) => (e, i) => {
|
|
32562
32562
|
if (this.destroyed)
|
|
@@ -32628,27 +32628,27 @@ var eC = {
|
|
|
32628
32628
|
}
|
|
32629
32629
|
static toConstrainedNum(t, e) {
|
|
32630
32630
|
return (i) => {
|
|
32631
|
-
const s =
|
|
32631
|
+
const s = pe.toNumber(i);
|
|
32632
32632
|
if (!(s == null || s < t || s > e))
|
|
32633
32633
|
return s;
|
|
32634
32634
|
};
|
|
32635
32635
|
}
|
|
32636
32636
|
static getCoercedValue(t, e) {
|
|
32637
|
-
const i =
|
|
32637
|
+
const i = pe.PROPERTY_COERCIONS.get(t);
|
|
32638
32638
|
return i ? i(e) : e;
|
|
32639
32639
|
}
|
|
32640
32640
|
static getCoercedGridOptions(t) {
|
|
32641
32641
|
const e = {};
|
|
32642
32642
|
return Object.entries(t).forEach(([i, s]) => {
|
|
32643
|
-
const o =
|
|
32643
|
+
const o = pe.getCoercedValue(i, s);
|
|
32644
32644
|
e[i] = o;
|
|
32645
32645
|
}), e;
|
|
32646
32646
|
}
|
|
32647
32647
|
updateGridOptions({ options: t, force: e, source: i = "api" }) {
|
|
32648
|
-
const s = { id:
|
|
32648
|
+
const s = { id: pe.changeSetId++, properties: [] }, o = [];
|
|
32649
32649
|
Object.entries(t).forEach(([r, n]) => {
|
|
32650
32650
|
i === "api" && xg[r] && B(`${r} is an initial property and cannot be updated.`);
|
|
32651
|
-
const l =
|
|
32651
|
+
const l = pe.getCoercedValue(r, n), a = e || typeof l == "object" && i === "api", d = this.gridOptions[r];
|
|
32652
32652
|
if (a || d !== l) {
|
|
32653
32653
|
this.gridOptions[r] = l;
|
|
32654
32654
|
const c = {
|
|
@@ -32685,7 +32685,7 @@ var eC = {
|
|
|
32685
32685
|
return this.scrollbarWidth;
|
|
32686
32686
|
}
|
|
32687
32687
|
isRowModelType(t) {
|
|
32688
|
-
return this.gridOptions.rowModelType === t || t === "clientSide" &&
|
|
32688
|
+
return this.gridOptions.rowModelType === t || t === "clientSide" && Y(this.gridOptions.rowModelType);
|
|
32689
32689
|
}
|
|
32690
32690
|
isDomLayout(t) {
|
|
32691
32691
|
var e;
|
|
@@ -32718,7 +32718,7 @@ var eC = {
|
|
|
32718
32718
|
}
|
|
32719
32719
|
// we don't allow dynamic row height for virtual paging
|
|
32720
32720
|
getRowHeightAsNumber() {
|
|
32721
|
-
if (!this.gridOptions.rowHeight ||
|
|
32721
|
+
if (!this.gridOptions.rowHeight || Y(this.gridOptions.rowHeight))
|
|
32722
32722
|
return this.environment.getDefaultRowHeight();
|
|
32723
32723
|
const t = this.environment.refreshRowHeightVariable();
|
|
32724
32724
|
return t !== -1 ? t : (console.warn("AG Grid row height must be a number if not using standard row model"), this.environment.getDefaultRowHeight());
|
|
@@ -32737,7 +32737,7 @@ var eC = {
|
|
|
32737
32737
|
setDomData(t, e, i) {
|
|
32738
32738
|
const s = this.getDomDataKey();
|
|
32739
32739
|
let o = t[s];
|
|
32740
|
-
|
|
32740
|
+
Y(o) && (o = {}, t[s] = o), o[e] = i;
|
|
32741
32741
|
}
|
|
32742
32742
|
getDocument() {
|
|
32743
32743
|
let t = null;
|
|
@@ -32810,52 +32810,52 @@ var eC = {
|
|
|
32810
32810
|
return e.api = this.api, e.columnApi = this.columnApi, e.context = this.context, e;
|
|
32811
32811
|
}
|
|
32812
32812
|
};
|
|
32813
|
-
|
|
32814
|
-
...Mo.BOOLEAN_PROPERTIES.map((t) => [t,
|
|
32815
|
-
...Mo.NUMBER_PROPERTIES.map((t) => [t,
|
|
32816
|
-
["groupAggFiltering", (t) => typeof t == "function" ? t :
|
|
32817
|
-
["pageSize",
|
|
32818
|
-
["autoSizePadding",
|
|
32819
|
-
["keepDetailRowsCount",
|
|
32820
|
-
["rowBuffer",
|
|
32821
|
-
["infiniteInitialRowCount",
|
|
32822
|
-
["cacheOverflowSize",
|
|
32823
|
-
["cacheBlockSize",
|
|
32824
|
-
["serverSideInitialRowCount",
|
|
32825
|
-
["viewportRowModelPageSize",
|
|
32826
|
-
["viewportRowModelBufferSize",
|
|
32813
|
+
pe.PROPERTY_COERCIONS = new Map([
|
|
32814
|
+
...Mo.BOOLEAN_PROPERTIES.map((t) => [t, pe.toBoolean]),
|
|
32815
|
+
...Mo.NUMBER_PROPERTIES.map((t) => [t, pe.toNumber]),
|
|
32816
|
+
["groupAggFiltering", (t) => typeof t == "function" ? t : pe.toBoolean(t)],
|
|
32817
|
+
["pageSize", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32818
|
+
["autoSizePadding", pe.toConstrainedNum(0, Number.MAX_VALUE)],
|
|
32819
|
+
["keepDetailRowsCount", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32820
|
+
["rowBuffer", pe.toConstrainedNum(0, Number.MAX_VALUE)],
|
|
32821
|
+
["infiniteInitialRowCount", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32822
|
+
["cacheOverflowSize", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32823
|
+
["cacheBlockSize", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32824
|
+
["serverSideInitialRowCount", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32825
|
+
["viewportRowModelPageSize", pe.toConstrainedNum(1, Number.MAX_VALUE)],
|
|
32826
|
+
["viewportRowModelBufferSize", pe.toConstrainedNum(0, Number.MAX_VALUE)]
|
|
32827
32827
|
]);
|
|
32828
|
-
|
|
32828
|
+
pe.changeSetId = 0;
|
|
32829
32829
|
u([
|
|
32830
32830
|
g("gridOptions")
|
|
32831
|
-
],
|
|
32831
|
+
], pe.prototype, "gridOptions", 2);
|
|
32832
32832
|
u([
|
|
32833
32833
|
g("eventService")
|
|
32834
|
-
],
|
|
32834
|
+
], pe.prototype, "eventService", 2);
|
|
32835
32835
|
u([
|
|
32836
32836
|
g("environment")
|
|
32837
|
-
],
|
|
32837
|
+
], pe.prototype, "environment", 2);
|
|
32838
32838
|
u([
|
|
32839
32839
|
g("frameworkOverrides")
|
|
32840
|
-
],
|
|
32840
|
+
], pe.prototype, "frameworkOverrides", 2);
|
|
32841
32841
|
u([
|
|
32842
32842
|
g("eGridDiv")
|
|
32843
|
-
],
|
|
32843
|
+
], pe.prototype, "eGridDiv", 2);
|
|
32844
32844
|
u([
|
|
32845
32845
|
g("validationService")
|
|
32846
|
-
],
|
|
32846
|
+
], pe.prototype, "validationService", 2);
|
|
32847
32847
|
u([
|
|
32848
32848
|
g("gridApi")
|
|
32849
|
-
],
|
|
32849
|
+
], pe.prototype, "api", 2);
|
|
32850
32850
|
u([
|
|
32851
32851
|
M
|
|
32852
|
-
],
|
|
32852
|
+
], pe.prototype, "init", 1);
|
|
32853
32853
|
u([
|
|
32854
32854
|
at
|
|
32855
|
-
],
|
|
32856
|
-
|
|
32857
|
-
|
|
32858
|
-
],
|
|
32855
|
+
], pe.prototype, "destroy", 1);
|
|
32856
|
+
pe = u([
|
|
32857
|
+
V("gridOptionsService")
|
|
32858
|
+
], pe);
|
|
32859
32859
|
var xl = class extends L {
|
|
32860
32860
|
getLocaleTextFunc() {
|
|
32861
32861
|
const t = this.gos.getCallback("getLocaleText");
|
|
@@ -32878,7 +32878,7 @@ var xl = class extends L {
|
|
|
32878
32878
|
}
|
|
32879
32879
|
};
|
|
32880
32880
|
xl = u([
|
|
32881
|
-
|
|
32881
|
+
V("localeService")
|
|
32882
32882
|
], xl);
|
|
32883
32883
|
var Ba = class Gh extends ys {
|
|
32884
32884
|
constructor() {
|
|
@@ -32939,7 +32939,7 @@ var aC = Ba, bd = {
|
|
|
32939
32939
|
var t;
|
|
32940
32940
|
const e = this.getDefaultDataTypes();
|
|
32941
32941
|
this.dataTypeDefinitions = {}, Object.entries(e).forEach(([s, o]) => {
|
|
32942
|
-
this.dataTypeDefinitions[s] = Te(
|
|
32942
|
+
this.dataTypeDefinitions[s] = Te(H({}, o), {
|
|
32943
32943
|
groupSafeValueFormatter: this.createGroupSafeValueFormatter(o)
|
|
32944
32944
|
});
|
|
32945
32945
|
});
|
|
@@ -32953,7 +32953,7 @@ var aC = Ba, bd = {
|
|
|
32953
32953
|
});
|
|
32954
32954
|
}
|
|
32955
32955
|
mergeDataTypeDefinitions(t, e) {
|
|
32956
|
-
const i =
|
|
32956
|
+
const i = H(H({}, t), e);
|
|
32957
32957
|
return t.columnTypes && e.columnTypes && e.appendColumnTypes && (i.columnTypes = [
|
|
32958
32958
|
...this.convertColumnTypes(t.columnTypes),
|
|
32959
32959
|
...this.convertColumnTypes(e.columnTypes)
|
|
@@ -32992,7 +32992,7 @@ var aC = Ba, bd = {
|
|
|
32992
32992
|
t
|
|
32993
32993
|
);
|
|
32994
32994
|
}
|
|
32995
|
-
return Te(
|
|
32995
|
+
return Te(H({}, o), {
|
|
32996
32996
|
groupSafeValueFormatter: this.createGroupSafeValueFormatter(o)
|
|
32997
32997
|
});
|
|
32998
32998
|
}
|
|
@@ -33015,11 +33015,11 @@ var aC = Ba, bd = {
|
|
|
33015
33015
|
if (!e.value)
|
|
33016
33016
|
return;
|
|
33017
33017
|
if ("toNumber" in e.value)
|
|
33018
|
-
return t.valueFormatter(Te(
|
|
33018
|
+
return t.valueFormatter(Te(H({}, e), {
|
|
33019
33019
|
value: e.value.toNumber()
|
|
33020
33020
|
}));
|
|
33021
33021
|
if ("value" in e.value)
|
|
33022
|
-
return t.valueFormatter(Te(
|
|
33022
|
+
return t.valueFormatter(Te(H({}, e), {
|
|
33023
33023
|
value: e.value.value
|
|
33024
33024
|
}));
|
|
33025
33025
|
}
|
|
@@ -33064,7 +33064,7 @@ var aC = Ba, bd = {
|
|
|
33064
33064
|
const i = (s) => {
|
|
33065
33065
|
e.add(s.key);
|
|
33066
33066
|
};
|
|
33067
|
-
t.addEventListener(
|
|
33067
|
+
t.addEventListener(we.EVENT_STATE_UPDATED, i), this.columnStateUpdateListenerDestroyFuncs.push(() => t.removeEventListener(we.EVENT_STATE_UPDATED, i));
|
|
33068
33068
|
}
|
|
33069
33069
|
canInferCellDataType(t, e) {
|
|
33070
33070
|
var i;
|
|
@@ -33213,9 +33213,9 @@ var aC = Ba, bd = {
|
|
|
33213
33213
|
const s = (l, a, d) => {
|
|
33214
33214
|
let c = l.getColDef().valueFormatter;
|
|
33215
33215
|
return c === e.groupSafeValueFormatter && (c = e.valueFormatter), this.valueService.formatValue(l, a, d, c);
|
|
33216
|
-
}, o =
|
|
33216
|
+
}, o = he.__isRegistered("@ag-grid-enterprise/set-filter", this.context.getGridId()), r = this.localeService.getLocaleTextFunc(), n = (l) => {
|
|
33217
33217
|
const { filterParams: a } = t;
|
|
33218
|
-
t.filterParams = typeof a == "object" ?
|
|
33218
|
+
t.filterParams = typeof a == "object" ? H(H({}, a), l) : l;
|
|
33219
33219
|
};
|
|
33220
33220
|
switch (e.baseDataType) {
|
|
33221
33221
|
case "number": {
|
|
@@ -33393,7 +33393,7 @@ u([
|
|
|
33393
33393
|
M
|
|
33394
33394
|
], as.prototype, "init", 1);
|
|
33395
33395
|
as = u([
|
|
33396
|
-
|
|
33396
|
+
V("dataTypeService")
|
|
33397
33397
|
], as);
|
|
33398
33398
|
var ds = class extends L {
|
|
33399
33399
|
constructor() {
|
|
@@ -33413,7 +33413,7 @@ var ds = class extends L {
|
|
|
33413
33413
|
}
|
|
33414
33414
|
gridReady() {
|
|
33415
33415
|
this.dispatchGridReadyEvent();
|
|
33416
|
-
const t =
|
|
33416
|
+
const t = he.__isRegistered("@ag-grid-enterprise/core", this.context.getGridId());
|
|
33417
33417
|
new ka("AG Grid", () => this.gos.get("debug")).log(`initialised successfully, enterprise = ${t}`);
|
|
33418
33418
|
}
|
|
33419
33419
|
dispatchGridReadyEvent() {
|
|
@@ -33446,7 +33446,7 @@ u([
|
|
|
33446
33446
|
M
|
|
33447
33447
|
], ds.prototype, "postConstruct", 1);
|
|
33448
33448
|
ds = u([
|
|
33449
|
-
|
|
33449
|
+
V("syncService")
|
|
33450
33450
|
], ds);
|
|
33451
33451
|
var us = class extends L {
|
|
33452
33452
|
constructor() {
|
|
@@ -33473,7 +33473,7 @@ var us = class extends L {
|
|
|
33473
33473
|
showOverlay(t, e, i) {
|
|
33474
33474
|
const s = t.newAgStackInstance(), o = this.addManagedPropertyListener(i, ({ currentValue: r }) => {
|
|
33475
33475
|
s.then((n) => {
|
|
33476
|
-
n.refresh && n.refresh(this.gos.addGridCommonParams(
|
|
33476
|
+
n.refresh && n.refresh(this.gos.addGridCommonParams(H({}, r ?? {})));
|
|
33477
33477
|
});
|
|
33478
33478
|
});
|
|
33479
33479
|
this.manuallyDisplayed = this.columnModel.isReady() && !this.paginationProxy.isEmpty(), this.overlayWrapperComp.showOverlay(s, e, o);
|
|
@@ -33505,7 +33505,7 @@ u([
|
|
|
33505
33505
|
M
|
|
33506
33506
|
], us.prototype, "postConstruct", 1);
|
|
33507
33507
|
us = u([
|
|
33508
|
-
|
|
33508
|
+
V("overlayService")
|
|
33509
33509
|
], us);
|
|
33510
33510
|
var ot = class extends L {
|
|
33511
33511
|
constructor() {
|
|
@@ -33751,7 +33751,7 @@ var ot = class extends L {
|
|
|
33751
33751
|
const r = this.columnModel.getAllDisplayedColumns(), n = new Set(s);
|
|
33752
33752
|
o = r.find((l) => n.has(l));
|
|
33753
33753
|
}
|
|
33754
|
-
e.push(Te(
|
|
33754
|
+
e.push(Te(H({}, i), {
|
|
33755
33755
|
columns: s,
|
|
33756
33756
|
startColumn: o
|
|
33757
33757
|
}));
|
|
@@ -33833,14 +33833,14 @@ var ot = class extends L {
|
|
|
33833
33833
|
let i = !1;
|
|
33834
33834
|
Object.entries(e).forEach(([s, o]) => {
|
|
33835
33835
|
al(o, this.cachedState[s]) || (i = !0);
|
|
33836
|
-
}), this.cachedState =
|
|
33836
|
+
}), this.cachedState = H(H({}, this.cachedState), e), i && this.dispatchStateUpdateEvent(t);
|
|
33837
33837
|
}
|
|
33838
33838
|
updateCachedState(t, e) {
|
|
33839
33839
|
const i = this.cachedState[t];
|
|
33840
33840
|
this.setCachedStateValue(t, e), al(e, i) || this.dispatchStateUpdateEvent([t]);
|
|
33841
33841
|
}
|
|
33842
33842
|
setCachedStateValue(t, e) {
|
|
33843
|
-
this.cachedState = Te(
|
|
33843
|
+
this.cachedState = Te(H({}, this.cachedState), {
|
|
33844
33844
|
[t]: e
|
|
33845
33845
|
});
|
|
33846
33846
|
}
|
|
@@ -33900,16 +33900,16 @@ u([
|
|
|
33900
33900
|
g("columnAnimationService")
|
|
33901
33901
|
], ot.prototype, "columnAnimationService", 2);
|
|
33902
33902
|
u([
|
|
33903
|
-
|
|
33903
|
+
ge("sideBarService")
|
|
33904
33904
|
], ot.prototype, "sideBarService", 2);
|
|
33905
33905
|
u([
|
|
33906
|
-
|
|
33906
|
+
ge("rangeService")
|
|
33907
33907
|
], ot.prototype, "rangeService", 2);
|
|
33908
33908
|
u([
|
|
33909
33909
|
M
|
|
33910
33910
|
], ot.prototype, "postConstruct", 1);
|
|
33911
33911
|
ot = u([
|
|
33912
|
-
|
|
33912
|
+
V("stateService")
|
|
33913
33913
|
], ot);
|
|
33914
33914
|
var jo = class extends L {
|
|
33915
33915
|
init() {
|
|
@@ -33979,7 +33979,7 @@ var jo = class extends L {
|
|
|
33979
33979
|
const R = Array.isArray(v) ? v : [v];
|
|
33980
33980
|
let b = !0;
|
|
33981
33981
|
if (R.forEach((D) => {
|
|
33982
|
-
|
|
33982
|
+
he.__assertRegistered(D, String(c), this.context.getGridId()) || (b = !1, a.add(`${String(c)} is only available when ${D} is loaded.`));
|
|
33983
33983
|
}), !b)
|
|
33984
33984
|
return;
|
|
33985
33985
|
}
|
|
@@ -34027,7 +34027,7 @@ u([
|
|
|
34027
34027
|
M
|
|
34028
34028
|
], jo.prototype, "init", 1);
|
|
34029
34029
|
jo = u([
|
|
34030
|
-
|
|
34030
|
+
V("validationService")
|
|
34031
34031
|
], jo);
|
|
34032
34032
|
var qr = class extends L {
|
|
34033
34033
|
constructor() {
|
|
@@ -34083,7 +34083,7 @@ u([
|
|
|
34083
34083
|
M
|
|
34084
34084
|
], qr.prototype, "postConstruct", 1);
|
|
34085
34085
|
qr = u([
|
|
34086
|
-
|
|
34086
|
+
V("apiEventService")
|
|
34087
34087
|
], qr);
|
|
34088
34088
|
var Wa = class extends j {
|
|
34089
34089
|
constructor() {
|
|
@@ -34201,7 +34201,7 @@ u([
|
|
|
34201
34201
|
M
|
|
34202
34202
|
], qo.prototype, "postConstruct", 1);
|
|
34203
34203
|
qo = u([
|
|
34204
|
-
|
|
34204
|
+
V("ariaAnnouncementService")
|
|
34205
34205
|
], qo);
|
|
34206
34206
|
var Gl = class {
|
|
34207
34207
|
};
|
|
@@ -34210,8 +34210,8 @@ var dC = 1, uC = class {
|
|
|
34210
34210
|
create(t, e, i, s, o) {
|
|
34211
34211
|
var r;
|
|
34212
34212
|
let n = {};
|
|
34213
|
-
Gl.gridOptions ? (gt(n, Gl.gridOptions, !0, !0), n =
|
|
34214
|
-
const l =
|
|
34213
|
+
Gl.gridOptions ? (gt(n, Gl.gridOptions, !0, !0), n = H(H({}, n), e)) : n = e;
|
|
34214
|
+
const l = pe.getCoercedGridOptions(n), a = !!l.debug, d = (r = l.gridId) != null ? r : String(dC++), c = this.getRegisteredModules(o, d), h = this.createBeansList(l.rowModelType, c, d), f = this.createProvidedBeans(t, l, o);
|
|
34215
34215
|
if (!h) {
|
|
34216
34216
|
Ki("Failed to create grid.");
|
|
34217
34217
|
return;
|
|
@@ -34234,12 +34234,12 @@ var dC = 1, uC = class {
|
|
|
34234
34234
|
t.agStackComponentsRegistry.setupComponents(i);
|
|
34235
34235
|
}
|
|
34236
34236
|
getRegisteredModules(t, e) {
|
|
34237
|
-
const i = t ? t.modules : null, s =
|
|
34237
|
+
const i = t ? t.modules : null, s = he.__getRegisteredModules(e), o = [], r = {}, n = (l, a, d) => {
|
|
34238
34238
|
((h) => {
|
|
34239
|
-
r[h.moduleName] || (r[h.moduleName] = !0, o.push(h),
|
|
34239
|
+
r[h.moduleName] || (r[h.moduleName] = !0, o.push(h), he.__register(h, l, d));
|
|
34240
34240
|
})(a), a.dependantModules && a.dependantModules.forEach((h) => n(l, h, d));
|
|
34241
34241
|
};
|
|
34242
|
-
return i && i.forEach((l) => n(!0, l, e)), s && s.forEach((l) => n(!
|
|
34242
|
+
return i && i.forEach((l) => n(!0, l, e)), s && s.forEach((l) => n(!he.__isPackageBased(), l, void 0)), o;
|
|
34243
34243
|
}
|
|
34244
34244
|
registerModuleUserComponents(t, e) {
|
|
34245
34245
|
this.extractModuleEntity(
|
|
@@ -34251,7 +34251,7 @@ var dC = 1, uC = class {
|
|
|
34251
34251
|
}
|
|
34252
34252
|
createProvidedBeans(t, e, i) {
|
|
34253
34253
|
let s = i ? i.frameworkOverrides : null;
|
|
34254
|
-
|
|
34254
|
+
Y(s) && (s = new Lh());
|
|
34255
34255
|
const o = {
|
|
34256
34256
|
gridOptions: e,
|
|
34257
34257
|
eGridDiv: t,
|
|
@@ -34304,7 +34304,7 @@ var dC = 1, uC = class {
|
|
|
34304
34304
|
Ki("Could not find row model for rowModelType = " + t);
|
|
34305
34305
|
return;
|
|
34306
34306
|
}
|
|
34307
|
-
if (!
|
|
34307
|
+
if (!he.__assertRegistered(o[t], `rowModelType = '${t}'`, i))
|
|
34308
34308
|
return;
|
|
34309
34309
|
const r = [
|
|
34310
34310
|
J,
|
|
@@ -34326,7 +34326,7 @@ var dC = 1, uC = class {
|
|
|
34326
34326
|
_o,
|
|
34327
34327
|
gl,
|
|
34328
34328
|
$t,
|
|
34329
|
-
|
|
34329
|
+
pe,
|
|
34330
34330
|
pi,
|
|
34331
34331
|
ns,
|
|
34332
34332
|
Gt,
|
|
@@ -34345,7 +34345,7 @@ var dC = 1, uC = class {
|
|
|
34345
34345
|
Ai,
|
|
34346
34346
|
Q,
|
|
34347
34347
|
Us,
|
|
34348
|
-
|
|
34348
|
+
ve,
|
|
34349
34349
|
ui,
|
|
34350
34350
|
zo,
|
|
34351
34351
|
Pi,
|
|
@@ -35267,22 +35267,22 @@ u([
|
|
|
35267
35267
|
g("flattenStage")
|
|
35268
35268
|
], rt.prototype, "flattenStage", 2);
|
|
35269
35269
|
u([
|
|
35270
|
-
|
|
35270
|
+
ge("groupStage")
|
|
35271
35271
|
], rt.prototype, "groupStage", 2);
|
|
35272
35272
|
u([
|
|
35273
|
-
|
|
35273
|
+
ge("aggregationStage")
|
|
35274
35274
|
], rt.prototype, "aggregationStage", 2);
|
|
35275
35275
|
u([
|
|
35276
|
-
|
|
35276
|
+
ge("pivotStage")
|
|
35277
35277
|
], rt.prototype, "pivotStage", 2);
|
|
35278
35278
|
u([
|
|
35279
|
-
|
|
35279
|
+
ge("filterAggregatesStage")
|
|
35280
35280
|
], rt.prototype, "filterAggregatesStage", 2);
|
|
35281
35281
|
u([
|
|
35282
35282
|
M
|
|
35283
35283
|
], rt.prototype, "init", 1);
|
|
35284
35284
|
rt = u([
|
|
35285
|
-
|
|
35285
|
+
V("rowModel")
|
|
35286
35286
|
], rt);
|
|
35287
35287
|
var Qr = class extends L {
|
|
35288
35288
|
execute(t) {
|
|
@@ -35294,7 +35294,7 @@ u([
|
|
|
35294
35294
|
g("filterService")
|
|
35295
35295
|
], Qr.prototype, "filterService", 2);
|
|
35296
35296
|
Qr = u([
|
|
35297
|
-
|
|
35297
|
+
V("filterStage")
|
|
35298
35298
|
], Qr);
|
|
35299
35299
|
var Qo = class extends L {
|
|
35300
35300
|
execute(t) {
|
|
@@ -35309,7 +35309,7 @@ u([
|
|
|
35309
35309
|
g("sortController")
|
|
35310
35310
|
], Qo.prototype, "sortController", 2);
|
|
35311
35311
|
Qo = u([
|
|
35312
|
-
|
|
35312
|
+
V("sortStage")
|
|
35313
35313
|
], Qo);
|
|
35314
35314
|
var Xr = class extends L {
|
|
35315
35315
|
execute(t) {
|
|
@@ -35375,7 +35375,7 @@ u([
|
|
|
35375
35375
|
g("beans")
|
|
35376
35376
|
], Xr.prototype, "beans", 2);
|
|
35377
35377
|
Xr = u([
|
|
35378
|
-
|
|
35378
|
+
V("flattenStage")
|
|
35379
35379
|
], Xr);
|
|
35380
35380
|
var Xo = class extends L {
|
|
35381
35381
|
sort(t, e, i, s, o, r) {
|
|
@@ -35489,7 +35489,7 @@ u([
|
|
|
35489
35489
|
g("rowNodeSorter")
|
|
35490
35490
|
], Xo.prototype, "rowNodeSorter", 2);
|
|
35491
35491
|
Xo = u([
|
|
35492
|
-
|
|
35492
|
+
V("sortService")
|
|
35493
35493
|
], Xo);
|
|
35494
35494
|
var Jr = class extends L {
|
|
35495
35495
|
filter(t) {
|
|
@@ -35526,7 +35526,7 @@ u([
|
|
|
35526
35526
|
g("filterManager")
|
|
35527
35527
|
], Jr.prototype, "filterManager", 2);
|
|
35528
35528
|
Jr = u([
|
|
35529
|
-
|
|
35529
|
+
V("filterService")
|
|
35530
35530
|
], Jr);
|
|
35531
35531
|
var cs = class extends L {
|
|
35532
35532
|
postConstruct() {
|
|
@@ -35584,7 +35584,7 @@ u([
|
|
|
35584
35584
|
M
|
|
35585
35585
|
], cs.prototype, "postConstruct", 1);
|
|
35586
35586
|
cs = u([
|
|
35587
|
-
|
|
35587
|
+
V("immutableService")
|
|
35588
35588
|
], cs);
|
|
35589
35589
|
var pC = "31.3.4", gC = {
|
|
35590
35590
|
version: pC,
|
|
@@ -36022,7 +36022,7 @@ ut([
|
|
|
36022
36022
|
at
|
|
36023
36023
|
], ri.prototype, "destroyDatasource", 1);
|
|
36024
36024
|
ri = ut([
|
|
36025
|
-
|
|
36025
|
+
V("rowModel")
|
|
36026
36026
|
], ri);
|
|
36027
36027
|
var wC = "31.3.4", SC = {
|
|
36028
36028
|
version: wC,
|
|
@@ -36280,7 +36280,7 @@ yt([
|
|
|
36280
36280
|
M
|
|
36281
36281
|
], Li.prototype, "postConstruct", 1);
|
|
36282
36282
|
Li = yt([
|
|
36283
|
-
|
|
36283
|
+
V("csvCreator")
|
|
36284
36284
|
], Li);
|
|
36285
36285
|
var ni = class extends L {
|
|
36286
36286
|
serialize(t, e = {}) {
|
|
@@ -36446,14 +36446,14 @@ yt([
|
|
|
36446
36446
|
g("sortController")
|
|
36447
36447
|
], ni.prototype, "sortController", 2);
|
|
36448
36448
|
ni = yt([
|
|
36449
|
-
|
|
36449
|
+
V("gridSerializer")
|
|
36450
36450
|
], ni);
|
|
36451
36451
|
var AC = "31.3.4", PC = {
|
|
36452
36452
|
version: AC,
|
|
36453
36453
|
moduleName: "@ag-grid-community/csv-export",
|
|
36454
36454
|
beans: [Li, ni]
|
|
36455
36455
|
}, { utf8_encode: Cw } = z;
|
|
36456
|
-
|
|
36456
|
+
he.__registerModules([gC, SC, PC], !1, void 0);
|
|
36457
36457
|
var FC = Object.defineProperty, LC = Object.defineProperties, MC = Object.getOwnPropertyDescriptors, Ad = Object.getOwnPropertySymbols, IC = Object.prototype.hasOwnProperty, NC = Object.prototype.propertyIsEnumerable, Pd = (t, e, i) => e in t ? FC(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, Fe = (t, e) => {
|
|
36458
36458
|
for (var i in e || (e = {}))
|
|
36459
36459
|
IC.call(e, i) && Pd(t, i, e[i]);
|
|
@@ -36465,7 +36465,7 @@ var FC = Object.defineProperty, LC = Object.defineProperties, MC = Object.getOwn
|
|
|
36465
36465
|
setMethods: () => {
|
|
36466
36466
|
}
|
|
36467
36467
|
}), xC = (t) => {
|
|
36468
|
-
const { initialProps: e, addUpdateCallback: i, CustomComponentClass: s, setMethods: o } = t, [r, n] =
|
|
36468
|
+
const { initialProps: e, addUpdateCallback: i, CustomComponentClass: s, setMethods: o } = t, [r, n] = x(e);
|
|
36469
36469
|
return Je(() => {
|
|
36470
36470
|
i((l) => n(l));
|
|
36471
36471
|
}, []), /* @__PURE__ */ T.createElement(za.Provider, { value: { setMethods: o } }, /* @__PURE__ */ T.createElement(s, Fe({}, r)));
|
|
@@ -36937,34 +36937,34 @@ var vr = (t, e, i, s) => {
|
|
|
36937
36937
|
return e.resolveNow(null, (i) => i);
|
|
36938
36938
|
}, Wh = Ol((t, e) => {
|
|
36939
36939
|
var i;
|
|
36940
|
-
const s = lt(ct).context, o =
|
|
36940
|
+
const s = lt(ct).context, o = N(null), r = N(null), n = N(null), l = N(null), a = N(null), d = N(), [c, h] = x(), [f, m] = x(), [C, w] = x(), [v, y] = x(() => new It()), [E, R] = x(() => new It("ag-hidden")), [b, D] = x(() => new It("ag-hidden")), [A, F] = x(() => new It("ag-invisible"));
|
|
36941
36941
|
_l(e, () => ({
|
|
36942
36942
|
// force new instance when grid tries to refresh
|
|
36943
36943
|
refresh() {
|
|
36944
36944
|
return !1;
|
|
36945
36945
|
}
|
|
36946
36946
|
})), Ri(() => vr(c, s, r.current), [c]);
|
|
36947
|
-
const
|
|
36948
|
-
if (o.current =
|
|
36947
|
+
const W = Z((me) => {
|
|
36948
|
+
if (o.current = me, !o.current) {
|
|
36949
36949
|
s.destroyBean(d.current), d.current = null;
|
|
36950
36950
|
return;
|
|
36951
36951
|
}
|
|
36952
36952
|
const ie = {
|
|
36953
|
-
setInnerRenderer: (X,
|
|
36954
|
-
h(X), w(
|
|
36953
|
+
setInnerRenderer: (X, re) => {
|
|
36954
|
+
h(X), w(re);
|
|
36955
36955
|
},
|
|
36956
36956
|
setChildCount: (X) => m(X),
|
|
36957
|
-
addOrRemoveCssClass: (X,
|
|
36958
|
-
setContractedDisplayed: (X) => D((
|
|
36959
|
-
setExpandedDisplayed: (X) => R((
|
|
36960
|
-
setCheckboxVisible: (X) => F((
|
|
36957
|
+
addOrRemoveCssClass: (X, re) => y((Ae) => Ae.setClass(X, re)),
|
|
36958
|
+
setContractedDisplayed: (X) => D((re) => re.setClass("ag-hidden", !X)),
|
|
36959
|
+
setExpandedDisplayed: (X) => R((re) => re.setClass("ag-hidden", !X)),
|
|
36960
|
+
setCheckboxVisible: (X) => F((re) => re.setClass("ag-invisible", !X))
|
|
36961
36961
|
};
|
|
36962
36962
|
d.current = s.createBean(new ms()), d.current.init(ie, o.current, n.current, l.current, a.current, Wh, t);
|
|
36963
|
-
}, []),
|
|
36964
|
-
return /* @__PURE__ */ T.createElement("span", Fe({ className:
|
|
36963
|
+
}, []), O = $(() => `ag-cell-wrapper ${v.toString()}`, [v]), G = $(() => `ag-group-expanded ${E.toString()}`, [E]), _ = $(() => `ag-group-contracted ${b.toString()}`, [b]), K = $(() => `ag-group-checkbox ${A.toString()}`, [A]), k = c && c.componentFromFramework, oe = k ? c.componentClass : void 0, de = c == null && C != null, fe = z.escapeString(C, !0);
|
|
36964
|
+
return /* @__PURE__ */ T.createElement("span", Fe({ className: O, ref: W }, t.colDef ? {} : { role: (i = d.current) == null ? void 0 : i.getCellAriaRole() }), /* @__PURE__ */ T.createElement("span", { className: G, ref: l }), /* @__PURE__ */ T.createElement("span", { className: _, ref: a }), /* @__PURE__ */ T.createElement("span", { className: K, ref: n }), /* @__PURE__ */ T.createElement("span", { className: "ag-group-value", ref: r }, de && /* @__PURE__ */ T.createElement(T.Fragment, null, fe), k && /* @__PURE__ */ T.createElement(oe, Fe({}, c.params))), /* @__PURE__ */ T.createElement("span", { className: "ag-group-child-count" }, f));
|
|
36965
36965
|
}), Md = Wh, QC = (t) => {
|
|
36966
|
-
const { ctrl: e } = t, i = e.isAlive(), { context: s } = lt(ct), o = i ? e.getColId() : void 0, [r, n] =
|
|
36967
|
-
let h =
|
|
36966
|
+
const { ctrl: e } = t, i = e.isAlive(), { context: s } = lt(ct), o = i ? e.getColId() : void 0, [r, n] = x(), l = N(null), a = N(null), d = N(null), c = N();
|
|
36967
|
+
let h = N();
|
|
36968
36968
|
i && !h.current && (h.current = new or(() => l.current));
|
|
36969
36969
|
const f = Z((v) => {
|
|
36970
36970
|
var y;
|
|
@@ -36988,7 +36988,7 @@ var vr = (t, e, i, s) => {
|
|
|
36988
36988
|
Ri(() => vr(r, s, d.current, c), [r]), Je(() => {
|
|
36989
36989
|
e.setDragSource(l.current);
|
|
36990
36990
|
}, [r]);
|
|
36991
|
-
const m =
|
|
36991
|
+
const m = $(() => !!((r == null ? void 0 : r.componentFromFramework) && po(r.componentClass)), [r]), C = r && r.componentFromFramework, w = r && r.componentClass;
|
|
36992
36992
|
return /* @__PURE__ */ T.createElement(
|
|
36993
36993
|
"div",
|
|
36994
36994
|
{
|
|
@@ -37001,27 +37001,27 @@ var vr = (t, e, i, s) => {
|
|
|
37001
37001
|
/* @__PURE__ */ T.createElement("div", { ref: d, className: "ag-header-cell-comp-wrapper", role: "presentation" }, C && m && /* @__PURE__ */ T.createElement(w, Fe({}, r.params)), C && !m && /* @__PURE__ */ T.createElement(w, nt(Fe({}, r.params), { ref: c })))
|
|
37002
37002
|
);
|
|
37003
37003
|
}, XC = wt(QC), JC = (t) => {
|
|
37004
|
-
const { context: e } = lt(ct), { ctrl: i } = t, [s, o] =
|
|
37004
|
+
const { context: e } = lt(ct), { ctrl: i } = t, [s, o] = x(() => new It()), [r, n] = x(() => new It()), [l, a] = x("false"), [d, c] = x(), [h, f] = x(), m = $(() => i.getColId(), []), C = N(null), w = N(null), v = N(), y = Z((F) => {
|
|
37005
37005
|
if (C.current = F, !C.current)
|
|
37006
37006
|
return;
|
|
37007
|
-
const
|
|
37008
|
-
setWidth: (
|
|
37009
|
-
C.current && (C.current.style.width =
|
|
37007
|
+
const W = {
|
|
37008
|
+
setWidth: (O) => {
|
|
37009
|
+
C.current && (C.current.style.width = O);
|
|
37010
37010
|
},
|
|
37011
|
-
addOrRemoveCssClass: (
|
|
37012
|
-
setUserCompDetails: (
|
|
37013
|
-
setResizableDisplayed: (
|
|
37014
|
-
n((
|
|
37011
|
+
addOrRemoveCssClass: (O, G) => o((_) => _.setClass(O, G)),
|
|
37012
|
+
setUserCompDetails: (O) => f(O),
|
|
37013
|
+
setResizableDisplayed: (O) => {
|
|
37014
|
+
n((G) => G.setClass("ag-hidden", !O)), a(O ? "false" : "true");
|
|
37015
37015
|
},
|
|
37016
|
-
setAriaExpanded: (
|
|
37016
|
+
setAriaExpanded: (O) => c(O),
|
|
37017
37017
|
getUserCompInstance: () => v.current || void 0
|
|
37018
37018
|
};
|
|
37019
|
-
i.setComp(
|
|
37019
|
+
i.setComp(W, C.current, w.current);
|
|
37020
37020
|
}, []);
|
|
37021
37021
|
Ri(() => vr(h, e, C.current), [h]), Je(() => {
|
|
37022
37022
|
C.current && i.setDragSource(C.current);
|
|
37023
37023
|
}, [h]);
|
|
37024
|
-
const E =
|
|
37024
|
+
const E = $(() => !!((h == null ? void 0 : h.componentFromFramework) && po(h.componentClass)), [h]), R = $(() => "ag-header-group-cell " + s.toString(), [s]), b = $(() => "ag-header-cell-resize " + r.toString(), [r]), D = h && h.componentFromFramework, A = h && h.componentClass;
|
|
37025
37025
|
return /* @__PURE__ */ T.createElement(
|
|
37026
37026
|
"div",
|
|
37027
37027
|
{
|
|
@@ -37040,19 +37040,19 @@ function ja() {
|
|
|
37040
37040
|
z.warnOnce("Using custom components without `reactiveCustomComponents = true` is deprecated.");
|
|
37041
37041
|
}
|
|
37042
37042
|
var ev = (t) => {
|
|
37043
|
-
const { context: e, gos: i } = lt(ct), [s, o] =
|
|
37044
|
-
|
|
37045
|
-
}, { ctrl: A } = t, F = Z((
|
|
37046
|
-
if (w.current =
|
|
37043
|
+
const { context: e, gos: i } = lt(ct), [s, o] = x(() => new It("ag-header-cell", "ag-floating-filter")), [r, n] = x(() => new It()), [l, a] = x(() => new It("ag-floating-filter-button", "ag-hidden")), [d, c] = x("false"), [h, f] = x(), [m, C] = x(1), w = N(null), v = N(null), y = N(null), E = N(null), R = N(), b = N(), D = (me) => {
|
|
37044
|
+
me != null && R.current && R.current(me);
|
|
37045
|
+
}, { ctrl: A } = t, F = Z((me) => {
|
|
37046
|
+
if (w.current = me, !w.current)
|
|
37047
37047
|
return;
|
|
37048
37048
|
b.current = new _e((X) => {
|
|
37049
37049
|
R.current = X;
|
|
37050
37050
|
});
|
|
37051
37051
|
const ie = {
|
|
37052
|
-
addOrRemoveCssClass: (X,
|
|
37053
|
-
addOrRemoveBodyCssClass: (X,
|
|
37052
|
+
addOrRemoveCssClass: (X, re) => o((Ae) => Ae.setClass(X, re)),
|
|
37053
|
+
addOrRemoveBodyCssClass: (X, re) => n((Ae) => Ae.setClass(X, re)),
|
|
37054
37054
|
setButtonWrapperDisplayed: (X) => {
|
|
37055
|
-
a((
|
|
37055
|
+
a((re) => re.setClass("ag-hidden", !X)), c(X ? "false" : "true");
|
|
37056
37056
|
},
|
|
37057
37057
|
setWidth: (X) => {
|
|
37058
37058
|
w.current && (w.current.style.width = X);
|
|
@@ -37060,26 +37060,26 @@ var ev = (t) => {
|
|
|
37060
37060
|
setCompDetails: (X) => f(X),
|
|
37061
37061
|
getFloatingFilterComp: () => b.current ? b.current : null,
|
|
37062
37062
|
setMenuIcon: (X) => {
|
|
37063
|
-
var
|
|
37064
|
-
return (
|
|
37063
|
+
var re;
|
|
37064
|
+
return (re = E.current) == null ? void 0 : re.appendChild(X);
|
|
37065
37065
|
}
|
|
37066
37066
|
};
|
|
37067
37067
|
A.setComp(ie, w.current, E.current, v.current);
|
|
37068
37068
|
}, []);
|
|
37069
37069
|
Ri(() => vr(h, e, v.current, D), [h]);
|
|
37070
|
-
const
|
|
37070
|
+
const W = $(() => s.toString(), [s]), O = $(() => r.toString(), [r]), G = $(() => l.toString(), [l]), _ = $(() => !!(h && h.componentFromFramework && po(h.componentClass)), [h]), K = $(() => i.get("reactiveCustomComponents"), []), k = $(() => {
|
|
37071
37071
|
if (h)
|
|
37072
|
-
if (
|
|
37073
|
-
const
|
|
37074
|
-
return D(
|
|
37072
|
+
if (K) {
|
|
37073
|
+
const me = new HC(h.params, () => C((ie) => ie + 1));
|
|
37074
|
+
return D(me), me;
|
|
37075
37075
|
} else h.componentFromFramework && ja();
|
|
37076
|
-
}, [h]),
|
|
37077
|
-
return /* @__PURE__ */ T.createElement("div", { ref: F, className:
|
|
37078
|
-
} : D })),
|
|
37079
|
-
setMethods: (
|
|
37080
|
-
} }, /* @__PURE__ */ T.createElement(
|
|
37076
|
+
}, [h]), oe = k == null ? void 0 : k.getProps(), de = h && h.componentFromFramework, fe = h && h.componentClass;
|
|
37077
|
+
return /* @__PURE__ */ T.createElement("div", { ref: F, className: W, role: "gridcell" }, /* @__PURE__ */ T.createElement("div", { ref: v, className: O, role: "presentation" }, de && !K && /* @__PURE__ */ T.createElement(fe, nt(Fe({}, h.params), { ref: _ ? () => {
|
|
37078
|
+
} : D })), de && K && /* @__PURE__ */ T.createElement(za.Provider, { value: {
|
|
37079
|
+
setMethods: (me) => k.setMethods(me)
|
|
37080
|
+
} }, /* @__PURE__ */ T.createElement(fe, Fe({}, oe)))), /* @__PURE__ */ T.createElement("div", { ref: y, "aria-hidden": d, className: G, role: "presentation" }, /* @__PURE__ */ T.createElement("button", { ref: E, type: "button", className: "ag-button ag-floating-filter-button-button", tabIndex: -1 })));
|
|
37081
37081
|
}, tv = wt(ev), iv = (t) => {
|
|
37082
|
-
const { ctrl: e } = t, { topOffset: i, rowHeight: s } =
|
|
37082
|
+
const { ctrl: e } = t, { topOffset: i, rowHeight: s } = $(() => e.getTopAndHeight(), []), o = e.getAriaRowIndex(), r = e.getHeaderRowClass(), [n, l] = x(() => s + "px"), [a, d] = x(() => i + "px"), c = N(null), h = N(null), [f, m] = x(() => e.getHeaderCtrls()), C = N(null), w = Z((E) => {
|
|
37083
37083
|
if (C.current = E, !E)
|
|
37084
37084
|
return;
|
|
37085
37085
|
const R = {
|
|
@@ -37095,7 +37095,7 @@ var ev = (t) => {
|
|
|
37095
37095
|
}
|
|
37096
37096
|
};
|
|
37097
37097
|
e.setComp(R, !1);
|
|
37098
|
-
}, []), v =
|
|
37098
|
+
}, []), v = $(() => ({
|
|
37099
37099
|
height: n,
|
|
37100
37100
|
top: a
|
|
37101
37101
|
}), [n, a]), y = Z((E) => {
|
|
@@ -37110,7 +37110,7 @@ var ev = (t) => {
|
|
|
37110
37110
|
}, []);
|
|
37111
37111
|
return /* @__PURE__ */ T.createElement("div", { ref: w, className: r, role: "row", style: v, "aria-rowindex": o }, f.map(y));
|
|
37112
37112
|
}, sv = wt(iv), ov = (t) => {
|
|
37113
|
-
const [e, i] =
|
|
37113
|
+
const [e, i] = x(!0), [s, o] = x([]), { context: r } = lt(ct), n = N(null), l = N(null), a = N(null), d = t.pinned === "left", c = t.pinned === "right", h = !d && !c, f = Z((w) => {
|
|
37114
37114
|
if (n.current = w, !n.current) {
|
|
37115
37115
|
r.destroyBean(a.current), a.current = null;
|
|
37116
37116
|
return;
|
|
@@ -37134,7 +37134,7 @@ var ev = (t) => {
|
|
|
37134
37134
|
}, []), m = e ? "" : "ag-hidden", C = () => s.map((w) => /* @__PURE__ */ T.createElement(sv, { ctrl: w, key: w.getInstanceId() }));
|
|
37135
37135
|
return /* @__PURE__ */ T.createElement(T.Fragment, null, d && /* @__PURE__ */ T.createElement("div", { ref: f, className: "ag-pinned-left-header " + m, "aria-hidden": !e, role: "rowgroup" }, C()), c && /* @__PURE__ */ T.createElement("div", { ref: f, className: "ag-pinned-right-header " + m, "aria-hidden": !e, role: "rowgroup" }, C()), h && /* @__PURE__ */ T.createElement("div", { ref: f, className: "ag-header-viewport " + m, role: "presentation" }, /* @__PURE__ */ T.createElement("div", { ref: l, className: "ag-header-container", role: "rowgroup" }, C())));
|
|
37136
37136
|
}, il = wt(ov), rv = () => {
|
|
37137
|
-
const [t, e] =
|
|
37137
|
+
const [t, e] = x(() => new It()), [i, s] = x(), { context: o } = lt(ct), r = N(null), n = N(null), l = Z((c) => {
|
|
37138
37138
|
if (r.current = c, !c) {
|
|
37139
37139
|
o.destroyBean(n.current), n.current = null;
|
|
37140
37140
|
return;
|
|
@@ -37144,7 +37144,7 @@ var ev = (t) => {
|
|
|
37144
37144
|
setHeightAndMinHeight: (f) => s(f)
|
|
37145
37145
|
};
|
|
37146
37146
|
n.current = o.createBean(new xi()), n.current.setComp(h, r.current, r.current);
|
|
37147
|
-
}, []), a =
|
|
37147
|
+
}, []), a = $(() => "ag-header " + t.toString(), [t]), d = $(() => ({
|
|
37148
37148
|
height: i,
|
|
37149
37149
|
minHeight: i
|
|
37150
37150
|
}), [i]);
|
|
@@ -37163,12 +37163,12 @@ var ev = (t) => {
|
|
|
37163
37163
|
}
|
|
37164
37164
|
}, [t]);
|
|
37165
37165
|
}, zi = lv, av = (t) => {
|
|
37166
|
-
const e =
|
|
37166
|
+
const e = N(t), i = N(), s = N(!1), o = N(!1), [, r] = x(0);
|
|
37167
37167
|
s.current && (o.current = !0), Je(() => (s.current || (i.current = e.current(), s.current = !0), r((n) => n + 1), () => {
|
|
37168
37168
|
o.current && i.current && i.current();
|
|
37169
37169
|
}), []);
|
|
37170
37170
|
}, dv = (t) => {
|
|
37171
|
-
const [e, i] =
|
|
37171
|
+
const [e, i] = x(), { context: s, popupService: o, localeService: r, gos: n } = lt(ct);
|
|
37172
37172
|
return av(() => {
|
|
37173
37173
|
const { editDetails: l, cellCtrl: a, eParentCell: d } = t, { compDetails: c } = l, h = n.get("stopEditingWhenCellsLoseFocus"), f = s.createBean(new Ch(c.params)), m = f.getGui();
|
|
37174
37174
|
if (t.jsChildComp) {
|
|
@@ -37308,55 +37308,55 @@ var ev = (t) => {
|
|
|
37308
37308
|
const { compDetails: l, value: a } = t, d = !l, c = l && l.componentFromFramework, h = l && l.componentClass, f = a != null && a.toString ? a.toString() : a, m = () => /* @__PURE__ */ T.createElement(T.Fragment, null, d && /* @__PURE__ */ T.createElement(T.Fragment, null, f), c && !r && /* @__PURE__ */ T.createElement(h, nt(Fe({}, l.params), { key: e, ref: s })), c && r && /* @__PURE__ */ T.createElement(h, nt(Fe({}, l.params), { key: e })));
|
|
37309
37309
|
return /* @__PURE__ */ T.createElement(T.Fragment, null, o ? /* @__PURE__ */ T.createElement("span", { role: "presentation", id: `cell-${i}`, className: "ag-cell-value", ref: n }, m()) : m());
|
|
37310
37310
|
}, Cv = (t) => {
|
|
37311
|
-
const { context: e } = lt(ct), { cellCtrl: i, printLayout: s, editingRow: o } = t, r = i.getTabIndex(), n = i.getColumnIdSanitised(), l = i.getInstanceId(), [a, d] =
|
|
37312
|
-
|
|
37313
|
-
}, []),
|
|
37314
|
-
|
|
37311
|
+
const { context: e } = lt(ct), { cellCtrl: i, printLayout: s, editingRow: o } = t, r = i.getTabIndex(), n = i.getColumnIdSanitised(), l = i.getInstanceId(), [a, d] = x(() => i.isCellRenderer() ? void 0 : { compDetails: void 0, value: i.getValueToDisplay(), force: !1 }), [c, h] = x(), [f, m] = x(1), [C, w] = x(), [v, y] = x(!1), [E, R] = x(!1), [b, D] = x(!1), [A, F] = x(), W = $(() => i.isForceWrapper(), [i]), O = $(() => i.getCellAriaRole(), [i]), G = N(null), _ = N(null), K = N(), k = N(), oe = N(), de = N([]), fe = N(), [me, ie] = x(0), X = Z((le) => {
|
|
37312
|
+
fe.current = le, ie((ce) => ce + 1);
|
|
37313
|
+
}, []), re = a != null && (v || b || E), Ae = W || re, ne = Z((le, ce) => {
|
|
37314
|
+
k.current = ce, ce && (pv(le, ce, i), ce.isCancelBeforeStart && ce.isCancelBeforeStart() && setTimeout(() => {
|
|
37315
37315
|
i.stopEditing(!0), i.focusCell(!0);
|
|
37316
37316
|
}));
|
|
37317
37317
|
}, [i]), Ee = Z(
|
|
37318
|
-
(
|
|
37319
|
-
[
|
|
37318
|
+
(le) => ne(!0, le),
|
|
37319
|
+
[ne]
|
|
37320
37320
|
), Rt = Z(
|
|
37321
|
-
(
|
|
37322
|
-
[
|
|
37321
|
+
(le) => ne(!1, le),
|
|
37322
|
+
[ne]
|
|
37323
37323
|
);
|
|
37324
|
-
let U =
|
|
37325
|
-
U.current || (U.current = new or(() =>
|
|
37326
|
-
const Se =
|
|
37324
|
+
let U = N();
|
|
37325
|
+
U.current || (U.current = new or(() => G.current)), cv(a, Ae, fe.current, me, K, G);
|
|
37326
|
+
const Se = N();
|
|
37327
37327
|
Ri(() => {
|
|
37328
|
-
const
|
|
37329
|
-
if (Se.current = a,
|
|
37328
|
+
const le = Se.current, ce = a;
|
|
37329
|
+
if (Se.current = a, le == null || le.compDetails == null || ce == null || ce.compDetails == null)
|
|
37330
37330
|
return;
|
|
37331
|
-
const Ie =
|
|
37332
|
-
if (Ie.componentClass != q.componentClass ||
|
|
37331
|
+
const Ie = le.compDetails, q = ce.compDetails;
|
|
37332
|
+
if (Ie.componentClass != q.componentClass || _.current == null || _.current.refresh == null)
|
|
37333
37333
|
return;
|
|
37334
|
-
|
|
37334
|
+
_.current.refresh(q.params) != !0 && m((ht) => ht + 1);
|
|
37335
37335
|
}, [a]), Ri(() => {
|
|
37336
37336
|
if (!(c && !c.compDetails.componentFromFramework))
|
|
37337
37337
|
return;
|
|
37338
|
-
const
|
|
37338
|
+
const ce = c.compDetails, Ie = c.popup === !0, q = qC(ce);
|
|
37339
37339
|
if (!q)
|
|
37340
37340
|
return;
|
|
37341
37341
|
const Re = q.getGui();
|
|
37342
|
-
if (
|
|
37343
|
-
const ht = (
|
|
37342
|
+
if (ne(Ie, q), !Ie) {
|
|
37343
|
+
const ht = (W ? oe : G).current;
|
|
37344
37344
|
ht == null || ht.appendChild(Re), q.afterGuiAttached && q.afterGuiAttached();
|
|
37345
37345
|
}
|
|
37346
37346
|
return F(q), () => {
|
|
37347
|
-
e.destroyBean(q),
|
|
37347
|
+
e.destroyBean(q), ne(Ie, void 0), F(void 0), Re && Re.parentElement && Re.parentElement.removeChild(Re);
|
|
37348
37348
|
};
|
|
37349
37349
|
}, [c]);
|
|
37350
|
-
const
|
|
37351
|
-
if (
|
|
37352
|
-
|
|
37350
|
+
const ue = Z((le) => {
|
|
37351
|
+
if (oe.current = le, !oe.current) {
|
|
37352
|
+
de.current.forEach((Ie) => Ie()), de.current = [];
|
|
37353
37353
|
return;
|
|
37354
37354
|
}
|
|
37355
|
-
const
|
|
37355
|
+
const ce = (Ie) => {
|
|
37356
37356
|
var q;
|
|
37357
37357
|
if (Ie) {
|
|
37358
37358
|
const Re = Ie.getGui();
|
|
37359
|
-
(q =
|
|
37359
|
+
(q = oe.current) == null || q.insertAdjacentElement("afterbegin", Re), de.current.push(() => {
|
|
37360
37360
|
e.destroyBean(Ie), z.removeFromParent(Re);
|
|
37361
37361
|
});
|
|
37362
37362
|
}
|
|
@@ -37364,22 +37364,22 @@ var ev = (t) => {
|
|
|
37364
37364
|
};
|
|
37365
37365
|
if (v) {
|
|
37366
37366
|
const Ie = i.createSelectionCheckbox();
|
|
37367
|
-
|
|
37367
|
+
ce(Ie);
|
|
37368
37368
|
}
|
|
37369
|
-
b &&
|
|
37370
|
-
}, [i, e, b, E, v]), xe = Z((
|
|
37371
|
-
if (
|
|
37369
|
+
b && ce(i.createDndSource()), E && ce(i.createRowDragComp());
|
|
37370
|
+
}, [i, e, b, E, v]), xe = Z((le) => {
|
|
37371
|
+
if (G.current = le, !G.current || !i)
|
|
37372
37372
|
return;
|
|
37373
|
-
const
|
|
37373
|
+
const ce = {
|
|
37374
37374
|
addOrRemoveCssClass: (q, Re) => U.current.addOrRemoveCssClass(q, Re),
|
|
37375
37375
|
setUserStyles: (q) => w(q),
|
|
37376
|
-
getFocusableElement: () =>
|
|
37376
|
+
getFocusableElement: () => G.current,
|
|
37377
37377
|
setIncludeSelection: (q) => y(q),
|
|
37378
37378
|
setIncludeRowDrag: (q) => R(q),
|
|
37379
37379
|
setIncludeDndSource: (q) => D(q),
|
|
37380
|
-
getCellEditor: () =>
|
|
37381
|
-
getCellRenderer: () =>
|
|
37382
|
-
getParentOfValue: () =>
|
|
37380
|
+
getCellEditor: () => k.current || null,
|
|
37381
|
+
getCellRenderer: () => _.current ? _.current : K.current,
|
|
37382
|
+
getParentOfValue: () => fe.current ? fe.current : oe.current ? oe.current : G.current,
|
|
37383
37383
|
setRenderDetails: (q, Re, ht) => {
|
|
37384
37384
|
d((Ht) => (Ht == null ? void 0 : Ht.compDetails) !== q || (Ht == null ? void 0 : Ht.value) !== Re || (Ht == null ? void 0 : Ht.force) !== ht ? {
|
|
37385
37385
|
value: Re,
|
|
@@ -37398,21 +37398,21 @@ var ev = (t) => {
|
|
|
37398
37398
|
}), Re || d(void 0);
|
|
37399
37399
|
} else
|
|
37400
37400
|
h((ki) => {
|
|
37401
|
-
ki != null && ki.compProxy && (
|
|
37401
|
+
ki != null && ki.compProxy && (k.current = void 0);
|
|
37402
37402
|
});
|
|
37403
37403
|
}
|
|
37404
|
-
}, Ie =
|
|
37405
|
-
i.setComp(
|
|
37406
|
-
}, []), Qe =
|
|
37404
|
+
}, Ie = oe.current || void 0;
|
|
37405
|
+
i.setComp(ce, G.current, Ie, s, o);
|
|
37406
|
+
}, []), Qe = $(() => !!(a && a.compDetails && a.compDetails.componentFromFramework && po(a.compDetails.componentClass)), [a]);
|
|
37407
37407
|
Ri(() => {
|
|
37408
|
-
var
|
|
37409
|
-
|
|
37408
|
+
var le;
|
|
37409
|
+
G.current && (U.current.addOrRemoveCssClass("ag-cell-value", !Ae), U.current.addOrRemoveCssClass("ag-cell-inline-editing", !!c && !c.popup), U.current.addOrRemoveCssClass("ag-cell-popup-editing", !!c && !!c.popup), U.current.addOrRemoveCssClass("ag-cell-not-inline-editing", !c || !!c.popup), (le = i.getRowCtrl()) == null || le.setInlineEditingCss(!!c), i.shouldRestoreFocus() && !i.isEditing() && G.current.focus({ preventScroll: !0 }));
|
|
37410
37410
|
});
|
|
37411
37411
|
const He = () => /* @__PURE__ */ T.createElement(T.Fragment, null, a != null && mv(
|
|
37412
37412
|
a,
|
|
37413
37413
|
f,
|
|
37414
37414
|
l,
|
|
37415
|
-
|
|
37415
|
+
_,
|
|
37416
37416
|
Ae,
|
|
37417
37417
|
Qe,
|
|
37418
37418
|
X
|
|
@@ -37420,7 +37420,7 @@ var ev = (t) => {
|
|
|
37420
37420
|
c,
|
|
37421
37421
|
Rt,
|
|
37422
37422
|
Ee,
|
|
37423
|
-
|
|
37423
|
+
G.current,
|
|
37424
37424
|
i,
|
|
37425
37425
|
A
|
|
37426
37426
|
));
|
|
@@ -37430,24 +37430,24 @@ var ev = (t) => {
|
|
|
37430
37430
|
ref: xe,
|
|
37431
37431
|
style: C,
|
|
37432
37432
|
tabIndex: r,
|
|
37433
|
-
role:
|
|
37433
|
+
role: O,
|
|
37434
37434
|
"col-id": n
|
|
37435
37435
|
},
|
|
37436
|
-
Ae ? /* @__PURE__ */ T.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref:
|
|
37436
|
+
Ae ? /* @__PURE__ */ T.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: ue }, He()) : He()
|
|
37437
37437
|
);
|
|
37438
37438
|
}, vv = wt(Cv), wv = (t) => {
|
|
37439
|
-
const { context: e, gos: i } = lt(ct), { rowCtrl: s, containerType: o } = t, r = s.getTabIndex(), n =
|
|
37439
|
+
const { context: e, gos: i } = lt(ct), { rowCtrl: s, containerType: o } = t, r = s.getTabIndex(), n = N(s.getDomOrder()), l = s.isFullWidth(), a = s.getRowNode().displayed, [d, c] = x(() => a ? s.getRowIndex() : null), [h, f] = x(() => s.getRowId()), [m, C] = x(() => s.getBusinessKey()), [w, v] = x(() => s.getRowStyles()), y = N(null), E = N(null), [R, b] = x(() => null), [D, A] = x(), [F, W] = x(() => a ? s.getInitialRowTop(o) : void 0), [O, G] = x(() => a ? s.getInitialTransform(o) : void 0), _ = N(null), K = N(), k = N(!1), [oe, de] = x(0);
|
|
37440
37440
|
Je(() => {
|
|
37441
37441
|
var U;
|
|
37442
|
-
if (
|
|
37443
|
-
return;
|
|
37444
|
-
const Se = (U =
|
|
37445
|
-
Se ? (s.setupDetailRowAutoHeight(Se),
|
|
37446
|
-
}, [D,
|
|
37447
|
-
let
|
|
37448
|
-
|
|
37449
|
-
const
|
|
37450
|
-
if (
|
|
37442
|
+
if (k.current || !D || oe > 10)
|
|
37443
|
+
return;
|
|
37444
|
+
const Se = (U = _.current) == null ? void 0 : U.firstChild;
|
|
37445
|
+
Se ? (s.setupDetailRowAutoHeight(Se), k.current = !0) : de((ue) => ue + 1);
|
|
37446
|
+
}, [D, oe]);
|
|
37447
|
+
let fe = N();
|
|
37448
|
+
fe.current || (fe.current = new or(() => _.current));
|
|
37449
|
+
const me = Z((U) => {
|
|
37450
|
+
if (_.current = U, !_.current) {
|
|
37451
37451
|
s.unsetComp(o);
|
|
37452
37452
|
return;
|
|
37453
37453
|
}
|
|
@@ -37456,38 +37456,38 @@ var ev = (t) => {
|
|
|
37456
37456
|
const Se = {
|
|
37457
37457
|
// the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
|
|
37458
37458
|
// as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
|
|
37459
|
-
setTop:
|
|
37460
|
-
setTransform:
|
|
37459
|
+
setTop: W,
|
|
37460
|
+
setTransform: G,
|
|
37461
37461
|
// i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
|
|
37462
37462
|
// React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
|
|
37463
|
-
addOrRemoveCssClass: (
|
|
37464
|
-
setDomOrder: (
|
|
37463
|
+
addOrRemoveCssClass: (ue, xe) => fe.current.addOrRemoveCssClass(ue, xe),
|
|
37464
|
+
setDomOrder: (ue) => n.current = ue,
|
|
37465
37465
|
setRowIndex: c,
|
|
37466
37466
|
setRowId: f,
|
|
37467
37467
|
setRowBusinessKey: C,
|
|
37468
37468
|
setUserStyles: v,
|
|
37469
37469
|
// if we don't maintain the order, then cols will be ripped out and into the dom
|
|
37470
37470
|
// when cols reordered, which would stop the CSS transitions from working
|
|
37471
|
-
setCellCtrls: (
|
|
37472
|
-
E.current = y.current, y.current =
|
|
37473
|
-
const Qe = Ya(E.current,
|
|
37471
|
+
setCellCtrls: (ue, xe) => {
|
|
37472
|
+
E.current = y.current, y.current = ue;
|
|
37473
|
+
const Qe = Ya(E.current, ue, n.current);
|
|
37474
37474
|
Qe !== E.current && $a(xe, () => b(Qe));
|
|
37475
37475
|
},
|
|
37476
|
-
showFullWidth: (
|
|
37477
|
-
getFullWidthCellRenderer: () =>
|
|
37478
|
-
refreshFullWidth: (
|
|
37479
|
-
params:
|
|
37480
|
-
})), !0) : !
|
|
37476
|
+
showFullWidth: (ue) => A(ue),
|
|
37477
|
+
getFullWidthCellRenderer: () => K.current,
|
|
37478
|
+
refreshFullWidth: (ue) => ne.current ? (A((xe) => nt(Fe({}, xe), {
|
|
37479
|
+
params: ue()
|
|
37480
|
+
})), !0) : !K.current || !K.current.refresh ? !1 : K.current.refresh(ue())
|
|
37481
37481
|
};
|
|
37482
|
-
s.setComp(Se,
|
|
37482
|
+
s.setComp(Se, _.current, o);
|
|
37483
37483
|
}, []);
|
|
37484
|
-
Ri(() => vr(D, e,
|
|
37485
|
-
const ie =
|
|
37486
|
-
const U = { top: F, transform:
|
|
37484
|
+
Ri(() => vr(D, e, _.current, K), [D]);
|
|
37485
|
+
const ie = $(() => {
|
|
37486
|
+
const U = { top: F, transform: O };
|
|
37487
37487
|
return Object.assign(U, w), U;
|
|
37488
|
-
}, [F,
|
|
37488
|
+
}, [F, O, w]), X = l && D && D.componentFromFramework, re = !l && R != null, Ae = $(() => !!((D == null ? void 0 : D.componentFromFramework) && po(D.componentClass)), [D]), ne = N(!1);
|
|
37489
37489
|
Je(() => {
|
|
37490
|
-
|
|
37490
|
+
ne.current = Ae && !!D && !!i.get("reactiveCustomComponents");
|
|
37491
37491
|
}, [Ae, D]);
|
|
37492
37492
|
const Ee = () => R == null ? void 0 : R.map((U) => /* @__PURE__ */ T.createElement(
|
|
37493
37493
|
vv,
|
|
@@ -37499,12 +37499,12 @@ var ev = (t) => {
|
|
|
37499
37499
|
}
|
|
37500
37500
|
)), Rt = () => {
|
|
37501
37501
|
const U = D.componentClass;
|
|
37502
|
-
return /* @__PURE__ */ T.createElement(T.Fragment, null, Ae && /* @__PURE__ */ T.createElement(U, Fe({}, D.params)), !Ae && /* @__PURE__ */ T.createElement(U, nt(Fe({}, D.params), { ref:
|
|
37502
|
+
return /* @__PURE__ */ T.createElement(T.Fragment, null, Ae && /* @__PURE__ */ T.createElement(U, Fe({}, D.params)), !Ae && /* @__PURE__ */ T.createElement(U, nt(Fe({}, D.params), { ref: K })));
|
|
37503
37503
|
};
|
|
37504
37504
|
return /* @__PURE__ */ T.createElement(
|
|
37505
37505
|
"div",
|
|
37506
37506
|
{
|
|
37507
|
-
ref:
|
|
37507
|
+
ref: me,
|
|
37508
37508
|
role: "row",
|
|
37509
37509
|
style: ie,
|
|
37510
37510
|
"row-index": d,
|
|
@@ -37512,33 +37512,33 @@ var ev = (t) => {
|
|
|
37512
37512
|
"row-business-key": m,
|
|
37513
37513
|
tabIndex: r
|
|
37514
37514
|
},
|
|
37515
|
-
|
|
37515
|
+
re && Ee(),
|
|
37516
37516
|
X && Rt()
|
|
37517
37517
|
);
|
|
37518
37518
|
}, Sv = wt(wv), Ev = (t) => {
|
|
37519
|
-
const { context: e } = lt(ct), { name: i } = t, s =
|
|
37519
|
+
const { context: e } = lt(ct), { name: i } = t, s = $(() => gh(i), [i]), o = N(null), r = N(null), n = N([]), l = N([]), [a, d] = x(() => []), c = N(!1), h = N(), f = $(() => Ur.getRowContainerCssClasses(i), [i]), m = $(() => Bt(f.viewport), [f]), C = $(() => Bt(f.container), [f]), w = i === be.CENTER || i === be.TOP_CENTER || i === be.BOTTOM_CENTER || i === be.STICKY_TOP_CENTER || i === be.STICKY_BOTTOM_CENTER, v = w ? o : r;
|
|
37520
37520
|
zi(" AG Row Container " + i + " ", v);
|
|
37521
37521
|
const y = Z(() => w ? o.current != null && r.current != null : r.current != null, []), E = Z(() => w ? o.current == null && r.current == null : r.current == null, []), R = Z(() => {
|
|
37522
37522
|
if (E() && (e.destroyBean(h.current), h.current = null), y()) {
|
|
37523
|
-
const F = (
|
|
37524
|
-
const
|
|
37525
|
-
|
|
37526
|
-
},
|
|
37527
|
-
setViewportHeight: (
|
|
37528
|
-
o.current && (o.current.style.height =
|
|
37523
|
+
const F = (O) => {
|
|
37524
|
+
const G = Ya(l.current, n.current, c.current);
|
|
37525
|
+
G !== l.current && (l.current = G, $a(O, () => d(G)));
|
|
37526
|
+
}, W = {
|
|
37527
|
+
setViewportHeight: (O) => {
|
|
37528
|
+
o.current && (o.current.style.height = O);
|
|
37529
37529
|
},
|
|
37530
|
-
setRowCtrls: ({ rowCtrls:
|
|
37531
|
-
const
|
|
37532
|
-
n.current =
|
|
37530
|
+
setRowCtrls: ({ rowCtrls: O, useFlushSync: G }) => {
|
|
37531
|
+
const _ = !!G && n.current.length > 0 && O.length > 0;
|
|
37532
|
+
n.current = O, F(_);
|
|
37533
37533
|
},
|
|
37534
|
-
setDomOrder: (
|
|
37535
|
-
c.current !=
|
|
37534
|
+
setDomOrder: (O) => {
|
|
37535
|
+
c.current != O && (c.current = O, F(!1));
|
|
37536
37536
|
},
|
|
37537
|
-
setContainerWidth: (
|
|
37538
|
-
r.current && (r.current.style.width =
|
|
37537
|
+
setContainerWidth: (O) => {
|
|
37538
|
+
r.current && (r.current.style.width = O);
|
|
37539
37539
|
}
|
|
37540
37540
|
};
|
|
37541
|
-
h.current = e.createBean(new Ur(i)), h.current.setComp(
|
|
37541
|
+
h.current = e.createBean(new Ur(i)), h.current.setComp(W, r.current, o.current);
|
|
37542
37542
|
}
|
|
37543
37543
|
}, [y, E]), b = Z((F) => {
|
|
37544
37544
|
r.current = F, R();
|
|
@@ -37557,12 +37557,12 @@ var ev = (t) => {
|
|
|
37557
37557
|
);
|
|
37558
37558
|
return /* @__PURE__ */ T.createElement(T.Fragment, null, w ? /* @__PURE__ */ T.createElement("div", { className: m, ref: D, role: "presentation" }, A()) : A());
|
|
37559
37559
|
}, yv = wt(Ev), Rv = () => {
|
|
37560
|
-
const { context: t, agStackComponentsRegistry: e, resizeObserverService: i } = lt(ct), [s, o] =
|
|
37561
|
-
let
|
|
37562
|
-
|
|
37563
|
-
const ie =
|
|
37564
|
-
zi(" AG Grid Body ", ie), zi(" AG Pinned Top ", X), zi(" AG Sticky Top ",
|
|
37565
|
-
const
|
|
37560
|
+
const { context: t, agStackComponentsRegistry: e, resizeObserverService: i } = lt(ct), [s, o] = x(""), [r, n] = x(0), [l, a] = x(0), [d, c] = x("0px"), [h, f] = x("0px"), [m, C] = x("100%"), [w, v] = x("0px"), [y, E] = x("0px"), [R, b] = x("100%"), [D, A] = x(""), [F, W] = x(""), [O, G] = x(null), [_, K] = x(""), [k, oe] = x(null), [de, fe] = x("ag-layout-normal");
|
|
37561
|
+
let me = N();
|
|
37562
|
+
me.current || (me.current = new or(() => ie.current));
|
|
37563
|
+
const ie = N(null), X = N(null), re = N(null), Ae = N(null), ne = N(null), Ee = N(null), Rt = N(null), U = N([]), Se = N([]);
|
|
37564
|
+
zi(" AG Grid Body ", ie), zi(" AG Pinned Top ", X), zi(" AG Sticky Top ", re), zi(" AG Middle ", Ee), zi(" AG Pinned Bottom ", Rt);
|
|
37565
|
+
const ue = Z((bs) => {
|
|
37566
37566
|
if (ie.current = bs, !ie.current) {
|
|
37567
37567
|
t.destroyBeans(U.current), Se.current.forEach((ze) => ze()), U.current = [], Se.current = [];
|
|
37568
37568
|
return;
|
|
@@ -37575,7 +37575,7 @@ var ev = (t) => {
|
|
|
37575
37575
|
}, Si = (ze, qt) => {
|
|
37576
37576
|
ze.appendChild(qt), Se.current.push(() => ze.removeChild(qt));
|
|
37577
37577
|
};
|
|
37578
|
-
Si(ie.current, document.createComment(" AG Fake Horizontal Scroll ")), Si(ie.current, fo("AG-FAKE-HORIZONTAL-SCROLL").getGui()), Si(ie.current, document.createComment(" AG Overlay Wrapper ")), Si(ie.current, fo("AG-OVERLAY-WRAPPER").getGui()),
|
|
37578
|
+
Si(ie.current, document.createComment(" AG Fake Horizontal Scroll ")), Si(ie.current, fo("AG-FAKE-HORIZONTAL-SCROLL").getGui()), Si(ie.current, document.createComment(" AG Overlay Wrapper ")), Si(ie.current, fo("AG-OVERLAY-WRAPPER").getGui()), ne.current && (Si(ne.current, document.createComment(" AG Fake Vertical Scroll ")), Si(ne.current, fo("AG-FAKE-VERTICAL-SCROLL").getGui()));
|
|
37579
37579
|
const _n = {
|
|
37580
37580
|
setRowAnimationCssOnBodyViewport: o,
|
|
37581
37581
|
setColumnCount: (ze) => {
|
|
@@ -37590,12 +37590,12 @@ var ev = (t) => {
|
|
|
37590
37590
|
setStickyTopTop: f,
|
|
37591
37591
|
setStickyTopWidth: C,
|
|
37592
37592
|
setTopDisplay: A,
|
|
37593
|
-
setBottomDisplay:
|
|
37594
|
-
setColumnMovingCss: (ze, qt) =>
|
|
37595
|
-
updateLayoutClasses:
|
|
37596
|
-
setAlwaysVerticalScrollClass:
|
|
37597
|
-
setPinnedTopBottomOverflowY:
|
|
37598
|
-
setCellSelectableCss: (ze, qt) =>
|
|
37593
|
+
setBottomDisplay: W,
|
|
37594
|
+
setColumnMovingCss: (ze, qt) => me.current.addOrRemoveCssClass(ze, qt),
|
|
37595
|
+
updateLayoutClasses: fe,
|
|
37596
|
+
setAlwaysVerticalScrollClass: G,
|
|
37597
|
+
setPinnedTopBottomOverflowY: K,
|
|
37598
|
+
setCellSelectableCss: (ze, qt) => oe(qt ? ze : null),
|
|
37599
37599
|
setBodyViewportWidth: (ze) => {
|
|
37600
37600
|
Ee.current && (Ee.current.style.width = ze);
|
|
37601
37601
|
},
|
|
@@ -37615,60 +37615,60 @@ var ev = (t) => {
|
|
|
37615
37615
|
Ee.current,
|
|
37616
37616
|
X.current,
|
|
37617
37617
|
Rt.current,
|
|
37618
|
-
|
|
37618
|
+
re.current,
|
|
37619
37619
|
Ae.current
|
|
37620
37620
|
);
|
|
37621
|
-
}, []), xe =
|
|
37622
|
-
() => Bt("ag-root", "ag-unselectable",
|
|
37623
|
-
[
|
|
37624
|
-
), Qe =
|
|
37625
|
-
() => Bt("ag-body-viewport", s,
|
|
37626
|
-
[s,
|
|
37627
|
-
), He =
|
|
37628
|
-
() => Bt("ag-body",
|
|
37629
|
-
[
|
|
37630
|
-
),
|
|
37631
|
-
() => Bt("ag-floating-top",
|
|
37632
|
-
[
|
|
37633
|
-
),
|
|
37634
|
-
() => Bt("ag-sticky-top",
|
|
37635
|
-
[
|
|
37636
|
-
), Ie =
|
|
37637
|
-
() => Bt("ag-sticky-bottom",
|
|
37638
|
-
[
|
|
37639
|
-
), q =
|
|
37640
|
-
() => Bt("ag-floating-bottom",
|
|
37641
|
-
[
|
|
37642
|
-
), Re =
|
|
37621
|
+
}, []), xe = $(
|
|
37622
|
+
() => Bt("ag-root", "ag-unselectable", de),
|
|
37623
|
+
[de]
|
|
37624
|
+
), Qe = $(
|
|
37625
|
+
() => Bt("ag-body-viewport", s, de, O, k),
|
|
37626
|
+
[s, de, O, k]
|
|
37627
|
+
), He = $(
|
|
37628
|
+
() => Bt("ag-body", de),
|
|
37629
|
+
[de]
|
|
37630
|
+
), le = $(
|
|
37631
|
+
() => Bt("ag-floating-top", k),
|
|
37632
|
+
[k]
|
|
37633
|
+
), ce = $(
|
|
37634
|
+
() => Bt("ag-sticky-top", k),
|
|
37635
|
+
[k]
|
|
37636
|
+
), Ie = $(
|
|
37637
|
+
() => Bt("ag-sticky-bottom", k),
|
|
37638
|
+
[k]
|
|
37639
|
+
), q = $(
|
|
37640
|
+
() => Bt("ag-floating-bottom", k),
|
|
37641
|
+
[k]
|
|
37642
|
+
), Re = $(() => ({
|
|
37643
37643
|
height: r,
|
|
37644
37644
|
minHeight: r,
|
|
37645
37645
|
display: D,
|
|
37646
|
-
overflowY:
|
|
37647
|
-
}), [r, D,
|
|
37646
|
+
overflowY: _
|
|
37647
|
+
}), [r, D, _]), ht = $(() => ({
|
|
37648
37648
|
height: d,
|
|
37649
37649
|
top: h,
|
|
37650
37650
|
width: m
|
|
37651
|
-
}), [d, h, m]), Ht =
|
|
37651
|
+
}), [d, h, m]), Ht = $(() => ({
|
|
37652
37652
|
height: w,
|
|
37653
37653
|
bottom: y,
|
|
37654
37654
|
width: R
|
|
37655
|
-
}), [w, y, R]), ki =
|
|
37655
|
+
}), [w, y, R]), ki = $(() => ({
|
|
37656
37656
|
height: l,
|
|
37657
37657
|
minHeight: l,
|
|
37658
37658
|
display: F,
|
|
37659
|
-
overflowY:
|
|
37660
|
-
}), [l, F,
|
|
37659
|
+
overflowY: _
|
|
37660
|
+
}), [l, F, _]), On = (bs) => /* @__PURE__ */ T.createElement(yv, { name: bs, key: `${bs}-container` }), go = ({
|
|
37661
37661
|
section: bs,
|
|
37662
37662
|
children: fo,
|
|
37663
37663
|
className: Si,
|
|
37664
37664
|
style: _n
|
|
37665
37665
|
}) => /* @__PURE__ */ T.createElement("div", { ref: bs, className: Si, role: "presentation", style: _n }, fo.map(On));
|
|
37666
|
-
return /* @__PURE__ */ T.createElement("div", { ref:
|
|
37666
|
+
return /* @__PURE__ */ T.createElement("div", { ref: ue, className: xe, role: "treegrid" }, /* @__PURE__ */ T.createElement(nv, null), go({ section: X, className: le, style: Re, children: [
|
|
37667
37667
|
be.TOP_LEFT,
|
|
37668
37668
|
be.TOP_CENTER,
|
|
37669
37669
|
be.TOP_RIGHT,
|
|
37670
37670
|
be.TOP_FULL_WIDTH
|
|
37671
|
-
] }), /* @__PURE__ */ T.createElement("div", { className: He, ref:
|
|
37671
|
+
] }), /* @__PURE__ */ T.createElement("div", { className: He, ref: ne, role: "presentation" }, go({
|
|
37672
37672
|
section: Ee,
|
|
37673
37673
|
className: Qe,
|
|
37674
37674
|
children: [
|
|
@@ -37677,7 +37677,7 @@ var ev = (t) => {
|
|
|
37677
37677
|
be.RIGHT,
|
|
37678
37678
|
be.FULL_WIDTH
|
|
37679
37679
|
]
|
|
37680
|
-
})), go({ section:
|
|
37680
|
+
})), go({ section: re, className: ce, style: ht, children: [
|
|
37681
37681
|
be.STICKY_TOP_LEFT,
|
|
37682
37682
|
be.STICKY_TOP_CENTER,
|
|
37683
37683
|
be.STICKY_TOP_RIGHT,
|
|
@@ -37694,7 +37694,7 @@ var ev = (t) => {
|
|
|
37694
37694
|
be.BOTTOM_FULL_WIDTH
|
|
37695
37695
|
] }));
|
|
37696
37696
|
}, bv = wt(Rv), Tv = (t, e) => {
|
|
37697
|
-
const { children: i, eFocusableElement: s, onTabKeyDown: o, gridCtrl: r, forceFocusOutWhenTabGuardsAreEmpty: n } = t, { context: l } = lt(ct), a =
|
|
37697
|
+
const { children: i, eFocusableElement: s, onTabKeyDown: o, gridCtrl: r, forceFocusOutWhenTabGuardsAreEmpty: n } = t, { context: l } = lt(ct), a = N(null), d = N(null), c = N(), h = (v) => {
|
|
37698
37698
|
const y = v == null ? void 0 : parseInt(v, 10).toString();
|
|
37699
37699
|
[a, d].forEach((E) => {
|
|
37700
37700
|
var R, b;
|
|
@@ -37743,81 +37743,81 @@ var ev = (t) => {
|
|
|
37743
37743
|
};
|
|
37744
37744
|
return /* @__PURE__ */ T.createElement(T.Fragment, null, w("top"), i, w("bottom"));
|
|
37745
37745
|
}, Dv = Ol(Tv), Av = wt(Dv), Pv = ({ context: t }) => {
|
|
37746
|
-
const [e, i] =
|
|
37746
|
+
const [e, i] = x(""), [s, o] = x(""), [r, n] = x(""), [l, a] = x(null), [d, c] = x(null), [h, f] = x(!1), [m, C] = x(), w = N(null), v = N(null), y = N(), [E, R] = x(null), b = N(() => {
|
|
37747
37747
|
}), D = Z(() => {
|
|
37748
|
-
}, []), A =
|
|
37748
|
+
}, []), A = $(() => t.isDestroyed() ? null : t.getBean("beans"), [t]);
|
|
37749
37749
|
zi(" AG Grid ", v);
|
|
37750
|
-
const F = Z((
|
|
37751
|
-
if (v.current =
|
|
37750
|
+
const F = Z((K) => {
|
|
37751
|
+
if (v.current = K, !v.current) {
|
|
37752
37752
|
t.destroyBean(w.current), w.current = null;
|
|
37753
37753
|
return;
|
|
37754
37754
|
}
|
|
37755
37755
|
if (t.isDestroyed())
|
|
37756
37756
|
return;
|
|
37757
37757
|
w.current = t.createBean(new Vi());
|
|
37758
|
-
const
|
|
37759
|
-
b.current =
|
|
37760
|
-
const
|
|
37758
|
+
const k = w.current;
|
|
37759
|
+
b.current = k.focusInnerElement.bind(k);
|
|
37760
|
+
const oe = {
|
|
37761
37761
|
destroyGridUi: () => {
|
|
37762
37762
|
},
|
|
37763
37763
|
// do nothing, as framework users destroy grid by removing the comp
|
|
37764
37764
|
setRtlClass: i,
|
|
37765
|
-
forceFocusOutOfContainer: (
|
|
37766
|
-
var
|
|
37767
|
-
(
|
|
37765
|
+
forceFocusOutOfContainer: (de) => {
|
|
37766
|
+
var fe;
|
|
37767
|
+
(fe = y.current) == null || fe.forceFocusOutOfContainer(de);
|
|
37768
37768
|
},
|
|
37769
37769
|
updateLayoutClasses: n,
|
|
37770
37770
|
getFocusableContainers: () => {
|
|
37771
|
-
var
|
|
37772
|
-
const
|
|
37773
|
-
return ie &&
|
|
37771
|
+
var de, fe;
|
|
37772
|
+
const me = [], ie = (de = v.current) == null ? void 0 : de.querySelector(".ag-root"), X = (fe = v.current) == null ? void 0 : fe.querySelector(".ag-side-bar:not(.ag-hidden)");
|
|
37773
|
+
return ie && me.push(ie), X && me.push(X), me;
|
|
37774
37774
|
},
|
|
37775
37775
|
setCursor: a,
|
|
37776
37776
|
setUserSelect: c
|
|
37777
37777
|
};
|
|
37778
|
-
|
|
37778
|
+
k.setComp(oe, v.current, v.current), f(!0);
|
|
37779
37779
|
}, []);
|
|
37780
37780
|
Je(() => {
|
|
37781
37781
|
if (!m || !A || !w.current || !E || !v.current)
|
|
37782
37782
|
return;
|
|
37783
|
-
const
|
|
37784
|
-
if (
|
|
37785
|
-
const
|
|
37786
|
-
Ae.insertAdjacentElement("afterbegin", Ee),
|
|
37783
|
+
const K = w.current, k = [], { agStackComponentsRegistry: oe } = A, de = oe.getComponentClass("AG-GRID-HEADER-DROP-ZONES"), fe = oe.getComponentClass("AG-SIDE-BAR"), me = oe.getComponentClass("AG-STATUS-BAR"), ie = oe.getComponentClass("AG-WATERMARK"), X = oe.getComponentClass("AG-PAGINATION"), re = [], Ae = v.current;
|
|
37784
|
+
if (K.showDropZones() && de) {
|
|
37785
|
+
const ne = t.createBean(new de()), Ee = ne.getGui();
|
|
37786
|
+
Ae.insertAdjacentElement("afterbegin", Ee), re.push(Ee), k.push(ne);
|
|
37787
37787
|
}
|
|
37788
|
-
if (
|
|
37789
|
-
const
|
|
37790
|
-
Rt && (Rt.insertAdjacentElement("beforebegin", Ee),
|
|
37788
|
+
if (K.showSideBar() && fe) {
|
|
37789
|
+
const ne = t.createBean(new fe()), Ee = ne.getGui(), Rt = E.querySelector(".ag-tab-guard-bottom");
|
|
37790
|
+
Rt && (Rt.insertAdjacentElement("beforebegin", Ee), re.push(Ee)), k.push(ne);
|
|
37791
37791
|
}
|
|
37792
|
-
if (
|
|
37793
|
-
const
|
|
37794
|
-
Ae.insertAdjacentElement("beforeend", Ee),
|
|
37792
|
+
if (K.showStatusBar() && me) {
|
|
37793
|
+
const ne = t.createBean(new me()), Ee = ne.getGui();
|
|
37794
|
+
Ae.insertAdjacentElement("beforeend", Ee), re.push(Ee), k.push(ne);
|
|
37795
37795
|
}
|
|
37796
37796
|
if (X) {
|
|
37797
|
-
const
|
|
37798
|
-
Ae.insertAdjacentElement("beforeend", Ee),
|
|
37797
|
+
const ne = t.createBean(new X()), Ee = ne.getGui();
|
|
37798
|
+
Ae.insertAdjacentElement("beforeend", Ee), re.push(Ee), k.push(ne);
|
|
37799
37799
|
}
|
|
37800
|
-
if (
|
|
37801
|
-
const
|
|
37802
|
-
Ae.insertAdjacentElement("beforeend", Ee),
|
|
37800
|
+
if (K.showWatermark() && ie) {
|
|
37801
|
+
const ne = t.createBean(new ie()), Ee = ne.getGui();
|
|
37802
|
+
Ae.insertAdjacentElement("beforeend", Ee), re.push(Ee), k.push(ne);
|
|
37803
37803
|
}
|
|
37804
37804
|
return () => {
|
|
37805
|
-
t.destroyBeans(
|
|
37806
|
-
|
|
37805
|
+
t.destroyBeans(k), re.forEach((ne) => {
|
|
37806
|
+
ne.parentElement && ne.parentElement.removeChild(ne);
|
|
37807
37807
|
});
|
|
37808
37808
|
};
|
|
37809
37809
|
}, [m, E, A]);
|
|
37810
|
-
const
|
|
37810
|
+
const W = $(() => Bt("ag-root-wrapper", e, s, r), [e, s, r]), O = $(() => Bt("ag-root-wrapper-body", "ag-focus-managed", r), [r]), G = $(() => ({
|
|
37811
37811
|
userSelect: d ?? "",
|
|
37812
37812
|
WebkitUserSelect: d ?? "",
|
|
37813
37813
|
cursor: l ?? ""
|
|
37814
|
-
}), [d, l]),
|
|
37815
|
-
y.current =
|
|
37814
|
+
}), [d, l]), _ = Z((K) => {
|
|
37815
|
+
y.current = K, C(K !== null);
|
|
37816
37816
|
}, []);
|
|
37817
|
-
return /* @__PURE__ */ T.createElement("div", { ref: F, className:
|
|
37817
|
+
return /* @__PURE__ */ T.createElement("div", { ref: F, className: W, style: G, role: "presentation" }, /* @__PURE__ */ T.createElement("div", { className: O, ref: R, role: "presentation" }, h && E && A && /* @__PURE__ */ T.createElement(ct.Provider, { value: A }, /* @__PURE__ */ T.createElement(
|
|
37818
37818
|
Av,
|
|
37819
37819
|
{
|
|
37820
|
-
ref:
|
|
37820
|
+
ref: _,
|
|
37821
37821
|
eFocusableElement: E,
|
|
37822
37822
|
onTabKeyDown: D,
|
|
37823
37823
|
gridCtrl: w.current,
|
|
@@ -37832,7 +37832,7 @@ var ev = (t) => {
|
|
|
37832
37832
|
))));
|
|
37833
37833
|
}, Fv = wt(Pv), Uh = (t) => {
|
|
37834
37834
|
var e, i;
|
|
37835
|
-
const s =
|
|
37835
|
+
const s = N(), o = N(null), r = N(null), n = N([]), l = N([]), a = N(t), d = N(!1), [c, h] = x(void 0), [, f] = x(0), m = Z((v) => {
|
|
37836
37836
|
if (o.current = v, !o.current) {
|
|
37837
37837
|
n.current.forEach((F) => F()), n.current.length = 0;
|
|
37838
37838
|
return;
|
|
@@ -37858,12 +37858,12 @@ var ev = (t) => {
|
|
|
37858
37858
|
}), F.getBean(Zi.NAME).whenReady(() => {
|
|
37859
37859
|
if (F.isDestroyed())
|
|
37860
37860
|
return;
|
|
37861
|
-
const
|
|
37862
|
-
|
|
37861
|
+
const O = s.current;
|
|
37862
|
+
O && t.setGridApi && t.setGridApi(O, new Us(O));
|
|
37863
37863
|
});
|
|
37864
37864
|
}, D = (F) => {
|
|
37865
37865
|
F.getBean(Zi.NAME).whenReady(() => {
|
|
37866
|
-
l.current.forEach((
|
|
37866
|
+
l.current.forEach((O) => O()), l.current.length = 0, d.current = !0;
|
|
37867
37867
|
});
|
|
37868
37868
|
}, A = new uC();
|
|
37869
37869
|
s.current = A.create(
|
|
@@ -37873,7 +37873,7 @@ var ev = (t) => {
|
|
|
37873
37873
|
D,
|
|
37874
37874
|
R
|
|
37875
37875
|
);
|
|
37876
|
-
}, []), C =
|
|
37876
|
+
}, []), C = $(() => Fe({
|
|
37877
37877
|
height: "100%"
|
|
37878
37878
|
}, t.containerStyle || {}), [t.containerStyle]), w = Z((v) => {
|
|
37879
37879
|
d.current ? v() : l.current.push(v);
|
|
@@ -37937,39 +37937,39 @@ var Mv = class extends cC {
|
|
|
37937
37937
|
return new _h(t, this.parent, e, i);
|
|
37938
37938
|
}
|
|
37939
37939
|
}, Iv = Ol((t, e) => {
|
|
37940
|
-
const { ctrlsFactory: i, context: s, gos: o, resizeObserverService: r, clientSideRowModel: n, serverSideRowModel: l } = lt(ct), [a, d] =
|
|
37940
|
+
const { ctrlsFactory: i, context: s, gos: o, resizeObserverService: r, clientSideRowModel: n, serverSideRowModel: l } = lt(ct), [a, d] = x(() => new It()), [c, h] = x(() => new It()), [f, m] = x(), [C, w] = x(), v = N(), y = N(null), E = N(), R = $(() => he.__getGridRegisteredModules(t.api.getGridId()), [t]), b = $(() => a.toString() + " ag-details-row", [a]), D = $(() => c.toString() + " ag-details-grid", [c]);
|
|
37941
37941
|
e && _l(e, () => ({
|
|
37942
37942
|
refresh() {
|
|
37943
|
-
var
|
|
37944
|
-
return (
|
|
37943
|
+
var W, O;
|
|
37944
|
+
return (O = (W = v.current) == null ? void 0 : W.refresh()) != null ? O : !1;
|
|
37945
37945
|
}
|
|
37946
37946
|
})), t.template && z.warnOnce("detailCellRendererParams.template is not supported by AG Grid React. To change the template, provide a Custom Detail Cell Renderer. See https://ag-grid.com/react-data-grid/master-detail-custom-detail/");
|
|
37947
|
-
const A = Z((
|
|
37948
|
-
if (y.current =
|
|
37947
|
+
const A = Z((W) => {
|
|
37948
|
+
if (y.current = W, !y.current) {
|
|
37949
37949
|
s.destroyBean(v.current), E.current && E.current();
|
|
37950
37950
|
return;
|
|
37951
37951
|
}
|
|
37952
|
-
const
|
|
37953
|
-
addOrRemoveCssClass: (
|
|
37954
|
-
addOrRemoveDetailGridCssClass: (
|
|
37955
|
-
setDetailGrid: (
|
|
37956
|
-
setRowData: (
|
|
37952
|
+
const O = {
|
|
37953
|
+
addOrRemoveCssClass: (_, K) => d((k) => k.setClass(_, K)),
|
|
37954
|
+
addOrRemoveDetailGridCssClass: (_, K) => h((k) => k.setClass(_, K)),
|
|
37955
|
+
setDetailGrid: (_) => m(_),
|
|
37956
|
+
setRowData: (_) => w(_),
|
|
37957
37957
|
getGui: () => y.current
|
|
37958
|
-
},
|
|
37959
|
-
if (
|
|
37960
|
-
const
|
|
37958
|
+
}, G = i.getInstance("detailCellRenderer");
|
|
37959
|
+
if (G && (s.createBean(G), G.init(O, t), v.current = G, o.get("detailRowAutoHeight"))) {
|
|
37960
|
+
const _ = () => {
|
|
37961
37961
|
if (y.current == null)
|
|
37962
37962
|
return;
|
|
37963
|
-
const
|
|
37964
|
-
|
|
37965
|
-
t.node.setRowHeight(
|
|
37963
|
+
const K = y.current.clientHeight;
|
|
37964
|
+
K != null && K > 0 && setTimeout(() => {
|
|
37965
|
+
t.node.setRowHeight(K), n ? n.onRowHeightChanged() : l && l.onRowHeightChanged();
|
|
37966
37966
|
}, 0);
|
|
37967
37967
|
};
|
|
37968
|
-
E.current = r.observeResize(y.current,
|
|
37968
|
+
E.current = r.observeResize(y.current, _), _();
|
|
37969
37969
|
}
|
|
37970
|
-
}, []), F = Z((
|
|
37971
|
-
var
|
|
37972
|
-
(
|
|
37970
|
+
}, []), F = Z((W, O) => {
|
|
37971
|
+
var G;
|
|
37972
|
+
(G = v.current) == null || G.registerDetailWithMaster(W, O);
|
|
37973
37973
|
}, []);
|
|
37974
37974
|
return /* @__PURE__ */ T.createElement("div", { className: b, ref: A }, f && /* @__PURE__ */ T.createElement(Uh, nt(Fe({ className: D }, f), { modules: R, rowData: C, setGridApi: F })));
|
|
37975
37975
|
}), Nv = class extends Lh {
|
|
@@ -38031,7 +38031,7 @@ const qa = {
|
|
|
38031
38031
|
"p-id": "2254"
|
|
38032
38032
|
}
|
|
38033
38033
|
)), Vv = (t) => {
|
|
38034
|
-
const [e, i] =
|
|
38034
|
+
const [e, i] = x("inactive"), [s, o] = x("inactive"), [r, n] = x("inactive"), l = N(null), [a, d] = x(!1), [c, h] = x(null), f = () => {
|
|
38035
38035
|
t.showColumnMenu(l.current);
|
|
38036
38036
|
};
|
|
38037
38037
|
Je(() => {
|
|
@@ -38064,7 +38064,7 @@ const qa = {
|
|
|
38064
38064
|
)));
|
|
38065
38065
|
const v = {
|
|
38066
38066
|
width: "100%"
|
|
38067
|
-
}, y =
|
|
38067
|
+
}, y = $(() => {
|
|
38068
38068
|
var b, D;
|
|
38069
38069
|
let R = ((b = t.filterSearchRender[t.field]) == null ? void 0 : b.render) || _d;
|
|
38070
38070
|
return /* @__PURE__ */ T.createElement(
|
|
@@ -38131,99 +38131,108 @@ const qa = {
|
|
|
38131
38131
|
customColumn: a = [],
|
|
38132
38132
|
filterSearchRender: d = {},
|
|
38133
38133
|
setfilterKey: c,
|
|
38134
|
-
filterKey: h
|
|
38134
|
+
filterKey: h,
|
|
38135
|
+
// 行高 / 表头高必须显式传给 ag-grid:v31 的 Environment.getTheme() 用正则
|
|
38136
|
+
// /\bag-(material|theme-[\w-]*)\b/ 扫描容器 className,只认 ag-theme-* 类名。
|
|
38137
|
+
// 本包容器是 .pk-ag-grid(样式已作用域隔离),匹配不到 → getSassVariable 直接
|
|
38138
|
+
// return undefined → 回退到内置 DEFAULT_ROW_HEIGHT = 25,与 CSS 变量无关。
|
|
38139
|
+
// 默认值与 alpine 主题一致:--ag-row-height: 6px * 7 = 42,--ag-header-height: 6px * 8 = 48。
|
|
38140
|
+
rowHeight: f = 42,
|
|
38141
|
+
headerHeight: m = 48
|
|
38135
38142
|
}) => {
|
|
38136
|
-
const
|
|
38137
|
-
const
|
|
38138
|
-
return typeof
|
|
38139
|
-
}, [n, r]),
|
|
38140
|
-
let
|
|
38141
|
-
return t.map((
|
|
38142
|
-
if (
|
|
38143
|
-
|
|
38143
|
+
const C = $(() => ({ width: "100%", height: "100%", position: "relative" }), []), w = $(() => ({ height: "100%", width: "100%" }), []), v = Vd((G) => G.controller.language), y = $(() => {
|
|
38144
|
+
const G = n && typeof n == "object" ? n.total : void 0;
|
|
38145
|
+
return typeof G == "number" && !Number.isNaN(G) ? G : Array.isArray(r) ? r.length : 0;
|
|
38146
|
+
}, [n, r]), E = $(() => {
|
|
38147
|
+
let G = {};
|
|
38148
|
+
return t.map((_, K) => {
|
|
38149
|
+
if (K == 0)
|
|
38150
|
+
G[_.field] = "Total", G.fromData = "total";
|
|
38144
38151
|
else {
|
|
38145
|
-
let
|
|
38146
|
-
r.map((
|
|
38147
|
-
let
|
|
38148
|
-
!isNaN(Number(
|
|
38149
|
-
}),
|
|
38150
|
-
}
|
|
38151
|
-
}), [
|
|
38152
|
-
}, [r, t]),
|
|
38152
|
+
let k = _.lockPosition ? "" : 0;
|
|
38153
|
+
r.map((oe) => {
|
|
38154
|
+
let de = _.field != _.key && _.key ? _.key : _.field, fe = ["jobCurrency", "industries", "jobSalaryRange"];
|
|
38155
|
+
!isNaN(Number(oe[de])) && !fe.includes(_.field) && (k += Number(oe[de]));
|
|
38156
|
+
}), G[_.field] = typeof k == "number" && k > 0 ? k : "--";
|
|
38157
|
+
}
|
|
38158
|
+
}), [G];
|
|
38159
|
+
}, [r, t]), R = {
|
|
38153
38160
|
visible: !0,
|
|
38154
38161
|
sortable: !0,
|
|
38155
38162
|
active: !1,
|
|
38156
38163
|
unSortIcon: !0,
|
|
38157
38164
|
minWidth: 200,
|
|
38158
|
-
comparator: (
|
|
38165
|
+
comparator: (G, _, K, k, oe) => 0,
|
|
38159
38166
|
headerComponent: Vv
|
|
38160
38167
|
// suppressMovable: !isDrag,
|
|
38161
|
-
},
|
|
38168
|
+
}, b = $(() => ({
|
|
38162
38169
|
width: 170,
|
|
38163
38170
|
lockPinned: !0
|
|
38164
|
-
}), []),
|
|
38165
|
-
o && (o.current =
|
|
38166
|
-
}, []),
|
|
38167
|
-
var
|
|
38168
|
-
const { isNotTip:
|
|
38169
|
-
return
|
|
38170
|
-
},
|
|
38171
|
-
var
|
|
38172
|
-
const
|
|
38171
|
+
}), []), D = Z((G) => {
|
|
38172
|
+
o && (o.current = G);
|
|
38173
|
+
}, []), A = (G) => {
|
|
38174
|
+
var oe;
|
|
38175
|
+
const { isNotTip: _, render: K } = G.colDef || {}, k = ((oe = G.data) == null ? void 0 : oe.fromData) === "total";
|
|
38176
|
+
return K && !k ? K(G) : /* @__PURE__ */ T.createElement(Gd, { title: _ ? "" : G.value || "", arrow: !0, placement: "top" }, typeof G.value == "number" || G.value ? G.value : "--");
|
|
38177
|
+
}, F = Z((G) => {
|
|
38178
|
+
var K;
|
|
38179
|
+
const _ = ((K = G.api.getState().sort) == null ? void 0 : K.sortModel) ?? [];
|
|
38173
38180
|
s({
|
|
38174
|
-
sort:
|
|
38181
|
+
sort: _[0] ?? null,
|
|
38175
38182
|
optType: "sort"
|
|
38176
38183
|
});
|
|
38177
|
-
}, [s]),
|
|
38184
|
+
}, [s]), W = (G) => {
|
|
38178
38185
|
s({
|
|
38179
|
-
column:
|
|
38180
|
-
...
|
|
38186
|
+
column: G.api.getColumnDefs().filter((_) => _.field).map((_) => ({
|
|
38187
|
+
..._,
|
|
38181
38188
|
pinned: void 0,
|
|
38182
|
-
field:
|
|
38183
|
-
hide:
|
|
38184
|
-
visible:
|
|
38189
|
+
field: _.field,
|
|
38190
|
+
hide: _.hide,
|
|
38191
|
+
visible: _.visible
|
|
38185
38192
|
}))
|
|
38186
38193
|
});
|
|
38187
|
-
},
|
|
38194
|
+
}, O = (G, _) => {
|
|
38188
38195
|
s({
|
|
38189
38196
|
optType: "mergeColum",
|
|
38190
38197
|
pagination: {
|
|
38191
|
-
page:
|
|
38192
|
-
size:
|
|
38198
|
+
page: G,
|
|
38199
|
+
size: _
|
|
38193
38200
|
}
|
|
38194
38201
|
});
|
|
38195
38202
|
};
|
|
38196
|
-
return /* @__PURE__ */ T.createElement("div", { style:
|
|
38203
|
+
return /* @__PURE__ */ T.createElement("div", { style: C }, e ? /* @__PURE__ */ T.createElement("div", { className: "loadingContent" }, /* @__PURE__ */ T.createElement(jh, null)) : null, /* @__PURE__ */ T.createElement("div", { style: w, className: "pk-ag-grid AgGridReact" }, /* @__PURE__ */ T.createElement(
|
|
38197
38204
|
xv,
|
|
38198
38205
|
{
|
|
38199
38206
|
rowData: r,
|
|
38200
|
-
|
|
38201
|
-
|
|
38207
|
+
rowHeight: f,
|
|
38208
|
+
headerHeight: m,
|
|
38209
|
+
pinnedBottomRowData: i ? E : [],
|
|
38210
|
+
defaultColDef: b,
|
|
38202
38211
|
suppressRowTransform: !0,
|
|
38203
|
-
onSortChanged:
|
|
38204
|
-
onDragStopped:
|
|
38212
|
+
onSortChanged: F,
|
|
38213
|
+
onDragStopped: W,
|
|
38205
38214
|
suppressDragLeaveHidesColumns: !0,
|
|
38206
38215
|
suppressMovableColumns: !1,
|
|
38207
38216
|
...l,
|
|
38208
|
-
columnDefs: [...t.map((
|
|
38209
|
-
...
|
|
38210
|
-
...
|
|
38211
|
-
headerName:
|
|
38217
|
+
columnDefs: [...t.map((G) => ({
|
|
38218
|
+
...R,
|
|
38219
|
+
...G,
|
|
38220
|
+
headerName: v ? G.enDisplay : G.cnDisplay,
|
|
38212
38221
|
// apn写法
|
|
38213
38222
|
// cellRenderer:"getCellParams",
|
|
38214
38223
|
// crm写法
|
|
38215
|
-
cellRenderer:
|
|
38224
|
+
cellRenderer: A,
|
|
38216
38225
|
headerComponentParams: {
|
|
38217
|
-
onSearch: (
|
|
38218
|
-
console.log(
|
|
38219
|
-
filter:
|
|
38226
|
+
onSearch: (_) => {
|
|
38227
|
+
console.log(_, "搜索"), s({
|
|
38228
|
+
filter: _ || {}
|
|
38220
38229
|
});
|
|
38221
38230
|
},
|
|
38222
38231
|
setfilterKey: c,
|
|
38223
38232
|
filterKey: h,
|
|
38224
|
-
language:
|
|
38233
|
+
language: v,
|
|
38225
38234
|
filterSearchRender: d,
|
|
38226
|
-
...
|
|
38235
|
+
...G
|
|
38227
38236
|
}
|
|
38228
38237
|
})), ...a],
|
|
38229
38238
|
icons: {
|
|
@@ -38237,9 +38246,9 @@ const qa = {
|
|
|
38237
38246
|
<svg t="1688438886160" fill="currentColor" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2253" width="16" height="16"><path d="M804.571 621.714a36.206 36.206 0 0 1-10.861 25.71l-256 256c-6.84 6.839-16.019 10.862-25.71 10.862s-18.87-3.987-25.71-10.862l-256-256a36.425 36.425 0 0 1-10.861-25.71c0-20.004 16.566-36.571 36.571-36.571h512c20.005 0 36.571 16.567 36.571 36.571z m0-219.428c0 20.004-16.566 36.571-36.571 36.571H256c-20.005 0-36.571-16.567-36.571-36.571a36.206 36.206 0 0 1 10.861-25.71l256-256c6.84-6.839 16.019-10.862 25.71-10.862s18.87 3.987 25.71 10.862l256 256a36.425 36.425 0 0 1 10.861 25.71z" p-id="2254"></path></svg>
|
|
38238
38247
|
</span>`
|
|
38239
38248
|
},
|
|
38240
|
-
onGridReady:
|
|
38249
|
+
onGridReady: D
|
|
38241
38250
|
}
|
|
38242
|
-
)), n ? /* @__PURE__ */ T.createElement(qh, { total:
|
|
38251
|
+
)), n ? /* @__PURE__ */ T.createElement(qh, { total: y, onChange: O, ...n }) : null);
|
|
38243
38252
|
}, vw = (t = {}, e = {}) => {
|
|
38244
38253
|
var Rt;
|
|
38245
38254
|
const {
|
|
@@ -38269,26 +38278,26 @@ const qa = {
|
|
|
38269
38278
|
} catch (U) {
|
|
38270
38279
|
return console.warn("[useTableModule] sessionStorage 读取失败:", U), null;
|
|
38271
38280
|
}
|
|
38272
|
-
}, [i, c]), m =
|
|
38273
|
-
|
|
38274
|
-
const
|
|
38275
|
-
|
|
38276
|
-
const
|
|
38277
|
-
|
|
38278
|
-
const
|
|
38279
|
-
|
|
38280
|
-
const
|
|
38281
|
-
|
|
38282
|
-
const
|
|
38283
|
-
|
|
38284
|
-
const
|
|
38285
|
-
const { sort: U } = A.current, Se = m.current.map((
|
|
38286
|
-
...
|
|
38287
|
-
sort: U && U.colId ==
|
|
38281
|
+
}, [i, c]), m = N([]), [C, w] = x([]), [v, y] = x([]), [E, R] = x(void 0), [b, D] = x(!0), A = N(f() || {}), [F, W] = x(((Rt = f()) == null ? void 0 : Rt.filter) || []), O = N(0), G = N(l);
|
|
38282
|
+
G.current = l;
|
|
38283
|
+
const _ = N(n);
|
|
38284
|
+
_.current = n;
|
|
38285
|
+
const K = N(o);
|
|
38286
|
+
K.current = o;
|
|
38287
|
+
const k = N(s);
|
|
38288
|
+
k.current = s;
|
|
38289
|
+
const oe = N(a);
|
|
38290
|
+
oe.current = a;
|
|
38291
|
+
const de = N(d);
|
|
38292
|
+
de.current = d;
|
|
38293
|
+
const fe = Z(() => {
|
|
38294
|
+
const { sort: U } = A.current, Se = m.current.map((ue) => ({
|
|
38295
|
+
...ue,
|
|
38296
|
+
sort: U && U.colId == ue.field ? U.sort : void 0
|
|
38288
38297
|
}));
|
|
38289
38298
|
w(di(Se));
|
|
38290
|
-
}, []),
|
|
38291
|
-
const U =
|
|
38299
|
+
}, []), me = Z(() => {
|
|
38300
|
+
const U = de.current;
|
|
38292
38301
|
if (!U) {
|
|
38293
38302
|
console.warn("[useTableModule] 未注入 saveColConfigRequest,跳过列配置保存");
|
|
38294
38303
|
return;
|
|
@@ -38301,39 +38310,39 @@ const qa = {
|
|
|
38301
38310
|
},
|
|
38302
38311
|
columnConfig: m.current
|
|
38303
38312
|
}
|
|
38304
|
-
},
|
|
38305
|
-
|
|
38313
|
+
}, ue = U(Se);
|
|
38314
|
+
ue && typeof ue.catch == "function" && ue.catch((xe) => console.error("[useTableModule] 列配置保存失败:", xe));
|
|
38306
38315
|
}, [r]), ie = Z(() => {
|
|
38307
|
-
const U =
|
|
38316
|
+
const U = G.current;
|
|
38308
38317
|
if (!U) {
|
|
38309
38318
|
console.warn("[useTableModule] 未注入 tableRequest,跳过列表加载"), D(!1);
|
|
38310
38319
|
return;
|
|
38311
38320
|
}
|
|
38312
|
-
|
|
38313
|
-
const Se =
|
|
38314
|
-
return D(!0), U(xe,
|
|
38321
|
+
O.current += 1;
|
|
38322
|
+
const Se = O.current, ue = K.current, xe = ue ? ue(A.current) : A.current;
|
|
38323
|
+
return D(!0), U(xe, _.current).then(
|
|
38315
38324
|
(Qe) => {
|
|
38316
|
-
if (Se !==
|
|
38317
|
-
const He = Qe == null ? void 0 : Qe.response,
|
|
38318
|
-
typeof
|
|
38319
|
-
const Ie =
|
|
38325
|
+
if (Se !== O.current) return;
|
|
38326
|
+
const He = Qe == null ? void 0 : Qe.response, le = Array.isArray(He) ? He : (He == null ? void 0 : He.data) || [], ce = Array.isArray(He) || He == null ? void 0 : He.total;
|
|
38327
|
+
typeof ce == "number" && !Number.isNaN(ce) && R(ce);
|
|
38328
|
+
const Ie = le.map((q) => ({
|
|
38320
38329
|
...q,
|
|
38321
38330
|
...q._source || {}
|
|
38322
38331
|
}));
|
|
38323
38332
|
y(Ie), D(!1);
|
|
38324
38333
|
},
|
|
38325
38334
|
(Qe) => {
|
|
38326
|
-
Se ===
|
|
38335
|
+
Se === O.current && (console.error("[useTableModule] 列表加载失败:", Qe), D(!1));
|
|
38327
38336
|
}
|
|
38328
38337
|
);
|
|
38329
38338
|
}, []), X = Z(
|
|
38330
38339
|
(U) => {
|
|
38331
|
-
const { column: Se, optType:
|
|
38332
|
-
let
|
|
38340
|
+
const { column: Se, optType: ue, sort: xe, pagination: Qe, filter: He } = U;
|
|
38341
|
+
let le = [];
|
|
38333
38342
|
if (Se) {
|
|
38334
|
-
const
|
|
38335
|
-
|
|
38336
|
-
const Re =
|
|
38343
|
+
const ce = new Map(Se.map((q) => [q.field, q]));
|
|
38344
|
+
le = m.current.map((q) => {
|
|
38345
|
+
const Re = ce.get(q.field);
|
|
38337
38346
|
if (!Re) return { ...q };
|
|
38338
38347
|
const ht = Re.visible !== void 0 ? Re.visible : !Re.hide;
|
|
38339
38348
|
return { ...q, hide: !ht, visible: ht };
|
|
@@ -38342,14 +38351,14 @@ const qa = {
|
|
|
38342
38351
|
Se.forEach((q) => {
|
|
38343
38352
|
if (!Ie.has(q.field)) {
|
|
38344
38353
|
const Re = q.visible !== void 0 ? q.visible : !q.hide;
|
|
38345
|
-
|
|
38354
|
+
le.push({ ...q, hide: !Re, visible: Re });
|
|
38346
38355
|
}
|
|
38347
|
-
}), m.current =
|
|
38356
|
+
}), m.current = le, me();
|
|
38348
38357
|
}
|
|
38349
|
-
|
|
38358
|
+
ue == "mergeColum" && w(di(le != null && le.length ? le : m.current)), ue == "sort" && (A.current = {
|
|
38350
38359
|
...A.current,
|
|
38351
38360
|
sort: xe
|
|
38352
|
-
}, h(A.current),
|
|
38361
|
+
}, h(A.current), fe(), ie()), Qe && (A.current = {
|
|
38353
38362
|
...A.current,
|
|
38354
38363
|
...Qe
|
|
38355
38364
|
}, h(A.current), ie()), He && (A.current = {
|
|
@@ -38357,23 +38366,23 @@ const qa = {
|
|
|
38357
38366
|
filter: He
|
|
38358
38367
|
}, A.current.page && A.current.page > 1 && (A.current.page = 1), h(A.current), ie());
|
|
38359
38368
|
},
|
|
38360
|
-
[h,
|
|
38361
|
-
),
|
|
38362
|
-
const U =
|
|
38369
|
+
[h, me, fe, ie]
|
|
38370
|
+
), re = Z(() => {
|
|
38371
|
+
const U = oe.current;
|
|
38363
38372
|
if (!U) {
|
|
38364
38373
|
console.warn("[useTableModule] 未注入 getColConfigRequest,跳过列配置加载"), D(!1);
|
|
38365
38374
|
return;
|
|
38366
38375
|
}
|
|
38367
|
-
const { sort: Se } = A.current,
|
|
38376
|
+
const { sort: Se } = A.current, ue = k.current;
|
|
38368
38377
|
U(r).then(
|
|
38369
38378
|
({ response: xe }) => {
|
|
38370
|
-
var
|
|
38371
|
-
const He = (((
|
|
38372
|
-
...
|
|
38373
|
-
hide: !
|
|
38374
|
-
visible:
|
|
38375
|
-
sort: Se && Se.colId ==
|
|
38376
|
-
render:
|
|
38379
|
+
var le;
|
|
38380
|
+
const He = (((le = xe == null ? void 0 : xe.userConfig) == null ? void 0 : le.columnConfig) || []).map((ce) => ({
|
|
38381
|
+
...ce,
|
|
38382
|
+
hide: !ce.visible,
|
|
38383
|
+
visible: ce.visible,
|
|
38384
|
+
sort: Se && Se.colId == ce.field ? Se.sort : void 0,
|
|
38385
|
+
render: ue ? ue[ce.field] : void 0
|
|
38377
38386
|
}));
|
|
38378
38387
|
w(di(He)), m.current = di(He), ie();
|
|
38379
38388
|
},
|
|
@@ -38383,12 +38392,12 @@ const qa = {
|
|
|
38383
38392
|
);
|
|
38384
38393
|
}, [r, ie]), Ae = Z(() => {
|
|
38385
38394
|
const U = f() || {};
|
|
38386
|
-
A.current = U,
|
|
38387
|
-
}, [f,
|
|
38395
|
+
A.current = U, W(U.filter || []), fe(), ie();
|
|
38396
|
+
}, [f, fe, ie]);
|
|
38388
38397
|
Je(() => {
|
|
38389
|
-
r &&
|
|
38398
|
+
r && re();
|
|
38390
38399
|
}, [r]);
|
|
38391
|
-
const
|
|
38400
|
+
const ne = Z(
|
|
38392
38401
|
(U = {}) => /* @__PURE__ */ React.createElement(dg, { columRef: m, onChange: X, ...U }),
|
|
38393
38402
|
[X]
|
|
38394
38403
|
), Ee = Z(
|
|
@@ -38396,7 +38405,7 @@ const qa = {
|
|
|
38396
38405
|
Hv,
|
|
38397
38406
|
{
|
|
38398
38407
|
filterKey: F,
|
|
38399
|
-
setfilterKey:
|
|
38408
|
+
setfilterKey: W,
|
|
38400
38409
|
loading: b,
|
|
38401
38410
|
columnDefs: C,
|
|
38402
38411
|
pagination: {
|
|
@@ -38412,14 +38421,14 @@ const qa = {
|
|
|
38412
38421
|
[F, b, C, v, E, X]
|
|
38413
38422
|
);
|
|
38414
38423
|
return {
|
|
38415
|
-
SettingTableRender:
|
|
38424
|
+
SettingTableRender: ne,
|
|
38416
38425
|
TableListRender: Ee,
|
|
38417
38426
|
// 需要单独回调的就抛出去,特殊场景多个列表使用,平常用url回调一次
|
|
38418
38427
|
getTableData: ie,
|
|
38419
38428
|
//获取列表数据
|
|
38420
|
-
getColConfig:
|
|
38429
|
+
getColConfig: re,
|
|
38421
38430
|
//获取配置接口
|
|
38422
|
-
saveColConfig:
|
|
38431
|
+
saveColConfig: me,
|
|
38423
38432
|
//保存配置接口
|
|
38424
38433
|
resetSesstion: Ae,
|
|
38425
38434
|
tableData: v,
|
|
@@ -38435,7 +38444,7 @@ const qa = {
|
|
|
38435
38444
|
}, kv = {
|
|
38436
38445
|
width: "100%"
|
|
38437
38446
|
}, ww = ({ dataIndex: t, language: e, onChange: i, value: s, ...o }) => {
|
|
38438
|
-
const r =
|
|
38447
|
+
const r = $(() => /* @__PURE__ */ React.createElement(
|
|
38439
38448
|
_d,
|
|
38440
38449
|
{
|
|
38441
38450
|
value: s != null && s.length ? s : null,
|