@arcgis/charts-components 6.0.0-next.6 → 6.0.0-next.7
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/{6T5V66TB.js → I3VAEJNQ.js} +24 -24
- 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/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 +5937 -5770
- 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,25 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/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/6.0/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/6.0/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/6.0/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
|
};
|