@arcgis/charts-components 5.1.0-next.3 → 5.1.0-next.5
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/{AYCC4F4F.js → 25UJ6G2G.js} +1 -1
- package/dist/cdn/{ECCH4ADF.js → 2JUKPBNE.js} +1 -1
- package/dist/cdn/{MR5ILWAE.js → 2OGUU3CF.js} +1 -1
- package/dist/cdn/{SRYBZ24U.js → 36Z3PUIB.js} +1 -1
- package/dist/cdn/{VGXLTGQQ.js → 3IBNI7DB.js} +1 -1
- package/dist/cdn/{Y2IS52FA.js → 3KP75DDX.js} +1 -1
- package/dist/cdn/{HBNVWG3C.js → 3V3NUR6Q.js} +1 -1
- package/dist/cdn/{HY3LR3KK.js → 4XV6HEXY.js} +1 -1
- package/dist/cdn/{AOADUMLE.js → 5PUNMMSL.js} +1 -1
- package/dist/cdn/{MSTBHX5F.js → 5RX4R45J.js} +1 -1
- package/dist/cdn/{XA6MMB3P.js → 64NE6NLA.js} +1 -1
- package/dist/cdn/{LPBHJ3MJ.js → 6LS2WSZ5.js} +1 -1
- package/dist/cdn/{HFZVRDUA.js → 6PIJSBNU.js} +1 -1
- package/dist/cdn/{FM2BW3TM.js → 6ZZVPJTU.js} +1 -1
- package/dist/cdn/{5J75SUB7.js → 76YPTUIV.js} +1 -1
- package/dist/cdn/{DJWQERUV.js → 7OXO43LP.js} +18 -18
- package/dist/cdn/{DMCRUQRB.js → AHJME35X.js} +1 -1
- package/dist/cdn/{6QPQJCDF.js → AYMM5RTN.js} +1 -1
- package/dist/cdn/{LY52O2R2.js → BF3HDW6F.js} +1 -1
- package/dist/cdn/{VQP74MNM.js → BHF54XO4.js} +1 -1
- package/dist/cdn/{V43EVP67.js → BPBBMXA3.js} +1 -1
- package/dist/cdn/{P6U3FRUV.js → BRRSD3O4.js} +1 -1
- package/dist/cdn/{JRNQMXAJ.js → BVFVLX3U.js} +2 -2
- package/dist/cdn/{VWQJZLW7.js → BYIBXD4Q.js} +1 -1
- package/dist/cdn/{5LGB7G4J.js → D2NLBPAB.js} +1 -1
- package/dist/cdn/{RSICVDZA.js → DFBK7RTI.js} +1 -1
- package/dist/cdn/{BHKN6KLI.js → E2OGP7R4.js} +1 -1
- package/dist/cdn/{XX3QRZBV.js → ESIO74ER.js} +1 -1
- package/dist/cdn/{UTFNFNBS.js → EXVJCW7V.js} +1 -1
- package/dist/cdn/{2MIOMGFE.js → F3M5Q4I6.js} +1 -1
- package/dist/cdn/{NZUSMDEI.js → FG2SKN2Q.js} +1 -1
- package/dist/cdn/{VGWNGBJQ.js → FHI4UU5O.js} +1 -1
- package/dist/cdn/{FBSZY5IZ.js → FJUBR4KW.js} +1 -1
- package/dist/cdn/FRATWU4Z.js +2 -0
- package/dist/cdn/{PDUXHSFV.js → FSNIJZ4N.js} +1 -1
- package/dist/cdn/{6P6D5EQM.js → HYEINZ2W.js} +1 -1
- package/dist/cdn/{YQN5ORQV.js → IBQT5TXA.js} +1 -1
- package/dist/cdn/{6H7C37ET.js → IU5GCIOV.js} +1 -1
- package/dist/cdn/{SRZ4ZT6P.js → IUWWS4XW.js} +1 -1
- package/dist/cdn/{HXFWZC75.js → J3OY6YTK.js} +1 -1
- package/dist/cdn/{TUH6JU6E.js → JF4TYCG5.js} +1 -1
- package/dist/cdn/{AX4J6AI7.js → JLFJWDPQ.js} +1 -1
- package/dist/cdn/{EHXU4YXH.js → JQVTSKVB.js} +1 -1
- package/dist/cdn/{FNVHMS3H.js → JWTZ3Q2T.js} +1 -1
- package/dist/cdn/{QNMJT6VU.js → L4E7PSXN.js} +1 -1
- package/dist/cdn/{2XXLQ5Y6.js → LIWSW6ON.js} +1 -1
- package/dist/cdn/{FTSW4HI5.js → LKI3UTOI.js} +1 -1
- package/dist/cdn/{PVDSHL2H.js → LKK7N2C5.js} +1 -1
- package/dist/cdn/{LG4UY6SI.js → LR3V4CJY.js} +1 -1
- package/dist/cdn/{AEGOLCCB.js → LY46M2NC.js} +1 -1
- package/dist/cdn/{TTCTP5YC.js → MBFKIRCK.js} +1 -1
- package/dist/cdn/{KXMZHCZV.js → MOU5IBB7.js} +1 -1
- package/dist/cdn/{FWZSPESB.js → MXLNSW6C.js} +1 -1
- package/dist/cdn/{PYAGAI3Q.js → MY4FFGT5.js} +1 -1
- package/dist/cdn/{LKAP5YGA.js → NFGXU34G.js} +1 -1
- package/dist/cdn/{QSMCN53C.js → NKSFFZ43.js} +1 -1
- package/dist/cdn/{WHY5MR3Z.js → NLXKYZUI.js} +1 -1
- package/dist/cdn/{NTZUHVUX.js → NXDHPVLZ.js} +1 -1
- package/dist/cdn/{3R4FAEOA.js → OX7HOZ72.js} +1 -1
- package/dist/cdn/{XOIFXWHH.js → OZLXNKH5.js} +1 -1
- package/dist/cdn/{QXL7A4DC.js → PJPMROB7.js} +1 -1
- package/dist/cdn/{MFEFSFFB.js → QWZNK3OV.js} +1 -1
- package/dist/cdn/{3X5BIAIH.js → RHSZB5ZH.js} +1 -1
- package/dist/cdn/{2NTTT3TW.js → RJN6DNHI.js} +1 -1
- package/dist/cdn/{EXOEBBNG.js → RUB23UKZ.js} +1 -1
- package/dist/cdn/{UIIICG5Q.js → RUYVKHFW.js} +1 -1
- package/dist/cdn/{35UJW2K7.js → RWYS4UGQ.js} +1 -1
- package/dist/cdn/{EQZYVXZ4.js → RX4COZVH.js} +1 -1
- package/dist/cdn/{J76ITKCE.js → S2T2KPSE.js} +1 -1
- package/dist/cdn/{VUPR4BHS.js → SBJDJQ5W.js} +1 -1
- package/dist/cdn/{JWJDAHU7.js → SD2G2LCW.js} +1 -1
- package/dist/cdn/{WKWLOFTY.js → SJ74QWGI.js} +1 -1
- package/dist/cdn/{ZZAZBS4T.js → STQIUWAA.js} +1 -1
- package/dist/cdn/{IXCOCHIN.js → T2ZLECUS.js} +1 -1
- package/dist/cdn/{ID4UFFP4.js → T4P6X62H.js} +1 -1
- package/dist/cdn/{JB3AN55N.js → TSQ75643.js} +1 -1
- package/dist/cdn/{PPOLZ5BG.js → U3YXEG4D.js} +1 -1
- package/dist/cdn/{GB2NFBIT.js → UWJ3DRYN.js} +1 -1
- package/dist/cdn/{VY7Q2Q5C.js → VK546WZD.js} +1 -1
- package/dist/cdn/{3ECR6VZA.js → VL4N7T3G.js} +1 -1
- package/dist/cdn/{ITCFNAZ2.js → VPTDXGKU.js} +1 -1
- package/dist/cdn/{IB7QFJ53.js → W3E73SQV.js} +1 -1
- package/dist/cdn/{VTHNATFJ.js → X2S3V4HD.js} +1 -1
- package/dist/cdn/{2S7MC6IH.js → XG3LUWT6.js} +1 -1
- package/dist/cdn/{M5VLEZ53.js → YC2QAZQ5.js} +1 -1
- package/dist/cdn/{VFC4KZRP.js → YUFKLXMQ.js} +1 -1
- package/dist/cdn/{EI24FPBG.js → Z6343LZG.js} +1 -1
- package/dist/cdn/{O3MTULYR.js → ZPBTQ3VC.js} +1 -1
- package/dist/cdn/{OYXE3FXG.js → ZWABUONN.js} +1 -1
- package/dist/cdn/{J52LA3XG.js → ZY42XS5N.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/data.js +10 -10
- package/dist/chunks/index.js +196 -192
- package/dist/chunks/index2.js +33 -33
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +92 -92
- package/dist/chunks/web-component-utils.js +45 -45
- package/dist/components/arcgis-chart/customElement.js +2465 -2450
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +34 -11
- 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 +278 -277
- package/dist/utils/misc/index.d.ts +10 -1
- package/package.json +3 -3
- package/dist/cdn/DM36XG4Z.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { W as P, w as Q } from "./series-types.js";
|
|
3
3
|
import { isEqual as U, capitalize as F, isNumber as C, zip as E } from "lodash-es";
|
|
4
|
-
import { o as V, bK as X, cF as Y,
|
|
4
|
+
import { o as V, bK as X, cF as Y, dg as c, aa as O, bz as h, dj as M, aw as w, bO as W, ah as B, bw as J, bx as R } from "./index.js";
|
|
5
5
|
import { b as K } from "./interfaces.js";
|
|
6
6
|
import { a as z } from "./common.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
@@ -45,25 +45,25 @@ const H = (n) => {
|
|
|
45
45
|
else if (e === void 0)
|
|
46
46
|
a = "";
|
|
47
47
|
else if (typeof e == "number" && Number.isFinite(e) && r !== void 0) {
|
|
48
|
-
const i = de(r),
|
|
48
|
+
const i = de(r), m = a.split(i)[1]?.length ?? 3;
|
|
49
49
|
a = new Intl.NumberFormat(r, {
|
|
50
|
-
maximumFractionDigits:
|
|
50
|
+
maximumFractionDigits: m
|
|
51
51
|
}).format(e).replace(/\u202F/gu, " ");
|
|
52
52
|
}
|
|
53
53
|
return (t || /[",\r\n]/u.test(a)) && (a = `"${a.replace(/"/gu, '""')}"`), a;
|
|
54
54
|
};
|
|
55
55
|
function Ke(n, e = {}) {
|
|
56
|
-
const { columns: t, delimiter: r, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e,
|
|
56
|
+
const { columns: t, delimiter: r, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e, m = n.length === 0;
|
|
57
57
|
let l = "";
|
|
58
|
-
if (!
|
|
59
|
-
const
|
|
58
|
+
if (!m) {
|
|
59
|
+
const f = t ?? Object.keys(n[0]), x = [], g = r ?? ue(i ?? "en");
|
|
60
60
|
if (i !== void 0 && g !== "," && (l += `sep=${g}\r
|
|
61
61
|
`), a) {
|
|
62
|
-
const y =
|
|
62
|
+
const y = f.map((s) => H({ value: s, quoteAll: o, locale: i }));
|
|
63
63
|
x.push(y.join(g));
|
|
64
64
|
}
|
|
65
65
|
n.forEach((y) => {
|
|
66
|
-
const s =
|
|
66
|
+
const s = f.map((d) => H({ value: y[d], quoteAll: o, locale: i }));
|
|
67
67
|
x.push(s.join(g));
|
|
68
68
|
}), l += x.join(`\r
|
|
69
69
|
`);
|
|
@@ -75,7 +75,7 @@ function Re(n) {
|
|
|
75
75
|
let o = e;
|
|
76
76
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
77
77
|
const i = Q(t?.series);
|
|
78
|
-
i === P.HistogramSeries ? o =
|
|
78
|
+
i === P.HistogramSeries ? o = me(t, e) : i === P.BarSeries || i === P.LineSeries || i === P.ComboLineAndBarSeries ? o = ye({
|
|
79
79
|
config: t,
|
|
80
80
|
rows: e,
|
|
81
81
|
layer: r,
|
|
@@ -93,22 +93,22 @@ function Re(n) {
|
|
|
93
93
|
}
|
|
94
94
|
return o;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function me(n, e) {
|
|
97
97
|
const t = te(n), r = `${F(K.Min)} of ${t}`, a = `${F(K.Max)} of ${t}`, o = `${F(K.Count)} of ${t}`;
|
|
98
98
|
return e.map((i) => {
|
|
99
|
-
const { minValue:
|
|
100
|
-
return x && (s[r] =
|
|
99
|
+
const { minValue: m, maxValue: l, count: f } = i, x = C(m), g = C(l), y = C(f), s = {};
|
|
100
|
+
return x && (s[r] = m.toFixed(2)), g && (s[a] = l.toFixed(2)), x && g && (s.Label = `${m.toFixed(2)} - ${l.toFixed(2)}`), y && (s[o] = f), s;
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function fe(n, e, t) {
|
|
104
104
|
const r = Object.keys(n);
|
|
105
105
|
let a = [];
|
|
106
106
|
return t ? a = t.map((o) => r.find((i) => i.toLowerCase().includes(o.toLowerCase())) || "") : a = r.filter((i) => i.toLowerCase().includes(e.toLowerCase())), a.filter((o) => o.trim() !== "");
|
|
107
107
|
}
|
|
108
108
|
function ye(n) {
|
|
109
|
-
const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i = se(e),
|
|
109
|
+
const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i = se(e), m = F(i), l = ne(e), f = V(e.series), x = Z(e), g = re(e), { idField: y, isTraditionalTypeOID: s } = X(Y(r)), d = s && l.length === 1 && l[0] === y;
|
|
110
110
|
let u;
|
|
111
|
-
switch (
|
|
111
|
+
switch (f) {
|
|
112
112
|
case c.BarAndLineNoAggregation:
|
|
113
113
|
u = t.map((p) => {
|
|
114
114
|
const b = A({
|
|
@@ -159,7 +159,7 @@ function ye(n) {
|
|
|
159
159
|
($, v) => ({
|
|
160
160
|
[o]: S,
|
|
161
161
|
[g]: $,
|
|
162
|
-
[d ?
|
|
162
|
+
[d ? m : `${m} of ${l[0]}`]: p[b[v]]
|
|
163
163
|
})
|
|
164
164
|
);
|
|
165
165
|
});
|
|
@@ -170,7 +170,7 @@ function ye(n) {
|
|
|
170
170
|
field: o,
|
|
171
171
|
value: p[o],
|
|
172
172
|
fieldList: a
|
|
173
|
-
}), S =
|
|
173
|
+
}), S = fe(p, l[0], x);
|
|
174
174
|
return {
|
|
175
175
|
[o]: b,
|
|
176
176
|
[g]: p[g],
|
|
@@ -195,25 +195,25 @@ function ge(n, e = 2) {
|
|
|
195
195
|
const a = { ...r };
|
|
196
196
|
for (const [o, i] of Object.entries(r))
|
|
197
197
|
if (typeof i == "number" && t[o] > 0) {
|
|
198
|
-
const
|
|
199
|
-
a[`${o}${h}`] = `${
|
|
198
|
+
const m = i / t[o] * 100;
|
|
199
|
+
a[`${o}${h}`] = `${m.toFixed(e)}%`;
|
|
200
200
|
}
|
|
201
201
|
return a;
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
function pe(n) {
|
|
205
205
|
const { config: e, rows: t, layer: r, fieldList: a } = n, o = oe(e), i = V(e.series);
|
|
206
|
-
let
|
|
207
|
-
const l = ie(e),
|
|
206
|
+
let m = ge(t, 2);
|
|
207
|
+
const l = ie(e), f = i !== c.PieFromFields ? z.Category : z.Fields, x = ae(e, f), g = q({
|
|
208
208
|
config: e,
|
|
209
209
|
xAxisField: o,
|
|
210
210
|
numericFields: l,
|
|
211
211
|
aggregationType: x,
|
|
212
|
-
mode:
|
|
212
|
+
mode: f,
|
|
213
213
|
layer: r,
|
|
214
214
|
fieldList: a
|
|
215
215
|
}), y = O(e.series)[0];
|
|
216
|
-
return i === c.PieFromCategory || i === c.PieNoAggregation ?
|
|
216
|
+
return i === c.PieFromCategory || i === c.PieNoAggregation ? m = m.map((s) => {
|
|
217
217
|
const d = A({
|
|
218
218
|
field: o,
|
|
219
219
|
value: s[o],
|
|
@@ -221,25 +221,25 @@ function pe(n) {
|
|
|
221
221
|
}), u = { [o]: d };
|
|
222
222
|
let p = y, b = y;
|
|
223
223
|
return i === c.PieFromCategory && y.toLowerCase() === g.name.toLowerCase() && (p = g.description, b = g.name), u[p] = s[b], u[F(h.trim())] = s[`${b}${h}`], u;
|
|
224
|
-
}) : i === c.PieFromFields && (
|
|
224
|
+
}) : i === c.PieFromFields && (m = E(l, m).map(([s, d]) => {
|
|
225
225
|
const u = {};
|
|
226
226
|
return d !== void 0 && s !== void 0 && (u.Field = d[o], u.Value = d[y], u[F(h.trim())] = d[`${y}${h}`]), u;
|
|
227
|
-
})),
|
|
227
|
+
})), m;
|
|
228
228
|
}
|
|
229
229
|
function L(n) {
|
|
230
230
|
const { rawData: e, keyBase: t = "", outRow: r } = n;
|
|
231
231
|
for (const [a, o] of Object.entries(B)) {
|
|
232
232
|
const i = e[t + o];
|
|
233
233
|
i !== void 0 && (r[a] = C(i) ? i.toFixed(2) : i);
|
|
234
|
-
const
|
|
235
|
-
|
|
234
|
+
const m = e[t + o + J];
|
|
235
|
+
m !== void 0 && (r[`${a} Outlier`] = C(m) ? m.toFixed(2) : m);
|
|
236
236
|
const l = e[t + o + R];
|
|
237
237
|
l !== void 0 && (r[`${a} Z-Score`] = C(l) ? l.toFixed(2) : l);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
function D(n) {
|
|
241
|
-
const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i = N(r),
|
|
242
|
-
let
|
|
241
|
+
const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i = N(r), m = G(r), l = I(r);
|
|
242
|
+
let f = B.Outlier;
|
|
243
243
|
const x = w;
|
|
244
244
|
switch (a) {
|
|
245
245
|
case c.BoxPlotMonoFieldAndCategory: {
|
|
@@ -248,50 +248,50 @@ function D(n) {
|
|
|
248
248
|
value: e[i],
|
|
249
249
|
fieldList: o
|
|
250
250
|
});
|
|
251
|
-
t[i] = s, t[F(B.Outlier)] = e[
|
|
251
|
+
t[i] = s, t[F(B.Outlier)] = e[f];
|
|
252
252
|
break;
|
|
253
253
|
}
|
|
254
254
|
case c.BoxPlotMultiFieldsAndCategory: {
|
|
255
|
-
t[F(i)] = e[i],
|
|
255
|
+
t[F(i)] = e[i], f = `${m.find(
|
|
256
256
|
(d) => Object.keys(e).some((u) => u.toLowerCase().includes(d.toLowerCase()))
|
|
257
|
-
) ?? ""}_${
|
|
257
|
+
) ?? ""}_${f}`, t[F(B.Outlier)] = e[f];
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
case c.BoxPlotMonoFieldAndSplitBy:
|
|
261
261
|
case c.BoxPlotMultiFieldsAndSplitBy: {
|
|
262
262
|
const s = e[l];
|
|
263
|
-
|
|
263
|
+
f = `${s}_${f}`, t.Field = e[x], t[F(l)] = s, t[F(B.Outlier)] = e[f];
|
|
264
264
|
break;
|
|
265
265
|
}
|
|
266
266
|
case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
267
267
|
const s = e[l];
|
|
268
|
-
|
|
268
|
+
f = `${s}_${f}`, t[F(i)] = e[i], t[F(l)] = s, t[F(B.Outlier)] = e[f];
|
|
269
269
|
break;
|
|
270
270
|
}
|
|
271
271
|
case c.BoxPlotMonoField:
|
|
272
272
|
case c.BoxPlotMultiFields:
|
|
273
273
|
default: {
|
|
274
|
-
t.Field = e[x], t[F(B.Outlier)] = e[
|
|
274
|
+
t.Field = e[x], t[F(B.Outlier)] = e[f];
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
const g = `${
|
|
278
|
+
const g = `${f}${R}`, y = e[g];
|
|
279
279
|
y !== void 0 && (t[`${F(B.Outlier)} Z-Score`] = C(y) ? y.toFixed(2) : y);
|
|
280
280
|
}
|
|
281
281
|
function Fe(n) {
|
|
282
|
-
const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${B.Average}`],
|
|
283
|
-
let
|
|
282
|
+
const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${B.Average}`], m = I(r), l = N(r);
|
|
283
|
+
let f = "";
|
|
284
284
|
switch (o) {
|
|
285
285
|
case c.BoxPlotMonoFieldAndSplitBy: {
|
|
286
|
-
|
|
286
|
+
f = `${a}_${m}`, t.Field = e[w], t[F(m)] = e[f];
|
|
287
287
|
break;
|
|
288
288
|
}
|
|
289
289
|
case c.BoxPlotMultiFieldsAndSplitBy: {
|
|
290
|
-
|
|
290
|
+
f = `${a}_${B.Average}`, t.Field = e[w], t[F(m)] = e[f];
|
|
291
291
|
break;
|
|
292
292
|
}
|
|
293
293
|
case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
294
|
-
|
|
294
|
+
f = `${a}_${B.Average}`, t[l] = e[l], t[F(m)] = a;
|
|
295
295
|
break;
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -302,9 +302,9 @@ function Fe(n) {
|
|
|
302
302
|
function xe(n) {
|
|
303
303
|
const { config: e, rows: t, fieldList: r } = n, a = V(e.series);
|
|
304
304
|
let o = a;
|
|
305
|
-
const i = ee(e),
|
|
306
|
-
i && !
|
|
307
|
-
const l = N(e),
|
|
305
|
+
const i = ee(e), m = Array.isArray(t) && t.length > 0 && t.every((s) => s[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
306
|
+
i && !m && (a === c.BoxPlotMonoFieldAndSplitBy ? o = c.BoxPlotMonoField : a === c.BoxPlotMultiFieldsAndSplitBy ? o = c.BoxPlotMultiFields : a === c.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = c.BoxPlotMonoFieldAndCategory));
|
|
307
|
+
const l = N(e), f = G(e), x = Z(e), g = I(e);
|
|
308
308
|
let y;
|
|
309
309
|
switch (o) {
|
|
310
310
|
case c.BoxPlotMonoField:
|
|
@@ -342,7 +342,7 @@ function xe(n) {
|
|
|
342
342
|
}
|
|
343
343
|
case c.BoxPlotMultiFieldsAndCategory: {
|
|
344
344
|
y = t.flatMap(
|
|
345
|
-
(s) =>
|
|
345
|
+
(s) => f.map((d) => {
|
|
346
346
|
const u = {};
|
|
347
347
|
let p = "";
|
|
348
348
|
if (u.Field = d, s[M.boxPlot.boxPlotOutlierId])
|