@arcgis/charts-components 6.0.0-next.6 → 6.0.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{4YPBPYT2.js → 22TQSTSU.js} +1 -1
- package/dist/cdn/2IZ27E73.js +2 -0
- package/dist/cdn/36YS6SWU.js +2 -0
- package/dist/cdn/3JXXDTM7.js +2 -0
- package/dist/cdn/3RUCVEOG.js +2 -0
- package/dist/cdn/3UNCSMIH.js +4 -0
- package/dist/cdn/3XWKTCG2.js +2 -0
- package/dist/cdn/{SP2OUJAE.js → 4DQDAM44.js} +2 -2
- package/dist/cdn/4F5HIOT7.js +2 -0
- package/dist/cdn/4W5FC5UJ.js +2 -0
- package/dist/cdn/6Y63J2D4.js +2 -0
- package/dist/cdn/7A6ZC3BY.js +2 -0
- package/dist/cdn/7B26LXAO.js +2 -0
- package/dist/cdn/7BMO4QQG.js +2 -0
- package/dist/cdn/7SKWCJOI.js +2 -0
- package/dist/cdn/ABHDKVCT.js +2 -0
- package/dist/cdn/AHDEGHQC.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → AS2IRRXE.js} +1 -1
- package/dist/cdn/B73SVOUA.js +2 -0
- package/dist/cdn/{WWMDDOKW.js → BILTOAXM.js} +1 -1
- package/dist/cdn/CX5HMAVB.js +2 -0
- package/dist/cdn/{EKPT25EF.js → DIOXIMBZ.js} +1 -1
- package/dist/cdn/DIVS65HK.js +2 -0
- package/dist/cdn/EJE4D6K4.js +2 -0
- package/dist/cdn/EMJV6FFC.js +2 -0
- package/dist/cdn/EOAW5SJZ.js +2 -0
- package/dist/cdn/EU5JSGVI.js +2 -0
- package/dist/cdn/EVKJUQYC.js +2 -0
- package/dist/cdn/GIUYJ4MX.js +2 -0
- package/dist/cdn/{J6KIUQWW.js → H7EH6MJN.js} +1 -1
- package/dist/cdn/HKD2DTMQ.js +2 -0
- package/dist/cdn/HWJULHS4.js +2 -0
- package/dist/cdn/IMHL6OT4.js +2 -0
- package/dist/cdn/IMJ4ZP54.js +2 -0
- package/dist/cdn/IPRY6SMT.js +2 -0
- package/dist/cdn/IUWQ2XAM.js +2 -0
- package/dist/cdn/IZ6QMJ5N.js +2 -0
- package/dist/cdn/JGKOHDSF.js +2 -0
- package/dist/cdn/JQH63THU.js +2 -0
- package/dist/cdn/{563H5HEV.js → JYLCRNMW.js} +1 -1
- package/dist/cdn/K43QNXLK.js +2 -0
- package/dist/cdn/KE6MY5WL.js +2 -0
- package/dist/cdn/KHC45XNZ.js +2 -0
- package/dist/cdn/KXW4QAYP.js +2 -0
- package/dist/cdn/{OFJLWSKN.js → LNJSZCPC.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/{U7PBBWGS.js → MGKEPCZT.js} +1 -1
- package/dist/cdn/MGX5TD4I.js +2 -0
- package/dist/cdn/MIRDAGB6.js +2 -0
- package/dist/cdn/N337OTT2.js +2 -0
- package/dist/cdn/NCFIBVSV.js +2 -0
- package/dist/cdn/NNKLFRZL.js +2 -0
- package/dist/cdn/NSF637D3.js +2 -0
- package/dist/cdn/{VSKK65CP.js → NUTUTE7W.js} +1 -1
- package/dist/cdn/O3FVBAXP.js +2 -0
- package/dist/cdn/O53REUWO.js +2 -0
- package/dist/cdn/OPSWLJ6M.js +2 -0
- package/dist/cdn/OTIAHPXY.js +2 -0
- package/dist/cdn/PYK3S2WM.js +2 -0
- package/dist/cdn/PYMEPWV2.js +2 -0
- package/dist/cdn/QE4HAH4J.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/SI7W275P.js +2 -0
- package/dist/cdn/SVF2UENW.js +4 -0
- package/dist/cdn/SY4PA5GZ.js +2 -0
- package/dist/cdn/TCUFKLTS.js +2 -0
- package/dist/cdn/TMVELVZ4.js +2 -0
- package/dist/cdn/TVAJJTLH.js +2 -0
- package/dist/cdn/TVBULK7L.js +2 -0
- package/dist/cdn/TYVYXA4I.js +2 -0
- package/dist/cdn/TZJX3ZDX.js +2 -0
- package/dist/cdn/{CIZUS2EL.js → U6AJIZZU.js} +1 -1
- package/dist/cdn/U75UR6WF.js +2 -0
- package/dist/cdn/{5BMOVHD7.js → VJBVJ2GM.js} +1 -1
- package/dist/cdn/VKLX5GBO.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VL3NDPH3.js +2 -0
- package/dist/cdn/VUNCUXZR.js +2 -0
- package/dist/cdn/VVB5JOCB.js +2 -0
- package/dist/cdn/WAW5LS5U.js +2 -0
- package/dist/cdn/XWGJFR6Q.js +2 -0
- package/dist/cdn/YBFPKUEE.js +2 -0
- package/dist/cdn/YBPCOPML.js +2 -0
- package/dist/cdn/YGYZNUDM.js +2 -0
- package/dist/cdn/YLJUSUEV.js +2 -0
- package/dist/cdn/{6T5V66TB.js → YSF3KSMB.js} +24 -24
- package/dist/cdn/Z3UCAFDO.js +2 -0
- package/dist/cdn/ZHKGWF55.js +2 -0
- package/dist/cdn/{5S3M57QS.js → ZXPGBKDC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +5 -7
- package/dist/chunks/box-plot-data.js +74 -76
- package/dist/chunks/box-plot-model.js +40 -41
- package/dist/chunks/chart-model.js +31 -33
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +65 -65
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +6 -6
- package/dist/chunks/index.js +4943 -3839
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +18 -19
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +21 -23
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +13 -15
- package/dist/chunks/serial-chart-data.js +226 -229
- package/dist/chunks/serial-chart-model.js +66 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +24 -25
- package/dist/components/arcgis-chart/customElement.d.ts +11 -4
- package/dist/components/arcgis-chart/customElement.js +6240 -6069
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +15 -16
- package/dist/components/arcgis-charts-info-modal/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 +396 -398
- package/dist/loader.js +1 -1
- package/dist/utils/chart-config/converter/index.js +73 -75
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/2CUBWUT6.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2NTEIXDC.js +0 -2
- package/dist/cdn/3BLCT5B3.js +0 -2
- package/dist/cdn/3KVXZ4Q7.js +0 -2
- package/dist/cdn/3R5OPVW7.js +0 -2
- package/dist/cdn/3TPIZXLQ.js +0 -2
- package/dist/cdn/5BFSYCQN.js +0 -2
- package/dist/cdn/5ORGE6FR.js +0 -2
- package/dist/cdn/6IODKSGJ.js +0 -2
- package/dist/cdn/6KYES23V.js +0 -2
- package/dist/cdn/6MQWBIAC.js +0 -2
- package/dist/cdn/6UY62IZQ.js +0 -2
- package/dist/cdn/7IGL5XAY.js +0 -2
- package/dist/cdn/7ZM3ISL6.js +0 -2
- package/dist/cdn/A5YDIX7U.js +0 -2
- package/dist/cdn/AGKAJN2K.js +0 -2
- package/dist/cdn/ASCE4YBS.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BAYPYA6T.js +0 -2
- package/dist/cdn/BENXDFDK.js +0 -2
- package/dist/cdn/BG2GEL6V.js +0 -2
- package/dist/cdn/BZ4HWKAF.js +0 -2
- package/dist/cdn/DLMKQ6I2.js +0 -2
- package/dist/cdn/DOC3MQJC.js +0 -2
- package/dist/cdn/ECONXQCG.js +0 -2
- package/dist/cdn/EJ2FAXEX.js +0 -2
- package/dist/cdn/EOAQOIWV.js +0 -2
- package/dist/cdn/FHTWTEA4.js +0 -2
- package/dist/cdn/FN5XFRQS.js +0 -2
- package/dist/cdn/G2DJJIGO.js +0 -2
- package/dist/cdn/HBFEI43W.js +0 -2
- package/dist/cdn/HFQGFEEC.js +0 -2
- package/dist/cdn/HNVWY4XA.js +0 -2
- package/dist/cdn/HRGA4VCV.js +0 -2
- package/dist/cdn/HSSNNVVK.js +0 -2
- package/dist/cdn/I64VVDLI.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/IUM6GDBZ.js +0 -2
- package/dist/cdn/JDN6OXCC.js +0 -2
- package/dist/cdn/KHHQ3O5Q.js +0 -2
- package/dist/cdn/LIHIBT2F.js +0 -3
- package/dist/cdn/LLGBFUAJ.js +0 -2
- package/dist/cdn/LRAKZMK6.js +0 -2
- package/dist/cdn/LV6XVOC5.js +0 -2
- package/dist/cdn/M5M3RE6W.js +0 -2
- package/dist/cdn/NEHAS4YX.js +0 -2
- package/dist/cdn/OMR65IIM.js +0 -2
- package/dist/cdn/OP3AF4WI.js +0 -2
- package/dist/cdn/PR3CHNEH.js +0 -2
- package/dist/cdn/PTBNT4NV.js +0 -2
- package/dist/cdn/PWDBJLTW.js +0 -2
- package/dist/cdn/Q2QELGQX.js +0 -2
- package/dist/cdn/Q4I6HPPG.js +0 -2
- package/dist/cdn/QJL6FNQQ.js +0 -2
- package/dist/cdn/QMKBTPPL.js +0 -2
- package/dist/cdn/SEK42UT2.js +0 -2
- package/dist/cdn/SJPUWCSQ.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SPRQ2OBE.js +0 -2
- package/dist/cdn/TT6IHBTH.js +0 -2
- package/dist/cdn/ULRG7JME.js +0 -2
- package/dist/cdn/UMOEONXM.js +0 -2
- package/dist/cdn/UYCPYSQI.js +0 -2
- package/dist/cdn/WBZEARYO.js +0 -2
- package/dist/cdn/WFAHWPGT.js +0 -2
- package/dist/cdn/WID7G6E7.js +0 -2
- package/dist/cdn/XFFDNZIQ.js +0 -2
- package/dist/cdn/YF7BOK2T.js +0 -2
- package/dist/cdn/ZCC7V2A2.js +0 -2
- package/dist/cdn/ZI7QPEAF.js +0 -2
- package/dist/cdn/ZM5C3KIP.js +0 -2
- package/dist/cdn/ZMBD4NTY.js +0 -4
- package/dist/cdn/ZN7A4NI2.js +0 -2
- package/dist/cdn/ZQAM5BZI.js +0 -2
- package/dist/cdn/ZYYBMTVE.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { substitute as v } from "@arcgis/core/intl.js";
|
|
3
|
-
import { memoize as
|
|
3
|
+
import { memoize as Y, isEmpty as ne, isEqual as le, cloneDeep as K } from "es-toolkit/compat";
|
|
4
4
|
import { B as f } from "./common.js";
|
|
5
|
-
import { u as I,
|
|
6
|
-
import {
|
|
7
|
-
import { g as
|
|
5
|
+
import { u as I, g as k, b as U, c as ae, d as E } from "./utils.js";
|
|
6
|
+
import { cW as M, cD as ce, cI as D, X as de, a5 as ye, cA as ue, cX as fe, cY as me, B as A, ah as X } from "./index.js";
|
|
7
|
+
import { g as Se } from "./series-length.js";
|
|
8
8
|
import { s as N } from "./data.js";
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as pe } from "./rest-js-object-literals.js";
|
|
10
10
|
import { a as p, t as S, g as x } from "./chart-object-literals.js";
|
|
11
|
-
import { o as
|
|
12
|
-
import {
|
|
13
|
-
import { cv as M, cb as xe, cg as D, N as be, V as he, cw as Fe, cx as Ae, a2 as j } from "./index.js";
|
|
14
|
-
import { i as P } from "./index4.js";
|
|
11
|
+
import { o as $, l as h, n as ge, t as xe, a9 as j, aa as z, a0 as be, ab as he, _ as Fe, $ as Ae } from "./index2.js";
|
|
12
|
+
import { i as P } from "./index3.js";
|
|
15
13
|
import { s as Be, a as Le } from "./series.js";
|
|
16
14
|
const J = (s) => {
|
|
17
15
|
const { config: e, seriesIndex: t, callback: o } = s;
|
|
18
16
|
[t !== void 0 ? e.series?.[t] : e.series].flat().forEach((i) => {
|
|
19
|
-
|
|
17
|
+
ce(i) && o(i);
|
|
20
18
|
});
|
|
21
|
-
},
|
|
19
|
+
}, He = (s) => {
|
|
22
20
|
const { style: e, seriesIndex: t, config: o } = s;
|
|
23
21
|
J({
|
|
24
22
|
config: o,
|
|
@@ -27,7 +25,7 @@ const J = (s) => {
|
|
|
27
25
|
Be(e, i);
|
|
28
26
|
}
|
|
29
27
|
});
|
|
30
|
-
},
|
|
28
|
+
}, Ze = (s) => {
|
|
31
29
|
const { width: e, seriesIndex: t, config: o } = s;
|
|
32
30
|
J({
|
|
33
31
|
config: o,
|
|
@@ -36,10 +34,10 @@ const J = (s) => {
|
|
|
36
34
|
Le(e, i);
|
|
37
35
|
}
|
|
38
36
|
});
|
|
39
|
-
},
|
|
37
|
+
}, es = (s, e) => e?.series?.[s]?.name, ss = (s, e, t) => {
|
|
40
38
|
const o = t;
|
|
41
39
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
42
|
-
},
|
|
40
|
+
}, ts = (s, e) => {
|
|
43
41
|
let t;
|
|
44
42
|
const o = e.series?.[s];
|
|
45
43
|
return o?.type === p.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === p.LineSeries && (t = o.lineSymbol?.color), t;
|
|
@@ -49,22 +47,22 @@ const J = (s) => {
|
|
|
49
47
|
}, we = (s, e) => {
|
|
50
48
|
const t = e.series[0];
|
|
51
49
|
e.showMean === !0 && M(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
|
|
52
|
-
|
|
50
|
+
...$(),
|
|
53
51
|
color: s
|
|
54
52
|
});
|
|
55
|
-
},
|
|
53
|
+
}, is = (s, e, t) => {
|
|
56
54
|
const i = t?.series?.[e];
|
|
57
55
|
i?.type === p.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === p.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
|
|
58
56
|
}, Te = (s) => s.series.map((e) => e.id), ve = (s, e) => {
|
|
59
57
|
e?.series?.sort(
|
|
60
58
|
(t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
|
|
61
59
|
);
|
|
62
|
-
},
|
|
60
|
+
}, os = (s, e, t) => {
|
|
63
61
|
const o = Te(t), [i] = o.splice(s, 1);
|
|
64
62
|
o.splice(e, 0, i), ve(o, t);
|
|
65
|
-
},
|
|
63
|
+
}, rs = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
|
|
66
64
|
function Oe(s, e, t) {
|
|
67
|
-
const o = ee(s, e, t), i =
|
|
65
|
+
const o = ee(s, e, t), i = Se(s), n = P(s);
|
|
68
66
|
return o === i || n;
|
|
69
67
|
}
|
|
70
68
|
function R(s, e, t) {
|
|
@@ -75,21 +73,21 @@ function Ie(s) {
|
|
|
75
73
|
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = C(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
|
|
76
74
|
return r === l || a || l.trim() === "";
|
|
77
75
|
}
|
|
78
|
-
const C = (s) => D(s)?.x ?? h, Me =
|
|
76
|
+
const C = (s) => D(s)?.x ?? h, Me = Y(
|
|
79
77
|
(s) => {
|
|
80
78
|
const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
81
|
-
return
|
|
79
|
+
return de(e?.query?.where) ? "" : t;
|
|
82
80
|
},
|
|
83
81
|
(s) => D(s)?.query?.where
|
|
84
|
-
),
|
|
82
|
+
), _ = Y(
|
|
85
83
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
86
84
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
87
|
-
(s) =>
|
|
85
|
+
(s) => ye(s?.series).filter((e) => e !== ""),
|
|
88
86
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
89
87
|
(s) => s?.series
|
|
90
88
|
), O = (s) => {
|
|
91
89
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
92
|
-
|
|
90
|
+
...j(i, t),
|
|
93
91
|
x: e === void 0 || e === "" ? h : e,
|
|
94
92
|
y: o,
|
|
95
93
|
query: {}
|
|
@@ -97,18 +95,18 @@ const C = (s) => D(s)?.x ?? h, Me = W(
|
|
|
97
95
|
return K(r);
|
|
98
96
|
}, Pe = (s) => {
|
|
99
97
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
100
|
-
...
|
|
98
|
+
...be({ commonStrings: i, seriesIndex: t }),
|
|
101
99
|
x: e === void 0 || e === "" ? h : e,
|
|
102
100
|
y: o,
|
|
103
101
|
query: {}
|
|
104
102
|
};
|
|
105
103
|
return K(r);
|
|
106
104
|
};
|
|
107
|
-
function
|
|
108
|
-
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l =
|
|
105
|
+
function G(s) {
|
|
106
|
+
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l = j(i), a = n ?? `series_${Date.now()}`;
|
|
109
107
|
return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
|
|
110
108
|
}
|
|
111
|
-
function
|
|
109
|
+
function Q(s) {
|
|
112
110
|
const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? C(t), y = N({
|
|
113
111
|
fieldName: a,
|
|
114
112
|
numericFields: e,
|
|
@@ -152,7 +150,7 @@ function Z(s) {
|
|
|
152
150
|
}
|
|
153
151
|
return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
|
|
154
152
|
}
|
|
155
|
-
const
|
|
153
|
+
const H = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", De = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
|
|
156
154
|
function Ve(s, e, t) {
|
|
157
155
|
const o = [];
|
|
158
156
|
return s.forEach((i) => {
|
|
@@ -162,17 +160,17 @@ function Ve(s, e, t) {
|
|
|
162
160
|
...l,
|
|
163
161
|
type: p.LineSeries,
|
|
164
162
|
lineSymbol: {
|
|
165
|
-
...
|
|
163
|
+
...xe({ width: he }),
|
|
166
164
|
...r !== void 0 ? { color: r.color } : {}
|
|
167
165
|
},
|
|
168
166
|
markerSymbol: {
|
|
169
|
-
...
|
|
167
|
+
...ge(),
|
|
170
168
|
...r !== void 0 ? { color: r.color } : {}
|
|
171
169
|
}
|
|
172
170
|
});
|
|
173
171
|
}
|
|
174
172
|
}), o.unshift(
|
|
175
|
-
|
|
173
|
+
G({
|
|
176
174
|
x: s[0].x,
|
|
177
175
|
y: s[0].y,
|
|
178
176
|
seriesTemplate: t,
|
|
@@ -184,7 +182,7 @@ function ke(s) {
|
|
|
184
182
|
const e = s.slice(1), t = [];
|
|
185
183
|
return e.forEach((o) => {
|
|
186
184
|
if (o.type === p.LineSeries) {
|
|
187
|
-
const { type: i, lineSymbol: n, markerSymbol: r, ...l } = o, a =
|
|
185
|
+
const { type: i, lineSymbol: n, markerSymbol: r, ...l } = o, a = $();
|
|
188
186
|
t.push({
|
|
189
187
|
...l,
|
|
190
188
|
type: p.BoxPlotSeries,
|
|
@@ -196,7 +194,7 @@ function ke(s) {
|
|
|
196
194
|
}
|
|
197
195
|
}), t;
|
|
198
196
|
}
|
|
199
|
-
function
|
|
197
|
+
function Z(s) {
|
|
200
198
|
const { formerSeries: e, newSeries: t, showMean: o } = s;
|
|
201
199
|
let i = t;
|
|
202
200
|
const n = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), r = e.filter(n).map((a) => a.id), l = t.filter(n).map((a) => a.id);
|
|
@@ -217,7 +215,7 @@ function Ne(s) {
|
|
|
217
215
|
let u = [];
|
|
218
216
|
const F = De(e);
|
|
219
217
|
if (y.length === 0) {
|
|
220
|
-
u =
|
|
218
|
+
u = Q({
|
|
221
219
|
numericFields: n,
|
|
222
220
|
category: a,
|
|
223
221
|
config: e,
|
|
@@ -233,11 +231,11 @@ function Ne(s) {
|
|
|
233
231
|
seriesIndex: d,
|
|
234
232
|
category: a,
|
|
235
233
|
commonStrings: o
|
|
236
|
-
}, b = F ? Pe(g) : O(g), w =
|
|
234
|
+
}, b = F ? Pe(g) : O(g), w = X({
|
|
237
235
|
queryObject: t.layer,
|
|
238
236
|
fieldName: i,
|
|
239
237
|
fieldValue: m ?? ""
|
|
240
|
-
}), B = `${m}`, L = e.series.find((re) =>
|
|
238
|
+
}), B = `${m}`, L = e.series.find((re) => H(re) === B), ie = L?.name ?? w ?? B, q = L ?? b, oe = {
|
|
241
239
|
...q,
|
|
242
240
|
id: B,
|
|
243
241
|
name: ie,
|
|
@@ -246,17 +244,17 @@ function Ne(s) {
|
|
|
246
244
|
// always update y values based on default generated value
|
|
247
245
|
query: {
|
|
248
246
|
...q.query,
|
|
249
|
-
where: `${i}=${c ===
|
|
247
|
+
where: `${i}=${c === pe.String && m !== null ? `'${m}'` : m}`
|
|
250
248
|
}
|
|
251
249
|
};
|
|
252
250
|
u.push(oe);
|
|
253
251
|
}
|
|
254
|
-
if (u =
|
|
252
|
+
if (u = Z({
|
|
255
253
|
formerSeries: e.series,
|
|
256
254
|
newSeries: u,
|
|
257
255
|
showMean: V(e)
|
|
258
256
|
}), V(e)) {
|
|
259
|
-
const d = e.series.find((g) => g.type === p.BoxPlotSeries), m =
|
|
257
|
+
const d = e.series.find((g) => g.type === p.BoxPlotSeries), m = G({
|
|
260
258
|
x: a,
|
|
261
259
|
y: n,
|
|
262
260
|
seriesTemplate: d,
|
|
@@ -266,10 +264,10 @@ function Ne(s) {
|
|
|
266
264
|
}
|
|
267
265
|
return u;
|
|
268
266
|
}
|
|
269
|
-
const
|
|
270
|
-
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ze(o, t, e), c =
|
|
267
|
+
const ns = (s) => {
|
|
268
|
+
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ze(o, t, e), c = me(a), u = C(i), F = Oe(i, n, r), d = R(i, n, r), m = Ie({ config: i, layerInfo: n, newCategory: o });
|
|
271
269
|
let g = U(i);
|
|
272
|
-
if (!c.includes(u) && c.includes(o) ? g =
|
|
270
|
+
if (!c.includes(u) && c.includes(o) ? g = Fe() : c.includes(u) && !c.includes(o) && (g = Ae()), g !== void 0 && ae(i, r, g), W(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Ne({
|
|
273
271
|
config: i,
|
|
274
272
|
layerInfo: n,
|
|
275
273
|
splitByField: e,
|
|
@@ -277,7 +275,7 @@ const as = (s) => {
|
|
|
277
275
|
category: o,
|
|
278
276
|
commonStrings: r,
|
|
279
277
|
splitByFieldInfos: l
|
|
280
|
-
}) :
|
|
278
|
+
}) : Q({
|
|
281
279
|
numericFields: t,
|
|
282
280
|
config: i,
|
|
283
281
|
layerInfo: n,
|
|
@@ -303,7 +301,7 @@ function T(s, e, t) {
|
|
|
303
301
|
return r = [...new Set(r)], r.length === 1 && (n = A(o, r[0])), n;
|
|
304
302
|
}
|
|
305
303
|
function ee(s, e, t) {
|
|
306
|
-
const { layerFieldsInfo: o } = e, i = C(s), n =
|
|
304
|
+
const { layerFieldsInfo: o } = e, i = C(s), n = _(s), r = Me(s), l = n.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
|
|
307
305
|
let y = "";
|
|
308
306
|
return n.length > 0 && (i !== h && r !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
|
|
309
307
|
valueFields: l,
|
|
@@ -319,21 +317,21 @@ function ee(s, e, t) {
|
|
|
319
317
|
valueField: l
|
|
320
318
|
})), y;
|
|
321
319
|
}
|
|
322
|
-
const
|
|
320
|
+
const ls = (s) => {
|
|
323
321
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
324
322
|
let n = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
325
|
-
return ne(t) || (n =
|
|
323
|
+
return ne(t) || (n = H(e)), n = X({
|
|
326
324
|
queryObject: o.layer,
|
|
327
325
|
fieldName: t,
|
|
328
326
|
fieldValue: n ?? ""
|
|
329
327
|
}) ?? n, n ?? e.id;
|
|
330
|
-
},
|
|
328
|
+
}, as = (s) => s?.showOutliers ?? !1, cs = (s) => {
|
|
331
329
|
const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
|
|
332
330
|
if (t.showOutliers = e, R(t, o, i)) {
|
|
333
331
|
const r = T(t, o, i);
|
|
334
332
|
I(t, 1, r);
|
|
335
333
|
}
|
|
336
|
-
},
|
|
334
|
+
}, ds = (s) => {
|
|
337
335
|
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, n = k(1, t), r = T(t, o, i), l = P(t);
|
|
338
336
|
if (t.standardizeValues = e, n === r || l) {
|
|
339
337
|
const a = T(t, o, i);
|
|
@@ -354,7 +352,7 @@ const cs = (s) => {
|
|
|
354
352
|
break;
|
|
355
353
|
}
|
|
356
354
|
return e;
|
|
357
|
-
},
|
|
355
|
+
}, ys = (s, e, t) => {
|
|
358
356
|
let o = S.Category, i = x.Ascending;
|
|
359
357
|
if (e.orderOptions = e.orderOptions ?? {}, s === f.customSort && t !== void 0)
|
|
360
358
|
e.orderOptions.data = {
|
|
@@ -393,36 +391,36 @@ const cs = (s) => {
|
|
|
393
391
|
orderBy: i
|
|
394
392
|
};
|
|
395
393
|
}
|
|
396
|
-
}, V = (s) => s.showMean ?? !1,
|
|
394
|
+
}, V = (s) => s.showMean ?? !1, W = (s) => {
|
|
397
395
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Ce(t), r = (e ?? !1) !== (t.showMean ?? !1);
|
|
398
396
|
if (t.showMean = e, r) {
|
|
399
397
|
let l;
|
|
400
|
-
e ? l =
|
|
398
|
+
e ? l = fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l = Z({
|
|
401
399
|
formerSeries: t.series,
|
|
402
400
|
newSeries: l,
|
|
403
401
|
showMean: e
|
|
404
402
|
}), t.series = l);
|
|
405
403
|
}
|
|
406
404
|
return e && i !== void 0 && we(i, t), { previousMeanLinesBoxColor: n };
|
|
407
|
-
},
|
|
405
|
+
}, us = (s) => {
|
|
408
406
|
let e = [];
|
|
409
407
|
const t = s.orderOptions?.data?.orderType;
|
|
410
408
|
return se(s) === f.customSort && t === S.Category && (e = s.orderOptions?.data?.orderBy), e;
|
|
411
|
-
},
|
|
409
|
+
}, fs = (s, e) => {
|
|
412
410
|
e.orderOptions ??= {};
|
|
413
411
|
const t = e.orderOptions?.data?.orderType;
|
|
414
412
|
se(e) === f.customSort && t === S.Category && (e.orderOptions.data = {
|
|
415
413
|
orderType: S.Category,
|
|
416
414
|
orderBy: s
|
|
417
415
|
});
|
|
418
|
-
},
|
|
419
|
-
const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n = U(e)?.type, r =
|
|
416
|
+
}, ms = async (s) => {
|
|
417
|
+
const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n = U(e)?.type, r = _(e);
|
|
420
418
|
let l = [];
|
|
421
419
|
return n === p.CategoryAxisFormat && (N({
|
|
422
420
|
fieldName: i,
|
|
423
421
|
numericFields: r,
|
|
424
422
|
fieldList: t.layerFieldsInfo
|
|
425
|
-
}) ? l = r : te(i) || (l = await
|
|
423
|
+
}) ? l = r : te(i) || (l = await ue({
|
|
426
424
|
layerInfo: t,
|
|
427
425
|
config: e,
|
|
428
426
|
category: i,
|
|
@@ -432,35 +430,35 @@ const cs = (s) => {
|
|
|
432
430
|
export {
|
|
433
431
|
Te as A,
|
|
434
432
|
ve as B,
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
os as C,
|
|
434
|
+
rs as D,
|
|
437
435
|
ee as E,
|
|
438
436
|
T as F,
|
|
439
|
-
|
|
437
|
+
ls as G,
|
|
440
438
|
C as a,
|
|
441
|
-
|
|
439
|
+
_ as b,
|
|
442
440
|
Me as c,
|
|
443
|
-
|
|
444
|
-
|
|
441
|
+
as as d,
|
|
442
|
+
cs as e,
|
|
445
443
|
qe as f,
|
|
446
444
|
V as g,
|
|
447
|
-
|
|
445
|
+
ds as h,
|
|
448
446
|
se as i,
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
447
|
+
ys as j,
|
|
448
|
+
ms as k,
|
|
449
|
+
us as l,
|
|
450
|
+
fs as m,
|
|
451
|
+
W as n,
|
|
454
452
|
Ce as o,
|
|
455
453
|
we as p,
|
|
456
454
|
ze as q,
|
|
457
|
-
|
|
455
|
+
ns as r,
|
|
458
456
|
Ee as s,
|
|
459
457
|
te as t,
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
458
|
+
es as u,
|
|
459
|
+
ss as v,
|
|
460
|
+
ts as w,
|
|
461
|
+
is as x,
|
|
462
|
+
He as y,
|
|
463
|
+
Ze as z
|
|
466
464
|
};
|
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
import { isEqual as W } from "es-toolkit/compat";
|
|
3
3
|
import { log as y } from "@arcgis/toolkit/log";
|
|
4
4
|
import { a as O } from "./chart-object-literals.js";
|
|
5
|
-
import { l as p, ap as D,
|
|
6
|
-
import {
|
|
5
|
+
import { l as p, ap as D, a9 as P, g as R, aa as m, an as u, ab as S, r as A } from "./index2.js";
|
|
6
|
+
import { eK as V, eJ as T, cI as E, eL as N, cD as h, eI as z } from "./index.js";
|
|
7
7
|
import { m as s } from "./model-setter.js";
|
|
8
|
-
import { B as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { W as k, c as
|
|
12
|
-
import { W as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { g as
|
|
17
|
-
import {
|
|
18
|
-
import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
|
|
8
|
+
import { B as U } from "./common.js";
|
|
9
|
+
import { M as X, a as K, W as j, b as q } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as G, a as Y } from "./model-with-y-guides.js";
|
|
11
|
+
import { W as k, c as J, d as H } from "./axis-lines-symbol.js";
|
|
12
|
+
import { W as Q, c as Z, d as $ } from "./generate-x-axis-title.js";
|
|
13
|
+
import { W as ee, a as te } from "./x-bounds.js";
|
|
14
|
+
import { W as ie } from "./data-labels-symbol.js";
|
|
15
|
+
import { W as se } from "./rotated-state.js";
|
|
16
|
+
import { g as re, b as oe, s as ne, a as ae } from "./series.js";
|
|
17
|
+
import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as I, w as Ce, x as M, y as Fe, z as Ie, A as Me, B as xe, C as be, D as ve, E as we, F as We, G as x } from "./box-plot-data.js";
|
|
19
18
|
import { C as Oe } from "./chart-model.js";
|
|
20
19
|
var De = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
|
|
21
20
|
for (var o = Pe(e, t), a = c.length - 1, l; a >= 0; a--)
|
|
@@ -104,7 +103,7 @@ class i extends Oe {
|
|
|
104
103
|
}
|
|
105
104
|
set numericFields(e) {
|
|
106
105
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
107
|
-
typeof e == "string" && (e = [e]),
|
|
106
|
+
typeof e == "string" && (e = [e]), V(t, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : y("error", "box-plot-model", "Invalid `numericFields`");
|
|
108
107
|
}
|
|
109
108
|
/**
|
|
110
109
|
* The split-by field for the box plot.
|
|
@@ -113,7 +112,7 @@ class i extends Oe {
|
|
|
113
112
|
return this._splitByField;
|
|
114
113
|
}
|
|
115
114
|
set splitByField(e) {
|
|
116
|
-
|
|
115
|
+
T(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : y("error", "box-plot-model", "Invalid `splitByField`");
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
119
118
|
* Whether outliers are shown.
|
|
@@ -189,7 +188,7 @@ class i extends Oe {
|
|
|
189
188
|
async setDataFilters(e) {
|
|
190
189
|
super.setDataFilters(e);
|
|
191
190
|
const t = g(this._config);
|
|
192
|
-
if (t ===
|
|
191
|
+
if (t === U.customSort) {
|
|
193
192
|
this.startAsyncUpdate();
|
|
194
193
|
const n = await _({
|
|
195
194
|
config: this._config,
|
|
@@ -294,8 +293,8 @@ class i extends Oe {
|
|
|
294
293
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
295
294
|
*/
|
|
296
295
|
async fetchSplitByFieldInfos() {
|
|
297
|
-
const { fetchNullValues: e } =
|
|
298
|
-
return this.splitByFieldInfos = await
|
|
296
|
+
const { fetchNullValues: e } = E(this._config)?.query ?? {};
|
|
297
|
+
return this.splitByFieldInfos = await N({
|
|
299
298
|
config: this._config,
|
|
300
299
|
layer: this.layerInfo.layer,
|
|
301
300
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -336,7 +335,7 @@ class i extends Oe {
|
|
|
336
335
|
return Be(e, this._config);
|
|
337
336
|
}
|
|
338
337
|
setSeriesName(e, t) {
|
|
339
|
-
|
|
338
|
+
I(e, t, this._config);
|
|
340
339
|
}
|
|
341
340
|
/**
|
|
342
341
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -347,7 +346,7 @@ class i extends Oe {
|
|
|
347
346
|
return Ce(e, this._config);
|
|
348
347
|
}
|
|
349
348
|
setSeriesColor(e, t) {
|
|
350
|
-
|
|
349
|
+
M(e, t, this._config);
|
|
351
350
|
}
|
|
352
351
|
/**
|
|
353
352
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -359,7 +358,7 @@ class i extends Oe {
|
|
|
359
358
|
getSeriesLineStyle(e) {
|
|
360
359
|
const t = this._config.series[e];
|
|
361
360
|
if (this.showMeanLines === !0 && h(t))
|
|
362
|
-
return
|
|
361
|
+
return re(t);
|
|
363
362
|
}
|
|
364
363
|
setSeriesLineStyle(e, t) {
|
|
365
364
|
this.showMeanLines === !0 && Fe({ style: e, seriesIndex: t, config: this._config });
|
|
@@ -374,10 +373,10 @@ class i extends Oe {
|
|
|
374
373
|
getSeriesLineWidth(e) {
|
|
375
374
|
const t = this._config.series[e];
|
|
376
375
|
if (this.showMeanLines === !0 && h(t))
|
|
377
|
-
return
|
|
376
|
+
return oe(t);
|
|
378
377
|
}
|
|
379
378
|
setSeriesLineWidth(e, t) {
|
|
380
|
-
this.showMeanLines === !0 &&
|
|
379
|
+
this.showMeanLines === !0 && Ie({ width: e, seriesIndex: t, config: this._config });
|
|
381
380
|
}
|
|
382
381
|
/**
|
|
383
382
|
* The order of the series array as an array of series ids.
|
|
@@ -389,10 +388,10 @@ class i extends Oe {
|
|
|
389
388
|
* orders categories or summary statistics within the chart data.
|
|
390
389
|
*/
|
|
391
390
|
get orderOfSeries() {
|
|
392
|
-
return
|
|
391
|
+
return Me(this._config);
|
|
393
392
|
}
|
|
394
393
|
set orderOfSeries(e) {
|
|
395
|
-
|
|
394
|
+
xe(e, this._config);
|
|
396
395
|
}
|
|
397
396
|
moveSeries(e, t) {
|
|
398
397
|
be(e, t, this._config);
|
|
@@ -430,14 +429,14 @@ class i extends Oe {
|
|
|
430
429
|
colorIndex: e,
|
|
431
430
|
opacity: A
|
|
432
431
|
}), o = this._config.series[e];
|
|
433
|
-
|
|
434
|
-
const a =
|
|
432
|
+
M(n, e, this._config);
|
|
433
|
+
const a = x({
|
|
435
434
|
series: o,
|
|
436
435
|
splitByField: this._splitByField,
|
|
437
436
|
layerInfo: this.layerInfo,
|
|
438
437
|
commonStrings: this.commonStrings
|
|
439
438
|
});
|
|
440
|
-
|
|
439
|
+
I(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (ne(u, o), ae(S, o));
|
|
441
440
|
}
|
|
442
441
|
this.showMeanLines === !0 && C(m, this._config), this._config.colorMatch = !0;
|
|
443
442
|
}
|
|
@@ -449,7 +448,7 @@ class i extends Oe {
|
|
|
449
448
|
let n = !1, o = !1;
|
|
450
449
|
if (!e)
|
|
451
450
|
for (let a = this.showMeanLines === !0 ? 1 : 0; a < this.seriesLength; a += 1) {
|
|
452
|
-
const l = this._config.series[a], f =
|
|
451
|
+
const l = this._config.series[a], f = x({
|
|
453
452
|
series: l,
|
|
454
453
|
splitByField: this._splitByField,
|
|
455
454
|
layerInfo: this.layerInfo,
|
|
@@ -522,24 +521,24 @@ r([
|
|
|
522
521
|
s
|
|
523
522
|
], i.prototype, "resetSeriesStyling");
|
|
524
523
|
const Re = [
|
|
524
|
+
G,
|
|
525
525
|
X,
|
|
526
|
-
E,
|
|
527
|
-
N,
|
|
528
|
-
z,
|
|
529
|
-
$,
|
|
530
|
-
U,
|
|
531
|
-
Z,
|
|
532
|
-
j,
|
|
533
526
|
K,
|
|
534
|
-
|
|
527
|
+
j,
|
|
528
|
+
se,
|
|
529
|
+
q,
|
|
530
|
+
ie,
|
|
535
531
|
Y,
|
|
536
532
|
Q,
|
|
533
|
+
ee,
|
|
534
|
+
Z,
|
|
535
|
+
te,
|
|
537
536
|
k,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
537
|
+
J,
|
|
538
|
+
H,
|
|
539
|
+
$
|
|
541
540
|
];
|
|
542
|
-
|
|
541
|
+
z(i, Re);
|
|
543
542
|
export {
|
|
544
543
|
i as BoxPlotModel
|
|
545
544
|
};
|