@turquoisehealth/pit-viper 2.59.0 → 2.61.0
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/package.json +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +11 -2
- package/pv-components/dist/vue/charts/pv-components-charts.js +11 -11
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +445 -438
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +12 -12
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +11 -2
- package/pv-components/dist/vue/tables/pv-components-tables.js +10 -10
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +279 -277
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-f4b87469]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:10}.pv-chart-loading-icon[data-v-f4b87469]{color:#16696d;animation:pulse-f4b87469 1.5s infinite ease-in-out}@keyframes pulse-f4b87469{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-4f022e4e]:hover{color:#16696d}.ag-custom-header-cell[data-v-08855a14]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { defineComponent as Ke, h as wj, ref as de, computed as le, onBeforeMount as bS, createElementBlock as ae, openBlock as Z, normalizeClass as St, createElementVNode as
|
|
2
|
+
import { defineComponent as Ke, h as wj, ref as de, computed as le, onBeforeMount as bS, createElementBlock as ae, openBlock as Z, normalizeClass as St, createElementVNode as ye, watch as Ot, createVNode as ze, createCommentVNode as De, unref as Ee, normalizeStyle as Vl, mergeModels as Cn, useTemplateRef as Ll, toRefs as Mj, useModel as nr, getCurrentInstance as qc, onMounted as Jr, markRaw as Dj, onUnmounted as Ij, mergeDefaults as Aj, toRaw as FE, isRef as kp, isReactive as kj, isProxy as Rj, render as BE, shallowRef as CS, toRef as Tj, readonly as pB, customRef as Lj, toValue as Li, nextTick as xd, getCurrentScope as Ej, onScopeDispose as Pj, renderSlot as Ds, withDirectives as qu, createBlock as Ze, createTextVNode as qs, Teleport as $I, withCtx as Yi, Fragment as Lt, toDisplayString as _e, withModifiers as Ry, renderList as Vr, vModelText as Nj, resolveDynamicComponent as Yp, normalizeProps as Xp, mergeProps as Zp, vShow as Oj, vModelDynamic as Fj, vModelCheckbox as Bj, inject as Xt, onBeforeUnmount as Gj, createSlots as GE, guardReactiveProps as zE, provide as Si } from "vue";
|
|
3
3
|
var gB = Object.defineProperty, zj = Object.getOwnPropertyDescriptor, lr = (e, t) => {
|
|
4
4
|
for (var i in t)
|
|
5
5
|
gB(e, i, { get: t[i], enumerable: !0 });
|
|
@@ -7,8 +7,8 @@ var gB = Object.defineProperty, zj = Object.getOwnPropertyDescriptor, lr = (e, t
|
|
|
7
7
|
for (var s = o > 1 ? void 0 : o ? zj(t, i) : t, n = e.length - 1, r; n >= 0; n--)
|
|
8
8
|
(r = e[n]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
9
9
|
return o && s && gB(t, i, s), s;
|
|
10
|
-
},
|
|
11
|
-
lr(
|
|
10
|
+
}, be = {};
|
|
11
|
+
lr(be, {
|
|
12
12
|
error: () => mB,
|
|
13
13
|
errorOnce: () => Wj,
|
|
14
14
|
log: () => _j,
|
|
@@ -1809,7 +1809,7 @@ var Qp = class {
|
|
|
1809
1809
|
every(e, t) {
|
|
1810
1810
|
let i = 0, o;
|
|
1811
1811
|
const s = e;
|
|
1812
|
-
e = Math.max(1, Math.round(e)), s !== e &&
|
|
1812
|
+
e = Math.max(1, Math.round(e)), s !== e && be.warnOnce(`interval step of [${s}] rounded to [${e}].`);
|
|
1813
1813
|
const { snapTo: n = "start" } = t ?? {};
|
|
1814
1814
|
if (typeof n == "string") {
|
|
1815
1815
|
const l = i;
|
|
@@ -2144,7 +2144,7 @@ var PS = class KB extends LS {
|
|
|
2144
2144
|
return this._paddingOuter;
|
|
2145
2145
|
}
|
|
2146
2146
|
refresh() {
|
|
2147
|
-
this.invalid && (this.invalid = !1, this.update(), this.invalid &&
|
|
2147
|
+
this.invalid && (this.invalid = !1, this.update(), this.invalid && be.warnOnce("Expected update to not invalidate scale"));
|
|
2148
2148
|
}
|
|
2149
2149
|
ticks(t, i = this.domain, o) {
|
|
2150
2150
|
return UB(i, !1, o);
|
|
@@ -2259,7 +2259,7 @@ var Ye = class {
|
|
|
2259
2259
|
set(t) {
|
|
2260
2260
|
const { className: i = this.constructor.name } = this.constructor;
|
|
2261
2261
|
if (typeof t != "object")
|
|
2262
|
-
return
|
|
2262
|
+
return be.warn(`unable to set ${i} - expecting a properties object`), this;
|
|
2263
2263
|
const o = new Set(Object.keys(t));
|
|
2264
2264
|
for (const s of zu(this))
|
|
2265
2265
|
if (o.has(s)) {
|
|
@@ -2267,7 +2267,7 @@ var Ye = class {
|
|
|
2267
2267
|
if (Ga(r[s]))
|
|
2268
2268
|
if (r[s] instanceof Oy) {
|
|
2269
2269
|
const a = r[s].reset(n);
|
|
2270
|
-
a != null ? r[s] = a :
|
|
2270
|
+
a != null ? r[s] = a : be.warn(`unable to set [${s}] - expecting a properties array`);
|
|
2271
2271
|
} else
|
|
2272
2272
|
r[s].set(n);
|
|
2273
2273
|
else
|
|
@@ -2275,13 +2275,13 @@ var Ye = class {
|
|
|
2275
2275
|
o.delete(s);
|
|
2276
2276
|
}
|
|
2277
2277
|
for (const s of o)
|
|
2278
|
-
|
|
2278
|
+
be.warn(`unable to set [${s}] in ${i} - property is unknown`);
|
|
2279
2279
|
return this;
|
|
2280
2280
|
}
|
|
2281
2281
|
isValid(t) {
|
|
2282
2282
|
return zu(this).every((i) => {
|
|
2283
2283
|
const { optional: o } = w$(this, i), s = o === !0 || typeof this[i] < "u";
|
|
2284
|
-
return s ||
|
|
2284
|
+
return s || be.warnOnce(`${t ?? ""}[${i}] is required.`), s;
|
|
2285
2285
|
});
|
|
2286
2286
|
}
|
|
2287
2287
|
toJson() {
|
|
@@ -2323,7 +2323,7 @@ function T(e, t = {}) {
|
|
|
2323
2323
|
if (i && typeof r > "u" || e(r, a))
|
|
2324
2324
|
return Ga(s[n]) && !Ga(r) ? (s[n].set(r), s[n]) : r;
|
|
2325
2325
|
const l = o ?? String(n).replace(/^_*/, ""), c = s.constructor.className ?? s.constructor.name.replace(/Properties$/, ""), d = sm(r, 50);
|
|
2326
|
-
return
|
|
2326
|
+
return be.warn(
|
|
2327
2327
|
`Property [${l}] of [${c}] cannot be set to [${d}]${e.message ? `; expecting ${zy(e, a)}` : ""}, ignoring.`
|
|
2328
2328
|
), r0;
|
|
2329
2329
|
},
|
|
@@ -2348,7 +2348,7 @@ var ja = (...e) => {
|
|
|
2348
2348
|
(e, t) => Ga(e) || Co(e) && Ga(t.target[t.property]),
|
|
2349
2349
|
"a properties object"
|
|
2350
2350
|
)
|
|
2351
|
-
), XB = rA(Rt((e) => Co(e), "an object")), Pe = Rt(bB, "a boolean"), As = Rt(ch, "a function"),
|
|
2351
|
+
), XB = rA(Rt((e) => Co(e), "an object")), Pe = Rt(bB, "a boolean"), As = Rt(ch, "a function"), me = Rt(Ks, "a string"), pt = NU(Rt(yt, "a number")), ZB = Rt((e) => qn(e) && !isNaN(e), "a real number"), NS = Rt((e) => qn(e) && isNaN(e), "NaN"), xe = pt.restrict({ min: 0 }), Dt = pt.restrict({ min: 0, max: 1 }), gg = wd(pt, NS), Fy = PU(Rt(Ut, "an array")), ec = (e, t) => Rt(
|
|
2352
2352
|
(i, o) => Ut(i) && i.every((s) => e(s, o)),
|
|
2353
2353
|
(i) => {
|
|
2354
2354
|
const o = zy(Fy, i) ?? "";
|
|
@@ -2365,7 +2365,7 @@ var ja = (...e) => {
|
|
|
2365
2365
|
`color String. ${qB}`
|
|
2366
2366
|
), QB = rA(
|
|
2367
2367
|
Rt((e) => Co(e) && e.type === "gradient", "a color gradient object")
|
|
2368
|
-
), Dn = Rt(ec(xt), `color strings. ${qB}`), wU = ec(Pe, "boolean values"), OS = ec(pt, "numbers"), JB = ec(
|
|
2368
|
+
), Dn = Rt(ec(xt), `color strings. ${qB}`), wU = ec(Pe, "boolean values"), OS = ec(pt, "numbers"), JB = ec(me, "strings"), MU = Rt(ec(tA), "Date objects"), oA = Rt(ec(Ie), "objects"), DU = _t(["butt", "round", "square"], "a line cap"), IU = _t(["round", "bevel", "miter"], "a line join"), AU = _t(["solid", "dashed", "dotted"], "a line style"), $a = Rt(
|
|
2369
2369
|
ec(xe),
|
|
2370
2370
|
"numbers specifying the length in pixels of alternating dashes and gaps, for example, [6, 3] means dashes with a length of 6 pixels with gaps between of 3 pixels."
|
|
2371
2371
|
), sA = _t(["top", "right", "bottom", "left"], "a position"), tc = _t(["normal", "italic", "oblique"], "a font style"), ic = wd(
|
|
@@ -2383,7 +2383,7 @@ function _t(e, t = "a") {
|
|
|
2383
2383
|
return !1;
|
|
2384
2384
|
if (typeof s != "string" && (s.deprecated === !0 || s.deprecatedTo != null)) {
|
|
2385
2385
|
const n = [`Property [%s] with value '${s.value}' is deprecated.`];
|
|
2386
|
-
s.deprecatedTo && n.push(`Use ${s.deprecatedTo} instead.`),
|
|
2386
|
+
s.deprecatedTo && n.push(`Use ${s.deprecatedTo} instead.`), be.warnOnce(n.join(" "), o.property);
|
|
2387
2387
|
}
|
|
2388
2388
|
return !0;
|
|
2389
2389
|
},
|
|
@@ -2461,16 +2461,16 @@ var OU = 2e3, YE = Date.now(), FU = () => {
|
|
|
2461
2461
|
const e = Date.now() - YE;
|
|
2462
2462
|
if (e > OU) {
|
|
2463
2463
|
const t = (Math.floor(e / 100) / 10).toFixed(1);
|
|
2464
|
-
|
|
2464
|
+
be.log(`**** ${t}s since last log message ****`);
|
|
2465
2465
|
}
|
|
2466
2466
|
YE = Date.now();
|
|
2467
2467
|
}, Gt = {
|
|
2468
2468
|
create(...e) {
|
|
2469
2469
|
return Object.assign((...i) => {
|
|
2470
|
-
Gt.check(...e) && (typeof i[0] == "function" && (i = s0(i[0]())), FU(),
|
|
2470
|
+
Gt.check(...e) && (typeof i[0] == "function" && (i = s0(i[0]())), FU(), be.log(...i));
|
|
2471
2471
|
}, {
|
|
2472
2472
|
check: () => Gt.check(...e),
|
|
2473
|
-
group: (i, o) => Gt.check(...e) ?
|
|
2473
|
+
group: (i, o) => Gt.check(...e) ? be.logGroup(i, o) : o()
|
|
2474
2474
|
});
|
|
2475
2475
|
},
|
|
2476
2476
|
check(...e) {
|
|
@@ -2561,11 +2561,11 @@ var a5 = class {
|
|
|
2561
2561
|
}
|
|
2562
2562
|
update() {
|
|
2563
2563
|
const { domain: t, range: i } = this;
|
|
2564
|
-
t.length < 2 && (
|
|
2564
|
+
t.length < 2 && (be.warnOnce("`colorDomain` should have at least 2 values."), t.length === 0 ? t.push(0, 1) : t.length === 1 && t.push(t[0] + 1));
|
|
2565
2565
|
for (let o = 1; o < t.length; o++) {
|
|
2566
2566
|
const s = t[o - 1], n = t[o];
|
|
2567
2567
|
if (s >= n) {
|
|
2568
|
-
|
|
2568
|
+
be.warnOnce("`colorDomain` values should be supplied in ascending order."), t.sort((r, a) => r - a);
|
|
2569
2569
|
break;
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
@@ -2602,7 +2602,7 @@ var a5 = class {
|
|
|
2602
2602
|
invert() {
|
|
2603
2603
|
}
|
|
2604
2604
|
refresh() {
|
|
2605
|
-
this.invalid && (this.invalid = !1, this.update(), this.invalid &&
|
|
2605
|
+
this.invalid && (this.invalid = !1, this.update(), this.invalid && be.warnOnce("Expected update to not invalidate scale"));
|
|
2606
2606
|
}
|
|
2607
2607
|
};
|
|
2608
2608
|
A([
|
|
@@ -2720,7 +2720,7 @@ function d5(e, t, i, o = "continuous") {
|
|
|
2720
2720
|
if (e.length === 0)
|
|
2721
2721
|
return VU(t, o);
|
|
2722
2722
|
if (!_U(e))
|
|
2723
|
-
return
|
|
2723
|
+
return be.warnOnce("[fills] must have the stops defined in ascending order"), [];
|
|
2724
2724
|
const s = Math.min(...i), n = Math.max(...i), r = o === "discrete", a = new Float64Array(e.length);
|
|
2725
2725
|
let l = 0, c = -1;
|
|
2726
2726
|
for (let p = 0; p < e.length; p += 1) {
|
|
@@ -3916,7 +3916,7 @@ A([
|
|
|
3916
3916
|
wo("node", "visible")
|
|
3917
3917
|
], Bt.prototype, "enabled", 2);
|
|
3918
3918
|
A([
|
|
3919
|
-
T(
|
|
3919
|
+
T(me, { optional: !0 }),
|
|
3920
3920
|
wo("node")
|
|
3921
3921
|
], Bt.prototype, "text", 2);
|
|
3922
3922
|
A([
|
|
@@ -3936,7 +3936,7 @@ A([
|
|
|
3936
3936
|
wo("node")
|
|
3937
3937
|
], Bt.prototype, "fontSize", 2);
|
|
3938
3938
|
A([
|
|
3939
|
-
T(
|
|
3939
|
+
T(me),
|
|
3940
3940
|
wo("node")
|
|
3941
3941
|
], Bt.prototype, "fontFamily", 2);
|
|
3942
3942
|
A([
|
|
@@ -3959,7 +3959,7 @@ A([
|
|
|
3959
3959
|
T(xe)
|
|
3960
3960
|
], Bt.prototype, "padding", 2);
|
|
3961
3961
|
A([
|
|
3962
|
-
T(
|
|
3962
|
+
T(me)
|
|
3963
3963
|
], Bt.prototype, "layoutStyle", 2);
|
|
3964
3964
|
var fA = /* @__PURE__ */ ((e) => (e.X = "x", e.Y = "y", e))(fA || {}), mA = class {
|
|
3965
3965
|
constructor() {
|
|
@@ -4277,7 +4277,7 @@ function Gm(e, t, i) {
|
|
|
4277
4277
|
return r;
|
|
4278
4278
|
}
|
|
4279
4279
|
function zm(e, t) {
|
|
4280
|
-
return e >= t ? (
|
|
4280
|
+
return e >= t ? (be.warnOnce(
|
|
4281
4281
|
"the configured interval results in more than 1 item per pixel, ignoring. Supply a larger interval or omit this configuration"
|
|
4282
4282
|
), !0) : !1;
|
|
4283
4283
|
}
|
|
@@ -4789,7 +4789,7 @@ A([
|
|
|
4789
4789
|
T(xe)
|
|
4790
4790
|
], co.prototype, "fontSize", 2);
|
|
4791
4791
|
A([
|
|
4792
|
-
T(
|
|
4792
|
+
T(me)
|
|
4793
4793
|
], co.prototype, "fontFamily", 2);
|
|
4794
4794
|
A([
|
|
4795
4795
|
T(As, { optional: !0 })
|
|
@@ -4861,7 +4861,7 @@ var CA = (e) => e === "value" ? Rt(
|
|
|
4861
4861
|
if (n && d || r && d && u)
|
|
4862
4862
|
return s?.() ?? !0;
|
|
4863
4863
|
const h = ["Expecting crossLine"];
|
|
4864
|
-
return r ? (d || h.push(`range start ${sm(a)}`), u || h.push(`${d ? "" : "and "}range end ${sm(l)}`)) : h.push(`value ${sm(a)}`), h.push("to match the axis scale domain."),
|
|
4864
|
+
return r ? (d || h.push(`range start ${sm(a)}`), u || h.push(`${d ? "" : "and "}range end ${sm(l)}`)) : h.push(`value ${sm(a)}`), h.push("to match the axis scale domain."), be.warnOnce(h.join(" ")), !1;
|
|
4865
4865
|
}, mK = {
|
|
4866
4866
|
top: { xTranslationDirection: 0, yTranslationDirection: -1 },
|
|
4867
4867
|
bottom: { xTranslationDirection: 0, yTranslationDirection: 1 },
|
|
@@ -4968,7 +4968,7 @@ A([
|
|
|
4968
4968
|
T(Pe, { optional: !0 })
|
|
4969
4969
|
], dr.prototype, "enabled", 2);
|
|
4970
4970
|
A([
|
|
4971
|
-
T(
|
|
4971
|
+
T(me, { optional: !0 })
|
|
4972
4972
|
], dr.prototype, "text", 2);
|
|
4973
4973
|
A([
|
|
4974
4974
|
T(tc, { optional: !0 })
|
|
@@ -4980,7 +4980,7 @@ A([
|
|
|
4980
4980
|
T(xe)
|
|
4981
4981
|
], dr.prototype, "fontSize", 2);
|
|
4982
4982
|
A([
|
|
4983
|
-
T(
|
|
4983
|
+
T(me)
|
|
4984
4984
|
], dr.prototype, "fontFamily", 2);
|
|
4985
4985
|
A([
|
|
4986
4986
|
T(pt)
|
|
@@ -5270,7 +5270,7 @@ A([
|
|
|
5270
5270
|
T(pt.restrict({ min: 1 }))
|
|
5271
5271
|
], uo.prototype, "fontSize", 2);
|
|
5272
5272
|
A([
|
|
5273
|
-
T(
|
|
5273
|
+
T(me)
|
|
5274
5274
|
], uo.prototype, "fontFamily", 2);
|
|
5275
5275
|
A([
|
|
5276
5276
|
T(xe)
|
|
@@ -5301,7 +5301,7 @@ A([
|
|
|
5301
5301
|
T(As, { optional: !0 })
|
|
5302
5302
|
], uo.prototype, "formatter", 2);
|
|
5303
5303
|
A([
|
|
5304
|
-
T(
|
|
5304
|
+
T(me, { optional: !0 })
|
|
5305
5305
|
], uo.prototype, "format", 2);
|
|
5306
5306
|
var HS = class {
|
|
5307
5307
|
constructor() {
|
|
@@ -5343,7 +5343,7 @@ A([
|
|
|
5343
5343
|
T(Pe)
|
|
5344
5344
|
], ta.prototype, "enabled", 2);
|
|
5345
5345
|
A([
|
|
5346
|
-
T(
|
|
5346
|
+
T(me, { optional: !0 })
|
|
5347
5347
|
], ta.prototype, "text", 2);
|
|
5348
5348
|
A([
|
|
5349
5349
|
T(xe, { optional: !0 })
|
|
@@ -5358,7 +5358,7 @@ A([
|
|
|
5358
5358
|
T(xe)
|
|
5359
5359
|
], ta.prototype, "fontSize", 2);
|
|
5360
5360
|
A([
|
|
5361
|
-
T(
|
|
5361
|
+
T(me)
|
|
5362
5362
|
], ta.prototype, "fontFamily", 2);
|
|
5363
5363
|
A([
|
|
5364
5364
|
T(xt, { optional: !0 })
|
|
@@ -5774,7 +5774,7 @@ var g0 = class extends uh(An) {
|
|
|
5774
5774
|
try {
|
|
5775
5775
|
t != null && i != null && (o = this.scale.tickFormatter({ ...i, specifier: t }));
|
|
5776
5776
|
} catch {
|
|
5777
|
-
|
|
5777
|
+
be.warnOnce(`the format string ${t} is invalid, ignoring.`);
|
|
5778
5778
|
}
|
|
5779
5779
|
return o ?? (o = (s) => this.formatDatum(s)), o;
|
|
5780
5780
|
}
|
|
@@ -6646,11 +6646,11 @@ function cm(e, t, i = {}) {
|
|
|
6646
6646
|
if (a === TD && !(l in e)) {
|
|
6647
6647
|
if (d === void 0)
|
|
6648
6648
|
continue;
|
|
6649
|
-
|
|
6649
|
+
be.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);
|
|
6650
6650
|
continue;
|
|
6651
6651
|
}
|
|
6652
6652
|
if (g != null && f != null && f !== g && (g !== TD || f !== "object")) {
|
|
6653
|
-
|
|
6653
|
+
be.warn(
|
|
6654
6654
|
`unable to set [${u}] in ${h?.name} - can't apply type of [${f}], allowed types are: [${g}]`
|
|
6655
6655
|
);
|
|
6656
6656
|
continue;
|
|
@@ -6659,7 +6659,7 @@ function cm(e, t, i = {}) {
|
|
|
6659
6659
|
r[l].set(d);
|
|
6660
6660
|
else if (f === "object") {
|
|
6661
6661
|
if (p == null) {
|
|
6662
|
-
|
|
6662
|
+
be.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);
|
|
6663
6663
|
continue;
|
|
6664
6664
|
}
|
|
6665
6665
|
cm(p, d, {
|
|
@@ -6670,7 +6670,7 @@ function cm(e, t, i = {}) {
|
|
|
6670
6670
|
} else
|
|
6671
6671
|
r[l] = d;
|
|
6672
6672
|
} catch (g) {
|
|
6673
|
-
|
|
6673
|
+
be.warn(`unable to set [${u}] in [${h?.name}]; nested error is: ${g.message}`);
|
|
6674
6674
|
}
|
|
6675
6675
|
}
|
|
6676
6676
|
return e;
|
|
@@ -6733,20 +6733,20 @@ var J5 = {
|
|
|
6733
6733
|
if (n !== "$ref")
|
|
6734
6734
|
return t[e];
|
|
6735
6735
|
if (s?.has(r)) {
|
|
6736
|
-
|
|
6736
|
+
be.warnOnce(
|
|
6737
6737
|
`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], circular reference detected with [${[...s].join(", ")}].`
|
|
6738
6738
|
);
|
|
6739
6739
|
return;
|
|
6740
6740
|
}
|
|
6741
6741
|
return s?.add(r), J5.$ref(r, t, i, o, s);
|
|
6742
6742
|
}
|
|
6743
|
-
|
|
6743
|
+
be.warnOnce(
|
|
6744
6744
|
`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting one of [${Object.keys(t).join(", ")}].`
|
|
6745
6745
|
);
|
|
6746
6746
|
},
|
|
6747
6747
|
$path: (e, t, i, o) => {
|
|
6748
6748
|
if (!Ks(e)) {
|
|
6749
|
-
|
|
6749
|
+
be.warnOnce(
|
|
6750
6750
|
`\`$path\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting a string.`
|
|
6751
6751
|
);
|
|
6752
6752
|
return;
|
|
@@ -6757,7 +6757,7 @@ var J5 = {
|
|
|
6757
6757
|
let r = i;
|
|
6758
6758
|
for (const a of n) {
|
|
6759
6759
|
if (!(a in r)) {
|
|
6760
|
-
|
|
6760
|
+
be.warnOnce(
|
|
6761
6761
|
`\`$path\` json operation failed on [${String(e)}] at [${o.join(".")}], could not find path in object.`
|
|
6762
6762
|
);
|
|
6763
6763
|
return;
|
|
@@ -6774,14 +6774,14 @@ var J5 = {
|
|
|
6774
6774
|
$mul: ([e, t], i, o, s) => {
|
|
6775
6775
|
if (typeof e == "number" && typeof t == "number")
|
|
6776
6776
|
return e * t;
|
|
6777
|
-
|
|
6777
|
+
be.warnOnce(
|
|
6778
6778
|
`\`$mul\` json operation failed on [${String(e)}] and [${String(t)}] at [${s.join(".")}], expecting two numbers.`
|
|
6779
6779
|
);
|
|
6780
6780
|
},
|
|
6781
6781
|
$round: ([e], t, i, o) => {
|
|
6782
6782
|
if (typeof e == "number")
|
|
6783
6783
|
return Math.round(e);
|
|
6784
|
-
|
|
6784
|
+
be.warnOnce(
|
|
6785
6785
|
`\`$round\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting a number.`
|
|
6786
6786
|
);
|
|
6787
6787
|
},
|
|
@@ -6795,7 +6795,7 @@ var J5 = {
|
|
|
6795
6795
|
return li.mix(li.fromString(e), li.fromString(t), i).toString();
|
|
6796
6796
|
} catch {
|
|
6797
6797
|
}
|
|
6798
|
-
|
|
6798
|
+
be.warnOnce(
|
|
6799
6799
|
`\`$mix\` json operation failed on [${String(e)}, ${String(t)}, ${String(i)}] at [${n.join(".")}], expecting two colors and a number between 0 and 1.`
|
|
6800
6800
|
);
|
|
6801
6801
|
},
|
|
@@ -6806,7 +6806,7 @@ var J5 = {
|
|
|
6806
6806
|
li.fromString(t.backgroundColor),
|
|
6807
6807
|
e
|
|
6808
6808
|
).toString();
|
|
6809
|
-
|
|
6809
|
+
be.warnOnce(
|
|
6810
6810
|
`\`$foregroundBackgroundMix\` json operation failed on [${String(e)}}}] at [${o.join(".")}], expecting a number between 0 and 1.`
|
|
6811
6811
|
);
|
|
6812
6812
|
},
|
|
@@ -6821,7 +6821,7 @@ var J5 = {
|
|
|
6821
6821
|
li.fromString(i.accentColor),
|
|
6822
6822
|
t
|
|
6823
6823
|
).toString();
|
|
6824
|
-
|
|
6824
|
+
be.warnOnce(
|
|
6825
6825
|
`\`$foregroundBackgroundAccentMix\` json operation failed on [${String(e)}, ${String(t)}}] at [${s.join(".")}], expecting two numbers between 0 and 1.`
|
|
6826
6826
|
);
|
|
6827
6827
|
}
|
|
@@ -6831,7 +6831,7 @@ var J5 = {
|
|
|
6831
6831
|
}
|
|
6832
6832
|
acquire(e) {
|
|
6833
6833
|
return new Promise((t) => {
|
|
6834
|
-
this.acquireQueue.push([e, t]), this.available && this.dispatchNext().catch((i) =>
|
|
6834
|
+
this.acquireQueue.push([e, t]), this.available && this.dispatchNext().catch((i) => be.errorOnce(i));
|
|
6835
6835
|
});
|
|
6836
6836
|
}
|
|
6837
6837
|
async acquireImmediately(e) {
|
|
@@ -6847,7 +6847,7 @@ var J5 = {
|
|
|
6847
6847
|
try {
|
|
6848
6848
|
await e(), t?.();
|
|
6849
6849
|
} catch (i) {
|
|
6850
|
-
|
|
6850
|
+
be.error("mutex callback error", i), t?.();
|
|
6851
6851
|
}
|
|
6852
6852
|
[e, t] = this.acquireQueue.shift() ?? [];
|
|
6853
6853
|
}
|
|
@@ -7534,7 +7534,7 @@ var rY = [
|
|
|
7534
7534
|
if (i == null)
|
|
7535
7535
|
return;
|
|
7536
7536
|
const o = { chartType: i };
|
|
7537
|
-
this.chartService.publicApi?.updateDelta(o).catch((s) =>
|
|
7537
|
+
this.chartService.publicApi?.updateDelta(o).catch((s) => be.error("error restoring state", s));
|
|
7538
7538
|
}
|
|
7539
7539
|
}, oG = class {
|
|
7540
7540
|
constructor() {
|
|
@@ -7626,15 +7626,15 @@ var rY = [
|
|
|
7626
7626
|
}
|
|
7627
7627
|
restore(t, ...i) {
|
|
7628
7628
|
if (typeof t != "object") {
|
|
7629
|
-
|
|
7629
|
+
be.warnOnce(`Could not restore data of type [${typeof t}], expecting an object, ignoring.`);
|
|
7630
7630
|
return;
|
|
7631
7631
|
}
|
|
7632
7632
|
if (t == null) {
|
|
7633
|
-
|
|
7633
|
+
be.warnOnce("Could not restore data of type [null], expecting an object, ignoring.");
|
|
7634
7634
|
return;
|
|
7635
7635
|
}
|
|
7636
7636
|
if (!("version" in t) || typeof t.version != "string") {
|
|
7637
|
-
|
|
7637
|
+
be.warnOnce("Could not restore data, missing [version] string in object, ignoring.");
|
|
7638
7638
|
return;
|
|
7639
7639
|
}
|
|
7640
7640
|
for (const o of i) {
|
|
@@ -7647,7 +7647,7 @@ ${n.join(`
|
|
|
7647
7647
|
`)}
|
|
7648
7648
|
|
|
7649
7649
|
` : "";
|
|
7650
|
-
|
|
7650
|
+
be.warnOnce(
|
|
7651
7651
|
`Could not restore [${o.mementoOriginatorKey}] data, value was invalid, ignoring.${r}`,
|
|
7652
7652
|
s
|
|
7653
7653
|
);
|
|
@@ -7728,7 +7728,7 @@ ${n.join(`
|
|
|
7728
7728
|
try {
|
|
7729
7729
|
o.handler(...i);
|
|
7730
7730
|
} catch (s) {
|
|
7731
|
-
|
|
7731
|
+
be.errorOnce(String(s));
|
|
7732
7732
|
}
|
|
7733
7733
|
}
|
|
7734
7734
|
getListenersByType(t) {
|
|
@@ -8831,7 +8831,7 @@ var pG = class {
|
|
|
8831
8831
|
datetime: new Intl.DateTimeFormat("en-US", { dateStyle: "full", timeStyle: "full" })
|
|
8832
8832
|
}, TY = ({ defaultValue: e, variables: t }) => e?.replaceAll(RY, (i, o, s) => {
|
|
8833
8833
|
const n = t[o], r = s != null ? aM[s] : null;
|
|
8834
|
-
return s != null && r == null &&
|
|
8834
|
+
return s != null && r == null && be.warnOnce(`Format style [${s}] is not supported`), r != null ? r.format(n) : typeof n == "number" ? aM.number.format(n) : n instanceof Date ? aM.datetime.format(n) : String(n);
|
|
8835
8835
|
}), LY = class extends nc {
|
|
8836
8836
|
constructor() {
|
|
8837
8837
|
super(...arguments), this.localeText = void 0, this.getLocaleText = void 0;
|
|
@@ -8962,7 +8962,7 @@ function FY(e, t) {
|
|
|
8962
8962
|
for (const [i, o] of Object.entries(t)) {
|
|
8963
8963
|
const s = fi.toCanvas(o);
|
|
8964
8964
|
if (!s) {
|
|
8965
|
-
|
|
8965
|
+
be.log(`Scene.render() - no bbox for debugged node [${i}].`);
|
|
8966
8966
|
continue;
|
|
8967
8967
|
}
|
|
8968
8968
|
e.globalAlpha = 0.8, e.strokeStyle = "red", e.lineWidth = 1, e.strokeRect(s.x, s.y, s.width, s.height), e.fillStyle = "red", e.strokeStyle = "white", e.font = "16px sans-serif", e.textBaseline = "top", e.textAlign = "left", e.lineWidth = 2, e.strokeText(i, s.x, s.y, s.width), e.fillText(i, s.x, s.y, s.width);
|
|
@@ -9210,7 +9210,7 @@ var VY = class {
|
|
|
9210
9210
|
const s = e(...t);
|
|
9211
9211
|
return i && o != null && i.set(o, s), s;
|
|
9212
9212
|
} catch (s) {
|
|
9213
|
-
|
|
9213
|
+
be.warnOnce("User callback errored, ignoring", s);
|
|
9214
9214
|
return;
|
|
9215
9215
|
}
|
|
9216
9216
|
}
|
|
@@ -9327,7 +9327,7 @@ var VY = class {
|
|
|
9327
9327
|
}
|
|
9328
9328
|
createThrottledFetch(e) {
|
|
9329
9329
|
return VE(
|
|
9330
|
-
(t) => this.fetch(t).catch((i) =>
|
|
9330
|
+
(t) => this.fetch(t).catch((i) => be.error("callback failed", i)),
|
|
9331
9331
|
e,
|
|
9332
9332
|
{
|
|
9333
9333
|
leading: !1,
|
|
@@ -9356,7 +9356,7 @@ var VY = class {
|
|
|
9356
9356
|
try {
|
|
9357
9357
|
o = await this.dataSourceCallback(e), this.debug(`DataService - response | ${performance.now() - t}ms | ${i}`);
|
|
9358
9358
|
} catch (n) {
|
|
9359
|
-
this.debug(`DataService - request failed | ${i}`),
|
|
9359
|
+
this.debug(`DataService - request failed | ${i}`), be.errorOnce(`DataService - request failed | [${n}]`);
|
|
9360
9360
|
}
|
|
9361
9361
|
this.isLoadingInitialData = !1;
|
|
9362
9362
|
const s = this.freshRequests.findIndex((n) => n === i);
|
|
@@ -9472,7 +9472,7 @@ var M2 = class {
|
|
|
9472
9472
|
try {
|
|
9473
9473
|
e.stop(), this.removeAnimation(e);
|
|
9474
9474
|
} catch (t) {
|
|
9475
|
-
|
|
9475
|
+
be.error("Error during animation stop", t);
|
|
9476
9476
|
}
|
|
9477
9477
|
this.dispatchStopped();
|
|
9478
9478
|
}
|
|
@@ -9601,7 +9601,7 @@ var yG = class {
|
|
|
9601
9601
|
/** Mocking point for tests to capture requestAnimationFrame callbacks. */
|
|
9602
9602
|
scheduleAnimationFrame(e) {
|
|
9603
9603
|
this.requestId = $t().requestAnimationFrame((t) => {
|
|
9604
|
-
e(t).catch((i) =>
|
|
9604
|
+
e(t).catch((i) => be.error(i));
|
|
9605
9605
|
});
|
|
9606
9606
|
}
|
|
9607
9607
|
/** Mocking point for tests to skip animations to a specific point in time. */
|
|
@@ -9646,7 +9646,7 @@ var yG = class {
|
|
|
9646
9646
|
this.requestId !== null && (cancelAnimationFrame(this.requestId), this.requestId = null, this.startBatch());
|
|
9647
9647
|
}
|
|
9648
9648
|
failsafeOnError(e, t = !0) {
|
|
9649
|
-
|
|
9649
|
+
be.error("Error during animation, skipping animations", e), t && this.cancelAnimation();
|
|
9650
9650
|
}
|
|
9651
9651
|
startBatch(e) {
|
|
9652
9652
|
this.debug(`AnimationManager - startBatch() with skipAnimations=${e}.`), this.reset(), this.batch.destroy(), this.batch = new M2(this.defaultDuration * 1.5), e === !0 && this.batch.skip();
|
|
@@ -10155,9 +10155,9 @@ var rX = ["rangeX", "rangeY", "ratioX", "ratioY", "autoScaledAxes"], aX = class
|
|
|
10155
10155
|
return this.zoomModule;
|
|
10156
10156
|
}
|
|
10157
10157
|
updateZoom(e, t) {
|
|
10158
|
-
if (t?.x && (t.x.min < 0 || t.x.max > 1) && (
|
|
10158
|
+
if (t?.x && (t.x.min < 0 || t.x.max > 1) && (be.warnOnce(
|
|
10159
10159
|
`Attempted to update x-axis zoom to an invalid ratio of [{ min: ${t.x.min}, max: ${t.x.max} }], expecting a ratio of 0 to 1, ignoring.`
|
|
10160
|
-
), t.x = void 0), t?.y && (t.y.min < 0 || t.y.max > 1) && (
|
|
10160
|
+
), t.x = void 0), t?.y && (t.y.min < 0 || t.y.max > 1) && (be.warnOnce(
|
|
10161
10161
|
`Attempted to update y-axis zoom to an invalid ratio of [{ min: ${t.y.min}, max: ${t.y.max} }], expecting a ratio of 0 to 1, ignoring.`
|
|
10162
10162
|
), t.y = void 0), this.axisZoomManagers.size === 0) {
|
|
10163
10163
|
const o = this.state.stateId();
|
|
@@ -10207,7 +10207,7 @@ var rX = ["rangeX", "rangeY", "ratioX", "ratioY", "autoScaledAxes"], aX = class
|
|
|
10207
10207
|
if (o === void 0 || !o.x && !o.y)
|
|
10208
10208
|
return !1;
|
|
10209
10209
|
if (!(t.width > 0 && t.height > 0 && Math.abs(i.width) <= Math.abs(t.width) && Math.abs(i.height) <= Math.abs(t.height)))
|
|
10210
|
-
return
|
|
10210
|
+
return be.warnOnce("cannot pan to target BBox - chart too small?"), !1;
|
|
10211
10211
|
const n = nX(t, o, i);
|
|
10212
10212
|
return this.independentAxes ? (this.updatePrimaryAxisZoom(e, "x", n.x), this.updatePrimaryAxisZoom(e, "y", n.y)) : this.updateZoom(e, n), !0;
|
|
10213
10213
|
}
|
|
@@ -10362,13 +10362,13 @@ var rX = ["rangeX", "rangeY", "ratioX", "ratioY", "autoScaledAxes"], aX = class
|
|
|
10362
10362
|
return;
|
|
10363
10363
|
const [l, c] = [Math.min(s, n), Math.max(s, n)];
|
|
10364
10364
|
if (r < l || r > c) {
|
|
10365
|
-
|
|
10365
|
+
be.warnOnce(
|
|
10366
10366
|
`Invalid range start [${e.start}], expecting a value between [${i.scale.invert?.(s)}] and [${i.scale.invert?.(n)}], ignoring.`
|
|
10367
10367
|
);
|
|
10368
10368
|
return;
|
|
10369
10369
|
}
|
|
10370
10370
|
if (a < l || a > c) {
|
|
10371
|
-
|
|
10371
|
+
be.warnOnce(
|
|
10372
10372
|
`Invalid range end [${e.end}], expecting a value between [${i.scale.invert?.(s)}] and [${i.scale.invert?.(n)}], ignoring.`
|
|
10373
10373
|
);
|
|
10374
10374
|
return;
|
|
@@ -10540,7 +10540,7 @@ var rX = ["rangeX", "rangeY", "ratioX", "ratioY", "autoScaledAxes"], aX = class
|
|
|
10540
10540
|
}
|
|
10541
10541
|
}
|
|
10542
10542
|
warnFixed(e, t) {
|
|
10543
|
-
|
|
10543
|
+
be.warnOnce(
|
|
10544
10544
|
`The legend item with seriesId [${e}] and itemId [${t}] is not configurable, this series item cannot be toggled through the legend.`
|
|
10545
10545
|
);
|
|
10546
10546
|
}
|
|
@@ -11040,7 +11040,7 @@ var TG = class {
|
|
|
11040
11040
|
if (o < (e.get(i)?.length ?? 1 / 0))
|
|
11041
11041
|
continue;
|
|
11042
11042
|
const s = i == null ? "" : ` for ${i}`;
|
|
11043
|
-
|
|
11043
|
+
be.warnOnce(`the key '${t.property}' was not found in any data element${s}.`);
|
|
11044
11044
|
}
|
|
11045
11045
|
}
|
|
11046
11046
|
processScopeCache() {
|
|
@@ -11353,7 +11353,7 @@ var TG = class {
|
|
|
11353
11353
|
if ("invalidValue" in c)
|
|
11354
11354
|
g = c.invalidValue;
|
|
11355
11355
|
else
|
|
11356
|
-
return this.mode !== "integrated" &&
|
|
11356
|
+
return this.mode !== "integrated" && be.warnOnce(
|
|
11357
11357
|
`invalid value of type [${typeof g}] for [${c.scopes} / ${c.id}] ignored:`,
|
|
11358
11358
|
`[${g}]`
|
|
11359
11359
|
), ib;
|
|
@@ -11369,7 +11369,7 @@ var TG = class {
|
|
|
11369
11369
|
continue;
|
|
11370
11370
|
const s = RG(i.property);
|
|
11371
11371
|
if (s == null) {
|
|
11372
|
-
|
|
11372
|
+
be.warnOnce("Invalid property path [%s]", i.property);
|
|
11373
11373
|
continue;
|
|
11374
11374
|
}
|
|
11375
11375
|
const n = SX(s);
|
|
@@ -11380,9 +11380,9 @@ var TG = class {
|
|
|
11380
11380
|
};
|
|
11381
11381
|
function xX(e) {
|
|
11382
11382
|
const t = (i, o) => {
|
|
11383
|
-
o.length > 0 && (
|
|
11383
|
+
o.length > 0 && (be.log(`DataModel.processData() - ${i}`), be.table(o));
|
|
11384
11384
|
};
|
|
11385
|
-
|
|
11385
|
+
be.log("DataModel.processData() - processedData", e), t("Key Domains", e.domain.keys), t("Group Domains", e.domain.groups ?? []), t("Value Domains", e.domain.values), t("Aggregate Domains", e.domain.aggValues ?? []);
|
|
11386
11386
|
}
|
|
11387
11387
|
var LG = class yl {
|
|
11388
11388
|
constructor(t, i) {
|
|
@@ -12046,7 +12046,7 @@ A([
|
|
|
12046
12046
|
T(Pe)
|
|
12047
12047
|
], Pu.prototype, "enabled", 2);
|
|
12048
12048
|
A([
|
|
12049
|
-
T(
|
|
12049
|
+
T(me, { optional: !0 })
|
|
12050
12050
|
], Pu.prototype, "text", 2);
|
|
12051
12051
|
A([
|
|
12052
12052
|
T(As, { optional: !0 })
|
|
@@ -12733,7 +12733,7 @@ var _m = class {
|
|
|
12733
12733
|
break;
|
|
12734
12734
|
}
|
|
12735
12735
|
case 3:
|
|
12736
|
-
|
|
12736
|
+
be.error("Command.Curve distanceSquare not implemented");
|
|
12737
12737
|
break;
|
|
12738
12738
|
case 2: {
|
|
12739
12739
|
const p = n[h++], g = n[h++], f = n[h++], y = n[h++], m = n[h++], v = p + Math.cos(y) * f, C = g + Math.sin(y) * f, S = !!n[h++];
|
|
@@ -14041,10 +14041,10 @@ function DZ() {
|
|
|
14041
14041
|
const { userAgent: e } = $t("navigator");
|
|
14042
14042
|
if (bZ.test(e)) {
|
|
14043
14043
|
const t = parseFloat(CZ.exec(e)?.[1] ?? "0"), i = Math.floor(t) > 16;
|
|
14044
|
-
return i ||
|
|
14044
|
+
return i || be.warnOnce(`Unsupported Safari version: ${t}; ${e}`), !i;
|
|
14045
14045
|
} else if (SZ.test(e) && !wZ.test(e) && !MZ.test(e)) {
|
|
14046
14046
|
const t = parseInt(xZ.exec(e)?.[1] ?? "0", 10), i = t > 126;
|
|
14047
|
-
return i ||
|
|
14047
|
+
return i || be.warnOnce(`Unsupported Chrome version: ${t}; ${e}`), !i;
|
|
14048
14048
|
}
|
|
14049
14049
|
return !1;
|
|
14050
14050
|
}
|
|
@@ -14105,9 +14105,9 @@ var Ei = class YG extends eG {
|
|
|
14105
14105
|
try {
|
|
14106
14106
|
await this.performUpdate(d);
|
|
14107
14107
|
} catch (u) {
|
|
14108
|
-
|
|
14108
|
+
be.error("update error", u);
|
|
14109
14109
|
}
|
|
14110
|
-
}).catch((u) =>
|
|
14110
|
+
}).catch((u) => be.errorOnce(u));
|
|
14111
14111
|
}), this._performUpdateSplits = {}, this.axes = [], this.series = [], this._cachedData = void 0, this.onSeriesNodeClick = (d) => {
|
|
14112
14112
|
this.fireEvent({ ...d, type: "seriesNodeClick" });
|
|
14113
14113
|
}, this.onSeriesNodeDoubleClick = (d) => {
|
|
@@ -14252,7 +14252,7 @@ var Ei = class YG extends eG {
|
|
|
14252
14252
|
} finally {
|
|
14253
14253
|
this.destroyed || this._pendingFactoryUpdatesCount--;
|
|
14254
14254
|
}
|
|
14255
|
-
}).catch((i) =>
|
|
14255
|
+
}).catch((i) => be.errorOnce(i)));
|
|
14256
14256
|
}
|
|
14257
14257
|
update(t = 0, i) {
|
|
14258
14258
|
if (this.destroyed)
|
|
@@ -14362,7 +14362,7 @@ var Ei = class YG extends eG {
|
|
|
14362
14362
|
this.ctx.domManager.updateCanvasLabel(this.getAriaLabel());
|
|
14363
14363
|
}
|
|
14364
14364
|
checkUpdateShortcut(t) {
|
|
14365
|
-
return this.destroyed ? !0 : this.updateShortcutCount > 3 ? (
|
|
14365
|
+
return this.destroyed ? !0 : this.updateShortcutCount > 3 ? (be.warn(
|
|
14366
14366
|
"exceeded the maximum number of simultaneous updates (4), discarding changes and rendering",
|
|
14367
14367
|
this.updateRequestors
|
|
14368
14368
|
), !1) : this.performUpdateType <= t ? (this.updateShortcutCount++, !0) : !1;
|
|
@@ -14414,7 +14414,7 @@ var Ei = class YG extends eG {
|
|
|
14414
14414
|
for (const o of i.directions) {
|
|
14415
14415
|
const s = t[o];
|
|
14416
14416
|
if (!s) {
|
|
14417
|
-
|
|
14417
|
+
be.warnOnce(
|
|
14418
14418
|
`no available axis for direction [${o}]; check series and axes configuration.`
|
|
14419
14419
|
);
|
|
14420
14420
|
return;
|
|
@@ -14423,7 +14423,7 @@ var Ei = class YG extends eG {
|
|
|
14423
14423
|
(a) => !a.keys.length || n.some((l) => a.keys.includes(l))
|
|
14424
14424
|
);
|
|
14425
14425
|
if (!r) {
|
|
14426
|
-
|
|
14426
|
+
be.warnOnce(
|
|
14427
14427
|
`no matching axis for direction [${o}] and keys [${n}]; check series and axes configuration.`
|
|
14428
14428
|
);
|
|
14429
14429
|
return;
|
|
@@ -14500,7 +14500,7 @@ var Ei = class YG extends eG {
|
|
|
14500
14500
|
if (c.fill == null)
|
|
14501
14501
|
continue;
|
|
14502
14502
|
const u = a.get(l), h = r[u] ?? (r[u] = {});
|
|
14503
|
-
h[i = d.text] ?? (h[i] = c.fill), h[d.text] !== c.fill &&
|
|
14503
|
+
h[i = d.text] ?? (h[i] = c.fill), h[d.text] !== c.fill && be.warnOnce(
|
|
14504
14504
|
`legend item '${d.text}' has multiple fill colors, this may cause unexpected behaviour.`
|
|
14505
14505
|
);
|
|
14506
14506
|
}
|
|
@@ -14529,7 +14529,7 @@ var Ei = class YG extends eG {
|
|
|
14529
14529
|
const s = `Chart.waitForUpdate() timeout of ${t} reached - first chart update taking too long.`;
|
|
14530
14530
|
if (i)
|
|
14531
14531
|
throw new Error(s);
|
|
14532
|
-
|
|
14532
|
+
be.warnOnce(s);
|
|
14533
14533
|
}
|
|
14534
14534
|
Y5() && await FK();
|
|
14535
14535
|
}
|
|
@@ -15206,7 +15206,7 @@ var kn = class extends Ye {
|
|
|
15206
15206
|
}
|
|
15207
15207
|
};
|
|
15208
15208
|
A([
|
|
15209
|
-
T(
|
|
15209
|
+
T(me, { optional: !0 })
|
|
15210
15210
|
], kn.prototype, "id", 2);
|
|
15211
15211
|
A([
|
|
15212
15212
|
T(Pe)
|
|
@@ -15218,7 +15218,7 @@ A([
|
|
|
15218
15218
|
T(Pe)
|
|
15219
15219
|
], kn.prototype, "showInLegend", 2);
|
|
15220
15220
|
A([
|
|
15221
|
-
T(
|
|
15221
|
+
T(me)
|
|
15222
15222
|
], kn.prototype, "cursor", 2);
|
|
15223
15223
|
A([
|
|
15224
15224
|
T(BS)
|
|
@@ -15245,7 +15245,7 @@ var fh = {
|
|
|
15245
15245
|
}
|
|
15246
15246
|
};
|
|
15247
15247
|
A([
|
|
15248
|
-
T(
|
|
15248
|
+
T(me, { optional: !0 })
|
|
15249
15249
|
], cc.prototype, "legendItemName", 2);
|
|
15250
15250
|
A([
|
|
15251
15251
|
T(Pe, { optional: !0 })
|
|
@@ -15867,7 +15867,7 @@ var GZ = ["top", "right", "bottom", "left"], ex = class QG extends QS {
|
|
|
15867
15867
|
const n = 10;
|
|
15868
15868
|
do
|
|
15869
15869
|
if (o = i ?? this.getDefaultState(), i = this.updateAxesPass(new Map(o.axisAreaWidths), t.clone()), s++ > n) {
|
|
15870
|
-
|
|
15870
|
+
be.warn("Max iterations reached. Unable to stabilize axes layout.");
|
|
15871
15871
|
break;
|
|
15872
15872
|
}
|
|
15873
15873
|
while (!this.isLayoutStable(i, o));
|
|
@@ -16821,7 +16821,7 @@ A([
|
|
|
16821
16821
|
T(pt.restrict({ min: 1 }), { optional: !0 })
|
|
16822
16822
|
], dc.prototype, "fontSize", 2);
|
|
16823
16823
|
A([
|
|
16824
|
-
T(
|
|
16824
|
+
T(me, { optional: !0 })
|
|
16825
16825
|
], dc.prototype, "fontFamily", 2);
|
|
16826
16826
|
var ox = class extends Ye {
|
|
16827
16827
|
constructor() {
|
|
@@ -17075,9 +17075,9 @@ var yz = Rt((e) => qn(e) && e !== 0, "a non-zero number"), yh = class extends Rd
|
|
|
17075
17075
|
}
|
|
17076
17076
|
normaliseDataDomain(e) {
|
|
17077
17077
|
const { min: t, max: i } = this, { extent: o, clipped: s } = UA(e, t, i);
|
|
17078
|
-
return o[0] < 0 && o[1] > 0 || e[0] < 0 && e[1] > 0 ? (
|
|
17078
|
+
return o[0] < 0 && o[1] > 0 || e[0] < 0 && e[1] > 0 ? (be.warn(
|
|
17079
17079
|
"The log axis domain crosses zero, the chart data cannot be rendered. See log axis documentation for more information."
|
|
17080
|
-
), { domain: [], clipped: s }) : o[0] === 0 || o[1] === 0 || e[0] === 0 || e[1] === 0 ? (
|
|
17080
|
+
), { domain: [], clipped: s }) : o[0] === 0 || o[1] === 0 || e[0] === 0 || e[1] === 0 ? (be.warn(
|
|
17081
17081
|
"The log axis domain contains a value of 0, the chart data cannot be rendered. See log axis documentation for more information."
|
|
17082
17082
|
), { domain: [], clipped: s }) : { domain: o, clipped: s };
|
|
17083
17083
|
}
|
|
@@ -17350,7 +17350,7 @@ A([
|
|
|
17350
17350
|
T(Ie, { optional: !0 })
|
|
17351
17351
|
], Dg.prototype, "image", 2);
|
|
17352
17352
|
A([
|
|
17353
|
-
T(
|
|
17353
|
+
T(me, { optional: !0 }),
|
|
17354
17354
|
wo("textNode")
|
|
17355
17355
|
], Dg.prototype, "text", 2);
|
|
17356
17356
|
var vz = {
|
|
@@ -17498,7 +17498,7 @@ A([
|
|
|
17498
17498
|
T(xe)
|
|
17499
17499
|
], Ig.prototype, "fontSize", 2);
|
|
17500
17500
|
A([
|
|
17501
|
-
T(
|
|
17501
|
+
T(me)
|
|
17502
17502
|
], Ig.prototype, "fontFamily", 2);
|
|
17503
17503
|
var Nl = class extends Ye {
|
|
17504
17504
|
constructor() {
|
|
@@ -17973,7 +17973,7 @@ A([
|
|
|
17973
17973
|
T(xe)
|
|
17974
17974
|
], Ld.prototype, "fontSize", 2);
|
|
17975
17975
|
A([
|
|
17976
|
-
T(
|
|
17976
|
+
T(me)
|
|
17977
17977
|
], Ld.prototype, "fontFamily", 2);
|
|
17978
17978
|
A([
|
|
17979
17979
|
T(As, { optional: !0 })
|
|
@@ -18226,7 +18226,7 @@ var Sf = "legend-visibility", fM = "legend-other-series", tn = class extends Ye
|
|
|
18226
18226
|
const p = (f) => f.width === a.width && f.height === a.height, g = this.maxWidth !== void 0 && this.maxHeight !== void 0;
|
|
18227
18227
|
do {
|
|
18228
18228
|
if (h++ > 10) {
|
|
18229
|
-
|
|
18229
|
+
be.warn("unable to find stable legend layout.");
|
|
18230
18230
|
break;
|
|
18231
18231
|
}
|
|
18232
18232
|
a = l;
|
|
@@ -18778,7 +18778,7 @@ A([
|
|
|
18778
18778
|
T(BS, { optional: !0 })
|
|
18779
18779
|
], ns.prototype, "range", 2);
|
|
18780
18780
|
A([
|
|
18781
|
-
T(
|
|
18781
|
+
T(me, { optional: !0 })
|
|
18782
18782
|
], ns.prototype, "class", 2);
|
|
18783
18783
|
var Az = _t(["linear", "smooth", "step"], "a line style"), kz = _t(["start", "middle", "end"]), Rg = class extends Ye {
|
|
18784
18784
|
constructor() {
|
|
@@ -18800,19 +18800,19 @@ var Oi = class extends cc {
|
|
|
18800
18800
|
}
|
|
18801
18801
|
};
|
|
18802
18802
|
A([
|
|
18803
|
-
T(
|
|
18803
|
+
T(me)
|
|
18804
18804
|
], Oi.prototype, "xKey", 2);
|
|
18805
18805
|
A([
|
|
18806
|
-
T(
|
|
18806
|
+
T(me, { optional: !0 })
|
|
18807
18807
|
], Oi.prototype, "xName", 2);
|
|
18808
18808
|
A([
|
|
18809
|
-
T(
|
|
18809
|
+
T(me)
|
|
18810
18810
|
], Oi.prototype, "yKey", 2);
|
|
18811
18811
|
A([
|
|
18812
|
-
T(
|
|
18812
|
+
T(me, { optional: !0 })
|
|
18813
18813
|
], Oi.prototype, "yName", 2);
|
|
18814
18814
|
A([
|
|
18815
|
-
T(
|
|
18815
|
+
T(me, { optional: !0 })
|
|
18816
18816
|
], Oi.prototype, "yFilterKey", 2);
|
|
18817
18817
|
A([
|
|
18818
18818
|
T(xe, { optional: !0 })
|
|
@@ -19873,10 +19873,10 @@ var Nq = 0.125, Oq = 0.25, Sk = class extends Td {
|
|
|
19873
19873
|
const re = oe != null ? x[oe] : void 0, Se = ee != null ? x[ee] : void 0;
|
|
19874
19874
|
let Te = 0, pe = 0;
|
|
19875
19875
|
for (let fe = 0; fe <= X; fe += 1) {
|
|
19876
|
-
const
|
|
19877
|
-
if (Number.isFinite(
|
|
19876
|
+
const Ce = ne[fe];
|
|
19877
|
+
if (Number.isFinite(Ce)) {
|
|
19878
19878
|
const Ge = re == null || Number.isFinite(re[fe]), Je = Se == null || Number.isFinite(Se[fe]);
|
|
19879
|
-
Ge && (Te +=
|
|
19879
|
+
Ge && (Te += Ce), Je && (pe += Ce);
|
|
19880
19880
|
}
|
|
19881
19881
|
}
|
|
19882
19882
|
const U = te[te.length - 1];
|
|
@@ -19884,12 +19884,12 @@ var Nq = 0.125, Oq = 0.25, Sk = class extends Td {
|
|
|
19884
19884
|
if (!he && Array.isArray(U) && U.length === 1)
|
|
19885
19885
|
te[te.length - 1] = { skip: 1 };
|
|
19886
19886
|
else {
|
|
19887
|
-
const fe = z(Y, Te),
|
|
19888
|
-
Array.isArray(U) ? U.push(fe) : U != null && (U.skip += 1), te.push(he ? [
|
|
19887
|
+
const fe = z(Y, Te), Ce = z(Y, pe);
|
|
19888
|
+
Array.isArray(U) ? U.push(fe) : U != null && (U.skip += 1), te.push(he ? [Ce] : { skip: 0 });
|
|
19889
19889
|
}
|
|
19890
19890
|
else {
|
|
19891
|
-
const fe = Math.max(Te, pe),
|
|
19892
|
-
Array.isArray(U) ? U.push(
|
|
19891
|
+
const fe = Math.max(Te, pe), Ce = z(Y, fe);
|
|
19892
|
+
Array.isArray(U) ? U.push(Ce) : U != null ? (U.skip += 1, te.push([Ce])) : te.push([Ce]);
|
|
19893
19893
|
}
|
|
19894
19894
|
}
|
|
19895
19895
|
return B(te);
|
|
@@ -20252,7 +20252,7 @@ var Fq = {
|
|
|
20252
20252
|
function xk(e, t) {
|
|
20253
20253
|
for (const i of t) {
|
|
20254
20254
|
const o = i.datum;
|
|
20255
|
-
o === void 0 ?
|
|
20255
|
+
o === void 0 ? be.error("undefined datum") : e.addValue(i, o);
|
|
20256
20256
|
}
|
|
20257
20257
|
}
|
|
20258
20258
|
function wk(e, t) {
|
|
@@ -20352,22 +20352,22 @@ var mi = class extends Mk {
|
|
|
20352
20352
|
}
|
|
20353
20353
|
};
|
|
20354
20354
|
A([
|
|
20355
|
-
T(
|
|
20355
|
+
T(me)
|
|
20356
20356
|
], mi.prototype, "xKey", 2);
|
|
20357
20357
|
A([
|
|
20358
|
-
T(
|
|
20358
|
+
T(me, { optional: !0 })
|
|
20359
20359
|
], mi.prototype, "xName", 2);
|
|
20360
20360
|
A([
|
|
20361
|
-
T(
|
|
20361
|
+
T(me)
|
|
20362
20362
|
], mi.prototype, "yKey", 2);
|
|
20363
20363
|
A([
|
|
20364
|
-
T(
|
|
20364
|
+
T(me, { optional: !0 })
|
|
20365
20365
|
], mi.prototype, "yName", 2);
|
|
20366
20366
|
A([
|
|
20367
|
-
T(
|
|
20367
|
+
T(me, { optional: !0 })
|
|
20368
20368
|
], mi.prototype, "yFilterKey", 2);
|
|
20369
20369
|
A([
|
|
20370
|
-
T(
|
|
20370
|
+
T(me, { optional: !0 })
|
|
20371
20371
|
], mi.prototype, "stackGroup", 2);
|
|
20372
20372
|
A([
|
|
20373
20373
|
T(pt, { optional: !0 })
|
|
@@ -20679,16 +20679,16 @@ var _q = 0, Vq = 1, Hq = 2, Wq = 3, jq = 4, fx = class extends jz {
|
|
|
20679
20679
|
opacity: re,
|
|
20680
20680
|
crossScale: Se = 1
|
|
20681
20681
|
}) => {
|
|
20682
|
-
const Te = ne !== y, pe = c.convert(oe), U = c.convert(K), fe = c.convert(ce),
|
|
20683
|
-
x:
|
|
20684
|
-
y:
|
|
20685
|
-
width:
|
|
20686
|
-
height:
|
|
20682
|
+
const Te = ne !== y, pe = c.convert(oe), U = c.convert(K), fe = c.convert(ce), Ce = this.getBarDirection() === "x", Ge = Y * 0.5 * (1 - Se), Je = {
|
|
20683
|
+
x: Ce ? Math.min(pe, U) : ee + Ge,
|
|
20684
|
+
y: Ce ? ee + Ge : Math.min(pe, U),
|
|
20685
|
+
width: Ce ? Math.abs(U - pe) : Y * Se,
|
|
20686
|
+
height: Ce ? Y * Se : Math.abs(U - pe)
|
|
20687
20687
|
}, tt = new Re(Je.x, Je.y, Je.width, Je.height), Pt = {
|
|
20688
|
-
x:
|
|
20689
|
-
y:
|
|
20690
|
-
width:
|
|
20691
|
-
height:
|
|
20688
|
+
x: Ce ? Math.min(R, fe) : ee + Ge,
|
|
20689
|
+
y: Ce ? ee + Ge : Math.min(R, fe),
|
|
20690
|
+
width: Ce ? Math.abs(R - fe) : Y * Se,
|
|
20691
|
+
height: Ce ? Y * Se : Math.abs(R - fe)
|
|
20692
20692
|
}, at = this.shouldFlipXY() ? Je.height : Je.width;
|
|
20693
20693
|
return {
|
|
20694
20694
|
series: this,
|
|
@@ -20712,9 +20712,9 @@ var _q = 0, Vq = 1, Hq = 2, Wq = 3, jq = 4, fx = class extends jz {
|
|
|
20712
20712
|
height: Pt.height,
|
|
20713
20713
|
midPoint: { x: Je.x + Je.width / 2, y: Je.y + Je.height / 2 },
|
|
20714
20714
|
opacity: re,
|
|
20715
|
-
topLeftCornerRadius:
|
|
20715
|
+
topLeftCornerRadius: Ce !== Te,
|
|
20716
20716
|
topRightCornerRadius: Te,
|
|
20717
|
-
bottomRightCornerRadius:
|
|
20717
|
+
bottomRightCornerRadius: Ce === Te,
|
|
20718
20718
|
bottomLeftCornerRadius: !Te,
|
|
20719
20719
|
clipBBox: tt,
|
|
20720
20720
|
crisp: k,
|
|
@@ -20722,7 +20722,7 @@ var _q = 0, Vq = 1, Hq = 2, Wq = 3, jq = 4, fx = class extends jz {
|
|
|
20722
20722
|
text: he,
|
|
20723
20723
|
...Kz({
|
|
20724
20724
|
isUpward: Te,
|
|
20725
|
-
isVertical: !
|
|
20725
|
+
isVertical: !Ce,
|
|
20726
20726
|
placement: f.placement,
|
|
20727
20727
|
padding: f.padding,
|
|
20728
20728
|
rect: Je
|
|
@@ -21111,43 +21111,43 @@ var Tt = class extends cc {
|
|
|
21111
21111
|
}
|
|
21112
21112
|
};
|
|
21113
21113
|
A([
|
|
21114
|
-
T(
|
|
21114
|
+
T(me)
|
|
21115
21115
|
], Tt.prototype, "xKey", 2);
|
|
21116
21116
|
A([
|
|
21117
|
-
T(
|
|
21117
|
+
T(me)
|
|
21118
21118
|
], Tt.prototype, "yKey", 2);
|
|
21119
21119
|
A([
|
|
21120
|
-
T(
|
|
21120
|
+
T(me)
|
|
21121
21121
|
], Tt.prototype, "sizeKey", 2);
|
|
21122
21122
|
A([
|
|
21123
|
-
T(
|
|
21123
|
+
T(me, { optional: !0 })
|
|
21124
21124
|
], Tt.prototype, "labelKey", 2);
|
|
21125
21125
|
A([
|
|
21126
|
-
T(
|
|
21126
|
+
T(me, { optional: !0 })
|
|
21127
21127
|
], Tt.prototype, "colorKey", 2);
|
|
21128
21128
|
A([
|
|
21129
|
-
T(
|
|
21129
|
+
T(me, { optional: !0 })
|
|
21130
21130
|
], Tt.prototype, "xFilterKey", 2);
|
|
21131
21131
|
A([
|
|
21132
|
-
T(
|
|
21132
|
+
T(me, { optional: !0 })
|
|
21133
21133
|
], Tt.prototype, "yFilterKey", 2);
|
|
21134
21134
|
A([
|
|
21135
|
-
T(
|
|
21135
|
+
T(me, { optional: !0 })
|
|
21136
21136
|
], Tt.prototype, "sizeFilterKey", 2);
|
|
21137
21137
|
A([
|
|
21138
|
-
T(
|
|
21138
|
+
T(me, { optional: !0 })
|
|
21139
21139
|
], Tt.prototype, "xName", 2);
|
|
21140
21140
|
A([
|
|
21141
|
-
T(
|
|
21141
|
+
T(me, { optional: !0 })
|
|
21142
21142
|
], Tt.prototype, "yName", 2);
|
|
21143
21143
|
A([
|
|
21144
|
-
T(
|
|
21144
|
+
T(me, { optional: !0 })
|
|
21145
21145
|
], Tt.prototype, "sizeName", 2);
|
|
21146
21146
|
A([
|
|
21147
|
-
T(
|
|
21147
|
+
T(me, { optional: !0 })
|
|
21148
21148
|
], Tt.prototype, "labelName", 2);
|
|
21149
21149
|
A([
|
|
21150
|
-
T(
|
|
21150
|
+
T(me, { optional: !0 })
|
|
21151
21151
|
], Tt.prototype, "colorName", 2);
|
|
21152
21152
|
A([
|
|
21153
21153
|
T(OS, { optional: !0 })
|
|
@@ -21156,7 +21156,7 @@ A([
|
|
|
21156
21156
|
T(Dn)
|
|
21157
21157
|
], Tt.prototype, "colorRange", 2);
|
|
21158
21158
|
A([
|
|
21159
|
-
T(
|
|
21159
|
+
T(me, { optional: !0 })
|
|
21160
21160
|
], Tt.prototype, "title", 2);
|
|
21161
21161
|
A([
|
|
21162
21162
|
Zt("marker.shape")
|
|
@@ -21579,16 +21579,16 @@ var Uq = {
|
|
|
21579
21579
|
}
|
|
21580
21580
|
};
|
|
21581
21581
|
A([
|
|
21582
|
-
T(
|
|
21582
|
+
T(me)
|
|
21583
21583
|
], Ji.prototype, "xKey", 2);
|
|
21584
21584
|
A([
|
|
21585
|
-
T(
|
|
21585
|
+
T(me, { optional: !0 })
|
|
21586
21586
|
], Ji.prototype, "yKey", 2);
|
|
21587
21587
|
A([
|
|
21588
|
-
T(
|
|
21588
|
+
T(me, { optional: !0 })
|
|
21589
21589
|
], Ji.prototype, "xName", 2);
|
|
21590
21590
|
A([
|
|
21591
|
-
T(
|
|
21591
|
+
T(me, { optional: !0 })
|
|
21592
21592
|
], Ji.prototype, "yName", 2);
|
|
21593
21593
|
A([
|
|
21594
21594
|
T(xt, { optional: !0 })
|
|
@@ -22030,28 +22030,28 @@ var Kq = {
|
|
|
22030
22030
|
}
|
|
22031
22031
|
};
|
|
22032
22032
|
A([
|
|
22033
|
-
T(
|
|
22033
|
+
T(me)
|
|
22034
22034
|
], eo.prototype, "xKey", 2);
|
|
22035
22035
|
A([
|
|
22036
|
-
T(
|
|
22036
|
+
T(me)
|
|
22037
22037
|
], eo.prototype, "yKey", 2);
|
|
22038
22038
|
A([
|
|
22039
|
-
T(
|
|
22039
|
+
T(me, { optional: !0 })
|
|
22040
22040
|
], eo.prototype, "xName", 2);
|
|
22041
22041
|
A([
|
|
22042
|
-
T(
|
|
22042
|
+
T(me, { optional: !0 })
|
|
22043
22043
|
], eo.prototype, "yName", 2);
|
|
22044
22044
|
A([
|
|
22045
|
-
T(
|
|
22045
|
+
T(me, { optional: !0 })
|
|
22046
22046
|
], eo.prototype, "yFilterKey", 2);
|
|
22047
22047
|
A([
|
|
22048
|
-
T(
|
|
22048
|
+
T(me, { optional: !0 })
|
|
22049
22049
|
], eo.prototype, "stackGroup", 2);
|
|
22050
22050
|
A([
|
|
22051
22051
|
T(xe, { optional: !0 })
|
|
22052
22052
|
], eo.prototype, "normalizedTo", 2);
|
|
22053
22053
|
A([
|
|
22054
|
-
T(
|
|
22054
|
+
T(me, { optional: !0 })
|
|
22055
22055
|
], eo.prototype, "title", 2);
|
|
22056
22056
|
A([
|
|
22057
22057
|
T(xt)
|
|
@@ -22589,34 +22589,34 @@ var qt = class extends cc {
|
|
|
22589
22589
|
}
|
|
22590
22590
|
};
|
|
22591
22591
|
A([
|
|
22592
|
-
T(
|
|
22592
|
+
T(me)
|
|
22593
22593
|
], qt.prototype, "xKey", 2);
|
|
22594
22594
|
A([
|
|
22595
|
-
T(
|
|
22595
|
+
T(me)
|
|
22596
22596
|
], qt.prototype, "yKey", 2);
|
|
22597
22597
|
A([
|
|
22598
|
-
T(
|
|
22598
|
+
T(me, { optional: !0 })
|
|
22599
22599
|
], qt.prototype, "labelKey", 2);
|
|
22600
22600
|
A([
|
|
22601
|
-
T(
|
|
22601
|
+
T(me, { optional: !0 })
|
|
22602
22602
|
], qt.prototype, "colorKey", 2);
|
|
22603
22603
|
A([
|
|
22604
|
-
T(
|
|
22604
|
+
T(me, { optional: !0 })
|
|
22605
22605
|
], qt.prototype, "xFilterKey", 2);
|
|
22606
22606
|
A([
|
|
22607
|
-
T(
|
|
22607
|
+
T(me, { optional: !0 })
|
|
22608
22608
|
], qt.prototype, "yFilterKey", 2);
|
|
22609
22609
|
A([
|
|
22610
|
-
T(
|
|
22610
|
+
T(me, { optional: !0 })
|
|
22611
22611
|
], qt.prototype, "xName", 2);
|
|
22612
22612
|
A([
|
|
22613
|
-
T(
|
|
22613
|
+
T(me, { optional: !0 })
|
|
22614
22614
|
], qt.prototype, "yName", 2);
|
|
22615
22615
|
A([
|
|
22616
|
-
T(
|
|
22616
|
+
T(me, { optional: !0 })
|
|
22617
22617
|
], qt.prototype, "labelName", 2);
|
|
22618
22618
|
A([
|
|
22619
|
-
T(
|
|
22619
|
+
T(me, { optional: !0 })
|
|
22620
22620
|
], qt.prototype, "colorName", 2);
|
|
22621
22621
|
A([
|
|
22622
22622
|
T(OS, { optional: !0 })
|
|
@@ -22625,7 +22625,7 @@ A([
|
|
|
22625
22625
|
T(Dn)
|
|
22626
22626
|
], qt.prototype, "colorRange", 2);
|
|
22627
22627
|
A([
|
|
22628
|
-
T(
|
|
22628
|
+
T(me, { optional: !0 })
|
|
22629
22629
|
], qt.prototype, "title", 2);
|
|
22630
22630
|
A([
|
|
22631
22631
|
Zt("marker.shape")
|
|
@@ -23409,7 +23409,7 @@ var Lk = class extends co {
|
|
|
23409
23409
|
}
|
|
23410
23410
|
};
|
|
23411
23411
|
A([
|
|
23412
|
-
T(
|
|
23412
|
+
T(me)
|
|
23413
23413
|
], Lk.prototype, "text", 2);
|
|
23414
23414
|
A([
|
|
23415
23415
|
T(pt)
|
|
@@ -23476,25 +23476,25 @@ var ct = class extends kn {
|
|
|
23476
23476
|
}
|
|
23477
23477
|
isValid() {
|
|
23478
23478
|
const e = super.isValid();
|
|
23479
|
-
return this.innerRadiusRatio == null && this.innerRadiusOffset == null ? (
|
|
23479
|
+
return this.innerRadiusRatio == null && this.innerRadiusOffset == null ? (be.warnOnce(
|
|
23480
23480
|
"Either an [innerRadiusRatio] or an [innerRadiusOffset] must be set to render a donut series."
|
|
23481
23481
|
), !1) : e;
|
|
23482
23482
|
}
|
|
23483
23483
|
};
|
|
23484
23484
|
A([
|
|
23485
|
-
T(
|
|
23485
|
+
T(me)
|
|
23486
23486
|
], ct.prototype, "angleKey", 2);
|
|
23487
23487
|
A([
|
|
23488
|
-
T(
|
|
23488
|
+
T(me, { optional: !0 })
|
|
23489
23489
|
], ct.prototype, "angleName", 2);
|
|
23490
23490
|
A([
|
|
23491
|
-
T(
|
|
23491
|
+
T(me, { optional: !0 })
|
|
23492
23492
|
], ct.prototype, "angleFilterKey", 2);
|
|
23493
23493
|
A([
|
|
23494
|
-
T(
|
|
23494
|
+
T(me, { optional: !0 })
|
|
23495
23495
|
], ct.prototype, "radiusKey", 2);
|
|
23496
23496
|
A([
|
|
23497
|
-
T(
|
|
23497
|
+
T(me, { optional: !0 })
|
|
23498
23498
|
], ct.prototype, "radiusName", 2);
|
|
23499
23499
|
A([
|
|
23500
23500
|
T(xe, { optional: !0 })
|
|
@@ -23503,19 +23503,19 @@ A([
|
|
|
23503
23503
|
T(xe, { optional: !0 })
|
|
23504
23504
|
], ct.prototype, "radiusMax", 2);
|
|
23505
23505
|
A([
|
|
23506
|
-
T(
|
|
23506
|
+
T(me, { optional: !0 })
|
|
23507
23507
|
], ct.prototype, "calloutLabelKey", 2);
|
|
23508
23508
|
A([
|
|
23509
|
-
T(
|
|
23509
|
+
T(me, { optional: !0 })
|
|
23510
23510
|
], ct.prototype, "calloutLabelName", 2);
|
|
23511
23511
|
A([
|
|
23512
|
-
T(
|
|
23512
|
+
T(me, { optional: !0 })
|
|
23513
23513
|
], ct.prototype, "sectorLabelKey", 2);
|
|
23514
23514
|
A([
|
|
23515
|
-
T(
|
|
23515
|
+
T(me, { optional: !0 })
|
|
23516
23516
|
], ct.prototype, "sectorLabelName", 2);
|
|
23517
23517
|
A([
|
|
23518
|
-
T(
|
|
23518
|
+
T(me, { optional: !0 })
|
|
23519
23519
|
], ct.prototype, "legendItemKey", 2);
|
|
23520
23520
|
A([
|
|
23521
23521
|
T(Dn)
|
|
@@ -23865,7 +23865,7 @@ var i8 = /* @__PURE__ */ ((e) => (e[e.BACKGROUND = 0] = "BACKGROUND", e[e.FOREGR
|
|
|
23865
23865
|
});
|
|
23866
23866
|
for (const f of this.processedData?.defs?.values ?? []) {
|
|
23867
23867
|
const { id: y, missing: m, property: v } = f, C = GA(this, m);
|
|
23868
|
-
y !== "angleRaw" && C > 0 &&
|
|
23868
|
+
y !== "angleRaw" && C > 0 && be.warnOnce(
|
|
23869
23869
|
`no value was found for the key '${String(v)}' on ${C} data element${C > 1 ? "s" : ""}`
|
|
23870
23870
|
);
|
|
23871
23871
|
}
|
|
@@ -24745,19 +24745,19 @@ var wt = class extends kn {
|
|
|
24745
24745
|
}
|
|
24746
24746
|
};
|
|
24747
24747
|
A([
|
|
24748
|
-
T(
|
|
24748
|
+
T(me)
|
|
24749
24749
|
], wt.prototype, "angleKey", 2);
|
|
24750
24750
|
A([
|
|
24751
|
-
T(
|
|
24751
|
+
T(me, { optional: !0 })
|
|
24752
24752
|
], wt.prototype, "angleName", 2);
|
|
24753
24753
|
A([
|
|
24754
|
-
T(
|
|
24754
|
+
T(me, { optional: !0 })
|
|
24755
24755
|
], wt.prototype, "angleFilterKey", 2);
|
|
24756
24756
|
A([
|
|
24757
|
-
T(
|
|
24757
|
+
T(me, { optional: !0 })
|
|
24758
24758
|
], wt.prototype, "radiusKey", 2);
|
|
24759
24759
|
A([
|
|
24760
|
-
T(
|
|
24760
|
+
T(me, { optional: !0 })
|
|
24761
24761
|
], wt.prototype, "radiusName", 2);
|
|
24762
24762
|
A([
|
|
24763
24763
|
T(xe, { optional: !0 })
|
|
@@ -24766,19 +24766,19 @@ A([
|
|
|
24766
24766
|
T(xe, { optional: !0 })
|
|
24767
24767
|
], wt.prototype, "radiusMax", 2);
|
|
24768
24768
|
A([
|
|
24769
|
-
T(
|
|
24769
|
+
T(me, { optional: !0 })
|
|
24770
24770
|
], wt.prototype, "calloutLabelKey", 2);
|
|
24771
24771
|
A([
|
|
24772
|
-
T(
|
|
24772
|
+
T(me, { optional: !0 })
|
|
24773
24773
|
], wt.prototype, "calloutLabelName", 2);
|
|
24774
24774
|
A([
|
|
24775
|
-
T(
|
|
24775
|
+
T(me, { optional: !0 })
|
|
24776
24776
|
], wt.prototype, "sectorLabelKey", 2);
|
|
24777
24777
|
A([
|
|
24778
|
-
T(
|
|
24778
|
+
T(me, { optional: !0 })
|
|
24779
24779
|
], wt.prototype, "sectorLabelName", 2);
|
|
24780
24780
|
A([
|
|
24781
|
-
T(
|
|
24781
|
+
T(me, { optional: !0 })
|
|
24782
24782
|
], wt.prototype, "legendItemKey", 2);
|
|
24783
24783
|
A([
|
|
24784
24784
|
T(Dn)
|
|
@@ -24932,7 +24932,7 @@ var tQ = class extends Wy {
|
|
|
24932
24932
|
});
|
|
24933
24933
|
for (const y of this.processedData?.defs?.values ?? []) {
|
|
24934
24934
|
const { id: m, missing: v, property: C } = y, S = GA(this, v);
|
|
24935
|
-
m !== "angleRaw" && S > 0 &&
|
|
24935
|
+
m !== "angleRaw" && S > 0 && be.warnOnce(
|
|
24936
24936
|
`no value was found for the key '${String(C)}' on ${S} data element${S > 1 ? "s" : ""}`
|
|
24937
24937
|
);
|
|
24938
24938
|
}
|
|
@@ -25614,7 +25614,7 @@ function oQ() {
|
|
|
25614
25614
|
}
|
|
25615
25615
|
function sQ() {
|
|
25616
25616
|
for (const e of Pa.modules) {
|
|
25617
|
-
if (e.packageType === "enterprise" && !PX(e) &&
|
|
25617
|
+
if (e.packageType === "enterprise" && !PX(e) && be.errorOnce("Unexpected enterprise module registered: " + e.identifier), e.type === "root" && e.themeTemplate)
|
|
25618
25618
|
for (const t of e.chartTypes)
|
|
25619
25619
|
OD.set(t, e.themeTemplate);
|
|
25620
25620
|
if (e.type === "series") {
|
|
@@ -25634,7 +25634,7 @@ function sQ() {
|
|
|
25634
25634
|
}
|
|
25635
25635
|
if (Pa.hasEnterpriseModules()) {
|
|
25636
25636
|
const e = NX();
|
|
25637
|
-
e.length > 0 &&
|
|
25637
|
+
e.length > 0 && be.errorOnce("Enterprise modules expected but not registered: ", e);
|
|
25638
25638
|
}
|
|
25639
25639
|
}
|
|
25640
25640
|
var og = class extends wA {
|
|
@@ -26571,7 +26571,7 @@ function vQ(e, t, i, o, s, n, r) {
|
|
|
26571
26571
|
case "hollow-candlestick":
|
|
26572
26572
|
return MQ(c, e, a);
|
|
26573
26573
|
default:
|
|
26574
|
-
return
|
|
26574
|
+
return be.warnOnce(`unknown chart type: ${t}; expected one of: ${gQ.join(", ")}`), uP(c, a);
|
|
26575
26575
|
}
|
|
26576
26576
|
}
|
|
26577
26577
|
function bQ(e, t) {
|
|
@@ -27001,7 +27001,7 @@ function hP(e, t) {
|
|
|
27001
27001
|
if (i.length && !t) {
|
|
27002
27002
|
o && (i = ["AgCharts.createGauge"]);
|
|
27003
27003
|
let r = "ag-charts-enterprise", a = "https://www.ag-grid.com/charts/javascript/installation/";
|
|
27004
|
-
e.mode === "integrated" && (r = "ag-grid-charts-enterprise' or 'ag-grid-enterprise/charts-enterprise", a = "https://www.ag-grid.com/javascript-data-grid/integrated-charts-installation/"),
|
|
27004
|
+
e.mode === "integrated" && (r = "ag-grid-charts-enterprise' or 'ag-grid-enterprise/charts-enterprise", a = "https://www.ag-grid.com/javascript-data-grid/integrated-charts-installation/"), be.warnOnce(
|
|
27005
27005
|
[
|
|
27006
27006
|
`unable to use these enterprise features as '${r}' has not been loaded:`,
|
|
27007
27007
|
"",
|
|
@@ -27999,7 +27999,7 @@ function YQ(e) {
|
|
|
27999
27999
|
return e;
|
|
28000
28000
|
if (e == null || typeof e == "string") {
|
|
28001
28001
|
const i = _k[e];
|
|
28002
|
-
return i ? i() : (
|
|
28002
|
+
return i ? i() : (be.warnOnce(`the theme [${e}] is invalid, using [ag-default] instead.`), Np());
|
|
28003
28003
|
}
|
|
28004
28004
|
const { errors: t } = SS(e, ZQ, "theme");
|
|
28005
28005
|
if (!t.length) {
|
|
@@ -28007,7 +28007,7 @@ function YQ(e) {
|
|
|
28007
28007
|
return new o.constructor(i);
|
|
28008
28008
|
}
|
|
28009
28009
|
for (const { message: i } of t)
|
|
28010
|
-
|
|
28010
|
+
be.warnOnce(i);
|
|
28011
28011
|
return Np();
|
|
28012
28012
|
}
|
|
28013
28013
|
function XQ(e) {
|
|
@@ -28214,7 +28214,7 @@ var ZQ = {
|
|
|
28214
28214
|
crosshairLabelTextColor: s
|
|
28215
28215
|
}, { valid: r, errors: a } = SS(i.theme.params, n);
|
|
28216
28216
|
for (const { message: l } of a)
|
|
28217
|
-
|
|
28217
|
+
be.warnOnce(l);
|
|
28218
28218
|
return st(r, o);
|
|
28219
28219
|
}
|
|
28220
28220
|
resolveThemeOperations(t, i) {
|
|
@@ -28238,7 +28238,7 @@ var ZQ = {
|
|
|
28238
28238
|
}
|
|
28239
28239
|
getSeriesGroupingOptions(t) {
|
|
28240
28240
|
const i = zs.isGroupable(t.type), o = zs.isStackable(t.type), s = zs.isStackedByDefault(t.type);
|
|
28241
|
-
t.grouped && !i &&
|
|
28241
|
+
t.grouped && !i && be.warnOnce(`unsupported grouping of series type "${t.type}".`), (t.stacked || t.stackGroup) && !o && be.warnOnce(`unsupported stacking of series type "${t.type}".`);
|
|
28242
28242
|
let { grouped: n, stacked: r } = t;
|
|
28243
28243
|
return r ?? (r = (s || t.stackGroup != null) && !(i && n)), n ?? (n = !0), {
|
|
28244
28244
|
stacked: o && r,
|
|
@@ -28354,7 +28354,7 @@ var ZQ = {
|
|
|
28354
28354
|
if (!YX(o)) {
|
|
28355
28355
|
delete t.axes;
|
|
28356
28356
|
const s = [...Pl.keys()].join(", ");
|
|
28357
|
-
|
|
28357
|
+
be.warnOnce(`unknown axis type: ${o}; expected one of: ${s}`);
|
|
28358
28358
|
}
|
|
28359
28359
|
}
|
|
28360
28360
|
}
|
|
@@ -28362,7 +28362,7 @@ var ZQ = {
|
|
|
28362
28362
|
t.series = t.series?.filter(({ type: i }) => {
|
|
28363
28363
|
if (i == null || KX(i) || MX(i))
|
|
28364
28364
|
return !0;
|
|
28365
|
-
|
|
28365
|
+
be.warnOnce(
|
|
28366
28366
|
`unknown series type: ${JSON.stringify(i)}; expected one of: ${NG.seriesTypes.join(", ")}`
|
|
28367
28367
|
);
|
|
28368
28368
|
});
|
|
@@ -28372,7 +28372,7 @@ var ZQ = {
|
|
|
28372
28372
|
if (i && i.length > 1 && i.some((o) => zs.isSolo(o.type))) {
|
|
28373
28373
|
const o = this.optionsType(t);
|
|
28374
28374
|
if (zs.isSolo(o))
|
|
28375
|
-
|
|
28375
|
+
be.warn(
|
|
28376
28376
|
`series[0] of type '${o}' is incompatible with other series types. Only processing series[0]`
|
|
28377
28377
|
), t.series = i.slice(0, 1);
|
|
28378
28378
|
else {
|
|
@@ -28380,7 +28380,7 @@ var ZQ = {
|
|
|
28380
28380
|
i,
|
|
28381
28381
|
(a) => zs.isSolo(a.type) ? "solo" : "nonSolo"
|
|
28382
28382
|
), r = Uj(s.map((a) => a.type)).join(", ");
|
|
28383
|
-
|
|
28383
|
+
be.warn(`Unable to mix these series types with the lead series type: ${r}`), t.series = n;
|
|
28384
28384
|
}
|
|
28385
28385
|
}
|
|
28386
28386
|
}
|
|
@@ -29073,7 +29073,7 @@ lr(E, {
|
|
|
29073
29073
|
SKIP_JS_BUILTINS: () => qI,
|
|
29074
29074
|
SMALLEST_KEY_INTERVAL: () => lz,
|
|
29075
29075
|
SORT_DOMAIN_GROUPS: () => dz,
|
|
29076
|
-
STRING: () =>
|
|
29076
|
+
STRING: () => me,
|
|
29077
29077
|
STRING_ARRAY: () => JB,
|
|
29078
29078
|
Scalable: () => cA,
|
|
29079
29079
|
ScalableGroup: () => WU,
|
|
@@ -29342,7 +29342,7 @@ lr(E, {
|
|
|
29342
29342
|
function Wk() {
|
|
29343
29343
|
return (e, t) => {
|
|
29344
29344
|
const i = [`Property [${e}] is deprecated.`, t].filter(Boolean).join(" ");
|
|
29345
|
-
|
|
29345
|
+
be.warnOnce(i);
|
|
29346
29346
|
};
|
|
29347
29347
|
}
|
|
29348
29348
|
function sJ(e, t) {
|
|
@@ -29657,7 +29657,7 @@ var wJ = p8, MJ = class extends qS {
|
|
|
29657
29657
|
}
|
|
29658
29658
|
getDatumAriaText(e, t) {
|
|
29659
29659
|
if (!(e instanceof this.NodeClass)) {
|
|
29660
|
-
|
|
29660
|
+
be.error(`datum is not HierarchyNode: ${JSON.stringify(e)}`);
|
|
29661
29661
|
return;
|
|
29662
29662
|
}
|
|
29663
29663
|
return this.ctx.localeManager.t("ariaAnnounceHierarchyDatum", {
|
|
@@ -29672,16 +29672,16 @@ var wJ = p8, MJ = class extends qS {
|
|
|
29672
29672
|
}
|
|
29673
29673
|
};
|
|
29674
29674
|
A([
|
|
29675
|
-
T(
|
|
29675
|
+
T(me)
|
|
29676
29676
|
], Nd.prototype, "childrenKey", 2);
|
|
29677
29677
|
A([
|
|
29678
|
-
T(
|
|
29678
|
+
T(me, { optional: !0 })
|
|
29679
29679
|
], Nd.prototype, "sizeKey", 2);
|
|
29680
29680
|
A([
|
|
29681
|
-
T(
|
|
29681
|
+
T(me, { optional: !0 })
|
|
29682
29682
|
], Nd.prototype, "colorKey", 2);
|
|
29683
29683
|
A([
|
|
29684
|
-
T(
|
|
29684
|
+
T(me, { optional: !0 })
|
|
29685
29685
|
], Nd.prototype, "colorName", 2);
|
|
29686
29686
|
A([
|
|
29687
29687
|
T(Dn)
|
|
@@ -30098,16 +30098,16 @@ var fP = "canvas-overlay", Xk = class extends WS {
|
|
|
30098
30098
|
}, lv = class extends Ye {
|
|
30099
30099
|
};
|
|
30100
30100
|
A([
|
|
30101
|
-
T(
|
|
30101
|
+
T(me, { optional: !0 })
|
|
30102
30102
|
], lv.prototype, "icon", 2);
|
|
30103
30103
|
A([
|
|
30104
|
-
T(
|
|
30104
|
+
T(me, { optional: !0 })
|
|
30105
30105
|
], lv.prototype, "label", 2);
|
|
30106
30106
|
A([
|
|
30107
|
-
T(
|
|
30107
|
+
T(me, { optional: !0 })
|
|
30108
30108
|
], lv.prototype, "ariaLabel", 2);
|
|
30109
30109
|
A([
|
|
30110
|
-
T(
|
|
30110
|
+
T(me, { optional: !0 })
|
|
30111
30111
|
], lv.prototype, "tooltip", 2);
|
|
30112
30112
|
var v8 = class extends Hy {
|
|
30113
30113
|
constructor(t) {
|
|
@@ -30414,7 +30414,7 @@ const _J = [
|
|
|
30414
30414
|
"aria-hidden": "true",
|
|
30415
30415
|
class: St(o.value)
|
|
30416
30416
|
}, [
|
|
30417
|
-
|
|
30417
|
+
ye("use", { "xlink:href": s.value }, null, 8, UJ)
|
|
30418
30418
|
], 2));
|
|
30419
30419
|
}
|
|
30420
30420
|
});
|
|
@@ -48841,7 +48841,7 @@ var {
|
|
|
48841
48841
|
if (te == null && J) {
|
|
48842
48842
|
const Y = Math.min(...S), ne = Math.max(...S), ce = { value: n, segmentStart: Y, segmentEnd: ne };
|
|
48843
48843
|
if (d.enabled) {
|
|
48844
|
-
const U = Math.min(l, F / 2, R / 2) * (y.isReversed() ? -1 : 1), fe = s ? U : 0,
|
|
48844
|
+
const U = Math.min(l, F / 2, R / 2) * (y.isReversed() ? -1 : 1), fe = s ? U : 0, Ce = s ? 0 : U;
|
|
48845
48845
|
w.push({
|
|
48846
48846
|
series: this,
|
|
48847
48847
|
itemId: "value",
|
|
@@ -48852,9 +48852,9 @@ var {
|
|
|
48852
48852
|
},
|
|
48853
48853
|
type: 0,
|
|
48854
48854
|
x0: i + L - fe - j,
|
|
48855
|
-
y0: o + N -
|
|
48855
|
+
y0: o + N - Ce - $,
|
|
48856
48856
|
x1: i + B + fe + j,
|
|
48857
|
-
y1: o + z +
|
|
48857
|
+
y1: o + z + Ce + $,
|
|
48858
48858
|
clipX0: void 0,
|
|
48859
48859
|
clipY0: void 0,
|
|
48860
48860
|
clipX1: void 0,
|
|
@@ -48898,7 +48898,7 @@ var {
|
|
|
48898
48898
|
te ?? (te = S);
|
|
48899
48899
|
const Y = i + L - j, ne = o + N - $, ce = i + B + j, he = o + z + $;
|
|
48900
48900
|
for (let re = 0; re < te.length - 1; re += 1) {
|
|
48901
|
-
const Se = te[re + 0], Te = te[re + 1], pe = { value: n, segmentStart: Se, segmentEnd: Te }, U = re === 0, fe = re === te.length - 2,
|
|
48901
|
+
const Se = te[re + 0], Te = te[re + 1], pe = { value: n, segmentStart: Se, segmentEnd: Te }, U = re === 0, fe = re === te.length - 2, Ce = C.convert(Se), Ge = C.convert(Te), Je = J || U ? l : 0, tt = J || fe ? l : 0, Pt = s ? Je : tt, at = tt, Vt = s ? tt : Je, mo = Je;
|
|
48902
48902
|
d.enabled && w.push({
|
|
48903
48903
|
series: this,
|
|
48904
48904
|
itemId: `value-${re}`,
|
|
@@ -48908,8 +48908,8 @@ var {
|
|
|
48908
48908
|
/* Node */
|
|
48909
48909
|
},
|
|
48910
48910
|
type: 0,
|
|
48911
|
-
x0: i + (s ?
|
|
48912
|
-
y0: o + (s ? N :
|
|
48911
|
+
x0: i + (s ? Ce : L),
|
|
48912
|
+
y0: o + (s ? N : Ce),
|
|
48913
48913
|
x1: i + (s ? Ge : P),
|
|
48914
48914
|
y1: o + (s ? O : Ge),
|
|
48915
48915
|
clipX0: Y,
|
|
@@ -48932,8 +48932,8 @@ var {
|
|
|
48932
48932
|
/* Node */
|
|
48933
48933
|
},
|
|
48934
48934
|
type: 0,
|
|
48935
|
-
x0: i + (s ?
|
|
48936
|
-
y0: o + (s ? N :
|
|
48935
|
+
x0: i + (s ? Ce : L),
|
|
48936
|
+
y0: o + (s ? N : Ce),
|
|
48937
48937
|
x1: i + (s ? Ge : P),
|
|
48938
48938
|
y1: o + (s ? O : Ge),
|
|
48939
48939
|
clipX0: void 0,
|
|
@@ -48962,7 +48962,7 @@ var {
|
|
|
48962
48962
|
fillOpacity: pe,
|
|
48963
48963
|
stroke: U,
|
|
48964
48964
|
strokeWidth: fe,
|
|
48965
|
-
strokeOpacity:
|
|
48965
|
+
strokeOpacity: Ce,
|
|
48966
48966
|
lineDash: Ge,
|
|
48967
48967
|
lineDashOffset: Je
|
|
48968
48968
|
} = ne, tt = this.getTargetPoint(ne), Pt = fhe(ne.rotation + ee[ne.placement]);
|
|
@@ -48983,7 +48983,7 @@ var {
|
|
|
48983
48983
|
fill: Te,
|
|
48984
48984
|
fillOpacity: pe,
|
|
48985
48985
|
stroke: U,
|
|
48986
|
-
strokeOpacity:
|
|
48986
|
+
strokeOpacity: Ce,
|
|
48987
48987
|
strokeWidth: fe,
|
|
48988
48988
|
lineDash: Ge,
|
|
48989
48989
|
lineDashOffset: Je,
|
|
@@ -57532,14 +57532,14 @@ var DL = class extends E.HierarchySeries {
|
|
|
57532
57532
|
meta: 0
|
|
57533
57533
|
/* CenterCircle */
|
|
57534
57534
|
};
|
|
57535
|
-
const
|
|
57535
|
+
const Ce = U, Ge = 2 * Math.sqrt(V ** 2 - (z + Ce) ** 2), Je = j < Math.PI ? 2 * z * Math.tan(j * 0.5) : 1 / 0, tt = Math.min(
|
|
57536
57536
|
Ge,
|
|
57537
57537
|
Je
|
|
57538
57538
|
), Pt = Math.PI / 4;
|
|
57539
57539
|
let at, Vt;
|
|
57540
57540
|
return k === 0 ? (at = U, Vt = Math.sqrt(V ** 2 - (at / 2) ** 2) - U / (2 * Math.tan(X * 0.5))) : Zve(j) < Pt ? (at = 2 * z * Math.tan(j * 0.5), Vt = Math.sqrt(V ** 2 - (at / 2) ** 2) - z) : (Vt = 0, at = 0), tt >= Vt ? {
|
|
57541
57541
|
width: tt,
|
|
57542
|
-
height:
|
|
57542
|
+
height: Ce,
|
|
57543
57543
|
meta: 1
|
|
57544
57544
|
/* Parallel */
|
|
57545
57545
|
} : {
|
|
@@ -57565,8 +57565,8 @@ var DL = class extends E.HierarchySeries {
|
|
|
57565
57565
|
pe = 0;
|
|
57566
57566
|
break;
|
|
57567
57567
|
case 1: {
|
|
57568
|
-
const fe = V - (m - ee) * 0.58,
|
|
57569
|
-
pe = Math.min(fe,
|
|
57568
|
+
const fe = V - (m - ee) * 0.58, Ce = Math.sqrt((V - r) ** 2 - (K / 2) ** 2);
|
|
57569
|
+
pe = Math.min(fe, Ce);
|
|
57570
57570
|
break;
|
|
57571
57571
|
}
|
|
57572
57572
|
case 2:
|
|
@@ -57581,14 +57581,14 @@ var DL = class extends E.HierarchySeries {
|
|
|
57581
57581
|
const {
|
|
57582
57582
|
fontStyle: U = "normal",
|
|
57583
57583
|
fontFamily: fe,
|
|
57584
|
-
fontWeight:
|
|
57584
|
+
fontWeight: Ce = "normal",
|
|
57585
57585
|
color: Ge = "black"
|
|
57586
57586
|
} = this.properties.label;
|
|
57587
57587
|
x.label = {
|
|
57588
57588
|
...ne,
|
|
57589
57589
|
fontStyle: U,
|
|
57590
57590
|
fontFamily: fe,
|
|
57591
|
-
fontWeight:
|
|
57591
|
+
fontWeight: Ce,
|
|
57592
57592
|
color: Ge,
|
|
57593
57593
|
labelPlacement: Y,
|
|
57594
57594
|
circleQuarter: Te,
|
|
@@ -57600,14 +57600,14 @@ var DL = class extends E.HierarchySeries {
|
|
|
57600
57600
|
const {
|
|
57601
57601
|
fontStyle: U = "normal",
|
|
57602
57602
|
fontFamily: fe,
|
|
57603
|
-
fontWeight:
|
|
57603
|
+
fontWeight: Ce = "normal",
|
|
57604
57604
|
color: Ge = "black"
|
|
57605
57605
|
} = this.properties.secondaryLabel;
|
|
57606
57606
|
x.secondaryLabel = {
|
|
57607
57607
|
...ce,
|
|
57608
57608
|
fontStyle: U,
|
|
57609
57609
|
fontFamily: fe,
|
|
57610
|
-
fontWeight:
|
|
57610
|
+
fontWeight: Ce,
|
|
57611
57611
|
color: Ge,
|
|
57612
57612
|
labelPlacement: Y,
|
|
57613
57613
|
circleQuarter: Te,
|
|
@@ -58885,14 +58885,14 @@ var {
|
|
|
58885
58885
|
x: re.x + re.width / 2,
|
|
58886
58886
|
y: re.y + re.height / 2
|
|
58887
58887
|
}, Te = G ? J : X, pe = Math.floor(n.strokeWidth) % 2 / 2, U = d ? J : Te, fe = d ? Te : J;
|
|
58888
|
-
let
|
|
58889
|
-
l ? (
|
|
58888
|
+
let Ce, Ge;
|
|
58889
|
+
l ? (Ce = {
|
|
58890
58890
|
x: U + pe,
|
|
58891
58891
|
y: re.y
|
|
58892
58892
|
}, Ge = {
|
|
58893
58893
|
x: fe + pe,
|
|
58894
58894
|
y: re.y + re.height
|
|
58895
|
-
}) : (
|
|
58895
|
+
}) : (Ce = {
|
|
58896
58896
|
x: re.x,
|
|
58897
58897
|
y: U + pe
|
|
58898
58898
|
}, Ge = {
|
|
@@ -58901,11 +58901,11 @@ var {
|
|
|
58901
58901
|
});
|
|
58902
58902
|
const Je = {
|
|
58903
58903
|
// lineTo
|
|
58904
|
-
x: d ? Ge.x :
|
|
58905
|
-
y: d ? Ge.y :
|
|
58904
|
+
x: d ? Ge.x : Ce.x,
|
|
58905
|
+
y: d ? Ge.y : Ce.y,
|
|
58906
58906
|
// moveTo
|
|
58907
|
-
x2: d ?
|
|
58908
|
-
y2: d ?
|
|
58907
|
+
x2: d ? Ce.x : Ge.x,
|
|
58908
|
+
y2: d ? Ce.y : Ge.y,
|
|
58909
58909
|
size: 0
|
|
58910
58910
|
};
|
|
58911
58911
|
p.push(Je);
|
|
@@ -98167,8 +98167,8 @@ function D2e() {
|
|
|
98167
98167
|
var Y = x.quoteChar || '"', Y = (x.newline || (x.newline = this.guessLineEndings(oe, Y)), R = !1, x.delimiter ? D(x.delimiter) && (x.delimiter = x.delimiter(oe), j.meta.delimiter = x.delimiter) : ((Y = ((ne, ce, he, re, Se) => {
|
|
98168
98168
|
var Te, pe, U, fe;
|
|
98169
98169
|
Se = Se || [",", " ", "|", ";", c.RECORD_SEP, c.UNIT_SEP];
|
|
98170
|
-
for (var
|
|
98171
|
-
for (var Ge, Je = Se[
|
|
98170
|
+
for (var Ce = 0; Ce < Se.length; Ce++) {
|
|
98171
|
+
for (var Ge, Je = Se[Ce], tt = 0, Pt = 0, at = 0, Vt = (U = void 0, new m({ comments: re, delimiter: Je, newline: ce, preview: 10 }).parse(ne)), mo = 0; mo < Vt.data.length; mo++) he && $(Vt.data[mo]) ? at++ : (Ge = Vt.data[mo].length, Pt += Ge, U === void 0 ? U = Ge : 0 < Ge && (tt += Math.abs(Ge - U), U = Ge));
|
|
98172
98172
|
0 < Vt.data.length && (Pt /= Vt.data.length - at), (pe === void 0 || tt <= pe) && (fe === void 0 || fe < Pt) && 1.99 < Pt && (pe = tt, Te = Je, fe = Pt);
|
|
98173
98173
|
}
|
|
98174
98174
|
return { successful: !!(x.delimiter = Te), bestDelimiter: Te };
|
|
@@ -98230,12 +98230,12 @@ function D2e() {
|
|
|
98230
98230
|
if (z === V && F[pe + 1] === V) pe++;
|
|
98231
98231
|
else if (z === V || pe === 0 || F[pe - 1] !== V) {
|
|
98232
98232
|
re !== -1 && re < pe + 1 && (re = F.indexOf(M, pe + 1));
|
|
98233
|
-
var U =
|
|
98233
|
+
var U = Ce((Se = Se !== -1 && Se < pe + 1 ? F.indexOf(k, pe + 1) : Se) === -1 ? re : Math.min(re, Se));
|
|
98234
98234
|
if (F.substr(pe + 1 + U, J) === M) {
|
|
98235
98235
|
Y.push(F.substring(G, pe).replace(Te, z)), F[G = pe + 1 + U + J] !== z && (pe = F.indexOf(z, G)), re = F.indexOf(M, G), Se = F.indexOf(k, G);
|
|
98236
98236
|
break;
|
|
98237
98237
|
}
|
|
98238
|
-
if (U =
|
|
98238
|
+
if (U = Ce(Se), F.substring(pe + 1 + U, pe + 1 + U + X) === k) {
|
|
98239
98239
|
if (Y.push(F.substring(G, pe).replace(Te, z)), Je(pe + 1 + U + X), re = F.indexOf(M, G), pe = F.indexOf(z, G), oe && (Pt(), _)) return tt();
|
|
98240
98240
|
if (P && K.length >= P) return tt(!0);
|
|
98241
98241
|
break;
|
|
@@ -98256,7 +98256,7 @@ function D2e() {
|
|
|
98256
98256
|
function fe(at) {
|
|
98257
98257
|
K.push(at), ne = G;
|
|
98258
98258
|
}
|
|
98259
|
-
function
|
|
98259
|
+
function Ce(at) {
|
|
98260
98260
|
var Vt = 0;
|
|
98261
98261
|
return Vt = at !== -1 && (at = F.substring(pe + 1, at)) && at.trim() === "" ? at.length : Vt;
|
|
98262
98262
|
}
|
|
@@ -98273,9 +98273,9 @@ function D2e() {
|
|
|
98273
98273
|
for (let q = 0; q < Vt.length; q++) {
|
|
98274
98274
|
let se = Vt[q];
|
|
98275
98275
|
if (mo[se = D(x.transformHeader) ? x.transformHeader(se, q) : se]) {
|
|
98276
|
-
let
|
|
98277
|
-
for (;
|
|
98278
|
-
Ac.add(
|
|
98276
|
+
let ve, Ae = mo[se];
|
|
98277
|
+
for (; ve = se + "_" + Ae, Ae++, Ac.has(ve); ) ;
|
|
98278
|
+
Ac.add(ve), Vt[q] = ve, mo[se]++, W = !0, (O = O === null ? {} : O)[ve] = se;
|
|
98279
98279
|
} else mo[se] = 1, Vt[q] = se;
|
|
98280
98280
|
Ac.add(se);
|
|
98281
98281
|
}
|
|
@@ -100162,7 +100162,7 @@ const CPe = {
|
|
|
100162
100162
|
...o.popoverCssProperties
|
|
100163
100163
|
} : o.popoverCssProperties);
|
|
100164
100164
|
return (m, v) => qu((Z(), ae("div", CPe, [
|
|
100165
|
-
|
|
100165
|
+
ye("button", {
|
|
100166
100166
|
ref_key: "triggerRef",
|
|
100167
100167
|
ref: r,
|
|
100168
100168
|
class: St({ "pv-select": !m.icon, "pv-icon-button": m.icon }),
|
|
@@ -100316,7 +100316,7 @@ const CPe = {
|
|
|
100316
100316
|
name: s.icon,
|
|
100317
100317
|
size: 12
|
|
100318
100318
|
}, null, 8, ["name"])) : De("", !0),
|
|
100319
|
-
|
|
100319
|
+
ye("span", null, _e(s.label), 1),
|
|
100320
100320
|
s.showClear ? (Z(), Ze(Ni, {
|
|
100321
100321
|
key: 1,
|
|
100322
100322
|
"data-testid": "pv-tag-close-icon",
|
|
@@ -100408,7 +100408,7 @@ const zPe = {
|
|
|
100408
100408
|
class: St(s.value),
|
|
100409
100409
|
style: Vl(n.value)
|
|
100410
100410
|
}, [
|
|
100411
|
-
|
|
100411
|
+
ye("img", {
|
|
100412
100412
|
src: a.value,
|
|
100413
100413
|
alt: "",
|
|
100414
100414
|
onError: c[0] || (c[0] = (d) => i.value = !1)
|
|
@@ -100458,14 +100458,14 @@ const zPe = {
|
|
|
100458
100458
|
style: { "--max-width": "480px" },
|
|
100459
100459
|
onClose: s
|
|
100460
100460
|
}, [
|
|
100461
|
-
|
|
100462
|
-
|
|
100463
|
-
|
|
100461
|
+
ye("div", HPe, [
|
|
100462
|
+
ye("div", WPe, [
|
|
100463
|
+
ye("span", jPe, _e(n.header), 1),
|
|
100464
100464
|
n.subheader ? (Z(), ae("span", $Pe, _e(n.subheader), 1)) : De("", !0)
|
|
100465
100465
|
]),
|
|
100466
100466
|
Ds(n.$slots, "body")
|
|
100467
100467
|
]),
|
|
100468
|
-
|
|
100468
|
+
ye("div", UPe, [
|
|
100469
100469
|
Ds(n.$slots, "footer")
|
|
100470
100470
|
])
|
|
100471
100471
|
], 40, VPe));
|
|
@@ -100512,7 +100512,7 @@ const ZPe = ["data-style"], qPe = /* @__PURE__ */ Ke({
|
|
|
100512
100512
|
name: "expand",
|
|
100513
100513
|
size: 12
|
|
100514
100514
|
})) : De("", !0),
|
|
100515
|
-
|
|
100515
|
+
ye("span", null, _e(o.label), 1)
|
|
100516
100516
|
], 10, ZPe));
|
|
100517
100517
|
}
|
|
100518
100518
|
}), QPe = { class: "pv-relative" }, JPe = ["disabled", "placeholder"], eNe = {
|
|
@@ -100542,7 +100542,7 @@ const ZPe = ["data-style"], qPe = /* @__PURE__ */ Ke({
|
|
|
100542
100542
|
(!l || c) && (c || (r.preventDefault(), o.value?.focus()));
|
|
100543
100543
|
});
|
|
100544
100544
|
}), t({ input: o }), (r, a) => (Z(), ae("div", QPe, [
|
|
100545
|
-
qu(
|
|
100545
|
+
qu(ye("input", {
|
|
100546
100546
|
ref: "search-input",
|
|
100547
100547
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => s.value = l),
|
|
100548
100548
|
"data-testid": "pv-search-input",
|
|
@@ -100842,8 +100842,8 @@ var Rr = {
|
|
|
100842
100842
|
if (Ci(h) && p.transform !== "strict") {
|
|
100843
100843
|
const { primitive: w, semantic: I, extend: D } = h, x = I || {}, { colorScheme: M } = x, k = fl(x, ["colorScheme"]), R = D || {}, { colorScheme: L } = R, P = fl(R, ["colorScheme"]), N = M || {}, { dark: O } = N, B = fl(N, ["dark"]), z = L || {}, { dark: V } = z, G = fl(z, ["dark"]), _ = Ci(w) ? this._toVariables({ primitive: w }, p) : {}, F = Ci(k) ? this._toVariables({ semantic: k }, p) : {}, H = Ci(B) ? this._toVariables({ light: B }, p) : {}, j = Ci(O) ? this._toVariables({ dark: O }, p) : {}, $ = Ci(P) ? this._toVariables({ semantic: P }, p) : {}, J = Ci(G) ? this._toVariables({ light: G }, p) : {}, X = Ci(V) ? this._toVariables({ dark: V }, p) : {}, [te, oe] = [(n = _.declarations) != null ? n : "", _.tokens], [K, ee] = [(r = F.declarations) != null ? r : "", F.tokens || []], [Y, ne] = [(a = H.declarations) != null ? a : "", H.tokens || []], [ce, he] = [(l = j.declarations) != null ? l : "", j.tokens || []], [re, Se] = [(c = $.declarations) != null ? c : "", $.tokens || []], [Te, pe] = [(d = J.declarations) != null ? d : "", J.tokens || []], [U, fe] = [(u = X.declarations) != null ? u : "", X.tokens || []];
|
|
100844
100844
|
g = this.transformCSS(e, te, "light", "variable", p, o, s), f = oe;
|
|
100845
|
-
const
|
|
100846
|
-
y = `${
|
|
100845
|
+
const Ce = this.transformCSS(e, `${K}${Y}`, "light", "variable", p, o, s), Ge = this.transformCSS(e, `${ce}`, "dark", "variable", p, o, s);
|
|
100846
|
+
y = `${Ce}${Ge}`, m = [.../* @__PURE__ */ new Set([...ee, ...ne, ...he])];
|
|
100847
100847
|
const Je = this.transformCSS(e, `${re}${Te}color-scheme:light`, "light", "variable", p, o, s), tt = this.transformCSS(e, `${U}color-scheme:dark`, "dark", "variable", p, o, s);
|
|
100848
100848
|
v = `${Je}${tt}`, C = [.../* @__PURE__ */ new Set([...Se, ...pe, ...fe])], S = cd(h.css, { dt: Zu });
|
|
100849
100849
|
}
|
|
@@ -101965,7 +101965,7 @@ const QNe = ["data-position", "aria-labelledby", "data-style", "data-static"], J
|
|
|
101965
101965
|
"data-static": t.interactive === !1 ? !0 : void 0
|
|
101966
101966
|
}, [
|
|
101967
101967
|
Ds(t.$slots, "label"),
|
|
101968
|
-
|
|
101968
|
+
ye("div", {
|
|
101969
101969
|
role: "tooltip",
|
|
101970
101970
|
id: t.ariaLabelledBy,
|
|
101971
101971
|
"data-testid": "pv-tooltip-content"
|
|
@@ -102213,8 +102213,8 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102213
102213
|
name: t.companyName,
|
|
102214
102214
|
size: "sm"
|
|
102215
102215
|
}, null, 8, ["name"])) : De("", !0),
|
|
102216
|
-
|
|
102217
|
-
|
|
102216
|
+
ye("div", uOe, [
|
|
102217
|
+
ye("span", {
|
|
102218
102218
|
class: "pv-text-body-md pv-full-width pv-truncate",
|
|
102219
102219
|
title: t.text
|
|
102220
102220
|
}, _e(t.text), 9, hOe),
|
|
@@ -102254,7 +102254,7 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102254
102254
|
"data-testid": "pv-menu-checkbox-item",
|
|
102255
102255
|
style: { cursor: "pointer" }
|
|
102256
102256
|
}, [
|
|
102257
|
-
|
|
102257
|
+
ye("input", {
|
|
102258
102258
|
type: "checkbox",
|
|
102259
102259
|
name: "checkbox",
|
|
102260
102260
|
checked: t.value,
|
|
@@ -102263,8 +102263,8 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102263
102263
|
disabled: t.disabled
|
|
102264
102264
|
}, null, 40, fOe),
|
|
102265
102265
|
t.renderer ? (Z(), Ze(Yp(t.renderer), Xp(Zp({ key: 0 }, t.$props)), null, 16)) : (Z(), ae(Lt, { key: 1 }, [
|
|
102266
|
-
|
|
102267
|
-
|
|
102266
|
+
ye("div", mOe, [
|
|
102267
|
+
ye("span", {
|
|
102268
102268
|
class: "pv-text-body-md pv-full-width pv-truncate",
|
|
102269
102269
|
title: t.text
|
|
102270
102270
|
}, _e(t.text), 9, yOe),
|
|
@@ -102508,12 +102508,12 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102508
102508
|
class: "pv-sticky pv-surface pv-stack-12",
|
|
102509
102509
|
style: { "padding-top": "4px" }
|
|
102510
102510
|
}, null, 8, ["model-value"]),
|
|
102511
|
-
M[2] || (M[2] =
|
|
102511
|
+
M[2] || (M[2] = ye("div", { class: "pv-border-top pv-stack-12" }, null, -1))
|
|
102512
102512
|
], 64)) : De("", !0),
|
|
102513
102513
|
m.value.length > 0 ? (Z(), ae(Lt, { key: 1 }, [
|
|
102514
102514
|
I.value ? (Z(!0), ae(Lt, { key: 0 }, Vr(w.value, ([k, R], L) => (Z(), ae("div", { key: k }, [
|
|
102515
102515
|
x.$slots[k] ? Ds(x.$slots, k, { key: 0 }) : k !== "other" ? (Z(), ae("span", wOe, _e(k), 1)) : De("", !0),
|
|
102516
|
-
|
|
102516
|
+
ye("ul", MOe, [
|
|
102517
102517
|
(Z(!0), ae(Lt, null, Vr(R, (P) => qu((Z(), ae("li", {
|
|
102518
102518
|
key: P.id,
|
|
102519
102519
|
"data-active": D(P),
|
|
@@ -102551,7 +102551,7 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102551
102551
|
])) : m.value.length === 0 ? (Z(), ae(Lt, { key: 3 }, [
|
|
102552
102552
|
x.$slots["no-results"] ? Ds(x.$slots, "no-results", Xp(Zp({ key: 0 }, x.$props))) : (Z(), Ze(sj, { key: 1 }))
|
|
102553
102553
|
], 64)) : De("", !0),
|
|
102554
|
-
|
|
102554
|
+
ye("div", TOe, [
|
|
102555
102555
|
x.$slots.footer ? Ds(x.$slots, "footer", Xp(Zp({ key: 0 }, x.$props))) : De("", !0),
|
|
102556
102556
|
x.showMenuAction ? (Z(), Ze(iOe, {
|
|
102557
102557
|
key: 1,
|
|
@@ -102593,15 +102593,15 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102593
102593
|
emits: ["handle-selected"],
|
|
102594
102594
|
setup(e) {
|
|
102595
102595
|
return (t, i) => (Z(), ae("label", EOe, [
|
|
102596
|
-
|
|
102596
|
+
ye("input", {
|
|
102597
102597
|
type: "radio",
|
|
102598
102598
|
name: "radio",
|
|
102599
102599
|
checked: t.value,
|
|
102600
102600
|
class: "pv-radio",
|
|
102601
102601
|
onChange: i[0] || (i[0] = (o) => t.$emit("handle-selected"))
|
|
102602
102602
|
}, null, 40, POe),
|
|
102603
|
-
|
|
102604
|
-
|
|
102603
|
+
ye("div", NOe, [
|
|
102604
|
+
ye("span", {
|
|
102605
102605
|
class: "pv-text-body-md pv-full-width pv-truncate",
|
|
102606
102606
|
title: t.text
|
|
102607
102607
|
}, _e(t.text), 9, OOe),
|
|
@@ -102725,7 +102725,7 @@ const sj = /* @__PURE__ */ ll(rOe, [["render", lOe]]), cOe = ["src"], dOe = /* @
|
|
|
102725
102725
|
"onUpdate:modelValue": D[1] || (D[1] = (x) => g.value = x),
|
|
102726
102726
|
class: "pv-stack-12"
|
|
102727
102727
|
}, null, 8, ["model-value"]),
|
|
102728
|
-
D[2] || (D[2] =
|
|
102728
|
+
D[2] || (D[2] = ye("div", { class: "pv-border-top pv-stack-12" }, null, -1))
|
|
102729
102729
|
], 64)) : De("", !0),
|
|
102730
102730
|
v.value.length > 0 ? (Z(!0), ae(Lt, { key: 1 }, Vr(v.value, (x) => (Z(), ae("li", {
|
|
102731
102731
|
key: x.id,
|
|
@@ -102861,8 +102861,8 @@ const mS = Symbol("FilterStoreKey"), rj = Symbol("FocusDataKey"), aj = Symbol("S
|
|
|
102861
102861
|
onListOrderUpdated: m
|
|
102862
102862
|
}, {
|
|
102863
102863
|
trigger: Yi(() => [
|
|
102864
|
-
|
|
102865
|
-
C[0] || (C[0] =
|
|
102864
|
+
ye("div", d9e, [
|
|
102865
|
+
C[0] || (C[0] = ye("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1)),
|
|
102866
102866
|
Ee(s).length > 0 ? (Z(), Ze(Ee(hS), {
|
|
102867
102867
|
key: 0,
|
|
102868
102868
|
value: Ee(s).length,
|
|
@@ -102878,7 +102878,7 @@ const mS = Symbol("FilterStoreKey"), rj = Symbol("FocusDataKey"), aj = Symbol("S
|
|
|
102878
102878
|
key: 0,
|
|
102879
102879
|
id: y(S.value)
|
|
102880
102880
|
}, [
|
|
102881
|
-
|
|
102881
|
+
ye("label", {
|
|
102882
102882
|
class: St(["pv-flex", {
|
|
102883
102883
|
"pv-border-bottom": w + 1 === Ee(s).length
|
|
102884
102884
|
}])
|
|
@@ -102888,7 +102888,7 @@ const mS = Symbol("FilterStoreKey"), rj = Symbol("FocusDataKey"), aj = Symbol("S
|
|
|
102888
102888
|
name: "reorder",
|
|
102889
102889
|
class: "pv-text-subdued"
|
|
102890
102890
|
})) : (Z(), ae("span", h9e)),
|
|
102891
|
-
|
|
102891
|
+
ye("input", {
|
|
102892
102892
|
type: "checkbox",
|
|
102893
102893
|
class: "pv-checkbox",
|
|
102894
102894
|
checked: a(S.value),
|
|
@@ -102898,7 +102898,7 @@ const mS = Symbol("FilterStoreKey"), rj = Symbol("FocusDataKey"), aj = Symbol("S
|
|
|
102898
102898
|
I.target.checked
|
|
102899
102899
|
)
|
|
102900
102900
|
}, null, 40, p9e),
|
|
102901
|
-
|
|
102901
|
+
ye("span", g9e, _e(S.label), 1),
|
|
102902
102902
|
a(S.value) ? (Z(), ae("sup", f9e, _e(w + 1), 1)) : De("", !0)
|
|
102903
102903
|
], 2)
|
|
102904
102904
|
], 8, u9e)) : De("", !0)
|
|
@@ -102956,16 +102956,16 @@ const S9e = /* @__PURE__ */ ll(v9e, [["render", C9e]]), x9e = {
|
|
|
102956
102956
|
g != null && (s.value[g] = !1);
|
|
102957
102957
|
}), (p, g) => (Z(), ae(Lt, null, [
|
|
102958
102958
|
r.value ? (Z(), ae("div", x9e, [
|
|
102959
|
-
|
|
102959
|
+
ye("p", w9e, [
|
|
102960
102960
|
qs(_e(Ee(a).rowGroupColumn?.getColDef().headerName) + " ", 1),
|
|
102961
102961
|
p.params.displayCount && n.value && d.value > 0 ? (Z(), ae("span", M9e, " (" + _e(d.value.toLocaleString()) + ") ", 1)) : De("", !0)
|
|
102962
102962
|
]),
|
|
102963
|
-
|
|
102964
|
-
|
|
102963
|
+
ye("div", D9e, [
|
|
102964
|
+
ye("p", I9e, _e(p.params.formattedValue || p.params.rowNode.key), 1)
|
|
102965
102965
|
])
|
|
102966
102966
|
])) : De("", !0),
|
|
102967
|
-
|
|
102968
|
-
|
|
102967
|
+
ye("div", null, [
|
|
102968
|
+
ye("p", null, [
|
|
102969
102969
|
p.params.displayRowNumber && u.value ? (Z(), ae("span", A9e, _e(u.value), 1)) : De("", !0),
|
|
102970
102970
|
qs(" " + _e(c.value), 1)
|
|
102971
102971
|
])
|
|
@@ -103089,9 +103089,9 @@ const R9e = (e) => {
|
|
|
103089
103089
|
class: "pv-flex",
|
|
103090
103090
|
ondblclick: s
|
|
103091
103091
|
}, [
|
|
103092
|
-
|
|
103093
|
-
|
|
103094
|
-
|
|
103092
|
+
ye("div", N9e, [
|
|
103093
|
+
ye("p", null, _e(l.value), 1),
|
|
103094
|
+
ye("p", O9e, _e(o.value), 1)
|
|
103095
103095
|
]),
|
|
103096
103096
|
ze(Oo, {
|
|
103097
103097
|
size: "xl",
|
|
@@ -103209,7 +103209,7 @@ const R9e = (e) => {
|
|
|
103209
103209
|
t.rendererProps?.onFocusUpdate && t.rendererProps.onFocusUpdate(s);
|
|
103210
103210
|
};
|
|
103211
103211
|
return (s, n) => (Z(), ae("div", B9e, [
|
|
103212
|
-
|
|
103212
|
+
ye("span", null, _e(s.text), 1),
|
|
103213
103213
|
ze(fS, {
|
|
103214
103214
|
variant: "dark",
|
|
103215
103215
|
tooltipPosition: "top-right",
|
|
@@ -103287,12 +103287,12 @@ const R9e = (e) => {
|
|
|
103287
103287
|
);
|
|
103288
103288
|
}, B = async (U = !1, fe = !1) => {
|
|
103289
103289
|
if (!s.value) return;
|
|
103290
|
-
const
|
|
103290
|
+
const Ce = await s.value.getColumnFilterInstance(
|
|
103291
103291
|
D.value
|
|
103292
103292
|
), Ge = U && d.value[D.value] !== !0 && c.value > P.value;
|
|
103293
|
-
p.value && (fe || Ge) && (
|
|
103294
|
-
}, z = (U) => U.sort((fe,
|
|
103295
|
-
const Ge = w.value.includes(fe), Je = w.value.includes(
|
|
103293
|
+
p.value && (fe || Ge) && (Ce.refreshFilterValues(), P.value = c.value), I.value = z(Ce.getFilterValues());
|
|
103294
|
+
}, z = (U) => U.sort((fe, Ce) => {
|
|
103295
|
+
const Ge = w.value.includes(fe), Je = w.value.includes(Ce);
|
|
103296
103296
|
return Ge && !Je ? -1 : !Ge && Je ? 1 : 0;
|
|
103297
103297
|
}), V = (U) => {
|
|
103298
103298
|
const fe = u(D.value, U);
|
|
@@ -103329,12 +103329,12 @@ const R9e = (e) => {
|
|
|
103329
103329
|
return U.filterFooterRenderer;
|
|
103330
103330
|
}), te = le(() => G.value ? w.value.length >= G.value : !1), oe = le(() => I.value.filter(
|
|
103331
103331
|
(U) => !w.value.includes(U)
|
|
103332
|
-
)), K = le(() => I.value.length === 1 && I.value[0] === null && w.value.length === 0), ee = (U) => n.value[0] === U && i.enableFocusView, Y = (U) => K.value || u(D.value, U)?.isSelectable === !1 ? !0 : _.value ? !1 : te.value && !w.value.includes(U), ne = le(() => I.value.filter((fe,
|
|
103333
|
-
let
|
|
103334
|
-
return u(D.value, fe)?.isPreference && (
|
|
103332
|
+
)), K = le(() => I.value.length === 1 && I.value[0] === null && w.value.length === 0), ee = (U) => n.value[0] === U && i.enableFocusView, Y = (U) => K.value || u(D.value, U)?.isSelectable === !1 ? !0 : _.value ? !1 : te.value && !w.value.includes(U), ne = le(() => I.value.filter((fe, Ce) => I.value.indexOf(fe) === Ce).filter((fe) => fe != null && fe !== "").map((fe) => {
|
|
103333
|
+
let Ce = F.value ? "suggestions" : null;
|
|
103334
|
+
return u(D.value, fe)?.isPreference && (Ce = "preferences"), {
|
|
103335
103335
|
id: fe,
|
|
103336
103336
|
text: V(fe),
|
|
103337
|
-
groupingLabel:
|
|
103337
|
+
groupingLabel: Ce,
|
|
103338
103338
|
disabled: Y(fe),
|
|
103339
103339
|
renderer: ee(D.value) ? _9e : J.value,
|
|
103340
103340
|
rendererProps: {
|
|
@@ -103423,23 +103423,23 @@ const R9e = (e) => {
|
|
|
103423
103423
|
return Jr(() => {
|
|
103424
103424
|
N();
|
|
103425
103425
|
}), (U, fe) => (Z(), ae(Lt, null, [
|
|
103426
|
-
|
|
103426
|
+
ye("div", null, [
|
|
103427
103427
|
k.value ? (Z(), ae("ul", V9e, [
|
|
103428
|
-
(Z(!0), ae(Lt, null, Vr(w.value, (
|
|
103429
|
-
key: `${x.value}-${
|
|
103428
|
+
(Z(!0), ae(Lt, null, Vr(w.value, (Ce) => (Z(), ae("li", {
|
|
103429
|
+
key: `${x.value}-${Ce}`
|
|
103430
103430
|
}, [
|
|
103431
103431
|
ze(EPe, {
|
|
103432
|
-
label: V(
|
|
103432
|
+
label: V(Ce) || "",
|
|
103433
103433
|
showClear: !0,
|
|
103434
|
-
onHandleClose: (Ge) => re(
|
|
103434
|
+
onHandleClose: (Ge) => re(Ce)
|
|
103435
103435
|
}, null, 8, ["label", "onHandleClose"])
|
|
103436
103436
|
]))), 128))
|
|
103437
103437
|
])) : De("", !0),
|
|
103438
103438
|
ze(Ee(LOe), {
|
|
103439
103439
|
modelValue: ce.value,
|
|
103440
|
-
"onUpdate:modelValue": fe[1] || (fe[1] = (
|
|
103440
|
+
"onUpdate:modelValue": fe[1] || (fe[1] = (Ce) => ce.value = Ce),
|
|
103441
103441
|
searchInput: L.value,
|
|
103442
|
-
"onUpdate:searchInput": fe[2] || (fe[2] = (
|
|
103442
|
+
"onUpdate:searchInput": fe[2] || (fe[2] = (Ce) => L.value = Ce),
|
|
103443
103443
|
label: k.value ? "" : x.value,
|
|
103444
103444
|
icon: k.value ? "add-circle" : void 0,
|
|
103445
103445
|
variant: k.value ? "ghost" : "secondary",
|
|
@@ -103457,12 +103457,12 @@ const R9e = (e) => {
|
|
|
103457
103457
|
},
|
|
103458
103458
|
groupings: ["preferences", "suggestions"],
|
|
103459
103459
|
isLoading: M.value,
|
|
103460
|
-
onDropdownOpen: fe[3] || (fe[3] = (
|
|
103460
|
+
onDropdownOpen: fe[3] || (fe[3] = (Ce) => B(!0)),
|
|
103461
103461
|
onDropdownClosed: pe
|
|
103462
103462
|
}, GE({
|
|
103463
103463
|
preferences: Yi(() => [
|
|
103464
|
-
|
|
103465
|
-
fe[5] || (fe[5] =
|
|
103464
|
+
ye("div", H9e, [
|
|
103465
|
+
fe[5] || (fe[5] = ye("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1)),
|
|
103466
103466
|
ze(Ee(fS), {
|
|
103467
103467
|
variant: "dark",
|
|
103468
103468
|
size: "sm"
|
|
@@ -103471,7 +103471,7 @@ const R9e = (e) => {
|
|
|
103471
103471
|
ze(Oo, {
|
|
103472
103472
|
size: "md",
|
|
103473
103473
|
variant: "ghost",
|
|
103474
|
-
onClick: fe[0] || (fe[0] = (
|
|
103474
|
+
onClick: fe[0] || (fe[0] = (Ce) => U.$emit("handle-settings-icon", x.value)),
|
|
103475
103475
|
"right-icon": "sliders-horizontal"
|
|
103476
103476
|
})
|
|
103477
103477
|
]),
|
|
@@ -103490,12 +103490,12 @@ const R9e = (e) => {
|
|
|
103490
103490
|
size: "sm"
|
|
103491
103491
|
}, GE({
|
|
103492
103492
|
label: Yi(() => [
|
|
103493
|
-
|
|
103493
|
+
ye("div", W9e, [
|
|
103494
103494
|
ze(Ni, {
|
|
103495
103495
|
name: "ai",
|
|
103496
103496
|
size: 12
|
|
103497
103497
|
}),
|
|
103498
|
-
|
|
103498
|
+
ye("p", j9e, _e(F.value), 1)
|
|
103499
103499
|
])
|
|
103500
103500
|
]),
|
|
103501
103501
|
_: 2
|
|
@@ -103513,15 +103513,15 @@ const R9e = (e) => {
|
|
|
103513
103513
|
}, [
|
|
103514
103514
|
$.value ? {
|
|
103515
103515
|
name: "no-results",
|
|
103516
|
-
fn: Yi((
|
|
103517
|
-
(Z(), Ze(Yp($.value), Xp(zE(
|
|
103516
|
+
fn: Yi((Ce) => [
|
|
103517
|
+
(Z(), Ze(Yp($.value), Xp(zE(Ce)), null, 16))
|
|
103518
103518
|
]),
|
|
103519
103519
|
key: "0"
|
|
103520
103520
|
} : void 0,
|
|
103521
103521
|
X.value ? {
|
|
103522
103522
|
name: "footer",
|
|
103523
|
-
fn: Yi((
|
|
103524
|
-
(Z(), Ze(Yp(X.value), Xp(zE(
|
|
103523
|
+
fn: Yi((Ce) => [
|
|
103524
|
+
(Z(), Ze(Yp(X.value), Xp(zE(Ce)), null, 16))
|
|
103525
103525
|
]),
|
|
103526
103526
|
key: "1"
|
|
103527
103527
|
} : void 0
|
|
@@ -103529,16 +103529,16 @@ const R9e = (e) => {
|
|
|
103529
103529
|
]),
|
|
103530
103530
|
k.value ? (Z(), ae("div", $9e, [
|
|
103531
103531
|
oe.value.length > 0 ? (Z(), ae("div", U9e, [
|
|
103532
|
-
|
|
103533
|
-
fe[6] || (fe[6] =
|
|
103534
|
-
|
|
103532
|
+
ye("ul", K9e, [
|
|
103533
|
+
fe[6] || (fe[6] = ye("li", null, [
|
|
103534
|
+
ye("p", { class: "pv-text-subdued pv-text-body-md" }, "Suggested:")
|
|
103535
103535
|
], -1)),
|
|
103536
|
-
(Z(!0), ae(Lt, null, Vr(oe.value.filter((
|
|
103537
|
-
key: `${x.value}-${
|
|
103536
|
+
(Z(!0), ae(Lt, null, Vr(oe.value.filter((Ce) => Ce !== "" && Ce != null).slice(0, Y9e), (Ce) => (Z(), ae("li", {
|
|
103537
|
+
key: `${x.value}-${Ce}-suggest`
|
|
103538
103538
|
}, [
|
|
103539
103539
|
ze(Ee(qPe), {
|
|
103540
|
-
label: V(
|
|
103541
|
-
onHandleClick: (Ge) => he(
|
|
103540
|
+
label: V(Ce) || "",
|
|
103541
|
+
onHandleClick: (Ge) => he(Ce)
|
|
103542
103542
|
}, null, 8, ["label", "onHandleClick"])
|
|
103543
103543
|
]))), 128))
|
|
103544
103544
|
])
|
|
@@ -103595,7 +103595,7 @@ const R9e = (e) => {
|
|
|
103595
103595
|
p.value && i.value && (i.value.setFilterModel(a.value), i.value.onFilterChanged(), r.value += 1), c.value?.close();
|
|
103596
103596
|
};
|
|
103597
103597
|
return (S, w) => (Z(), ae(Lt, null, [
|
|
103598
|
-
|
|
103598
|
+
ye("div", Z9e, [
|
|
103599
103599
|
(Z(!0), ae(Lt, null, Vr(u.value, (I) => (Z(), ae(Lt, {
|
|
103600
103600
|
key: I.field
|
|
103601
103601
|
}, [
|
|
@@ -103608,7 +103608,7 @@ const R9e = (e) => {
|
|
|
103608
103608
|
onFocusUpdate: w[1] || (w[1] = (D) => S.$emit("focus-update", D))
|
|
103609
103609
|
}, null, 8, ["enable-focus-view", "display-preferences-icon", "filterColDef"])) : De("", !0)
|
|
103610
103610
|
], 64))), 128)),
|
|
103611
|
-
|
|
103611
|
+
ye("div", q9e, [
|
|
103612
103612
|
S.enableVerticalPanel ? (Z(), Ze(Ee(Oo), {
|
|
103613
103613
|
key: 0,
|
|
103614
103614
|
label: "All Filters",
|
|
@@ -103638,29 +103638,29 @@ const R9e = (e) => {
|
|
|
103638
103638
|
onClick: w[9] || (w[9] = Ry((I) => C(), ["self"])),
|
|
103639
103639
|
style: { "max-width": "450px" }
|
|
103640
103640
|
}, [
|
|
103641
|
-
|
|
103642
|
-
|
|
103643
|
-
|
|
103644
|
-
|
|
103645
|
-
|
|
103641
|
+
ye("div", Q9e, [
|
|
103642
|
+
ye("div", J9e, [
|
|
103643
|
+
ye("div", e6e, [
|
|
103644
|
+
ye("p", t6e, " All Filters (" + _e(Ee(o).length) + ") ", 1),
|
|
103645
|
+
ye("button", {
|
|
103646
103646
|
class: "pv-button-ghost",
|
|
103647
103647
|
onClick: w[3] || (w[3] = (I) => v())
|
|
103648
103648
|
}, [
|
|
103649
103649
|
ze(Ee(Ni), { name: "close" })
|
|
103650
103650
|
])
|
|
103651
103651
|
]),
|
|
103652
|
-
|
|
103652
|
+
ye("div", i6e, [
|
|
103653
103653
|
(Z(!0), ae(Lt, null, Vr(Ee(o), (I, D) => (Z(), ae("div", {
|
|
103654
103654
|
key: I.field,
|
|
103655
103655
|
class: St([{
|
|
103656
103656
|
"pv-border-bottom": D < Ee(o).length - 1
|
|
103657
103657
|
}, "pv-stack-12"])
|
|
103658
103658
|
}, [
|
|
103659
|
-
|
|
103660
|
-
|
|
103661
|
-
|
|
103659
|
+
ye("details", o6e, [
|
|
103660
|
+
ye("summary", s6e, [
|
|
103661
|
+
ye("span", n6e, _e(I.headerName), 1)
|
|
103662
103662
|
]),
|
|
103663
|
-
|
|
103663
|
+
ye("div", r6e, [
|
|
103664
103664
|
Ee(i) ? (Z(), Ze(rB, {
|
|
103665
103665
|
key: 0,
|
|
103666
103666
|
"filter-style": "vertical",
|
|
@@ -103676,12 +103676,12 @@ const R9e = (e) => {
|
|
|
103676
103676
|
], 2))), 128))
|
|
103677
103677
|
])
|
|
103678
103678
|
]),
|
|
103679
|
-
|
|
103680
|
-
|
|
103679
|
+
ye("div", a6e, [
|
|
103680
|
+
ye("button", {
|
|
103681
103681
|
class: "pv-button-ghost",
|
|
103682
103682
|
onClick: w[6] || (w[6] = (I) => m())
|
|
103683
103683
|
}, " Clear All "),
|
|
103684
|
-
|
|
103684
|
+
ye("div", l6e, [
|
|
103685
103685
|
ze(Ee(Oo), {
|
|
103686
103686
|
variant: "ghost",
|
|
103687
103687
|
label: "Cancel",
|
|
@@ -103710,10 +103710,10 @@ const R9e = (e) => {
|
|
|
103710
103710
|
style: { top: "50%" }
|
|
103711
103711
|
}, {
|
|
103712
103712
|
body: Yi(() => w[13] || (w[13] = [
|
|
103713
|
-
|
|
103713
|
+
ye("p", { class: "pv-text-body-lg" }, " This action will remove all currently applied filters. Would you like to continue? ", -1)
|
|
103714
103714
|
])),
|
|
103715
103715
|
footer: Yi(() => [
|
|
103716
|
-
|
|
103716
|
+
ye("div", c6e, [
|
|
103717
103717
|
ze(Ee(Oo), {
|
|
103718
103718
|
label: "Cancel",
|
|
103719
103719
|
variant: "secondary",
|
|
@@ -103776,20 +103776,20 @@ const R9e = (e) => {
|
|
|
103776
103776
|
style: Vl(h.value),
|
|
103777
103777
|
onClick: m
|
|
103778
103778
|
}, [
|
|
103779
|
-
|
|
103779
|
+
ye("div", u6e, [
|
|
103780
103780
|
a.value ? (Z(), Ze(Ni, {
|
|
103781
103781
|
key: 0,
|
|
103782
103782
|
name: a.value,
|
|
103783
103783
|
class: "pv-text-subdued"
|
|
103784
103784
|
}, null, 8, ["name"])) : De("", !0),
|
|
103785
|
-
|
|
103785
|
+
ye("p", null, _e(r.value), 1),
|
|
103786
103786
|
n.value && u.value !== "" ? (Z(), Ze(Ni, {
|
|
103787
103787
|
key: 1,
|
|
103788
103788
|
name: u.value
|
|
103789
103789
|
}, null, 8, ["name"])) : De("", !0)
|
|
103790
103790
|
]),
|
|
103791
103791
|
d.value ? (Z(), ae("div", h6e, [
|
|
103792
|
-
|
|
103792
|
+
ye("div", {
|
|
103793
103793
|
ref_key: "menuButton",
|
|
103794
103794
|
ref: l,
|
|
103795
103795
|
class: "ag-header-cell-menu-button",
|
|
@@ -103864,20 +103864,20 @@ const R9e = (e) => {
|
|
|
103864
103864
|
r.href = URL.createObjectURL(n), r.setAttribute("download", "datatable_export.csv"), r.click(), i.value = !1;
|
|
103865
103865
|
}
|
|
103866
103866
|
return (s, n) => (Z(), ae("nav", m6e, [
|
|
103867
|
-
n[0] || (n[0] =
|
|
103867
|
+
n[0] || (n[0] = ye("button", {
|
|
103868
103868
|
type: "button",
|
|
103869
103869
|
class: "pv-button-icon"
|
|
103870
103870
|
}, [
|
|
103871
|
-
|
|
103871
|
+
ye("svg", {
|
|
103872
103872
|
"aria-hidden": "true",
|
|
103873
103873
|
class: "pv-icon-24"
|
|
103874
103874
|
}, [
|
|
103875
|
-
|
|
103876
|
-
|
|
103875
|
+
ye("title", null, "ellipsis"),
|
|
103876
|
+
ye("use", { "xlink:href": "#ellipsis" })
|
|
103877
103877
|
])
|
|
103878
103878
|
], -1)),
|
|
103879
|
-
|
|
103880
|
-
|
|
103879
|
+
ye("div", y6e, [
|
|
103880
|
+
ye("button", {
|
|
103881
103881
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
103882
103882
|
onClick: Ry(o, ["prevent"]),
|
|
103883
103883
|
disabled: i.value
|
|
@@ -104119,7 +104119,7 @@ const X6e = {
|
|
|
104119
104119
|
].includes(n.dataType) ? r.toLocaleString() : r;
|
|
104120
104120
|
});
|
|
104121
104121
|
return (s, n) => (Z(), ae("div", null, [
|
|
104122
|
-
|
|
104122
|
+
ye("p", null, [
|
|
104123
104123
|
i.value ? (Z(), ae("span", q6e, _e(i.value), 1)) : De("", !0),
|
|
104124
104124
|
qs(" " + _e(o.value), 1)
|
|
104125
104125
|
])
|
|
@@ -104135,7 +104135,7 @@ const X6e = {
|
|
|
104135
104135
|
},
|
|
104136
104136
|
setup(e) {
|
|
104137
104137
|
return (t, i) => (Z(), ae("div", eVe, [
|
|
104138
|
-
|
|
104138
|
+
ye("p", tVe, _e(t.params.value), 1)
|
|
104139
104139
|
]));
|
|
104140
104140
|
}
|
|
104141
104141
|
}), Cj = (e, t, i) => !e || e.length === 0 ? e : e.slice().sort((o, s) => {
|
|
@@ -104168,6 +104168,7 @@ const X6e = {
|
|
|
104168
104168
|
rowGroupLimit: {},
|
|
104169
104169
|
groupDefaultExpanded: { default: 1 },
|
|
104170
104170
|
isClientSideGroupOpenByDefault: {},
|
|
104171
|
+
isServerSideGroupOpenByDefault: {},
|
|
104171
104172
|
enableCsvExport: { type: Boolean, default: !1 },
|
|
104172
104173
|
csvRowLimit: { default: 2e4 },
|
|
104173
104174
|
serverSideCsvHandler: {},
|
|
@@ -104177,6 +104178,7 @@ const X6e = {
|
|
|
104177
104178
|
containerHeight: { default: 500 },
|
|
104178
104179
|
containerMinHeight: { default: 200 },
|
|
104179
104180
|
debugMode: { type: Boolean, default: !1 },
|
|
104181
|
+
hideAllRowGroupedColumns: { type: Boolean, default: !1 },
|
|
104180
104182
|
leftPinnedColumnName: {},
|
|
104181
104183
|
pagination: { type: Boolean, default: !1 },
|
|
104182
104184
|
paginationPageSize: { default: 50 },
|
|
@@ -104229,8 +104231,8 @@ const X6e = {
|
|
|
104229
104231
|
W.success([...se, ""]);
|
|
104230
104232
|
} : null, u = (W) => {
|
|
104231
104233
|
const q = W.node, se = W.column?.getColId();
|
|
104232
|
-
return !q.group || !se ? !1 : G.value.some((
|
|
104233
|
-
if (
|
|
104234
|
+
return !q.group || !se ? !1 : G.value.some((ve) => {
|
|
104235
|
+
if (ve.field === se)
|
|
104234
104236
|
return !0;
|
|
104235
104237
|
});
|
|
104236
104238
|
}, h = (() => {
|
|
@@ -104252,8 +104254,8 @@ const X6e = {
|
|
|
104252
104254
|
params: q
|
|
104253
104255
|
};
|
|
104254
104256
|
if (!q.column?.getColDef().cellRenderer && n.displayRowNumber && v.value.length === 0) {
|
|
104255
|
-
const se = q.api.getAllDisplayedColumns() || [],
|
|
104256
|
-
if (se.findIndex((Oe) => Oe ===
|
|
104257
|
+
const se = q.api.getAllDisplayedColumns() || [], ve = q.column;
|
|
104258
|
+
if (se.findIndex((Oe) => Oe === ve) === 0)
|
|
104257
104259
|
return {
|
|
104258
104260
|
component: J6e,
|
|
104259
104261
|
params: q
|
|
@@ -104270,22 +104272,22 @@ const X6e = {
|
|
|
104270
104272
|
action: function(W) {
|
|
104271
104273
|
let q = W.column?.getColId();
|
|
104272
104274
|
if (W.column && ee(W.column) && (q = _.value?.getColId() || ""), !fe(q)) {
|
|
104273
|
-
const
|
|
104274
|
-
|
|
104275
|
+
const ve = W.api.getColumn(q)?.getColDef();
|
|
104276
|
+
ve && (m.value = ve, xd(() => {
|
|
104275
104277
|
fe(q);
|
|
104276
104278
|
}));
|
|
104277
104279
|
}
|
|
104278
104280
|
}
|
|
104279
104281
|
}, f = (W, q) => {
|
|
104280
104282
|
const se = { ...W };
|
|
104281
|
-
return q.isArrayField && !W.valueFormatter ? se.valueFormatter = (
|
|
104283
|
+
return q.isArrayField && !W.valueFormatter ? se.valueFormatter = (ve) => oCe(ve, q.dataType) : q.dataType === Us.Percent && !W.valueFormatter ? se.valueFormatter = (ve) => tCe(ve, q.valueDecimals || 0) : q.dataType === Us.Currency && !W.valueFormatter ? se.valueFormatter = (ve) => IV(ve, q.valueDecimals || 0) : q.dataType === Us.Integer && !W.valueFormatter ? se.valueFormatter = iCe : q.dataType === Us.Tag && !W.cellRenderer && (se.cellRenderer = Z6e), se;
|
|
104282
104284
|
}, y = le(() => !n.colDefs || n.colDefs.length === 0 ? [] : n.colDefs.map((W) => {
|
|
104283
104285
|
const q = W.context;
|
|
104284
104286
|
return q ? f(W, q) : W;
|
|
104285
104287
|
})), m = de(null), v = de([]), C = de(!1), S = le(() => {
|
|
104286
104288
|
if (v.value.length > 0) {
|
|
104287
104289
|
const W = v.value[0], q = y.value.find(
|
|
104288
|
-
(
|
|
104290
|
+
(ve) => ve.field === W
|
|
104289
104291
|
);
|
|
104290
104292
|
if ((!R.value || !R.value[W]) && q?.context?.filterRequiredToGroup)
|
|
104291
104293
|
return q.headerName;
|
|
@@ -104307,11 +104309,11 @@ const X6e = {
|
|
|
104307
104309
|
$.value
|
|
104308
104310
|
)), te = (W) => {
|
|
104309
104311
|
if (D.value = W.api, n.initialGridState) {
|
|
104310
|
-
const
|
|
104311
|
-
|
|
104312
|
+
const ve = n.initialGridState.filter?.filterModel || null;
|
|
104313
|
+
ve && D.value.setFilterModel(ve);
|
|
104312
104314
|
}
|
|
104313
|
-
|
|
104314
|
-
n.
|
|
104315
|
+
const q = n.leftPinnedColumnName ?? (v.value.length ? v.value[0] : null), se = [];
|
|
104316
|
+
n.hideAllRowGroupedColumns && v.value.forEach((ve) => se.push(ve)), q && (_.value = W.api.getColumn(q), se.push(q)), W.api.setColumnsVisible([...se], !1), B.value = W.api.getAllGridColumns(), H.value = W.api.paginationGetCurrentPage() + 1, j.value = W.api.paginationGetTotalPages(), l("grid-ready", W);
|
|
104315
104317
|
}, oe = (W) => {
|
|
104316
104318
|
if (D.value) {
|
|
104317
104319
|
const q = W.api.getFilterModel();
|
|
@@ -104359,8 +104361,8 @@ const X6e = {
|
|
|
104359
104361
|
};
|
|
104360
104362
|
return await n.serverSideCsvHandler(Ae), Y.value = !1, null;
|
|
104361
104363
|
}
|
|
104362
|
-
const
|
|
104363
|
-
return
|
|
104364
|
+
const ve = n.serverSideRowHandler;
|
|
104365
|
+
return ve ? await new Promise((Ae, Oe) => {
|
|
104364
104366
|
const dt = D.value?.getState(), ko = {
|
|
104365
104367
|
request: se,
|
|
104366
104368
|
parentNode: {},
|
|
@@ -104386,18 +104388,18 @@ const X6e = {
|
|
|
104386
104388
|
Y.value = !1, Oe("CSV export failed.");
|
|
104387
104389
|
}
|
|
104388
104390
|
};
|
|
104389
|
-
|
|
104391
|
+
ve(ko, !0);
|
|
104390
104392
|
}) : (console.warn("Client-side export does not return CSV string"), Y.value = !1, D.value.exportDataAsCsv(), null);
|
|
104391
104393
|
} catch (W) {
|
|
104392
104394
|
return console.error("CSV export failed", W), Y.value = !1, null;
|
|
104393
104395
|
}
|
|
104394
104396
|
}, re = (W) => {
|
|
104395
|
-
const q = _.value, se = W.api.getRowGroupColumns(),
|
|
104397
|
+
const q = _.value, se = W.api.getRowGroupColumns(), ve = se.length > 0;
|
|
104396
104398
|
v.value = [...se].map(
|
|
104397
104399
|
(dt) => dt.getColId()
|
|
104398
104400
|
);
|
|
104399
104401
|
let Ae;
|
|
104400
|
-
|
|
104402
|
+
ve && n.leftPinnedColumnName && (Ae = W.api.getColumn(n.leftPinnedColumnName || "")), ve && !n.leftPinnedColumnName && (Ae = se[0]), Ae ? (_.value = Ae, Je.value.headerName = Ae.getColDef().headerName, Je.value.headerComponent = lB, Je.value.context = {
|
|
104401
104403
|
dataType: _.value?.getColDef().context?.dataType || null
|
|
104402
104404
|
}, W.api.setColumnsVisible([Ae.getColId()], !1)) : (_.value = null, Je.value.headerName = "", Je.value.headerComponent = void 0, Je.value.context = null);
|
|
104403
104405
|
const Oe = q?.getColId();
|
|
@@ -104422,7 +104424,7 @@ const X6e = {
|
|
|
104422
104424
|
return se.click(), !0;
|
|
104423
104425
|
}
|
|
104424
104426
|
return !1;
|
|
104425
|
-
},
|
|
104427
|
+
}, Ce = de(S9e), Ge = de({
|
|
104426
104428
|
loadingMessage: "One moment please..."
|
|
104427
104429
|
}), Je = de({
|
|
104428
104430
|
headerName: "",
|
|
@@ -104459,10 +104461,10 @@ const X6e = {
|
|
|
104459
104461
|
}
|
|
104460
104462
|
const se = W.values.flatMap(
|
|
104461
104463
|
(Ae) => Ae.values || []
|
|
104462
|
-
),
|
|
104464
|
+
), ve = sB(se);
|
|
104463
104465
|
return {
|
|
104464
104466
|
values: se,
|
|
104465
|
-
value:
|
|
104467
|
+
value: ve
|
|
104466
104468
|
};
|
|
104467
104469
|
}
|
|
104468
104470
|
};
|
|
@@ -104470,7 +104472,7 @@ const X6e = {
|
|
|
104470
104472
|
const W = Array.isArray(n.rowData) && n.rowData.length > 0, q = typeof n.serverSideRowHandler == "function", se = typeof n.filterValuesSetHandler == "function";
|
|
104471
104473
|
(W && q || W && se) && console.warn(
|
|
104472
104474
|
"Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."
|
|
104473
|
-
), p.value = (
|
|
104475
|
+
), p.value = (ve) => {
|
|
104474
104476
|
const Ae = [
|
|
104475
104477
|
"sortAscending",
|
|
104476
104478
|
"sortDescending",
|
|
@@ -104478,15 +104480,15 @@ const X6e = {
|
|
|
104478
104480
|
// "rowGroup", - disabling this until we can figure out how to selectively disable it once max groups have been reached
|
|
104479
104481
|
"rowUnGroup",
|
|
104480
104482
|
"valueAggSubMenu"
|
|
104481
|
-
], Oe =
|
|
104482
|
-
return Oe && Oe.getColDef().filter && Ae.splice(2, 0, g), Ae.filter((dt) => typeof dt == "string" ?
|
|
104483
|
+
], Oe = ve.column && ee(ve.column) ? _.value : ve.column;
|
|
104484
|
+
return Oe && Oe.getColDef().filter && Ae.splice(2, 0, g), Ae.filter((dt) => typeof dt == "string" ? ve.defaultItems.includes(dt) : !0);
|
|
104483
104485
|
};
|
|
104484
104486
|
});
|
|
104485
104487
|
const at = (W) => {
|
|
104486
104488
|
const q = D.value;
|
|
104487
104489
|
if (!q) return;
|
|
104488
|
-
const se = W.filter?.filterModel || null,
|
|
104489
|
-
se && !MC(se, se.value) && q.setFilterModel(se),
|
|
104490
|
+
const se = W.filter?.filterModel || null, ve = W.rowGroup?.groupColIds || null, Ae = W.columnVisibility || null;
|
|
104491
|
+
se && !MC(se, se.value) && q.setFilterModel(se), ve && !MC(ve, v.value) && q.setRowGroupColumns(ve), Ae && !MC(Ae, B.value) && q.setColumnsVisible(Ae.hiddenColIds, !1);
|
|
104490
104492
|
};
|
|
104491
104493
|
Ot(
|
|
104492
104494
|
() => n.initialGridState,
|
|
@@ -104505,7 +104507,7 @@ const X6e = {
|
|
|
104505
104507
|
refreshData: ne,
|
|
104506
104508
|
getFilterValueSelectedMetadataMap: ce
|
|
104507
104509
|
});
|
|
104508
|
-
const mo = (W) => c ? W.rowNode.level === v.value.length - 2 : !1, Ac = le(() => {
|
|
104510
|
+
const mo = (W) => c ? n.isServerSideGroupOpenByDefault ? n.isServerSideGroupOpenByDefault(W) : W.rowNode.level === v.value.length - 2 : !1, Ac = le(() => {
|
|
104509
104511
|
if (!c)
|
|
104510
104512
|
return n.groupDefaultExpanded;
|
|
104511
104513
|
});
|
|
@@ -104513,8 +104515,8 @@ const X6e = {
|
|
|
104513
104515
|
class: "pv-full-width",
|
|
104514
104516
|
style: Vl(r.value)
|
|
104515
104517
|
}, [
|
|
104516
|
-
|
|
104517
|
-
|
|
104518
|
+
ye("div", oVe, [
|
|
104519
|
+
ye("div", sVe, [
|
|
104518
104520
|
(Z(), Ze($I, {
|
|
104519
104521
|
to: W.filterTeleportLocation,
|
|
104520
104522
|
disabled: !W.filterTeleportLocation
|
|
@@ -104528,7 +104530,7 @@ const X6e = {
|
|
|
104528
104530
|
onFocusUpdate: q[1] || (q[1] = (se) => W.$emit("focus-update", se))
|
|
104529
104531
|
}, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon"])) : De("", !0)
|
|
104530
104532
|
], 8, ["to", "disabled"])),
|
|
104531
|
-
|
|
104533
|
+
ye("div", nVe, [
|
|
104532
104534
|
W.enableGroupBySelector && W.rowGroupLimit !== 0 ? (Z(), Ze(y9e, {
|
|
104533
104535
|
key: 0,
|
|
104534
104536
|
rowGroupLimit: W.rowGroupLimit,
|
|
@@ -104541,7 +104543,7 @@ const X6e = {
|
|
|
104541
104543
|
])
|
|
104542
104544
|
])
|
|
104543
104545
|
]),
|
|
104544
|
-
|
|
104546
|
+
ye("div", {
|
|
104545
104547
|
class: St(["pv-relative pv-stack-8", W.hideTable ? "pv-hide" : ""]),
|
|
104546
104548
|
style: { width: "100%", height: "90%", "border-bottom": "1px solid #d2d7db" }
|
|
104547
104549
|
}, [
|
|
@@ -104575,7 +104577,7 @@ const X6e = {
|
|
|
104575
104577
|
isGroupOpenByDefault: Ee(c) ? void 0 : n.isClientSideGroupOpenByDefault,
|
|
104576
104578
|
isServerSideGroupOpenByDefault: mo,
|
|
104577
104579
|
loading: Ee(c) ? !1 : W.isLoading,
|
|
104578
|
-
loadingCellRenderer:
|
|
104580
|
+
loadingCellRenderer: Ce.value,
|
|
104579
104581
|
loadingCellRendererParams: Ge.value,
|
|
104580
104582
|
maxConcurrentDatasourceRequests: Ee(c) ? 10 : void 0,
|
|
104581
104583
|
modules: o,
|
|
@@ -104599,7 +104601,7 @@ const X6e = {
|
|
|
104599
104601
|
}
|
|
104600
104602
|
), null, 16, ["autoGroupColumnDef", "columnDefs", "debug", "defaultColDef", "getMainMenuItems", "groupDefaultExpanded", "initialState", "isGroupOpenByDefault", "loading", "loadingCellRenderer", "loadingCellRendererParams", "maxConcurrentDatasourceRequests", "rowData", "rowHeight", "rowModelType", "serverSideInitialRowCount", "theme", "pagination", "paginationPageSize", "tooltip-show-delay", "tooltip-hide-delay"]),
|
|
104601
104603
|
w.value ? De("", !0) : (Z(), ae("div", rVe, [
|
|
104602
|
-
|
|
104604
|
+
ye("p", aVe, _e(I.value), 1)
|
|
104603
104605
|
]))
|
|
104604
104606
|
], 2),
|
|
104605
104607
|
W.pagination ? (Z(), Ze(S6e, { key: 0 })) : De("", !0)
|
|
@@ -104637,8 +104639,8 @@ const X6e = {
|
|
|
104637
104639
|
}
|
|
104638
104640
|
i.value = d[0];
|
|
104639
104641
|
}), (d, u) => (Z(), ae("div", cVe, [
|
|
104640
|
-
|
|
104641
|
-
|
|
104642
|
+
ye("div", null, [
|
|
104643
|
+
ye("div", {
|
|
104642
104644
|
class: "pv-flex pv-space-between",
|
|
104643
104645
|
style: Vl(d.chartFilter ? { "--flex-justify": "flex-end" } : {})
|
|
104644
104646
|
}, [
|
|
@@ -104648,7 +104650,7 @@ const X6e = {
|
|
|
104648
104650
|
modelValue: Ee(a),
|
|
104649
104651
|
"onUpdate:modelValue": u[0] || (u[0] = (h) => kp(a) ? a.value = h : null)
|
|
104650
104652
|
}, null, 8, ["options", "modelValue"])),
|
|
104651
|
-
|
|
104653
|
+
ye("div", dVe, [
|
|
104652
104654
|
ze(jI, {
|
|
104653
104655
|
class: St({
|
|
104654
104656
|
"pv-hide": !c.value
|
|
@@ -104722,7 +104724,10 @@ const X6e = {
|
|
|
104722
104724
|
id: "bar_stacked",
|
|
104723
104725
|
icon: "chart-bar"
|
|
104724
104726
|
}
|
|
104725
|
-
], Vf = "--SEPARATOR--", gVe = { style: { height: "100%", width: "100%" } }, fVe = {
|
|
104727
|
+
], Vf = "--SEPARATOR--", gVe = { style: { height: "100%", width: "100%" } }, fVe = {
|
|
104728
|
+
key: 0,
|
|
104729
|
+
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
104730
|
+
}, mVe = { class: "pv-flex" }, yVe = { class: "pv-relative pv-margin-auto" }, vVe = {
|
|
104726
104731
|
key: 0,
|
|
104727
104732
|
class: "pv-chart-overlay pv-text-body-xs"
|
|
104728
104733
|
}, bVe = {
|
|
@@ -104771,6 +104776,7 @@ const X6e = {
|
|
|
104771
104776
|
rowGroupLimit: { default: 2 },
|
|
104772
104777
|
groupDefaultExpanded: {},
|
|
104773
104778
|
isClientSideGroupOpenByDefault: {},
|
|
104779
|
+
isServerSideGroupOpenByDefault: {},
|
|
104774
104780
|
enableCsvExport: { type: Boolean, default: !1 },
|
|
104775
104781
|
csvRowLimit: {},
|
|
104776
104782
|
serverSideCsvHandler: {},
|
|
@@ -104780,6 +104786,7 @@ const X6e = {
|
|
|
104780
104786
|
containerHeight: {},
|
|
104781
104787
|
containerMinHeight: {},
|
|
104782
104788
|
debugMode: { type: Boolean },
|
|
104789
|
+
hideAllRowGroupedColumns: { type: Boolean },
|
|
104783
104790
|
leftPinnedColumnName: {},
|
|
104784
104791
|
pagination: { type: Boolean },
|
|
104785
104792
|
paginationPageSize: {},
|
|
@@ -104810,27 +104817,27 @@ const X6e = {
|
|
|
104810
104817
|
ne(W.api), s("filter-changed", W);
|
|
104811
104818
|
}, y = de([]);
|
|
104812
104819
|
function m(W, q, se = !0) {
|
|
104813
|
-
return (
|
|
104814
|
-
|
|
104820
|
+
return (ve) => {
|
|
104821
|
+
ve.data = x.value?.find((Nn) => Nn[W] === ve.value);
|
|
104815
104822
|
let Ae = "";
|
|
104816
104823
|
const Oe = C(W), dt = L9e(Oe);
|
|
104817
|
-
if (o.truncateLabelValues && se && dt && !isNaN(Number(
|
|
104824
|
+
if (o.truncateLabelValues && se && dt && !isNaN(Number(ve.value))) {
|
|
104818
104825
|
if (X.value) {
|
|
104819
|
-
const qd =
|
|
104826
|
+
const qd = ve.datum?.[k.value], Zw = M.value?.find(
|
|
104820
104827
|
(hs) => hs[k.value] === qd
|
|
104821
104828
|
)?.[`${R.value}_sort_total`] || 1 / 0;
|
|
104822
|
-
if (
|
|
104829
|
+
if (ve.value / Zw < 0.05)
|
|
104823
104830
|
return "";
|
|
104824
104831
|
}
|
|
104825
104832
|
const { newValue: Nn, newSuffix: Sr } = P9e(
|
|
104826
|
-
|
|
104833
|
+
ve.value,
|
|
104827
104834
|
E9e(Oe, Us.Percent),
|
|
104828
104835
|
Te.value
|
|
104829
104836
|
);
|
|
104830
|
-
|
|
104837
|
+
ve.value = Nn, Ae = Sr;
|
|
104831
104838
|
}
|
|
104832
|
-
let ln =
|
|
104833
|
-
return q && (ln = q(
|
|
104839
|
+
let ln = ve.value;
|
|
104840
|
+
return q && (ln = q(ve)), ln + Ae;
|
|
104834
104841
|
};
|
|
104835
104842
|
}
|
|
104836
104843
|
const v = (W, q = !1) => {
|
|
@@ -104867,7 +104874,7 @@ const X6e = {
|
|
|
104867
104874
|
), Ot(N, (W) => {
|
|
104868
104875
|
if (o.chartFilter && n.value) {
|
|
104869
104876
|
const q = o.chartFilter.colId;
|
|
104870
|
-
let se = o.chartFilter.options.find((
|
|
104877
|
+
let se = o.chartFilter.options.find((ve) => ve.value === W)?.filterValues || null;
|
|
104871
104878
|
se && se.length === 0 && (se = null), h(q, se || []), n.value.setColumnFilterModel(q, {
|
|
104872
104879
|
values: se
|
|
104873
104880
|
}).then(() => {
|
|
@@ -104887,9 +104894,9 @@ const X6e = {
|
|
|
104887
104894
|
let q = W.datum[W.xKey];
|
|
104888
104895
|
const se = v(W.xKey);
|
|
104889
104896
|
se && typeof se == "function" && (q = se({ value: q }));
|
|
104890
|
-
const
|
|
104891
|
-
let Ae = W.datum[
|
|
104892
|
-
const Oe = v(
|
|
104897
|
+
const ve = W.yKey;
|
|
104898
|
+
let Ae = W.datum[ve];
|
|
104899
|
+
const Oe = v(ve);
|
|
104893
104900
|
return Oe && typeof Oe == "function" && (Ae = Oe({ value: Ae })), {
|
|
104894
104901
|
heading: q,
|
|
104895
104902
|
data: [
|
|
@@ -104905,7 +104912,7 @@ const X6e = {
|
|
|
104905
104912
|
}, J = le(() => w.value?.id.includes("column") || w.value?.id.includes("bar")), X = le(() => w.value?.id.includes("stacked")), te = le(() => {
|
|
104906
104913
|
const W = X.value, q = J.value ? "bar" : w.value?.id;
|
|
104907
104914
|
let se = [];
|
|
104908
|
-
const
|
|
104915
|
+
const ve = v(R.value, !0), Ae = v(
|
|
104909
104916
|
L.value?.fieldName,
|
|
104910
104917
|
!0
|
|
104911
104918
|
);
|
|
@@ -104924,7 +104931,7 @@ const X6e = {
|
|
|
104924
104931
|
padding: 5,
|
|
104925
104932
|
fontSize: 11,
|
|
104926
104933
|
placement: W ? "inside-end" : "outside-end",
|
|
104927
|
-
formatter:
|
|
104934
|
+
formatter: ve
|
|
104928
104935
|
},
|
|
104929
104936
|
itemStyler: $
|
|
104930
104937
|
};
|
|
@@ -104943,7 +104950,7 @@ const X6e = {
|
|
|
104943
104950
|
padding: 5,
|
|
104944
104951
|
fontSize: 11,
|
|
104945
104952
|
placement: "outside-end",
|
|
104946
|
-
formatter:
|
|
104953
|
+
formatter: ve
|
|
104947
104954
|
},
|
|
104948
104955
|
itemStyler: $
|
|
104949
104956
|
};
|
|
@@ -104970,10 +104977,10 @@ const X6e = {
|
|
|
104970
104977
|
(se) => se.getAggFunc() !== null && se.getAggFunc() !== void 0
|
|
104971
104978
|
);
|
|
104972
104979
|
k.value = D.value[0]?.getColId() || "", y.value = q.map((se) => {
|
|
104973
|
-
const
|
|
104980
|
+
const ve = se.getColId(), Ae = se.getColDef();
|
|
104974
104981
|
return {
|
|
104975
|
-
label: Ae.headerName ||
|
|
104976
|
-
value:
|
|
104982
|
+
label: Ae.headerName || ve,
|
|
104983
|
+
value: ve,
|
|
104977
104984
|
formatter: Ae.valueFormatter,
|
|
104978
104985
|
dataType: Ae.context?.dataType
|
|
104979
104986
|
};
|
|
@@ -104993,10 +105000,10 @@ const X6e = {
|
|
|
104993
105000
|
return;
|
|
104994
105001
|
}
|
|
104995
105002
|
if (q) {
|
|
104996
|
-
const se = k.value,
|
|
105003
|
+
const se = k.value, ve = /* @__PURE__ */ new Set();
|
|
104997
105004
|
W.forEach((Oe) => {
|
|
104998
105005
|
const dt = Oe[q];
|
|
104999
|
-
|
|
105006
|
+
ve.add(dt);
|
|
105000
105007
|
});
|
|
105001
105008
|
const Ae = W.reduce(
|
|
105002
105009
|
(Oe, dt) => {
|
|
@@ -105007,7 +105014,7 @@ const X6e = {
|
|
|
105007
105014
|
const Sr = Nn.value;
|
|
105008
105015
|
let qd = Oe[`${Sr}_sort_total`] || 0;
|
|
105009
105016
|
const $h = dt[Sr];
|
|
105010
|
-
|
|
105017
|
+
ve.add(ln), q && $h && (Oe[ko][_(Sr, ln)] = $h, qd = qd + $h), Oe[ko][`${Sr}_sort_total`] = qd;
|
|
105011
105018
|
}
|
|
105012
105019
|
return Oe;
|
|
105013
105020
|
},
|
|
@@ -105018,7 +105025,7 @@ const X6e = {
|
|
|
105018
105025
|
...Ae[Oe]
|
|
105019
105026
|
})), L.value = {
|
|
105020
105027
|
fieldName: q,
|
|
105021
|
-
fieldValues: Array.from(
|
|
105028
|
+
fieldValues: Array.from(ve)
|
|
105022
105029
|
};
|
|
105023
105030
|
} else
|
|
105024
105031
|
M.value = [], L.value = null;
|
|
@@ -105028,7 +105035,7 @@ const X6e = {
|
|
|
105028
105035
|
const q = D.value.length;
|
|
105029
105036
|
if (ee(), q === 0 || y.value.length === 0)
|
|
105030
105037
|
return;
|
|
105031
|
-
const se = [],
|
|
105038
|
+
const se = [], ve = [];
|
|
105032
105039
|
let Ae = /* @__PURE__ */ new Set();
|
|
105033
105040
|
if (W.forEachNodeAfterFilterAndSort((Oe) => {
|
|
105034
105041
|
if (Oe.group && Oe.level === 0) {
|
|
@@ -105039,14 +105046,14 @@ const X6e = {
|
|
|
105039
105046
|
Oe,
|
|
105040
105047
|
ko
|
|
105041
105048
|
);
|
|
105042
|
-
Ae = Ae.union(Nn),
|
|
105049
|
+
Ae = Ae.union(Nn), ve?.push(ln);
|
|
105043
105050
|
}
|
|
105044
105051
|
const dt = ce(Oe);
|
|
105045
105052
|
se?.push(dt);
|
|
105046
105053
|
}
|
|
105047
|
-
}), x.value = se, D.value.length > 1 &&
|
|
105054
|
+
}), x.value = se, D.value.length > 1 && ve && ve.length > 0) {
|
|
105048
105055
|
const Oe = D.value[1].getColId();
|
|
105049
|
-
M.value =
|
|
105056
|
+
M.value = ve, L.value = {
|
|
105050
105057
|
fieldName: Oe,
|
|
105051
105058
|
fieldValues: Array.from(Ae)
|
|
105052
105059
|
};
|
|
@@ -105060,7 +105067,7 @@ const X6e = {
|
|
|
105060
105067
|
!W.aggData || !W.aggData[se.value] || (q[se.value] = W.aggData[se.value]?.value ?? W.aggData[se.value]);
|
|
105061
105068
|
return q;
|
|
105062
105069
|
}, he = (W, q) => {
|
|
105063
|
-
const se = /* @__PURE__ */ new Set(),
|
|
105070
|
+
const se = /* @__PURE__ */ new Set(), ve = {
|
|
105064
105071
|
[W.field]: W.key
|
|
105065
105072
|
};
|
|
105066
105073
|
let Ae = 0;
|
|
@@ -105071,19 +105078,19 @@ const X6e = {
|
|
|
105071
105078
|
const ln = dt.aggData;
|
|
105072
105079
|
if (ko && ln) {
|
|
105073
105080
|
const Nn = dt.aggData[Oe.value]?.value ?? dt.aggData[Oe.value];
|
|
105074
|
-
|
|
105081
|
+
ve[_(Oe.value, ko)] = Nn, Ae = Ae + Nn;
|
|
105075
105082
|
}
|
|
105076
|
-
}),
|
|
105083
|
+
}), ve[`${Oe.value}_sort_total`] = Ae;
|
|
105077
105084
|
return {
|
|
105078
|
-
rowData:
|
|
105085
|
+
rowData: ve,
|
|
105079
105086
|
fieldValues: se
|
|
105080
105087
|
};
|
|
105081
105088
|
}, re = le(() => {
|
|
105082
105089
|
let W = G.value ? M.value : x.value, q = null;
|
|
105083
105090
|
if (P.value && (q = G.value ? `${R.value}_sort_total` : R.value), q && W && P.value) {
|
|
105084
105091
|
const se = P.value?.id.includes("desc") ? -1 : 1;
|
|
105085
|
-
W = [...W].sort((
|
|
105086
|
-
const Oe =
|
|
105092
|
+
W = [...W].sort((ve, Ae) => {
|
|
105093
|
+
const Oe = ve[q] || 0, dt = Ae[q] || 0;
|
|
105087
105094
|
return (Oe - dt) * se;
|
|
105088
105095
|
});
|
|
105089
105096
|
}
|
|
@@ -105092,11 +105099,11 @@ const X6e = {
|
|
|
105092
105099
|
k.value,
|
|
105093
105100
|
B.focuses.value
|
|
105094
105101
|
)), W && W.length === 1) {
|
|
105095
|
-
const se = "",
|
|
105102
|
+
const se = "", ve = " ";
|
|
105096
105103
|
W = [
|
|
105097
105104
|
{ [k.value]: se },
|
|
105098
105105
|
W[0],
|
|
105099
|
-
{ [k.value]:
|
|
105106
|
+
{ [k.value]: ve }
|
|
105100
105107
|
];
|
|
105101
105108
|
}
|
|
105102
105109
|
return W;
|
|
@@ -105106,17 +105113,17 @@ const X6e = {
|
|
|
105106
105113
|
return W;
|
|
105107
105114
|
const q = R.value;
|
|
105108
105115
|
return G.value ? M?.value?.forEach((se) => {
|
|
105109
|
-
const
|
|
105116
|
+
const ve = q + "_sort_total", Ae = se[ve];
|
|
105110
105117
|
typeof Ae == "number" && Ae > W && (W = Ae);
|
|
105111
105118
|
}) : re.value.forEach((se) => {
|
|
105112
|
-
const
|
|
105113
|
-
typeof
|
|
105119
|
+
const ve = se[q];
|
|
105120
|
+
typeof ve == "number" && ve > W && (W = ve);
|
|
105114
105121
|
}), W;
|
|
105115
105122
|
}), pe = le(() => re.value?.filter(
|
|
105116
105123
|
(W) => B.focuses.value.includes(W[k.value])
|
|
105117
105124
|
)), U = le(() => re.value?.filter(
|
|
105118
105125
|
(W) => !B.focuses.value.includes(W[k.value])
|
|
105119
|
-
)), fe = le(() => L.value?.fieldValues?.length || 0),
|
|
105126
|
+
)), fe = le(() => L.value?.fieldValues?.length || 0), Ce = le(() => {
|
|
105120
105127
|
const Ae = 0.25 * Math.exp(-0.12 * Se.value);
|
|
105121
105128
|
return Math.min(Math.max(Ae, 0.05), 0.75);
|
|
105122
105129
|
}), Ge = le(() => fe.value > 5 ? 0.5 : 1), Je = le(() => fe.value > 5 ? 0.25 : 0.1), tt = le(() => D.value.length === 0 ? "No groups selected. Select at least one group to display data." : o.enableFocusView && B.focuses.value.length === 0 && o.yKey === "total_yield" ? `Focus ${O.value.find((W) => W.field === k.value)?.headerName} to view Visualization` : re.value && re.value?.length === 0 ? "No data available to chart." : ""), Pt = (W) => {
|
|
@@ -105162,9 +105169,9 @@ const X6e = {
|
|
|
105162
105169
|
lineDash: [4, 4],
|
|
105163
105170
|
strokeOpacity: 0.7,
|
|
105164
105171
|
locked: !0
|
|
105165
|
-
},
|
|
105172
|
+
}, ve = V.value ? se : q;
|
|
105166
105173
|
W.initialState = {
|
|
105167
|
-
annotations: [
|
|
105174
|
+
annotations: [ve]
|
|
105168
105175
|
};
|
|
105169
105176
|
}
|
|
105170
105177
|
return W;
|
|
@@ -105180,18 +105187,18 @@ const X6e = {
|
|
|
105180
105187
|
type: "category",
|
|
105181
105188
|
position: V.value ? "left" : "bottom",
|
|
105182
105189
|
label: {
|
|
105183
|
-
formatter: (
|
|
105184
|
-
if (
|
|
105190
|
+
formatter: (ve) => {
|
|
105191
|
+
if (ve.value === Vf)
|
|
105185
105192
|
return "";
|
|
105186
105193
|
const Ae = 35;
|
|
105187
|
-
let Oe =
|
|
105194
|
+
let Oe = ve.value;
|
|
105188
105195
|
const dt = v(
|
|
105189
105196
|
k.value
|
|
105190
105197
|
);
|
|
105191
|
-
return typeof dt == "function" && (Oe = dt(
|
|
105198
|
+
return typeof dt == "function" && (Oe = dt(ve)), typeof Oe == "string" && Oe.length > Ae ? Oe.substring(0, Ae) + "..." : Oe;
|
|
105192
105199
|
}
|
|
105193
105200
|
},
|
|
105194
|
-
paddingInner:
|
|
105201
|
+
paddingInner: Ce.value,
|
|
105195
105202
|
paddingOuter: Ge.value,
|
|
105196
105203
|
groupPaddingInner: Je.value
|
|
105197
105204
|
},
|
|
@@ -105223,11 +105230,11 @@ const X6e = {
|
|
|
105223
105230
|
}), Jr(async () => {
|
|
105224
105231
|
await xd(), d.value = o.filterPanelAboveChart;
|
|
105225
105232
|
}), (W, q) => (Z(), ae("div", gVe, [
|
|
105226
|
-
|
|
105233
|
+
ye("div", {
|
|
105227
105234
|
class: "pv-stack-16",
|
|
105228
105235
|
id: c
|
|
105229
105236
|
}),
|
|
105230
|
-
|
|
105237
|
+
W.hideChart ? De("", !0) : (Z(), ae("div", fVe, [
|
|
105231
105238
|
ze(Oo, {
|
|
105232
105239
|
rightIcon: "chevrons-down-up",
|
|
105233
105240
|
label: "Collapse",
|
|
@@ -105236,16 +105243,16 @@ const X6e = {
|
|
|
105236
105243
|
onClick: q[0] || (q[0] = (se) => Ac(!l.value)),
|
|
105237
105244
|
class: St(W.hideChart || l.value ? "pv-hide" : "")
|
|
105238
105245
|
}, null, 8, ["class"]),
|
|
105239
|
-
|
|
105246
|
+
ye("div", {
|
|
105240
105247
|
class: St(W.hideChart || !l.value ? "pv-hide" : "pv-space-between")
|
|
105241
105248
|
}, [
|
|
105242
|
-
|
|
105249
|
+
ye("div", mVe, [
|
|
105243
105250
|
ze(Ni, {
|
|
105244
105251
|
name: "chart-line",
|
|
105245
105252
|
size: 20,
|
|
105246
105253
|
class: "pv-text-subdued"
|
|
105247
105254
|
}),
|
|
105248
|
-
q[9] || (q[9] =
|
|
105255
|
+
q[9] || (q[9] = ye("p", {
|
|
105249
105256
|
class: "pv-text-body-md pv-text-primary",
|
|
105250
105257
|
style: { "font-weight": "500" }
|
|
105251
105258
|
}, " Expand to see chart ", -1))
|
|
@@ -105257,14 +105264,14 @@ const X6e = {
|
|
|
105257
105264
|
onClick: q[1] || (q[1] = (se) => Ac(!l.value))
|
|
105258
105265
|
})
|
|
105259
105266
|
], 2),
|
|
105260
|
-
|
|
105267
|
+
ye("div", {
|
|
105261
105268
|
class: St(W.hideChart || l.value ? "pv-hide" : "")
|
|
105262
105269
|
}, [
|
|
105263
105270
|
ze(uVe, {
|
|
105264
105271
|
enablePanel: re.value != null && re.value.length > 0,
|
|
105265
105272
|
chartFilter: W.chartFilter
|
|
105266
105273
|
}, null, 8, ["enablePanel", "chartFilter"]),
|
|
105267
|
-
|
|
105274
|
+
ye("div", yVe, [
|
|
105268
105275
|
ze(AV, {
|
|
105269
105276
|
ref_key: "pvChartRef",
|
|
105270
105277
|
ref: a,
|
|
@@ -105280,7 +105287,7 @@ const X6e = {
|
|
|
105280
105287
|
])) : De("", !0)
|
|
105281
105288
|
])
|
|
105282
105289
|
], 2)
|
|
105283
|
-
]),
|
|
105290
|
+
])),
|
|
105284
105291
|
ze(lVe, Zp({
|
|
105285
105292
|
ref_key: "pvDataTableRef",
|
|
105286
105293
|
ref: r
|
|
@@ -108439,7 +108446,7 @@ const X6e = {
|
|
|
108439
108446
|
setup(e) {
|
|
108440
108447
|
const t = e, i = (o) => t.valueFormatter ? t.valueFormatter(o) : o.toLocaleString("en-US");
|
|
108441
108448
|
return (o, s) => (Z(), ae("div", RVe, [
|
|
108442
|
-
|
|
108449
|
+
ye("div", {
|
|
108443
108450
|
min: o.min,
|
|
108444
108451
|
max: o.max,
|
|
108445
108452
|
"aria-hidden": "true",
|
|
@@ -108458,9 +108465,9 @@ const X6e = {
|
|
|
108458
108465
|
rgba(1, 18, 20, 1) 90%
|
|
108459
108466
|
)`, border: "0", "border-radius": "1rem", height: "0.5rem" }
|
|
108460
108467
|
}, null, 8, TVe),
|
|
108461
|
-
|
|
108462
|
-
|
|
108463
|
-
|
|
108468
|
+
ye("div", LVe, [
|
|
108469
|
+
ye("p", null, _e(i(o.min)), 1),
|
|
108470
|
+
ye("p", null, _e(i(o.max)), 1)
|
|
108464
108471
|
])
|
|
108465
108472
|
]));
|
|
108466
108473
|
}
|
|
@@ -108597,7 +108604,7 @@ const X6e = {
|
|
|
108597
108604
|
}
|
|
108598
108605
|
}));
|
|
108599
108606
|
return (h, p) => (Z(), ae(Lt, null, [
|
|
108600
|
-
|
|
108607
|
+
ye("div", NVe, [
|
|
108601
108608
|
ze(PVe, {
|
|
108602
108609
|
modelValue: s.value,
|
|
108603
108610
|
"onUpdate:modelValue": p[0] || (p[0] = (g) => s.value = g),
|