@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84
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/2BA2QD2A.js +3 -0
- package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
- package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
- package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
- package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
- package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
- package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
- package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
- package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
- package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
- package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
- package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
- package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
- package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
- package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
- package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
- package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
- package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
- package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
- package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
- package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
- package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
- package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
- package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
- package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
- package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
- package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
- package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
- package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
- package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
- package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
- package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
- package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
- package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
- package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
- package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
- package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
- package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
- package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
- package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
- package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
- package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
- package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
- package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
- package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
- package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
- package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
- package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
- package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
- package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
- package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
- package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
- package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
- package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
- package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
- package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
- package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
- package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
- package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
- package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
- package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
- package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
- package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
- package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
- package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
- package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
- package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
- package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
- package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
- package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.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 +17 -17
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +11 -11
- package/dist/chunks/box-plot-data.js +73 -73
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +33 -33
- package/dist/chunks/chart-object-literals.js +24 -24
- package/dist/chunks/chart-ui-utils.js +149 -68
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +35 -35
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +30 -30
- package/dist/chunks/data.js +40 -40
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +58 -58
- package/dist/chunks/generate-x-axis-title.js +22 -22
- package/dist/chunks/heat-chart-model.js +11 -11
- package/dist/chunks/histogram-data.js +21 -21
- package/dist/chunks/histogram-model.js +12 -12
- package/dist/chunks/index.js +9364 -1103
- package/dist/chunks/index2.js +836 -9337
- package/dist/chunks/index3.js +1166 -865
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/index5.js +5 -5
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-y-guides.js +13 -13
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +10 -10
- package/dist/chunks/pie-chart-model.js +35 -35
- package/dist/chunks/radar-chart-model.js +14 -14
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +7 -7
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +165 -165
- package/dist/chunks/serial-chart-model.js +14 -14
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +7 -7
- package/dist/chunks/type-guards2.js +25 -25
- package/dist/chunks/utils.js +23 -23
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/chunks/x-bounds.js +28 -28
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- 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 +19 -19
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
- package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-invalid-input-message/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 +9 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +175 -175
- package/dist/utils/chart-config/converter/index.js +36 -36
- package/dist/utils/defaults/index.d.ts +15 -2
- package/dist/utils/defaults/interfaces.d.ts +66 -8
- package/package.json +5 -5
- package/dist/cdn/37TEXJ7K.js +0 -2
- package/dist/cdn/4DPFB567.js +0 -3
- package/dist/cdn/FDXSZJWC.js +0 -2
- package/dist/cdn/HXSSY2BO.js +0 -2
- package/dist/cdn/IAMJ6CBO.js +0 -3
- package/dist/cdn/IONJLIQQ.js +0 -2
- package/dist/cdn/JKT2UC2C.js +0 -2
- package/dist/cdn/JZVACQMQ.js +0 -2
- package/dist/cdn/N6FMZQZN.js +0 -2
- package/dist/cdn/PCHCBNEX.js +0 -2
- package/dist/cdn/QPTQD3ZH.js +0 -2
- package/dist/cdn/RPQJ6RNZ.js +0 -2
- package/dist/cdn/U43J5GMJ.js +0 -2
- package/dist/cdn/UEUCI74S.js +0 -2
- package/dist/cdn/WFNHDRCX.js +0 -2
- package/dist/cdn/WVIP7B4W.js +0 -2
- package/dist/cdn/ZAGOBG3W.js +0 -2
- /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g } from "./series-types.js";
|
|
3
|
-
import { i as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { D as e,
|
|
7
|
-
import {
|
|
3
|
+
import { i as B } from "./rotated-state.js";
|
|
4
|
+
import { a } from "./chart-object-literals.js";
|
|
5
|
+
import { m as x, h as f, a as u, A as b } from "./index2.js";
|
|
6
|
+
import { D as e, c as o, A as n } from "./index5.js";
|
|
7
|
+
import { p as F } from "./index.js";
|
|
8
8
|
import { i as I } from "./index4.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { i as L } from "./type-guards.js";
|
|
10
|
+
import { i as E, g as D } from "./type-guards2.js";
|
|
11
11
|
const T = [
|
|
12
12
|
e.EditChart,
|
|
13
13
|
e.Legend,
|
|
@@ -110,7 +110,7 @@ const T = [
|
|
|
110
110
|
e.ExportAsImage,
|
|
111
111
|
e.ExportAsCSV
|
|
112
112
|
];
|
|
113
|
-
function
|
|
113
|
+
function Q(c) {
|
|
114
114
|
switch (c) {
|
|
115
115
|
case a.BarSeries:
|
|
116
116
|
return T;
|
|
@@ -134,7 +134,7 @@ function K(c) {
|
|
|
134
134
|
return [];
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const
|
|
137
|
+
const U = (c, i, t) => {
|
|
138
138
|
const l = c.target.assignedNodes().find((S) => "legendToggle" in S), s = g(t?.series);
|
|
139
139
|
return l && (l.chartType = s, W({
|
|
140
140
|
actionBar: l,
|
|
@@ -145,21 +145,21 @@ const Q = (c, i, t) => {
|
|
|
145
145
|
function W(c) {
|
|
146
146
|
const { actionBar: i, chartComponent: t, config: r, isInfoModalDisplayed: l } = c, s = x(t.selectionData), S = r?.legend ? r.legend.visible ?? !0 : !1;
|
|
147
147
|
if (i.chartType = g(r?.series), t.enableConfiguration || t.configurationEnabled) {
|
|
148
|
-
const
|
|
149
|
-
i.hiddenActions =
|
|
148
|
+
const p = i.hiddenActions ?? [];
|
|
149
|
+
i.hiddenActions = p.filter((y) => y !== e.EditChart);
|
|
150
150
|
}
|
|
151
151
|
i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled;
|
|
152
152
|
const d = r && f(r.series);
|
|
153
153
|
i.legendState = d ? o.Enabled : o.Disabled;
|
|
154
|
-
const
|
|
155
|
-
i.legendToggle = d &&
|
|
156
|
-
const
|
|
157
|
-
i.rotateChartToggle =
|
|
154
|
+
const m = E(t?.model) && D(t?.model) ? t.model.legendVisibility : S;
|
|
155
|
+
i.legendToggle = d && m ? n.Active : n.Inactive;
|
|
156
|
+
const C = E(t?.model) && B(t.model) ? t.model.rotated : r?.rotated;
|
|
157
|
+
i.rotateChartToggle = C ? n.Active : n.Inactive;
|
|
158
158
|
const h = F(r?.series ?? []) === u.PieFromFields, A = L(t.layer);
|
|
159
159
|
i.filterBySelectionState = !A && !h && (t.filterBySelection || !s && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === b.Zoom ? n.Active : n.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.clearSelectionState = s ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = l || I(r) ? o.Disabled : o.Enabled;
|
|
160
160
|
}
|
|
161
161
|
export {
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
Q as g,
|
|
163
|
+
U as o,
|
|
164
164
|
W as u
|
|
165
165
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { C as r, m as a } from "./model-setter.js";
|
|
3
3
|
import { a as f, s as c } from "./utils2.js";
|
|
4
4
|
import { cloneDeep as x } from "lodash-es";
|
|
5
|
-
import {
|
|
5
|
+
import { a3 as y, a5 as b, a4 as m, t as S } from "./index3.js";
|
|
6
6
|
var p = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (s, e, t, l) => {
|
|
7
7
|
for (var i = v(e, t), o = s.length - 1, n; o >= 0; o--)
|
|
8
8
|
(n = s[o]) && (i = n(e, t, i) || i);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as d } from "./model-setter.js";
|
|
3
3
|
import { g as h, s as g, a as m, b as S, W as p } from "./rounded-corners.js";
|
|
4
|
-
import { S as
|
|
4
|
+
import { S as y, s as u, a as v, b } from "./serial-chart-model.js";
|
|
5
5
|
import { h as c } from "./serial-chart-data.js";
|
|
6
|
-
import {
|
|
6
|
+
import { C } from "./index2.js";
|
|
7
7
|
import { f as O } from "./data.js";
|
|
8
8
|
import { f as _ } from "./utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
var x = Object.defineProperty,
|
|
13
|
-
for (var i =
|
|
9
|
+
import { a as I } from "./chart-object-literals.js";
|
|
10
|
+
import { an as L, $ as z, g as B, r as H } from "./index3.js";
|
|
11
|
+
import { r as n } from "./index.js";
|
|
12
|
+
var x = Object.defineProperty, D = Object.getOwnPropertyDescriptor, l = (a, e, t, r) => {
|
|
13
|
+
for (var i = D(e, t), s = a.length - 1, f; s >= 0; s--)
|
|
14
14
|
(f = a[s]) && (i = f(e, t, i) || i);
|
|
15
15
|
return i && x(e, t, i), i;
|
|
16
16
|
};
|
|
17
|
-
class o extends
|
|
17
|
+
class o extends y {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments), this._chartType = I.BarSeries;
|
|
20
20
|
}
|
|
@@ -78,7 +78,7 @@ class o extends u {
|
|
|
78
78
|
colorIndex: e,
|
|
79
79
|
opacity: H
|
|
80
80
|
});
|
|
81
|
-
if (
|
|
81
|
+
if (u(r, e, this._config), this.layerInfo !== void 0) {
|
|
82
82
|
const i = c({
|
|
83
83
|
config: this._config,
|
|
84
84
|
seriesIndex: e,
|
|
@@ -122,8 +122,8 @@ l([
|
|
|
122
122
|
l([
|
|
123
123
|
d
|
|
124
124
|
], o.prototype, "resetSeriesStyling");
|
|
125
|
-
const
|
|
126
|
-
_(o,
|
|
125
|
+
const F = [p];
|
|
126
|
+
_(o, F);
|
|
127
127
|
export {
|
|
128
128
|
o as BarChartModel
|
|
129
129
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as v } from "@arcgis/core/intl.js";
|
|
3
|
-
import { memoize as
|
|
3
|
+
import { memoize as U, isEmpty as re, isEqual as ne, cloneDeep as W } from "lodash-es";
|
|
4
4
|
import { B as f } from "./common.js";
|
|
5
|
-
import { u as M, b as
|
|
5
|
+
import { u as M, b as K, c as le, d as ae, s as z } from "./utils.js";
|
|
6
6
|
import { g as k } from "./utils2.js";
|
|
7
|
-
import { g as
|
|
7
|
+
import { g as ce } from "./series-length.js";
|
|
8
8
|
import { s as N } from "./data.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
9
|
+
import { d as de } from "./rest-js-object-literals.js";
|
|
10
|
+
import { a as p, t as S, g as x } from "./chart-object-literals.js";
|
|
11
|
+
import { o as X, l as h, n as ye, t as ue, a9 as $, aa as E, Y as fe, ab as me, W as Se, X as pe } from "./index3.js";
|
|
12
|
+
import { b as A } from "./index2.js";
|
|
13
|
+
import { cl as I, c6 as D, M as ge, U as xe, cm as be, cn as he, a1 as j } from "./index.js";
|
|
14
14
|
import { i as P } from "./index4.js";
|
|
15
|
-
const
|
|
15
|
+
const Qe = (s, e) => e?.series?.[s]?.name, _e = (s, e, t) => {
|
|
16
16
|
const o = t;
|
|
17
17
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
18
|
-
},
|
|
18
|
+
}, Ge = (s, e) => {
|
|
19
19
|
let t;
|
|
20
20
|
const o = e.series?.[s];
|
|
21
21
|
return o?.type === p.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === p.LineSeries && (t = o.lineSymbol?.color), t;
|
|
@@ -25,10 +25,10 @@ const _e = (s, e) => e?.series?.[s]?.name, He = (s, e, t) => {
|
|
|
25
25
|
}, Ae = (s, e) => {
|
|
26
26
|
const t = e.series[0];
|
|
27
27
|
e.showMean === !0 && I(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
|
|
28
|
-
|
|
28
|
+
...X(),
|
|
29
29
|
color: s
|
|
30
30
|
});
|
|
31
|
-
},
|
|
31
|
+
}, He = (s, e, t) => {
|
|
32
32
|
const i = t?.series?.[e];
|
|
33
33
|
i?.type === p.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === p.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
|
|
34
34
|
}, Be = (s) => s.series.map((e) => e.id), Ce = (s, e) => {
|
|
@@ -40,10 +40,10 @@ const _e = (s, e) => e?.series?.[s]?.name, He = (s, e, t) => {
|
|
|
40
40
|
o.splice(e, 0, i), Ce(o, t);
|
|
41
41
|
}, es = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
|
|
42
42
|
function we(s, e, t) {
|
|
43
|
-
const o = Z(s, e, t), i =
|
|
43
|
+
const o = Z(s, e, t), i = ce(s), n = P(s);
|
|
44
44
|
return o === i || n;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function J(s, e, t) {
|
|
47
47
|
const o = T(s, e, t), i = k(1, s), n = P(s);
|
|
48
48
|
return o === i || n;
|
|
49
49
|
}
|
|
@@ -51,74 +51,74 @@ function Le(s) {
|
|
|
51
51
|
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = w(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
|
|
52
52
|
return r === l || a || l.trim() === "";
|
|
53
53
|
}
|
|
54
|
-
const w = (s) => D(s)?.x ?? h, Te =
|
|
54
|
+
const w = (s) => D(s)?.x ?? h, Te = U(
|
|
55
55
|
(s) => {
|
|
56
56
|
const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
57
|
-
return
|
|
57
|
+
return ge(e?.query?.where) ? "" : t;
|
|
58
58
|
},
|
|
59
59
|
(s) => D(s)?.query?.where
|
|
60
|
-
),
|
|
60
|
+
), R = U(
|
|
61
61
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
62
62
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
63
|
-
(s) =>
|
|
63
|
+
(s) => xe(s?.series).filter((e) => e !== ""),
|
|
64
64
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
65
65
|
(s) => s?.series
|
|
66
66
|
), O = (s) => {
|
|
67
67
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
68
|
-
|
|
68
|
+
...$(i, t),
|
|
69
69
|
x: e === void 0 || e === "" ? h : e,
|
|
70
70
|
y: o,
|
|
71
71
|
query: {}
|
|
72
72
|
};
|
|
73
|
-
return
|
|
73
|
+
return W(r);
|
|
74
74
|
}, ve = (s) => {
|
|
75
75
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
76
|
-
...
|
|
76
|
+
...fe({ commonStrings: i, seriesIndex: t }),
|
|
77
77
|
x: e === void 0 || e === "" ? h : e,
|
|
78
78
|
y: o,
|
|
79
79
|
query: {}
|
|
80
80
|
};
|
|
81
|
-
return
|
|
81
|
+
return W(r);
|
|
82
82
|
};
|
|
83
|
-
function
|
|
84
|
-
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l =
|
|
85
|
-
return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color =
|
|
83
|
+
function Q(s) {
|
|
84
|
+
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l = $(i), a = n ?? `series_${Date.now()}`;
|
|
85
|
+
return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = E, l.fillSymbol?.outline && (l.fillSymbol.outline.color = E)), l;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _(s) {
|
|
88
88
|
const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? w(t), y = N({
|
|
89
89
|
fieldName: a,
|
|
90
90
|
numericFields: e,
|
|
91
91
|
fieldList: r
|
|
92
92
|
});
|
|
93
93
|
if (e.length === 0) {
|
|
94
|
-
const
|
|
94
|
+
const c = O({
|
|
95
95
|
y: "",
|
|
96
96
|
seriesIndex: 0,
|
|
97
97
|
category: a,
|
|
98
98
|
commonStrings: n
|
|
99
99
|
});
|
|
100
|
-
l.push(
|
|
100
|
+
l.push(c);
|
|
101
101
|
} else if (y) {
|
|
102
|
-
const
|
|
103
|
-
y:
|
|
102
|
+
const c = e.length > 1 ? e : e[0], u = O({
|
|
103
|
+
y: c,
|
|
104
104
|
seriesIndex: 0,
|
|
105
105
|
category: a,
|
|
106
106
|
commonStrings: n
|
|
107
|
-
}), F = t.series.find((C) => ne(
|
|
108
|
-
...
|
|
107
|
+
}), F = t.series.find((C) => ne(c, C.y) && C.query?.where === void 0), d = I(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? n.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
|
|
108
|
+
...d ?? u,
|
|
109
109
|
id: m,
|
|
110
110
|
name: b,
|
|
111
111
|
x: y ? h : a
|
|
112
112
|
};
|
|
113
113
|
l.push(B);
|
|
114
114
|
} else
|
|
115
|
-
for (let
|
|
116
|
-
const u = e[
|
|
115
|
+
for (let c = 0; c < e.length; c += 1) {
|
|
116
|
+
const u = e[c], F = O({
|
|
117
117
|
y: u,
|
|
118
|
-
seriesIndex:
|
|
118
|
+
seriesIndex: c,
|
|
119
119
|
category: a,
|
|
120
120
|
commonStrings: n
|
|
121
|
-
}),
|
|
121
|
+
}), d = t.series.find((C) => u === C.y), m = I(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(r, u), B = {
|
|
122
122
|
...m ?? F,
|
|
123
123
|
id: g,
|
|
124
124
|
name: b,
|
|
@@ -128,7 +128,7 @@ function H(s) {
|
|
|
128
128
|
}
|
|
129
129
|
return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
|
|
130
130
|
}
|
|
131
|
-
const
|
|
131
|
+
const G = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Oe = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
|
|
132
132
|
function Me(s, e, t) {
|
|
133
133
|
const o = [];
|
|
134
134
|
return s.forEach((i) => {
|
|
@@ -138,7 +138,7 @@ function Me(s, e, t) {
|
|
|
138
138
|
...l,
|
|
139
139
|
type: p.LineSeries,
|
|
140
140
|
lineSymbol: {
|
|
141
|
-
...ue({ width:
|
|
141
|
+
...ue({ width: me }),
|
|
142
142
|
...r !== void 0 ? { color: r.color } : {}
|
|
143
143
|
},
|
|
144
144
|
markerSymbol: {
|
|
@@ -148,7 +148,7 @@ function Me(s, e, t) {
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
}), o.unshift(
|
|
151
|
-
|
|
151
|
+
Q({
|
|
152
152
|
x: s[0].x,
|
|
153
153
|
y: s[0].y,
|
|
154
154
|
seriesTemplate: t,
|
|
@@ -160,7 +160,7 @@ function Ie(s) {
|
|
|
160
160
|
const e = s.slice(1), t = [];
|
|
161
161
|
return e.forEach((o) => {
|
|
162
162
|
if (o.type === p.LineSeries) {
|
|
163
|
-
const { type: i, lineSymbol: n, markerSymbol: r, ...l } = o, a =
|
|
163
|
+
const { type: i, lineSymbol: n, markerSymbol: r, ...l } = o, a = X();
|
|
164
164
|
t.push({
|
|
165
165
|
...l,
|
|
166
166
|
type: p.BoxPlotSeries,
|
|
@@ -172,12 +172,12 @@ function Ie(s) {
|
|
|
172
172
|
}
|
|
173
173
|
}), t;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function H(s) {
|
|
176
176
|
const { formerSeries: e, newSeries: t, showMean: o } = s;
|
|
177
177
|
let i = t;
|
|
178
178
|
const n = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), r = e.filter(n).map((a) => a.id), l = t.filter(n).map((a) => a.id);
|
|
179
179
|
return r.length === l.length && JSON.stringify(r) !== JSON.stringify(l) && (i = i.sort(
|
|
180
|
-
(a, y) => r.findIndex((
|
|
180
|
+
(a, y) => r.findIndex((c) => c === a.id) - r.findIndex((c) => c === y.id)
|
|
181
181
|
)), i;
|
|
182
182
|
}
|
|
183
183
|
function Pe(s) {
|
|
@@ -189,31 +189,31 @@ function Pe(s) {
|
|
|
189
189
|
numericFields: n,
|
|
190
190
|
category: r,
|
|
191
191
|
splitByFieldInfos: l
|
|
192
|
-
} = s, a = r ?? w(e), { categoriesArray: y, splitByFieldType:
|
|
192
|
+
} = s, a = r ?? w(e), { categoriesArray: y, splitByFieldType: c } = l;
|
|
193
193
|
let u = [];
|
|
194
194
|
const F = Oe(e);
|
|
195
195
|
if (y.length === 0) {
|
|
196
|
-
u =
|
|
196
|
+
u = _({
|
|
197
197
|
numericFields: n,
|
|
198
198
|
category: a,
|
|
199
199
|
config: e,
|
|
200
200
|
layerInfo: t,
|
|
201
201
|
commonStrings: o
|
|
202
202
|
});
|
|
203
|
-
for (const
|
|
204
|
-
|
|
203
|
+
for (const d of u)
|
|
204
|
+
d.query && (d.query.where = `${i}=''`);
|
|
205
205
|
} else
|
|
206
|
-
for (let
|
|
207
|
-
const m = y[
|
|
206
|
+
for (let d = 0; d < y.length; d += 1) {
|
|
207
|
+
const m = y[d], g = {
|
|
208
208
|
y: n,
|
|
209
|
-
seriesIndex:
|
|
209
|
+
seriesIndex: d,
|
|
210
210
|
category: a,
|
|
211
211
|
commonStrings: o
|
|
212
|
-
}, b = F ? ve(g) : O(g), L =
|
|
212
|
+
}, b = F ? ve(g) : O(g), L = j({
|
|
213
213
|
queryObject: t.layer,
|
|
214
214
|
fieldName: i,
|
|
215
215
|
fieldValue: m ?? ""
|
|
216
|
-
}), B = `${m}`, C = e.series.find((oe) =>
|
|
216
|
+
}), B = `${m}`, C = e.series.find((oe) => G(oe) === B), te = C?.name ?? L ?? B, q = C ?? b, ie = {
|
|
217
217
|
...q,
|
|
218
218
|
id: B,
|
|
219
219
|
name: te,
|
|
@@ -222,20 +222,20 @@ function Pe(s) {
|
|
|
222
222
|
// always update y values based on default generated value
|
|
223
223
|
query: {
|
|
224
224
|
...q.query,
|
|
225
|
-
where: `${i}=${
|
|
225
|
+
where: `${i}=${c === de.String && m !== null ? `'${m}'` : m}`
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
u.push(ie);
|
|
229
229
|
}
|
|
230
|
-
if (u =
|
|
230
|
+
if (u = H({
|
|
231
231
|
formerSeries: e.series,
|
|
232
232
|
newSeries: u,
|
|
233
233
|
showMean: V(e)
|
|
234
234
|
}), V(e)) {
|
|
235
|
-
const
|
|
235
|
+
const d = e.series.find((g) => g.type === p.BoxPlotSeries), m = Q({
|
|
236
236
|
x: a,
|
|
237
237
|
y: n,
|
|
238
|
-
seriesTemplate:
|
|
238
|
+
seriesTemplate: d,
|
|
239
239
|
commonStrings: o
|
|
240
240
|
});
|
|
241
241
|
u.unshift(m);
|
|
@@ -243,9 +243,9 @@ function Pe(s) {
|
|
|
243
243
|
return u;
|
|
244
244
|
}
|
|
245
245
|
const ss = (s) => {
|
|
246
|
-
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ke(o, t, e),
|
|
247
|
-
let g =
|
|
248
|
-
if (!
|
|
246
|
+
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ke(o, t, e), c = he(a), u = w(i), F = we(i, n, r), d = J(i, n, r), m = Le({ config: i, layerInfo: n, newCategory: o });
|
|
247
|
+
let g = K(i);
|
|
248
|
+
if (!c.includes(u) && c.includes(o) ? g = Se() : c.includes(u) && !c.includes(o) && (g = pe()), g !== void 0 && ae(i, r, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Pe({
|
|
249
249
|
config: i,
|
|
250
250
|
layerInfo: n,
|
|
251
251
|
splitByField: e,
|
|
@@ -253,7 +253,7 @@ const ss = (s) => {
|
|
|
253
253
|
category: o,
|
|
254
254
|
commonStrings: r,
|
|
255
255
|
splitByFieldInfos: l
|
|
256
|
-
}) :
|
|
256
|
+
}) : _({
|
|
257
257
|
numericFields: t,
|
|
258
258
|
config: i,
|
|
259
259
|
layerInfo: n,
|
|
@@ -267,11 +267,11 @@ const ss = (s) => {
|
|
|
267
267
|
}) ? "" : A(a, o);
|
|
268
268
|
M(i, 0, L);
|
|
269
269
|
}
|
|
270
|
-
if (
|
|
270
|
+
if (d) {
|
|
271
271
|
const b = T(i, n, r);
|
|
272
272
|
M(i, 1, b);
|
|
273
273
|
}
|
|
274
|
-
i?.title !== void 0 && F && (i.title.content.text = Z(i, n, r)),
|
|
274
|
+
i?.title !== void 0 && F && (i.title.content.text = Z(i, n, r)), z({ config: i, value: null, axisIndex: 1, isMax: !1 }), z({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
275
275
|
}, De = (s) => s?.standardizeValues ?? !1;
|
|
276
276
|
function T(s, e, t) {
|
|
277
277
|
const { layerFieldsInfo: o } = e;
|
|
@@ -279,7 +279,7 @@ function T(s, e, t) {
|
|
|
279
279
|
return r = [...new Set(r)], r.length === 1 && (n = A(o, r[0])), n;
|
|
280
280
|
}
|
|
281
281
|
function Z(s, e, t) {
|
|
282
|
-
const { layerFieldsInfo: o } = e, i = w(s), n =
|
|
282
|
+
const { layerFieldsInfo: o } = e, i = w(s), n = R(s), r = Te(s), l = n.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
|
|
283
283
|
let y = "";
|
|
284
284
|
return n.length > 0 && (i !== h && r !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
|
|
285
285
|
valueFields: l,
|
|
@@ -298,14 +298,14 @@ function Z(s, e, t) {
|
|
|
298
298
|
const ts = (s) => {
|
|
299
299
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
300
300
|
let n = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
301
|
-
return re(t) || (n =
|
|
301
|
+
return re(t) || (n = G(e)), n = j({
|
|
302
302
|
queryObject: o.layer,
|
|
303
303
|
fieldName: t,
|
|
304
304
|
fieldValue: n ?? ""
|
|
305
305
|
}) ?? n, n ?? e.id;
|
|
306
306
|
}, is = (s) => s?.showOutliers ?? !1, os = (s) => {
|
|
307
307
|
const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
|
|
308
|
-
if (t.showOutliers = e,
|
|
308
|
+
if (t.showOutliers = e, J(t, o, i)) {
|
|
309
309
|
const r = T(t, o, i);
|
|
310
310
|
M(t, 1, r);
|
|
311
311
|
}
|
|
@@ -373,7 +373,7 @@ const ts = (s) => {
|
|
|
373
373
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Fe(t), r = (e ?? !1) !== (t.showMean ?? !1);
|
|
374
374
|
if (t.showMean = e, r) {
|
|
375
375
|
let l;
|
|
376
|
-
e ? l =
|
|
376
|
+
e ? l = be(t.series) ? Me(t.series, o) : t.series : l = Ie(t.series), l && (l = H({
|
|
377
377
|
formerSeries: t.series,
|
|
378
378
|
newSeries: l,
|
|
379
379
|
showMean: e
|
|
@@ -391,8 +391,8 @@ const ts = (s) => {
|
|
|
391
391
|
orderType: S.Category,
|
|
392
392
|
orderBy: s
|
|
393
393
|
});
|
|
394
|
-
},
|
|
395
|
-
const { config: e, layerInfo: t, errorStrings: o } = s, i = w(e), n =
|
|
394
|
+
}, cs = async (s) => {
|
|
395
|
+
const { config: e, layerInfo: t, errorStrings: o } = s, i = w(e), n = K(e)?.type, r = R(e);
|
|
396
396
|
let l = [];
|
|
397
397
|
return n === p.CategoryAxisFormat && (N({
|
|
398
398
|
fieldName: i,
|
|
@@ -412,7 +412,7 @@ export {
|
|
|
412
412
|
T as D,
|
|
413
413
|
ts as E,
|
|
414
414
|
w as a,
|
|
415
|
-
|
|
415
|
+
R as b,
|
|
416
416
|
Te as c,
|
|
417
417
|
is as d,
|
|
418
418
|
os as e,
|
|
@@ -421,7 +421,7 @@ export {
|
|
|
421
421
|
rs as h,
|
|
422
422
|
ee as i,
|
|
423
423
|
ns as j,
|
|
424
|
-
|
|
424
|
+
cs as k,
|
|
425
425
|
ls as l,
|
|
426
426
|
as as m,
|
|
427
427
|
Y as n,
|
|
@@ -431,10 +431,10 @@ export {
|
|
|
431
431
|
ss as r,
|
|
432
432
|
Ve as s,
|
|
433
433
|
se as t,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
434
|
+
Qe as u,
|
|
435
|
+
_e as v,
|
|
436
|
+
Ge as w,
|
|
437
|
+
He as x,
|
|
438
438
|
Be as y,
|
|
439
439
|
Ce as z
|
|
440
440
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as d } from "@arcgis/toolkit/log";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { a as P } from "./chart-object-literals.js";
|
|
4
|
+
import { l as f, ao as D, a9 as A, g as V, aa as y, am as m, ab as p, r as T } from "./index3.js";
|
|
5
|
+
import { c6 as E, c1 as l } from "./index.js";
|
|
6
6
|
import { C as N } from "./chart-model.js";
|
|
7
7
|
import { m as r } from "./model-setter.js";
|
|
8
8
|
import { B as R } from "./common.js";
|
|
@@ -15,7 +15,7 @@ import { W as ee } from "./data-labels-symbol.js";
|
|
|
15
15
|
import { W as te } from "./rotated-state.js";
|
|
16
16
|
import { g as ie, s as u, b as se, a as S } from "./series.js";
|
|
17
17
|
import { j as oe, h as re, k as ne, f as ae } from "./utils.js";
|
|
18
|
-
import { s as le, d as he, e as ce, f as ge, h as de, i as _, j as L, k as B, l as C, m as F, g as fe, n as ye, o as
|
|
18
|
+
import { s as le, d as he, e as ce, f as ge, h as de, i as _, j as L, k as B, l as C, m as F, g as fe, n as ye, o as me, p as M, a as pe, c as ue, b as Se, q as _e, r as x, t as Le, u as Be, v as I, w as Ce, x as b, y as Fe, z as Me, A as xe, B as Ie, C as be, D as we, E as w } from "./box-plot-data.js";
|
|
19
19
|
var ve = Object.defineProperty, We = Object.getOwnPropertyDescriptor, n = (c, e, t, i) => {
|
|
20
20
|
for (var o = We(e, t), a = c.length - 1, h; a >= 0; a--)
|
|
21
21
|
(h = c[a]) && (o = h(e, t, o) || o);
|
|
@@ -168,7 +168,7 @@ class s extends N {
|
|
|
168
168
|
* Only applicable when mean lines are shown.
|
|
169
169
|
*/
|
|
170
170
|
get meanLinesBoxColor() {
|
|
171
|
-
return
|
|
171
|
+
return me(this._config);
|
|
172
172
|
}
|
|
173
173
|
set meanLinesBoxColor(e) {
|
|
174
174
|
M(e, this._config);
|
|
@@ -181,7 +181,7 @@ class s extends N {
|
|
|
181
181
|
* @private
|
|
182
182
|
*/
|
|
183
183
|
setupLocalProps() {
|
|
184
|
-
this._category =
|
|
184
|
+
this._category = pe(this._config), this._splitByField = ue(this._config), this._numericFields = Se(this._config);
|
|
185
185
|
}
|
|
186
186
|
/** @private */
|
|
187
187
|
generateDefaultConfig() {
|
|
@@ -353,7 +353,7 @@ class s extends N {
|
|
|
353
353
|
layerInfo: this.layerInfo,
|
|
354
354
|
commonStrings: this.commonStrings
|
|
355
355
|
});
|
|
356
|
-
I(a ?? t, e, this._config), this.showMeanLines === !0 && l(o) && (u(
|
|
356
|
+
I(a ?? t, e, this._config), this.showMeanLines === !0 && l(o) && (u(m, o), S(p, o));
|
|
357
357
|
}
|
|
358
358
|
this.showMeanLines === !0 && M(y, this._config), this._config.colorMatch = !0;
|
|
359
359
|
}
|
|
@@ -377,7 +377,7 @@ class s extends N {
|
|
|
377
377
|
}
|
|
378
378
|
if (this.showMeanLines === !0 && l(h)) {
|
|
379
379
|
const W = this.getSeriesLineStyle(a), O = this.getSeriesLineWidth(a);
|
|
380
|
-
if (W !==
|
|
380
|
+
if (W !== m || O !== p) {
|
|
381
381
|
o = !0;
|
|
382
382
|
break;
|
|
383
383
|
}
|