@arcgis/charts-components 5.2.0-next.146 → 5.2.0-next.147
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/{H36JC7RS.js → 2CDMMKPJ.js} +1 -1
- package/dist/cdn/2CZEJ5DR.js +2 -0
- package/dist/cdn/2GE65C6S.js +2 -0
- package/dist/cdn/3BRUUROM.js +2 -0
- package/dist/cdn/3JVIX4TL.js +2 -0
- package/dist/cdn/3RI6PWDI.js +2 -0
- package/dist/cdn/46LRKKNP.js +2 -0
- package/dist/cdn/{7XXQ5IQP.js → 4752WHSR.js} +19 -19
- package/dist/cdn/4BM25G3S.js +2 -0
- package/dist/cdn/4VSBIIP2.js +2 -0
- package/dist/cdn/4XK5YE6C.js +2 -0
- package/dist/cdn/5JERAZSG.js +2 -0
- package/dist/cdn/5PTMLDOB.js +2 -0
- package/dist/cdn/65I7BUS4.js +2 -0
- package/dist/cdn/6JSWJHZB.js +2 -0
- package/dist/cdn/7DWJIEIJ.js +2 -0
- package/dist/cdn/{TDNH4JI7.js → 7HN4DADA.js} +1 -1
- package/dist/cdn/7IJMKD5M.js +2 -0
- package/dist/cdn/7MBF4226.js +2 -0
- package/dist/cdn/{DKLABJXF.js → 7NMS7SSF.js} +1 -1
- package/dist/cdn/7PW4JAXI.js +2 -0
- package/dist/cdn/7ZDSUAN6.js +2 -0
- package/dist/cdn/AKG64YBZ.js +2 -0
- package/dist/cdn/{KA5QPUCJ.js → AQOVEDUP.js} +1 -1
- package/dist/cdn/B3V4VZYM.js +2 -0
- package/dist/cdn/BDUTHXO4.js +2 -0
- package/dist/cdn/BKABNAQM.js +2 -0
- package/dist/cdn/BOGEJ7J7.js +2 -0
- package/dist/cdn/{UUL34HTQ.js → C2GHXSU5.js} +2 -2
- package/dist/cdn/C3XMGCU5.js +2 -0
- package/dist/cdn/CEZ2VRFW.js +2 -0
- package/dist/cdn/CZVLHPR7.js +2 -0
- package/dist/cdn/D3Z4NVKQ.js +2 -0
- package/dist/cdn/{EI7ZUDXB.js → E66QO3GL.js} +1 -1
- package/dist/cdn/EEN4U5XM.js +2 -0
- package/dist/cdn/EU5EYFH2.js +2 -0
- package/dist/cdn/EYEWINUB.js +4 -0
- package/dist/cdn/FGNSVA6W.js +2 -0
- package/dist/cdn/FIFXR6OH.js +2 -0
- package/dist/cdn/FM6AHBVU.js +2 -0
- package/dist/cdn/GBL2FACR.js +2 -0
- package/dist/cdn/GZAROP4P.js +2 -0
- package/dist/cdn/H4GILMDJ.js +2 -0
- package/dist/cdn/HDUMEWQL.js +2 -0
- package/dist/cdn/HMHWVIF2.js +2 -0
- package/dist/cdn/HRZK3GLD.js +2 -0
- package/dist/cdn/I2FZ2KUR.js +2 -0
- package/dist/cdn/{OGCRWWFL.js → IMSN4JMC.js} +1 -1
- package/dist/cdn/INYPNEFZ.js +2 -0
- package/dist/cdn/IPPQ6AYM.js +2 -0
- package/dist/cdn/{MTXPJFNG.js → IQHYD6VM.js} +1 -1
- package/dist/cdn/JMYVXU4O.js +2 -0
- package/dist/cdn/JWGHSOOD.js +2 -0
- package/dist/cdn/{SO5USEBM.js → K4GPJ36N.js} +1 -1
- package/dist/cdn/{LEPCYIRR.js → K5H4XE7T.js} +1 -1
- package/dist/cdn/KMMYG2QX.js +2 -0
- package/dist/cdn/{O6RDIRJM.js → KUGVL62E.js} +1 -1
- package/dist/cdn/KVHAU3R7.js +2 -0
- package/dist/cdn/M7PFJOW7.js +2 -0
- package/dist/cdn/MTAGYPDJ.js +2 -0
- package/dist/cdn/MVVC6PKQ.js +2 -0
- package/dist/cdn/MVXG6N2M.js +2 -0
- package/dist/cdn/N2DHNIDT.js +2 -0
- package/dist/cdn/N3YF4TVT.js +2 -0
- package/dist/cdn/{HJGMSR6N.js → OOFDTNBW.js} +2 -2
- package/dist/cdn/OXY57UUR.js +2 -0
- package/dist/cdn/{R2P77G67.js → P5RPGI3P.js} +1 -1
- package/dist/cdn/PNVMXN36.js +2 -0
- package/dist/cdn/PU63PVCT.js +2 -0
- package/dist/cdn/QFFPKVJF.js +2 -0
- package/dist/cdn/QGC2DLQ4.js +2 -0
- package/dist/cdn/QN2JEZ5D.js +2 -0
- package/dist/cdn/S2PIPJCQ.js +2 -0
- package/dist/cdn/SHQXINAI.js +2 -0
- package/dist/cdn/TQS3LLJX.js +2 -0
- package/dist/cdn/{5NZPWYB3.js → TRTVGVQR.js} +1 -1
- package/dist/cdn/UUXIIGCK.js +2 -0
- package/dist/cdn/{LAPRXJDG.js → V32BIR37.js} +1 -1
- package/dist/cdn/VPADWNW7.js +2 -0
- package/dist/cdn/VZ64E76N.js +2 -0
- package/dist/cdn/WK4FA5IO.js +2 -0
- package/dist/cdn/YB4ZDSSI.js +2 -0
- package/dist/cdn/YIYP2ECR.js +2 -0
- package/dist/cdn/YM5SNR26.js +2 -0
- package/dist/cdn/YOUVPC2K.js +2 -0
- package/dist/cdn/YUOEB6DF.js +2 -0
- package/dist/cdn/Z73I4R5C.js +2 -0
- package/dist/cdn/{IE74ZFBJ.js → ZGGFAHQL.js} +1 -1
- package/dist/cdn/ZUYZHJTU.js +2 -0
- 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 +4925 -3831
- 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 +246 -249
- 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 +62 -63
- 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 +1292 -1290
- 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 +1 -1
- 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 +7 -7
- 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 +383 -385
- package/dist/loader.js +1 -1
- package/dist/utils/chart-config/converter/index.js +52 -54
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/23TENJ5Q.js +0 -2
- package/dist/cdn/2DK243HR.js +0 -2
- package/dist/cdn/2GXVCQYN.js +0 -2
- package/dist/cdn/2XJCMLPF.js +0 -2
- package/dist/cdn/3FXMH674.js +0 -2
- package/dist/cdn/3YQQKFJG.js +0 -2
- package/dist/cdn/4GV732HK.js +0 -2
- package/dist/cdn/4PPOR4M7.js +0 -2
- package/dist/cdn/4X272OSF.js +0 -2
- package/dist/cdn/56F3AL2Y.js +0 -2
- package/dist/cdn/573EXO3B.js +0 -2
- package/dist/cdn/5JYYYQOA.js +0 -2
- package/dist/cdn/5VXSGQMB.js +0 -2
- package/dist/cdn/5YTTFXTS.js +0 -2
- package/dist/cdn/6MUHS3DQ.js +0 -2
- package/dist/cdn/ABR3ITNH.js +0 -2
- package/dist/cdn/AKO6RW7U.js +0 -2
- package/dist/cdn/AMEPVSZ7.js +0 -2
- package/dist/cdn/AXYHBCKL.js +0 -2
- package/dist/cdn/B2WPFQXW.js +0 -2
- package/dist/cdn/B7K6DW3K.js +0 -2
- package/dist/cdn/BTGS2QCT.js +0 -2
- package/dist/cdn/BUKMCN4D.js +0 -2
- package/dist/cdn/BX2A6J3D.js +0 -2
- package/dist/cdn/CFV3CL5T.js +0 -2
- package/dist/cdn/DG2C6JNR.js +0 -2
- package/dist/cdn/DJ36UFHC.js +0 -2
- package/dist/cdn/DMKL5RXV.js +0 -2
- package/dist/cdn/DMZFCYTU.js +0 -2
- package/dist/cdn/DTTSOAYD.js +0 -2
- package/dist/cdn/ECNR5FG3.js +0 -2
- package/dist/cdn/EKYQTAYU.js +0 -2
- package/dist/cdn/EWY2N7P3.js +0 -2
- package/dist/cdn/F7DDG24M.js +0 -2
- package/dist/cdn/FB3QV7TM.js +0 -2
- package/dist/cdn/FER5TBI4.js +0 -2
- package/dist/cdn/FIJYAFZI.js +0 -2
- package/dist/cdn/FJVJ3TWZ.js +0 -2
- package/dist/cdn/GTYP4LFB.js +0 -2
- package/dist/cdn/HFAWW6AZ.js +0 -2
- package/dist/cdn/I4QW6KJM.js +0 -2
- package/dist/cdn/ICXLAPAZ.js +0 -2
- package/dist/cdn/IEOBULER.js +0 -2
- package/dist/cdn/IKI4R2AF.js +0 -2
- package/dist/cdn/JMUSJRQ2.js +0 -2
- package/dist/cdn/JUCHPZVF.js +0 -2
- package/dist/cdn/KT2KBAWX.js +0 -2
- package/dist/cdn/LCDIALWF.js +0 -2
- package/dist/cdn/LCKHL7M7.js +0 -2
- package/dist/cdn/M3AQUNQA.js +0 -2
- package/dist/cdn/MWVU2K3B.js +0 -2
- package/dist/cdn/MZQPZI5A.js +0 -2
- package/dist/cdn/N4ZLZT6F.js +0 -2
- package/dist/cdn/NEGVMBWT.js +0 -2
- package/dist/cdn/NVAZ3LMN.js +0 -2
- package/dist/cdn/OYPLZUFW.js +0 -2
- package/dist/cdn/OYSMUQB2.js +0 -2
- package/dist/cdn/PFOL3AEU.js +0 -2
- package/dist/cdn/PNFPQKYB.js +0 -3
- package/dist/cdn/QPLAJO6P.js +0 -2
- package/dist/cdn/RAGI3IZ5.js +0 -2
- package/dist/cdn/RQEFR6WH.js +0 -2
- package/dist/cdn/SXCQO7HX.js +0 -2
- package/dist/cdn/TJXAWOIH.js +0 -3
- package/dist/cdn/UH56LO46.js +0 -2
- package/dist/cdn/UT3QAYWV.js +0 -2
- package/dist/cdn/VXITTAEA.js +0 -2
- package/dist/cdn/W4MG6NNE.js +0 -2
- package/dist/cdn/WOGALV3T.js +0 -2
- package/dist/cdn/YFRLUWXC.js +0 -2
- package/dist/cdn/YR67M53A.js +0 -2
- package/dist/cdn/YRIGUFDE.js +0 -2
- package/dist/cdn/YWGE544D.js +0 -2
- package/dist/cdn/ZKMAFBKI.js +0 -2
- package/dist/cdn/ZSB42EY4.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/{5L7BAEX5.js → 43DLRSYB.js} +0 -0
- /package/dist/cdn/{Q45WYAOY.js → DRYZWCWX.js} +0 -0
- /package/dist/cdn/{TOL6YNER.js → O4TPXFX4.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isEqual as x } from "es-toolkit/compat";
|
|
3
3
|
import { a as _, c as b, d as f } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
4
|
+
import { cz as v, cD as L, eJ as M, eK as P, c5 as p, u as V, eL as N, eI as k } from "./index.js";
|
|
5
|
+
import { i as R } from "./index3.js";
|
|
6
6
|
import { m as o } from "./model-setter.js";
|
|
7
|
-
import { S as
|
|
8
|
-
import { M as
|
|
9
|
-
import { M as
|
|
7
|
+
import { S as E } from "./common.js";
|
|
8
|
+
import { M as U, a as j, W as X, b as Y } from "./data-labels-visibility.js";
|
|
9
|
+
import { M as w, a as z } from "./model-with-y-guides.js";
|
|
10
10
|
import { C as O } from "./chart-model.js";
|
|
11
|
-
import { g as S, d as u, j as
|
|
12
|
-
import { M as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { W as
|
|
17
|
-
import { W as
|
|
18
|
-
import {
|
|
11
|
+
import { g as S, d as u, j as K, k as q, l as G, m as $, n as J, o as Z, q as H, t as Q, v as ee, w as ie, x as te, y as se, z as m, A as T, B, C as d, D as re, E as oe, e as ne, F as ae, W as le } from "./serial-chart-data.js";
|
|
12
|
+
import { M as ge } from "./model-with-x-guides.js";
|
|
13
|
+
import { W as ce, c as he, d as fe } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as ye, a as Se } from "./x-bounds.js";
|
|
16
|
+
import { W as ue } from "./data-labels-symbol.js";
|
|
17
|
+
import { W as _e } from "./rotated-state.js";
|
|
18
|
+
import { a as D, u as xe, d as C } from "./utils.js";
|
|
19
19
|
import { d as y, e as F, a as Te } from "./data.js";
|
|
20
|
-
import { u as Be, m as Ce,
|
|
21
|
-
import { s as
|
|
22
|
-
const
|
|
20
|
+
import { u as Be, m as Ce, ag as Fe, j as Ie, k as Ae } from "./index2.js";
|
|
21
|
+
import { s as W } from "./series-types.js";
|
|
22
|
+
const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
|
|
23
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
24
24
|
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Fe(r, _.BarSeries)[1]), t.series && t.series.forEach((l, g) => {
|
|
25
25
|
g === i ? l.assignToSecondValueAxis = e : g !== i && l?.assignToSecondValueAxis !== !0 && (l.assignToSecondValueAxis = !1);
|
|
@@ -41,31 +41,31 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
|
|
|
41
41
|
...t.lineSymbol,
|
|
42
42
|
color: s
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
44
|
+
}, De = (s) => s.series.map((e) => e.id), We = (s, e) => {
|
|
45
45
|
e.series?.sort(
|
|
46
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
47
47
|
);
|
|
48
48
|
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
49
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
50
50
|
if (i.stackedType = e, t !== void 0) {
|
|
51
|
-
const l =
|
|
51
|
+
const l = D({
|
|
52
52
|
config: i,
|
|
53
53
|
layerInfo: t,
|
|
54
54
|
commonStrings: r,
|
|
55
55
|
numericFields: u(i),
|
|
56
56
|
aggregationType: S(i)
|
|
57
57
|
});
|
|
58
|
-
|
|
58
|
+
xe(i, 1, l);
|
|
59
59
|
}
|
|
60
|
-
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat =
|
|
60
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Ie() : i.axes[1].valueFormat = Ae()), C({ config: i, value: null, axisIndex: 1, isMax: !1 }), C({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
61
61
|
}, Ve = (s) => {
|
|
62
62
|
const e = {};
|
|
63
63
|
return s.series.forEach((i) => {
|
|
64
|
-
|
|
64
|
+
W(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === _.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
|
|
65
65
|
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
66
66
|
}, Ne = (s, e) => {
|
|
67
67
|
s.series.forEach((i) => {
|
|
68
|
-
|
|
68
|
+
W(i) && (e ? i.type === _.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
var ke = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, h = (s, e, i, t) => {
|
|
@@ -78,37 +78,37 @@ class c extends O {
|
|
|
78
78
|
* Time interval size for a temporal bar chart or line chart.
|
|
79
79
|
*/
|
|
80
80
|
get temporalBinningSize() {
|
|
81
|
-
return
|
|
81
|
+
return K(this._config);
|
|
82
82
|
}
|
|
83
83
|
set temporalBinningSize(e) {
|
|
84
|
-
|
|
84
|
+
q(e, this._config);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Time interval units for a temporal bar chart or line chart.
|
|
88
88
|
*/
|
|
89
89
|
get temporalBinningUnit() {
|
|
90
|
-
return
|
|
90
|
+
return G(this._config);
|
|
91
91
|
}
|
|
92
92
|
set temporalBinningUnit(e) {
|
|
93
|
-
|
|
93
|
+
$(e, this._config);
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
97
97
|
*/
|
|
98
98
|
get timeAggregationType() {
|
|
99
|
-
return
|
|
99
|
+
return J(this._config);
|
|
100
100
|
}
|
|
101
101
|
set timeAggregationType(e) {
|
|
102
|
-
|
|
102
|
+
Z(e, this._config);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
106
106
|
*/
|
|
107
107
|
get trimIncompleteTimeInterval() {
|
|
108
|
-
return
|
|
108
|
+
return H(this._config);
|
|
109
109
|
}
|
|
110
110
|
set trimIncompleteTimeInterval(e) {
|
|
111
|
-
|
|
111
|
+
Q(e, this._config);
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Policy which tells the chart how to handle null values.
|
|
@@ -120,13 +120,13 @@ class c extends O {
|
|
|
120
120
|
* - Line series: connects the lines across null values.
|
|
121
121
|
*/
|
|
122
122
|
get nullPolicy() {
|
|
123
|
-
return
|
|
123
|
+
return ee(this._config);
|
|
124
124
|
}
|
|
125
125
|
set nullPolicy(e) {
|
|
126
|
-
|
|
126
|
+
ie(e, this._config);
|
|
127
127
|
}
|
|
128
128
|
resetTimeInterval() {
|
|
129
|
-
|
|
129
|
+
te(this._config);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
h([
|
|
@@ -234,7 +234,7 @@ class n extends O {
|
|
|
234
234
|
return this._aggregationType;
|
|
235
235
|
}
|
|
236
236
|
set aggregationType(e) {
|
|
237
|
-
this._aggregationType = e,
|
|
237
|
+
this._aggregationType = e, se({
|
|
238
238
|
aggregationType: e,
|
|
239
239
|
config: this._config,
|
|
240
240
|
layerInfo: this.layerInfo,
|
|
@@ -248,7 +248,7 @@ class n extends O {
|
|
|
248
248
|
return this._splitByField;
|
|
249
249
|
}
|
|
250
250
|
set splitByField(e) {
|
|
251
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
251
|
+
this.layerInfo?.layerFieldsInfo && M(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
254
254
|
* The numeric fields array for the chart.
|
|
@@ -258,9 +258,9 @@ class n extends O {
|
|
|
258
258
|
}
|
|
259
259
|
set numericFields(e) {
|
|
260
260
|
typeof e == "string" && (e = [e]);
|
|
261
|
-
const i =
|
|
261
|
+
const i = P(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
|
|
262
262
|
if (i && !t) {
|
|
263
|
-
const r =
|
|
263
|
+
const r = V(this.layerInfo.layer).idField;
|
|
264
264
|
e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = f.Count) : this._aggregationType === f.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = f.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
265
265
|
} else t && this.resetConfig();
|
|
266
266
|
}
|
|
@@ -271,10 +271,10 @@ class n extends O {
|
|
|
271
271
|
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
272
272
|
*/
|
|
273
273
|
getAssignToSecondValueAxis(e) {
|
|
274
|
-
return
|
|
274
|
+
return I(e, this._config);
|
|
275
275
|
}
|
|
276
276
|
setAssignToSecondValueAxis(e, i) {
|
|
277
|
-
|
|
277
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
280
|
* Gets whether the series should be assigned to the secondary y-axis.
|
|
@@ -282,10 +282,10 @@ class n extends O {
|
|
|
282
282
|
* @param seriesIndex - The index of the series.
|
|
283
283
|
*/
|
|
284
284
|
getSeriesToSecondaryYAxis(e) {
|
|
285
|
-
return
|
|
285
|
+
return I(e, this._config);
|
|
286
286
|
}
|
|
287
287
|
setSeriesToSecondaryYAxis(e, i) {
|
|
288
|
-
|
|
288
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
291
|
* Gets the data sort order for the chart.
|
|
@@ -332,7 +332,7 @@ class n extends O {
|
|
|
332
332
|
async setDataFilters(e) {
|
|
333
333
|
super.setDataFilters(e);
|
|
334
334
|
const i = m(this._config)[0];
|
|
335
|
-
if (i ===
|
|
335
|
+
if (i === E.customSort) {
|
|
336
336
|
this.startAsyncUpdate();
|
|
337
337
|
const t = await T({
|
|
338
338
|
config: this._config,
|
|
@@ -350,7 +350,7 @@ class n extends O {
|
|
|
350
350
|
return F(this._config);
|
|
351
351
|
}
|
|
352
352
|
set orderByList(e) {
|
|
353
|
-
!
|
|
353
|
+
!R(this._config) && B(e, this._config);
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
356
|
* Updates the series based on the layer filter.
|
|
@@ -372,10 +372,10 @@ class n extends O {
|
|
|
372
372
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
373
373
|
*/
|
|
374
374
|
get binTemporalData() {
|
|
375
|
-
return
|
|
375
|
+
return re(this._config);
|
|
376
376
|
}
|
|
377
377
|
set binTemporalData(e) {
|
|
378
|
-
|
|
378
|
+
oe(e, this._config);
|
|
379
379
|
}
|
|
380
380
|
// #endregion
|
|
381
381
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -414,10 +414,10 @@ class n extends O {
|
|
|
414
414
|
* orders categories or numeric values within the chart data.
|
|
415
415
|
*/
|
|
416
416
|
getOrderOfSeries() {
|
|
417
|
-
return
|
|
417
|
+
return De(this._config);
|
|
418
418
|
}
|
|
419
419
|
setOrderOfSeries(e) {
|
|
420
|
-
|
|
420
|
+
We(e, this._config);
|
|
421
421
|
}
|
|
422
422
|
/**
|
|
423
423
|
* How the bars (lines) should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
|
|
@@ -464,7 +464,7 @@ class n extends O {
|
|
|
464
464
|
* @private
|
|
465
465
|
*/
|
|
466
466
|
setupLocalProps() {
|
|
467
|
-
this._xAxisField = Te(this._config), this._aggregationType = S(this._config), this._splitByField =
|
|
467
|
+
this._xAxisField = Te(this._config), this._aggregationType = S(this._config), this._splitByField = ne(this._config), this._numericFields = u(this._config);
|
|
468
468
|
}
|
|
469
469
|
resetConfig() {
|
|
470
470
|
const e = this._config.id;
|
|
@@ -493,7 +493,7 @@ class n extends O {
|
|
|
493
493
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
494
494
|
*/
|
|
495
495
|
async fetchSplitByFieldInfos() {
|
|
496
|
-
return this.splitByFieldInfos = await
|
|
496
|
+
return this.splitByFieldInfos = await N({
|
|
497
497
|
config: this._config,
|
|
498
498
|
layer: this.layerInfo.layer,
|
|
499
499
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -529,13 +529,13 @@ class n extends O {
|
|
|
529
529
|
* Generate the proper chart title given the current config.
|
|
530
530
|
*/
|
|
531
531
|
generateChartTitle() {
|
|
532
|
-
return this.layerInfo !== void 0 ?
|
|
532
|
+
return this.layerInfo !== void 0 ? ae(this._config, this.layerInfo, this.commonStrings) : "";
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* Generate the proper y-axis title given the current config.
|
|
536
536
|
*/
|
|
537
537
|
generateYAxisTitle() {
|
|
538
|
-
return this.layerInfo !== void 0 ?
|
|
538
|
+
return this.layerInfo !== void 0 ? D({
|
|
539
539
|
config: this._config,
|
|
540
540
|
layerInfo: this.layerInfo,
|
|
541
541
|
commonStrings: this.commonStrings,
|
|
@@ -594,27 +594,27 @@ a([
|
|
|
594
594
|
o
|
|
595
595
|
], n.prototype, "resetConfig");
|
|
596
596
|
const je = [
|
|
597
|
+
w,
|
|
597
598
|
U,
|
|
598
|
-
N,
|
|
599
|
-
k,
|
|
600
|
-
R,
|
|
601
|
-
de,
|
|
602
|
-
E,
|
|
603
|
-
me,
|
|
604
|
-
oe,
|
|
605
599
|
j,
|
|
606
|
-
|
|
600
|
+
X,
|
|
601
|
+
_e,
|
|
602
|
+
Y,
|
|
603
|
+
ue,
|
|
607
604
|
ge,
|
|
608
|
-
|
|
609
|
-
|
|
605
|
+
z,
|
|
606
|
+
c,
|
|
610
607
|
pe,
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
608
|
+
ye,
|
|
609
|
+
me,
|
|
610
|
+
Se,
|
|
611
|
+
ce,
|
|
614
612
|
he,
|
|
615
|
-
|
|
613
|
+
fe,
|
|
614
|
+
de,
|
|
615
|
+
le
|
|
616
616
|
];
|
|
617
|
-
|
|
617
|
+
k(n, je);
|
|
618
618
|
export {
|
|
619
619
|
n as S,
|
|
620
620
|
ve as a,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as n, C as a } from "./model-setter.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { a4 as o, a5 as g, a6 as h } from "./index2.js";
|
|
4
|
+
import { Z as p } from "./index.js";
|
|
5
5
|
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
|
|
6
6
|
for (var s = c(e, i), r = t.length - 1, l; r >= 0; r--)
|
|
7
7
|
(l = t[r]) && (s = l(e, i, s) || s);
|
|
@@ -38,7 +38,7 @@ class C extends a {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
const T = (t) => t.series.length ?? 0;
|
|
41
|
-
class
|
|
41
|
+
class b extends a {
|
|
42
42
|
/**
|
|
43
43
|
* The length of the series array.
|
|
44
44
|
*/
|
|
@@ -50,7 +50,7 @@ export {
|
|
|
50
50
|
m as W,
|
|
51
51
|
v as a,
|
|
52
52
|
T as b,
|
|
53
|
-
|
|
53
|
+
b as c,
|
|
54
54
|
C as d,
|
|
55
55
|
x as g
|
|
56
56
|
};
|
package/dist/chunks/series.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { m as i } from "./
|
|
2
|
+
import { m as i } from "./index2.js";
|
|
3
3
|
const o = (e) => e.lineSymbol?.style, n = (e, t) => {
|
|
4
4
|
t.lineSymbol ??= i(), t.lineSymbol.style = e;
|
|
5
5
|
}, s = (e) => e.lineSymbol?.width, S = (e, t) => {
|
|
@@ -1,59 +1,113 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
import { c as s } from "./model-types.js";
|
|
3
|
+
import { a as e } from "./chart-object-literals.js";
|
|
4
|
+
function t(i) {
|
|
5
|
+
return i !== void 0 && "config" in i && // this `satisfies` ensures TypeScript checks that "config" is a key of ChartModel
|
|
6
|
+
"update" in i;
|
|
7
|
+
}
|
|
8
|
+
function a(i) {
|
|
9
|
+
return t(i) && i?.chartType === e.BarSeries;
|
|
10
|
+
}
|
|
11
|
+
function f(i) {
|
|
12
|
+
return t(i) && i?.chartType === e.LineSeries;
|
|
13
|
+
}
|
|
14
|
+
function h(i) {
|
|
15
|
+
return t(i) && i?.chartType === e.RadarSeries;
|
|
16
|
+
}
|
|
17
|
+
function o(i) {
|
|
18
|
+
return t(i) && i?.chartType === e.ComboLineAndBarSeries;
|
|
19
|
+
}
|
|
20
|
+
function p(i) {
|
|
21
|
+
const r = t(i) ? i?.chartType : void 0;
|
|
22
|
+
return r === e.LineSeries || r === e.BarSeries || r === e.ComboLineAndBarSeries || r === e.RadarSeries;
|
|
23
|
+
}
|
|
24
|
+
function u(i) {
|
|
25
|
+
return t(i) && i?.chartType === e.PieSeries;
|
|
26
|
+
}
|
|
27
|
+
function y(i) {
|
|
28
|
+
return t(i) && i?.chartType === e.BoxPlotSeries;
|
|
29
|
+
}
|
|
30
|
+
function M(i) {
|
|
31
|
+
return t(i) && i?.chartType === e.ScatterSeries;
|
|
32
|
+
}
|
|
33
|
+
function S(i) {
|
|
34
|
+
return t(i) && i?.chartType === e.HistogramSeries;
|
|
35
|
+
}
|
|
36
|
+
function T(i) {
|
|
37
|
+
return t(i) && i?.chartType === e.HeatSeries;
|
|
38
|
+
}
|
|
39
|
+
function l(i) {
|
|
40
|
+
return t(i) && i?.chartType === e.GaugeSeries;
|
|
41
|
+
}
|
|
42
|
+
function g(i) {
|
|
43
|
+
const r = [
|
|
44
|
+
e.BarSeries,
|
|
45
|
+
e.BoxPlotSeries,
|
|
46
|
+
e.HistogramSeries,
|
|
47
|
+
e.ScatterSeries,
|
|
48
|
+
e.LineSeries,
|
|
49
|
+
e.ComboLineAndBarSeries,
|
|
50
|
+
e.HeatSeries
|
|
51
|
+
];
|
|
52
|
+
return t(i) && r.includes(i.chartType) && "getAxisTitleText" in i && typeof i.getAxisTitleText == "function";
|
|
53
|
+
}
|
|
54
|
+
function C(i) {
|
|
55
|
+
return i !== void 0 && "setSeriesMarkerColor" in i;
|
|
56
|
+
}
|
|
57
|
+
function x(i) {
|
|
58
|
+
return i !== void 0 && "getDataTooltipVisibility" in i;
|
|
59
|
+
}
|
|
60
|
+
function B(i) {
|
|
61
|
+
return i !== void 0 && "getGuideVisibility" in i && typeof i.getGuideVisibility == "function";
|
|
62
|
+
}
|
|
63
|
+
function v(i) {
|
|
64
|
+
return i !== void 0 && "addXAxisGuide" in i && typeof i.addXAxisGuide == "function";
|
|
65
|
+
}
|
|
66
|
+
function A(i) {
|
|
67
|
+
return i !== void 0 && "addYAxisGuide" in i && typeof i.addYAxisGuide == "function";
|
|
68
|
+
}
|
|
69
|
+
function G(i) {
|
|
70
|
+
return i !== void 0 && "legendVisibility" in i;
|
|
71
|
+
}
|
|
72
|
+
function L(i) {
|
|
73
|
+
return u(i);
|
|
74
|
+
}
|
|
75
|
+
function W(i) {
|
|
76
|
+
return i !== void 0 && "temporalBinningSize" in i;
|
|
77
|
+
}
|
|
78
|
+
function b(i) {
|
|
79
|
+
return a(i) || o(i);
|
|
80
|
+
}
|
|
81
|
+
function H(i, r) {
|
|
82
|
+
const n = s(i?.chartType);
|
|
83
|
+
return i !== void 0 && n === r;
|
|
84
|
+
}
|
|
85
|
+
function P(i) {
|
|
86
|
+
return i !== void 0 && "nullCategory" in i;
|
|
48
87
|
}
|
|
49
88
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
89
|
+
p as a,
|
|
90
|
+
y as b,
|
|
91
|
+
T as c,
|
|
92
|
+
W as d,
|
|
93
|
+
a as e,
|
|
94
|
+
f,
|
|
95
|
+
o as g,
|
|
96
|
+
h,
|
|
97
|
+
t as i,
|
|
98
|
+
G as j,
|
|
99
|
+
M as k,
|
|
100
|
+
g as l,
|
|
101
|
+
P as m,
|
|
102
|
+
u as n,
|
|
103
|
+
B as o,
|
|
104
|
+
S as p,
|
|
105
|
+
v as q,
|
|
106
|
+
A as r,
|
|
107
|
+
l as s,
|
|
108
|
+
H as t,
|
|
109
|
+
C as u,
|
|
110
|
+
b as v,
|
|
111
|
+
x as w,
|
|
112
|
+
L as x
|
|
59
113
|
};
|