@arcgis/charts-components 5.2.0-next.59 → 5.2.0-next.60
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/{MO5LDVWE.js → 2G65P262.js} +1 -1
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/{ZESW7TCR.js → 3AYXOX4U.js} +1 -1
- package/dist/cdn/{USNCFQ5L.js → 3UHXOKCR.js} +1 -1
- package/dist/cdn/{5RC76C5H.js → 3YCGBAQY.js} +1 -1
- package/dist/cdn/{CHZMNR2R.js → 3ZGG7Q5M.js} +1 -1
- package/dist/cdn/{6HIK7EBX.js → 4COV22K4.js} +1 -1
- package/dist/cdn/{KDLRVDVQ.js → 54W4C75M.js} +1 -1
- package/dist/cdn/{DG6ENZ35.js → 5EYVH3PA.js} +1 -1
- package/dist/cdn/{KUI3SQHQ.js → 5MPXETTU.js} +1 -1
- package/dist/cdn/{IW7AZIV6.js → 5YP7P6S3.js} +1 -1
- package/dist/cdn/{XYBOIKE4.js → 67QYTLMM.js} +1 -1
- package/dist/cdn/{77A4IT5I.js → 6AI3ZXL5.js} +1 -1
- package/dist/cdn/{26UUSCOV.js → 6DOANSRL.js} +20 -20
- package/dist/cdn/{PA4NRD4I.js → 6MNV7FJC.js} +1 -1
- package/dist/cdn/{G3MWFZDW.js → 6PIQ2O5S.js} +1 -1
- package/dist/cdn/7CMQGTU6.js +2 -0
- package/dist/cdn/{UMYQZXPT.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ZH3BXRLT.js → A36KQ6YP.js} +1 -1
- package/dist/cdn/{IPMCTC6B.js → ANHW36VW.js} +1 -1
- package/dist/cdn/{44DVV3KE.js → AYUYEY5H.js} +1 -1
- package/dist/cdn/{BYPSLSFP.js → BDTKAMUN.js} +1 -1
- package/dist/cdn/{MYDNPSD6.js → BHGOAHMJ.js} +1 -1
- package/dist/cdn/{PXTBSPEA.js → BKK57XHL.js} +1 -1
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/{KVAWYWYK.js → BXBY6D2F.js} +1 -1
- package/dist/cdn/{OKZBV5LB.js → DBAM7MH7.js} +1 -1
- package/dist/cdn/{B2XDPYOL.js → DGV6S2W3.js} +1 -1
- package/dist/cdn/{EQ2X422F.js → DPTA2AET.js} +1 -1
- package/dist/cdn/{COLTSCAS.js → EAV3KAS7.js} +1 -1
- package/dist/cdn/{T3WULYNA.js → EBSQRCQQ.js} +1 -1
- package/dist/cdn/{UL2ASLY7.js → EDVN42ME.js} +1 -1
- package/dist/cdn/{VME2NH7X.js → EMBMJCFZ.js} +1 -1
- package/dist/cdn/{BFT5CL7V.js → EOHKNJSJ.js} +1 -1
- package/dist/cdn/{PDYOXU7M.js → EUOJG5H6.js} +1 -1
- package/dist/cdn/{VU2FAY3Y.js → FQLRMWNL.js} +1 -1
- package/dist/cdn/{MLLV2GML.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{AZHBGLOD.js → GRL5SM6K.js} +1 -1
- package/dist/cdn/{KBOIN2ZI.js → H2EMIJME.js} +1 -1
- package/dist/cdn/{B5KB7HXA.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{5RWZRHLN.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{P2L3OTIA.js → I3XBTQKJ.js} +1 -1
- package/dist/cdn/{E5G6IGUP.js → INISFVAK.js} +1 -1
- package/dist/cdn/{RQ6HACQP.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{IOE5YG7Q.js → J3CL6KB6.js} +1 -1
- package/dist/cdn/{LA5FTE2U.js → JBFVGQSP.js} +3 -3
- package/dist/cdn/{WWKZYBCF.js → JEVWE6ER.js} +1 -1
- package/dist/cdn/{AZDPAG65.js → JGESKW6S.js} +1 -1
- package/dist/cdn/{M22IUUVK.js → JH3NSZUT.js} +1 -1
- package/dist/cdn/{UYMLDXJI.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{GWNHO3MZ.js → JYITKARU.js} +1 -1
- package/dist/cdn/{GQGII3CK.js → KCES2YBJ.js} +1 -1
- package/dist/cdn/{YL27XTUT.js → KDCZQ6UT.js} +1 -1
- package/dist/cdn/{LSWWNXP3.js → KLKI4XNW.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/{GJ4JGGKT.js → L7TUV2MY.js} +1 -1
- package/dist/cdn/{NYDW2I5M.js → LGTXQIF7.js} +1 -1
- package/dist/cdn/{CU6R7UXF.js → M744CFJ2.js} +1 -1
- package/dist/cdn/{WKCITUA3.js → MJTWR33N.js} +1 -1
- package/dist/cdn/{MJLDF2FQ.js → MXE4VPZS.js} +1 -1
- package/dist/cdn/{NCHIDM4H.js → NK66D65H.js} +1 -1
- package/dist/cdn/{HMBXRL4X.js → NZ2C5DJB.js} +1 -1
- package/dist/cdn/{BU3IX333.js → O3DJD5IR.js} +1 -1
- package/dist/cdn/{HSVZTTYF.js → O3VKOV2W.js} +1 -1
- package/dist/cdn/{EQDTX4JX.js → OFFKJPQH.js} +1 -1
- package/dist/cdn/{DDUKKQIZ.js → OWWQ5SYW.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{INUVRMMG.js → PLEC3GNT.js} +1 -1
- package/dist/cdn/{VXQLTYHF.js → QTSF2LK7.js} +1 -1
- package/dist/cdn/{QTD2QGHC.js → QZCTLQBM.js} +1 -1
- package/dist/cdn/{H3CYQU3L.js → RICA7GJM.js} +1 -1
- package/dist/cdn/{KR7A5JG4.js → S5GVUYBL.js} +1 -1
- package/dist/cdn/{GPABWWGF.js → SQIKFO32.js} +1 -1
- package/dist/cdn/{TCKFUPRR.js → SUNHJPBW.js} +1 -1
- package/dist/cdn/{HD72K7JQ.js → SYVPFDIW.js} +1 -1
- package/dist/cdn/{2B27HWX2.js → T62EETHJ.js} +1 -1
- package/dist/cdn/{J6M4AA5V.js → TEWEPSIO.js} +1 -1
- package/dist/cdn/{MBL6ZAKF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{6KTWKIGJ.js → UM7RIOCE.js} +1 -1
- package/dist/cdn/{TQYULR2I.js → V5W5LNFT.js} +1 -1
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{RA3GUNR3.js → VA6KJZ2Y.js} +1 -1
- package/dist/cdn/{64CBZCW7.js → WFW6BNDT.js} +1 -1
- package/dist/cdn/{IJYXP34M.js → WTJ2NJ76.js} +1 -1
- package/dist/cdn/{6KMPIGFU.js → WZOHQJFB.js} +1 -1
- package/dist/cdn/{NZT3J3KJ.js → XKZ44LA2.js} +1 -1
- package/dist/cdn/{OTH3FQJJ.js → XM2GVJT3.js} +1 -1
- package/dist/cdn/{GC7ISTDF.js → Y2WHHAAA.js} +1 -1
- package/dist/cdn/{V6TEH3XV.js → Y5ZH7VS4.js} +1 -1
- package/dist/cdn/{FHKRXY7E.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{LU6YEMXO.js → YVSZN6IH.js} +1 -1
- package/dist/cdn/{54M3LLQH.js → Z3LGGHZN.js} +1 -1
- package/dist/cdn/{Q6VW7H3A.js → ZGBULDPL.js} +1 -1
- package/dist/cdn/{YIWJ2NPY.js → ZLXYBOM3.js} +1 -1
- package/dist/cdn/{TW4RXJ35.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{ZZ5FKECR.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/index2.js +1879 -1939
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/web-component-utils.js +38 -38
- package/dist/components/arcgis-chart/customElement.js +3835 -3789
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/5NZ537SN.js +0 -2
- package/dist/cdn/EFRELYIP.js +0 -2
- package/dist/cdn/FHCIXPMQ.js +0 -3
- package/dist/cdn/IKSW6TU5.js +0 -2
- package/dist/cdn/JWWSIFDA.js +0 -2
- package/dist/cdn/QRNP4SNY.js +0 -2
- /package/dist/cdn/{5DUKB563.js → MARXRC6B.js} +0 -0
package/dist/chunks/index4.js
CHANGED
|
@@ -3,8 +3,8 @@ import { substitute as f } from "@arcgis/core/intl.js";
|
|
|
3
3
|
import E from "ajv";
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
|
-
import { getElementLocale as
|
|
7
|
-
import { C as u,
|
|
6
|
+
import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
|
|
7
|
+
import { C as u, dt as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, ay as U, I as L, a7 as D, bx as H, a as $, aH as J, bo as _, cS as K, V as Q, k as Z, n as X, l as Y, bc as ee, aI as te } from "./index2.js";
|
|
8
8
|
import { g as ie, aD as re } from "./index.js";
|
|
9
9
|
import { q as x, C as h, h as ne } from "./index3.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
@@ -10680,7 +10680,7 @@ function O(i) {
|
|
|
10680
10680
|
}
|
|
10681
10681
|
async function j(i, r) {
|
|
10682
10682
|
const n = r ?? (await S(
|
|
10683
|
-
|
|
10683
|
+
I(document.documentElement).t9nLocale,
|
|
10684
10684
|
w("./assets/common/t9n"),
|
|
10685
10685
|
"messages."
|
|
10686
10686
|
)).errorStrings;
|
|
@@ -10770,7 +10770,7 @@ function g(i, r) {
|
|
|
10770
10770
|
async function R(i, r) {
|
|
10771
10771
|
let n;
|
|
10772
10772
|
const e = r ?? (await S(
|
|
10773
|
-
|
|
10773
|
+
I(document.documentElement).t9nLocale,
|
|
10774
10774
|
w("./assets/common/t9n"),
|
|
10775
10775
|
"messages."
|
|
10776
10776
|
)).errorStrings, t = z(i);
|
|
@@ -10813,7 +10813,7 @@ function le() {
|
|
|
10813
10813
|
const pe = le();
|
|
10814
10814
|
async function q(i) {
|
|
10815
10815
|
const { seriesConfigs: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i, a = [], o = n ? L(n) : void 0, p = t ?? (await S(
|
|
10816
|
-
|
|
10816
|
+
I(document.documentElement).t9nLocale,
|
|
10817
10817
|
w("./assets/common/t9n"),
|
|
10818
10818
|
"messages."
|
|
10819
10819
|
)).errorStrings;
|
|
@@ -10841,7 +10841,7 @@ async function q(i) {
|
|
|
10841
10841
|
}
|
|
10842
10842
|
async function P(i, r) {
|
|
10843
10843
|
const n = [], e = r ?? (await S(
|
|
10844
|
-
|
|
10844
|
+
I(document.documentElement).t9nLocale,
|
|
10845
10845
|
w("./assets/common/t9n"),
|
|
10846
10846
|
"messages."
|
|
10847
10847
|
)).errorStrings;
|
|
@@ -10886,7 +10886,7 @@ function k(i) {
|
|
|
10886
10886
|
seriesConfig: i.series
|
|
10887
10887
|
}) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : d.push(...y), i.series.forEach((s) => {
|
|
10888
10888
|
const { query: c } = s;
|
|
10889
|
-
c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((
|
|
10889
|
+
c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((v) => r.add(v)), c.outStatistics && c.outStatistics.forEach((v) => r.add(v.onStatisticField)));
|
|
10890
10890
|
});
|
|
10891
10891
|
const m = t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation;
|
|
10892
10892
|
if (i.orderOptions?.orderByFields && m && i.orderOptions.orderByFields.forEach((s) => {
|
|
@@ -10906,7 +10906,7 @@ async function ce(i) {
|
|
|
10906
10906
|
const { chartConfig: r, queryObject: n, errorStrings: e } = i;
|
|
10907
10907
|
let t;
|
|
10908
10908
|
const a = e ?? (await S(
|
|
10909
|
-
|
|
10909
|
+
I(document.documentElement).t9nLocale,
|
|
10910
10910
|
w("./assets/common/t9n"),
|
|
10911
10911
|
"messages."
|
|
10912
10912
|
)).errorStrings, o = de(n) ? U({ layer: n, chartType: C(r.series) }) : L(n), d = k(r).filter((y) => !D(y, o));
|
|
@@ -7,10 +7,10 @@ import { X as f } from "./index.js";
|
|
|
7
7
|
import { ac as o, bX as l, I as y, ap as u } from "./index2.js";
|
|
8
8
|
import "lodash-es";
|
|
9
9
|
import "luxon";
|
|
10
|
-
import "./chart-object-literals.js";
|
|
11
10
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
11
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
12
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "./chart-object-literals.js";
|
|
14
14
|
import "./index3.js";
|
|
15
15
|
import "@arcgis/core/Graphic.js";
|
|
16
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -3,7 +3,7 @@ import { substitute as E } from "@arcgis/core/intl.js";
|
|
|
3
3
|
import { cloneDeep as te, isEmpty as je, memoize as Ke } from "lodash-es";
|
|
4
4
|
import { S as ue } from "./common.js";
|
|
5
5
|
import { s as k, u as W, a as De, g as ge, b as Le, c as Ze, d as _e, e as Se } from "./utils.js";
|
|
6
|
-
import { w as V, i as Qe,
|
|
6
|
+
import { w as V, i as Qe, dg as Y, co as ze, bC as Ge, a$ as ke, x as Je, Y as ie, cS as et, cR as tt, p as it, aJ as fe, cu as st, d as at, aI as rt, I as nt, a7 as lt, bx as ot, W as ut, e as ct, bI as dt, dq as yt, v as mt, dw as Fe, cb as pt, dx as gt, c7 as ft, B as St, N as xe, bL as z, dt as Ft, bj as $, bP as G, ap as Z, a6 as Ne, bd as O, bc as xt, k as ce, bt as ht, bB as Tt, bs as A, bA as v, bp as he, br as Te } from "./index2.js";
|
|
7
7
|
import { a as U, s as Oe, g as se, b as Be, c as Bt } from "./data.js";
|
|
8
8
|
import { u as C, r as I, k as Ct, d as R, n as L, m as H, p as bt, t as At, s as de } from "./chart-object-literals.js";
|
|
9
9
|
import { R as qe, i as vt } from "./rest-js-object-literals.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { isEqual as ue, capitalize as
|
|
2
|
+
import { isEqual as ue, capitalize as v, isNumber as W, zip as ae } from "lodash-es";
|
|
3
3
|
import { d as Y } from "./interfaces.js";
|
|
4
4
|
import { g as ce, a as q, b as oe, c as z } from "./box-plot-data.js";
|
|
5
5
|
import { g as fe } from "./histogram-data.js";
|
|
@@ -7,8 +7,8 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
|
|
|
7
7
|
import { g as ie } from "./series-length.js";
|
|
8
8
|
import { g as re, d as le, e as ge } from "./serial-chart-data.js";
|
|
9
9
|
import { g as _, a as pe } from "./data.js";
|
|
10
|
-
import { Y as U, ap as be, af as xe, aM as E,
|
|
11
|
-
import { k as H, az as $, g as R, as as
|
|
10
|
+
import { Y as U, ap as be, af as xe, aM as E, cL as Fe, B as V, a6 as De, bj as Se, dv as ve } from "./index2.js";
|
|
11
|
+
import { k as H, az as $, g as R, as as Be, b as he, a as Q } from "./index.js";
|
|
12
12
|
import { q as K, C as g, F as A } from "./index3.js";
|
|
13
13
|
import { g as Pe } from "./series-types.js";
|
|
14
14
|
import { V as Ve } from "./index5.js";
|
|
@@ -56,7 +56,7 @@ function G(l) {
|
|
|
56
56
|
label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
|
|
57
57
|
value: Ae({
|
|
58
58
|
weekdayNumber: e,
|
|
59
|
-
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek :
|
|
59
|
+
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
|
|
60
60
|
locale: t
|
|
61
61
|
})
|
|
62
62
|
};
|
|
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
|
|
|
153
153
|
const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
|
|
154
154
|
if (r !== void 0 && p !== "," && (c += `sep=${p}\r
|
|
155
155
|
`), o) {
|
|
156
|
-
const
|
|
157
|
-
u.push(
|
|
156
|
+
const B = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
|
|
157
|
+
u.push(B.join(p));
|
|
158
158
|
}
|
|
159
|
-
l.forEach((
|
|
160
|
-
const b = f.map((x) => J({ value:
|
|
159
|
+
l.forEach((B) => {
|
|
160
|
+
const b = f.map((x) => J({ value: B[x], quoteAll: i, locale: r, roundDecimals: n }));
|
|
161
161
|
u.push(b.join(p));
|
|
162
162
|
}), c += u.join(`\r
|
|
163
163
|
`);
|
|
@@ -269,7 +269,7 @@ function $e(l, e) {
|
|
|
269
269
|
}
|
|
270
270
|
function Ne(l) {
|
|
271
271
|
const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
|
|
272
|
-
return e === a && t !== void 0 ?
|
|
272
|
+
return e === a && t !== void 0 ? ve(t) : void 0;
|
|
273
273
|
}
|
|
274
274
|
function ee(l) {
|
|
275
275
|
const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
|
|
@@ -293,11 +293,11 @@ function Te(l) {
|
|
|
293
293
|
fieldList: o
|
|
294
294
|
});
|
|
295
295
|
return t.map((p) => {
|
|
296
|
-
const
|
|
297
|
-
let m = { label: n.x, value:
|
|
296
|
+
const B = p[H.xField], b = p[H.yField], x = p[H.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
|
|
297
|
+
let m = { label: n.x, value: B }, d = { label: n.y, value: b };
|
|
298
298
|
if (n.xTemporalBinning !== void 0) {
|
|
299
299
|
const { label: F, value: S } = G({
|
|
300
|
-
value: Number(
|
|
300
|
+
value: Number(B),
|
|
301
301
|
config: e,
|
|
302
302
|
formatLocale: i,
|
|
303
303
|
unit: n.xTemporalBinning.unit,
|
|
@@ -323,9 +323,9 @@ function Te(l) {
|
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
function Re(l, e, t) {
|
|
326
|
-
const a = fe(l), o = `${
|
|
326
|
+
const a = fe(l), o = `${v(Y.Min)} of ${a}`, i = `${v(Y.Max)} of ${a}`, r = `${v(Y.Count)} of ${a}`;
|
|
327
327
|
return e.map((n) => {
|
|
328
|
-
const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c),
|
|
328
|
+
const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), B = W(f), b = {};
|
|
329
329
|
if (u && (b[o] = h({
|
|
330
330
|
value: s,
|
|
331
331
|
originalValue: s,
|
|
@@ -346,7 +346,7 @@ function Re(l, e, t) {
|
|
|
346
346
|
});
|
|
347
347
|
b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
|
|
348
348
|
}
|
|
349
|
-
return
|
|
349
|
+
return B && (b[r] = f), b;
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
352
|
function Ie(l, e, t) {
|
|
@@ -355,7 +355,7 @@ function Ie(l, e, t) {
|
|
|
355
355
|
return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
|
|
356
356
|
}
|
|
357
357
|
function Ke(l) {
|
|
358
|
-
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f =
|
|
358
|
+
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
|
|
359
359
|
let d;
|
|
360
360
|
switch (p) {
|
|
361
361
|
case g.BarAndLineNoAggregation:
|
|
@@ -434,7 +434,7 @@ function Ke(l) {
|
|
|
434
434
|
useRendererLabel: r,
|
|
435
435
|
timeZone: n
|
|
436
436
|
});
|
|
437
|
-
return
|
|
437
|
+
return B.map((P, C) => {
|
|
438
438
|
const w = ee({
|
|
439
439
|
config: e,
|
|
440
440
|
splitByField: b,
|
|
@@ -462,7 +462,7 @@ function Ke(l) {
|
|
|
462
462
|
formatter: i?.xAxisLabelFormatter,
|
|
463
463
|
useRendererLabel: r,
|
|
464
464
|
timeZone: n
|
|
465
|
-
}), S = Ie(y, u[0],
|
|
465
|
+
}), S = Ie(y, u[0], B), P = y[b], C = B.findIndex((I) => $e(I, P)), w = ee({
|
|
466
466
|
config: e,
|
|
467
467
|
splitByField: b,
|
|
468
468
|
splitByValue: P,
|
|
@@ -504,11 +504,11 @@ function je(l) {
|
|
|
504
504
|
function Ee(l) {
|
|
505
505
|
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
|
|
506
506
|
let f = je(t);
|
|
507
|
-
const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields,
|
|
507
|
+
const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, B = ye(e, p), b = _({
|
|
508
508
|
config: e,
|
|
509
509
|
xAxisField: s,
|
|
510
510
|
numericFields: u,
|
|
511
|
-
aggregationType:
|
|
511
|
+
aggregationType: B,
|
|
512
512
|
mode: p,
|
|
513
513
|
layer: a,
|
|
514
514
|
fieldList: o
|
|
@@ -527,7 +527,7 @@ function Ee(l) {
|
|
|
527
527
|
return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
|
|
528
528
|
value: D[F],
|
|
529
529
|
originalValue: D[F]
|
|
530
|
-
}), d[
|
|
530
|
+
}), d[v($.trim())] = h({
|
|
531
531
|
value: D[`${F}${$}`],
|
|
532
532
|
originalValue: D[`${F}${$}`]
|
|
533
533
|
}), d;
|
|
@@ -540,7 +540,7 @@ function Ee(l) {
|
|
|
540
540
|
}), d.Value = h({
|
|
541
541
|
value: m[x],
|
|
542
542
|
originalValue: m[x]
|
|
543
|
-
}), d[
|
|
543
|
+
}), d[v($.trim())] = h({
|
|
544
544
|
value: m[`${x}${$}`],
|
|
545
545
|
originalValue: m[`${x}${$}`]
|
|
546
546
|
})), d;
|
|
@@ -569,13 +569,13 @@ function T(l) {
|
|
|
569
569
|
fieldList: r,
|
|
570
570
|
timeZone: n
|
|
571
571
|
});
|
|
572
|
-
t[s] = x, t[
|
|
572
|
+
t[s] = x, t[v(V.Outlier)] = e[u];
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
case g.BoxPlotMultiFieldsAndCategory: {
|
|
576
|
-
t[
|
|
576
|
+
t[v(s)] = e[s], u = `${c.find(
|
|
577
577
|
(D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
|
|
578
|
-
) ?? ""}_${u}`, t[
|
|
578
|
+
) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
case g.BoxPlotMonoFieldAndSplitBy:
|
|
@@ -587,7 +587,7 @@ function T(l) {
|
|
|
587
587
|
fieldList: r,
|
|
588
588
|
timeZone: n
|
|
589
589
|
});
|
|
590
|
-
u = `${x}_${u}`, t.Field = e[p], t[
|
|
590
|
+
u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
|
|
591
591
|
break;
|
|
592
592
|
}
|
|
593
593
|
case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
@@ -598,25 +598,25 @@ function T(l) {
|
|
|
598
598
|
fieldList: r,
|
|
599
599
|
timeZone: n
|
|
600
600
|
});
|
|
601
|
-
u = `${x}_${u}`, t[
|
|
601
|
+
u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
case g.BoxPlotMonoField:
|
|
605
605
|
case g.BoxPlotMultiFields:
|
|
606
606
|
default: {
|
|
607
|
-
t.Field = e[p], t[
|
|
607
|
+
t.Field = e[p], t[v(V.Outlier)] = e[u];
|
|
608
608
|
break;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
const
|
|
612
|
-
b !== void 0 && (t[`${
|
|
611
|
+
const B = `${u}${Q}`, b = e[B];
|
|
612
|
+
b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
|
|
613
613
|
}
|
|
614
614
|
function Ue(l) {
|
|
615
615
|
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = z(a), u = q(a);
|
|
616
616
|
let p = "";
|
|
617
617
|
switch (s) {
|
|
618
618
|
case g.BoxPlotMonoFieldAndSplitBy: {
|
|
619
|
-
p = `${o}_${f}`, t.Field = e[R], t[
|
|
619
|
+
p = `${o}_${f}`, t.Field = e[R], t[v(f)] = M({
|
|
620
620
|
field: f,
|
|
621
621
|
value: e[p],
|
|
622
622
|
layer: i,
|
|
@@ -626,7 +626,7 @@ function Ue(l) {
|
|
|
626
626
|
break;
|
|
627
627
|
}
|
|
628
628
|
case g.BoxPlotMultiFieldsAndSplitBy: {
|
|
629
|
-
p = `${o}_${V.Average}`, t.Field = e[R], t[
|
|
629
|
+
p = `${o}_${V.Average}`, t.Field = e[R], t[v(f)] = M({
|
|
630
630
|
field: f,
|
|
631
631
|
value: e[p],
|
|
632
632
|
layer: i,
|
|
@@ -636,7 +636,7 @@ function Ue(l) {
|
|
|
636
636
|
break;
|
|
637
637
|
}
|
|
638
638
|
case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
639
|
-
p = `${o}_${V.Average}`, t[u] = e[u], t[
|
|
639
|
+
p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
|
|
640
640
|
field: f,
|
|
641
641
|
value: o,
|
|
642
642
|
layer: i,
|
|
@@ -646,16 +646,16 @@ function Ue(l) {
|
|
|
646
646
|
break;
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
t[
|
|
650
|
-
const
|
|
651
|
-
b !== void 0 && (t[`${
|
|
649
|
+
t[v(V.Average)] = c;
|
|
650
|
+
const B = `${String(c)}${Q}`, b = e[B];
|
|
651
|
+
b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
|
|
652
652
|
}
|
|
653
653
|
function Ze(l) {
|
|
654
654
|
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
|
|
655
655
|
let c = s;
|
|
656
656
|
const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
657
657
|
f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
|
|
658
|
-
const p = q(e),
|
|
658
|
+
const p = q(e), B = oe(e), b = ie(e), x = z(e);
|
|
659
659
|
let D;
|
|
660
660
|
switch (c) {
|
|
661
661
|
case g.BoxPlotMonoField:
|
|
@@ -708,7 +708,7 @@ function Ze(l) {
|
|
|
708
708
|
}
|
|
709
709
|
case g.BoxPlotMultiFieldsAndCategory: {
|
|
710
710
|
D = t.flatMap(
|
|
711
|
-
(m) =>
|
|
711
|
+
(m) => B.map((d) => {
|
|
712
712
|
const y = {};
|
|
713
713
|
let F = "";
|
|
714
714
|
if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
|