${(x = w.data) != null && x.prevPeriod ? `(${S3(
+ var x, E, R;
+ return `
${(x = w.data) != null && x.prevPeriod ? `(${mH(
w.data.prevPeriod,
- ((E = t == null ? void 0 : t.time) == null ? void 0 : E.granularity) === "hour" ? "day" : (P = t == null ? void 0 : t.time) == null ? void 0 : P.granularity,
+ ((E = t == null ? void 0 : t.time) == null ? void 0 : E.granularity) === "hour" ? "day" : (R = t == null ? void 0 : t.time) == null ? void 0 : R.granularity,
!1
)}): ${w.data.seriesLabel}` : w.seriesName}:
${Number(w.value)}${w.data.unit ? w.data.unit : ""}`;
}
@@ -95003,7 +94700,7 @@ function N9e({
}
};
}
-const Fg = {
+const Ng = {
hour: "h:mm A, Do MMM",
day: "Do MMM",
week: "Do MMM YYYY",
@@ -95012,20 +94709,20 @@ const Fg = {
year: "YYYY",
all_time: ""
};
-function S3(e, t, r = !0) {
- return t === "week" ? `${Co(e).format(
- Fg[t]
- )} - ${Co(e).add(6, "day").format(Fg[t])}` : r ? Co(e).format(Fg[t]).replace(/ /g, `
-`) : Co(e).format(Fg[t]);
+function mH(e, t, r = !0) {
+ return t === "week" ? `${mo(e).format(
+ Ng[t]
+ )} - ${mo(e).add(6, "day").format(Ng[t])}` : r ? mo(e).format(Ng[t]).replace(/ /g, `
+`) : mo(e).format(Ng[t]);
}
-function k9e(e, t) {
- return t === "week" ? `${Co(e).format("[Week] WW, Do MMM YYYY")} - ${Co(e).add(6, "day").format("Do MMM YYYY")}` : t === "day" ? Co(e).format("Do MMM YYYY") : Co(e).format(Fg[t]);
+function P9e(e, t) {
+ return t === "week" ? `${mo(e).format("[Week] WW, Do MMM YYYY")} - ${mo(e).add(6, "day").format("Do MMM YYYY")}` : t === "day" ? mo(e).format("Do MMM YYYY") : mo(e).format(Ng[t]);
}
-function $9e({
+function T9e({
chartResponse: e,
queryConfiguration: t
}) {
- const { themeColors: r, currentTheme: n } = zm(), i = N9e({
+ const { themeColors: r, currentTheme: n } = Bm(), i = R9e({
chartData: (e == null ? void 0 : e.data) ?? [],
queryConfiguration: t ?? {},
themeColors: r,
@@ -95049,7 +94746,7 @@ function $9e({
width: "100%"
},
children: /* @__PURE__ */ se.jsx(
- dee,
+ aee,
{
style: { height: "40vh", width: "100%" },
option: i,
@@ -95062,12 +94759,12 @@ function $9e({
)
}
),
- /* @__PURE__ */ se.jsx(cr, { children: /* @__PURE__ */ se.jsx(Nv, { children: e.summary }) })
+ /* @__PURE__ */ se.jsx(cr, { children: /* @__PURE__ */ se.jsx(kv, { children: e.summary }) })
]
}
);
}
-function B9e({
+function _9e({
index: e,
messages: t,
handleRegenerateResponse: r,
@@ -95100,7 +94797,7 @@ function B9e({
size: "small",
onClick: l,
type: "text",
- icon: a ? /* @__PURE__ */ se.jsx(pH, { size: "0.7rem" }) : /* @__PURE__ */ se.jsx(gH, { size: "0.7rem" }),
+ icon: a ? /* @__PURE__ */ se.jsx(dz, { size: "0.7rem" }) : /* @__PURE__ */ se.jsx(hz, { size: "0.7rem" }),
style: {
fontSize: "0.7rem",
color: "var(--secondary-text)"
@@ -95120,7 +94817,7 @@ function B9e({
);
},
type: "text",
- icon: /* @__PURE__ */ se.jsx(fH, { size: "0.7rem" }),
+ icon: /* @__PURE__ */ se.jsx(uz, { size: "0.7rem" }),
style: {
fontSize: "0.7rem",
color: "var(--secondary-text)"
@@ -95148,14 +94845,14 @@ function B9e({
},
children: /* @__PURE__ */ se.jsxs($t, { children: [
Object.keys(c).map(
- (d) => !n.includes(d) && /* @__PURE__ */ se.jsx(wre, { children: c[d] }, d)
+ (d) => !n.includes(d) && /* @__PURE__ */ se.jsx(mre, { children: c[d] }, d)
),
i
] })
}
);
}
-function V9e({
+function M9e({
index: e,
messages: t,
showMessageActionCard: r,
@@ -95170,10 +94867,10 @@ function V9e({
const f = s.type || ((g = s == null ? void 0 : s.query_response) == null ? void 0 : g.type), p = (s == null ? void 0 : s.data) || ((m = s == null ? void 0 : s.query_response) == null ? void 0 : m.data), v = s == null ? void 0 : s.query_configuration;
switch (f) {
case "text":
- return /* @__PURE__ */ se.jsx(cr, { children: /* @__PURE__ */ se.jsx(Nv, { children: p }) });
+ return /* @__PURE__ */ se.jsx(cr, { children: /* @__PURE__ */ se.jsx(kv, { children: p }) });
case "trend":
return /* @__PURE__ */ se.jsx(
- $9e,
+ T9e,
{
chartResponse: s.query_response,
queryConfiguration: v
@@ -95181,7 +94878,7 @@ function V9e({
);
case "funnel":
return /* @__PURE__ */ se.jsx(
- F9e,
+ E9e,
{
chartResponse: s.query_response,
queryConfiguration: v
@@ -95201,7 +94898,7 @@ function V9e({
className: "ai-message-wrapper",
children: [
/* @__PURE__ */ se.jsx(
- km,
+ ip,
{
src: "/ai-icon.svg",
height: 40,
@@ -95228,7 +94925,7 @@ function V9e({
handleSendFollowupMessage: i
}) || d(),
c && /* @__PURE__ */ se.jsx(
- B9e,
+ _9e,
{
index: e,
messages: t,
@@ -95245,7 +94942,7 @@ function V9e({
}
);
}
-function z9e({
+function D9e({
messages: e,
index: t,
customMessageComponent: r
@@ -95280,7 +94977,7 @@ function z9e({
}
) });
}
-function Ktt({
+function Ntt({
messages: e,
handleSendFollowupMessage: t,
isMessageLoading: r,
@@ -95310,7 +95007,7 @@ function Ktt({
justify: "flex-start",
children: [
/* @__PURE__ */ se.jsx(
- $m,
+ Nm,
{
title: "You'll lose your current chat history.",
description: "Are you sure you want to start a new chat?",
@@ -95353,7 +95050,7 @@ function Ktt({
gap: 48,
children: [
e.filter(Boolean).map((h, f) => h.type === "ai" ? /* @__PURE__ */ se.jsx(
- V9e,
+ M9e,
{
index: f,
messages: e,
@@ -95365,7 +95062,7 @@ function Ktt({
},
f
) : /* @__PURE__ */ se.jsx(
- z9e,
+ D9e,
{
index: f,
messages: e,
@@ -95373,12 +95070,12 @@ function Ktt({
},
f
)),
- d && /* @__PURE__ */ se.jsx(sEe, {})
+ d && /* @__PURE__ */ se.jsx(Xxe, {})
]
}
),
/* @__PURE__ */ se.jsx(
- n2,
+ t2,
{
inputRef: null,
userQuery: l,
@@ -95394,7 +95091,7 @@ function Ktt({
}
);
}
-const b3 = ({
+const yH = ({
maxCount: e,
data: t
}) => /* @__PURE__ */ se.jsx(
@@ -95421,7 +95118,7 @@ const b3 = ({
)
}
);
-function Ytt({
+function ktt({
pageHeading: e,
forecast: t,
keywords: r,
@@ -95502,7 +95199,7 @@ function Ytt({
},
children: /* @__PURE__ */ se.jsxs($t, { vertical: !0, gap: 12, children: [
/* @__PURE__ */ se.jsx(
- cS,
+ sS,
{
layout: "vertical",
column: 6,
@@ -95544,7 +95241,7 @@ function Ytt({
}
),
/* @__PURE__ */ se.jsx(
- cS,
+ sS,
{
colon: !1,
size: "small",
@@ -95593,7 +95290,7 @@ function Ytt({
children: [
/* @__PURE__ */ se.jsx(cr.Title, { level: 5, children: "Ad Group 1" }),
/* @__PURE__ */ se.jsxs($t, { gap: 8, children: [
- /* @__PURE__ */ se.jsx(Cj, { type: "circle", percent: d, size: 20 }),
+ /* @__PURE__ */ se.jsx(pj, { type: "circle", percent: d, size: 20 }),
/* @__PURE__ */ se.jsx(cr.Text, { children: "Ad Strength" })
] })
]
@@ -95601,7 +95298,7 @@ function Ytt({
),
/* @__PURE__ */ se.jsx($t, { wrap: !0, gap: 4, children: r.map((w) => /* @__PURE__ */ se.jsx(pw, { children: w }, w)) }),
/* @__PURE__ */ se.jsx(
- I7,
+ P7,
{
style: {
margin: 0
@@ -95655,7 +95352,7 @@ function Ytt({
/* @__PURE__ */ se.jsxs($t, { vertical: !0, gap: 8, children: [
/* @__PURE__ */ se.jsx(cr.Text, { children: "Headlines" }),
/* @__PURE__ */ se.jsx(
- xo,
+ bo,
{
mode: "tags",
maxCount: 15,
@@ -95672,12 +95369,12 @@ function Ytt({
}))
}
),
- /* @__PURE__ */ se.jsx(b3, { maxCount: 15, data: n })
+ /* @__PURE__ */ se.jsx(yH, { maxCount: 15, data: n })
] }),
/* @__PURE__ */ se.jsxs($t, { vertical: !0, gap: 8, children: [
/* @__PURE__ */ se.jsx(cr.Text, { children: "Descriptions" }),
/* @__PURE__ */ se.jsx(
- xo,
+ bo,
{
mode: "tags",
maxCount: 4,
@@ -95694,7 +95391,7 @@ function Ytt({
}))
}
),
- /* @__PURE__ */ se.jsx(b3, { maxCount: 4, data: i })
+ /* @__PURE__ */ se.jsx(yH, { maxCount: 4, data: i })
] })
]
}
@@ -95714,7 +95411,7 @@ function Ytt({
onClick: () => {
C((w) => !w);
},
- icon: y ? /* @__PURE__ */ se.jsx(SH, { size: "1.2rem", fill: "duotone" }) : /* @__PURE__ */ se.jsx(bH, { size: "1.2rem", fill: "duotone" })
+ icon: y ? /* @__PURE__ */ se.jsx(mz, { size: "1.2rem", fill: "duotone" }) : /* @__PURE__ */ se.jsx(yz, { size: "1.2rem", fill: "duotone" })
}
)
}
@@ -95731,7 +95428,7 @@ function Ytt({
children: /* @__PURE__ */ se.jsxs($t, { vertical: !0, children: [
/* @__PURE__ */ se.jsx(cr.Title, { level: 5, children: "Sponsored" }),
/* @__PURE__ */ se.jsxs(cr.Text, { children: [
- /* @__PURE__ */ se.jsx(yH, {}),
+ /* @__PURE__ */ se.jsx(gz, {}),
" ",
g
] }),
@@ -95777,7 +95474,7 @@ function Ytt({
children: [
/* @__PURE__ */ se.jsx(Yr, { onClick: s, children: "Go Back" }),
/* @__PURE__ */ se.jsx(
- $m,
+ Nm,
{
title: "You'll lose your current progress",
description: "Are you sure you want to start from fresh?",
@@ -95800,7 +95497,7 @@ function Ytt({
}
);
}
-function H9e({
+function I9e({
dataSource: e,
columns: t,
onRowClick: r,
@@ -95827,7 +95524,7 @@ function H9e({
] });
};
return /* @__PURE__ */ se.jsx(
- rl,
+ tl,
{
dataSource: e,
columns: a,
@@ -95868,7 +95565,7 @@ function H9e({
}
);
}
-function qtt({
+function $tt({
pageHeading: e,
keywordsData: t,
handleStartFresh: r,
@@ -95973,7 +95670,7 @@ function qtt({
fontSize: "0.8rem"
},
size: "small",
- icon: /* @__PURE__ */ se.jsx(ED, {}),
+ icon: /* @__PURE__ */ se.jsx(xD, {}),
children: i.country
}
),
@@ -95985,7 +95682,7 @@ function qtt({
fontSize: "0.8rem"
},
size: "small",
- icon: /* @__PURE__ */ se.jsx(PD, {}),
+ icon: /* @__PURE__ */ se.jsx(RD, {}),
children: i.language
}
)
@@ -95994,7 +95691,7 @@ function qtt({
}
),
/* @__PURE__ */ se.jsx(
- H9e,
+ I9e,
{
style: {
width: "100%"
@@ -96053,7 +95750,7 @@ function qtt({
},
gap: 12,
children: /* @__PURE__ */ se.jsx(
- $m,
+ Nm,
{
title: "You'll lose your current progress",
description: "Are you sure you want to start from fresh?",
@@ -96069,7 +95766,7 @@ function qtt({
}
),
/* @__PURE__ */ se.jsx(
- n2,
+ t2,
{
inputRef: null,
userQuery: a,
@@ -96086,7 +95783,7 @@ function qtt({
}
);
}
-var Pp = class {
+var Tp = class {
constructor() {
this.allSyncListeners = /* @__PURE__ */ new Map(), this.allAsyncListeners = /* @__PURE__ */ new Map(), this.globalSyncListeners = /* @__PURE__ */ new Set(), this.globalAsyncListeners = /* @__PURE__ */ new Set(), this.asyncFunctionsQueue = [], this.scheduled = !1, this.firedEvents = {};
}
@@ -96166,48 +95863,48 @@ function Tr(e) {
function th(e, t, r) {
return e == null && t == null ? !0 : e != null && t != null && e.length === t.length && e.every((n, i) => r ? r(n, t[i]) : t[i] === n);
}
-function G9e(e) {
+function A9e(e) {
return e.sort((t, r) => t - r);
}
-function hee(e, t) {
+function see(e, t) {
const r = e.indexOf(t);
r >= 0 && (e[r] = e[e.length - 1], e.pop());
}
-function Xi(e, t) {
+function qi(e, t) {
const r = e.indexOf(t);
r >= 0 && e.splice(r, 1);
}
-function W9e(e, t) {
+function O9e(e, t) {
for (let r = 0; r < t.length; r++)
- hee(e, t[r]);
+ see(e, t[r]);
}
-function j9e(e, t) {
+function L9e(e, t) {
for (let r = 0; r < t.length; r++)
- Xi(e, t[r]);
+ qi(e, t[r]);
}
-function bb(e, t, r) {
+function Cb(e, t, r) {
e.splice(r, 0, t);
}
-function fee(e, t, r) {
- j9e(e, t), t.slice().reverse().forEach((n) => bb(e, n, r));
+function lee(e, t, r) {
+ L9e(e, t), t.slice().reverse().forEach((n) => Cb(e, n, r));
}
function yd(e, t) {
return e.indexOf(t) > -1;
}
-function U9e(e) {
+function F9e(e) {
return [].concat.apply([], e);
}
-function w3(e, t) {
+function CH(e, t) {
t == null || e == null || t.forEach((r) => e.push(r));
}
-var pee = "__ag_Grid_Stop_Propagation", K9e = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], rP = {};
+var cee = "__ag_Grid_Stop_Propagation", N9e = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], rP = {};
function jf(e) {
- e[pee] = !0;
+ e[cee] = !0;
}
function Lc(e) {
- return e[pee] === !0;
+ return e[cee] === !0;
}
-var gee = /* @__PURE__ */ (() => {
+var uee = /* @__PURE__ */ (() => {
const e = {
select: "input",
change: "input",
@@ -96224,7 +95921,7 @@ var gee = /* @__PURE__ */ (() => {
return r = "on" + r, rP[r] = r in n;
};
})();
-function oD(e, t, r) {
+function iD(e, t, r) {
let n = t;
for (; n; ) {
const i = e.getDomData(n, r);
@@ -96234,22 +95931,22 @@ function oD(e, t, r) {
}
return null;
}
-function Y9e(e, t) {
- return !t || !e ? !1 : X9e(t).indexOf(e) >= 0;
+function k9e(e, t) {
+ return !t || !e ? !1 : B9e(t).indexOf(e) >= 0;
}
-function q9e(e) {
+function $9e(e) {
const t = [];
let r = e.target;
for (; r; )
t.push(r), r = r.parentElement;
return t;
}
-function X9e(e) {
+function B9e(e) {
const t = e;
- return t.path ? t.path : t.composedPath ? t.composedPath() : q9e(t);
+ return t.path ? t.path : t.composedPath ? t.composedPath() : $9e(t);
}
-function Z9e(e, t, r, n) {
- const o = yd(K9e, r) ? { passive: !0 } : void 0;
+function V9e(e, t, r, n) {
+ const o = yd(N9e, r) ? { passive: !0 } : void 0;
e && e.addEventListener && e.addEventListener(t, r, n, o);
}
var De = class {
@@ -96286,7 +95983,7 @@ var De = class {
// eventService to have the best typing at the expense of BeanStub local events
/** Add a local event listener against this BeanStub */
addEventListener(e, t) {
- this.localEventService || (this.localEventService = new Pp()), this.localEventService.addEventListener(e, t);
+ this.localEventService || (this.localEventService = new Tp()), this.localEventService.addEventListener(e, t);
}
/** Remove a local event listener from this BeanStub */
removeEventListener(e, t) {
@@ -96315,7 +96012,7 @@ var De = class {
_setupListener(e, t, r) {
if (this.destroyed)
return () => null;
- e instanceof HTMLElement ? Z9e(this.getFrameworkOverrides(), e, t, r) : e.addEventListener(t, r);
+ e instanceof HTMLElement ? V9e(this.getFrameworkOverrides(), e, t, r) : e.addEventListener(t, r);
const n = () => (e.removeEventListener(t, r), null);
return this.destroyFunctions.push(n), () => (n(), this.destroyFunctions = this.destroyFunctions.filter((i) => i !== n), null);
}
@@ -96388,7 +96085,7 @@ var De = class {
destroyBeans(e, t) {
return (t || this.stubContext).destroyBeans(e);
}
-}, BO = class {
+}, kO = class {
constructor(e) {
this.frameworkOverrides = e, this.wrappedListeners = /* @__PURE__ */ new Map(), this.wrappedGlobalListeners = /* @__PURE__ */ new Map();
}
@@ -96417,13 +96114,13 @@ function Cd(e) {
function Ye(e, t = !1) {
return e != null && (e !== "" || t);
}
-function Rr(e) {
+function Er(e) {
return !Ye(e);
}
-function gi(e) {
+function pi(e) {
return e == null || e.length === 0;
}
-function aD(e) {
+function oD(e) {
return e != null && typeof e.toString == "function" ? e.toString() : null;
}
function Sd(e) {
@@ -96436,18 +96133,18 @@ function Sd(e) {
const t = parseInt(e, 10);
return isNaN(t) ? void 0 : t;
}
-function sD(e) {
+function aD(e) {
if (e !== void 0)
- return e === null || e === "" ? !1 : lD(e);
+ return e === null || e === "" ? !1 : sD(e);
}
-function lD(e) {
+function sD(e) {
return typeof e == "boolean" ? e : typeof e == "string" ? e.toUpperCase() === "TRUE" || e == "" : !1;
}
-function wb(e, t) {
+function Sb(e, t) {
const r = e ? JSON.stringify(e) : null, n = t ? JSON.stringify(t) : null;
return r === n;
}
-function Q9e(e, t, r = !1) {
+function H9e(e, t, r = !1) {
const n = e == null, i = t == null;
if (e && e.toNumber && (e = e.toNumber()), t && t.toNumber && (t = t.toNumber()), n && i)
return 0;
@@ -96466,14 +96163,14 @@ function Q9e(e, t, r = !1) {
return o(e, t);
}
}
-function $C(e) {
+function NC(e) {
if (e instanceof Set || e instanceof Map) {
const t = [];
return e.forEach((r) => t.push(r)), t;
}
return Object.values(e);
}
-var VO = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
+var $O = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
function Ua(e, t) {
if (e != null) {
if (Array.isArray(e)) {
@@ -96485,28 +96182,28 @@ function Ua(e, t) {
t(r, n);
}
}
-function vee(e) {
+function dee(e) {
const t = {}, r = Object.keys(e);
for (let n = 0; n < r.length; n++) {
- if (VO.has(r[n]))
+ if ($O.has(r[n]))
continue;
const i = r[n], o = e[i];
t[i] = o;
}
return t;
}
-function cD(e, t) {
+function lD(e, t) {
if (!e)
return;
const r = e, n = {};
return Object.keys(r).forEach((i) => {
- if (t && t.indexOf(i) >= 0 || VO.has(i))
+ if (t && t.indexOf(i) >= 0 || $O.has(i))
return;
const o = r[i];
- dD(o) && o.constructor === Object ? n[i] = cD(o) : n[i] = o;
+ uD(o) && o.constructor === Object ? n[i] = lD(o) : n[i] = o;
}), n;
}
-function uD(e) {
+function cD(e) {
if (!e)
return [];
const t = Object;
@@ -96519,13 +96216,13 @@ function uD(e) {
}
function va(e, t, r = !0, n = !1) {
Ye(t) && Ua(t, (i, o) => {
- if (VO.has(i))
+ if ($O.has(i))
return;
let a = e[i];
- a !== o && (n && a == null && o != null && typeof o == "object" && o.constructor === Object && (a = {}, e[i] = a), dD(o) && dD(a) && !Array.isArray(a) ? va(a, o, r, n) : (r || o !== void 0) && (e[i] = o));
+ a !== o && (n && a == null && o != null && typeof o == "object" && o.constructor === Object && (a = {}, e[i] = a), uD(o) && uD(a) && !Array.isArray(a) ? va(a, o, r, n) : (r || o !== void 0) && (e[i] = o));
});
}
-function hv(e, t, r) {
+function fv(e, t, r) {
if (!t || !e)
return;
if (!r)
@@ -96539,22 +96236,22 @@ function hv(e, t, r) {
}
return i;
}
-function dD(e) {
+function uD(e) {
return typeof e == "object" && e !== null;
}
-var J9e = {
+var z9e = {
resizable: !0,
sortable: !0
-}, e7e = 0;
-function mee() {
- return e7e++;
+}, G9e = 0;
+function hee() {
+ return G9e++;
}
function qc(e) {
- return e instanceof Cee;
+ return e instanceof pee;
}
-var yee = 20, Cee = class extends De {
+var fee = 20, pee = class extends De {
constructor(e, t, r, n) {
- super(), this.isColumn = !0, this.instanceId = mee(), this.autoHeaderHeight = null, this.moving = !1, this.menuVisible = !1, this.lastLeftPinned = !1, this.firstRightPinned = !1, this.filterActive = !1, this.columnEventService = new Pp(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.colDef = e, this.userProvidedColDef = t, this.colId = r, this.primary = n, this.setState(e);
+ super(), this.isColumn = !0, this.instanceId = hee(), this.autoHeaderHeight = null, this.moving = !1, this.menuVisible = !1, this.lastLeftPinned = !1, this.firstRightPinned = !1, this.filterActive = !1, this.columnEventService = new Tp(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.colDef = e, this.userProvidedColDef = t, this.colId = r, this.primary = n, this.setState(e);
}
wireBeans(e) {
this.columnHoverService = e.columnHoverService;
@@ -96600,7 +96297,7 @@ var yee = 20, Cee = class extends De {
}
initMinAndMaxWidths() {
const e = this.colDef;
- this.minWidth = e.minWidth ?? yee, this.maxWidth = e.maxWidth ?? Number.MAX_SAFE_INTEGER;
+ this.minWidth = e.minWidth ?? fee, this.maxWidth = e.maxWidth ?? Number.MAX_SAFE_INTEGER;
}
initTooltip() {
this.tooltipEnabled = Ye(this.colDef.tooltipField) || Ye(this.colDef.tooltipValueGetter) || Ye(this.colDef.tooltipComponent);
@@ -96618,7 +96315,7 @@ var yee = 20, Cee = class extends De {
return !1;
}
isRowGroupDisplayed(e) {
- if (Rr(this.colDef) || Rr(this.colDef.showRowGroup))
+ if (Er(this.colDef) || Er(this.colDef.showRowGroup))
return !1;
const t = this.colDef.showRowGroup === !0, r = this.colDef.showRowGroup === e;
return t || r;
@@ -96640,7 +96337,7 @@ var yee = 20, Cee = class extends De {
}
addEventListener(e, t) {
var n;
- this.frameworkOverrides.shouldWrapOutgoing && !this.frameworkEventListenerService && (this.columnEventService.setFrameworkOverrides(this.frameworkOverrides), this.frameworkEventListenerService = new BO(this.frameworkOverrides));
+ this.frameworkOverrides.shouldWrapOutgoing && !this.frameworkEventListenerService && (this.columnEventService.setFrameworkOverrides(this.frameworkOverrides), this.frameworkEventListenerService = new kO(this.frameworkOverrides));
const r = ((n = this.frameworkEventListenerService) == null ? void 0 : n.wrap(t)) ?? t;
this.columnEventService.addEventListener(e, r);
}
@@ -96695,7 +96392,7 @@ var yee = 20, Cee = class extends De {
}
/** Get value from ColDef or default if it exists. */
getColDefValue(e) {
- return this.colDef[e] ?? J9e[e];
+ return this.colDef[e] ?? z9e[e];
}
isColumnFunc(e, t) {
if (typeof t == "boolean")
@@ -96739,7 +96436,7 @@ var yee = 20, Cee = class extends De {
}
/** @deprecated v32 use col.getSort() === undefined */
isSortNone() {
- return Rr(this.sort);
+ return Er(this.sort);
}
/** @deprecated v32 use col.getSort() !== undefined */
isSorting() {
@@ -96878,13 +96575,13 @@ var yee = 20, Cee = class extends De {
});
}
getColSpan(e) {
- if (Rr(this.colDef.colSpan))
+ if (Er(this.colDef.colSpan))
return 1;
const t = this.createBaseColDefParams(e), r = this.colDef.colSpan(t);
return Math.max(r, 1);
}
getRowSpan(e) {
- if (Rr(this.colDef.rowSpan))
+ if (Er(this.colDef.rowSpan))
return 1;
const t = this.createBaseColDefParams(e), r = this.colDef.rowSpan(t);
return Math.max(r, 1);
@@ -96955,12 +96652,12 @@ var yee = 20, Cee = class extends De {
});
}
};
-function qi(e) {
- return e instanceof BC;
+function Yi(e) {
+ return e instanceof kC;
}
-var BC = class extends De {
+var kC = class extends De {
constructor(e, t, r, n) {
- super(), this.isColumn = !1, this.expandable = !1, this.instanceId = mee(), this.expandableListenerRemoveCallback = null, this.colGroupDef = e, this.groupId = t, this.expanded = !!e && !!e.openByDefault, this.padding = r, this.level = n;
+ super(), this.isColumn = !1, this.expandable = !1, this.instanceId = hee(), this.expandableListenerRemoveCallback = null, this.colGroupDef = e, this.groupId = t, this.expanded = !!e && !!e.openByDefault, this.padding = r, this.level = n;
}
destroy() {
this.expandableListenerRemoveCallback && this.reset(null, void 0), super.destroy();
@@ -97016,7 +96713,7 @@ var BC = class extends De {
}
addLeafColumns(e) {
this.children && this.children.forEach((t) => {
- qc(t) ? e.push(t) : qi(t) && t.addLeafColumns(e);
+ qc(t) ? e.push(t) : Yi(t) && t.addLeafColumns(e);
});
}
getColumnGroupShow() {
@@ -97051,7 +96748,7 @@ var BC = class extends De {
findChildrenRemovingPadding() {
const e = [], t = (r) => {
r.forEach((n) => {
- qi(n) && n.isPadding() ? t(n.children) : e.push(n);
+ Yi(n) && n.isPadding() ? t(n.children) : e.push(n);
});
};
return t(this.children), e;
@@ -97059,7 +96756,7 @@ var BC = class extends De {
onColumnVisibilityChanged() {
this.setExpandable();
}
-}, t7e = {
+}, W9e = {
numericColumn: {
headerClass: "ag-right-aligned-header",
cellClass: "ag-right-aligned-cell"
@@ -97068,36 +96765,36 @@ var BC = class extends De {
headerClass: "ag-right-aligned-header",
cellClass: "ag-right-aligned-cell"
}
-}, x3 = {};
-function zO(e, t) {
- x3[t] || (e(), x3[t] = !0);
+}, SH = {};
+function BO(e, t) {
+ SH[t] || (e(), SH[t] = !0);
}
function qa(e, ...t) {
console.log("AG Grid: " + e, ...t);
}
function Be(e, ...t) {
- zO(() => console.warn("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
+ BO(() => console.warn("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
}
function Br(e, ...t) {
- zO(() => console.error("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
+ BO(() => console.error("AG Grid: " + e, ...t), e + (t == null ? void 0 : t.join("")));
}
-function HO(e) {
+function VO(e) {
return !!(e && e.constructor && e.call && e.apply);
}
-function r7e(e) {
- n7e(e, 400);
+function j9e(e) {
+ U9e(e, 400);
}
var nP = [], iP = !1;
-function E3(e) {
+function bH(e) {
nP.push(e), !iP && (iP = !0, window.setTimeout(() => {
const t = nP.slice();
nP.length = 0, iP = !1, t.forEach((r) => r());
}, 0));
}
-function n7e(e, t = 0) {
+function U9e(e, t = 0) {
e.length > 0 && window.setTimeout(() => e.forEach((r) => r()), t);
}
-function Zi(e, t) {
+function Xi(e, t) {
let r;
return function(...n) {
const i = this;
@@ -97106,14 +96803,14 @@ function Zi(e, t) {
}, t);
};
}
-function R3(e, t) {
+function wH(e, t) {
let r = 0;
return function(...n) {
const i = this, o = (/* @__PURE__ */ new Date()).getTime();
o - r < t || (r = o, e.apply(i, n));
};
}
-function i7e(e, t, r = 100, n) {
+function K9e(e, t, r = 100, n) {
const i = (/* @__PURE__ */ new Date()).getTime();
let o = null, a = !1;
const s = () => {
@@ -97122,10 +96819,10 @@ function i7e(e, t, r = 100, n) {
};
s(), a || (o = window.setInterval(s, 10));
}
-function o7e(...e) {
+function Y9e(...e) {
return (t) => e.reduce((r, n) => n(r), t);
}
-var a7e = class {
+var q9e = class {
constructor() {
this.existingKeys = {};
}
@@ -97134,7 +96831,7 @@ var a7e = class {
this.existingKeys[e[t]] = !0;
}
getUniqueKey(e, t) {
- e = aD(e);
+ e = oD(e);
let r = 0;
for (; ; ) {
let n;
@@ -97143,17 +96840,17 @@ var a7e = class {
r++;
}
}
-}, py = "ag-Grid-AutoColumn";
-function GO(e) {
+}, hy = "ag-Grid-AutoColumn";
+function HO(e) {
const t = [], r = (n) => {
for (let i = 0; i < n.length; i++) {
const o = n[i];
- qc(o) ? t.push(o) : qi(o) && r(o.getChildren());
+ qc(o) ? t.push(o) : Yi(o) && r(o.getChildren());
}
};
return r(e), t;
}
-function wl(e) {
+function bl(e) {
return e.reduce((t, r) => t + r.getActualWidth(), 0);
}
function af(e, t, r) {
@@ -97168,14 +96865,14 @@ function af(e, t, r) {
const i = Object.values(n).filter((o) => o != null);
e.destroyBeans(i);
}
-function P3(e) {
- return e.getId().startsWith(py);
+function xH(e) {
+ return e.getId().startsWith(hy);
}
-function VC(e) {
+function $C(e) {
let t = [];
return e instanceof Array ? e.some((n) => typeof n != "string") ? Be("if colDef.type is supplied an array it should be of type 'string[]'") : t = e : typeof e == "string" ? t = e.split(",") : Be("colDef.type should be of type 'string' | 'string[]'"), t;
}
-var s7e = class extends De {
+var X9e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnFactory";
}
@@ -97183,7 +96880,7 @@ var s7e = class extends De {
this.dataTypeService = e.dataTypeService;
}
createColumnTree(e, t, r, n) {
- const i = new a7e(), { existingCols: o, existingGroups: a, existingColKeys: s } = this.extractExistingTreeData(r);
+ const i = new q9e(), { existingCols: o, existingGroups: a, existingColKeys: s } = this.extractExistingTreeData(r);
i.addExistingKeys(s);
const l = this.recursivelyCreateColumns(
e,
@@ -97195,7 +96892,7 @@ var s7e = class extends De {
n
), c = this.findMaxDept(l, 0), u = this.balanceColumnTree(l, 0, c, i);
return Kl(null, u, (h, f) => {
- qi(h) && h.setupExpandable(), h.setOriginalParent(f);
+ Yi(h) && h.setupExpandable(), h.setOriginalParent(f);
}), {
columnTree: u,
treeDept: c
@@ -97204,7 +96901,7 @@ var s7e = class extends De {
extractExistingTreeData(e) {
const t = [], r = [], n = [];
return e && Kl(null, e, (i) => {
- if (qi(i)) {
+ if (Yi(i)) {
const o = i;
r.push(o);
} else {
@@ -97218,7 +96915,7 @@ var s7e = class extends De {
return e.forEach((i) => {
let o = i;
for (let a = n - 1; a >= 0; a--) {
- const s = new BC(null, `FAKE_PATH_${i.getId()}}_${a}`, !0, a);
+ const s = new kC(null, `FAKE_PATH_${i.getId()}}_${a}`, !0, a);
this.createBean(s), s.setChildren([o]), o.setOriginalParent(s), o = s;
}
n === 0 && i.setOriginalParent(null), r.push(o);
@@ -97226,7 +96923,7 @@ var s7e = class extends De {
}
findDepth(e) {
let t = 0, r = e;
- for (; r && r[0] && qi(r[0]); )
+ for (; r && r[0] && Yi(r[0]); )
t++, r = r[0].getChildren();
return t;
}
@@ -97234,7 +96931,7 @@ var s7e = class extends De {
const i = [];
for (let o = 0; o < e.length; o++) {
const a = e[o];
- if (qi(a)) {
+ if (Yi(a)) {
const s = a, l = this.balanceColumnTree(
s.getChildren(),
t + 1,
@@ -97245,11 +96942,11 @@ var s7e = class extends De {
} else {
let s, l;
for (let c = r - 1; c >= t; c--) {
- const u = n.getUniqueKey(null, null), d = this.createMergedColGroupDef(null), h = new BC(d, u, !0, t);
+ const u = n.getUniqueKey(null, null), d = this.createMergedColGroupDef(null), h = new kC(d, u, !0, t);
this.createBean(h), l && l.setChildren([h]), l = h, s || (s = l);
}
if (s && l)
- if (i.push(s), e.some((u) => qi(u))) {
+ if (i.push(s), e.some((u) => Yi(u))) {
l.setChildren([a]);
continue;
} else {
@@ -97265,7 +96962,7 @@ var s7e = class extends De {
let r = t;
for (let n = 0; n < e.length; n++) {
const i = e[n];
- if (qi(i)) {
+ if (Yi(i)) {
const o = i, a = this.findMaxDept(o.getChildren(), t + 1);
r < a && (r = a);
}
@@ -97297,7 +96994,7 @@ var s7e = class extends De {
return s;
}
createColumnGroup(e, t, r, n, i, o, a) {
- const s = this.createMergedColGroupDef(t), l = i.getUniqueKey(s.groupId || null, null), c = new BC(s, l, !1, r);
+ const s = this.createMergedColGroupDef(t), l = i.getUniqueKey(s.groupId || null, null), c = new kC(s, l, !1, r);
this.createBean(c);
const u = this.findExistingGroup(t, o);
u && o.splice(u.idx, 1);
@@ -97328,7 +97025,7 @@ var s7e = class extends De {
a.setColDef(l, t, i), this.applyColumnState(a, l, i);
} else {
const l = n.getUniqueKey(t.colId, t.field), c = this.addColumnDefaultAndTypes(t, l);
- a = new Cee(c, t, l, e), this.createBean(a);
+ a = new pee(c, t, l, e), this.createBean(a);
}
return (s = this.dataTypeService) == null || s.addColumnListeners(a), a;
}
@@ -97346,7 +97043,7 @@ var s7e = class extends De {
t.sort !== void 0 && (t.sort == "asc" || t.sort == "desc" ? e.setSort(t.sort, r) : e.setSort(void 0, r));
const o = Sd(t.sortIndex);
o !== void 0 && e.setSortIndex(o);
- const a = sD(t.hide);
+ const a = aD(t.hide);
a !== void 0 && e.setVisible(!a, r), t.pinned !== void 0 && e.setPinned(t.pinned);
}
findExistingColumn(e, t) {
@@ -97398,12 +97095,12 @@ var s7e = class extends De {
t,
r
), i = t.type ?? n ?? e.type;
- return e.type = i, i ? VC(i) : void 0;
+ return e.type = i, i ? $C(i) : void 0;
}
assignColumnTypes(e, t) {
if (!e.length)
return;
- const r = Object.assign({}, t7e), n = this.gos.get("columnTypes") || {};
+ const r = Object.assign({}, W9e), n = this.gos.get("columnTypes") || {};
Ua(n, (i, o) => {
i in r ? Be(`the column type '${i}' is a default column type and cannot be overridden.`) : (o.type && Be(
"Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type."
@@ -97422,10 +97119,10 @@ function Kl(e, t, r) {
if (t)
for (let n = 0; n < t.length; n++) {
const i = t[n];
- qi(i) && Kl(i, i.getChildren(), r), r(i, e);
+ Yi(i) && Kl(i, i.getChildren(), r), r(i, e);
}
}
-var l7e = class extends De {
+var Z9e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnModel", this.pivotMode = !1, this.autoHeightActiveAtLeastOnce = !1, this.ready = !1, this.changeEventsDispatching = !1, this.shouldQueueResizeOperations = !1, this.resizeOperationQueue = [];
}
@@ -97455,7 +97152,7 @@ var l7e = class extends De {
this.valueCache.expire();
const n = this.colDefCols && this.colDefCols.list, i = this.colDefCols && this.colDefCols.tree, o = this.columnFactory.createColumnTree(this.colDefs, !0, i, t);
af(this.context, (d = this.colDefCols) == null ? void 0 : d.tree, o.columnTree);
- const a = o.columnTree, s = o.treeDept, l = GO(a), c = {};
+ const a = o.columnTree, s = o.treeDept, l = HO(a), c = {};
l.forEach((h) => c[h.getId()] = h), this.colDefCols = { tree: a, treeDepth: s, list: l, map: c }, this.funcColsService.extractCols(t, n), this.ready = !0, this.refreshCols(), e && !this.showingPivotResult && !this.gos.get("maintainColumnOrder") && this.orderColsLikeColDefCols(), this.visibleColsService.refresh(t), this.columnViewportService.checkViewportColumns(), this.eventDispatcher.everythingChanged(t), r && (this.changeEventsDispatching = !0, r(), this.changeEventsDispatching = !1), this.eventDispatcher.newColumnsLoaded(t), t === "gridInitializing" && this.columnSizeService.applyAutosizeStrategy();
}
// called from: buildAutoGroupColumns (events 'groupDisplayType', 'treeData', 'treeDataDisplayType', 'groupHideOpenParents')
@@ -97496,7 +97193,7 @@ var l7e = class extends De {
getColsToShow() {
const e = this.isPivotMode() && !this.isShowingPivotResult(), t = this.funcColsService.getValueColumns();
return this.cols.list.filter((n) => {
- const i = P3(n);
+ const i = xH(n);
if (e) {
const o = t && yd(t, n);
return i || o;
@@ -97505,7 +97202,7 @@ var l7e = class extends De {
});
}
addAutoCols() {
- this.autoCols != null && (this.cols.list = this.autoCols.list.concat(this.cols.list), this.cols.tree = this.autoCols.tree.concat(this.cols.tree), c7e(this.cols));
+ this.autoCols != null && (this.cols.list = this.autoCols.list.concat(this.cols.list), this.cols.tree = this.autoCols.tree.concat(this.cols.tree), Q9e(this.cols));
}
createAutoCols() {
var p, v;
@@ -97516,7 +97213,7 @@ var l7e = class extends De {
o();
return;
}
- const a = this.autoColService.createAutoCols(r) ?? [], s = u7e(a, ((p = this.autoCols) == null ? void 0 : p.list) || null), l = this.cols.treeDepth, u = (this.autoCols ? this.autoCols.treeDepth : -1) == l;
+ const a = this.autoColService.createAutoCols(r) ?? [], s = J9e(a, ((p = this.autoCols) == null ? void 0 : p.list) || null), l = this.cols.treeDepth, u = (this.autoCols ? this.autoCols.treeDepth : -1) == l;
if (s && u)
return;
o();
@@ -97530,7 +97227,7 @@ var l7e = class extends De {
const f = (g) => {
if (!g)
return null;
- const m = g.filter((y) => !P3(y));
+ const m = g.filter((y) => !xH(y));
return [...a, ...m];
};
this.lastOrder = f(this.lastOrder), this.lastPivotOrder = f(this.lastPivotOrder);
@@ -97551,7 +97248,7 @@ var l7e = class extends De {
);
}
setColsPinned(e, t, r) {
- if (!this.cols || gi(e))
+ if (!this.cols || pi(e))
return;
if (this.gos.isDomLayout("print")) {
Be("Changing the column pinning status is not allowed with domLayout='print'");
@@ -97571,13 +97268,13 @@ var l7e = class extends De {
// called by headerRenderer - when a header is opened or closed
setColumnGroupOpened(e, t, r) {
let n;
- qi(e) ? n = e.getId() : n = e || "", this.columnGroupStateService.setColumnGroupState([{ groupId: n, open: t }], r);
+ Yi(e) ? n = e.getId() : n = e || "", this.columnGroupStateService.setColumnGroupState([{ groupId: n, open: t }], r);
}
getProvidedColGroup(e) {
var r;
let t = null;
return Kl(null, (r = this.cols) == null ? void 0 : r.tree, (n) => {
- qi(n) && n.getId() === e && (t = n);
+ Yi(n) && n.getId() === e && (t = n);
}), t;
}
isColGroupLocked(e) {
@@ -97620,7 +97317,7 @@ var l7e = class extends De {
return;
}
const d = u.map((f) => s.indexOf(f)), h = Math.max(...d);
- bb(s, l, h + 1);
+ Cb(s, l, h + 1);
}), this.cols.list = s;
}
orderColsLikeColDefCols() {
@@ -97645,7 +97342,7 @@ var l7e = class extends De {
const o = i.getColId();
if (r[o] != null)
return;
- o.startsWith(py) ? bb(t, i, n++) : t.push(i);
+ o.startsWith(hy) ? Cb(t, i, n++) : t.push(i);
}), t = this.columnMoveService.placeLockedColumns(t), !this.columnMoveService.doesMovePassMarryChildren(t)) {
Be(
"Applying column order broke a group where columns should be married together. Applying new order has been discarded."
@@ -97683,7 +97380,7 @@ var l7e = class extends De {
}
moveInCols(e, t, r) {
var n;
- fee((n = this.cols) == null ? void 0 : n.list, e, t), this.visibleColsService.refresh(r);
+ lee((n = this.cols) == null ? void 0 : n.list, e, t), this.visibleColsService.refresh(r);
}
positionLockedCols() {
this.cols.list = this.columnMoveService.placeLockedColumns(this.cols.list);
@@ -97743,7 +97440,7 @@ var l7e = class extends De {
// + clientSideRowModel
isPivotActive() {
const e = this.funcColsService.getPivotColumns();
- return this.pivotMode && !gi(e);
+ return this.pivotMode && !pi(e);
}
// called when dataTypes change
recreateColumnDefs(e) {
@@ -97802,12 +97499,12 @@ var l7e = class extends De {
if (typeof e == "string" && r[e])
return r[e];
for (let i = 0; i < n.length; i++)
- if (T3(n[i], e))
+ if (EH(n[i], e))
return n[i];
return this.getAutoCol(e);
}
getAutoCol(e) {
- return this.autoCols == null ? null : this.autoCols.list.find((t) => T3(t, e)) || null;
+ return this.autoCols == null ? null : this.autoCols.list.find((t) => EH(t, e)) || null;
}
getAutoCols() {
var e;
@@ -97858,17 +97555,17 @@ var l7e = class extends De {
function sf(e) {
return e === "gridOptionsUpdated" ? "gridOptionsChanged" : e;
}
-function c7e(e) {
+function Q9e(e) {
e.map = {}, e.list.forEach((t) => e.map[t.getId()] = t);
}
-function T3(e, t) {
+function EH(e, t) {
const r = e === t, n = e.getColDef() === t, i = e.getColId() == t;
return r || n || i;
}
-function u7e(e, t) {
+function J9e(e, t) {
return th(e, t, (r, n) => r.getColId() === n.getColId());
}
-var d7e = class extends De {
+var e7e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnAutosizeService", this.timesDelayed = 0;
}
@@ -97943,7 +97640,7 @@ var d7e = class extends De {
const n = e.getMaxWidth();
return e.isGreaterThanMax(t) && (t = n), t;
}
-}, h7e = class extends De {
+}, t7e = class extends De {
constructor() {
super(...arguments), this.beanName = "funcColsService", this.rowGroupCols = [], this.valueCols = [], this.pivotCols = [];
}
@@ -97953,11 +97650,11 @@ var d7e = class extends De {
getModifyColumnsNoEventsCallbacks() {
return {
addGroupCol: (e) => this.rowGroupCols.push(e),
- removeGroupCol: (e) => Xi(this.rowGroupCols, e),
+ removeGroupCol: (e) => qi(this.rowGroupCols, e),
addPivotCol: (e) => this.pivotCols.push(e),
- removePivotCol: (e) => Xi(this.pivotCols, e),
+ removePivotCol: (e) => qi(this.pivotCols, e),
addValueCol: (e) => this.valueCols.push(e),
- removeValueCol: (e) => Xi(this.valueCols, e)
+ removeValueCol: (e) => qi(this.valueCols, e)
};
}
getSourceColumnsForGroupColumn(e) {
@@ -97988,7 +97685,7 @@ var d7e = class extends De {
return this.rowGroupCols ? this.rowGroupCols : [];
}
isRowGroupEmpty() {
- return gi(this.rowGroupCols);
+ return pi(this.rowGroupCols);
}
setColumnAggFunc(e, t, r) {
if (!e)
@@ -98114,7 +97811,7 @@ var d7e = class extends De {
}
setColList(e, t, r, n, i, o, a) {
const s = this.columnModel.getCols();
- if (gi(s))
+ if (pi(s))
return;
const l = /* @__PURE__ */ new Map();
t.forEach((u, d) => l.set(u, d)), t.length = 0, Ye(e) && e.forEach((u) => {
@@ -98133,7 +97830,7 @@ var d7e = class extends De {
}), i && this.columnModel.refreshCols(), this.visibleColsService.refresh(a), this.eventDispatcher.columnChanged(r, [...l.keys()], a);
}
updateColList(e, t, r, n, i, o, a) {
- if (!e || gi(e))
+ if (!e || pi(e))
return;
let s = !1;
e.forEach((l) => {
@@ -98148,7 +97845,7 @@ var d7e = class extends De {
} else {
if (t.indexOf(c) < 0)
return;
- Xi(t, c);
+ qi(t, c);
}
i(c), s = !0;
}
@@ -98206,7 +97903,7 @@ var d7e = class extends De {
extractColsCommon(e = [], t = [], r, n, i, o, a) {
const s = [], l = [];
(this.columnModel.getColDefCols() || []).forEach((h) => {
- const f = e.indexOf(h) < 0, p = h.getColDef(), v = sD(o(p)), g = sD(a(p)), m = Sd(n(p)), y = Sd(i(p));
+ const f = e.indexOf(h) < 0, p = h.getColDef(), v = aD(o(p)), g = aD(a(p)), m = Sd(n(p)), y = Sd(i(p));
let C;
v !== void 0 ? C = v : m !== void 0 ? m === null ? C = !1 : C = m >= 0 : f ? g !== void 0 ? C = g : y !== void 0 ? C = y != null && y >= 0 : C = !1 : C = t.indexOf(h) >= 0, C && ((f ? m != null || y != null : m != null) ? s.push(h) : l.push(h));
});
@@ -98248,9 +97945,9 @@ var d7e = class extends De {
let y = 1e3, C = !1, b = 0;
const w = (x) => {
const E = g[x];
- for (let P = b; P < E; P++) {
- const R = v[P];
- f.has(R) && (i[R][l] = y++, f.delete(R));
+ for (let R = b; R < E; R++) {
+ const P = v[R];
+ f.has(P) && (i[P][l] = y++, f.delete(P));
}
b = E;
};
@@ -98259,8 +97956,8 @@ var d7e = class extends De {
if (h.has(E))
w(E), i[E][l] = y++;
else {
- const P = x.getColDef();
- (P[l] === null || P[l] === void 0 && P[c] == null) && (C || (P[a] || P[a] === void 0 && P[s] ? w(E) : (f.forEach((_) => {
+ const R = x.getColDef();
+ (R[l] === null || R[l] === void 0 && R[c] == null) && (C || (R[a] || R[a] === void 0 && R[s] ? w(E) : (f.forEach((_) => {
i[_][l] = y + g[_];
}), y += v.length, C = !0)), r[E] || (r[E] = { colId: E }), r[E][l] = y++);
}
@@ -98282,7 +97979,7 @@ var d7e = class extends De {
"initialPivotIndex"
), Object.values(r);
}
-}, f7e = class extends De {
+}, r7e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnApplyStateService";
}
@@ -98291,7 +97988,7 @@ var d7e = class extends De {
}
applyColumnState(e, t) {
const r = this.columnModel.getColDefCols() || [];
- if (gi(r))
+ if (pi(r))
return !1;
if (e && e.state && !e.state.forEach)
return Be(
@@ -98303,13 +98000,13 @@ var d7e = class extends De {
const m = this.funcColsService.getRowGroupColumns().slice(), y = this.funcColsService.getPivotColumns().slice();
s.forEach((x) => {
const E = x.colId || "";
- if (E.startsWith(py)) {
+ if (E.startsWith(hy)) {
p.push(x), v.push(x);
return;
}
- const R = c(E);
- R ? (this.syncColumnWithStateItem(
- R,
+ const P = c(E);
+ P ? (this.syncColumnWithStateItem(
+ P,
x,
e.defaultState,
h,
@@ -98317,7 +98014,7 @@ var d7e = class extends De {
!1,
t,
n
- ), Xi(d, R)) : (v.push(x), g += 1);
+ ), qi(d, P)) : (v.push(x), g += 1);
});
const C = (x) => this.syncColumnWithStateItem(
x,
@@ -98330,12 +98027,12 @@ var d7e = class extends De {
n
);
d.forEach(C), this.funcColsService.sortRowGroupColumns(
- _3.bind(this, h, m)
- ), this.funcColsService.sortPivotColumns(_3.bind(this, f, y)), this.columnModel.refreshCols();
+ RH.bind(this, h, m)
+ ), this.funcColsService.sortPivotColumns(RH.bind(this, f, y)), this.columnModel.refreshCols();
const w = (this.columnModel.getAutoCols() || []).slice();
return p.forEach((x) => {
const E = this.columnModel.getAutoCol(x.colId);
- Xi(w, E), this.syncColumnWithStateItem(
+ qi(w, E), this.syncColumnWithStateItem(
E,
x,
e.defaultState,
@@ -98365,14 +98062,14 @@ var d7e = class extends De {
}
resetColumnState(e) {
const t = this.columnModel.getColDefCols();
- if (gi(t))
+ if (pi(t))
return;
- const r = this.columnModel.getColDefColTree(), n = GO(r), i = [];
+ const r = this.columnModel.getColDefColTree(), n = HO(r), i = [];
let o = 1e3, a = 1e3, s = [];
const l = this.columnModel.getAutoCols();
l && (s = s.concat(l)), n && (s = s.concat(n)), s.forEach((c) => {
const u = this.getColumnStateFromColDef(c);
- Rr(u.rowGroupIndex) && u.rowGroup && (u.rowGroupIndex = o++), Rr(u.pivotIndex) && u.pivot && (u.pivotIndex = a++), i.push(u);
+ Er(u.rowGroupIndex) && u.rowGroup && (u.rowGroupIndex = o++), Er(u.pivotIndex) && u.pivot && (u.pivotIndex = a++), i.push(u);
}), this.applyColumnState({ state: i, applyOrder: !0 }, e);
}
getColumnStateFromColDef(e) {
@@ -98414,7 +98111,7 @@ var d7e = class extends De {
c !== void 0 && e.setVisible(!c, a);
const u = l("pinned").value1;
u !== void 0 && e.setPinned(u);
- const d = e.getColDef().minWidth ?? yee, h = l("flex").value1;
+ const d = e.getColDef().minWidth ?? fee, h = l("flex").value1;
if (h !== void 0 && e.setFlex(h), h == null) {
const b = l("width").value1;
b != null && d != null && b >= d && e.setActualWidth(b, a);
@@ -98458,16 +98155,16 @@ var d7e = class extends De {
if (th(C, b))
return;
const x = new Set(g);
- m.forEach((R) => {
- x.delete(R) || x.add(R);
+ m.forEach((P) => {
+ x.delete(P) || x.add(P);
});
- const E = [...x], P = {
+ const E = [...x], R = {
type: v,
columns: E,
column: E.length === 1 ? E[0] : null,
source: e
};
- this.eventService.dispatchEvent(P);
+ this.eventService.dispatchEvent(R);
}, a = (v) => {
const g = [];
return i.forEach((m) => {
@@ -98517,7 +98214,7 @@ var d7e = class extends De {
}
}), s.length && this.eventDispatcher.columnMoved({ movedColumns: s, source: t, finished: !0 });
}
-}, _3 = (e, t, r, n) => {
+}, RH = (e, t, r, n) => {
const i = e[r.getId()], o = e[n.getId()], a = i != null, s = o != null;
if (a && s)
return i - o;
@@ -98527,7 +98224,7 @@ var d7e = class extends De {
return 1;
const l = t.indexOf(r), c = t.indexOf(n), u = l >= 0, d = c >= 0;
return u && d ? l - c : u ? -1 : 1;
-}, p7e = class extends De {
+}, n7e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnMoveService";
}
@@ -98561,7 +98258,7 @@ var d7e = class extends De {
}
getProposedColumnOrder(e, t) {
const n = this.columnModel.getCols().slice();
- return fee(n, e, t), n;
+ return lee(n, e, t), n;
}
doesMovePassLockedPositions(e) {
const t = (o) => o ? o === "left" || o === !0 ? -1 : 1 : 0, r = this.gos.get("enableRtl");
@@ -98575,7 +98272,7 @@ var d7e = class extends De {
let t = !0;
const r = this.columnModel.getColTree();
return Kl(null, r, (n) => {
- if (!qi(n))
+ if (!Yi(n))
return;
const i = n, o = i.getColGroupDef();
if (!(o && o.marryChildren))
@@ -98596,7 +98293,7 @@ var d7e = class extends De {
a === "right" ? n.push(o) : a === "left" || a === !0 ? t.push(o) : r.push(o);
}), this.gos.get("enableRtl") ? [...n, ...r, ...t] : [...t, ...r, ...n];
}
-}, g7e = /[&<>"']/g, v7e = {
+}, i7e = /[&<>"']/g, o7e = {
"&": "&",
"<": "<",
">": ">",
@@ -98607,15 +98304,15 @@ function Gs(e, t) {
if (e == null)
return null;
const r = e.toString().toString();
- return t ? r : r.replace(g7e, (n) => v7e[n]);
+ return t ? r : r.replace(i7e, (n) => o7e[n]);
}
-function m7e(e) {
+function a7e(e) {
if (!e || e == null)
return null;
const t = /([a-z])([A-Z])/g, r = /([A-Z]+)([A-Z])([a-z])/g;
return e.replace(t, "$1 $2").replace(r, "$1 $2$3").replace(/\./g, " ").split(" ").map((i) => i.substring(0, 1).toUpperCase() + (i.length > 1 ? i.substring(1, i.length) : "")).join(" ");
}
-var y7e = class extends De {
+var s7e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnNameService";
}
@@ -98651,7 +98348,7 @@ var y7e = class extends De {
if (e.headerName != null)
return e.headerName;
if (e.field)
- return m7e(e.field);
+ return a7e(e.field);
}
return "";
}
@@ -98675,7 +98372,7 @@ var y7e = class extends De {
}
return t;
}
-}, C7e = class extends De {
+}, l7e = class extends De {
constructor() {
super(...arguments), this.beanName = "pivotResultColsService";
}
@@ -98717,7 +98414,7 @@ var y7e = class extends De {
t
);
af(this.context, (n = this.pivotResultCols) == null ? void 0 : n.tree, i.columnTree);
- const o = i.columnTree, a = i.treeDept, s = GO(o), l = {};
+ const o = i.columnTree, a = i.treeDept, s = HO(o), l = {};
this.pivotResultCols = { tree: o, treeDepth: a, list: s, map: l }, this.pivotResultCols.list.forEach((c) => this.pivotResultCols.map[c.getId()] = c), this.previousPivotResultCols = null;
} else
this.previousPivotResultCols = this.pivotResultCols ? this.pivotResultCols.tree : null, this.pivotResultCols = null;
@@ -98739,7 +98436,7 @@ var y7e = class extends De {
};
e && n(e);
}
-}, S7e = class extends De {
+}, c7e = class extends De {
constructor() {
super(...arguments), this.beanName = "columnSizeService";
}
@@ -98804,17 +98501,17 @@ var y7e = class extends De {
b -= p[x.getId()];
else {
y.push(x);
- const R = f[E];
- C += R;
+ const P = f[E];
+ C += P;
}
});
const w = 1 / C;
y.forEach((x, E) => {
- const P = E === y.length - 1;
- let R;
- P ? R = b : (R = Math.round(f[E] * d * w), b -= R);
+ const R = E === y.length - 1;
+ let P;
+ R ? P = b : (P = Math.round(f[E] * d * w), b -= P);
const T = x.getMinWidth(), _ = x.getMaxWidth();
- R < T ? (R = T, v[x.getId()] = !0, g = !0) : _ > 0 && R > _ && (R = _, v[x.getId()] = !0, g = !0), p[x.getId()] = R;
+ P < T ? (P = T, v[x.getId()] = !0, g = !0) : _ > 0 && P > _ && (P = _, v[x.getId()] = !0, g = !0), p[x.getId()] = P;
});
}
h.forEach((y) => {
@@ -98872,7 +98569,7 @@ var y7e = class extends De {
let g = 0;
const m = p.getMinWidth(), y = p.getMaxWidth();
if (v < m ? g = m : v > y && (g = y), g) {
- p.setActualWidth(g, t), hee(o, p), s -= p.getFlex(), l.push(p), i += p.getActualWidth();
+ p.setActualWidth(g, t), see(o, p), s -= p.getFlex(), l.push(p), i += p.getActualWidth();
continue e;
}
c[f] = Math.round(v);
@@ -98895,7 +98592,7 @@ var y7e = class extends De {
n && ((h = n == null ? void 0 : n.columnLimits) == null || h.forEach(({ key: f, ...p }) => {
i[typeof f == "string" ? f : f.getColId()] = p;
}));
- const o = this.visibleColsService.getAllCols(), a = e === wl(o);
+ const o = this.visibleColsService.getAllCols(), a = e === bl(o);
if (e <= 0 || !o.length || a)
return;
const s = [], l = [];
@@ -98905,7 +98602,7 @@ var y7e = class extends De {
const c = s.slice(0);
let u = !1;
const d = (f) => {
- Xi(s, f), l.push(f);
+ qi(s, f), l.push(f);
};
for (s.forEach((f) => {
f.resetActualWidth(t);
@@ -98913,7 +98610,7 @@ var y7e = class extends De {
typeof v == "number" && m < v ? f.setActualWidth(v, t, !0) : typeof g == "number" && m > g && f.setActualWidth(g, t, !0);
}); !u; ) {
u = !0;
- const f = e - wl(l);
+ const f = e - bl(l);
if (f <= 0)
s.forEach((p) => {
var g;
@@ -98925,12 +98622,12 @@ var y7e = class extends De {
p.setMinimum(t);
});
else {
- const p = f / wl(s);
+ const p = f / bl(s);
let v = f;
for (let g = s.length - 1; g >= 0; g--) {
- const m = s[g], y = i == null ? void 0 : i[m.getId()], C = (y == null ? void 0 : y.minWidth) ?? (n == null ? void 0 : n.defaultMinWidth), b = (y == null ? void 0 : y.maxWidth) ?? (n == null ? void 0 : n.defaultMaxWidth), w = m.getMinWidth(), x = m.getMaxWidth(), E = typeof C == "number" && C > w ? C : w, P = typeof b == "number" && b < x ? b : x;
- let R = Math.round(m.getActualWidth() * p);
- R < E ? (R = E, d(m), u = !1) : R > P ? (R = P, d(m), u = !1) : g === 0 && (R = v), m.setActualWidth(R, t, !0), v -= R;
+ const m = s[g], y = i == null ? void 0 : i[m.getId()], C = (y == null ? void 0 : y.minWidth) ?? (n == null ? void 0 : n.defaultMinWidth), b = (y == null ? void 0 : y.maxWidth) ?? (n == null ? void 0 : n.defaultMaxWidth), w = m.getMinWidth(), x = m.getMaxWidth(), E = typeof C == "number" && C > w ? C : w, R = typeof b == "number" && b < x ? b : x;
+ let P = Math.round(m.getActualWidth() * p);
+ P < E ? (P = E, d(m), u = !1) : P > R ? (P = R, d(m), u = !1) : g === 0 && (P = v), m.setActualWidth(P, t, !0), v -= P;
}
}
}
@@ -98959,13 +98656,13 @@ var y7e = class extends De {
});
}
};
-function See(e, t) {
+function gee(e, t) {
return e + "_" + t;
}
-function Hn(e) {
- return e instanceof bee;
+function zn(e) {
+ return e instanceof vee;
}
-var bee = class extends De {
+var vee = class extends De {
constructor(e, t, r, n) {
super(), this.isColumn = !1, this.displayedChildren = [], this.parent = null, this.groupId = t, this.partId = r, this.providedColumnGroup = e, this.pinned = n;
}
@@ -98981,7 +98678,7 @@ var bee = class extends De {
this.parent = e;
}
getUniqueId() {
- return See(this.groupId, this.partId);
+ return gee(this.groupId, this.partId);
}
isEmptyGroup() {
return this.displayedChildren.length === 0;
@@ -98992,7 +98689,7 @@ var bee = class extends De {
}
checkLeft() {
if (this.displayedChildren.forEach((e) => {
- Hn(e) && e.checkLeft();
+ zn(e) && e.checkLeft();
}), this.displayedChildren.length > 0)
if (this.gos.get("enableRtl")) {
const t = Tr(this.displayedChildren).getLeft();
@@ -99076,12 +98773,12 @@ var bee = class extends De {
}
addDisplayedLeafColumns(e) {
this.displayedChildren.forEach((t) => {
- qc(t) ? e.push(t) : Hn(t) && t.addDisplayedLeafColumns(e);
+ qc(t) ? e.push(t) : zn(t) && t.addDisplayedLeafColumns(e);
});
}
addLeafColumns(e) {
this.children.forEach((t) => {
- qc(t) ? e.push(t) : Hn(t) && t.addLeafColumns(e);
+ qc(t) ? e.push(t) : zn(t) && t.addLeafColumns(e);
});
}
getChildren() {
@@ -99107,7 +98804,7 @@ var bee = class extends De {
return;
}
this.children.forEach((r) => {
- if (Hn(r) && (!r.displayedChildren || !r.displayedChildren.length))
+ if (zn(r) && (!r.displayedChildren || !r.displayedChildren.length))
return;
switch (r.getColumnGroupShow()) {
case "open":
@@ -99122,7 +98819,7 @@ var bee = class extends De {
}
}), this.dispatchLocalEvent({ type: "displayedChildrenChanged" });
}
-}, wee = class {
+}, mee = class {
constructor() {
this.existingIds = {};
}
@@ -99131,7 +98828,7 @@ var bee = class extends De {
let r;
return typeof t != "number" ? r = 0 : r = t + 1, this.existingIds[e] = r, r;
}
-}, b7e = class extends De {
+}, u7e = class extends De {
constructor() {
super(...arguments), this.beanName = "visibleColsService", this.colsAndGroupsMap = {}, this.columnsLeft = [], this.columnsRight = [], this.columnsCenter = [], this.columns = [], this.bodyWidth = 0, this.leftWidth = 0, this.rightWidth = 0, this.bodyWidthDirty = !0;
}
@@ -99143,7 +98840,7 @@ var bee = class extends De {
}
// after setColumnWidth or updateGroupsAndPresentedCols
updateBodyWidths() {
- const e = wl(this.columnsCenter), t = wl(this.columnsLeft), r = wl(this.columnsRight);
+ const e = bl(this.columnsCenter), t = bl(this.columnsLeft), r = bl(this.columnsRight);
if (this.bodyWidthDirty = this.bodyWidth !== e, this.bodyWidth !== e || this.leftWidth !== t || this.rightWidth !== r) {
this.bodyWidth = e, this.leftWidth = t, this.rightWidth = r;
const i = {
@@ -99167,7 +98864,7 @@ var bee = class extends De {
});
}
buildTrees() {
- const e = this.columnModel.getColsToShow(), t = e.filter((o) => o.getPinned() == "left"), r = e.filter((o) => o.getPinned() == "right"), n = e.filter((o) => o.getPinned() != "left" && o.getPinned() != "right"), i = new wee();
+ const e = this.columnModel.getColsToShow(), t = e.filter((o) => o.getPinned() == "left"), r = e.filter((o) => o.getPinned() == "right"), n = e.filter((o) => o.getPinned() != "left" && o.getPinned() != "right"), i = new mee();
this.treeLeft = this.createGroups({
columns: t,
idCreator: i,
@@ -99198,7 +98895,7 @@ var bee = class extends De {
}
getAriaColIndex(e) {
let t;
- return Hn(e) ? t = e.getLeafColumns()[0] : t = e, this.ariaOrderColumns.indexOf(t) + 1;
+ return zn(e) ? t = e.getLeafColumns()[0] : t = e, this.ariaOrderColumns.indexOf(t) + 1;
}
getAllAutoHeightCols() {
return this.autoHeightCols;
@@ -99206,7 +98903,7 @@ var bee = class extends De {
setLeftValuesOfGroups() {
[this.treeLeft, this.treeRight, this.treeCenter].forEach((e) => {
e.forEach((t) => {
- Hn(t) && t.checkLeft();
+ zn(t) && t.checkLeft();
});
});
}
@@ -99216,7 +98913,7 @@ var bee = class extends De {
const r = this.columnModel.getCols().slice(0), n = this.gos.get("enableRtl");
[this.columnsLeft, this.columnsRight, this.columnsCenter].forEach((i) => {
if (n) {
- let o = wl(i);
+ let o = bl(i);
i.forEach((a) => {
o -= a.getActualWidth(), a.setLeft(o, e);
});
@@ -99226,7 +98923,7 @@ var bee = class extends De {
a.setLeft(o, e), o += a.getActualWidth();
});
}
- W9e(r, i);
+ O9e(r, i);
}), r.forEach((i) => {
i.setLeft(null, e);
});
@@ -99352,7 +99049,7 @@ var bee = class extends De {
updateOpenClosedVisibilityInColumnGroups() {
const e = this.getAllTrees();
Ku(e, !1, (t) => {
- Hn(t) && t.calculateDisplayedColumns();
+ zn(t) && t.calculateDisplayedColumns();
});
}
getFirstColumn() {
@@ -99374,12 +99071,12 @@ var bee = class extends De {
getColumnGroup(e, t) {
if (!e)
return null;
- if (Hn(e))
+ if (zn(e))
return e;
const r = this.getAllTrees(), n = typeof t == "number";
let i = null;
return Ku(r, !1, (o) => {
- if (Hn(o)) {
+ if (zn(o)) {
const a = o;
let s;
n ? s = e === a.getGroupId() && t === a.getPartId() : s = e === a.getGroupId(), s && (i = a);
@@ -99402,11 +99099,11 @@ var bee = class extends De {
// + angularGrid -> setting pinned body width
// note: this should be cached
getColsLeftWidth() {
- return wl(this.columnsLeft);
+ return bl(this.columnsLeft);
}
// note: this should be cached
getDisplayedColumnsRightWidth() {
- return wl(this.columnsRight);
+ return bl(this.columnsRight);
}
isColAtEdge(e, t) {
const r = this.getAllCols();
@@ -99414,7 +99111,7 @@ var bee = class extends De {
return !1;
const n = t === "first";
let i;
- if (Hn(e)) {
+ if (zn(e)) {
const o = e.getDisplayedLeafColumns();
if (!o.length)
return !1;
@@ -99433,7 +99130,7 @@ var bee = class extends De {
const d = (h) => {
const f = u;
u = h;
- const p = c[f], g = (Hn(p) ? p.getProvidedColumnGroup() : p).getOriginalParent();
+ const p = c[f], g = (zn(p) ? p.getProvidedColumnGroup() : p).getOriginalParent();
if (g == null) {
for (let y = f; y < h; y++)
s.push(c[y]);
@@ -99451,7 +99148,7 @@ var bee = class extends De {
l.push(m);
};
for (let h = 1; h < c.length; h++) {
- const f = c[h], v = (Hn(f) ? f.getProvidedColumnGroup() : f).getOriginalParent(), g = c[u], y = (Hn(g) ? g.getProvidedColumnGroup() : g).getOriginalParent();
+ const f = c[h], v = (zn(f) ? f.getProvidedColumnGroup() : f).getOriginalParent(), g = c[u], y = (zn(g) ? g.getProvidedColumnGroup() : g).getOriginalParent();
v !== y && d(h);
}
u < c.length && d(c.length);
@@ -99459,15 +99156,15 @@ var bee = class extends De {
return o || this.setupParentsIntoCols(s, null), s;
}
createColGroup(e, t, r, n, i) {
- const o = e.getGroupId(), a = t.getInstanceIdForKey(o), s = See(o, a);
+ const o = e.getGroupId(), a = t.getInstanceIdForKey(o), s = gee(o, a);
let l = r[s];
- return l && l.getProvidedColumnGroup() !== e && (l = null), Ye(l) ? l.reset() : (l = new bee(e, o, a, n), i || this.createBean(l)), l;
+ return l && l.getProvidedColumnGroup() !== e && (l = null), Ye(l) ? l.reset() : (l = new vee(e, o, a, n), i || this.createBean(l)), l;
}
// returns back a 2d map of ColumnGroup as follows: groupId -> instanceId -> ColumnGroup
mapOldGroupsById(e) {
const t = {}, r = (n) => {
n.forEach((i) => {
- if (Hn(i)) {
+ if (zn(i)) {
const o = i;
t[i.getUniqueId()] = o, r(o.getChildren());
}
@@ -99477,7 +99174,7 @@ var bee = class extends De {
}
setupParentsIntoCols(e, t) {
e.forEach((r) => {
- if (r.setParent(t), Hn(r)) {
+ if (r.setParent(t), zn(r)) {
const n = r;
this.setupParentsIntoCols(n.getChildren(), n);
}
@@ -99488,7 +99185,7 @@ function Ku(e, t, r) {
if (e)
for (let n = 0; n < e.length; n++) {
const i = e[n];
- if (Hn(i)) {
+ if (zn(i)) {
const o = t ? i.getDisplayedChildren() : i.getChildren();
Ku(o, t, r);
}
@@ -99501,7 +99198,7 @@ function oP(e) {
qc(r) && t.push(r);
}), t;
}
-var xee = [
+var yee = [
"columnEverythingChanged",
"newColumnsLoaded",
"columnPivotModeChanged",
@@ -99593,7 +99290,7 @@ var xee = [
"rowDragMove",
"rowDragLeave",
"rowDragEnd"
-], w7e = [
+], d7e = [
"scrollbarWidthChanged",
"keyShortcutChangedCellStart",
"keyShortcutChangedCellEnd",
@@ -99637,7 +99334,7 @@ var xee = [
"chartTitleEdit",
"recalculateRowBounds",
"stickyTopOffsetChanged"
-], x7e = [...xee, ...w7e], E7e = {
+], h7e = [...yee, ...d7e], f7e = {
enableBrowserTooltips: !0,
tooltipTrigger: !0,
tooltipMouseTrack: !0,
@@ -99721,9 +99418,9 @@ var xee = [
getRowId: !0,
reactiveCustomComponents: !0,
columnMenu: !0
-}, Ii = class {
+}, Di = class {
};
-Ii.STRING_PROPERTIES = [
+Di.STRING_PROPERTIES = [
"rowSelection",
"overlayLoadingTemplate",
"overlayNoRowsTemplate",
@@ -99748,7 +99445,7 @@ Ii.STRING_PROPERTIES = [
"tooltipShowMode",
"grandTotalRow"
];
-Ii.OBJECT_PROPERTIES = [
+Di.OBJECT_PROPERTIES = [
"components",
"rowStyle",
"context",
@@ -99784,7 +99481,7 @@ Ii.OBJECT_PROPERTIES = [
"initialState",
"autoSizeStrategy"
];
-Ii.ARRAY_PROPERTIES = [
+Di.ARRAY_PROPERTIES = [
"sortingOrder",
"alignedGrids",
"rowData",
@@ -99796,7 +99493,7 @@ Ii.ARRAY_PROPERTIES = [
"rowClass",
"paginationPageSizeSelector"
];
-Ii.NUMBER_PROPERTIES = [
+Di.NUMBER_PROPERTIES = [
"rowHeight",
"detailRowHeight",
"rowBuffer",
@@ -99832,7 +99529,7 @@ Ii.NUMBER_PROPERTIES = [
"tabIndex",
"pivotMaxGeneratedColumns"
];
-Ii.BOOLEAN_PROPERTIES = [
+Di.BOOLEAN_PROPERTIES = [
"suppressMakeColumnVisibleAfterUnGroup",
"suppressRowClickSelection",
"suppressCellFocus",
@@ -99975,8 +99672,8 @@ Ii.BOOLEAN_PROPERTIES = [
"suppressAdvancedFilterEval",
"loading"
];
-Ii.OTHER_PROPERTIES = ["suppressStickyTotalRow"];
-Ii.FUNCTION_PROPERTIES = [
+Di.OTHER_PROPERTIES = ["suppressStickyTotalRow"];
+Di.FUNCTION_PROPERTIES = [
"doesExternalFilterPass",
"processPivotResultColDef",
"processPivotResultColGroupDef",
@@ -100037,42 +99734,42 @@ Ii.FUNCTION_PROPERTIES = [
"chartMenuItems",
"groupTotalRow"
];
-Ii.ALL_PROPERTIES = [
- ...Ii.ARRAY_PROPERTIES,
- ...Ii.OBJECT_PROPERTIES,
- ...Ii.STRING_PROPERTIES,
- ...Ii.NUMBER_PROPERTIES,
- ...Ii.FUNCTION_PROPERTIES,
- ...Ii.BOOLEAN_PROPERTIES,
- ...Ii.OTHER_PROPERTIES
+Di.ALL_PROPERTIES = [
+ ...Di.ARRAY_PROPERTIES,
+ ...Di.OBJECT_PROPERTIES,
+ ...Di.STRING_PROPERTIES,
+ ...Di.NUMBER_PROPERTIES,
+ ...Di.FUNCTION_PROPERTIES,
+ ...Di.BOOLEAN_PROPERTIES,
+ ...Di.OTHER_PROPERTIES
];
-var fm = Ii, Sa = class {
+var pm = Di, Sa = class {
static getCallbackForEvent(t) {
return !t || t.length < 2 ? t : "on" + t[0].toUpperCase() + t.substring(1);
}
};
Sa.VUE_OMITTED_PROPERTY = "AG-VUE-OMITTED-PROPERTY";
-Sa.PUBLIC_EVENTS = xee;
-Sa.EVENT_CALLBACKS = x7e.map((e) => Sa.getCallbackForEvent(e));
-Sa.BOOLEAN_PROPERTIES = fm.BOOLEAN_PROPERTIES;
-Sa.ALL_PROPERTIES = fm.ALL_PROPERTIES;
+Sa.PUBLIC_EVENTS = yee;
+Sa.EVENT_CALLBACKS = h7e.map((e) => Sa.getCallbackForEvent(e));
+Sa.BOOLEAN_PROPERTIES = pm.BOOLEAN_PROPERTIES;
+Sa.ALL_PROPERTIES = pm.ALL_PROPERTIES;
Sa.ALL_PROPERTIES_AND_CALLBACKS = [...Sa.ALL_PROPERTIES, ...Sa.EVENT_CALLBACKS];
Sa.ALL_PROPERTIES_AND_CALLBACKS_SET = new Set(Sa.ALL_PROPERTIES_AND_CALLBACKS);
-var pm = Sa;
-function R7e(e, t) {
+var gm = Sa;
+function p7e(e, t) {
typeof e != "object" && (e = {});
const r = { ...e };
- return pm.ALL_PROPERTIES_AND_CALLBACKS.forEach((i) => {
+ return gm.ALL_PROPERTIES_AND_CALLBACKS.forEach((i) => {
const o = t[i];
- typeof o < "u" && o !== pm.VUE_OMITTED_PROPERTY && (r[i] = o);
+ typeof o < "u" && o !== gm.VUE_OMITTED_PROPERTY && (r[i] = o);
}), r;
}
-function P7e(e, t) {
+function g7e(e, t) {
if (!e)
return;
const r = {};
let n = !1;
- if (Object.keys(e).filter((a) => pm.ALL_PROPERTIES_AND_CALLBACKS_SET.has(a)).forEach((a) => {
+ if (Object.keys(e).filter((a) => gm.ALL_PROPERTIES_AND_CALLBACKS_SET.has(a)).forEach((a) => {
r[a] = e[a], n = !0;
}), !n)
return;
@@ -100088,7 +99785,7 @@ function P7e(e, t) {
o[a] = s;
}), t.dispatchEvent(o);
}
-var gy = class {
+var fy = class {
constructor(e) {
this.cssClassStates = {}, this.getGui = e;
}
@@ -100135,126 +99832,126 @@ var gy = class {
}
};
function Jl(e, t, r) {
- r == null || typeof r == "string" && r == "" ? Eee(e, t) : al(e, t, r);
+ r == null || typeof r == "string" && r == "" ? Cee(e, t) : ol(e, t, r);
}
-function al(e, t, r) {
- e.setAttribute(Ree(t), r.toString());
+function ol(e, t, r) {
+ e.setAttribute(See(t), r.toString());
}
-function Eee(e, t) {
- e.removeAttribute(Ree(t));
+function Cee(e, t) {
+ e.removeAttribute(See(t));
}
-function Ree(e) {
+function See(e) {
return `aria-${e}`;
}
function cs(e, t) {
t ? e.setAttribute("role", t) : e.removeAttribute("role");
}
-function T7e(e) {
+function v7e(e) {
let t;
return e === "asc" ? t = "ascending" : e === "desc" ? t = "descending" : e === "mixed" ? t = "other" : t = "none", t;
}
-function _7e(e) {
+function m7e(e) {
return e.getAttribute("aria-label");
}
function Uf(e, t) {
Jl(e, "label", t);
}
-function gm(e, t) {
+function vm(e, t) {
Jl(e, "labelledby", t);
}
-function Pee(e, t) {
+function bee(e, t) {
Jl(e, "live", t);
}
-function M7e(e, t) {
+function y7e(e, t) {
Jl(e, "atomic", t);
}
-function D7e(e, t) {
+function C7e(e, t) {
Jl(e, "relevant", t);
}
-function I7e(e, t) {
+function S7e(e, t) {
Jl(e, "disabled", t);
}
-function WO(e, t) {
+function zO(e, t) {
Jl(e, "hidden", t);
}
-function xb(e, t) {
- al(e, "expanded", t);
+function bb(e, t) {
+ ol(e, "expanded", t);
}
-function A7e(e, t) {
- al(e, "setsize", t);
+function b7e(e, t) {
+ ol(e, "setsize", t);
}
-function O7e(e, t) {
- al(e, "posinset", t);
+function w7e(e, t) {
+ ol(e, "posinset", t);
}
-function L7e(e, t) {
- al(e, "rowcount", t);
+function x7e(e, t) {
+ ol(e, "rowcount", t);
}
-function F7e(e, t) {
- al(e, "rowindex", t);
+function E7e(e, t) {
+ ol(e, "rowindex", t);
}
-function N7e(e, t) {
- al(e, "colcount", t);
+function R7e(e, t) {
+ ol(e, "colcount", t);
}
-function Tee(e, t) {
- al(e, "colindex", t);
+function wee(e, t) {
+ ol(e, "colindex", t);
}
-function k7e(e, t) {
- al(e, "colspan", t);
+function P7e(e, t) {
+ ol(e, "colspan", t);
}
-function $7e(e, t) {
- al(e, "sort", t);
+function T7e(e, t) {
+ ol(e, "sort", t);
}
-function B7e(e) {
- Eee(e, "sort");
+function _7e(e) {
+ Cee(e, "sort");
}
-function Eb(e, t) {
+function wb(e, t) {
Jl(e, "selected", t);
}
-function V7e(e, t) {
- Jl(e, "controls", t.id), gm(t, e.id);
+function M7e(e, t) {
+ Jl(e, "controls", t.id), vm(t, e.id);
}
-function jO(e, t) {
+function GO(e, t) {
return t === void 0 ? e("ariaIndeterminate", "indeterminate") : t === !0 ? e("ariaChecked", "checked") : e("ariaUnchecked", "unchecked");
}
-var aP, K0, sP, lP, cP, uP, hD, fD;
+var aP, j0, sP, lP, cP, uP, dD, hD;
function Yl() {
return aP === void 0 && (aP = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), aP;
}
-function _ee() {
- if (K0 === void 0)
+function xee() {
+ if (j0 === void 0)
if (Yl()) {
const e = navigator.userAgent.match(/version\/(\d+)/i);
- e && (K0 = e[1] != null ? parseFloat(e[1]) : 0);
+ e && (j0 = e[1] != null ? parseFloat(e[1]) : 0);
} else
- K0 = 0;
- return K0;
+ j0 = 0;
+ return j0;
}
-function UO() {
+function WO() {
if (sP === void 0) {
const e = window;
sP = !!e.chrome && (!!e.chrome.webstore || !!e.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
}
return sP;
}
-function Mee() {
+function Eee() {
return lP === void 0 && (lP = /(firefox)/i.test(navigator.userAgent)), lP;
}
-function Dee() {
+function Ree() {
return cP === void 0 && (cP = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), cP;
}
function iu() {
return uP === void 0 && (uP = /iPad|iPhone|iPod/.test(navigator.platform) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), uP;
}
-function M3() {
- return !Yl() || _ee() >= 15;
+function PH() {
+ return !Yl() || xee() >= 15;
}
-function pD(e) {
+function fD(e) {
if (!e)
return null;
const t = e.tabIndex, r = e.getAttribute("tabIndex");
- return t === -1 && (r === null || r === "" && !Mee()) ? null : t.toString();
+ return t === -1 && (r === null || r === "" && !Eee()) ? null : t.toString();
}
-function z7e() {
+function D7e() {
if (!document.body)
return -1;
let e = 1e6;
@@ -100267,42 +99964,42 @@ function z7e() {
}
return document.body.removeChild(r), e;
}
-function H7e() {
+function I7e() {
var e, t;
return ((e = document.body) == null ? void 0 : e.clientWidth) ?? (window.innerHeight || ((t = document.documentElement) == null ? void 0 : t.clientWidth) || -1);
}
-function G7e() {
+function A7e() {
var e, t;
return ((e = document.body) == null ? void 0 : e.clientHeight) ?? (window.innerHeight || ((t = document.documentElement) == null ? void 0 : t.clientHeight) || -1);
}
-function W7e() {
- return fD == null && Iee(), fD;
+function O7e() {
+ return hD == null && Pee(), hD;
}
-function Iee() {
+function Pee() {
const e = document.body, t = document.createElement("div");
t.style.width = t.style.height = "100px", t.style.opacity = "0", t.style.overflow = "scroll", t.style.msOverflowStyle = "scrollbar", t.style.position = "absolute", e.appendChild(t);
let r = t.offsetWidth - t.clientWidth;
- r === 0 && t.clientWidth === 0 && (r = null), t.parentNode && t.parentNode.removeChild(t), r != null && (fD = r, hD = r === 0);
+ r === 0 && t.clientWidth === 0 && (r = null), t.parentNode && t.parentNode.removeChild(t), r != null && (hD = r, dD = r === 0);
}
-function Aee() {
- return hD == null && Iee(), hD;
+function Tee() {
+ return dD == null && Pee(), dD;
}
-var Y0, j7e = "[tabindex], input, select, button, textarea, [href]", Oee = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
-function KO(e) {
- const t = Element.prototype.matches || Element.prototype.msMatchesSelector, n = t.call(e, "input, select, button, textarea"), i = t.call(e, Oee), o = Zs(e);
+var U0, L7e = "[tabindex], input, select, button, textarea, [href]", _ee = "[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";
+function jO(e) {
+ const t = Element.prototype.matches || Element.prototype.msMatchesSelector, n = t.call(e, "input, select, button, textarea"), i = t.call(e, _ee), o = Xs(e);
return n && !i && o;
}
function Mn(e, t, r = {}) {
const { skipAriaHidden: n } = r;
- e.classList.toggle("ag-hidden", !t), n || WO(e, !t);
+ e.classList.toggle("ag-hidden", !t), n || zO(e, !t);
}
-function U7e(e, t, r = {}) {
+function F7e(e, t, r = {}) {
const { skipAriaHidden: n } = r;
- e.classList.toggle("ag-invisible", !t), n || WO(e, !t);
+ e.classList.toggle("ag-invisible", !t), n || zO(e, !t);
}
-function vm(e, t) {
+function mm(e, t) {
const r = "disabled", n = t ? (i) => i.setAttribute(r, "") : (i) => i.removeAttribute(r);
- n(e), kee(e.querySelectorAll("input"), (i) => n(i));
+ n(e), Aee(e.querySelectorAll("input"), (i) => n(i));
}
function Ef(e, t, r) {
let n = 0;
@@ -100353,23 +100050,23 @@ function rh(e) {
boxSizing: v
};
}
-function YO(e) {
+function UO(e) {
const t = rh(e);
return t.boxSizing === "border-box" ? t.height - t.paddingTop - t.paddingBottom : t.height;
}
-function vy(e) {
+function py(e) {
const t = rh(e);
return t.boxSizing === "border-box" ? t.width - t.paddingLeft - t.paddingRight : t.width;
}
-function Lee(e) {
+function Mee(e) {
const { height: t, marginBottom: r, marginTop: n } = rh(e);
return Math.floor(t + r + n);
}
-function Rb(e) {
+function xb(e) {
const { width: t, marginLeft: r, marginRight: n } = rh(e);
return Math.floor(t + r + n);
}
-function Fee(e) {
+function Dee(e) {
const t = e.getBoundingClientRect(), { borderTopWidth: r, borderLeftWidth: n, borderRightWidth: i, borderBottomWidth: o } = rh(e);
return {
top: t.top + (r || 0),
@@ -100378,22 +100075,22 @@ function Fee(e) {
bottom: t.bottom + (o || 0)
};
}
-function Pb() {
- if (typeof Y0 == "boolean")
- return Y0;
+function Eb() {
+ if (typeof U0 == "boolean")
+ return U0;
const e = document.createElement("div");
return e.style.direction = "rtl", e.style.width = "1px", e.style.height = "1px", e.style.position = "fixed", e.style.top = "0px", e.style.overflow = "hidden", e.dir = "rtl", e.innerHTML = /* html */
`
-
`, document.body.appendChild(e), e.scrollLeft = 1, Y0 = Math.floor(e.scrollLeft) === 0, document.body.removeChild(e), Y0;
+
`, document.body.appendChild(e), e.scrollLeft = 1, U0 = Math.floor(e.scrollLeft) === 0, document.body.removeChild(e), U0;
}
-function Tb(e, t) {
+function Rb(e, t) {
let r = e.scrollLeft;
- return t && (r = Math.abs(r), UO() && !Pb() && (r = e.scrollWidth - e.clientWidth - r)), r;
+ return t && (r = Math.abs(r), WO() && !Eb() && (r = e.scrollWidth - e.clientWidth - r)), r;
}
-function _b(e, t, r) {
- r && (Pb() ? t *= -1 : (Yl() || UO()) && (t = e.scrollWidth - e.clientWidth - t)), e.scrollLeft = t;
+function Pb(e, t, r) {
+ r && (Eb() ? t *= -1 : (Yl() || WO()) && (t = e.scrollWidth - e.clientWidth - t)), e.scrollLeft = t;
}
function Uo(e) {
for (; e && e.firstChild; )
@@ -100402,55 +100099,55 @@ function Uo(e) {
function kd(e) {
e && e.parentNode && e.parentNode.removeChild(e);
}
-function Nee(e) {
+function Iee(e) {
return !!e.offsetParent;
}
-function Zs(e) {
+function Xs(e) {
const t = e;
- return t.checkVisibility ? t.checkVisibility({ checkVisibilityCSS: !0 }) : !(!Nee(e) || window.getComputedStyle(e).visibility !== "visible");
+ return t.checkVisibility ? t.checkVisibility({ checkVisibilityCSS: !0 }) : !(!Iee(e) || window.getComputedStyle(e).visibility !== "visible");
}
function Kf(e) {
const t = document.createElement("div");
return t.innerHTML = (e || "").trim(), t.firstChild;
}
-function K7e(e) {
+function N7e(e) {
return e.clientWidth < e.scrollWidth;
}
-function Y7e(e) {
+function k7e(e) {
return e.clientHeight < e.scrollHeight;
}
-function Mb(e, t) {
+function Tb(e, t) {
t === "flex" ? (e.style.removeProperty("width"), e.style.removeProperty("minWidth"), e.style.removeProperty("maxWidth"), e.style.flex = "1 1 auto") : ts(e, t);
}
function ts(e, t) {
- t = qO(t), e.style.width = t.toString(), e.style.maxWidth = t.toString(), e.style.minWidth = t.toString();
+ t = KO(t), e.style.width = t.toString(), e.style.maxWidth = t.toString(), e.style.minWidth = t.toString();
}
-function fv(e, t) {
- t = qO(t), e.style.height = t.toString(), e.style.maxHeight = t.toString(), e.style.minHeight = t.toString();
+function pv(e, t) {
+ t = KO(t), e.style.height = t.toString(), e.style.maxHeight = t.toString(), e.style.minHeight = t.toString();
}
-function qO(e) {
+function KO(e) {
return typeof e == "number" ? `${e}px` : e;
}
-function XO(e) {
+function YO(e) {
return e instanceof Node || e instanceof HTMLElement;
}
-function q7e(e) {
+function $7e(e) {
if (e == null)
return [];
const t = [];
- return kee(e, (r) => t.push(r)), t;
+ return Aee(e, (r) => t.push(r)), t;
}
-function X7e(e, t) {
+function B7e(e, t) {
if (e)
for (let r = 0; r < e.length; r++) {
const n = e[r];
t(n.name, n.value);
}
}
-function Ol(e, t, r) {
+function Al(e, t, r) {
r == null ? e.removeAttribute(t) : e.setAttribute(t, r.toString());
}
-function kee(e, t) {
+function Aee(e, t) {
if (e != null)
for (let r = 0; r < e.length; r++)
t(e[r]);
@@ -100469,7 +100166,7 @@ var Yf = class {
skip(e) {
this.nextValue += e;
}
-}, Z7e = 1e3, Q7e = 1e3, D3 = 100, $ee = class Vu extends De {
+}, V7e = 1e3, H7e = 1e3, TH = 100, Oee = class Vu extends De {
constructor(t, r, n, i) {
super(), this.parentComp = t, this.tooltipShowDelayOverride = r, this.tooltipHideDelayOverride = n, this.shouldDisplayTooltip = i, this.interactionEnabled = !1, this.isInteractingWithTooltip = !1, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = !1;
}
@@ -100507,7 +100204,7 @@ var Yf = class {
onMouseEnter(t) {
this.interactionEnabled && this.interactiveTooltipTimeoutId && (this.unlockService(), this.startHideTimeout()), !iu() && (Vu.isLocked ? this.showTooltipTimeoutId = window.setTimeout(() => {
this.prepareToShowTooltip(t);
- }, D3) : this.prepareToShowTooltip(t));
+ }, TH) : this.prepareToShowTooltip(t));
}
onMouseMove(t) {
this.lastMouseEvent && (this.lastMouseEvent = t), this.tooltipMouseTrack && this.state === 2 && this.tooltipComp && this.positionTooltip();
@@ -100537,7 +100234,7 @@ var Yf = class {
}
isLastTooltipHiddenRecently() {
const t = (/* @__PURE__ */ new Date()).getTime(), r = Vu.lastTooltipHideTime;
- return t - r < Z7e;
+ return t - r < V7e;
}
setToDoNothing() {
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;
@@ -100633,7 +100330,7 @@ var Yf = class {
}
destroyTooltipComp() {
this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");
- const t = this.tooltipPopupDestroyFunc, r = this.tooltipComp, n = this.tooltipTrigger === 0 ? Q7e : 0;
+ const t = this.tooltipPopupDestroyFunc, r = this.tooltipComp, n = this.tooltipTrigger === 0 ? H7e : 0;
window.setTimeout(() => {
t(), this.destroyBean(r);
}, n), this.clearTooltipListeners(), this.tooltipPopupDestroyFunc = void 0, this.tooltipComp = void 0;
@@ -100651,7 +100348,7 @@ var Yf = class {
lockService() {
Vu.isLocked = !0, this.interactiveTooltipTimeoutId = window.setTimeout(() => {
this.unlockService(), this.setToDoNothing();
- }, D3);
+ }, TH);
}
unlockService() {
Vu.isLocked = !1, this.clearInteractiveTimeout();
@@ -100672,8 +100369,8 @@ var Yf = class {
this.clearShowTimeout(), this.clearHideTimeout(), this.clearInteractiveTimeout();
}
};
-$ee.isLocked = !1;
-var J7e = $ee, Tp = class extends De {
+Oee.isLocked = !1;
+var z7e = Oee, _p = class extends De {
constructor(e, t) {
super(), this.ctrl = e, t && (this.beans = t);
}
@@ -100699,7 +100396,7 @@ var J7e = $ee, Tp = class extends De {
getGui: () => this.ctrl.getGui()
};
this.tooltipManager = this.createBean(
- new J7e(
+ new z7e(
e,
(r = (t = this.ctrl).getTooltipShowDelayOverride) == null ? void 0 : r.call(t),
(i = (n = this.ctrl).getTooltipHideDelayOverride) == null ? void 0 : i.call(n),
@@ -100736,9 +100433,9 @@ var J7e = $ee, Tp = class extends De {
destroy() {
this.tooltipManager && (this.tooltipManager = this.destroyBean(this.tooltipManager, this.beans.context)), super.destroy();
}
-}, eje = new Yf(), Ht = null, yn = class Bee extends De {
+}, G7e = new Yf(), zt = null, yn = class Lee extends De {
constructor(t, r) {
- super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = eje.next(), this.cssClassManager = new gy(() => this.eGui), this.componentSelectors = new Map((r ?? []).map((n) => [n.selector, n])), t && this.setTemplate(t);
+ super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = G7e.next(), this.cssClassManager = new fy(() => this.eGui), this.componentSelectors = new Map((r ?? []).map((n) => [n.selector, n])), t && this.setTemplate(t);
}
preWireBeans(t) {
super.preWireBeans(t);
@@ -100763,7 +100460,7 @@ var J7e = $ee, Tp = class extends De {
this.tooltipFeature && (this.tooltipFeature = this.destroyBean(this.tooltipFeature)), this.tooltipText !== r && (this.tooltipText = r);
const s = () => this.tooltipText;
r != null && (this.tooltipFeature = this.createBean(
- new Tp({
+ new _p({
getTooltipValue: s,
getGui: () => this.getGui(),
getLocation: () => o ?? "UNKNOWN",
@@ -100781,7 +100478,7 @@ var J7e = $ee, Tp = class extends De {
applyElementsToComponent(t, r, n, i = null) {
if (r === void 0 && (r = this.getDataRefAttribute(t)), r) {
const o = this[r];
- if (o === Ht)
+ if (o === zt)
this[r] = i ?? t;
else {
const a = n && n[r];
@@ -100791,7 +100488,7 @@ var J7e = $ee, Tp = class extends De {
}
// for registered components only, eg creates AgCheckbox instance from ag-checkbox HTML tag
createChildComponentsFromTags(t, r) {
- q7e(t.childNodes).forEach((i) => {
+ $7e(t.childNodes).forEach((i) => {
if (!(i instanceof HTMLElement))
return;
const o = this.createComponentFromElement(
@@ -100815,14 +100512,14 @@ var J7e = $ee, Tp = class extends De {
const i = t.nodeName, o = this.getDataRefAttribute(t), a = i.indexOf("AG-") === 0, s = a ? this.componentSelectors.get(i) : null;
let l = null;
if (s) {
- Bee.elementGettingCreated = t;
+ Lee.elementGettingCreated = t;
const c = n && o ? n[o] : void 0;
l = new s.component(c), l.setParentComponent(this), this.createBean(l, null, r);
} else a && Be(`Missing selector: ${i}`);
return this.applyElementsToComponent(t, o, n, l), l;
}
copyAttributesFromNode(t, r) {
- X7e(t.attributes, (n, i) => r.setAttribute(n, i));
+ B7e(t.attributes, (n, i) => r.setAttribute(n, i));
}
swapComponentForNode(t, r, n) {
const i = t.getGui();
@@ -100869,7 +100566,7 @@ var J7e = $ee, Tp = class extends De {
}
getContainerAndElement(t, r) {
let n = r;
- return t == null ? null : (n || (n = this.eGui), XO(t) ? {
+ return t == null ? null : (n || (n = this.eGui), YO(t) ? {
element: t,
parent: n
} : {
@@ -100892,7 +100589,7 @@ var J7e = $ee, Tp = class extends De {
if (t !== this.visible) {
this.visible = t;
const { skipAriaHidden: n } = r;
- U7e(this.eGui, t, { skipAriaHidden: n });
+ F7e(this.eGui, t, { skipAriaHidden: n });
}
}
setDisplayed(t, r = {}) {
@@ -100925,7 +100622,7 @@ var J7e = $ee, Tp = class extends De {
addOrRemoveCssClass(t, r) {
this.cssClassManager.addOrRemoveCssClass(t, r);
}
-}, tje = {
+}, W7e = {
// header column group shown when expanded (click to contract)
columnGroupOpened: "expanded",
// header column group shown when contracted (click to expand)
@@ -101076,8 +100773,8 @@ var J7e = $ee, Tp = class extends De {
// radio button off
radioButtonOff: "radio-button-off"
};
-function gl(e, t, r) {
- const n = zo(e, t, r);
+function pl(e, t, r) {
+ const n = Ho(e, t, r);
if (n) {
const { className: o } = n;
if (typeof o == "string" && o.indexOf("ag-icon") > -1 || typeof o == "object" && o["ag-icon"])
@@ -101086,7 +100783,7 @@ function gl(e, t, r) {
const i = document.createElement("span");
return i.appendChild(n), i;
}
-function zo(e, t, r, n) {
+function Ho(e, t, r, n) {
let i = null;
const o = r && r.getColDef().icons;
if (o && (i = o[e]), t && !i) {
@@ -101103,16 +100800,16 @@ function zo(e, t, r, n) {
throw new Error("icon from grid options needs to be a string or a function");
if (typeof a == "string")
return Kf(a);
- if (XO(a))
+ if (YO(a))
return a;
Be("iconRenderer should return back a string or a dom object");
} else {
const a = document.createElement("span");
- let s = tje[e];
+ let s = W7e[e];
return s || (Be(`Did not find icon ${e}`), s = ""), a.setAttribute("class", `ag-icon ag-icon-${s}`), a.setAttribute("unselectable", "on"), cs(a, "presentation"), a;
}
}
-function Vee(e, t, r) {
+function Fee(e, t, r) {
if (r === 0)
return !1;
const n = Math.abs(e.clientX - t.clientX), i = Math.abs(e.clientY - t.clientY);
@@ -101120,7 +100817,7 @@ function Vee(e, t, r) {
}
var Fc = class {
constructor(e, t = !1) {
- this.DOUBLE_TAP_MILLIS = 500, this.destroyFuncs = [], this.touching = !1, this.localEventService = new Pp(), this.eElement = e, this.preventMouseClick = t;
+ this.DOUBLE_TAP_MILLIS = 500, this.destroyFuncs = [], this.touching = !1, this.localEventService = new Tp(), this.eElement = e, this.preventMouseClick = t;
const r = this.onTouchStart.bind(this), n = this.onTouchMove.bind(this), i = this.onTouchEnd.bind(this);
this.eElement.addEventListener("touchstart", r, { passive: !0 }), this.eElement.addEventListener("touchmove", n, { passive: !0 }), this.eElement.addEventListener("touchend", i, { passive: !1 }), this.destroyFuncs.push(() => {
this.eElement.removeEventListener("touchstart", r, { passive: !0 }), this.eElement.removeEventListener("touchmove", n, { passive: !0 }), this.eElement.removeEventListener("touchend", i, { passive: !1 });
@@ -101162,7 +100859,7 @@ var Fc = class {
const t = this.getActiveTouch(e.touches);
if (!t)
return;
- !Vee(t, this.touchStart, 4) && (this.moved = !0);
+ !Fee(t, this.touchStart, 4) && (this.moved = !0);
}
onTouchEnd(e) {
if (this.touching) {
@@ -101193,7 +100890,7 @@ var Fc = class {
destroy() {
this.destroyFuncs.forEach((e) => e());
}
-}, rje = (
+}, j7e = (
/* html */
`