@arcgis/charts-components 5.2.0-next.112 → 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/{KT73CPBF.js → 2HOC2K2G.js} +1 -1
- package/dist/cdn/{RCPTFBBV.js → 2KONYHWP.js} +1 -1
- package/dist/cdn/{KBPX6OO5.js → 2PTVL4CD.js} +1 -1
- package/dist/cdn/{2YDNWOWT.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/{Q3NST3BX.js → 3YLAS5LP.js} +1 -1
- package/dist/cdn/{7QFH42AK.js → 4DHM47TE.js} +1 -1
- package/dist/cdn/{EVM7E4W3.js → 4PLBZKSO.js} +1 -1
- package/dist/cdn/{HAIFP7IJ.js → 4RGJW7QM.js} +1 -1
- package/dist/cdn/{LZYJ4U5Y.js → 4VIKN2DI.js} +1 -1
- package/dist/cdn/{U55VVCAI.js → 5MCUSUHK.js} +1 -1
- package/dist/cdn/{FBS4RBSA.js → 5S5FI5VM.js} +1 -1
- package/dist/cdn/{WFPJXSXF.js → 5VPT6YPC.js} +1 -1
- package/dist/cdn/{52E7MCXY.js → 6A2PSHTX.js} +1 -1
- package/dist/cdn/{65Z5IYEA.js → 6E7XC7SF.js} +1 -1
- package/dist/cdn/{XE4QUCTL.js → 6WI56V3O.js} +1 -1
- package/dist/cdn/{VQU2TVX7.js → AYA7WEUX.js} +2 -2
- package/dist/cdn/{Q2CIGQ3D.js → B2ORCBF2.js} +1 -1
- package/dist/cdn/{5UUJD65X.js → C3BQVSNQ.js} +1 -1
- package/dist/cdn/{5RNRKEWQ.js → CZBQKSWG.js} +1 -1
- package/dist/cdn/{U4H2JPUO.js → DLN3QGAY.js} +1 -1
- package/dist/cdn/{ASN6EN4Y.js → DORZB3CO.js} +1 -1
- package/dist/cdn/{5AGSEMEN.js → DUPBITZX.js} +1 -1
- package/dist/cdn/{6OLY4KSH.js → DXK2F7IC.js} +1 -1
- package/dist/cdn/{N7QCYD5R.js → E6MCRDEU.js} +1 -1
- package/dist/cdn/{SWYALBEP.js → ELSCO7RQ.js} +1 -1
- package/dist/cdn/{JI6L5KEB.js → EOD7FLMU.js} +1 -1
- package/dist/cdn/{PY4FAYSG.js → ERNVZRGN.js} +1 -1
- package/dist/cdn/{TST5LQAR.js → ETDV5MZZ.js} +1 -1
- package/dist/cdn/{HORW5HJV.js → EWWMTC3C.js} +1 -1
- package/dist/cdn/{TJWLQHE3.js → EY4ALBSW.js} +1 -1
- package/dist/cdn/{Y5773WBI.js → FLDXN76G.js} +1 -1
- package/dist/cdn/{UZASXX6P.js → GCZP2NNE.js} +1 -1
- package/dist/cdn/{X627M4QT.js → GTGCFMOM.js} +1 -1
- package/dist/cdn/{DLZ6PPB7.js → HTUZP5ET.js} +1 -1
- package/dist/cdn/{3NRKFMSC.js → HZIDKKII.js} +1 -1
- package/dist/cdn/{6OU5XURJ.js → IBSZEYTA.js} +1 -1
- package/dist/cdn/{UU7YRQTV.js → ICA2YKMH.js} +1 -1
- package/dist/cdn/{K2IMX6HU.js → IJ42AM6S.js} +1 -1
- package/dist/cdn/{WWT7QGWR.js → IPM7HASK.js} +1 -1
- package/dist/cdn/{FFEY4JDO.js → K6ZOSX22.js} +1 -1
- package/dist/cdn/{UJERDZ26.js → KMRW2FOQ.js} +1 -1
- package/dist/cdn/{JRAHQN6D.js → KW5FFPKZ.js} +1 -1
- package/dist/cdn/{4WPVY366.js → MAHQA5GL.js} +1 -1
- package/dist/cdn/{4IQL5O67.js → MGXNXWVO.js} +1 -1
- package/dist/cdn/{YW3DR5XO.js → N7MGJM2Y.js} +1 -1
- package/dist/cdn/{IZZD4A5K.js → NE6XMJNA.js} +1 -1
- package/dist/cdn/{OAYOGIS6.js → NHJGPR7T.js} +1 -1
- package/dist/cdn/{DCENTBQM.js → NN7VM75G.js} +1 -1
- package/dist/cdn/{QG5XQDFK.js → NP4ZKUVK.js} +1 -1
- package/dist/cdn/{ROYPCE27.js → NQA5LVMY.js} +1 -1
- package/dist/cdn/{MZ2NU4TE.js → OGXDBGRX.js} +1 -1
- package/dist/cdn/OMX3FEUO.js +2 -0
- package/dist/cdn/{XRHVGJ2G.js → OQ7PZJV6.js} +1 -1
- package/dist/cdn/{PNIDMUQY.js → P7JFMF66.js} +1 -1
- package/dist/cdn/{IMDR5X6I.js → PDAI3TM2.js} +1 -1
- package/dist/cdn/{ONOVYY7V.js → PHT3QKS6.js} +1 -1
- package/dist/cdn/{GSCC2TTU.js → Q4JNBW33.js} +2 -2
- package/dist/cdn/{UGWU76ZY.js → QK2VTRRB.js} +1 -1
- package/dist/cdn/{I37JTF2K.js → QLKFXAHY.js} +1 -1
- package/dist/cdn/{VWQ473MG.js → QYBVMICG.js} +1 -1
- package/dist/cdn/{NXSSBVFZ.js → RXREAXJS.js} +1 -1
- package/dist/cdn/{4PGF4M34.js → SRBLDVCV.js} +1 -1
- package/dist/cdn/{TNQYPSJT.js → T7JGMOPN.js} +1 -1
- package/dist/cdn/{67XCXPQ6.js → TD4DW6P7.js} +1 -1
- package/dist/cdn/{HS6LECKI.js → TE5UBTRT.js} +1 -1
- package/dist/cdn/{CDHI4XFG.js → TN6P4DOU.js} +1 -1
- package/dist/cdn/{6U3OEXQ7.js → TUJPREQD.js} +1 -1
- package/dist/cdn/{KRLKB2IF.js → TZ4QIVTR.js} +1 -1
- package/dist/cdn/{YNBU26SW.js → U47QIWXK.js} +1 -1
- package/dist/cdn/{JSL23SYS.js → U7RB6WCB.js} +1 -1
- package/dist/cdn/{4C4IX5L7.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/{2UYSX5Y6.js → UQ3NNWEM.js} +1 -1
- package/dist/cdn/{ZPL4UFZH.js → UZOMM2XD.js} +1 -1
- package/dist/cdn/{M32F4QYD.js → VH5EZWUP.js} +1 -1
- package/dist/cdn/{LBVGLNMU.js → WAN2K6TS.js} +1 -1
- package/dist/cdn/{UVI6GKAM.js → WCSLV2JM.js} +11 -11
- package/dist/cdn/{7V4UDGBX.js → WELTTZAK.js} +1 -1
- package/dist/cdn/{TTRMHJ6O.js → WH4W6K35.js} +1 -1
- package/dist/cdn/WTB2CFTX.js +2 -0
- package/dist/cdn/{SA4EONL6.js → X26W3CYZ.js} +1 -1
- package/dist/cdn/{UC3IFAOK.js → XPFEIWMS.js} +1 -1
- package/dist/cdn/{EJBDH32O.js → XY5U4M2J.js} +1 -1
- package/dist/cdn/{YF3NHMXM.js → YEMNXS4U.js} +1 -1
- package/dist/cdn/{M4QCRRN6.js → YJJOHKGU.js} +1 -1
- package/dist/cdn/{T432ISUV.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/chunks/action-bar-utils.js +50 -50
- package/dist/chunks/index.js +6 -3
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +115 -111
- 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/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/loader.js +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/defaults/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/4Z5SNPOX.js +0 -2
- package/dist/cdn/OLEFWZFS.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
|
};
|
package/dist/chunks/index.js
CHANGED
|
@@ -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
|
}
|
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
|
@@ -1115,7 +1115,7 @@ function dt() {
|
|
|
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;
|