@arcgis/charts-components 6.0.0-next.20 → 6.0.0-next.21
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/{7CHIKM2Y.js → 23PFUSK3.js} +1 -1
- package/dist/cdn/{ZY5S677G.js → 2GQTW4NH.js} +1 -1
- package/dist/cdn/{5VCVKGKW.js → 3Q47Q67R.js} +1 -1
- package/dist/cdn/{NSHVMSOK.js → 3RQW57SE.js} +1 -1
- package/dist/cdn/{MIBOTYKP.js → 4GEBMO7W.js} +1 -1
- package/dist/cdn/{ZJKDLNZQ.js → 4V743NL4.js} +1 -1
- package/dist/cdn/{IVX5JR6I.js → 5EAIW2ZK.js} +1 -1
- package/dist/cdn/{ZYH6RLUY.js → 5N5ZQZJO.js} +1 -1
- package/dist/cdn/{SZWXYTUV.js → 6HUXP73R.js} +1 -1
- package/dist/cdn/{QB5X2DNO.js → 6OPPM5V2.js} +1 -1
- package/dist/cdn/{KDVRUUVP.js → 6R62GKMO.js} +1 -1
- package/dist/cdn/{KBUFMYZQ.js → 6ZD3Z5YL.js} +1 -1
- package/dist/cdn/{L5HPMS5V.js → 7GGX5UIB.js} +1 -1
- package/dist/cdn/{73E367AZ.js → 7QBDOZRN.js} +1 -1
- package/dist/cdn/{JWZEPPGG.js → 7UVDQBL4.js} +1 -1
- package/dist/cdn/{MU55JIYV.js → BR46WAT3.js} +1 -1
- package/dist/cdn/{Z6PP7BPU.js → BYG7ZIX2.js} +1 -1
- package/dist/cdn/{L6BGXMMO.js → C2WLLAJA.js} +1 -1
- package/dist/cdn/{W5I5BEM4.js → CLFK7CD2.js} +1 -1
- package/dist/cdn/{2L3CFU7R.js → CLPZTMER.js} +1 -1
- package/dist/cdn/{GFVKVWUY.js → COM3OWDH.js} +1 -1
- package/dist/cdn/{3D6A3FSY.js → D6XAU7NT.js} +1 -1
- package/dist/cdn/{UIZELEJD.js → DET6MJ7X.js} +1 -1
- package/dist/cdn/{23OBJJMY.js → DH2G4KHH.js} +1 -1
- package/dist/cdn/{L5U7LDC3.js → DUYJILM6.js} +1 -1
- package/dist/cdn/{R6MIM2PY.js → DVS6MZT5.js} +1 -1
- package/dist/cdn/{D26USL3R.js → E6ZQGTYB.js} +1 -1
- package/dist/cdn/{QUOBWCF5.js → FKJRQZAC.js} +1 -1
- package/dist/cdn/{57ZRFAP5.js → FNP7YROZ.js} +1 -1
- package/dist/cdn/{F76PZBOK.js → FP2GSJQA.js} +1 -1
- package/dist/cdn/{KKAUA5I4.js → GD5JTE7A.js} +1 -1
- package/dist/cdn/GTLHXKAJ.js +2 -0
- package/dist/cdn/{ANXI7X33.js → GU6VG5TK.js} +1 -1
- package/dist/cdn/{7EH2KTOE.js → H4SA3N6O.js} +1 -1
- package/dist/cdn/{ZCXMHYL5.js → HB4SJQ4W.js} +1 -1
- package/dist/cdn/{KEX2VV73.js → HBCVYIHS.js} +1 -1
- package/dist/cdn/{IYVGK242.js → HECZ3OT6.js} +2 -2
- package/dist/cdn/{MVHLKL7W.js → HEI543JI.js} +1 -1
- package/dist/cdn/{TRTYIA2G.js → HJCXMK5U.js} +1 -1
- package/dist/cdn/{DHXZKTF6.js → IOK2V3P4.js} +3 -3
- package/dist/cdn/{CXZF73UW.js → IQRQDZJC.js} +1 -1
- package/dist/cdn/{JTQIRNPA.js → IUUDE4X5.js} +1 -1
- package/dist/cdn/{CCCVN47Z.js → J4V3WB5U.js} +1 -1
- package/dist/cdn/{QKRQPIDL.js → J5HLHOFF.js} +1 -1
- package/dist/cdn/{5VG5RZKN.js → JANDMZGE.js} +1 -1
- package/dist/cdn/{EBVBQSUD.js → JGXLPTT7.js} +1 -1
- package/dist/cdn/{WO73Q3XE.js → JIT5WKEB.js} +1 -1
- package/dist/cdn/{NXKWU3DD.js → JWZGF724.js} +1 -1
- package/dist/cdn/{ZOZCGOID.js → JXF3DDAB.js} +1 -1
- package/dist/cdn/{B3YDN37X.js → KZ6LW4NP.js} +1 -1
- package/dist/cdn/LRTY76E6.js +2 -0
- package/dist/cdn/{LRZAD7VO.js → LXGEIC5F.js} +1 -1
- package/dist/cdn/{HW5YPNRC.js → LZPKYDMH.js} +1 -1
- package/dist/cdn/{F2AEPQP5.js → MSKHAI5B.js} +1 -1
- package/dist/cdn/{OMMWNI5R.js → NF3BLC5K.js} +1 -1
- package/dist/cdn/{3RMCJLPQ.js → NK2I335H.js} +1 -1
- package/dist/cdn/O7O57T65.js +2 -0
- package/dist/cdn/{X7WYDIZE.js → OM6QKWFE.js} +1 -1
- package/dist/cdn/{EBNM4Q47.js → OMJYE2MJ.js} +1 -1
- package/dist/cdn/{RWTBVIDB.js → OU7UWTYV.js} +1 -1
- package/dist/cdn/{EXFLYGOA.js → PSKIJ3SM.js} +1 -1
- package/dist/cdn/{YOVZ4RVH.js → Q3P2IG23.js} +1 -1
- package/dist/cdn/{6FLJN3FM.js → Q43ORQKU.js} +1 -1
- package/dist/cdn/{YR2TWUVL.js → QBHNXPDC.js} +1 -1
- package/dist/cdn/{DQJZEIEB.js → QITW2GVD.js} +1 -1
- package/dist/cdn/{CQU7SD5I.js → QNEORRGV.js} +1 -1
- package/dist/cdn/{CNQNN4CB.js → QUVP5IS5.js} +1 -1
- package/dist/cdn/{DYWTYNT4.js → QXY7MRR7.js} +1 -1
- package/dist/cdn/{WMLMPR4P.js → QYD2FVPD.js} +1 -1
- package/dist/cdn/{Q2SHE4BB.js → R2THCQP5.js} +1 -1
- package/dist/cdn/{GQFD2BXB.js → R445444W.js} +1 -1
- package/dist/cdn/{B2MNXOZC.js → RE3I2Z2X.js} +1 -1
- package/dist/cdn/{2CNZDYOY.js → ROVVD6IW.js} +1 -1
- package/dist/cdn/{4DBZXMWZ.js → SBCL24E4.js} +1 -1
- package/dist/cdn/{YJW7KSEK.js → SDPOEKHS.js} +1 -1
- package/dist/cdn/{IQE6TEF7.js → SNIJO2GO.js} +1 -1
- package/dist/cdn/{HZSR2TZW.js → SWEUOZRA.js} +1 -1
- package/dist/cdn/{JNFER2G5.js → SX66PI5D.js} +1 -1
- package/dist/cdn/{74J2YHAH.js → TDD6C2FX.js} +1 -1
- package/dist/cdn/{OZNRLDTD.js → TRJRLHIN.js} +1 -1
- package/dist/cdn/{EKWGPT5Y.js → TTW6WNUD.js} +1 -1
- package/dist/cdn/{T35SJEP4.js → TUIIWKKJ.js} +1 -1
- package/dist/cdn/{N3JX6GNR.js → U2JCCPS7.js} +19 -19
- package/dist/cdn/{5FLPMVDG.js → U6Y4QVXC.js} +1 -1
- package/dist/cdn/{VTCPVV2K.js → UYGZNX3E.js} +1 -1
- package/dist/cdn/{U2MXHNZR.js → V3U7CLL3.js} +1 -1
- package/dist/cdn/{BXUTY44W.js → VGOKYLOA.js} +1 -1
- package/dist/cdn/{RDAE2OL3.js → VSYGSI4Q.js} +1 -1
- package/dist/cdn/{Y2FV4AZ4.js → W6ND5MS4.js} +1 -1
- package/dist/cdn/{NWPO6T3D.js → WCQX5APN.js} +1 -1
- package/dist/cdn/{KXU3XKM2.js → WPAN7ZED.js} +1 -1
- package/dist/cdn/{4OC5GZ3M.js → XGBIB7YB.js} +1 -1
- package/dist/cdn/{DO4L5IAM.js → XOXPFTIJ.js} +1 -1
- package/dist/cdn/{N35DJP7H.js → XSZAO4QH.js} +1 -1
- package/dist/cdn/{D7HVHYVY.js → Y6URECIF.js} +1 -1
- package/dist/cdn/{MG4XERCZ.js → YZJKK62F.js} +1 -1
- package/dist/cdn/{XCFAVK6F.js → ZCH46ONB.js} +1 -1
- package/dist/cdn/{N5QBW4DK.js → ZDG7DMVN.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +38 -38
- package/dist/chunks/box-plot-model.js +16 -16
- package/dist/chunks/chart-model.js +32 -32
- package/dist/chunks/chart-ui-utils.js +3 -3
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +15 -15
- package/dist/chunks/combo-bar-line-chart-model.js +9 -9
- package/dist/chunks/data.js +7 -7
- package/dist/chunks/index.js +237 -233
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +5 -5
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +24 -24
- package/dist/chunks/serial-chart-model.js +10 -10
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +9 -1
- package/dist/components/arcgis-chart/customElement.js +2584 -2569
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +33 -33
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/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 +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-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 +17 -17
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- 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 +56 -56
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +46 -46
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/package.json +5 -5
- package/dist/cdn/A5Y7SINJ.js +0 -2
- package/dist/cdn/DBCZ7X7L.js +0 -2
- package/dist/cdn/X2YVJPZF.js +0 -2
- /package/dist/cdn/{L5YQURIU.js → 2PUVZIJ6.js} +0 -0
- /package/dist/cdn/{ABHDMXQ7.js → 33NEGHM6.js} +0 -0
- /package/dist/cdn/{CPBCKPO3.js → 55OFHBXV.js} +0 -0
- /package/dist/cdn/{3RXZGLTX.js → 5OSVKP4N.js} +0 -0
- /package/dist/cdn/{3XO5QWW2.js → 5QLZ66AU.js} +0 -0
- /package/dist/cdn/{2TVBBBFB.js → 5SOADBYD.js} +0 -0
- /package/dist/cdn/{4AA4A62W.js → 5ZZZKI7V.js} +0 -0
- /package/dist/cdn/{4HXGM3VX.js → 6IIBIZJH.js} +0 -0
- /package/dist/cdn/{Q3KUGWEO.js → 6QY2OFUO.js} +0 -0
- /package/dist/cdn/{MMZZZC7O.js → 7AWJIBMG.js} +0 -0
- /package/dist/cdn/{KJ2WKS3E.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{JP7ADCJN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{KZMHSQD6.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{PISJX2S5.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{LLQZNNEC.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{YQPVQLX7.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{VJWRWNXG.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{EN4TKBF7.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{ZIHB4MW5.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{IVMUU655.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{UXCVVLXG.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{6COGNLWU.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{IJ4NLEMH.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{ZASO3PKX.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{PBFYIRZY.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{H32ZCMZI.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{VARG4EGS.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{QGCRMKE5.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{QJZFHN2U.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{3FAXIZDY.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{3RJA6GU5.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{6YTUMBO6.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{7EO4DMRO.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{ST6XSWHI.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{SNAWWD5A.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{WCOMQDTO.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{CFC3MJF7.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{NHKIOS73.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{JSIJJIJ2.js → Z5DYKSTK.js} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
3
3
|
import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
|
|
4
4
|
import { S as ce } from "./common.js";
|
|
5
|
-
import { aa as L,
|
|
5
|
+
import { aa as L, b7 as X, bJ as Ke, cm as Ze, l as ue, c4 as _e, cn as Qe, ca as Ne, g as ze, r as ie, a7 as Ge, a6 as Je, co as et, x as w, Z as ge, bk as tt, cp as it, Y as st, v as at, cq as rt, b4 as nt, $ as ot, cr as lt, ad as ct, b_ as ut, cs as dt, ct as Se, cu as yt, cv as mt, cw as gt, C as Fe, _ as pt, cx as he, cy as _, B as k, cz as ft, b5 as q, bj as Q, X as St, u as j, ah as Oe, cA as Y, c6 as U, cB as Ft, cC as ht, cD as Tt, cE as O, cF as V, cG as Te, cH as xt, c9 as xe } from "./index.js";
|
|
6
6
|
import { g as se, u as $, s as Ve, a as pe, b as qe, c as Bt, d as z, e as Be } from "./utils.js";
|
|
7
7
|
import { a as P, s as fe, g as ae, b as Ce, c as Ct } from "./data.js";
|
|
8
8
|
import { a as x, d as I, f as At, l as R, t as N, h as H, g as bt, b as vt, e as de } from "./chart-object-literals.js";
|
|
@@ -56,18 +56,18 @@ const qi = (i) => {
|
|
|
56
56
|
}, Wt = (i) => {
|
|
57
57
|
Xt(0, i);
|
|
58
58
|
};
|
|
59
|
-
var Ut = Object.defineProperty, jt = Object.getOwnPropertyDescriptor,
|
|
59
|
+
var Ut = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, Kt = (i, e, t, r) => {
|
|
60
60
|
for (var s = jt(e, t), a = i.length - 1, n; a >= 0; a--)
|
|
61
61
|
(n = i[a]) && (s = n(e, t, s) || s);
|
|
62
62
|
return s && Ut(e, t, s), s;
|
|
63
63
|
};
|
|
64
|
-
const
|
|
64
|
+
const Zt = (i) => {
|
|
65
65
|
let e;
|
|
66
66
|
return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
|
|
67
67
|
(t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
68
68
|
}), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
69
69
|
}, we = (i, e) => {
|
|
70
|
-
const t =
|
|
70
|
+
const t = Ke(i);
|
|
71
71
|
X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
72
72
|
(r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
73
73
|
}), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
@@ -77,13 +77,13 @@ class _t extends wt {
|
|
|
77
77
|
* Gets the time zone for the chart.
|
|
78
78
|
*/
|
|
79
79
|
get timeZone() {
|
|
80
|
-
return
|
|
80
|
+
return Zt(this._config);
|
|
81
81
|
}
|
|
82
82
|
set timeZone(e) {
|
|
83
83
|
we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
Kt([
|
|
87
87
|
Pt
|
|
88
88
|
], _t.prototype, "timeZone");
|
|
89
89
|
function Yi(i, e) {
|
|
@@ -332,7 +332,7 @@ async function Ui(i) {
|
|
|
332
332
|
returnFeaturesExtent: f,
|
|
333
333
|
returnStatisticsAggregatedIds: p,
|
|
334
334
|
chartLimits: u
|
|
335
|
-
})), g =
|
|
335
|
+
})), g = Ze(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
|
|
336
336
|
}
|
|
337
337
|
function si(i, e) {
|
|
338
338
|
let t = !1;
|
|
@@ -391,7 +391,7 @@ function ji(i) {
|
|
|
391
391
|
}
|
|
392
392
|
return { seriesFilteredOut: n, filteredConfig: a };
|
|
393
393
|
}
|
|
394
|
-
const
|
|
394
|
+
const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
395
395
|
i.hideEmptyRowsAndColumns = e;
|
|
396
396
|
}, _i = (i, e) => {
|
|
397
397
|
const t = i.series[0];
|
|
@@ -448,10 +448,10 @@ const Zi = (i) => i.hideEmptyRowsAndColumns, Ki = (i, e) => {
|
|
|
448
448
|
statisticType: I.Count
|
|
449
449
|
}
|
|
450
450
|
]
|
|
451
|
-
}, n && t.title && (t.title.content.text =
|
|
451
|
+
}, n && t.title && (t.title.content.text = K(t, r, s));
|
|
452
452
|
}, us = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ds = (i) => {
|
|
453
453
|
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
|
|
454
|
-
a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(H.Zero, t), n && t.title && (t.title.content.text =
|
|
454
|
+
a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(H.Zero, t), n && t.title && (t.title.content.text = K(t, r, s));
|
|
455
455
|
}, ys = (i) => i.nullPolicy, li = (i, e) => {
|
|
456
456
|
e.nullPolicy = i;
|
|
457
457
|
}, ms = (i) => i.series[0].emptyCells, gs = (i, e) => {
|
|
@@ -663,8 +663,8 @@ function ne(i) {
|
|
|
663
663
|
}
|
|
664
664
|
return te(B);
|
|
665
665
|
}
|
|
666
|
-
function
|
|
667
|
-
const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l =
|
|
666
|
+
function K(i, e, t) {
|
|
667
|
+
const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = Z(i), m = a && (o.length === 0 || o.includes(s)), f = Dt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
|
|
668
668
|
let S = "";
|
|
669
669
|
if (fe({
|
|
670
670
|
fieldName: n,
|
|
@@ -728,7 +728,7 @@ const Ee = (i) => ge({
|
|
|
728
728
|
where: i.query?.where,
|
|
729
729
|
normalize: !1,
|
|
730
730
|
escape: !1
|
|
731
|
-
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation,
|
|
731
|
+
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, Z = We(
|
|
732
732
|
(i) => {
|
|
733
733
|
const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
734
734
|
return St(i?.series?.[0]?.query?.where) ? "" : e;
|
|
@@ -736,7 +736,7 @@ const Ee = (i) => ge({
|
|
|
736
736
|
(i) => i?.series?.[0]?.query?.where
|
|
737
737
|
), W = (i) => {
|
|
738
738
|
let e = [];
|
|
739
|
-
if (
|
|
739
|
+
if (Z(i) === "")
|
|
740
740
|
e = i?.series.map((t) => {
|
|
741
741
|
const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
|
|
742
742
|
return r?.length > 0 ? r : t.y;
|
|
@@ -856,7 +856,7 @@ function $e(i) {
|
|
|
856
856
|
return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
|
|
857
857
|
}
|
|
858
858
|
function qs(i) {
|
|
859
|
-
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l =
|
|
859
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = Z(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
|
|
860
860
|
if (t.series.forEach((u, d) => {
|
|
861
861
|
const y = ae({
|
|
862
862
|
config: t,
|
|
@@ -887,7 +887,7 @@ function qs(i) {
|
|
|
887
887
|
}
|
|
888
888
|
]
|
|
889
889
|
}, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Wt(t);
|
|
890
|
-
}), f && t.title && (t.title.content.text =
|
|
890
|
+
}), f && t.title && (t.title.content.text = K(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
|
|
891
891
|
const u = pe({
|
|
892
892
|
config: t,
|
|
893
893
|
layerInfo: r,
|
|
@@ -985,7 +985,7 @@ const Rs = (i) => {
|
|
|
985
985
|
layerInfo: n,
|
|
986
986
|
commonStrings: o,
|
|
987
987
|
splitByFieldInfos: c
|
|
988
|
-
} = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Mt(a), p = P(m), u =
|
|
988
|
+
} = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Mt(a), p = P(m), u = Z(m), d = oe(m), y = l.find((C) => C.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((C) => C.name === e), h = le(m, n, o), A = He(m, n, o), B = fi({ config: m, layerInfo: n, commonStrings: o });
|
|
989
989
|
let T = qe(a);
|
|
990
990
|
const b = m.series.some((C) => Y(C)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
|
|
991
991
|
if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = Rt()), T !== void 0 && Bt(a, o, T), f === 0 && (a.series = [
|
|
@@ -1033,7 +1033,7 @@ const Rs = (i) => {
|
|
|
1033
1033
|
});
|
|
1034
1034
|
$(a, 1, C);
|
|
1035
1035
|
}
|
|
1036
|
-
if (h && a.title && (a.title.content.text =
|
|
1036
|
+
if (h && a.title && (a.title.content.text = K(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), mi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
|
|
1037
1037
|
const C = q(S) ? H.Null : H.Interpolate;
|
|
1038
1038
|
Ht(C, a);
|
|
1039
1039
|
}
|
|
@@ -1046,7 +1046,7 @@ const Rs = (i) => {
|
|
|
1046
1046
|
color: i.markerSymbol?.color
|
|
1047
1047
|
});
|
|
1048
1048
|
}, ks = (i) => {
|
|
1049
|
-
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n =
|
|
1049
|
+
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = Z(e);
|
|
1050
1050
|
let o;
|
|
1051
1051
|
if (ie(e.series) === w.BarAndLineFromFields)
|
|
1052
1052
|
o = s.axisLabels.values;
|
|
@@ -1085,7 +1085,7 @@ const Rs = (i) => {
|
|
|
1085
1085
|
}))), l;
|
|
1086
1086
|
};
|
|
1087
1087
|
function le(i, e, t) {
|
|
1088
|
-
const r =
|
|
1088
|
+
const r = K(i, e, t), s = Yt(i), a = re(i);
|
|
1089
1089
|
return r === s || a;
|
|
1090
1090
|
}
|
|
1091
1091
|
function He(i, e, t) {
|
|
@@ -1123,7 +1123,7 @@ export {
|
|
|
1123
1123
|
Rs as C,
|
|
1124
1124
|
Es as D,
|
|
1125
1125
|
Ms as E,
|
|
1126
|
-
|
|
1126
|
+
K as F,
|
|
1127
1127
|
Pe as G,
|
|
1128
1128
|
ai as H,
|
|
1129
1129
|
Ji as I,
|
|
@@ -1142,8 +1142,8 @@ export {
|
|
|
1142
1142
|
Os as V,
|
|
1143
1143
|
_t as W,
|
|
1144
1144
|
Vs as X,
|
|
1145
|
-
|
|
1146
|
-
|
|
1145
|
+
Ki as Y,
|
|
1146
|
+
Zi as Z,
|
|
1147
1147
|
ss as _,
|
|
1148
1148
|
Hi as a,
|
|
1149
1149
|
rs as a0,
|
|
@@ -1173,7 +1173,7 @@ export {
|
|
|
1173
1173
|
Yi as b,
|
|
1174
1174
|
$i as c,
|
|
1175
1175
|
W as d,
|
|
1176
|
-
|
|
1176
|
+
Z as e,
|
|
1177
1177
|
ji as f,
|
|
1178
1178
|
oe as g,
|
|
1179
1179
|
ks as h,
|
|
@@ -1,7 +1,7 @@
|
|
|
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 {
|
|
4
|
+
import { cA as v, cE as L, eN as M, eO as P, c6 as p, u as N, eP as V, eM as k } from "./index.js";
|
|
5
5
|
import { i as R } from "./index3.js";
|
|
6
6
|
import { m as o } from "./model-setter.js";
|
|
7
7
|
import { S as E } from "./common.js";
|
|
@@ -15,10 +15,10 @@ import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
|
|
|
15
15
|
import { W as ye, a as Se } from "./x-bounds.js";
|
|
16
16
|
import { W as ue } from "./data-labels-symbol.js";
|
|
17
17
|
import { W as _e } from "./rotated-state.js";
|
|
18
|
-
import { a as
|
|
18
|
+
import { a as W, 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
20
|
import { u as Be, m as Ce, ag as Fe, j as Ae, k as Ie } from "./index2.js";
|
|
21
|
-
import { s as
|
|
21
|
+
import { s as D } from "./series-types.js";
|
|
22
22
|
const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (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) => {
|
|
@@ -41,14 +41,14 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
|
|
|
41
41
|
...t.lineSymbol,
|
|
42
42
|
color: s
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
44
|
+
}, We = (s) => s.series.map((e) => e.id), De = (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 = W({
|
|
52
52
|
config: i,
|
|
53
53
|
layerInfo: t,
|
|
54
54
|
commonStrings: r,
|
|
@@ -61,11 +61,11 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
|
|
|
61
61
|
}, Ne = (s) => {
|
|
62
62
|
const e = {};
|
|
63
63
|
return s.series.forEach((i) => {
|
|
64
|
-
|
|
64
|
+
D(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
|
}, Ve = (s, e) => {
|
|
67
67
|
s.series.forEach((i) => {
|
|
68
|
-
|
|
68
|
+
D(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) => {
|
|
@@ -417,10 +417,10 @@ class n extends O {
|
|
|
417
417
|
* orders categories or numeric values within the chart data.
|
|
418
418
|
*/
|
|
419
419
|
getOrderOfSeries() {
|
|
420
|
-
return
|
|
420
|
+
return We(this._config);
|
|
421
421
|
}
|
|
422
422
|
setOrderOfSeries(e) {
|
|
423
|
-
|
|
423
|
+
De(e, this._config);
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
426
426
|
* 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
|
|
@@ -538,7 +538,7 @@ class n extends O {
|
|
|
538
538
|
* Generate the proper y-axis title given the current config.
|
|
539
539
|
*/
|
|
540
540
|
generateYAxisTitle() {
|
|
541
|
-
return this.layerInfo !== void 0 ?
|
|
541
|
+
return this.layerInfo !== void 0 ? W({
|
|
542
542
|
config: this._config,
|
|
543
543
|
layerInfo: this.layerInfo,
|
|
544
544
|
commonStrings: this.commonStrings,
|
|
@@ -7,7 +7,7 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
|
|
|
7
7
|
import { a as ie } from "./series-length.js";
|
|
8
8
|
import { g as re, d as le, e as ge } from "./serial-chart-data.js";
|
|
9
9
|
import { g as z, a as pe } from "./data.js";
|
|
10
|
-
import { O as K, r as U, u as be, t as xe, x as g, a5 as E, C as A, P as Fe, _ as P, ah as Ce,
|
|
10
|
+
import { O as K, r as U, u as be, t as xe, x as g, a5 as E, C as A, P as Fe, _ as P, ah as Ce, b5 as De, cg as Se } from "./index.js";
|
|
11
11
|
import { i as Y, M as $, l as R, N as ve, O as Be, P as Q } from "./index2.js";
|
|
12
12
|
import { g as he } from "./series-types.js";
|
|
13
13
|
import { V as Pe } from "./index4.js";
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -6,7 +6,7 @@ import { g as T } from "./model-types.js";
|
|
|
6
6
|
import { b as g } from "./rest-js-object-literals.js";
|
|
7
7
|
import { a as x } from "./chart-object-literals.js";
|
|
8
8
|
import { Q as C, a5 as L, a6 as b, t as M } from "./index2.js";
|
|
9
|
-
import {
|
|
9
|
+
import { ci as X, b as B, i as A, eM as O } from "./index.js";
|
|
10
10
|
import { m as a, C as f } from "./model-setter.js";
|
|
11
11
|
import { o as P, n as R, p as v, d as y } from "./utils.js";
|
|
12
12
|
const D = (t) => {
|
|
@@ -791,6 +791,13 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
791
791
|
* **Note**: Applicable to gauges and pie charts only.
|
|
792
792
|
*/
|
|
793
793
|
accessor chartWillRender: PreRenderCallback | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* When `true`, leaves a small gap between columns in side-by-side multi-series and split-by bar charts.
|
|
796
|
+
* Stacked charts are not affected.
|
|
797
|
+
*
|
|
798
|
+
* @default false
|
|
799
|
+
*/
|
|
800
|
+
accessor columnGapsEnabled: boolean;
|
|
794
801
|
/**
|
|
795
802
|
* Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
|
|
796
803
|
* When `true` and if the [arcgis-charts-action-bar](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) is slotted in the chart component,
|
|
@@ -1926,7 +1933,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1926
1933
|
/**
|
|
1927
1934
|
* Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
|
|
1928
1935
|
* - This property only applies to plain chart configuration object that's constructed following the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.
|
|
1929
|
-
* -
|
|
1936
|
+
* - In 5.2, [`addMissingSeries`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-addMissingSeries) is `false` by default. If it is set to `true`, the missing series will be added.
|
|
1937
|
+
* - In 6.0, [`addMissingSeries`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-addMissingSeries) is `true` by default.
|
|
1930
1938
|
* - When [`seriesTemplate`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-seriesTemplate) is omitted, the first existing series from the configuration will be copied to be used as a model for the missing ones. The chart won't render if the series template is not set and there's no series in the configuration.
|
|
1931
1939
|
* - If a chart is configured using a chart model, this property is not necessary as the split-by series will be updated automatically when the model's properties are changed.
|
|
1932
1940
|
*
|