@arcgis/charts-components 5.2.0-next.111 → 5.2.0-next.113
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/{ZYHMZQ7E.js → 2HOC2K2G.js} +1 -1
- package/dist/cdn/{GQLSM5Q7.js → 2KONYHWP.js} +1 -1
- package/dist/cdn/{5O2Y7SWC.js → 2PTVL4CD.js} +1 -1
- package/dist/cdn/{2YDNWOWT.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/{UVLCXTG4.js → 3YLAS5LP.js} +1 -1
- package/dist/cdn/{IBUI4UOV.js → 4DHM47TE.js} +1 -1
- package/dist/cdn/{YJURFFSP.js → 4PLBZKSO.js} +1 -1
- package/dist/cdn/{7CP5MYX6.js → 4RGJW7QM.js} +1 -1
- package/dist/cdn/{EEKAD6DT.js → 4VIKN2DI.js} +1 -1
- package/dist/cdn/{3ECXJYBU.js → 5MCUSUHK.js} +1 -1
- package/dist/cdn/{FBS4RBSA.js → 5S5FI5VM.js} +1 -1
- package/dist/cdn/{VZ7OCBNK.js → 5VPT6YPC.js} +1 -1
- package/dist/cdn/{XIBI3WA6.js → 6A2PSHTX.js} +1 -1
- package/dist/cdn/{HW7O5QZ4.js → 6E7XC7SF.js} +1 -1
- package/dist/cdn/{XZVJMTU2.js → 6WI56V3O.js} +1 -1
- package/dist/cdn/{VQU2TVX7.js → AYA7WEUX.js} +2 -2
- package/dist/cdn/{FZHZIZUN.js → B2ORCBF2.js} +1 -1
- package/dist/cdn/{CLL7X6DF.js → C3BQVSNQ.js} +1 -1
- package/dist/cdn/{CREJLRJS.js → CZBQKSWG.js} +1 -1
- package/dist/cdn/{MRSEZPVC.js → DLN3QGAY.js} +1 -1
- package/dist/cdn/{PDDYOVQM.js → DORZB3CO.js} +1 -1
- package/dist/cdn/{4NIKYLE5.js → DUPBITZX.js} +1 -1
- package/dist/cdn/{VSN5E7Y4.js → DXK2F7IC.js} +1 -1
- package/dist/cdn/{IHOTDAKI.js → E6MCRDEU.js} +1 -1
- package/dist/cdn/{3NXCG3O2.js → ELSCO7RQ.js} +1 -1
- package/dist/cdn/{J5JKYZZW.js → EOD7FLMU.js} +1 -1
- package/dist/cdn/{5HJSLXLN.js → ERNVZRGN.js} +1 -1
- package/dist/cdn/{ZHFQTE2B.js → ETDV5MZZ.js} +1 -1
- package/dist/cdn/{5SXFY4KT.js → EWWMTC3C.js} +1 -1
- package/dist/cdn/{3CIO2C6J.js → EY4ALBSW.js} +1 -1
- package/dist/cdn/{JJJRAQMT.js → FLDXN76G.js} +1 -1
- package/dist/cdn/{OIBX62RU.js → GCZP2NNE.js} +1 -1
- package/dist/cdn/{56242OEE.js → GTGCFMOM.js} +1 -1
- package/dist/cdn/{NITHPHM6.js → HTUZP5ET.js} +1 -1
- package/dist/cdn/{RZJQJ43Y.js → HZIDKKII.js} +1 -1
- package/dist/cdn/IBSZEYTA.js +2 -0
- package/dist/cdn/{G22GCRXH.js → ICA2YKMH.js} +1 -1
- package/dist/cdn/{JV4CEAY2.js → IJ42AM6S.js} +1 -1
- package/dist/cdn/{EHUV23QJ.js → IPM7HASK.js} +1 -1
- package/dist/cdn/{YFU2NPYA.js → K6ZOSX22.js} +1 -1
- package/dist/cdn/{OIQ76HQC.js → KMRW2FOQ.js} +1 -1
- package/dist/cdn/{N2Y3TMUH.js → KW5FFPKZ.js} +1 -1
- package/dist/cdn/{3S6ZGK3H.js → MAHQA5GL.js} +1 -1
- package/dist/cdn/{3A6N7WAM.js → MGXNXWVO.js} +1 -1
- package/dist/cdn/{FCWOV4NW.js → N7MGJM2Y.js} +1 -1
- package/dist/cdn/{DAQT4YNQ.js → NE6XMJNA.js} +1 -1
- package/dist/cdn/{EY3OIDVL.js → NHJGPR7T.js} +1 -1
- package/dist/cdn/{EWNXVZMV.js → NN7VM75G.js} +1 -1
- package/dist/cdn/{M624HH3K.js → NP4ZKUVK.js} +1 -1
- package/dist/cdn/{VQHPI3CU.js → NQA5LVMY.js} +1 -1
- package/dist/cdn/{H7K6D57Z.js → OGXDBGRX.js} +1 -1
- package/dist/cdn/OMX3FEUO.js +2 -0
- package/dist/cdn/{ADKPM4DW.js → OQ7PZJV6.js} +1 -1
- package/dist/cdn/{NT7D3WEH.js → P7JFMF66.js} +1 -1
- package/dist/cdn/{AEC7S556.js → PDAI3TM2.js} +1 -1
- package/dist/cdn/{MQYMM7JO.js → PHT3QKS6.js} +1 -1
- package/dist/cdn/Q4JNBW33.js +3 -0
- package/dist/cdn/{724I3SBO.js → QK2VTRRB.js} +1 -1
- package/dist/cdn/{WJQHEITU.js → QLKFXAHY.js} +1 -1
- package/dist/cdn/{FY7T4YLN.js → QYBVMICG.js} +1 -1
- package/dist/cdn/{GU4EQDNJ.js → RXREAXJS.js} +1 -1
- package/dist/cdn/{I4RZDDUM.js → SRBLDVCV.js} +1 -1
- package/dist/cdn/{WDDGKBBJ.js → T7JGMOPN.js} +1 -1
- package/dist/cdn/{EWPEPYH7.js → TD4DW6P7.js} +1 -1
- package/dist/cdn/{TK4E37D6.js → TE5UBTRT.js} +1 -1
- package/dist/cdn/{MSU36MJR.js → TN6P4DOU.js} +1 -1
- package/dist/cdn/{U7NEGO4Z.js → TUJPREQD.js} +1 -1
- package/dist/cdn/{L76QTUHW.js → TZ4QIVTR.js} +1 -1
- package/dist/cdn/{KYVBQUIS.js → U47QIWXK.js} +1 -1
- package/dist/cdn/{73R5I52R.js → U7RB6WCB.js} +1 -1
- package/dist/cdn/{YHON6N45.js → UC2TRV7Y.js} +1 -1
- package/dist/cdn/{QKUFLZC3.js → UGLK7BBG.js} +1 -1
- package/dist/cdn/{OKKEWHMB.js → UO5TMG7I.js} +1 -1
- package/dist/cdn/{M7NERHZY.js → UQ3NNWEM.js} +1 -1
- package/dist/cdn/{5QBKM6NC.js → UZOMM2XD.js} +1 -1
- package/dist/cdn/{LMXFW6NW.js → VH5EZWUP.js} +1 -1
- package/dist/cdn/{7UUCZOKN.js → WAN2K6TS.js} +1 -1
- package/dist/cdn/{UNRHPYXW.js → WCSLV2JM.js} +11 -11
- package/dist/cdn/{EMOJZ4XR.js → WELTTZAK.js} +1 -1
- package/dist/cdn/{AHOCGFB7.js → WH4W6K35.js} +1 -1
- package/dist/cdn/WTB2CFTX.js +2 -0
- package/dist/cdn/{FTVVGZ4Z.js → X26W3CYZ.js} +1 -1
- package/dist/cdn/{VQRSXCKD.js → XPFEIWMS.js} +1 -1
- package/dist/cdn/{T7Z4DZ7V.js → XY5U4M2J.js} +1 -1
- package/dist/cdn/{JTP6IREK.js → YEMNXS4U.js} +1 -1
- package/dist/cdn/{VYD2S5WA.js → YJJOHKGU.js} +1 -1
- package/dist/cdn/{QXLY4SFY.js → Z6FRC562.js} +1 -1
- package/dist/cdn/{62GSQDTE.js → ZTVR6KBG.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 +2 -3
- package/dist/chunks/action-bar-utils.js +50 -50
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/data.js +8 -8
- package/dist/chunks/index.js +10 -7
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +14 -14
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/utils.js +5 -5
- package/dist/components/arcgis-chart/customElement.d.ts +3 -4
- package/dist/components/arcgis-chart/customElement.js +118 -114
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +198 -13
- package/dist/components/arcgis-charts-action-bar/customElement.js +70 -58
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +28 -27
- 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.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/interfaces.d.ts +16 -1
- package/dist/loader.js +3 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- 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.d.ts +2 -3
- package/dist/utils/defaults/index.d.ts +2 -2
- package/dist/utils/layer/index.d.ts +1 -2
- package/dist/utils/layer/interfaces.d.ts +2 -3
- package/dist/utils/layer/utils/index.d.ts +5 -5
- package/package.json +5 -5
- package/dist/cdn/2PWEWSG6.js +0 -2
- package/dist/cdn/E2YQ7BBF.js +0 -2
- package/dist/cdn/MIA4DLUH.js +0 -3
- package/dist/cdn/YK5VKE7I.js +0 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { g } from "./series-types.js";
|
|
3
|
-
import { i as
|
|
4
|
-
import { a } from "./chart-object-literals.js";
|
|
5
|
-
import { m as
|
|
2
|
+
import { g as C } from "./series-types.js";
|
|
3
|
+
import { i as b } from "./rotated-state.js";
|
|
4
|
+
import { a as r } from "./chart-object-literals.js";
|
|
5
|
+
import { m as p, h as u, a as F, A as f } from "./index2.js";
|
|
6
6
|
import { D as e, c as o, A as n } from "./index5.js";
|
|
7
|
-
import { p as
|
|
8
|
-
import { i as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
const
|
|
7
|
+
import { p as D } from "./index.js";
|
|
8
|
+
import { i as m } from "./index4.js";
|
|
9
|
+
import { i as v } from "./type-guards.js";
|
|
10
|
+
import { i as A, g as w } from "./type-guards2.js";
|
|
11
|
+
const V = [
|
|
12
12
|
e.EditChart,
|
|
13
13
|
e.Legend,
|
|
14
14
|
e.RotateChart,
|
|
@@ -21,7 +21,7 @@ const T = [
|
|
|
21
21
|
e.SwitchSelection,
|
|
22
22
|
e.ExportAsCSV,
|
|
23
23
|
e.ExportAsImage
|
|
24
|
-
],
|
|
24
|
+
], I = [
|
|
25
25
|
e.EditChart,
|
|
26
26
|
e.Legend,
|
|
27
27
|
e.RotateChart,
|
|
@@ -34,7 +34,7 @@ const T = [
|
|
|
34
34
|
e.SwitchSelection,
|
|
35
35
|
e.ExportAsImage,
|
|
36
36
|
e.ExportAsCSV
|
|
37
|
-
],
|
|
37
|
+
], L = [
|
|
38
38
|
e.EditChart,
|
|
39
39
|
e.Legend,
|
|
40
40
|
e.RotateChart,
|
|
@@ -47,7 +47,7 @@ const T = [
|
|
|
47
47
|
e.SwitchSelection,
|
|
48
48
|
e.ExportAsImage,
|
|
49
49
|
e.ExportAsCSV
|
|
50
|
-
],
|
|
50
|
+
], T = [
|
|
51
51
|
e.EditChart,
|
|
52
52
|
e.Legend,
|
|
53
53
|
e.FilterBySelection,
|
|
@@ -67,7 +67,7 @@ const T = [
|
|
|
67
67
|
e.SwitchSelection,
|
|
68
68
|
e.ExportAsImage,
|
|
69
69
|
e.ExportAsCSV
|
|
70
|
-
],
|
|
70
|
+
], Z = [
|
|
71
71
|
e.EditChart,
|
|
72
72
|
e.Legend,
|
|
73
73
|
e.FilterBySelection,
|
|
@@ -79,7 +79,7 @@ const T = [
|
|
|
79
79
|
e.SwitchSelection,
|
|
80
80
|
e.ExportAsImage,
|
|
81
81
|
e.ExportAsCSV
|
|
82
|
-
],
|
|
82
|
+
], P = [
|
|
83
83
|
e.EditChart,
|
|
84
84
|
e.Legend,
|
|
85
85
|
e.FilterBySelection,
|
|
@@ -91,7 +91,7 @@ const T = [
|
|
|
91
91
|
e.SwitchSelection,
|
|
92
92
|
e.ExportAsImage,
|
|
93
93
|
e.ExportAsCSV
|
|
94
|
-
],
|
|
94
|
+
], R = [
|
|
95
95
|
e.EditChart,
|
|
96
96
|
e.Legend,
|
|
97
97
|
e.RotateChart,
|
|
@@ -110,56 +110,56 @@ const T = [
|
|
|
110
110
|
e.ExportAsImage,
|
|
111
111
|
e.ExportAsCSV
|
|
112
112
|
];
|
|
113
|
-
function Q(
|
|
114
|
-
switch (
|
|
115
|
-
case
|
|
116
|
-
return T;
|
|
117
|
-
case a.LineSeries:
|
|
113
|
+
function Q(s) {
|
|
114
|
+
switch (s) {
|
|
115
|
+
case r.BarSeries:
|
|
118
116
|
return V;
|
|
119
|
-
case
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
return
|
|
123
|
-
case
|
|
117
|
+
case r.LineSeries:
|
|
118
|
+
return I;
|
|
119
|
+
case r.ComboLineAndBarSeries:
|
|
120
|
+
return L;
|
|
121
|
+
case r.PieSeries:
|
|
122
|
+
return T;
|
|
123
|
+
case r.HistogramSeries:
|
|
124
|
+
return Z;
|
|
125
|
+
case r.ScatterSeries:
|
|
124
126
|
return P;
|
|
125
|
-
case
|
|
127
|
+
case r.BoxPlotSeries:
|
|
126
128
|
return R;
|
|
127
|
-
case
|
|
128
|
-
return Z;
|
|
129
|
-
case a.GaugeSeries:
|
|
129
|
+
case r.GaugeSeries:
|
|
130
130
|
return H;
|
|
131
|
-
case
|
|
131
|
+
case r.HeatSeries:
|
|
132
132
|
return M;
|
|
133
133
|
default:
|
|
134
134
|
return [];
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const U = (
|
|
138
|
-
const
|
|
139
|
-
return
|
|
140
|
-
actionBar:
|
|
137
|
+
const U = (s, i, t) => {
|
|
138
|
+
const a = s.target.assignedNodes().find((S) => "legendToggle" in S || "legendActive" in S), c = C(t?.series);
|
|
139
|
+
return a && (a.chartType = c, z({
|
|
140
|
+
actionBar: a,
|
|
141
141
|
chartComponent: i,
|
|
142
142
|
config: t
|
|
143
|
-
})),
|
|
143
|
+
})), a;
|
|
144
144
|
};
|
|
145
|
-
function
|
|
146
|
-
const { actionBar: i, chartComponent: t, config:
|
|
147
|
-
if (i.chartType =
|
|
148
|
-
const
|
|
149
|
-
i.hiddenActions =
|
|
145
|
+
function z(s) {
|
|
146
|
+
const { actionBar: i, chartComponent: t, config: l, isInfoModalDisplayed: a } = s, c = p(t.selectionData), S = l?.legend ? l.legend.visible ?? !0 : !1;
|
|
147
|
+
if (i.chartType = C(l?.series), t.enableConfiguration || t.configurationEnabled) {
|
|
148
|
+
const h = i.hiddenActions ?? [];
|
|
149
|
+
i.hiddenActions = h.filter((x) => x !== e.EditChart);
|
|
150
150
|
}
|
|
151
|
-
i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled;
|
|
152
|
-
const d =
|
|
153
|
-
i.legendState = d ? o.Enabled : o.Disabled;
|
|
154
|
-
const
|
|
155
|
-
i.legendToggle = d &&
|
|
156
|
-
const
|
|
157
|
-
i.rotateChartToggle =
|
|
158
|
-
const
|
|
159
|
-
i.filterBySelectionState = !
|
|
151
|
+
i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled, i.editChartEnabled = !!(t.enableConfiguration || t.configurationEnabled);
|
|
152
|
+
const d = l && u(l.series);
|
|
153
|
+
i.legendState = d ? o.Enabled : o.Disabled, i.legendDisabled = !d;
|
|
154
|
+
const E = A(t?.model) && w(t?.model) ? t.model.legendVisibility : S;
|
|
155
|
+
i.legendToggle = d && E ? n.Active : n.Inactive, i.legendActive = !!(d && E);
|
|
156
|
+
const g = A(t?.model) && b(t.model) ? t.model.rotated : l?.rotated;
|
|
157
|
+
i.rotateChartToggle = g ? n.Active : n.Inactive, i.rotateChartActive = !!g;
|
|
158
|
+
const B = D(l?.series ?? []) === F.PieFromFields, y = v(t.layer);
|
|
159
|
+
i.filterBySelectionState = !y && !B && (t.filterBySelection || !c && (!t.filterByExtent || !t.filterByViewExtent)) ? o.Enabled : o.Disabled, i.filterBySelectionDisabled = !(!y && !B && (t.filterBySelection || !c && (!t.filterByExtent || !t.filterByViewExtent))), i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterBySelectionActive = !!t.filterBySelection, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentDisabled = !(t.filterByViewExtent || !t.filterBySelection), i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.filterByViewExtentActive = !!t.filterByViewExtent, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomDisabled = !!t.filterBySelection, i.zoomToggle = t.actionMode === f.Zoom ? n.Active : n.Inactive, i.zoomActive = t.actionMode === f.Zoom, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionDisabled = !!t.filterBySelection, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.selectionActive = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode, i.clearSelectionState = c ? o.Disabled : o.Enabled, i.clearSelectionDisabled = !!c, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.fullExtentDisabled = !!t.filterBySelection, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionDisabled = !!t.filterBySelection, i.exportActionState = a || m(l) ? o.Disabled : o.Enabled, i.exportActionDisabled = !!(a || m(l));
|
|
160
160
|
}
|
|
161
161
|
export {
|
|
162
162
|
Q as g,
|
|
163
163
|
U as o,
|
|
164
|
-
|
|
164
|
+
z as u
|
|
165
165
|
};
|
|
@@ -8,7 +8,7 @@ import { g as de } from "./series-length.js";
|
|
|
8
8
|
import { s as N } from "./data.js";
|
|
9
9
|
import { d as ye } from "./rest-js-object-literals.js";
|
|
10
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 ue, t as fe, a9 as
|
|
11
|
+
import { o as X, l as h, n as ue, t as fe, a9 as $, aa as z, Y as me, ab as Se, W as pe, X as ge } from "./index3.js";
|
|
12
12
|
import { b as A } from "./index2.js";
|
|
13
13
|
import { cl as M, c1 as xe, c6 as D, M as be, U as he, cm as Fe, cn as Ae, a1 as j } from "./index.js";
|
|
14
14
|
import { i as P } from "./index4.js";
|
|
@@ -97,7 +97,7 @@ const C = (s) => D(s)?.x ?? h, Me = Y(
|
|
|
97
97
|
return U(r);
|
|
98
98
|
}, Pe = (s) => {
|
|
99
99
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
100
|
-
...
|
|
100
|
+
...me({ commonStrings: i, seriesIndex: t }),
|
|
101
101
|
x: e === void 0 || e === "" ? h : e,
|
|
102
102
|
y: o,
|
|
103
103
|
query: {}
|
|
@@ -162,7 +162,7 @@ function Ve(s, e, t) {
|
|
|
162
162
|
...l,
|
|
163
163
|
type: p.LineSeries,
|
|
164
164
|
lineSymbol: {
|
|
165
|
-
...fe({ width:
|
|
165
|
+
...fe({ width: Se }),
|
|
166
166
|
...r !== void 0 ? { color: r.color } : {}
|
|
167
167
|
},
|
|
168
168
|
markerSymbol: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as d } from "@arcgis/toolkit/log";
|
|
3
3
|
import { a as W } from "./chart-object-literals.js";
|
|
4
|
-
import { l as f, ao as O,
|
|
4
|
+
import { l as f, ao as O, a9 as P, g as D, aa as y, am as m, ab as p, r as A } from "./index3.js";
|
|
5
5
|
import { c6 as V, c1 as h } from "./index.js";
|
|
6
6
|
import { C as T } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import {
|
|
3
|
+
import { aM as B, p as L, r as $, q as N, co as I, bY as h, bA as H, w as P, c8 as _, y as M } from "./index.js";
|
|
4
4
|
import { g as C } from "./series-types.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { H as A, S as o, P as v } from "./common.js";
|
|
6
|
+
import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
|
|
7
7
|
import { a as U } from "./index2.js";
|
|
8
8
|
import { l as W } from "./index3.js";
|
|
9
9
|
import { i as Y } from "./type-guards.js";
|
|
@@ -30,7 +30,7 @@ const K = (e) => {
|
|
|
30
30
|
const s = e.orderOptions?.data?.orderType;
|
|
31
31
|
return R(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
32
|
}, re = (e, r, s, t) => {
|
|
33
|
-
const i = C(r.series), m =
|
|
33
|
+
const i = C(r.series), m = B(r);
|
|
34
34
|
r.orderOptions ??= {};
|
|
35
35
|
let a = m ? [""] : l.Ascending;
|
|
36
36
|
if (m)
|
|
@@ -65,13 +65,13 @@ const K = (e) => {
|
|
|
65
65
|
seriesIndex: x,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T = C(r.series), b =
|
|
68
|
+
} = e, T = C(r.series), b = L(r.series);
|
|
69
69
|
let f;
|
|
70
70
|
if (Y(a)) {
|
|
71
|
-
const y =
|
|
71
|
+
const y = I(a);
|
|
72
72
|
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField: y, isTraditionalTypeOID: D } =
|
|
74
|
+
const { idField: y, isTraditionalTypeOID: D } = $(N(a));
|
|
75
75
|
f = D && t.length === 1 && t[0] === y;
|
|
76
76
|
}
|
|
77
77
|
let p = "y", F = "y";
|
|
@@ -105,7 +105,7 @@ const K = (e) => {
|
|
|
105
105
|
};
|
|
106
106
|
function V(e) {
|
|
107
107
|
const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
|
|
108
|
-
return r ===
|
|
108
|
+
return r === H || r === P || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function j(e) {
|
|
111
111
|
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");
|
package/dist/chunks/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import ka from "@arcgis/core/Graphic.js";
|
|
|
7
7
|
import * as fr from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import * as Kt from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
9
|
import { g as Q, s as Qa } from "./series-types.js";
|
|
10
|
-
import { q as k, g as mr, Q as _a, l as zt, i as G, R as ut, S as Ut, T as Ha, U as ct, a as Ei, V as qe, C as gr, L as za, M as Ua,
|
|
10
|
+
import { q as k, g as mr, Q as _a, l as zt, i as G, R as ut, S as Ut, T as Ha, U as ct, a as Ei, V as qe, C as gr, L as za, M as Ua, r as yr, p as si } from "./index3.js";
|
|
11
11
|
import { i as ie, c as nt, d as pr, a as yt, e as Ga, f as Wa, g as ja } from "./type-guards.js";
|
|
12
12
|
import qi from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
13
|
import Xa from "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -236,7 +236,7 @@ function qc(t) {
|
|
|
236
236
|
return t !== void 0 && (!("url" in t) || !t.url);
|
|
237
237
|
}
|
|
238
238
|
function Ve(t) {
|
|
239
|
-
return t !== void 0 && "view" in t && "layer" in t && t
|
|
239
|
+
return t !== void 0 && "view" in t && "layer" in t && "queryFeatures" in t && "queryFeatureCount" in t && "queryObjectIds" in t;
|
|
240
240
|
}
|
|
241
241
|
function Rc(t) {
|
|
242
242
|
return t !== void 0 && "view" in t && "layer" in t && t.layer.type === "scene";
|
|
@@ -3192,11 +3192,14 @@ function Hd(t) {
|
|
|
3192
3192
|
queryObject: n
|
|
3193
3193
|
})
|
|
3194
3194
|
}), de(e)) {
|
|
3195
|
-
const o = i?.data && "meanLines" in i.data ? i.data.meanLines : void 0;
|
|
3196
|
-
o && qt({
|
|
3195
|
+
const o = i?.data && "meanLines" in i.data ? i.data.meanLines : void 0, l = i?.data && "outliers" in i.data ? i.data.outliers : void 0;
|
|
3196
|
+
if (o && qt({
|
|
3197
3197
|
arrayToSort: o,
|
|
3198
3198
|
chartConfig: e
|
|
3199
|
-
})
|
|
3199
|
+
}), l && s) {
|
|
3200
|
+
const { x: c } = e.series[0], u = Array.from(new Set(s.map((d) => d[c])));
|
|
3201
|
+
l.sort((d, f) => u.indexOf(d[c]) - u.indexOf(f[c]));
|
|
3202
|
+
}
|
|
3200
3203
|
}
|
|
3201
3204
|
Ge(e) && i.data && eo({ chartConfig: e, chartData: i.data });
|
|
3202
3205
|
}
|
|
@@ -9195,8 +9198,8 @@ export {
|
|
|
9195
9198
|
Ct as aN,
|
|
9196
9199
|
hu as aO,
|
|
9197
9200
|
Qi as aP,
|
|
9198
|
-
|
|
9199
|
-
|
|
9201
|
+
pe as aQ,
|
|
9202
|
+
Ve as aR,
|
|
9200
9203
|
ld as aS,
|
|
9201
9204
|
Dr as aT,
|
|
9202
9205
|
wl as aU,
|
package/dist/chunks/index2.js
CHANGED
|
@@ -448,7 +448,7 @@ const Se = {
|
|
|
448
448
|
htmlEmptyContent: "<p></p>",
|
|
449
449
|
boxPlot: {
|
|
450
450
|
boxPlotCategory: "arcgis_charts_box_plot_category",
|
|
451
|
-
boxPlotOutliersSuffix: "
|
|
451
|
+
boxPlotOutliersSuffix: "_with_outliers",
|
|
452
452
|
boxPlotOutliersVisibility: !1,
|
|
453
453
|
boxPlotStandardizeValuesVisibility: !1,
|
|
454
454
|
boxPlotOutliersSize: 4,
|
package/dist/chunks/index3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { g as D, t as P, a, d as u, f as w, h as V, b as R, e as W, S as j, k as $, s as Q, c as J } from "./chart-object-literals.js";
|
|
3
3
|
import { a as y, b as m, R as L, e as N } from "./rest-js-object-literals.js";
|
|
4
4
|
import "@arcgis/toolkit/type";
|
|
5
5
|
const C = "25.2.0", K = {
|
|
@@ -21,7 +21,7 @@ const C = "25.2.0", K = {
|
|
|
21
21
|
maxRecords: 2e3,
|
|
22
22
|
orderByJSAPIDelimiter: " ",
|
|
23
23
|
outStatistics: {
|
|
24
|
-
statisticType:
|
|
24
|
+
statisticType: j.statisticType,
|
|
25
25
|
onStatisticField: "OBJECTID",
|
|
26
26
|
outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
|
|
27
27
|
},
|
|
@@ -344,7 +344,7 @@ function je() {
|
|
|
344
344
|
return {
|
|
345
345
|
type: a.SizePolicy,
|
|
346
346
|
field: "",
|
|
347
|
-
scaleType:
|
|
347
|
+
scaleType: $.Linear,
|
|
348
348
|
minSize: 5,
|
|
349
349
|
maxSize: 30
|
|
350
350
|
};
|
|
@@ -497,11 +497,11 @@ function me(t) {
|
|
|
497
497
|
font: n(s.DataLabels)
|
|
498
498
|
}),
|
|
499
499
|
temporalBinning: {
|
|
500
|
-
unit:
|
|
500
|
+
unit: W.Day,
|
|
501
501
|
size: 0,
|
|
502
502
|
timeAggregationType: R.Start,
|
|
503
503
|
trimIncompleteTimeInterval: !0,
|
|
504
|
-
nullPolicy:
|
|
504
|
+
nullPolicy: V.Interpolate
|
|
505
505
|
}
|
|
506
506
|
};
|
|
507
507
|
}
|
|
@@ -884,7 +884,7 @@ function fe() {
|
|
|
884
884
|
x: "",
|
|
885
885
|
binCount: 32,
|
|
886
886
|
overlays: ge(),
|
|
887
|
-
dataTransformationType:
|
|
887
|
+
dataTransformationType: Q.None,
|
|
888
888
|
fillSymbol: Ce(),
|
|
889
889
|
dataLabels: o({
|
|
890
890
|
text: "",
|
|
@@ -1110,12 +1110,12 @@ function St(t, e) {
|
|
|
1110
1110
|
return r;
|
|
1111
1111
|
}
|
|
1112
1112
|
function dt() {
|
|
1113
|
-
return
|
|
1113
|
+
return J.Side;
|
|
1114
1114
|
}
|
|
1115
1115
|
function xt(t) {
|
|
1116
1116
|
return t.utilsStrings.notAvailable;
|
|
1117
1117
|
}
|
|
1118
|
-
const gt = 0, Ct = "
|
|
1118
|
+
const gt = 0, Ct = "_with_outliers", ft = "_with_z_score", yt = [210, 210, 210, 255 * d], ht = " percentage ", bt = 7, Tt = {
|
|
1119
1119
|
getChartId: g,
|
|
1120
1120
|
getDefaultCategoryAxis: A
|
|
1121
1121
|
}, pt = 5;
|
|
@@ -1125,9 +1125,9 @@ export {
|
|
|
1125
1125
|
je as B,
|
|
1126
1126
|
_e as C,
|
|
1127
1127
|
b as D,
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1128
|
+
q as E,
|
|
1129
|
+
X as F,
|
|
1130
|
+
M as G,
|
|
1131
1131
|
mt as H,
|
|
1132
1132
|
St as I,
|
|
1133
1133
|
ht as J,
|
|
@@ -1158,7 +1158,7 @@ export {
|
|
|
1158
1158
|
h as a6,
|
|
1159
1159
|
T as a7,
|
|
1160
1160
|
C as a8,
|
|
1161
|
-
|
|
1161
|
+
Xe as a9,
|
|
1162
1162
|
f as aA,
|
|
1163
1163
|
oe as aB,
|
|
1164
1164
|
_ as aC,
|
|
@@ -1166,8 +1166,8 @@ export {
|
|
|
1166
1166
|
le as aE,
|
|
1167
1167
|
Me as aF,
|
|
1168
1168
|
Tt as aG,
|
|
1169
|
-
|
|
1170
|
-
|
|
1169
|
+
yt as aa,
|
|
1170
|
+
ve as ab,
|
|
1171
1171
|
fe as ac,
|
|
1172
1172
|
ge as ad,
|
|
1173
1173
|
F as ae,
|
package/dist/chunks/index4.js
CHANGED
|
@@ -4,7 +4,7 @@ import P from "ajv";
|
|
|
4
4
|
import { g as k } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import { c4 as u, q as E,
|
|
7
|
+
import { c4 as u, q as E, aQ as M, at as C, bE as V, p as I, w as T, bs as z, c5 as G, t as x, bR as W, aN as U, bn as F, c6 as H, be as J, W as _, c7 as K, bA as Q, y as Z, c8 as X, M as Y, N as ee } from "./index.js";
|
|
8
8
|
import { l as te, q as ie } from "./index3.js";
|
|
9
9
|
import { i as v, a as h, D as re } from "./index2.js";
|
|
10
10
|
import { g as S } from "./series-types.js";
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as q, a as d, d as A, g as w } from "./chart-object-literals.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as I, ah as O, cb as k, cc as V, cd as L, ce as B, O as E, a1 as b } from "./index.js";
|
|
4
4
|
import { i as T } from "./type-guards.js";
|
|
5
5
|
import { f as M, b as S, i as W, q as $ } from "./index2.js";
|
|
6
6
|
import { substitute as h } from "@arcgis/core/intl.js";
|
|
@@ -14,7 +14,7 @@ const se = (s) => {
|
|
|
14
14
|
}, ae = (s) => {
|
|
15
15
|
const { config: e, axisIndex: i, callback: t } = s;
|
|
16
16
|
[i !== void 0 ? e.axes?.[i] : e.axes].flat().forEach((a) => {
|
|
17
|
-
a !== void 0 &&
|
|
17
|
+
a !== void 0 && O(a.valueFormat) && t(a);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
function re(s, e, i) {
|
|
@@ -36,7 +36,7 @@ function oe(s) {
|
|
|
36
36
|
if (e.series[0]?.type === d.HeatSeries)
|
|
37
37
|
o = S(i.layerFieldsInfo, e.series[0].y);
|
|
38
38
|
else if (a.length === 1) {
|
|
39
|
-
const g = S(i.layerFieldsInfo, a[0]), n =
|
|
39
|
+
const g = S(i.layerFieldsInfo, a[0]), n = I(i.layer).idField;
|
|
40
40
|
r === A.NoAggregation ? o = g : r === A.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = h(t.axisLabels.aggregationOfFieldName, {
|
|
41
41
|
aggregation: f,
|
|
42
42
|
fieldName: g
|
|
@@ -82,7 +82,7 @@ const C = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], D = (s) => {
|
|
|
82
82
|
}, N = (s, e) => {
|
|
83
83
|
let i;
|
|
84
84
|
const t = e.axes?.[s]?.valueFormat;
|
|
85
|
-
return (s === 0 || s >= 1 &&
|
|
85
|
+
return (s === 0 || s >= 1 && O(t)) && (i = t), i;
|
|
86
86
|
}, de = (s) => {
|
|
87
87
|
const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = C(e, a, i);
|
|
88
88
|
if (r !== void 0 && t !== void 0) {
|
|
@@ -112,7 +112,7 @@ async function me(s) {
|
|
|
112
112
|
geometry: e?.dataFilters?.geometry
|
|
113
113
|
};
|
|
114
114
|
let p = "";
|
|
115
|
-
o?.length === 0 ? p =
|
|
115
|
+
o?.length === 0 ? p = I(i).idField : o && ([p] = o);
|
|
116
116
|
let y = i ? T(i) ? await L({
|
|
117
117
|
layer: i,
|
|
118
118
|
category: e?.series[0].x ?? "",
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
4
|
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
5
|
-
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
6
5
|
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer.js";
|
|
7
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
7
|
import type { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback, ScatterplotLabelFormatCallback, TooltipFormatters } from "../../chart-rendering/common/interfaces.js";
|
|
@@ -944,7 +943,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
944
943
|
/**
|
|
945
944
|
* When `true`, it signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
|
|
946
945
|
*
|
|
947
|
-
* This property will be effective when the component's [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) property is provided or when the [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) property is set to [
|
|
946
|
+
* This property will be effective when the component's [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) property is provided or when the [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) property is set to [ChartLayerView](https://developers.arcgis.com/javascript/latest/references/charts-components/interfaces/#ChartLayerView).
|
|
948
947
|
*
|
|
949
948
|
* By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
|
|
950
949
|
* geometry filters passed through the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) or the [runtimeDataFilters](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#runtimeDataFilters) properties.
|
|
@@ -960,9 +959,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
960
959
|
accessor interactionsDisabled: boolean;
|
|
961
960
|
/**
|
|
962
961
|
* Used to perform queries.
|
|
963
|
-
* If the layer is a `
|
|
962
|
+
* If the layer is a `ChartLayerView` or if the layer and the `view` property are both provided, the queries will be executed client-side.
|
|
964
963
|
*/
|
|
965
|
-
accessor layer: ChartLayerInput |
|
|
964
|
+
accessor layer: ChartLayerInput | undefined;
|
|
966
965
|
/**
|
|
967
966
|
* Allows the chart to update automatically when the layer's `fields` property changes.
|
|
968
967
|
*
|