@arcgis/charts-components 5.1.0-next.80 → 5.1.0-next.82
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/2ADFKCPA.js +2 -0
- package/dist/cdn/2BAQEPCK.js +2 -0
- package/dist/cdn/3G26ZRB7.js +2 -0
- package/dist/cdn/4ASFVM5K.js +2 -0
- package/dist/cdn/4SRUJNYL.js +2 -0
- package/dist/cdn/5GD3PE32.js +2 -0
- package/dist/cdn/5U2X7LKH.js +2 -0
- package/dist/cdn/623QYMIQ.js +2 -0
- package/dist/cdn/6AUW6C3P.js +2 -0
- package/dist/cdn/6OUQ7ORF.js +2 -0
- package/dist/cdn/7CVRX5TJ.js +2 -0
- package/dist/cdn/7QYOWBFU.js +2 -0
- package/dist/cdn/7R3FEB3R.js +2 -0
- package/dist/cdn/7ZK3YGN6.js +2 -0
- package/dist/cdn/{4LH6RELA.js → A3N7FAEK.js} +1 -1
- package/dist/cdn/AVUM7BWA.js +2 -0
- package/dist/cdn/AZLVOWWT.js +99 -0
- package/dist/cdn/B7RU4X5Z.js +2 -0
- package/dist/cdn/BHFEFC6X.js +2 -0
- package/dist/cdn/BJAQIZB3.js +2 -0
- package/dist/cdn/BO7RCJZB.js +2 -0
- package/dist/cdn/{2NN5AE5D.js → CJ7NTZVC.js} +1 -1
- package/dist/cdn/CV3MN2OB.js +2 -0
- package/dist/cdn/D5EMJRBB.js +2 -0
- package/dist/cdn/DS42P2EG.js +2 -0
- package/dist/cdn/EE7MSNVY.js +2 -0
- package/dist/cdn/{LHNPAXRS.js → EFXQZRUY.js} +1 -1
- package/dist/cdn/EQ3IZDDQ.js +2 -0
- package/dist/cdn/{45P5JEKC.js → F5NS6O5R.js} +1 -1
- package/dist/cdn/{GPXGV2W3.js → FK52K255.js} +1 -1
- package/dist/cdn/FUFEC4JX.js +2 -0
- package/dist/cdn/FUHOULT2.js +2 -0
- package/dist/cdn/{HESIIJTB.js → FUOCURYO.js} +1 -1
- package/dist/cdn/FX754GOP.js +2 -0
- package/dist/cdn/{EEBFNI6X.js → G63R4TEN.js} +1 -1
- package/dist/cdn/{47WDNO2P.js → GEXUXKE2.js} +1 -1
- package/dist/cdn/GVBLRXKE.js +2 -0
- package/dist/cdn/HJRYXAVR.js +2 -0
- package/dist/cdn/HKGGDNSY.js +2 -0
- package/dist/cdn/HLSO5KDC.js +2 -0
- package/dist/cdn/{VOR2H3D7.js → IEPVBL2M.js} +1 -1
- package/dist/cdn/IY7457CX.js +2 -0
- package/dist/cdn/J6J3DXQC.js +2 -0
- package/dist/cdn/K4DKNVD7.js +2 -0
- package/dist/cdn/K76KZ3TY.js +2 -0
- package/dist/cdn/KCILWIMQ.js +2 -0
- package/dist/cdn/KGLVHBMW.js +2 -0
- package/dist/cdn/KZOJBRI6.js +2 -0
- package/dist/cdn/L4Y3GEOG.js +2 -0
- package/dist/cdn/LJU5JLT7.js +2 -0
- package/dist/cdn/LYZNGXSF.js +2 -0
- package/dist/cdn/{KFBMPA6U.js → MIYIXPXS.js} +1 -1
- package/dist/cdn/MUHGSAN5.js +2 -0
- package/dist/cdn/{PV4ROV2W.js → N2RUZDL5.js} +1 -1
- package/dist/cdn/{IVWZLS7W.js → NWRE6XI6.js} +1 -1
- package/dist/cdn/O4645DWG.js +2 -0
- package/dist/cdn/{MBC2KQUK.js → OLODR474.js} +1 -1
- package/dist/cdn/OOHBEF67.js +2 -0
- package/dist/cdn/OTMPMNL4.js +2 -0
- package/dist/cdn/OWRWKXFL.js +2 -0
- package/dist/cdn/{HWJIFGRR.js → PMFA3GVU.js} +1 -1
- package/dist/cdn/PORI3GND.js +2 -0
- package/dist/cdn/PQZYONXN.js +2 -0
- package/dist/cdn/PSCAEQLN.js +2 -0
- package/dist/cdn/PWCAXPNP.js +2 -0
- package/dist/cdn/QILOZFO7.js +58 -0
- package/dist/cdn/QOJZM6EZ.js +2 -0
- package/dist/cdn/{FOYNQPWL.js → QX3TWFL2.js} +1 -1
- package/dist/cdn/R2BGMXLL.js +2 -0
- package/dist/cdn/{ZEQ6Q5SM.js → RCAB2G52.js} +1 -1
- package/dist/cdn/RN72ZH7K.js +2 -0
- package/dist/cdn/RS6N2KGI.js +2 -0
- package/dist/cdn/S2H4RCXL.js +2 -0
- package/dist/cdn/S5FXOTG4.js +2 -0
- package/dist/cdn/SZKVED6M.js +2 -0
- package/dist/cdn/{ICCNKIGD.js → TCGJR6OG.js} +1 -1
- package/dist/cdn/TITJWWP7.js +2 -0
- package/dist/cdn/{IZCUAYGW.js → TKTNTVES.js} +1 -1
- package/dist/cdn/UBI26YGI.js +2 -0
- package/dist/cdn/UC2KHUNN.js +2 -0
- package/dist/cdn/{MGIPPTHG.js → UMXNCRW5.js} +1 -1
- package/dist/cdn/UOC3SKN2.js +2 -0
- package/dist/cdn/UR6A4VM5.js +2 -0
- package/dist/cdn/UWIRHZ3N.js +2 -0
- package/dist/cdn/V7CMOKQQ.js +2 -0
- package/dist/cdn/VDZ5R7WX.js +2 -0
- package/dist/cdn/VPVFOEEH.js +2 -0
- package/dist/cdn/{SYV4I4MD.js → WFGGTYWP.js} +2 -2
- package/dist/cdn/WG43MAVJ.js +2 -0
- package/dist/cdn/WRNEDEFZ.js +2 -0
- package/dist/cdn/WY264B2J.js +2 -0
- package/dist/cdn/X7ENJ4HH.js +2 -0
- package/dist/cdn/XBBP6DN4.js +2 -0
- package/dist/cdn/XHVWL7MY.js +2 -0
- package/dist/cdn/XR44W6VF.js +2 -0
- package/dist/cdn/YCXOS27R.js +2 -0
- package/dist/cdn/YGCLG2LA.js +2 -0
- package/dist/cdn/YJXIGYX6.js +2 -0
- package/dist/cdn/YUN4XIA2.js +2 -0
- package/dist/cdn/YWFHR2KJ.js +2 -0
- package/dist/cdn/ZC6NYZDM.js +2 -0
- package/dist/cdn/ZKVDUGFR.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +12 -15
- package/dist/chunks/bar-chart-model.js +6 -9
- package/dist/chunks/bar-chart-series.js +8 -10
- package/dist/chunks/box-plot-data.js +51 -53
- package/dist/chunks/box-plot-model.js +16 -15
- package/dist/chunks/chart-model.js +50 -53
- package/dist/chunks/chart-ui-utils2.js +51 -54
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +20 -19
- package/dist/chunks/data.js +10 -13
- package/dist/chunks/gauge-model.js +10 -13
- package/dist/chunks/generate-x-axis-title.js +8 -11
- package/dist/chunks/heat-chart-model.js +6 -9
- package/dist/chunks/histogram-data.js +37 -40
- package/dist/chunks/index.js +4382 -5208
- package/dist/chunks/index2.js +28 -27
- package/dist/chunks/index4.js +95 -63
- package/dist/chunks/index5.js +66 -0
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +21 -24
- package/dist/chunks/model-with-guides.js +8 -10
- package/dist/chunks/model-with-tooltips.js +26 -29
- package/dist/chunks/model-with-y-guides.js +0 -3
- package/dist/chunks/negative-values-stacked-to-baseline.js +48 -50
- package/dist/chunks/pie-chart-data.js +57 -60
- package/dist/chunks/pie-chart-model.js +1 -4
- package/dist/chunks/radar-chart-model.js +6 -9
- package/dist/chunks/rotated-state.js +7 -10
- package/dist/chunks/scatterplot-model.js +9 -12
- package/dist/chunks/serial-chart-data.js +187 -189
- package/dist/chunks/serial-chart-model.js +12 -14
- package/dist/chunks/series-length.js +4 -7
- package/dist/chunks/series.js +6 -9
- package/dist/chunks/utils.js +58 -60
- package/dist/chunks/utils2.js +22 -25
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/components/arcgis-chart/customElement.js +8753 -8065
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -9
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -7
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +9 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +5 -7
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +9 -12
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -14
- package/dist/components/arcgis-charts-config-font-style/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-guide/customElement.js +12 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -6
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -6
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +7 -9
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +12 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-histogram/customElement.js +11 -13
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +20 -23
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -8
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -7
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +0 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -8
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +9 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -4
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +0 -3
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -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 +305 -304
- package/package.json +3 -3
- package/dist/cdn/2EFFPZSB.js +0 -2
- package/dist/cdn/3AIE3FUA.js +0 -2
- package/dist/cdn/3LYW7DPP.js +0 -2
- package/dist/cdn/3MHB5VAM.js +0 -37
- package/dist/cdn/3VEQ7HMG.js +0 -2
- package/dist/cdn/4GCUO37L.js +0 -2
- package/dist/cdn/4IYPGSMC.js +0 -2
- package/dist/cdn/4YZHTVL7.js +0 -2
- package/dist/cdn/52XNA2DH.js +0 -2
- package/dist/cdn/57CR5SOU.js +0 -2
- package/dist/cdn/5ZYCFKFX.js +0 -2
- package/dist/cdn/66KEM4LG.js +0 -2
- package/dist/cdn/6DGQQ4V4.js +0 -2
- package/dist/cdn/6FB455E4.js +0 -2
- package/dist/cdn/6P6HFKV2.js +0 -2
- package/dist/cdn/7GWVJEAI.js +0 -2
- package/dist/cdn/7I2D5SVD.js +0 -2
- package/dist/cdn/7ICRLJ5R.js +0 -2
- package/dist/cdn/7K2V6YNA.js +0 -2
- package/dist/cdn/7X23S5SF.js +0 -2
- package/dist/cdn/A4FCRGKH.js +0 -2
- package/dist/cdn/ALMGT4ZN.js +0 -2
- package/dist/cdn/BBBLK7RI.js +0 -2
- package/dist/cdn/BCPVUKSF.js +0 -2
- package/dist/cdn/CXSNVG3M.js +0 -2
- package/dist/cdn/DYQRIA4G.js +0 -2
- package/dist/cdn/E5P3LY6E.js +0 -2
- package/dist/cdn/E6S67HXA.js +0 -2
- package/dist/cdn/FPBBWTJ7.js +0 -2
- package/dist/cdn/G2EWR4OS.js +0 -2
- package/dist/cdn/GDTHQBCP.js +0 -2
- package/dist/cdn/H32MCV7J.js +0 -2
- package/dist/cdn/HNRWEWFM.js +0 -2
- package/dist/cdn/IKRCUXIB.js +0 -2
- package/dist/cdn/IO7TJZDW.js +0 -2
- package/dist/cdn/IXGXDRYR.js +0 -2
- package/dist/cdn/JB527BEY.js +0 -2
- package/dist/cdn/JLFVNF5U.js +0 -2
- package/dist/cdn/JZPDA4LD.js +0 -2
- package/dist/cdn/KC5H5WGK.js +0 -2
- package/dist/cdn/KFIYYH54.js +0 -2
- package/dist/cdn/KQD5PSPV.js +0 -2
- package/dist/cdn/KRGZLJM5.js +0 -2
- package/dist/cdn/KUO2EPUE.js +0 -2
- package/dist/cdn/LD2K2FUM.js +0 -2
- package/dist/cdn/LNTDBU7W.js +0 -2
- package/dist/cdn/LPGL66XP.js +0 -2
- package/dist/cdn/LT4HKSXR.js +0 -2
- package/dist/cdn/LX5QI6J3.js +0 -2
- package/dist/cdn/MFIKF7RC.js +0 -2
- package/dist/cdn/NFBNUOS2.js +0 -2
- package/dist/cdn/NHN6CQRE.js +0 -2
- package/dist/cdn/OQLV6YYT.js +0 -2
- package/dist/cdn/P2MVLEZ7.js +0 -2
- package/dist/cdn/Q3YDW4V6.js +0 -2
- package/dist/cdn/QF7PCBW5.js +0 -2
- package/dist/cdn/QGLWCPMB.js +0 -2
- package/dist/cdn/QJKJNE7A.js +0 -2
- package/dist/cdn/RI65IJRW.js +0 -2
- package/dist/cdn/SJWEUS4D.js +0 -2
- package/dist/cdn/SLB3Y7Q2.js +0 -2
- package/dist/cdn/SUUMGHCO.js +0 -2
- package/dist/cdn/T47JP5N6.js +0 -2
- package/dist/cdn/TJ3ALCTV.js +0 -2
- package/dist/cdn/TZG37HE4.js +0 -2
- package/dist/cdn/UM7JZ2DY.js +0 -2
- package/dist/cdn/V45SCYTC.js +0 -2
- package/dist/cdn/VPLVBL2P.js +0 -2
- package/dist/cdn/WTQDFRE7.js +0 -2
- package/dist/cdn/X234G7PD.js +0 -2
- package/dist/cdn/X7FQPP5T.js +0 -2
- package/dist/cdn/XJFKEIB4.js +0 -2
- package/dist/cdn/XLHQQCTU.js +0 -2
- package/dist/cdn/XSH2YEV4.js +0 -2
- package/dist/cdn/Y3E4HJZ6.js +0 -2
- package/dist/cdn/Y5KIJ6GX.js +0 -120
- package/dist/cdn/YKJO6KSB.js +0 -2
- package/dist/cdn/YSZU65DU.js +0 -2
- package/dist/cdn/ZMVYIIG4.js +0 -2
- package/dist/chunks/bg_BG2.js +0 -10
- package/dist/chunks/sk_SK.js +0 -10
- /package/dist/cdn/{ZRULG7VV.js → GKNEQGLI.js} +0 -0
- /package/dist/cdn/{J6TUXYMO.js → S5OM65RV.js} +0 -0
|
@@ -6,7 +6,7 @@ import { u, n as p, p as h } from "./series-types.js";
|
|
|
6
6
|
import { R as ye } from "./rest-js-object-literals.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import "luxon";
|
|
9
|
-
import {
|
|
9
|
+
import { aE as q, cU as V, z as C, c2 as I, cD as me, c9 as ue, by as fe, bm as w, bp as R, aY as J, a_ as _, K as G, aF as Q, F as K, aZ as Se, aL as pe, aG as ge } from "./index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,6 +15,7 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
15
15
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
16
|
import "@arcgis/core/request.js";
|
|
17
17
|
import "./runtime.js";
|
|
18
|
+
import { b as P, c as xe } from "./index4.js";
|
|
18
19
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
19
20
|
import "@arcgis/core/geometry/Extent.js";
|
|
20
21
|
import "@arcgis/core/geometry/Point.js";
|
|
@@ -22,11 +23,8 @@ import "simple-statistics";
|
|
|
22
23
|
import "@arcgis/core/Graphic.js";
|
|
23
24
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
24
25
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
25
|
-
import "@amcharts/amcharts4/core.js";
|
|
26
|
-
import "@amcharts/amcharts4/charts.js";
|
|
27
|
-
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
28
26
|
import "@arcgis/toolkit/dom";
|
|
29
|
-
import { u as D, d as
|
|
27
|
+
import { u as D, d as Z, e as be, f as he, s as U, h as Fe } from "./utils.js";
|
|
30
28
|
import { B as m } from "./common.js";
|
|
31
29
|
import "@esri/arcgis-html-sanitizer";
|
|
32
30
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
@@ -38,38 +36,38 @@ import "@arcgis/core/core/sql.js";
|
|
|
38
36
|
import { g as z } from "./utils2.js";
|
|
39
37
|
import { a as Ae } from "./series-length.js";
|
|
40
38
|
import { c as E } from "./data.js";
|
|
41
|
-
const
|
|
39
|
+
const As = (s, e) => e?.series?.[s]?.name, Bs = (s, e, t) => {
|
|
42
40
|
const o = t;
|
|
43
41
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
44
|
-
},
|
|
42
|
+
}, Cs = (s, e) => {
|
|
45
43
|
let t;
|
|
46
44
|
const o = e.series?.[s];
|
|
47
45
|
return o?.type === u.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === u.LineSeries && (t = o.lineSymbol?.color), t;
|
|
48
46
|
}, Be = (s) => {
|
|
49
47
|
const e = s.series[0];
|
|
50
|
-
return s.showMean === !0 &&
|
|
48
|
+
return s.showMean === !0 && P(e) ? e.fillSymbol?.color : void 0;
|
|
51
49
|
}, Ce = (s, e) => {
|
|
52
50
|
const t = e.series[0];
|
|
53
|
-
e.showMean === !0 &&
|
|
51
|
+
e.showMean === !0 && P(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
|
|
54
52
|
...q(),
|
|
55
53
|
color: s
|
|
56
54
|
});
|
|
57
|
-
},
|
|
55
|
+
}, ws = (s, e, t) => {
|
|
58
56
|
const i = t?.series?.[e];
|
|
59
57
|
i?.type === u.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === u.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
|
|
60
58
|
}, we = (s) => s.series.map((e) => e.id), Le = (s, e) => {
|
|
61
59
|
e?.series?.sort(
|
|
62
60
|
(t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
|
|
63
61
|
);
|
|
64
|
-
},
|
|
62
|
+
}, Ls = (s, e, t) => {
|
|
65
63
|
const o = we(t), [i] = o.splice(s, 1);
|
|
66
64
|
o.splice(e, 0, i), Le(o, t);
|
|
67
|
-
},
|
|
65
|
+
}, Ts = (s) => N(s) ? s.series.findIndex((e) => e.type === u.BoxPlotSeries) : -1;
|
|
68
66
|
function Te(s, e, t) {
|
|
69
67
|
const o = re(s, e, t), i = Ae(s), r = V(s);
|
|
70
68
|
return o === i || r;
|
|
71
69
|
}
|
|
72
|
-
function
|
|
70
|
+
function H(s, e, t) {
|
|
73
71
|
const o = T(s, e, t), i = z(1, s), r = V(s);
|
|
74
72
|
return o === i || r;
|
|
75
73
|
}
|
|
@@ -77,21 +75,21 @@ function ve(s) {
|
|
|
77
75
|
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), l = o !== C ? w(i, r) : "", n = z(0, e), a = V(e);
|
|
78
76
|
return l === n || a || n.trim() === "";
|
|
79
77
|
}
|
|
80
|
-
const L = (s) =>
|
|
78
|
+
const L = (s) => I(s)?.x ?? C, Me = j(
|
|
81
79
|
(s) => {
|
|
82
|
-
const e =
|
|
83
|
-
return
|
|
80
|
+
const e = I(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
81
|
+
return me(e?.query?.where) ? "" : t;
|
|
84
82
|
},
|
|
85
|
-
(s) =>
|
|
83
|
+
(s) => I(s)?.query?.where
|
|
86
84
|
), ee = j(
|
|
87
85
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
88
86
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
89
|
-
(s) =>
|
|
87
|
+
(s) => ue(s?.series).filter((e) => e !== ""),
|
|
90
88
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
91
89
|
(s) => s?.series
|
|
92
90
|
), O = (s) => {
|
|
93
91
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
94
|
-
...
|
|
92
|
+
...Q(i, t),
|
|
95
93
|
x: e === void 0 || e === "" ? C : e,
|
|
96
94
|
y: o,
|
|
97
95
|
query: {}
|
|
@@ -99,7 +97,7 @@ const L = (s) => P(s)?.x ?? C, Me = j(
|
|
|
99
97
|
return X(l);
|
|
100
98
|
}, Oe = (s) => {
|
|
101
99
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
102
|
-
...
|
|
100
|
+
...Se({ commonStrings: i, seriesIndex: t }),
|
|
103
101
|
x: e === void 0 || e === "" ? C : e,
|
|
104
102
|
y: o,
|
|
105
103
|
query: {}
|
|
@@ -107,7 +105,7 @@ const L = (s) => P(s)?.x ?? C, Me = j(
|
|
|
107
105
|
return X(l);
|
|
108
106
|
};
|
|
109
107
|
function se(s) {
|
|
110
|
-
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n =
|
|
108
|
+
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = Q(i), a = r ?? `series_${Date.now()}`;
|
|
111
109
|
return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = K, n.fillSymbol?.outline && (n.fillSymbol.outline.color = K)), n;
|
|
112
110
|
}
|
|
113
111
|
function te(s) {
|
|
@@ -209,7 +207,7 @@ function oe(s) {
|
|
|
209
207
|
)), i;
|
|
210
208
|
}
|
|
211
209
|
async function Ve(s) {
|
|
212
|
-
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } =
|
|
210
|
+
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = I(e)?.query ?? {}, c = l ?? L(e), { categoriesArray: f, splitByFieldType: F } = await Fe({
|
|
213
211
|
config: e,
|
|
214
212
|
layer: n,
|
|
215
213
|
layerFieldsInfo: a,
|
|
@@ -251,10 +249,10 @@ async function Ve(s) {
|
|
|
251
249
|
where: `${i}=${F === ye.String && B !== null ? `'${B}'` : B}`
|
|
252
250
|
}
|
|
253
251
|
}, b = e.series.find((ae) => ie(ae) === k);
|
|
254
|
-
b !== void 0 && (e.colorMatch || (A.type === u.BoxPlotSeries ?
|
|
252
|
+
b !== void 0 && (e.colorMatch || (A.type === u.BoxPlotSeries ? P(b) ? A.fillSymbol = b.fillSymbol : A.fillSymbol = {
|
|
255
253
|
...q(),
|
|
256
254
|
color: b.lineSymbol?.color
|
|
257
|
-
} :
|
|
255
|
+
} : P(b) ? (A.lineSymbol = {
|
|
258
256
|
..._({ width: G }),
|
|
259
257
|
...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
|
|
260
258
|
}, A.markerSymbol = {
|
|
@@ -277,10 +275,10 @@ async function Ve(s) {
|
|
|
277
275
|
}
|
|
278
276
|
return x;
|
|
279
277
|
}
|
|
280
|
-
const
|
|
281
|
-
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = qe(o, t, e), y =
|
|
282
|
-
let g =
|
|
283
|
-
if (!y.includes(c) && y.includes(o) ? g =
|
|
278
|
+
const vs = async (s) => {
|
|
279
|
+
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = qe(o, t, e), y = fe(n), c = L(i), f = Te(i, r, l), F = H(i, r, l), x = ve({ config: i, layerInfo: r, newCategory: o });
|
|
280
|
+
let g = Z(i);
|
|
281
|
+
if (!y.includes(c) && y.includes(o) ? g = pe() : y.includes(c) && !y.includes(o) && (g = ge()), g !== void 0 && he(i, l, g), $(a ? { newShowMeanLines: i.showMean, config: i, commonStrings: l } : { newShowMeanLines: !1, config: i, commonStrings: l }), i.series = a ? await Ve({
|
|
284
282
|
config: i,
|
|
285
283
|
layerInfo: r,
|
|
286
284
|
splitByField: e,
|
|
@@ -329,7 +327,7 @@ function re(s, e, t) {
|
|
|
329
327
|
valueField: n
|
|
330
328
|
})), y;
|
|
331
329
|
}
|
|
332
|
-
const
|
|
330
|
+
const Ms = (s) => {
|
|
333
331
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
334
332
|
let r = typeof e.y == "string" ? w(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
335
333
|
return ce(t) || (r = ie(e)), r = R({
|
|
@@ -337,13 +335,13 @@ const Is = (s) => {
|
|
|
337
335
|
fieldName: t,
|
|
338
336
|
fieldValue: r ?? ""
|
|
339
337
|
}) ?? r, r ?? e.id;
|
|
340
|
-
},
|
|
338
|
+
}, Os = (s) => s?.showOutliers ?? !1, Is = (s) => {
|
|
341
339
|
const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
|
|
342
|
-
if (t.showOutliers = e,
|
|
340
|
+
if (t.showOutliers = e, H(t, o, i)) {
|
|
343
341
|
const l = T(t, o, i);
|
|
344
342
|
D(t, 1, l);
|
|
345
343
|
}
|
|
346
|
-
},
|
|
344
|
+
}, Ps = (s) => {
|
|
347
345
|
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = z(1, t), l = T(t, o, i), n = V(t);
|
|
348
346
|
if (t.standardizeValues = e, r === l || n) {
|
|
349
347
|
const a = T(t, o, i);
|
|
@@ -364,7 +362,7 @@ const Is = (s) => {
|
|
|
364
362
|
break;
|
|
365
363
|
}
|
|
366
364
|
return e;
|
|
367
|
-
},
|
|
365
|
+
}, Ds = (s, e, t) => {
|
|
368
366
|
let o = p.Category, i = h.Ascending;
|
|
369
367
|
if (e.orderOptions = e.orderOptions ?? {}, s === m.customSort && t !== void 0)
|
|
370
368
|
e.orderOptions.data = {
|
|
@@ -407,26 +405,26 @@ const Is = (s) => {
|
|
|
407
405
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : Be(t), l = (e ?? !1) !== (t.showMean ?? !1);
|
|
408
406
|
if (t.showMean = e, l) {
|
|
409
407
|
let n;
|
|
410
|
-
e ? n =
|
|
408
|
+
e ? n = xe(t.series) ? Pe(t.series, o) : t.series : n = De(t.series), n && (n = oe({
|
|
411
409
|
formerSeries: t.series,
|
|
412
410
|
newSeries: n,
|
|
413
411
|
showMean: e
|
|
414
412
|
}), t.series = n);
|
|
415
413
|
}
|
|
416
414
|
return e && i !== void 0 && Ce(i, t), { previousMeanLinesBoxColor: r };
|
|
417
|
-
},
|
|
415
|
+
}, Vs = (s) => {
|
|
418
416
|
let e = [];
|
|
419
417
|
const t = s.orderOptions?.data?.orderType;
|
|
420
418
|
return le(s) === m.customSort && t === p.Category && (e = s.orderOptions?.data?.orderBy), e;
|
|
421
|
-
},
|
|
419
|
+
}, ks = (s, e) => {
|
|
422
420
|
e.orderOptions ??= {};
|
|
423
421
|
const t = e.orderOptions?.data?.orderType;
|
|
424
422
|
le(e) === m.customSort && t === p.Category && (e.orderOptions.data = {
|
|
425
423
|
orderType: p.Category,
|
|
426
424
|
orderBy: s
|
|
427
425
|
});
|
|
428
|
-
},
|
|
429
|
-
const t = L(s), o =
|
|
426
|
+
}, Ns = async (s, e) => {
|
|
427
|
+
const t = L(s), o = Z(s)?.type, i = ee(s);
|
|
430
428
|
let r = [];
|
|
431
429
|
return o === u.CategoryAxisFormat && (E({
|
|
432
430
|
fieldName: t,
|
|
@@ -439,34 +437,34 @@ const Is = (s) => {
|
|
|
439
437
|
}))), r;
|
|
440
438
|
}, Y = (s) => s.trim() === "" || s === C, Ne = (s, e) => e.length > 1 && !Y(s), qe = (s, e, t) => !Ne(s, e) && t !== "";
|
|
441
439
|
export {
|
|
442
|
-
|
|
440
|
+
Ts as A,
|
|
443
441
|
re as B,
|
|
444
442
|
T as C,
|
|
445
|
-
|
|
443
|
+
Ms as D,
|
|
446
444
|
L as a,
|
|
447
445
|
ee as b,
|
|
448
446
|
Me as c,
|
|
449
|
-
|
|
450
|
-
|
|
447
|
+
Os as d,
|
|
448
|
+
Is as e,
|
|
451
449
|
ke as f,
|
|
452
450
|
N as g,
|
|
453
|
-
|
|
451
|
+
Ps as h,
|
|
454
452
|
le as i,
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
453
|
+
Ds as j,
|
|
454
|
+
Ns as k,
|
|
455
|
+
Vs as l,
|
|
456
|
+
ks as m,
|
|
459
457
|
$ as n,
|
|
460
458
|
Be as o,
|
|
461
459
|
Ce as p,
|
|
462
460
|
qe as q,
|
|
463
|
-
|
|
461
|
+
vs as r,
|
|
464
462
|
Ne as s,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
463
|
+
As as t,
|
|
464
|
+
Bs as u,
|
|
465
|
+
Cs as v,
|
|
466
|
+
ws as w,
|
|
469
467
|
we as x,
|
|
470
468
|
Le as y,
|
|
471
|
-
|
|
469
|
+
Ls as z
|
|
472
470
|
};
|
|
@@ -4,16 +4,17 @@ import { B as P } from "./common.js";
|
|
|
4
4
|
import { W as D, a as T, b as V } from "./axis-lines-symbol.js";
|
|
5
5
|
import { W as N, b as E } from "./model-with-guides.js";
|
|
6
6
|
import { W as R, a as U, b as z } from "./generate-x-axis-title.js";
|
|
7
|
-
import { M as X, a as K, W as
|
|
8
|
-
import { W as
|
|
9
|
-
import { W as
|
|
10
|
-
import { g as
|
|
7
|
+
import { M as X, a as K, W as j, b as J } from "./model-with-tooltips.js";
|
|
8
|
+
import { W as Y } from "./rotated-state.js";
|
|
9
|
+
import { W as k } from "./data-labels-symbol.js";
|
|
10
|
+
import { g as G, s as g, a as q, b as f } from "./series.js";
|
|
11
11
|
import { b as H, c as Q, a as Z } from "./utils.js";
|
|
12
|
-
import { s as $, d as ee, e as te, f as se, h as ie, i as y, j as
|
|
12
|
+
import { s as $, d as ee, e as te, f as se, h as ie, i as y, j as p, k as u, l as m, m as S, g as oe, n as re, o as ne, p as L, a as ae, c as le, b as he, q as ce, r as _, t as de, u as C, v as ge, w as B, x as fe, y as ye, z as pe, A as ue, B as me, C as Se, D as M } from "./box-plot-data.js";
|
|
13
13
|
import { m as r } from "./model-setter.js";
|
|
14
14
|
import { log as F } from "@arcgis/toolkit/log";
|
|
15
15
|
import { u as Le } from "./series-types.js";
|
|
16
|
-
import { z as x, aD as _e, aF as Ce,
|
|
16
|
+
import { z as x, aD as _e, aF as Ce, bJ as Be, dJ as Me, F as b, J as v, K as w } from "./index.js";
|
|
17
|
+
import { g as l } from "./index4.js";
|
|
17
18
|
import { M as Fe, a as xe } from "./model-with-y-guides.js";
|
|
18
19
|
var be = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, n = (c, e, t, s) => {
|
|
19
20
|
for (var o = ve(e, t), a = c.length - 1, h; a >= 0; a--)
|
|
@@ -94,21 +95,21 @@ class i extends A {
|
|
|
94
95
|
return y(this._config);
|
|
95
96
|
}
|
|
96
97
|
setSortOrder(e, t) {
|
|
97
|
-
|
|
98
|
+
p(e, this._config, t);
|
|
98
99
|
}
|
|
99
100
|
/**
|
|
100
101
|
* Gets the list of the category values for the chart.
|
|
101
102
|
*/
|
|
102
103
|
async getCustomSortValues() {
|
|
103
|
-
return await
|
|
104
|
+
return await u(this._config, this.layerInfo);
|
|
104
105
|
}
|
|
105
106
|
async setDataFilters(e) {
|
|
106
107
|
super.setDataFilters(e);
|
|
107
108
|
const t = y(this._config);
|
|
108
109
|
if (t === P.customSort) {
|
|
109
110
|
this.startAsyncUpdate();
|
|
110
|
-
const s = await
|
|
111
|
-
|
|
111
|
+
const s = await u(this._config, this.layerInfo);
|
|
112
|
+
p(t, this._config, s), this.finishAsyncUpdate();
|
|
112
113
|
}
|
|
113
114
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
114
115
|
}
|
|
@@ -255,7 +256,7 @@ class i extends A {
|
|
|
255
256
|
getSeriesLineStyle(e) {
|
|
256
257
|
const t = this._config.series[e];
|
|
257
258
|
if (this.showMeanLines === !0 && l(t))
|
|
258
|
-
return
|
|
259
|
+
return G(t);
|
|
259
260
|
}
|
|
260
261
|
setSeriesLineStyle(e, t) {
|
|
261
262
|
const s = this._config.series[t];
|
|
@@ -287,7 +288,7 @@ class i extends A {
|
|
|
287
288
|
ye(e, this._config);
|
|
288
289
|
}
|
|
289
290
|
moveSeries(e, t) {
|
|
290
|
-
|
|
291
|
+
pe(e, t, this._config);
|
|
291
292
|
}
|
|
292
293
|
/**
|
|
293
294
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
@@ -295,7 +296,7 @@ class i extends A {
|
|
|
295
296
|
* **Note**: There is only one box plot series when show mean is `true`. The function returns `-1` if show mean is `false`.
|
|
296
297
|
*/
|
|
297
298
|
get boxPlotSeriesIndexWhenMeanLinesShown() {
|
|
298
|
-
return
|
|
299
|
+
return ue(this._config);
|
|
299
300
|
}
|
|
300
301
|
moveCustomSortValuesInOrderByList(e, t) {
|
|
301
302
|
const s = m(this._config), [o] = s.splice(e, 1);
|
|
@@ -414,10 +415,10 @@ const we = [
|
|
|
414
415
|
Fe,
|
|
415
416
|
X,
|
|
416
417
|
K,
|
|
418
|
+
j,
|
|
417
419
|
Y,
|
|
420
|
+
J,
|
|
418
421
|
k,
|
|
419
|
-
j,
|
|
420
|
-
G,
|
|
421
422
|
xe,
|
|
422
423
|
R,
|
|
423
424
|
N,
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { a as
|
|
3
|
-
import { a as
|
|
2
|
+
import { a as w } from "./utils.js";
|
|
3
|
+
import { a as j, W, c as F, d as I } from "./series-length.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "./series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import { aI as p, T as c, aM as f,
|
|
9
|
+
import { aI as p, T as c, aM as f, dY as L, ap as N } from "./index.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
-
import "@amcharts/amcharts4/core.js";
|
|
14
|
-
import "@amcharts/amcharts4/charts.js";
|
|
15
|
-
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
16
13
|
import "@esri/arcgis-html-sanitizer";
|
|
17
14
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
15
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -42,7 +39,7 @@ var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r
|
|
|
42
39
|
};
|
|
43
40
|
const B = (e) => e.title?.content, E = (e, t) => {
|
|
44
41
|
if (e) {
|
|
45
|
-
const r =
|
|
42
|
+
const r = j(t);
|
|
46
43
|
t.title === void 0 && (t.title = p({
|
|
47
44
|
text: "",
|
|
48
45
|
visible: !0,
|
|
@@ -65,8 +62,8 @@ class u extends n {
|
|
|
65
62
|
U([
|
|
66
63
|
a
|
|
67
64
|
], u.prototype, "titleSymbol");
|
|
68
|
-
var q = Object.defineProperty,
|
|
69
|
-
for (var i =
|
|
65
|
+
var q = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, z = (e, t, r, l) => {
|
|
66
|
+
for (var i = Y(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
70
67
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
71
68
|
return i && q(t, r, i), i;
|
|
72
69
|
};
|
|
@@ -81,10 +78,10 @@ class h extends n {
|
|
|
81
78
|
this._config = t;
|
|
82
79
|
}
|
|
83
80
|
}
|
|
84
|
-
|
|
81
|
+
z([
|
|
85
82
|
a
|
|
86
83
|
], h.prototype, "config");
|
|
87
|
-
class
|
|
84
|
+
class A extends n {
|
|
88
85
|
/**
|
|
89
86
|
* The chart model's layer.
|
|
90
87
|
*/
|
|
@@ -92,33 +89,33 @@ class G extends n {
|
|
|
92
89
|
return this.layerInfo?.layer;
|
|
93
90
|
}
|
|
94
91
|
}
|
|
95
|
-
const
|
|
92
|
+
const G = (e) => e.id, H = (e, t) => {
|
|
96
93
|
t.id = e;
|
|
97
94
|
};
|
|
98
|
-
class
|
|
95
|
+
class J extends n {
|
|
99
96
|
/**
|
|
100
97
|
* The chart ID.
|
|
101
98
|
*/
|
|
102
99
|
get chartId() {
|
|
103
|
-
return
|
|
100
|
+
return G(this._config);
|
|
104
101
|
}
|
|
105
102
|
set chartId(t) {
|
|
106
|
-
|
|
103
|
+
H(t, this._config);
|
|
107
104
|
}
|
|
108
105
|
}
|
|
109
|
-
const
|
|
110
|
-
class
|
|
106
|
+
const K = (e) => e.version;
|
|
107
|
+
class Q extends n {
|
|
111
108
|
/**
|
|
112
109
|
* The version of the chart configuration.
|
|
113
110
|
*/
|
|
114
111
|
get version() {
|
|
115
|
-
return
|
|
112
|
+
return K(this._config);
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
|
-
var
|
|
115
|
+
var X = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, k = (e, t, r, l) => {
|
|
119
116
|
for (var i = Z(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
120
117
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
121
|
-
return i &&
|
|
118
|
+
return i && X(t, r, i), i;
|
|
122
119
|
};
|
|
123
120
|
const b = (e) => e.subtitle?.content.text ?? "", tt = (e, t) => {
|
|
124
121
|
t.subtitle !== void 0 ? t.subtitle.content.text = e : e !== void 0 && (t.subtitle = p({
|
|
@@ -210,7 +207,7 @@ const ht = (e) => e.footer?.content, bt = (e, t) => {
|
|
|
210
207
|
})), t.footer.content = e, t.footer.content.text = r;
|
|
211
208
|
}
|
|
212
209
|
};
|
|
213
|
-
class
|
|
210
|
+
class y extends n {
|
|
214
211
|
/**
|
|
215
212
|
* The description text symbol. Contains styling information such as font, color, and symbol style.
|
|
216
213
|
*/
|
|
@@ -223,20 +220,20 @@ class m extends n {
|
|
|
223
220
|
}
|
|
224
221
|
ut([
|
|
225
222
|
a
|
|
226
|
-
],
|
|
223
|
+
], y.prototype, "descriptionSymbol");
|
|
227
224
|
var _t = Object.defineProperty, dt = Object.getOwnPropertyDescriptor, vt = (e, t, r, l) => {
|
|
228
225
|
for (var i = dt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
229
226
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
230
227
|
return i && _t(t, r, i), i;
|
|
231
228
|
};
|
|
232
|
-
const gt = (e) => e.title ? e.title.visible ?? !0 : !1,
|
|
229
|
+
const gt = (e) => e.title ? e.title.visible ?? !0 : !1, yt = (e, t) => {
|
|
233
230
|
t.title !== void 0 ? t.title.visible = e : t.title = p({
|
|
234
231
|
text: "",
|
|
235
232
|
visible: e,
|
|
236
233
|
font: f(c.ChartTitle)
|
|
237
234
|
});
|
|
238
235
|
};
|
|
239
|
-
class
|
|
236
|
+
class m extends n {
|
|
240
237
|
/**
|
|
241
238
|
* Whether or not the chart title is visible.
|
|
242
239
|
*
|
|
@@ -246,16 +243,16 @@ class y extends n {
|
|
|
246
243
|
return gt(this._config);
|
|
247
244
|
}
|
|
248
245
|
set chartTitleVisibility(t) {
|
|
249
|
-
|
|
246
|
+
yt(t, this._config);
|
|
250
247
|
}
|
|
251
248
|
}
|
|
252
249
|
vt([
|
|
253
250
|
a
|
|
254
|
-
],
|
|
255
|
-
var
|
|
251
|
+
], m.prototype, "chartTitleVisibility");
|
|
252
|
+
var mt = Object.defineProperty, xt = Object.getOwnPropertyDescriptor, Ot = (e, t, r, l) => {
|
|
256
253
|
for (var i = xt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
257
254
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
258
|
-
return i &&
|
|
255
|
+
return i && mt(t, r, i), i;
|
|
259
256
|
};
|
|
260
257
|
const Pt = (e) => e.subtitle ? e.subtitle.visible ?? !0 : !1, Dt = (e, t) => {
|
|
261
258
|
t.subtitle !== void 0 ? t.subtitle.visible = e : t.subtitle = p({
|
|
@@ -308,8 +305,8 @@ class P extends n {
|
|
|
308
305
|
Tt([
|
|
309
306
|
a
|
|
310
307
|
], P.prototype, "descriptionVisibility");
|
|
311
|
-
var $t = Object.defineProperty,
|
|
312
|
-
for (var i =
|
|
308
|
+
var $t = Object.defineProperty, wt = Object.getOwnPropertyDescriptor, jt = (e, t, r, l) => {
|
|
309
|
+
for (var i = wt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
313
310
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
314
311
|
return i && $t(t, r, i), i;
|
|
315
312
|
};
|
|
@@ -369,7 +366,7 @@ class D extends n {
|
|
|
369
366
|
Ft(t, this._config);
|
|
370
367
|
}
|
|
371
368
|
}
|
|
372
|
-
|
|
369
|
+
jt([
|
|
373
370
|
a
|
|
374
371
|
], D.prototype, "chartRenderer");
|
|
375
372
|
var It = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, Nt = (e, t, r, l) => {
|
|
@@ -399,7 +396,7 @@ var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t
|
|
|
399
396
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
400
397
|
return i && Ut(t, r, i), i;
|
|
401
398
|
};
|
|
402
|
-
const qt = (e, t) => t.series[e].visible ?? !0,
|
|
399
|
+
const qt = (e, t) => t.series[e].visible ?? !0, Yt = (e, t) => {
|
|
403
400
|
L({ detail: e }, t);
|
|
404
401
|
};
|
|
405
402
|
class C extends n {
|
|
@@ -412,14 +409,14 @@ class C extends n {
|
|
|
412
409
|
return qt(t, this._config);
|
|
413
410
|
}
|
|
414
411
|
setSeriesVisibility(t) {
|
|
415
|
-
|
|
412
|
+
Yt(t, this._config);
|
|
416
413
|
}
|
|
417
414
|
}
|
|
418
415
|
Et([
|
|
419
416
|
a
|
|
420
417
|
], C.prototype, "setSeriesVisibility");
|
|
421
|
-
const
|
|
422
|
-
class
|
|
418
|
+
const zt = (e, t) => t.series[e]?.id;
|
|
419
|
+
class At extends n {
|
|
423
420
|
/**
|
|
424
421
|
* Gets the series ID for a given series index.
|
|
425
422
|
* If the series index is out of bounds, this function will return `undefined`.
|
|
@@ -427,11 +424,11 @@ class Gt extends n {
|
|
|
427
424
|
* @param seriesIndex - The index of the series.
|
|
428
425
|
*/
|
|
429
426
|
getSeriesId(t) {
|
|
430
|
-
return
|
|
427
|
+
return zt(t, this._config);
|
|
431
428
|
}
|
|
432
429
|
}
|
|
433
|
-
const
|
|
434
|
-
class
|
|
430
|
+
const Gt = (e, t) => t.series.findIndex((r) => r.id === e);
|
|
431
|
+
class Ht extends n {
|
|
435
432
|
/**
|
|
436
433
|
* Gets the series index for a given series ID.
|
|
437
434
|
* If the series ID is not found, this function will return `undefined`.
|
|
@@ -439,22 +436,22 @@ class Jt extends n {
|
|
|
439
436
|
* @param seriesId - The ID of the series.
|
|
440
437
|
*/
|
|
441
438
|
getSeriesIndex(t) {
|
|
442
|
-
return
|
|
439
|
+
return Gt(t, this._config);
|
|
443
440
|
}
|
|
444
441
|
}
|
|
445
|
-
const
|
|
446
|
-
class
|
|
442
|
+
const Jt = (e) => N(e.series);
|
|
443
|
+
class Kt extends n {
|
|
447
444
|
/**
|
|
448
445
|
* The chart sub type of the series.
|
|
449
446
|
*/
|
|
450
447
|
get chartSubType() {
|
|
451
|
-
return
|
|
448
|
+
return Jt(this._config);
|
|
452
449
|
}
|
|
453
450
|
}
|
|
454
|
-
var
|
|
455
|
-
for (var i =
|
|
451
|
+
var Qt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, Zt = (e, t, r, l) => {
|
|
452
|
+
for (var i = Xt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
456
453
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
457
|
-
return i &&
|
|
454
|
+
return i && Qt(t, r, i), i;
|
|
458
455
|
};
|
|
459
456
|
const kt = (e, t) => {
|
|
460
457
|
let r;
|
|
@@ -535,31 +532,31 @@ class fe extends n {
|
|
|
535
532
|
}
|
|
536
533
|
const ue = [
|
|
537
534
|
h,
|
|
538
|
-
|
|
539
|
-
|
|
535
|
+
A,
|
|
536
|
+
J,
|
|
540
537
|
W,
|
|
541
538
|
u,
|
|
542
|
-
|
|
539
|
+
Q,
|
|
543
540
|
_,
|
|
544
541
|
d,
|
|
545
542
|
g,
|
|
546
|
-
m,
|
|
547
543
|
y,
|
|
544
|
+
m,
|
|
548
545
|
x,
|
|
549
546
|
P,
|
|
550
547
|
D,
|
|
551
548
|
S,
|
|
552
549
|
C,
|
|
553
|
-
|
|
554
|
-
|
|
550
|
+
At,
|
|
551
|
+
Ht,
|
|
555
552
|
F,
|
|
556
|
-
|
|
553
|
+
Kt,
|
|
557
554
|
T,
|
|
558
555
|
V,
|
|
559
556
|
I,
|
|
560
557
|
$
|
|
561
558
|
];
|
|
562
|
-
|
|
559
|
+
w(fe, ue);
|
|
563
560
|
export {
|
|
564
561
|
fe as C
|
|
565
562
|
};
|