@arcgis/charts-components 5.2.0-next.71 → 5.2.0-next.73
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/LICENSE.md +4 -2
- package/dist/cdn/{4M4SAEH4.js → 27T5D3K4.js} +1 -1
- package/dist/cdn/{QSGJ3MAT.js → 2EX6L3UK.js} +1 -1
- package/dist/cdn/{54VUGIAU.js → 2NQ6MELS.js} +1 -1
- package/dist/cdn/{VHW4OAKG.js → 2TE3YZBW.js} +3 -3
- package/dist/cdn/{7XWR4EVM.js → 3K3AZU3H.js} +1 -1
- package/dist/cdn/{FJGG2VVZ.js → 3P2SRGLO.js} +1 -1
- package/dist/cdn/{5NVOWYWZ.js → 3VM4DOEZ.js} +1 -1
- package/dist/cdn/{IODRBLGT.js → 4BRBVLD3.js} +1 -1
- package/dist/cdn/{2SLJKRSD.js → 4R7PF5KX.js} +1 -1
- package/dist/cdn/{SSQPRUUN.js → 54JCSWKS.js} +1 -1
- package/dist/cdn/{IO6A77U4.js → 5LWG4OGB.js} +1 -1
- package/dist/cdn/{I5DMUUEL.js → 5ROKZRVW.js} +1 -1
- package/dist/cdn/{25MA553Z.js → 5TF4XWIC.js} +1 -1
- package/dist/cdn/{OAXHS4LE.js → 5X7Q3I6R.js} +1 -1
- package/dist/cdn/{3PDVKKKZ.js → 6F6RXEE7.js} +1 -1
- package/dist/cdn/{SL7NRRSJ.js → 6O3HF44R.js} +1 -1
- package/dist/cdn/{QWCNHH6G.js → 6QQTUFRP.js} +1 -1
- package/dist/cdn/{WDUTZ6EO.js → 76SBKWBM.js} +1 -1
- package/dist/cdn/{VUHFYOLC.js → 7NQYTB6K.js} +1 -1
- package/dist/cdn/{4DC4ARHU.js → 7O3T7HG5.js} +1 -1
- package/dist/cdn/{6TJIHHQF.js → 7VJRGF4E.js} +1 -1
- package/dist/cdn/{GIH3U7YP.js → A7ISZ5RM.js} +1 -1
- package/dist/cdn/{VNYRZDY5.js → BBWFFVQ7.js} +1 -1
- package/dist/cdn/{RCZLTGQI.js → BE3D4CYZ.js} +1 -1
- package/dist/cdn/{BZ6FUIQF.js → BRWJSQNF.js} +1 -1
- package/dist/cdn/{OTFA727N.js → BTKWU3YE.js} +1 -1
- package/dist/cdn/{PTUMQCFF.js → C6U7HPQE.js} +1 -1
- package/dist/cdn/{DT5BOM5F.js → CY3UKUIP.js} +1 -1
- package/dist/cdn/{2K4MIK4T.js → D2AGAJK7.js} +1 -1
- package/dist/cdn/{LIDWAYQH.js → D43DR25R.js} +28 -28
- package/dist/cdn/{4JWIBRGO.js → D6MRUKIA.js} +1 -1
- package/dist/cdn/{4IO3VF3L.js → DQSPIG3P.js} +1 -1
- package/dist/cdn/DY2DE7FX.js +2 -0
- package/dist/cdn/{3B6QE7OV.js → E4ZOL5K5.js} +1 -1
- package/dist/cdn/{QT64PB4L.js → EUNBXPUS.js} +1 -1
- package/dist/cdn/{ROG3HFDT.js → EUQPESOK.js} +1 -1
- package/dist/cdn/{K6F2LRKI.js → F3ZGHFA6.js} +1 -1
- package/dist/cdn/{MAC4MPUA.js → FLMUOC55.js} +1 -1
- package/dist/cdn/{WM6SCZHN.js → HOQNWF7T.js} +1 -1
- package/dist/cdn/{PIEX577B.js → HS52MRKJ.js} +1 -1
- package/dist/cdn/{QC3FMJKL.js → HXC5LKJW.js} +1 -1
- package/dist/cdn/{IK4FPUFJ.js → IMG5US47.js} +1 -1
- package/dist/cdn/{7KNUJIOC.js → IXBLQSE6.js} +1 -1
- package/dist/cdn/{V2FHLWYC.js → JYV4I2GQ.js} +1 -1
- package/dist/cdn/{3FM3YR57.js → KBROJDYY.js} +1 -1
- package/dist/cdn/{NUHPR7BM.js → KMX777EF.js} +1 -1
- package/dist/cdn/{BQORJ3LU.js → KN6WLM2H.js} +1 -1
- package/dist/cdn/{WPLHZAZ3.js → LKNQUAR2.js} +1 -1
- package/dist/cdn/{OE7Q4MG5.js → LMOH2EKW.js} +1 -1
- package/dist/cdn/{NF4EBNLN.js → LP5TTMQR.js} +1 -1
- package/dist/cdn/{OE7FIKPS.js → M2TX43TJ.js} +1 -1
- package/dist/cdn/{XH57C72H.js → MQJAK2SJ.js} +1 -1
- package/dist/cdn/{L6DFXTSQ.js → NAUEEC5O.js} +1 -1
- package/dist/cdn/{F5AR3N3Z.js → NLIYZT4J.js} +1 -1
- package/dist/cdn/{LAPBDR32.js → NPH57JQ6.js} +1 -1
- package/dist/cdn/{JYLEN3VQ.js → NQ5JEX36.js} +1 -1
- package/dist/cdn/{MOG5ZVLX.js → NVINMCGT.js} +1 -1
- package/dist/cdn/{BAFCVCT4.js → OFJFM4B4.js} +1 -1
- package/dist/cdn/{BNNBHYRP.js → OQZDT6CL.js} +1 -1
- package/dist/cdn/{3XB2RWHK.js → OUOCOHTG.js} +1 -1
- package/dist/cdn/{EJWHEBKW.js → OWJQEWK7.js} +1 -1
- package/dist/cdn/{JAQYU6KP.js → P6YFC7LU.js} +1 -1
- package/dist/cdn/{7REEJ3OW.js → PE3I5BB4.js} +1 -1
- package/dist/cdn/{5GZDXWTQ.js → PZL4HGLN.js} +1 -1
- package/dist/cdn/{CVFKL3S2.js → Q2GJNRU2.js} +1 -1
- package/dist/cdn/{O2BQ374Y.js → Q7VV6RA4.js} +1 -1
- package/dist/cdn/{3WOYVXSZ.js → R2GPX6DA.js} +1 -1
- package/dist/cdn/{VAF3UIVA.js → RHSCKBJG.js} +1 -1
- package/dist/cdn/RSLGXN7X.js +2 -0
- package/dist/cdn/{P6DBPQZO.js → RXSNPRN7.js} +1 -1
- package/dist/cdn/{ZK5Z6BOX.js → S3LRWKAX.js} +1 -1
- package/dist/cdn/{3V4ZETXH.js → S3QIWVN6.js} +1 -1
- package/dist/cdn/{LPYRKK25.js → SJ7UC3JM.js} +1 -1
- package/dist/cdn/{NP24UZGI.js → SM5PY54Q.js} +1 -1
- package/dist/cdn/{AVE3KXWQ.js → SPAWFHXG.js} +1 -1
- package/dist/cdn/{RCLHFY6O.js → TBAK2RCH.js} +1 -1
- package/dist/cdn/{33JR3GH6.js → TSORVNA6.js} +1 -1
- package/dist/cdn/{27RKQQPS.js → TTMIUSJW.js} +1 -1
- package/dist/cdn/{QAXXYD6N.js → UFCXIYYK.js} +1 -1
- package/dist/cdn/{4ODTQZJK.js → UUKKQ3K7.js} +1 -1
- package/dist/cdn/VMN2UXWS.js +3 -0
- package/dist/cdn/{GKEW5JYD.js → VZOL2AD6.js} +1 -1
- package/dist/cdn/{E7QFC64H.js → W4F6FFOT.js} +1 -1
- package/dist/cdn/{4JUR3VIE.js → XFO5L4DP.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/box-plot-model.js +37 -37
- package/dist/chunks/class-breaks.js +66 -66
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +15 -15
- package/dist/chunks/index2.js +3184 -3143
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-model.js +385 -334
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/type-guards2.js +15 -15
- package/dist/chunks/utils.js +10 -10
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +5 -5
- package/dist/components/arcgis-chart/customElement.d.ts +11 -29
- package/dist/components/arcgis-chart/customElement.js +171 -166
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +208 -207
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +59 -2
- package/dist/model/shared/type-guards.d.ts +1 -0
- package/dist/utils/chart-config/converter/index.js +32 -32
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/package.json +4 -4
- package/dist/cdn/CNI32IL3.js +0 -2
- package/dist/cdn/CRQK4CKK.js +0 -2
- package/dist/cdn/NAGOJPIX.js +0 -3
|
@@ -15,21 +15,21 @@ import { html as Qa, css as sm } from "lit";
|
|
|
15
15
|
import { createRef as rm, ref as Kr } from "lit/directives/ref.js";
|
|
16
16
|
import { debounce as ht, cloneDeep as Ie, isEqual as Mt, isEmpty as ba } from "lodash-es";
|
|
17
17
|
import { H as Bt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as fe, PieChart as we, AxisFill as lm, AxisFillCircular as cm, GaugeChart as At, DateAxis as Be, ValueAxis as Le, CategoryAxis as
|
|
18
|
+
import { XYChart as fe, PieChart as we, AxisFill as lm, AxisFillCircular as cm, GaugeChart as At, DateAxis as Be, ValueAxis as Le, CategoryAxis as st, CategoryAxisDataItem as La, DateAxisDataItem as sn, LineSeries as xe, ColumnSeries as rt, PieSeries as Wt, XYCursor as mc, XYSeries as mi, SerialChart as gc, Cursor as dm, AxisLabel as Rs, ColumnSeriesDataItem as $s, LineSeriesDataItem as Ma, CandlestickSeries as _e, StepLineSeries as kt, LegendDataItem as aa, Series as hc, CandlestickSeriesDataItem as um, PieSeriesDataItem as gi, Legend as fm, AxisRendererX as xt, AxisRendererCircular as rn, AxisLabelCircular as Bs, ValueAxisDataItem as Ns, AxisRendererY as Pa, ClockHand as mm, Chart as pc } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as Vo, percent as ut, LinePattern as bc, RectPattern as yc, color as ln, DateFormatter as Sc, NumberFormatter as Cc, Group as gm, MouseCursorStyle as qt, Label as Wo, DropShadowFilter as hm, Sprite as Ms, utils as xc, Tooltip as vc, Container as pm, RoundedRectangle as bm, Percent as Eo, Slice as ym, options as Ja, useTheme as Sm, unuseTheme as Cm, create as Ps } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import Qr from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { j as be, u as y, t as qn, q as ce, a as Lc, r as Yt, s as ue, k as X, p as cn, m as Fc, l as Jr, W as Sa, S as el, d as Zn, o as tl, h as Ca, v as xm } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import {
|
|
23
|
-
import { F as G, g as Hi, C as V, d as $e, B as Ge, q as ve, b as yn, a as es, A as K, o as
|
|
22
|
+
import { cx as ho, bF as io, bH as zo, bG as Ac, cy as dn, cz as Tc, cA as kc, x as jt, b7 as Ic, aR as Oc, aQ as Vs, cn as Ws, cB as Dc, cC as wc, cD as Ho, bh as vm, Y as q, af as ft, ap as oa, I as Ct, cE as Et, cF as Es, m as ti, bz as Kn, n as xa, A as di, cG as ui, cH as gt, cI as Re, a2 as po, cJ as Va, cK as hi, cL as zs, cM as ii, cN as Fa, cO as ai, bZ as Rc, cP as bt, h as ls, ch as Lm, bc as Hs, aI as Qt, aJ as Ci, B as ee, W as pe, bI as Fm, cQ as un, cR as Ni, aM as xi, cS as vi, cT as Mi, cU as Rt, bJ as _s, w as na, c5 as fn, cV as $c, cW as Gs, a6 as Xs, cX as _t, bv as ao, cY as Ys, cZ as Wa, c as Bc, c_ as Nc, bl as pi, c$ as Mc, d0 as mn, aA as Us, d1 as gn, d2 as Pc, d3 as js, R as qs, _ as Vc, bx as Wc, cw as Zs, d4 as Ec, d5 as il, bR as hn, d6 as zc, d7 as Ks, an as Qs, d8 as Aa, b as Am, aj as Hc, d9 as _c, E as eo, bw as pn, bb as Gc, b4 as Xc, aU as Tm, b5 as km, b3 as Im, ba as Om, da as Yc, db as Uc, b2 as Dm, b8 as wm, dc as Rm, dd as bn, de as L, df as $m, dg as jc, dh as Bm, di as Nm, dj as oi, by as Mm, bj as Pm, dk as oo, bn as ya, ak as Js, dl as Vm, dm as qc, $ as Wm, bQ as Em, cu as zm, bT as Qn, bV as Hm, bU as _m, b6 as Zc, aP as Gm, b9 as Xm, b0 as Ym, o as Um, a_ as jm, aZ as qm, aY as Zm, aV as Km, aW as Qm, dn as Bo, at as Jm, P as eg, bY as al, bP as tg, q as ig, dp as ag, bo as Jn, dq as og, D as Ii, ae as ng, aS as sg, i as rg, aE as lg, dr as cg, ds as dg, a as ug, ck as fg, cj as mg, cl as gg, Z as hg, bk as pg, dt as bg, du as yg, b1 as Sg, dv as Cg, aG as xg } from "../../chunks/index2.js";
|
|
23
|
+
import { F as G, g as Hi, C as V, d as $e, B as Ge, q as ve, b as yn, a as es, A as K, o as tt, l as ct, S as ke, z as Kc, c as Qc, k as _o, p as No, O as Te, j as Jc, E as vg } from "../../chunks/index3.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
25
|
import { g as Xe, f as qe, i as J, e as ts, R as Sn, h as Go } from "../../chunks/rest-js-object-literals.js";
|
|
26
26
|
import { ap as ea, aF as er, q as bo, r as ol, aB as Pt, s as Ta, a7 as cs, aa as Lg, a9 as Fg, aE as Ag, v as Tg, aD as wi, k as Oe, a2 as tr, a4 as ir, g as ar, Z as ed, _ as td, D as or, ag as id, a0 as Cn, B as ad, o as nr, e as kg, av as Ig, V as Og, ah as od, ae as nd, af as Dg, au as xn, y as wg, I as ka, j as nl, f as Rg } from "../../chunks/index.js";
|
|
27
|
-
import { d as
|
|
27
|
+
import { d as at, a as ni } from "../../chunks/type-guards.js";
|
|
28
28
|
import { g as z, a as $g } from "../../chunks/series-types.js";
|
|
29
29
|
import { isLight as Bg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
30
30
|
import { Scrollbar as sl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
31
|
-
import { SerialChart as Ia, color as no, percent as Ze, LinePattern as sd, RectanglePattern as Ng, p50 as Fe, p0 as ze, p100 as Ae, Label as
|
|
32
|
-
import { PieSeries as
|
|
31
|
+
import { SerialChart as Ia, color as no, percent as Ze, LinePattern as sd, RectanglePattern as Ng, p50 as Fe, p0 as ze, p100 as Ae, Label as lt, Rectangle as Xo, Series as Oa, Graphics as It, DateFormatter as Mg, NumberFormatter as rd, Bullet as Li, Tooltip as _i, Template as sa, RoundedRectangle as so, Slice as ro, time as Pg, Timezone as Vg, DataItem as Wg, Container as fi, Color as Eg, HeatLegend as Yo, LinearGradient as zg, Legend as ld, Scrollbar as ds, addLicense as Hg, registry as _g, Root as Gg } from "@amcharts/amcharts5";
|
|
32
|
+
import { PieSeries as it, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
33
33
|
import { AxisRendererCircular as Jt, RadarCursor as sr, ClockHand as us, RadarChart as Pi, AxisRendererRadial as Xg, RadarLineSeries as rr } from "@amcharts/amcharts5/radar.js";
|
|
34
34
|
import { AxisRendererY as bi, XYSeries as lr, StepLineSeries as vn, LineSeries as me, ColumnSeries as De, XYChart as Se, AxisRendererX as vt, XYCursor as cd, CandlestickSeries as Gi, CategoryAxis as Ke, DateAxis as Pe, ValueAxis as ye, AxisBullet as Yg } from "@amcharts/amcharts5/xy.js";
|
|
35
35
|
import Ug from "@amcharts/amcharts5/themes/Animated.js";
|
|
@@ -78,7 +78,7 @@ function R(t, e) {
|
|
|
78
78
|
function te(t, e) {
|
|
79
79
|
ra(t, e);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function et(t, e) {
|
|
82
82
|
return la(t, e);
|
|
83
83
|
}
|
|
84
84
|
function Gt(t, e) {
|
|
@@ -709,7 +709,7 @@ async function Xh(t) {
|
|
|
709
709
|
chartConfig: b,
|
|
710
710
|
data: x,
|
|
711
711
|
slices: u
|
|
712
|
-
}), !
|
|
712
|
+
}), !at(l) && g === y.PieSeries && a && "dataItems" in a && ({ colorMatchApplied: S, rendererFieldNames: C } = await Dc({
|
|
713
713
|
data: a.dataItems,
|
|
714
714
|
queryObject: l,
|
|
715
715
|
chartConfig: b,
|
|
@@ -1081,7 +1081,7 @@ function gs(t) {
|
|
|
1081
1081
|
isXAxis: !0,
|
|
1082
1082
|
chartType: a,
|
|
1083
1083
|
valueFormat: i
|
|
1084
|
-
}), n = gt(i) && e instanceof Be, s = Re(i) && e instanceof Le && !(e instanceof Be), r = o && e instanceof
|
|
1084
|
+
}), n = gt(i) && e instanceof Be, s = Re(i) && e instanceof Le && !(e instanceof Be), r = o && e instanceof st;
|
|
1085
1085
|
return !n && !s && !r;
|
|
1086
1086
|
}
|
|
1087
1087
|
function Ld(t, e) {
|
|
@@ -1167,7 +1167,7 @@ function bp(t) {
|
|
|
1167
1167
|
);
|
|
1168
1168
|
}
|
|
1169
1169
|
function yp(t) {
|
|
1170
|
-
t instanceof Le && !(t instanceof Be) ? mp(t) : t instanceof
|
|
1170
|
+
t instanceof Le && !(t instanceof Be) ? mp(t) : t instanceof st ? gp(t) : t instanceof Be && pp(t), bp(t);
|
|
1171
1171
|
}
|
|
1172
1172
|
function Sp(t) {
|
|
1173
1173
|
const { axis: e, formatOptions: i, dateAxisFormatter: a, isTimeOnlyField: o, setTimeZone: n, outTimeZone: s } = t;
|
|
@@ -1291,7 +1291,7 @@ function Lp(t) {
|
|
|
1291
1291
|
isTimeOnlyField: l,
|
|
1292
1292
|
setTimeZone: c,
|
|
1293
1293
|
outTimeZone: d
|
|
1294
|
-
}) : e instanceof
|
|
1294
|
+
}) : e instanceof st ? ui(a) || f ? (xp({
|
|
1295
1295
|
axis: e,
|
|
1296
1296
|
formatOptions: a,
|
|
1297
1297
|
categoryAxisFormatter: r
|
|
@@ -1367,7 +1367,7 @@ function kp(t) {
|
|
|
1367
1367
|
case y.BarSeries:
|
|
1368
1368
|
case y.PieSeries:
|
|
1369
1369
|
e.series.each((s) => {
|
|
1370
|
-
(s instanceof
|
|
1370
|
+
(s instanceof rt || s instanceof Wt) && (s.cursorOverStyle = n);
|
|
1371
1371
|
});
|
|
1372
1372
|
break;
|
|
1373
1373
|
case y.BoxPlotSeries:
|
|
@@ -1375,7 +1375,7 @@ function kp(t) {
|
|
|
1375
1375
|
let r = n;
|
|
1376
1376
|
if (s instanceof xe) {
|
|
1377
1377
|
const l = Me(s);
|
|
1378
|
-
l !== void 0 && (a &&
|
|
1378
|
+
l !== void 0 && (a && et(s.uid, "isBoxPlotOutliersSeries") && (r = qt.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
1379
1379
|
c.cursorOverStyle = r;
|
|
1380
1380
|
}));
|
|
1381
1381
|
} else
|
|
@@ -1822,13 +1822,13 @@ function fo(t) {
|
|
|
1822
1822
|
function Ot(t) {
|
|
1823
1823
|
const { chart: e, config: i } = t;
|
|
1824
1824
|
let a = i;
|
|
1825
|
-
return i === void 0 && e !== void 0 && (a = R(e.uid, "config")),
|
|
1825
|
+
return i === void 0 && e !== void 0 && (a = R(e.uid, "config")), tt(a);
|
|
1826
1826
|
}
|
|
1827
1827
|
function Vp(t) {
|
|
1828
1828
|
t instanceof gc && t.series.each((e) => {
|
|
1829
1829
|
Nt(e.uid), e instanceof xe && Nt(Me(e)?.uid), e.bullets.each((i) => {
|
|
1830
1830
|
Nt(i.uid);
|
|
1831
|
-
}), e instanceof
|
|
1831
|
+
}), e instanceof rt && e.columns.template.children.each((i) => {
|
|
1832
1832
|
Nt(i.uid);
|
|
1833
1833
|
});
|
|
1834
1834
|
}), t instanceof fe && [t.xAxes.getIndex(0), t.xAxes.getIndex(1), t.yAxes.getIndex(0), t.yAxes.getIndex(1)].forEach(
|
|
@@ -1910,17 +1910,17 @@ function Nd(t, e) {
|
|
|
1910
1910
|
}));
|
|
1911
1911
|
}
|
|
1912
1912
|
function ps(t) {
|
|
1913
|
-
t.bulletsContainer.invalidateLabels(), t instanceof
|
|
1913
|
+
t.bulletsContainer.invalidateLabels(), t instanceof rt && t.columns?.template.invalidateLabels();
|
|
1914
1914
|
}
|
|
1915
1915
|
function Hp(t) {
|
|
1916
1916
|
const { dataValue: e, series: i, seriesType: a, stackedType: o, axisMin: n } = t;
|
|
1917
1917
|
let s = e === void 0;
|
|
1918
|
-
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof
|
|
1918
|
+
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof rt && (a === y.BarSeries || a === y.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !== ce.Side)), s;
|
|
1919
1919
|
}
|
|
1920
1920
|
function bs(t, e) {
|
|
1921
1921
|
let i;
|
|
1922
1922
|
const a = (o) => He(o.uid, "isDataLabel") ?? !1;
|
|
1923
|
-
return e === "bullets" ? i = t.bullets.values.find(a) : t instanceof
|
|
1923
|
+
return e === "bullets" ? i = t.bullets.values.find(a) : t instanceof rt && (i = t.columns.template.children.values.find(a)), i;
|
|
1924
1924
|
}
|
|
1925
1925
|
function ys(t, e) {
|
|
1926
1926
|
t.adapter.add(
|
|
@@ -1928,17 +1928,17 @@ function ys(t, e) {
|
|
|
1928
1928
|
(i, a) => {
|
|
1929
1929
|
let o = i;
|
|
1930
1930
|
const { dataItem: n } = a;
|
|
1931
|
-
if (lo(t) && (e instanceof
|
|
1932
|
-
const s =
|
|
1931
|
+
if (lo(t) && (e instanceof rt && n instanceof $s || e instanceof xe && n instanceof Ma)) {
|
|
1932
|
+
const s = et(
|
|
1933
1933
|
e.uid,
|
|
1934
|
-
e instanceof
|
|
1934
|
+
e instanceof rt ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1935
1935
|
);
|
|
1936
1936
|
if (s !== void 0) {
|
|
1937
1937
|
const r = R(e.chart.uid, "isRotated"), l = R(e.chart.uid, "config"), c = ct(l), d = r === !0 ? n.valueX : n.valueY, u = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min;
|
|
1938
1938
|
o = Hp({
|
|
1939
1939
|
dataValue: d,
|
|
1940
1940
|
series: e,
|
|
1941
|
-
seriesType: e instanceof
|
|
1941
|
+
seriesType: e instanceof rt ? y.BarSeries : y.LineSeries,
|
|
1942
1942
|
stackedType: c,
|
|
1943
1943
|
axisMin: f
|
|
1944
1944
|
}) ? "" : s(d, u);
|
|
@@ -2020,7 +2020,7 @@ function kn(t, e) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
function Wd(t, e) {
|
|
2022
2022
|
let i;
|
|
2023
|
-
return t instanceof Be ? i = e === !0 ? "dateY" : "dateX" : t instanceof
|
|
2023
|
+
return t instanceof Be ? i = e === !0 ? "dateY" : "dateX" : t instanceof st ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
2024
2024
|
}
|
|
2025
2025
|
function Ea(t, e) {
|
|
2026
2026
|
t.name = e;
|
|
@@ -2067,7 +2067,7 @@ function Gp(t) {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
function Ed(t, e) {
|
|
2069
2069
|
t.series.each((i) => {
|
|
2070
|
-
const a =
|
|
2070
|
+
const a = et(i.uid, e);
|
|
2071
2071
|
a !== void 0 && !a.isDisposed() && a.dispose();
|
|
2072
2072
|
});
|
|
2073
2073
|
}
|
|
@@ -2121,7 +2121,7 @@ function Al() {
|
|
|
2121
2121
|
const f = Me(u);
|
|
2122
2122
|
if (f !== void 0 && !f.disabled) {
|
|
2123
2123
|
const g = f.clones.values.filter((h) => !(h.dataItem instanceof aa))?.length ?? 0;
|
|
2124
|
-
if (
|
|
2124
|
+
if (et(u.uid, "isBoxPlotMeanLineSeries") === !0) {
|
|
2125
2125
|
r += g;
|
|
2126
2126
|
const h = u.data.filter(
|
|
2127
2127
|
(b) => Number.isFinite(b[u.dataFields.valueX ?? u.dataFields.valueY ?? ""])
|
|
@@ -2148,7 +2148,7 @@ function Up(t, e) {
|
|
|
2148
2148
|
case y.BarSeries:
|
|
2149
2149
|
i = (a, o) => {
|
|
2150
2150
|
let n = !1;
|
|
2151
|
-
if (a instanceof
|
|
2151
|
+
if (a instanceof rt) {
|
|
2152
2152
|
const s = Ot({ chart: a.chart });
|
|
2153
2153
|
let r = 0;
|
|
2154
2154
|
if (o.type === y.BarSeries) {
|
|
@@ -2189,11 +2189,11 @@ function Up(t, e) {
|
|
|
2189
2189
|
return i;
|
|
2190
2190
|
}
|
|
2191
2191
|
function zd(t) {
|
|
2192
|
-
const { series: e, callbackInfo: i, seriesConfig: a } = t, { type: o } = i, n = z([a]), s =
|
|
2192
|
+
const { series: e, callbackInfo: i, seriesConfig: a } = t, { type: o } = i, n = z([a]), s = et(e.uid, "isBoxPlotMeanLineSeries"), r = o === "style" ? "updateStyleCallbackDisposer" : "updateSelectionCallbackDisposer", l = (f) => {
|
|
2193
2193
|
const { type: g } = f;
|
|
2194
2194
|
g === "selection" ? Ty(f.callbackProps) : f.styleCallback !== void 0 && (re(e, a.visible), f.styleCallback());
|
|
2195
2195
|
};
|
|
2196
|
-
e.chart.events.once(P.Ready, () => l(i)), e.events.once(P.Ready, () => l(i)),
|
|
2196
|
+
e.chart.events.once(P.Ready, () => l(i)), e.events.once(P.Ready, () => l(i)), et(e.uid, r)?.dispose();
|
|
2197
2197
|
const c = Up(n, s), u = (n === y.PieSeries ? e.chart : e).events.on(P.Validated, () => {
|
|
2198
2198
|
c !== void 0 && c(e, a) && (u !== void 0 && u.dispose(), l(i));
|
|
2199
2199
|
});
|
|
@@ -2217,7 +2217,7 @@ function jp(t) {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
function da(t) {
|
|
2219
2219
|
const { defaultChartItemRole: e } = A.aria;
|
|
2220
|
-
t instanceof _e || t instanceof
|
|
2220
|
+
t instanceof _e || t instanceof rt ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Ni()) : t instanceof kt ? t.segments.template.properties.role = e : t instanceof xe ? t.bullets.values.forEach((i) => {
|
|
2221
2221
|
i.focusable = !0, i.properties.role = e, i.readerTitle = Ni(), i.hoverOnFocus = !0;
|
|
2222
2222
|
}) : t instanceof Wt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2223
2223
|
}
|
|
@@ -2235,7 +2235,7 @@ function mo(t, e) {
|
|
|
2235
2235
|
return i !== y.BoxPlotSeries || t instanceof _e ? o = t.id === a.id : t instanceof kt ? o = t.id.replace(`_${de.Top}`, "") === a.id || t.id.replace(`_${de.Median}`, "") === a.id || t.id.replace(`_${de.Bottom}`, "") === a.id : t instanceof xe && (o = t.id.replace(`_${de.Outliers}`, "") === a.id), o;
|
|
2236
2236
|
});
|
|
2237
2237
|
}
|
|
2238
|
-
const
|
|
2238
|
+
const ot = {
|
|
2239
2239
|
CustomActive: "custom-active",
|
|
2240
2240
|
CustomInactive: "custom-inactive",
|
|
2241
2241
|
Default: "default",
|
|
@@ -2250,7 +2250,7 @@ function Zp(t, e) {
|
|
|
2250
2250
|
return i;
|
|
2251
2251
|
}
|
|
2252
2252
|
function ua(t) {
|
|
2253
|
-
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ?
|
|
2253
|
+
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? ot.Active : ot.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(ot.CustomInactive) ?? e.states.create(ot.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? A.selectionTheme ?? {};
|
|
2254
2254
|
Cl(n, r), Cl(s, l);
|
|
2255
2255
|
}
|
|
2256
2256
|
function zt(t) {
|
|
@@ -2258,7 +2258,7 @@ function zt(t) {
|
|
|
2258
2258
|
if (e !== void 0) {
|
|
2259
2259
|
let r = e.isActive;
|
|
2260
2260
|
a !== !0 ? o === !0 ? r = e.isActive ? !1 : e.isActive !== i : r = i : r = e.isActive !== i, r !== e.isActive && (e.isActive = r);
|
|
2261
|
-
const l = n === !0 ?
|
|
2261
|
+
const l = n === !0 ? ot.Active : ot.CustomActive, c = s === !0 ? ot.Default : ot.CustomInactive;
|
|
2262
2262
|
e.setState(e.isActive ? l : c, 0), e.isActive && (e.toFront(), e.dataItem?.component instanceof hc && e.dataItem.component.toFront());
|
|
2263
2263
|
}
|
|
2264
2264
|
return e?.isActive ?? !1;
|
|
@@ -2393,13 +2393,13 @@ function Qp(t) {
|
|
|
2393
2393
|
(l) => l instanceof _e && l.isHover
|
|
2394
2394
|
);
|
|
2395
2395
|
r === void 0 ? n.forEach((l) => {
|
|
2396
|
-
l instanceof xe && (l.id.includes(de.Outliers) && l.tooltip?.visible === !0 ||
|
|
2396
|
+
l instanceof xe && (l.id.includes(de.Outliers) && l.tooltip?.visible === !0 || et(l.uid, "isBoxPlotMeanLineSeries")) && s.add(l);
|
|
2397
2397
|
}) : s.add(r), n = Array.from(s);
|
|
2398
2398
|
}
|
|
2399
2399
|
} else
|
|
2400
2400
|
n = e.series.values;
|
|
2401
2401
|
return n = n.filter(
|
|
2402
|
-
(s) => s.visible && (!o || !(s instanceof _e ||
|
|
2402
|
+
(s) => s.visible && (!o || !(s instanceof _e || et(s.uid, "isBoxPlotOutliersSeries")))
|
|
2403
2403
|
), n;
|
|
2404
2404
|
}
|
|
2405
2405
|
async function _d(t) {
|
|
@@ -2423,7 +2423,7 @@ async function _d(t) {
|
|
|
2423
2423
|
chartConfig: l
|
|
2424
2424
|
};
|
|
2425
2425
|
let v;
|
|
2426
|
-
h instanceof
|
|
2426
|
+
h instanceof rt || h instanceof _e ? v = h.columns?.values : h instanceof kt ? v = h.segments.values : h instanceof xe && (v = Me(h)?.clones?.values, F.uniqueFeature = !0), v !== void 0 && (u = [...u, ...v], v.forEach((T, I) => {
|
|
2427
2427
|
if (!(T.dataItem instanceof aa)) {
|
|
2428
2428
|
const k = T.isActive, D = T === n || Zp(T, i);
|
|
2429
2429
|
D && (f = !1);
|
|
@@ -2643,7 +2643,7 @@ function Yd(t, e) {
|
|
|
2643
2643
|
}
|
|
2644
2644
|
function Dn(t, e) {
|
|
2645
2645
|
if (t.tooltip) {
|
|
2646
|
-
const i = e.dataTooltipFontSize ?? A.tooltipFontSize, o =
|
|
2646
|
+
const i = e.dataTooltipFontSize ?? A.tooltipFontSize, o = et(t.uid, "tooltipFontSize") !== i;
|
|
2647
2647
|
t.tooltip.label.fontSize = i, o && !t.tooltip.visible && (t.tooltip.label.html = ""), t.tooltip.label.invalidate(), Gt(t.uid, { tooltipFontSize: i });
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
@@ -2673,7 +2673,7 @@ function Ud(t, e) {
|
|
|
2673
2673
|
if (r === !1)
|
|
2674
2674
|
o = "";
|
|
2675
2675
|
else {
|
|
2676
|
-
const l =
|
|
2676
|
+
const l = et(
|
|
2677
2677
|
e.uid,
|
|
2678
2678
|
"barAndLineTooltipFormatter"
|
|
2679
2679
|
);
|
|
@@ -2918,7 +2918,7 @@ function yr(t) {
|
|
|
2918
2918
|
if (u === !1)
|
|
2919
2919
|
r = "";
|
|
2920
2920
|
else {
|
|
2921
|
-
const f =
|
|
2921
|
+
const f = et(
|
|
2922
2922
|
l.uid,
|
|
2923
2923
|
"boxPlotTooltipFormatter"
|
|
2924
2924
|
);
|
|
@@ -3690,7 +3690,7 @@ function Rb(t) {
|
|
|
3690
3690
|
const e = t.baseSprite;
|
|
3691
3691
|
let i = "";
|
|
3692
3692
|
if (e instanceof fe) {
|
|
3693
|
-
const a = R(e.uid, "config"), o =
|
|
3693
|
+
const a = R(e.uid, "config"), o = tt(a), n = o ? m.Rotated : m.NonRotated, s = ct(a);
|
|
3694
3694
|
let r = m.SideBySide;
|
|
3695
3695
|
s === ce.Stacked ? r = m.Stacked : s === ce.Stacked100 && (r = m.Stacked100);
|
|
3696
3696
|
const l = e.rtl ? m.RTL : m.LTR;
|
|
@@ -3778,7 +3778,7 @@ function Nb(t, e) {
|
|
|
3778
3778
|
"currentSelectionDataItems"
|
|
3779
3779
|
), c = l !== void 0 && l.length > 0, d = R(e.uid, "actionMode") ?? A.actionMode;
|
|
3780
3780
|
let u;
|
|
3781
|
-
s instanceof
|
|
3781
|
+
s instanceof rt ? u = s.columns : r ? u = s.slices : s instanceof xe && (Bb(s), u = Me(s)?.clones), u?.each((f) => {
|
|
3782
3782
|
f.dataItem instanceof aa || (zt({
|
|
3783
3783
|
element: f,
|
|
3784
3784
|
selected: f.isActive,
|
|
@@ -4020,7 +4020,7 @@ function Kb(t) {
|
|
|
4020
4020
|
let h, b;
|
|
4021
4021
|
Zo({ element: l, markerSymbol: f }), l.clones.each((p) => {
|
|
4022
4022
|
if (p.dataItem instanceof aa)
|
|
4023
|
-
Zo({ element: p, markerSymbol: f }), p.states.getKey(
|
|
4023
|
+
Zo({ element: p, markerSymbol: f }), p.states.getKey(ot.CustomActive)?.reset(), p.states.getKey(ot.CustomInactive)?.reset();
|
|
4024
4024
|
else {
|
|
4025
4025
|
const S = p.dataItem?.dataContext, C = S?.[A.xAxisField] === A.nullValue, x = Et({
|
|
4026
4026
|
seriesConfig: o,
|
|
@@ -4764,8 +4764,8 @@ function Cy(t) {
|
|
|
4764
4764
|
function xy(t) {
|
|
4765
4765
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
4766
4766
|
return e.series.values.filter(
|
|
4767
|
-
(n) => i !== y.BoxPlotSeries || !a && n instanceof _e || a &&
|
|
4768
|
-
).every((n) =>
|
|
4767
|
+
(n) => et(n.uid, "isOverlay") !== !0 && (i !== y.BoxPlotSeries || !a && n instanceof _e || a && et(n.uid, "isBoxPlotMeanLineSeries"))
|
|
4768
|
+
).every((n) => et(n.uid, "isSelectionApplied") === !0);
|
|
4769
4769
|
}
|
|
4770
4770
|
function vy(t) {
|
|
4771
4771
|
t.series.each((e) => Gt(e.uid, { isSelectionApplied: void 0 }));
|
|
@@ -4870,7 +4870,7 @@ function Fy(t) {
|
|
|
4870
4870
|
const f = s.series[0].x, g = Yi(d), h = d instanceof mi ? d.dataFields?.customValue ?? "" : "", b = Fn(d, u), p = i.get(u);
|
|
4871
4871
|
if (p !== void 0) {
|
|
4872
4872
|
let S;
|
|
4873
|
-
if (d instanceof
|
|
4873
|
+
if (d instanceof rt ? S = d.columns : d instanceof Wt ? S = d.slices : S = Me(d)?.clones, S !== void 0) {
|
|
4874
4874
|
const { indexesToSelect: C } = p;
|
|
4875
4875
|
S.each((x, F) => {
|
|
4876
4876
|
if (x && (C === void 0 || C.includes(F))) {
|
|
@@ -4903,7 +4903,7 @@ function Ay(t) {
|
|
|
4903
4903
|
let o;
|
|
4904
4904
|
switch (i) {
|
|
4905
4905
|
case y.ComboLineAndBarSeries:
|
|
4906
|
-
if (e instanceof
|
|
4906
|
+
if (e instanceof rt)
|
|
4907
4907
|
o = e.columns.values;
|
|
4908
4908
|
else if (e instanceof xe) {
|
|
4909
4909
|
const n = Me(e);
|
|
@@ -4911,7 +4911,7 @@ function Ay(t) {
|
|
|
4911
4911
|
}
|
|
4912
4912
|
break;
|
|
4913
4913
|
case y.BarSeries:
|
|
4914
|
-
e instanceof
|
|
4914
|
+
e instanceof rt && (o = e.columns.values);
|
|
4915
4915
|
break;
|
|
4916
4916
|
case y.LineSeries:
|
|
4917
4917
|
if (e instanceof xe) {
|
|
@@ -4931,7 +4931,7 @@ function Ay(t) {
|
|
|
4931
4931
|
const s = Me(n);
|
|
4932
4932
|
s !== void 0 && o.push(...s.clones.values);
|
|
4933
4933
|
}
|
|
4934
|
-
} else if (a === !0 && e instanceof xe &&
|
|
4934
|
+
} else if (a === !0 && e instanceof xe && et(e.uid, "isBoxPlotMeanLineSeries")) {
|
|
4935
4935
|
const n = Me(e);
|
|
4936
4936
|
n !== void 0 && (o = n.clones.values);
|
|
4937
4937
|
}
|
|
@@ -4952,7 +4952,7 @@ function Ty(t) {
|
|
|
4952
4952
|
xAxisField: l,
|
|
4953
4953
|
yAxisField: c,
|
|
4954
4954
|
rotationChanged: d
|
|
4955
|
-
} = t, { filterBySelection: u, selectionData: f, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: b } = f ?? {}, { chart: p } = e, S = R(p.uid, "config"), C =
|
|
4955
|
+
} = t, { filterBySelection: u, selectionData: f, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: b } = f ?? {}, { chart: p } = e, S = R(p.uid, "config"), C = at(a), x = vi(S), F = gn(S), v = bt(S), T = z(S?.series);
|
|
4956
4956
|
if (u !== !0 && S !== void 0) {
|
|
4957
4957
|
const I = Ay({
|
|
4958
4958
|
series: e,
|
|
@@ -5117,7 +5117,7 @@ function ky(t) {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
}
|
|
5119
5119
|
async function xo(t) {
|
|
5120
|
-
const { chart: e, listSelectedElements: i, selectionSource: a, queryObject: o, errorStrings: n } = t, s = R(e.uid, "options"), r = R(e.uid, "config"), l =
|
|
5120
|
+
const { chart: e, listSelectedElements: i, selectionSource: a, queryObject: o, errorStrings: n } = t, s = R(e.uid, "options"), r = R(e.uid, "config"), l = at(o);
|
|
5121
5121
|
if (r)
|
|
5122
5122
|
if (i.length === 0)
|
|
5123
5123
|
Ha({
|
|
@@ -5237,12 +5237,12 @@ async function Oy(t, e, i) {
|
|
|
5237
5237
|
}
|
|
5238
5238
|
}
|
|
5239
5239
|
});
|
|
5240
|
-
const l = On(t, n), c = o instanceof Be || o instanceof
|
|
5240
|
+
const l = On(t, n), c = o instanceof Be || o instanceof st, d = [], u = R(n.uid, "config");
|
|
5241
5241
|
if (u) {
|
|
5242
5242
|
const f = u.series[0].x ?? "";
|
|
5243
5243
|
n.series.each((g, h) => {
|
|
5244
5244
|
let b;
|
|
5245
|
-
if (g instanceof
|
|
5245
|
+
if (g instanceof rt ? b = g.columns : b = Me(g)?.clones, g.visible) {
|
|
5246
5246
|
const p = Yi(g), S = g.dataFields?.customValue ?? "";
|
|
5247
5247
|
b?.each((C, x) => {
|
|
5248
5248
|
const F = s.includes(C);
|
|
@@ -5283,7 +5283,7 @@ function Dy(t) {
|
|
|
5283
5283
|
}
|
|
5284
5284
|
}
|
|
5285
5285
|
function Jo(t, e) {
|
|
5286
|
-
if ($t(t?.renderer?.labels?.template) && (t instanceof
|
|
5286
|
+
if ($t(t?.renderer?.labels?.template) && (t instanceof st || t instanceof Be))
|
|
5287
5287
|
if (e)
|
|
5288
5288
|
t.renderer.labels.template.events.disableType(P.Hit), hs(t, qt.default);
|
|
5289
5289
|
else {
|
|
@@ -5370,7 +5370,7 @@ function Ny(t, e) {
|
|
|
5370
5370
|
Number.isFinite(F) && (b = F), Number.isFinite(v) && (p = v);
|
|
5371
5371
|
const T = Qe(t.uid, "numberFormatter") ?? ((I) => new Cc().format(I));
|
|
5372
5372
|
b = T(b), p !== void 0 && (p = T(p));
|
|
5373
|
-
} else t instanceof
|
|
5373
|
+
} else t instanceof st && (b = o, p = n);
|
|
5374
5374
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
5375
5375
|
!ve(C) && S !== C ? l = Qi(e.guideTooltipLabel, {
|
|
5376
5376
|
guideStart: S,
|
|
@@ -5390,7 +5390,7 @@ function My(t) {
|
|
|
5390
5390
|
}
|
|
5391
5391
|
function Py(t) {
|
|
5392
5392
|
let e = Sa.Value;
|
|
5393
|
-
return t instanceof Be ? e = Sa.Date : t instanceof
|
|
5393
|
+
return t instanceof Be ? e = Sa.Date : t instanceof st && (e = Sa.Category), e;
|
|
5394
5394
|
}
|
|
5395
5395
|
function Dl(t) {
|
|
5396
5396
|
const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
|
|
@@ -5476,7 +5476,7 @@ function Wy(t, e) {
|
|
|
5476
5476
|
o !== -1 && (i = o);
|
|
5477
5477
|
}
|
|
5478
5478
|
let a;
|
|
5479
|
-
return t instanceof
|
|
5479
|
+
return t instanceof st ? a = new La() : t instanceof Be ? a = new sn() : a = new Ns(), t.axisRanges.insertIndex(i, a), a.label = Ry(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5480
5480
|
}
|
|
5481
5481
|
function Ey(t, e) {
|
|
5482
5482
|
const i = Wy(t, !0);
|
|
@@ -5619,7 +5619,7 @@ function Ky(t) {
|
|
|
5619
5619
|
if (o === !0)
|
|
5620
5620
|
s = A.secondRotatedValueAxisMinGridDistance;
|
|
5621
5621
|
else if (a === void 0 || a === be.Rotate) {
|
|
5622
|
-
const r = i.content.font?.size ?? A.generalFontSize, l = e instanceof
|
|
5622
|
+
const r = i.content.font?.size ?? A.generalFontSize, l = e instanceof st ? A.categoryAxisLabelPadding : A.axisLabelPadding;
|
|
5623
5623
|
s = r * l;
|
|
5624
5624
|
} else if (a === be.Wrap) {
|
|
5625
5625
|
const r = ht(
|
|
@@ -5629,9 +5629,9 @@ function Ky(t) {
|
|
|
5629
5629
|
je(e.uid, {
|
|
5630
5630
|
debouncedUpdateMinGridDistanceForWrapBehavior: r
|
|
5631
5631
|
}), e.events.on(P.SizeChanged, r), e.dispatchImmediately(P.SizeChanged);
|
|
5632
|
-
} else a === be.Stagger ? s = A.staggerMinGridDistance : s = e instanceof
|
|
5632
|
+
} else a === be.Stagger ? s = A.staggerMinGridDistance : s = e instanceof st ? A.xCategoryAxisMinGridDistance : A.xAxisMinGridDistance;
|
|
5633
5633
|
else
|
|
5634
|
-
s = e instanceof
|
|
5634
|
+
s = e instanceof st ? A.yCategoryAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
5635
5635
|
e.renderer.minGridDistance = s;
|
|
5636
5636
|
}
|
|
5637
5637
|
function Qy(t) {
|
|
@@ -5849,7 +5849,7 @@ function gS(t) {
|
|
|
5849
5849
|
const e = t.tooltip;
|
|
5850
5850
|
e !== void 0 && !(t instanceof Be) && (e.label.adapter.add("html", (i, a) => {
|
|
5851
5851
|
let o = i ?? "";
|
|
5852
|
-
return t instanceof Le ? o = Ld(t, a.properties?.text ?? i ?? "") : t instanceof
|
|
5852
|
+
return t instanceof Le ? o = Ld(t, a.properties?.text ?? i ?? "") : t instanceof st && (o = Fd({
|
|
5853
5853
|
axis: t,
|
|
5854
5854
|
defaultOutput: i ?? "",
|
|
5855
5855
|
dataItem: e.dataItem
|
|
@@ -5973,7 +5973,7 @@ function CS(t) {
|
|
|
5973
5973
|
const { axis: e, isNonAggregatedChart: i } = t;
|
|
5974
5974
|
let a, o, n;
|
|
5975
5975
|
const s = e.dataItems.values, r = e.axisRanges.values;
|
|
5976
|
-
if (e instanceof
|
|
5976
|
+
if (e instanceof st)
|
|
5977
5977
|
for (let l = 0; l < r.length; l += 1) {
|
|
5978
5978
|
a = !1, o = !1, n = !1;
|
|
5979
5979
|
const c = r[l], { category: d, endCategory: u, axisFill: f, grid: g, label: h } = c;
|
|
@@ -6014,7 +6014,7 @@ function xS(t) {
|
|
|
6014
6014
|
axis: t,
|
|
6015
6015
|
axisMinimum: t.min,
|
|
6016
6016
|
axisMaximum: e
|
|
6017
|
-
}), e))) : t instanceof
|
|
6017
|
+
}), e))) : t instanceof st && t.events.on(P.Validated, () => {
|
|
6018
6018
|
const e = R(t.chart.uid, "isNonAggregatedChart");
|
|
6019
6019
|
CS({ axis: t, isNonAggregatedChart: e });
|
|
6020
6020
|
});
|
|
@@ -6023,7 +6023,7 @@ function to(t) {
|
|
|
6023
6023
|
const { axes: e, isSecondaryYAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n, queryObject: s, errorStrings: r } = t;
|
|
6024
6024
|
let l;
|
|
6025
6025
|
if (Va({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
6026
|
-
l = e.push(new
|
|
6026
|
+
l = e.push(new st());
|
|
6027
6027
|
else if (gt(o))
|
|
6028
6028
|
l = e.push(new Be());
|
|
6029
6029
|
else if (Re(o)) {
|
|
@@ -6466,7 +6466,7 @@ function NS(t) {
|
|
|
6466
6466
|
});
|
|
6467
6467
|
const C = n === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
6468
6468
|
if (C !== void 0) {
|
|
6469
|
-
C instanceof
|
|
6469
|
+
C instanceof st && (C.dataFields.category = js(i));
|
|
6470
6470
|
const v = C.renderer, T = v.grid.template;
|
|
6471
6471
|
T.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
6472
6472
|
const I = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy === cn.Descending;
|
|
@@ -7300,7 +7300,7 @@ function Su(t) {
|
|
|
7300
7300
|
}
|
|
7301
7301
|
function CC(t) {
|
|
7302
7302
|
t.events.on(P.Validated, () => {
|
|
7303
|
-
const e =
|
|
7303
|
+
const e = et(
|
|
7304
7304
|
t.uid,
|
|
7305
7305
|
"barSeriesLastUpdate"
|
|
7306
7306
|
);
|
|
@@ -7311,7 +7311,7 @@ function CC(t) {
|
|
|
7311
7311
|
});
|
|
7312
7312
|
}
|
|
7313
7313
|
function xC(t) {
|
|
7314
|
-
const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], selectionTheme: n, queryObject: s, errorStrings: r } = t, { rotated: l } = i, c = i.series[a], { y: d, assignToSecondValueAxis: u } = c, f = new
|
|
7314
|
+
const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], selectionTheme: n, queryObject: s, errorStrings: r } = t, { rotated: l } = i, c = i.series[a], { y: d, assignToSecondValueAxis: u } = c, f = new rt();
|
|
7315
7315
|
f.id = c.id;
|
|
7316
7316
|
let g, h;
|
|
7317
7317
|
l !== !0 ? (g = o[0], h = u === !0 && o[2] ? o[2] : o[1]) : (g = u === !0 && o[2] ? o[2] : o[0], h = o[1]), g !== void 0 && (f.xAxis = g), h !== void 0 && (f.yAxis = h);
|
|
@@ -7365,7 +7365,7 @@ function vC(t) {
|
|
|
7365
7365
|
}
|
|
7366
7366
|
function LC(t) {
|
|
7367
7367
|
t.labels.template.adapter.add("html", (e, i) => {
|
|
7368
|
-
const a =
|
|
7368
|
+
const a = et(
|
|
7369
7369
|
t.uid,
|
|
7370
7370
|
"pieChartDataLabelFormatter"
|
|
7371
7371
|
);
|
|
@@ -7498,7 +7498,7 @@ function OC(t) {
|
|
|
7498
7498
|
if (r === !1)
|
|
7499
7499
|
a.tooltip.disabled = !0;
|
|
7500
7500
|
else {
|
|
7501
|
-
const l =
|
|
7501
|
+
const l = et(
|
|
7502
7502
|
t.uid,
|
|
7503
7503
|
"pieChartTooltipFormatter"
|
|
7504
7504
|
);
|
|
@@ -7578,7 +7578,7 @@ function BC(t) {
|
|
|
7578
7578
|
o !== void 0 && o.selectedElementsTheme === void 0 && Da({
|
|
7579
7579
|
element: n,
|
|
7580
7580
|
stylingInfo: c,
|
|
7581
|
-
stateKey:
|
|
7581
|
+
stateKey: ot.Active
|
|
7582
7582
|
});
|
|
7583
7583
|
});
|
|
7584
7584
|
}
|
|
@@ -8046,7 +8046,7 @@ function Or(t) {
|
|
|
8046
8046
|
seriesWereReinitialized: C,
|
|
8047
8047
|
utilsStrings: x,
|
|
8048
8048
|
errorStrings: F
|
|
8049
|
-
} = t, v = e.series.values, T = /* @__PURE__ */ new Map(), I = i.series.length, k = Hi(i), D = ct(i), w = Ct(f, g?.popupTemplateFieldInfosEnabled), B = ft(f), N = Gs(n,
|
|
8049
|
+
} = t, v = e.series.values, T = /* @__PURE__ */ new Map(), I = i.series.length, k = Hi(i), D = ct(i), w = Ct(f, g?.popupTemplateFieldInfosEnabled), B = ft(f), N = Gs(n, at(B) ? void 0 : B?.renderer);
|
|
8050
8050
|
for (const [$, M] of a.entries()) {
|
|
8051
8051
|
const H = z([M]), W = v[$], E = {
|
|
8052
8052
|
numberOfSeries: I,
|
|
@@ -8786,11 +8786,11 @@ function sx(t) {
|
|
|
8786
8786
|
}
|
|
8787
8787
|
function rx(t) {
|
|
8788
8788
|
let e = "";
|
|
8789
|
-
return t instanceof lr ? e = t.get("categoryXField") ?? t.get("valueXField") ?? "" : t instanceof
|
|
8789
|
+
return t instanceof lr ? e = t.get("categoryXField") ?? t.get("valueXField") ?? "" : t instanceof it && (e = t.get("categoryField") ?? ""), e;
|
|
8790
8790
|
}
|
|
8791
8791
|
function lx(t) {
|
|
8792
8792
|
let e = "";
|
|
8793
|
-
return t instanceof lr ? e = t.get("categoryYField") ?? t.get("valueYField") ?? "" : t instanceof
|
|
8793
|
+
return t instanceof lr ? e = t.get("categoryYField") ?? t.get("valueYField") ?? "" : t instanceof it && (e = t.get("categoryField") ?? ""), e;
|
|
8794
8794
|
}
|
|
8795
8795
|
function Ga(t) {
|
|
8796
8796
|
let e = "";
|
|
@@ -9128,7 +9128,7 @@ function wu(t, e) {
|
|
|
9128
9128
|
e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", Du(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", Ou(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
|
|
9129
9129
|
}
|
|
9130
9130
|
function Ra(t) {
|
|
9131
|
-
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s =
|
|
9131
|
+
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = lt.new(e, {
|
|
9132
9132
|
text: "",
|
|
9133
9133
|
textAlign: "center",
|
|
9134
9134
|
background: Xo.new(e, {}),
|
|
@@ -9141,7 +9141,7 @@ function Ra(t) {
|
|
|
9141
9141
|
}
|
|
9142
9142
|
function Wl(t) {
|
|
9143
9143
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
9144
|
-
e.adapters.remove(a), (e instanceof
|
|
9144
|
+
e.adapters.remove(a), (e instanceof lt ? [e] : e.entities).forEach((n) => {
|
|
9145
9145
|
if (typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
9146
9146
|
let s = un(i);
|
|
9147
9147
|
typeof s == "number" && (s /= 100, n.adapters.add(a, () => (a === "dx" ? n.width() : n.height()) * (s ?? 0)));
|
|
@@ -9152,9 +9152,9 @@ function Wl(t) {
|
|
|
9152
9152
|
});
|
|
9153
9153
|
}
|
|
9154
9154
|
function wt(t) {
|
|
9155
|
-
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof
|
|
9155
|
+
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof lt ? e.root : e.entities[0]?.root, l = i?.visible ?? !0;
|
|
9156
9156
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
9157
|
-
const c = e instanceof
|
|
9157
|
+
const c = e instanceof lt && Ft(e.uid, "isGuide"), d = xx({ root: r, input: i.content, isGuideLabel: c, defaults: a });
|
|
9158
9158
|
e.setAll({
|
|
9159
9159
|
fill: d.fill,
|
|
9160
9160
|
fontFamily: d.fontFamily,
|
|
@@ -9178,7 +9178,7 @@ function wt(t) {
|
|
|
9178
9178
|
}), e.setAll({ centerX: d.align, centerY: d.valign }), s || e.setAll({ x: d.horizontalCenter, y: d.verticalCenter })), e.get("background")?.setAll({
|
|
9179
9179
|
strokeWidth: d.borderWidth,
|
|
9180
9180
|
strokeOpacity: 1
|
|
9181
|
-
}), e.set("visible", l), e instanceof
|
|
9181
|
+
}), e.set("visible", l), e instanceof lt ? oe(e, l) : e.entities.forEach((u) => {
|
|
9182
9182
|
oe(u, l);
|
|
9183
9183
|
});
|
|
9184
9184
|
}
|
|
@@ -9391,7 +9391,7 @@ function $u(t) {
|
|
|
9391
9391
|
}
|
|
9392
9392
|
function kx(t) {
|
|
9393
9393
|
const e = t.dataItem?.component;
|
|
9394
|
-
e instanceof me ? (e.uid !== void 0 ? ae(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof De ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof
|
|
9394
|
+
e instanceof me ? (e.uid !== void 0 ? ae(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof De ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof it && e.slices?.template?.adapters?.remove?.("fill");
|
|
9395
9395
|
}
|
|
9396
9396
|
function Bu(t) {
|
|
9397
9397
|
const { element: e, fill: i, fillOpacity: a, pattern: o, chartBackgroundFill: n } = t, s = e.get("tooltip");
|
|
@@ -9584,14 +9584,14 @@ function Mu(t) {
|
|
|
9584
9584
|
}
|
|
9585
9585
|
return e;
|
|
9586
9586
|
}
|
|
9587
|
-
function
|
|
9587
|
+
function nt(t) {
|
|
9588
9588
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, backToDefaultState: n } = t;
|
|
9589
9589
|
let s = !1;
|
|
9590
9590
|
if (e !== void 0) {
|
|
9591
9591
|
const r = ci(e.uid, "selected") ?? !1;
|
|
9592
9592
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9593
|
-
const l = n === !0 ?
|
|
9594
|
-
if (e.states.apply(
|
|
9593
|
+
const l = n === !0 ? ot.Default : ot.CustomInactive;
|
|
9594
|
+
if (e.states.apply(ot.Default), e.states.apply(s ? ot.CustomActive : l), s !== r && (ix(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Oa))) {
|
|
9595
9595
|
const c = e.dataItem.component;
|
|
9596
9596
|
c.toFront(), c instanceof me && c.bulletsContainer.toFront();
|
|
9597
9597
|
}
|
|
@@ -9603,7 +9603,7 @@ function wx(t, e) {
|
|
|
9603
9603
|
return i === K.MonoSelection || i === K.MultiSelectionWithCtrlKey && !a;
|
|
9604
9604
|
}
|
|
9605
9605
|
function Ee(t, e) {
|
|
9606
|
-
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? L.selectionTheme ?? {}, o = t.states.create(
|
|
9606
|
+
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? L.selectionTheme ?? {}, o = t.states.create(ot.CustomActive, {}), n = t.states.create(ot.CustomInactive, {});
|
|
9607
9607
|
El(o, i), El(n, a);
|
|
9608
9608
|
}
|
|
9609
9609
|
function $a(t) {
|
|
@@ -9700,10 +9700,10 @@ function $x(t) {
|
|
|
9700
9700
|
function Bx(t) {
|
|
9701
9701
|
const { series: e, externalDataLabelFormatter: i } = t;
|
|
9702
9702
|
e.bullets.push(() => {
|
|
9703
|
-
const a = O(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((u) => u.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s =
|
|
9703
|
+
const a = O(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((u) => u.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s = tt(a), r = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries ? L.zIndexes.defaultLayer30 : 0, l = e.get("stacked"), c = Li.new(e.root, {
|
|
9704
9704
|
locationY: !l && !s ? 1 : void 0,
|
|
9705
9705
|
locationX: !l && s ? 1 : void 0,
|
|
9706
|
-
sprite:
|
|
9706
|
+
sprite: lt.new(e.root, {
|
|
9707
9707
|
text: s ? "{valueX}" : "{valueY}",
|
|
9708
9708
|
populateText: !0,
|
|
9709
9709
|
centerY: Ae,
|
|
@@ -9779,7 +9779,7 @@ function Mx(t) {
|
|
|
9779
9779
|
i instanceof De ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
9780
9780
|
);
|
|
9781
9781
|
if (c !== void 0 && i.chart && l) {
|
|
9782
|
-
const d = O(i.chart.uid, "config"), u =
|
|
9782
|
+
const d = O(i.chart.uid, "config"), u = tt(d), f = u ? l.get("valueX") : l.get("valueY"), g = u ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent");
|
|
9783
9783
|
r = c(
|
|
9784
9784
|
ct(d) === ce.Stacked100 ? g : f
|
|
9785
9785
|
);
|
|
@@ -9917,7 +9917,7 @@ function Vx(t) {
|
|
|
9917
9917
|
e.bullets.push(() => {
|
|
9918
9918
|
const s = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Li.new(e.root, {
|
|
9919
9919
|
locationY: 1,
|
|
9920
|
-
sprite:
|
|
9920
|
+
sprite: lt.new(e.root, {
|
|
9921
9921
|
populateText: !0,
|
|
9922
9922
|
oversizedBehavior: "hide",
|
|
9923
9923
|
centerY: Ae,
|
|
@@ -10489,7 +10489,7 @@ function Fo(t) {
|
|
|
10489
10489
|
});
|
|
10490
10490
|
break;
|
|
10491
10491
|
case y.PieSeries:
|
|
10492
|
-
i instanceof
|
|
10492
|
+
i instanceof it && e instanceof _i && (o = _x({
|
|
10493
10493
|
pieSeries: i,
|
|
10494
10494
|
tooltip: e
|
|
10495
10495
|
}));
|
|
@@ -10703,7 +10703,7 @@ function nv(t) {
|
|
|
10703
10703
|
Zu(i, a);
|
|
10704
10704
|
break;
|
|
10705
10705
|
}
|
|
10706
|
-
case (e === y.PieSeries && i instanceof
|
|
10706
|
+
case (e === y.PieSeries && i instanceof it): {
|
|
10707
10707
|
const o = ae(i.uid, "tooltipCallback");
|
|
10708
10708
|
o && o.dispose();
|
|
10709
10709
|
const n = i.events.on(he.DataValidated, () => {
|
|
@@ -11336,19 +11336,19 @@ function kv(t) {
|
|
|
11336
11336
|
t.series.each((e) => {
|
|
11337
11337
|
e instanceof me ? e.dataItems.forEach((i) => {
|
|
11338
11338
|
const a = i.bullets?.[0];
|
|
11339
|
-
a &&
|
|
11339
|
+
a && nt({
|
|
11340
11340
|
element: a.get("sprite"),
|
|
11341
11341
|
selected: !1,
|
|
11342
11342
|
backToDefaultState: !0
|
|
11343
11343
|
});
|
|
11344
11344
|
}) : e instanceof De ? e.columns.each((i) => {
|
|
11345
|
-
|
|
11345
|
+
nt({
|
|
11346
11346
|
element: i,
|
|
11347
11347
|
selected: !1,
|
|
11348
11348
|
backToDefaultState: !0
|
|
11349
11349
|
});
|
|
11350
|
-
}) : e instanceof
|
|
11351
|
-
|
|
11350
|
+
}) : e instanceof it && e.slices.each((i) => {
|
|
11351
|
+
nt({
|
|
11352
11352
|
element: i,
|
|
11353
11353
|
selected: !1,
|
|
11354
11354
|
backToDefaultState: !0
|
|
@@ -11392,7 +11392,7 @@ function wv(t) {
|
|
|
11392
11392
|
let e = [];
|
|
11393
11393
|
if (!Ai(t) && !Ao(t))
|
|
11394
11394
|
switch (!0) {
|
|
11395
|
-
case t instanceof
|
|
11395
|
+
case t instanceof it:
|
|
11396
11396
|
e = t.slices.values;
|
|
11397
11397
|
break;
|
|
11398
11398
|
case t instanceof De:
|
|
@@ -11419,7 +11419,7 @@ function wv(t) {
|
|
|
11419
11419
|
function Qu(t, e) {
|
|
11420
11420
|
const i = O(t.uid, "actionMode");
|
|
11421
11421
|
(i === K.MonoSelection || i === K.None) && e.length > 1 ? Ui({ chart: t }) : e.forEach((o) => {
|
|
11422
|
-
|
|
11422
|
+
nt({ element: o, selected: !0 });
|
|
11423
11423
|
});
|
|
11424
11424
|
}
|
|
11425
11425
|
function Rv(t) {
|
|
@@ -11445,7 +11445,7 @@ function Rv(t) {
|
|
|
11445
11445
|
});
|
|
11446
11446
|
F !== void 0 && o.push(F), n.push(C);
|
|
11447
11447
|
} else
|
|
11448
|
-
|
|
11448
|
+
nt({ element: C, selected: !1 });
|
|
11449
11449
|
});
|
|
11450
11450
|
}
|
|
11451
11451
|
}
|
|
@@ -11523,7 +11523,7 @@ function $v(t) {
|
|
|
11523
11523
|
});
|
|
11524
11524
|
}
|
|
11525
11525
|
else
|
|
11526
|
-
|
|
11526
|
+
nt({ element: v, selected: !1 });
|
|
11527
11527
|
}
|
|
11528
11528
|
}), Qu(e, b), { selectedIndexes: p, newSelectionDataItems: S };
|
|
11529
11529
|
}
|
|
@@ -11618,7 +11618,7 @@ function Bv(t) {
|
|
|
11618
11618
|
};
|
|
11619
11619
|
I.forEach((W) => {
|
|
11620
11620
|
const E = W instanceof so || W instanceof ro ? W : W.bullets?.[0]?.get("sprite");
|
|
11621
|
-
E !== void 0 &&
|
|
11621
|
+
E !== void 0 && nt({
|
|
11622
11622
|
element: E,
|
|
11623
11623
|
selected: ci(E.uid, "selected") === !0 || H(E),
|
|
11624
11624
|
backToDefaultState: $ === void 0 || $.length === 0
|
|
@@ -11651,7 +11651,7 @@ function Bv(t) {
|
|
|
11651
11651
|
}
|
|
11652
11652
|
function Nv(t) {
|
|
11653
11653
|
const { chart: e, chartConfig: i, queryObject: a } = t;
|
|
11654
|
-
!O(e.uid, "filterBySelection") && !
|
|
11654
|
+
!O(e.uid, "filterBySelection") && !at(a) && e.series.values.filter((n) => !Ai(n) && !Ao(n)).forEach((n) => {
|
|
11655
11655
|
const { seriesConfig: s, seriesIndex: r } = To(n, i);
|
|
11656
11656
|
if (s) {
|
|
11657
11657
|
const l = s.x, c = s.type === y.BoxPlotSeries || s.type === y.HeatSeries ? s.y.toString() : Ga(n), d = s.query?.where ?? "";
|
|
@@ -11664,7 +11664,7 @@ function Nv(t) {
|
|
|
11664
11664
|
});
|
|
11665
11665
|
}
|
|
11666
11666
|
async function Pr(t) {
|
|
11667
|
-
const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = O(e.uid, "config"), s =
|
|
11667
|
+
const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = O(e.uid, "config"), s = at(a);
|
|
11668
11668
|
if (n) {
|
|
11669
11669
|
const r = O(e.uid, "options"), l = z(n.series), c = q(n.series), d = vi(n), u = xi(n.series), f = n.series[0].x, g = ya(a), h = s ? void 0 : Js(ft(a))?.dateFieldsTimeZone;
|
|
11670
11670
|
let b;
|
|
@@ -11678,7 +11678,7 @@ async function Pr(t) {
|
|
|
11678
11678
|
if (e.series.each((w, B) => {
|
|
11679
11679
|
const { seriesConfig: N } = To(w, n), $ = N?.query?.where ?? "", M = N?.type === y.BoxPlotSeries ? N.y.toString() : Ga(w);
|
|
11680
11680
|
let H;
|
|
11681
|
-
w instanceof me ? H = w.dataItems : w instanceof De ? H = w.columns.values : w instanceof
|
|
11681
|
+
w instanceof me ? H = w.dataItems : w instanceof De ? H = w.columns.values : w instanceof it && (H = w.slices.values), H?.forEach((W, E) => {
|
|
11682
11682
|
const U = W instanceof so || W instanceof ro ? W : W.bullets?.[0]?.get("sprite");
|
|
11683
11683
|
if (U !== void 0 && ci(U.uid, "selected") === !0) {
|
|
11684
11684
|
D += 1;
|
|
@@ -11795,18 +11795,18 @@ async function Gl(t) {
|
|
|
11795
11795
|
const s = n instanceof Se ? n.get("cursor") : void 0;
|
|
11796
11796
|
if (!Ju(s) && Mv(n.uid)) {
|
|
11797
11797
|
const r = e.target, l = wx(e, i);
|
|
11798
|
-
r.dataItem?.dataContext?.[xn] ? Ui({ chart: n, selectionSource: ke.SelectionByClick }) : (
|
|
11798
|
+
r.dataItem?.dataContext?.[xn] ? Ui({ chart: n, selectionSource: ke.SelectionByClick }) : (nt({
|
|
11799
11799
|
element: r,
|
|
11800
11800
|
selected: ci(r.uid, "selected") !== !0
|
|
11801
11801
|
// switching the bullet state,
|
|
11802
11802
|
}), l && n.series.each((c) => {
|
|
11803
11803
|
c instanceof me ? c.dataItems.forEach((d) => {
|
|
11804
11804
|
const u = d.bullets?.[0]?.get("sprite");
|
|
11805
|
-
u !== r &&
|
|
11805
|
+
u !== r && nt({ element: u, selected: !1 });
|
|
11806
11806
|
}) : c instanceof De ? c.columns.each((d) => {
|
|
11807
|
-
d !== r &&
|
|
11808
|
-
}) : c instanceof
|
|
11809
|
-
d !== r &&
|
|
11807
|
+
d !== r && nt({ element: d, selected: !1 });
|
|
11808
|
+
}) : c instanceof it && c.slices.each((d) => {
|
|
11809
|
+
d !== r && nt({ element: d, selected: !1 });
|
|
11810
11810
|
});
|
|
11811
11811
|
}), await Pr({
|
|
11812
11812
|
chart: n,
|
|
@@ -11867,7 +11867,7 @@ function Vv(t) {
|
|
|
11867
11867
|
f.top = f.bottom, f.bottom = b;
|
|
11868
11868
|
}
|
|
11869
11869
|
const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a && ci(s.uid, "selected") === !0;
|
|
11870
|
-
|
|
11870
|
+
nt({ element: s, selected: h });
|
|
11871
11871
|
}
|
|
11872
11872
|
}
|
|
11873
11873
|
});
|
|
@@ -11878,7 +11878,7 @@ function Wv(t) {
|
|
|
11878
11878
|
const n = o.bullets?.[0]?.get("sprite");
|
|
11879
11879
|
if (n) {
|
|
11880
11880
|
const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a && ci(n.uid, "selected") === !0;
|
|
11881
|
-
|
|
11881
|
+
nt({ element: n, selected: c });
|
|
11882
11882
|
}
|
|
11883
11883
|
});
|
|
11884
11884
|
}
|
|
@@ -11895,7 +11895,7 @@ function Ev(t) {
|
|
|
11895
11895
|
typeof g == "string" && (l = e.categoryToIndex(g));
|
|
11896
11896
|
}
|
|
11897
11897
|
const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, f = d && u || o && ci(s.uid, "selected") === !0;
|
|
11898
|
-
|
|
11898
|
+
nt({ element: s, selected: f });
|
|
11899
11899
|
}
|
|
11900
11900
|
});
|
|
11901
11901
|
}
|
|
@@ -12035,7 +12035,7 @@ function En(t, e) {
|
|
|
12035
12035
|
case t instanceof De:
|
|
12036
12036
|
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", Zv()) : t.columns.template.set("ariaLabel", Ni());
|
|
12037
12037
|
break;
|
|
12038
|
-
case t instanceof
|
|
12038
|
+
case t instanceof it:
|
|
12039
12039
|
t.slices.template.setAll({
|
|
12040
12040
|
role: L.aria.defaultChartItemRole,
|
|
12041
12041
|
ariaLabel: Vm(),
|
|
@@ -12047,16 +12047,21 @@ function En(t, e) {
|
|
|
12047
12047
|
}
|
|
12048
12048
|
}
|
|
12049
12049
|
function Xv(t) {
|
|
12050
|
-
const { element: e, numberOfItems: i, chartUid: a } = t;
|
|
12051
|
-
|
|
12052
|
-
const o = (i ?? 0) < L.focusableThreshold, n = a === void 0 || ef(a);
|
|
12053
|
-
e.setAll({ focusable: o && n });
|
|
12054
|
-
}
|
|
12050
|
+
const { element: e, numberOfItems: i, chartUid: a } = t, o = i < L.focusableThreshold, n = a === void 0 || ef(a);
|
|
12051
|
+
e.setAll({ focusable: o && n });
|
|
12055
12052
|
}
|
|
12056
12053
|
function of(t) {
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12054
|
+
let e = 0;
|
|
12055
|
+
const i = [];
|
|
12056
|
+
t.series.each((a) => {
|
|
12057
|
+
if (e += a.dataItems.length, a instanceof De)
|
|
12058
|
+
i.push(a.columns.template);
|
|
12059
|
+
else if (a instanceof me) {
|
|
12060
|
+
const o = ae(a.uid, "bulletTemplate");
|
|
12061
|
+
o && i.push(o);
|
|
12062
|
+
} else a instanceof it && i.push(a.slices.template);
|
|
12063
|
+
}), i.forEach((a) => {
|
|
12064
|
+
Xv({ element: a, numberOfItems: e, chartUid: t.uid });
|
|
12060
12065
|
});
|
|
12061
12066
|
}
|
|
12062
12067
|
function Yv(t) {
|
|
@@ -12416,7 +12421,7 @@ function oL(t) {
|
|
|
12416
12421
|
rotationChanged: o,
|
|
12417
12422
|
axisLabelsBehaviorChanged: n,
|
|
12418
12423
|
timeIntervalInfoWasReset: s
|
|
12419
|
-
} = t, r = z(a), l =
|
|
12424
|
+
} = t, r = z(a), l = tt(t.chartConfig), c = l ? 1 : 0, d = l ? 0 : 1, u = i?.[c]?.valueFormat, f = i?.[d]?.valueFormat, g = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), b = g === void 0 || o || u !== void 0 && Ul({
|
|
12420
12425
|
axis: g,
|
|
12421
12426
|
valueFormat: u,
|
|
12422
12427
|
chartType: r
|
|
@@ -12619,7 +12624,7 @@ function on(t, e) {
|
|
|
12619
12624
|
if (t !== void 0) {
|
|
12620
12625
|
const i = O(t.uid, "config");
|
|
12621
12626
|
if (i !== void 0) {
|
|
12622
|
-
const a = z(i?.series), o = ct(i) ?? ce.Side, n =
|
|
12627
|
+
const a = z(i?.series), o = ct(i) ?? ce.Side, n = tt(i), s = t.xAxes.getIndex(0), r = i.axes?.[0], l = i.axes?.[1], c = i.axes?.[2], d = t.yAxes.getIndex(0), u = t.xAxes.getIndex(1) ?? t.yAxes.getIndex(1);
|
|
12623
12628
|
[
|
|
12624
12629
|
{ axis: s, axisConfig: r },
|
|
12625
12630
|
{ axis: d, axisConfig: l },
|
|
@@ -13374,7 +13379,7 @@ function hf(t, e) {
|
|
|
13374
13379
|
return e ? `${Fs}_x_${t.uid}` : `${Fs}_y_${t.uid}`;
|
|
13375
13380
|
}
|
|
13376
13381
|
function As(t, e) {
|
|
13377
|
-
const i = O(t.chart?.uid ?? Number.NaN, "config"), a =
|
|
13382
|
+
const i = O(t.chart?.uid ?? Number.NaN, "config"), a = tt(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = bL(t);
|
|
13378
13383
|
let s = n;
|
|
13379
13384
|
switch (o) {
|
|
13380
13385
|
case "baseline":
|
|
@@ -13476,7 +13481,7 @@ function KL(t) {
|
|
|
13476
13481
|
}
|
|
13477
13482
|
function QL(t) {
|
|
13478
13483
|
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = zn(o), r = se({ childId: hf(e, s), parent: e, useChildId: !0 }) ?? ZL({ axis: e, isHorizontalAxis: s, isSecondaryYAxis: a });
|
|
13479
|
-
if (r instanceof
|
|
13484
|
+
if (r instanceof lt) {
|
|
13480
13485
|
const l = s ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel;
|
|
13481
13486
|
if (wt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && As(e, r), n) {
|
|
13482
13487
|
const c = {
|
|
@@ -13524,7 +13529,7 @@ function _r(t) {
|
|
|
13524
13529
|
guides: H,
|
|
13525
13530
|
tickSpacing: W,
|
|
13526
13531
|
dateBaseInterval: E
|
|
13527
|
-
} = r, { root: U } = e, _ = z(p.series), Y = ct(p), ie =
|
|
13532
|
+
} = r, { root: U } = e, _ = z(p.series), Y = ct(p), ie = tt(p), { chart: j } = e, ge = j ? O(j.uid, "config") : void 0, ne = j ? O(j.uid, "options") : void 0, Ne = ft(v), mt = Ct(Ne).find((Io) => Io.name === ge?.series?.[0]?.x), ha = Em(mt), ji = fn({ chartConfig: p, queryObject: v, options: ne }), ko = na(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, ja = e.get("renderer");
|
|
13528
13533
|
_a(e.uid, {
|
|
13529
13534
|
zeroGridLine: { displayZeroLine: $, strokeWidth: B?.width ?? L.lineWidth, visible: B !== void 0 }
|
|
13530
13535
|
}), sL({ axis: e, isLogarithmic: w, axisConfigIndex: l }), aL({
|
|
@@ -13570,7 +13575,7 @@ function _r(t) {
|
|
|
13570
13575
|
function JL(t) {
|
|
13571
13576
|
const { chart: e, errorStrings: i } = t, { root: a } = e, o = O(e.uid, "config");
|
|
13572
13577
|
if (o) {
|
|
13573
|
-
const { x: n } = o.series[0], s =
|
|
13578
|
+
const { x: n } = o.series[0], s = tt(o), { axes: r } = o, l = z(o.series);
|
|
13574
13579
|
Xi({ chartType: l, axesConfig: r, errorStrings: i });
|
|
13575
13580
|
const c = { root: a, x: n, chartType: l }, d = s ? r?.[1] : r?.[0], u = s ? r?.[0] : r?.[1], f = d?.valueFormat, g = u?.valueFormat;
|
|
13576
13581
|
if (f !== void 0 && g !== void 0 && (Bi({
|
|
@@ -13663,7 +13668,7 @@ function t0(t) {
|
|
|
13663
13668
|
utilsStrings: b,
|
|
13664
13669
|
errorStrings: p,
|
|
13665
13670
|
queryObject: S
|
|
13666
|
-
} = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: F } = i, v =
|
|
13671
|
+
} = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: F } = i, v = tt(i), T = z(i.series), I = O(e.uid, "isNonAggregatedChart"), k = e.xAxes.getIndex(0), D = e.yAxes.getIndex(0), w = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
|
|
13667
13672
|
Xi({ chartType: T, axesConfig: F, errorStrings: p });
|
|
13668
13673
|
const B = v ? 1 : 0, N = v ? 0 : 1, $ = F?.[B], M = F?.[N];
|
|
13669
13674
|
[
|
|
@@ -13773,7 +13778,7 @@ function o0(t) {
|
|
|
13773
13778
|
const n = ae(o.uid, "bulletTemplate");
|
|
13774
13779
|
n !== void 0 && !Ai(o) && n.set("cursorOverStyle", a);
|
|
13775
13780
|
break;
|
|
13776
|
-
case o instanceof
|
|
13781
|
+
case o instanceof it:
|
|
13777
13782
|
o.slices.template.setAll({ cursorOverStyle: a });
|
|
13778
13783
|
break;
|
|
13779
13784
|
}
|
|
@@ -13942,7 +13947,7 @@ function u0(t) {
|
|
|
13942
13947
|
const { series: e, externalDataLabelFormatter: i } = t;
|
|
13943
13948
|
e.bullets.push(() => {
|
|
13944
13949
|
const o = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Li.new(e.root, {
|
|
13945
|
-
sprite:
|
|
13950
|
+
sprite: lt.new(e.root, {
|
|
13946
13951
|
text: "{value}",
|
|
13947
13952
|
populateText: !0,
|
|
13948
13953
|
centerY: Ae,
|
|
@@ -14199,7 +14204,7 @@ function x0(t) {
|
|
|
14199
14204
|
childId: `${Fs}_y_${e.uid}`,
|
|
14200
14205
|
parent: e
|
|
14201
14206
|
});
|
|
14202
|
-
i instanceof
|
|
14207
|
+
i instanceof lt && i.set("dx", 0);
|
|
14203
14208
|
}
|
|
14204
14209
|
}
|
|
14205
14210
|
function v0(t, e) {
|
|
@@ -14289,7 +14294,7 @@ function kf(t) {
|
|
|
14289
14294
|
function If(t) {
|
|
14290
14295
|
const { chart: e, legend: i, legendContainer: a } = t, { root: o } = e, n = O(e.uid, "config"), s = L.heatChart.legend, r = n?.legend?.position ?? s.position;
|
|
14291
14296
|
let l, c, d;
|
|
14292
|
-
const u = r === X.Left || r === X.Top, f = se({ childId: Xt, parent: a }), g = n?.legend ? n.legend.visible ?? !0 : !1, h = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, b = f instanceof
|
|
14297
|
+
const u = r === X.Left || r === X.Top, f = se({ childId: Xt, parent: a }), g = n?.legend ? n.legend.visible ?? !0 : !1, h = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, b = f instanceof lt && g && h ? f.height() > 0 ? f.height() : s.titleHeight : 0, p = r === X.Left || r === X.Right;
|
|
14293
14298
|
switch (i.setAll({
|
|
14294
14299
|
orientation: p ? "vertical" : "horizontal",
|
|
14295
14300
|
width: Ae
|
|
@@ -14385,11 +14390,11 @@ function Rf(t) {
|
|
|
14385
14390
|
{ color: x, opacity: F, offset: 1 }
|
|
14386
14391
|
], T = (k, D, w) => {
|
|
14387
14392
|
const B = Je(`heatLegendLabel${w}`, e.uid), N = e.markerContainer.children.values.find(
|
|
14388
|
-
(H) => H instanceof
|
|
14393
|
+
(H) => H instanceof lt && H.get("id") === B
|
|
14389
14394
|
);
|
|
14390
14395
|
let $ = N && !N.isDisposed() ? N : void 0;
|
|
14391
14396
|
const M = e.startLabel;
|
|
14392
|
-
if ($ || ($ =
|
|
14397
|
+
if ($ || ($ = lt.new(e.root, {
|
|
14393
14398
|
id: B,
|
|
14394
14399
|
position: "absolute",
|
|
14395
14400
|
isMeasured: !1,
|
|
@@ -14552,7 +14557,7 @@ function Os(t) {
|
|
|
14552
14557
|
if (s === X.Left || s === X.Right)
|
|
14553
14558
|
e.set("height", Ae), a.set("height", Ae), Bf({ legendContainer: a, chart: i });
|
|
14554
14559
|
else {
|
|
14555
|
-
const r = se({ childId: Xt, parent: a }), l = o?.legend ? o.legend.visible ?? !0 : !1, c = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = r instanceof
|
|
14560
|
+
const r = se({ childId: Xt, parent: a }), l = o?.legend ? o.legend.visible ?? !0 : !1, c = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = r instanceof lt && l && c ? r.height() > 0 ? r.height() : n.titleHeight + n.titlePadding : 0, u = s === X.Top ? n.topHeight : n.bottomHeight;
|
|
14556
14561
|
e.set("height", u), a.set("height", u + d + 20);
|
|
14557
14562
|
}
|
|
14558
14563
|
}
|
|
@@ -14561,7 +14566,7 @@ function Bf(t) {
|
|
|
14561
14566
|
if (n !== X.Left && n !== X.Right)
|
|
14562
14567
|
return;
|
|
14563
14568
|
const s = se({ childId: Xt, parent: e }), r = a?.legend?.title ? a.legend.title.visible ?? !0 : !1;
|
|
14564
|
-
if (s instanceof
|
|
14569
|
+
if (s instanceof lt && r) {
|
|
14565
14570
|
const l = () => {
|
|
14566
14571
|
const c = s.width(), d = o.width, u = Math.max(c + o.legendPadding * 2, d);
|
|
14567
14572
|
e.set("width", u);
|
|
@@ -14884,7 +14889,7 @@ function V0(t) {
|
|
|
14884
14889
|
}
|
|
14885
14890
|
case y.HeatSeries: {
|
|
14886
14891
|
const c = e.series.getIndex(0);
|
|
14887
|
-
if (c instanceof De && oi(a) && !
|
|
14892
|
+
if (c instanceof De && oi(a) && !at(n)) {
|
|
14888
14893
|
const d = Af({
|
|
14889
14894
|
queryObject: n,
|
|
14890
14895
|
chartConfig: a,
|
|
@@ -14912,7 +14917,7 @@ function nc(t) {
|
|
|
14912
14917
|
}
|
|
14913
14918
|
function sc(t) {
|
|
14914
14919
|
let e = 0;
|
|
14915
|
-
if (t instanceof
|
|
14920
|
+
if (t instanceof lt && t.get("visible") !== !1 && t.get("forceHidden") !== !0) {
|
|
14916
14921
|
const i = t.width();
|
|
14917
14922
|
Number.isFinite(i) && (e = i);
|
|
14918
14923
|
}
|
|
@@ -14935,7 +14940,7 @@ function rc(t) {
|
|
|
14935
14940
|
function Ki(t, e) {
|
|
14936
14941
|
const { root: i } = t, a = se({ childId: pt, parent: t });
|
|
14937
14942
|
if (a !== void 0) {
|
|
14938
|
-
const o = O(t.uid, "config"), n = O(t.uid, "rtl"), s =
|
|
14943
|
+
const o = O(t.uid, "config"), n = O(t.uid, "rtl"), s = tt(o), r = z(o?.series), l = ct(o), c = o?.series?.some((mt) => mt.dataLabels && mt.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, f = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, b = se({ childId: Hn, parent: t }), p = b instanceof fi && d ? b.height() : 0, S = se({ childId: Hr, parent: t }), C = S instanceof fi && u ? S.height() : 0, x = se({ childId: _n, parent: t }), F = x instanceof fi && f ? x.height() : 0, v = se({ childId: Xt, parent: a }), T = v instanceof lt && g && h ? v?.height() : 0, I = o?.legend?.position ?? L.legendProperties.position;
|
|
14939
14944
|
let k;
|
|
14940
14945
|
const D = e.get("verticalScrollbar");
|
|
14941
14946
|
let w = Fe, B = Fe, N = i.verticalLayout, $ = Fe, M = Fe, H = Fe, W = Fe, E = 0, U;
|
|
@@ -15037,7 +15042,7 @@ function E0(t, e) {
|
|
|
15037
15042
|
const n = O(t.uid, "config");
|
|
15038
15043
|
if (z(n?.series) !== y.HeatSeries) {
|
|
15039
15044
|
const r = a.dataItem?.component;
|
|
15040
|
-
if (r instanceof
|
|
15045
|
+
if (r instanceof it) {
|
|
15041
15046
|
const l = r.get("categoryField") ?? "", c = a.dataItem, d = c?.get("category"), u = c?.dataContext;
|
|
15042
15047
|
o = d ?? (u?.[l] ?? i)?.toString();
|
|
15043
15048
|
} else r instanceof Oa && (o = r.get("name"));
|
|
@@ -15073,7 +15078,7 @@ function _0(t) {
|
|
|
15073
15078
|
function G0(t) {
|
|
15074
15079
|
let e = "";
|
|
15075
15080
|
if (t instanceof Se) {
|
|
15076
|
-
const i = O(t.uid, "config"), a =
|
|
15081
|
+
const i = O(t.uid, "config"), a = tt(i), o = a ? m.Rotated : m.NonRotated, n = ct(i);
|
|
15077
15082
|
let s = m.SideBySide;
|
|
15078
15083
|
n === ce.Stacked ? s = m.Stacked : n === ce.Stacked100 && (s = m.Stacked100);
|
|
15079
15084
|
const r = O(t.uid, "rtl") ? m.RTL : m.LTR;
|
|
@@ -15626,7 +15631,7 @@ function dF(t) {
|
|
|
15626
15631
|
});
|
|
15627
15632
|
}
|
|
15628
15633
|
function uF(t) {
|
|
15629
|
-
const { chartConfig: e, seriesConfig: i } = t, a =
|
|
15634
|
+
const { chartConfig: e, seriesConfig: i } = t, a = tt(e), o = e.showOutliers, n = e.standardizeValues, s = bt(e), { y: r } = i, l = Ys(e), c = q(l.series), d = s ? void 0 : i?.query?.where, u = {
|
|
15630
15635
|
y: c === V.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
|
|
15631
15636
|
chartSubType: c,
|
|
15632
15637
|
splitBy: d,
|
|
@@ -15994,7 +15999,7 @@ function ss(t) {
|
|
|
15994
15999
|
return u;
|
|
15995
16000
|
}
|
|
15996
16001
|
function Xn(t) {
|
|
15997
|
-
const { chartConfig: e, seriesConfig: i, key: a } = t, o =
|
|
16002
|
+
const { chartConfig: e, seriesConfig: i, key: a } = t, o = tt(e), n = e.showOutliers, s = e.standardizeValues, r = bt(e), l = q(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
|
|
15998
16003
|
y: l === V.BoxPlotMultiFieldsAndCategory && typeof d == "string" ? d : void 0,
|
|
15999
16004
|
chartSubType: l,
|
|
16000
16005
|
splitBy: u,
|
|
@@ -16036,7 +16041,7 @@ function Yf(t) {
|
|
|
16036
16041
|
let o, n;
|
|
16037
16042
|
const s = O(e.uid, "config");
|
|
16038
16043
|
if (s) {
|
|
16039
|
-
const r =
|
|
16044
|
+
const r = tt(s), l = bt(s), c = r ? e.yAxes.getIndex(0)?.get("renderer") : e.xAxes.getIndex(0)?.get("renderer"), d = c?.get("cellStartLocation"), u = c?.get("cellEndLocation");
|
|
16040
16045
|
if (d && u) {
|
|
16041
16046
|
const f = d / (l ? 1 : s.series.length);
|
|
16042
16047
|
o = d + i / a * (u - d) + f, n = d + (i + 1) / a * (u - d) - f;
|
|
@@ -16070,7 +16075,7 @@ function RF(t) {
|
|
|
16070
16075
|
function $F(t) {
|
|
16071
16076
|
const e = O(t.uid, "config");
|
|
16072
16077
|
if (e) {
|
|
16073
|
-
const i = q(e.series), a = e.series.length, n =
|
|
16078
|
+
const i = q(e.series), a = e.series.length, n = tt(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
|
|
16074
16079
|
if (s && r) {
|
|
16075
16080
|
const l = t.series.values.filter((c) => c instanceof Gi);
|
|
16076
16081
|
l.forEach((c, d) => {
|
|
@@ -16444,7 +16449,7 @@ function YF(t, e) {
|
|
|
16444
16449
|
function UF(t) {
|
|
16445
16450
|
const e = t.dataItem?.component;
|
|
16446
16451
|
let i;
|
|
16447
|
-
if (e instanceof
|
|
16452
|
+
if (e instanceof it) {
|
|
16448
16453
|
const a = O(e.chart?.uid ?? Number.NaN, "config");
|
|
16449
16454
|
if (a?.series[0].type === y.PieSeries) {
|
|
16450
16455
|
const o = a.series[0].dataLabelsInside ?? L.pieChart.dataLabelsInside, n = Z(a?.series[0].dataLabels?.content?.color).color, s = e.chart?.get("background")?.get("fill") ?? Z(L.backgroundColor).color, l = O(e.chart?.uid ?? Number.NaN, "options")?.autoInverseDataLabelTextColor ?? G.options.autoInverseDataLabelTextColor, d = t.dataItem?.dataContext?.[G.pieChart.technicalFieldSliceId], f = e.slices.values.find(
|
|
@@ -16611,7 +16616,7 @@ function iA(t, e) {
|
|
|
16611
16616
|
});
|
|
16612
16617
|
}
|
|
16613
16618
|
function aA(t) {
|
|
16614
|
-
const { root: e, seriesConfig: i, options: a, chart: o, chartConfig: n, queryObject: s, errorStrings: r } = t, { id: l, name: c, x: d, y: u } = i, f = q([i]), g =
|
|
16619
|
+
const { root: e, seriesConfig: i, options: a, chart: o, chartConfig: n, queryObject: s, errorStrings: r } = t, { id: l, name: c, x: d, y: u } = i, f = q([i]), g = it.new(e, {
|
|
16615
16620
|
id: l,
|
|
16616
16621
|
name: c,
|
|
16617
16622
|
categoryField: f === V.PieFromFields ? ti : d,
|
|
@@ -16695,7 +16700,7 @@ function jf(t, e) {
|
|
|
16695
16700
|
t.set("innerRadius", Ze(p));
|
|
16696
16701
|
}
|
|
16697
16702
|
t.markDirty(), n?.markDirty(), t.root.resize(), sA(t);
|
|
16698
|
-
})), n instanceof
|
|
16703
|
+
})), n instanceof it && n.labels.template.setAll({
|
|
16699
16704
|
maxWidth: rA({
|
|
16700
16705
|
seriesConfig: s?.series[0],
|
|
16701
16706
|
chart: t,
|
|
@@ -16985,7 +16990,7 @@ function Yn(t) {
|
|
|
16985
16990
|
errorStrings: C,
|
|
16986
16991
|
groupOfSlicesUpdateNeeded: x,
|
|
16987
16992
|
labelUpdateNeeded: F
|
|
16988
|
-
} = t, { chartRenderer: v } = i, { root: T } = e, { series: I } = i, k = z(i.series), D = q(i.series), w = e.series.values, B = Hi(i), N = i.series.length, $ = /* @__PURE__ */ new Map(), M = Ct(p, a?.popupTemplateFieldInfosEnabled), H = ft(p), W =
|
|
16993
|
+
} = t, { chartRenderer: v } = i, { root: T } = e, { series: I } = i, k = z(i.series), D = q(i.series), w = e.series.values, B = Hi(i), N = i.series.length, $ = /* @__PURE__ */ new Map(), M = Ct(p, a?.popupTemplateFieldInfosEnabled), H = ft(p), W = at(H) ? void 0 : Gs(v, H.renderer), E = l || s || r || c || u, U = {
|
|
16989
16994
|
root: T,
|
|
16990
16995
|
chartConfig: i,
|
|
16991
16996
|
queryObject: p,
|
|
@@ -17055,7 +17060,7 @@ function Yn(t) {
|
|
|
17055
17060
|
break;
|
|
17056
17061
|
}
|
|
17057
17062
|
case ge === y.PieSeries: {
|
|
17058
|
-
j instanceof
|
|
17063
|
+
j instanceof it && e instanceof Kt && Qn(o) && oA({
|
|
17059
17064
|
...U,
|
|
17060
17065
|
series: j,
|
|
17061
17066
|
seriesConfig: ie,
|
|
@@ -17109,7 +17114,7 @@ function Yn(t) {
|
|
|
17109
17114
|
}
|
|
17110
17115
|
E && k && j && nv({ chartType: k, series: j, tooltipFormatter: a?.tooltipFormatter });
|
|
17111
17116
|
}
|
|
17112
|
-
|
|
17117
|
+
Nv({
|
|
17113
17118
|
chart: e,
|
|
17114
17119
|
options: a,
|
|
17115
17120
|
dataWasUpdated: s,
|
|
@@ -17124,7 +17129,7 @@ function fA(t) {
|
|
|
17124
17129
|
const i = e.bullets?.[0];
|
|
17125
17130
|
if (i) {
|
|
17126
17131
|
const a = i.get("sprite"), o = ci(a.uid, "selected") !== !0;
|
|
17127
|
-
|
|
17132
|
+
nt({ element: a, selected: o });
|
|
17128
17133
|
}
|
|
17129
17134
|
});
|
|
17130
17135
|
}
|
|
@@ -17132,14 +17137,14 @@ function mA(t) {
|
|
|
17132
17137
|
t.columns.each((e) => {
|
|
17133
17138
|
if (!e.dataItem?.dataContext?.[xn]) {
|
|
17134
17139
|
const i = ci(e.uid, "selected") !== !0;
|
|
17135
|
-
|
|
17140
|
+
nt({ element: e, selected: i });
|
|
17136
17141
|
}
|
|
17137
17142
|
});
|
|
17138
17143
|
}
|
|
17139
17144
|
function gA(t) {
|
|
17140
17145
|
t.slices.each((e) => {
|
|
17141
17146
|
const i = ci(e.uid, "selected") !== !0;
|
|
17142
|
-
|
|
17147
|
+
nt({ element: e, selected: i });
|
|
17143
17148
|
});
|
|
17144
17149
|
}
|
|
17145
17150
|
async function hA(t) {
|
|
@@ -17154,7 +17159,7 @@ async function hA(t) {
|
|
|
17154
17159
|
case n instanceof me:
|
|
17155
17160
|
fA(n);
|
|
17156
17161
|
break;
|
|
17157
|
-
case n instanceof
|
|
17162
|
+
case n instanceof it:
|
|
17158
17163
|
gA(n);
|
|
17159
17164
|
break;
|
|
17160
17165
|
}
|
|
@@ -17240,7 +17245,7 @@ function Ds(t) {
|
|
|
17240
17245
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17241
17246
|
if ($r(e)) {
|
|
17242
17247
|
const o = O(e.uid, "actionMode"), n = i ?? o ?? L.actionMode;
|
|
17243
|
-
We(e.uid, { actionMode: n }), n === K.None && Ui({ chart: e, selectionSource: ke.ClearSelection }),
|
|
17248
|
+
We(e.uid, { actionMode: n }), n === K.None && Ui({ chart: e, selectionSource: ke.ClearSelection }), n0({ chart: e, actionMode: n, cursorRange: a });
|
|
17244
17249
|
}
|
|
17245
17250
|
}
|
|
17246
17251
|
function CA(t) {
|
|
@@ -17418,7 +17423,7 @@ function FA(t) {
|
|
|
17418
17423
|
if (e.isDisposed() || !_c(v, o))
|
|
17419
17424
|
throw new di(eo.ChartDisposed);
|
|
17420
17425
|
v ??= o, We(e.uid, { queryObject: h });
|
|
17421
|
-
const T = q(o.series), I =
|
|
17426
|
+
const T = q(o.series), I = tt(o);
|
|
17422
17427
|
We(e.uid, {
|
|
17423
17428
|
config: Ie(o),
|
|
17424
17429
|
options: n,
|
|
@@ -17540,7 +17545,7 @@ function FA(t) {
|
|
|
17540
17545
|
};
|
|
17541
17546
|
Io ? Si(pa) : pa();
|
|
17542
17547
|
}
|
|
17543
|
-
Ds({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Tu({ chart: e, chartConfig: o, delayCallback: s });
|
|
17548
|
+
Ds({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), of(e), Tu({ chart: e, chartConfig: o, delayCallback: s });
|
|
17544
17549
|
}
|
|
17545
17550
|
function AA(t) {
|
|
17546
17551
|
const { chart: e, data: i, chartConfig: a, pieSlicesSymbols: o, options: n, queryObject: s, utilsStrings: r, errorStrings: l } = t;
|
|
@@ -17615,7 +17620,7 @@ function kA(t) {
|
|
|
17615
17620
|
SA({ chart: C, chartContainer: e, chartLocale: g });
|
|
17616
17621
|
let x;
|
|
17617
17622
|
if (!C.isDisposed()) {
|
|
17618
|
-
const v = q(i.series), T =
|
|
17623
|
+
const v = q(i.series), T = tt(i);
|
|
17619
17624
|
We(C.uid, {
|
|
17620
17625
|
options: a,
|
|
17621
17626
|
filterBySelection: a?.filterBySelection,
|
|
@@ -17672,7 +17677,7 @@ function kA(t) {
|
|
|
17672
17677
|
showEmptySeries: a?.showEmptySeries ?? a?.hideEmptySeries === !1,
|
|
17673
17678
|
seriesConfig: i.series,
|
|
17674
17679
|
queryObject: c
|
|
17675
|
-
})), Ds({ chart: C, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), Pv(C), Tu({ chart: C, chartConfig: i, delayCallback: !0 });
|
|
17680
|
+
})), Ds({ chart: C, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), of(C), Pv(C), Tu({ chart: C, chartConfig: i, delayCallback: !0 });
|
|
17676
17681
|
}
|
|
17677
17682
|
function F() {
|
|
17678
17683
|
yL(C);
|
|
@@ -18238,10 +18243,10 @@ class iT extends tm {
|
|
|
18238
18243
|
],
|
|
18239
18244
|
task: async ([e, i, a, o, n, s, r, l], { signal: c }) => {
|
|
18240
18245
|
let d;
|
|
18241
|
-
if (this.layer || e)
|
|
18246
|
+
if (this.layer || e || l?.layer)
|
|
18242
18247
|
d = await Jm({
|
|
18243
18248
|
iLayer: e,
|
|
18244
|
-
layer: i,
|
|
18249
|
+
layer: i ?? l?.layer,
|
|
18245
18250
|
view: a,
|
|
18246
18251
|
filterByViewExtent: o || n,
|
|
18247
18252
|
abortSignal: c
|
|
@@ -18252,7 +18257,7 @@ class iT extends tm {
|
|
|
18252
18257
|
portalItemId: s
|
|
18253
18258
|
})) {
|
|
18254
18259
|
const g = await Jf.fromPortalItem({ portalItem: new em({ id: s }) });
|
|
18255
|
-
await al(g, c), (tg(g) ||
|
|
18260
|
+
await al(g, c), (tg(g) || at(g)) && (await this._createModelFromLayer(g, r), d = g);
|
|
18256
18261
|
}
|
|
18257
18262
|
} else
|
|
18258
18263
|
await l?.update(), d = l?.layer;
|
|
@@ -18269,7 +18274,7 @@ class iT extends tm {
|
|
|
18269
18274
|
args: () => [this.loadedQueryObject, this.view, this.filterByExtent || this.filterByViewExtent],
|
|
18270
18275
|
task: async ([e, i, a], { signal: o }) => {
|
|
18271
18276
|
let n;
|
|
18272
|
-
return ya(e) ? (n = e, await Vt.whenOnce(() => !e.updating, { signal: o })) :
|
|
18277
|
+
return ya(e) ? (n = e, await Vt.whenOnce(() => !e.updating, { signal: o })) : at(e) && (n = await i?.whenLayerView(e)), n && await Vt.whenOnce(() => !n.updating), a ? this._watchHandlersController.setViewExtentChangeWatchHandler(a, n) : (this._watchHandlersController.removeViewExtentChangeWatchHandlers(), await this.refresh({
|
|
18273
18278
|
updateData: !0,
|
|
18274
18279
|
resetAxesBounds: !0
|
|
18275
18280
|
})), n;
|
|
@@ -18726,7 +18731,7 @@ class iT extends tm {
|
|
|
18726
18731
|
this.infoModalMessage = void 0;
|
|
18727
18732
|
}
|
|
18728
18733
|
async _generateHeatChartClassBreaks(e) {
|
|
18729
|
-
if (!
|
|
18734
|
+
if (!at(this.loadedLayer) && ml(this._model) && e?.data && "dataItems" in e.data) {
|
|
18730
18735
|
const i = await xh({
|
|
18731
18736
|
data: e.data,
|
|
18732
18737
|
classificationMethod: this._model.classificationMethod,
|
|
@@ -18774,7 +18779,7 @@ class iT extends tm {
|
|
|
18774
18779
|
});
|
|
18775
18780
|
}
|
|
18776
18781
|
_handleExternalSelection(e) {
|
|
18777
|
-
if (!
|
|
18782
|
+
if (!at(this.loadedLayer)) {
|
|
18778
18783
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.loadedLayer && o?.layer?.id === this.loadedLayer.id;
|
|
18779
18784
|
(this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && !Mt(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
18780
18785
|
selectionOIDs: a.selectionOIDs,
|
|
@@ -18819,7 +18824,7 @@ class iT extends tm {
|
|
|
18819
18824
|
this.notify(i?.invalidConfig, void 0);
|
|
18820
18825
|
else if (e.customErrors.length > 0 && !Zi(this.config)) {
|
|
18821
18826
|
const a = e.customErrors.find((o) => o.keyword === eo.LayerFieldsNotFound);
|
|
18822
|
-
if (
|
|
18827
|
+
if (at(this.loadedLayer) && a) {
|
|
18823
18828
|
const o = Qi(i?.invalidConfigForRaster ?? "", {
|
|
18824
18829
|
errorMessage: a.message
|
|
18825
18830
|
});
|
|
@@ -18902,11 +18907,11 @@ class iT extends tm {
|
|
|
18902
18907
|
}
|
|
18903
18908
|
_getSelectionFromSelectionManager() {
|
|
18904
18909
|
let e;
|
|
18905
|
-
return (this.view || this.selectionManager) && this.loadedLayer && !
|
|
18910
|
+
return (this.view || this.selectionManager) && this.loadedLayer && !at(this.loadedLayer) && (e = (this.selectionManager ?? this.view?.selectionManager)?.getSelection(this.loadedLayer)), e;
|
|
18906
18911
|
}
|
|
18907
18912
|
_setSelectionInSelectionManager() {
|
|
18908
18913
|
const e = this.selectionManager ?? this.view?.selectionManager;
|
|
18909
|
-
if (this.loadedLayer && e && !
|
|
18914
|
+
if (this.loadedLayer && e && !at(this.loadedLayer) && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Ka.Enabled)) {
|
|
18910
18915
|
let i;
|
|
18911
18916
|
const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === ke.ClearSelection, o = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
18912
18917
|
a ? i = [] : o && this.selectionData && (i = this.selectionData.selectionOIDs), i && e.replace(this.loadedLayer, i);
|
|
@@ -19024,7 +19029,7 @@ class iT extends tm {
|
|
|
19024
19029
|
cursorRange: this.cursorRange,
|
|
19025
19030
|
selectionTheme: this.selectionTheme,
|
|
19026
19031
|
setTimeBinningInfoWhenNotProvided: this.setTimeBinningInfoWhenNotProvided,
|
|
19027
|
-
returnSelectionOIDs:
|
|
19032
|
+
returnSelectionOIDs: at(this.loadedLayer) ? !1 : this.returnSelectionOIDs,
|
|
19028
19033
|
returnSelectionIndexes: this.returnSelectionIndexes,
|
|
19029
19034
|
returnFeaturesExtent: this.returnFeaturesExtent,
|
|
19030
19035
|
hideEmptySeries: this.hideEmptySeries,
|
|
@@ -19245,7 +19250,7 @@ class iT extends tm {
|
|
|
19245
19250
|
}), this._processedChartData = Ie(f.data), !d.valid)
|
|
19246
19251
|
this._processInvalidConfigStatus(d, l);
|
|
19247
19252
|
else {
|
|
19248
|
-
if ((r || C) && (this._notifyDataProcessComplete(f.data), this._notifyDataFetchComplete(f.data)), !this.filterBySelection && !
|
|
19253
|
+
if ((r || C) && (this._notifyDataProcessComplete(f.data), this._notifyDataFetchComplete(f.data)), !this.filterBySelection && !at(i)) {
|
|
19249
19254
|
const M = this._lastRenderedProps?.options?.selectionData, H = this.selectionData?.selectionSource !== ke.SelectionByClick && this.selectionData?.selectionSource !== ke.SelectionByRange && !Mt(M?.selectionOIDs, this.selectionData?.selectionOIDs), W = await xg({
|
|
19250
19255
|
chartConfig: l,
|
|
19251
19256
|
chartData: this._processedChartData,
|