@arcgis/charts-components 5.2.0-next.93 → 5.2.0-next.95
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/{H2NVXIPH.js → 225VUGML.js} +3 -3
- package/dist/cdn/{GUMN6KPP.js → 2CFI7BGP.js} +1 -1
- package/dist/cdn/{BZEYWH2F.js → 2R6MQ752.js} +1 -1
- package/dist/cdn/{KAUOH4F3.js → 3GJ64ZJ4.js} +1 -1
- package/dist/cdn/{DOE5S7EP.js → 3NLKE6ZN.js} +1 -1
- package/dist/cdn/{IIV6X3KV.js → 42FKRE56.js} +1 -1
- package/dist/cdn/{QVLDIB2N.js → 455LSMAU.js} +1 -1
- package/dist/cdn/{WTABMFFY.js → 4A4EW5Z5.js} +1 -1
- package/dist/cdn/{SJBJ2N5C.js → 4DR6JUR7.js} +2 -2
- package/dist/cdn/{VCBFPEET.js → 4LJRIJWD.js} +1 -1
- package/dist/cdn/{4JMHK7HK.js → 4U63XRSZ.js} +1 -1
- package/dist/cdn/{LU7UO6PR.js → 52GJ6UGS.js} +1 -1
- package/dist/cdn/{73DFT5MR.js → 56CLURJA.js} +1 -1
- package/dist/cdn/{54LUEUIT.js → 5GDVKAX5.js} +1 -1
- package/dist/cdn/{JXAPOWHG.js → 5SKJYBPO.js} +1 -1
- package/dist/cdn/{UZHQF5CV.js → 5SYHQWPP.js} +1 -1
- package/dist/cdn/{MF2ZBHWI.js → 63AHC52W.js} +1 -1
- package/dist/cdn/{QIBUTVUN.js → 6H6SZO4Y.js} +1 -1
- package/dist/cdn/{OQQIDPDH.js → 6VIPQGM6.js} +1 -1
- package/dist/cdn/{D7LBGWWL.js → 7LA6R3JD.js} +1 -1
- package/dist/cdn/{SBJGOYJL.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/{ELNZ7PTF.js → AIQU35U3.js} +1 -1
- package/dist/cdn/{4A42J7HF.js → AMTIT4IA.js} +1 -1
- package/dist/cdn/{KJAMXKR3.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/{KQUI4CT6.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{3K7H52Y5.js → AZYYQMCD.js} +1 -1
- package/dist/cdn/{44ICH2UX.js → BB3YY4S4.js} +1 -1
- package/dist/cdn/{XW5I2M45.js → BDASIXVJ.js} +1 -1
- package/dist/cdn/{6K6Z6CQE.js → BWLRC2U5.js} +1 -1
- package/dist/cdn/{5YBMIR4F.js → C3ZVHFEH.js} +1 -1
- package/dist/cdn/{KHWZ54IX.js → CC7DZFC6.js} +1 -1
- package/dist/cdn/{CKRZTUGB.js → CDRZ4CST.js} +1 -1
- package/dist/cdn/{4JWNKQ22.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{H4R2P2BO.js → D3VGNOMT.js} +1 -1
- package/dist/cdn/{4VW736DF.js → D5DOFLCS.js} +1 -1
- package/dist/cdn/{3HG6OEAW.js → E6E2KLJ2.js} +1 -1
- package/dist/cdn/{XYJJ2PIL.js → E6JK3JRJ.js} +1 -1
- package/dist/cdn/{KHC2DMSU.js → EB4CM3YK.js} +1 -1
- package/dist/cdn/{NYR4K242.js → EVTLSZ5O.js} +1 -1
- package/dist/cdn/{7HANUCEA.js → EWIMT2AS.js} +1 -1
- package/dist/cdn/{IGE2Z7GO.js → FBS4RBSA.js} +1 -1
- package/dist/cdn/{ZO4GRLG6.js → FCADGQJJ.js} +1 -1
- package/dist/cdn/{GUWBPR2H.js → GJ2CW5F2.js} +1 -1
- package/dist/cdn/{YQL5A2WS.js → GKIYT47O.js} +1 -1
- package/dist/cdn/{MTFWTSTG.js → GVJ5WCQD.js} +1 -1
- package/dist/cdn/{YOUTTWJN.js → GXYKOTY7.js} +1 -1
- package/dist/cdn/{4O4L6CM3.js → H62OOC74.js} +1 -1
- package/dist/cdn/{GK6IJBRW.js → HC33KORY.js} +1 -1
- package/dist/cdn/{65HVRSR6.js → HF4BJOBP.js} +1 -1
- package/dist/cdn/{EFXNPF4V.js → HKNSFOTD.js} +1 -1
- package/dist/cdn/{HZEGDF6W.js → HN3ITVY4.js} +1 -1
- package/dist/cdn/{OPMACXLA.js → HPPHOWG7.js} +1 -1
- package/dist/cdn/{2B4DKL3R.js → IBMPLHXH.js} +1 -1
- package/dist/cdn/{HSIYQNVK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{ZFHU5I2O.js → IJVOYQLH.js} +1 -1
- package/dist/cdn/{DLCJMSYG.js → JM6L3BZH.js} +1 -1
- package/dist/cdn/{COSE26XR.js → JMEPJL72.js} +1 -1
- package/dist/cdn/{RCAJJ24P.js → JSVAA6N4.js} +1 -1
- package/dist/cdn/{QBBUOEKF.js → KERMLQR2.js} +1 -1
- package/dist/cdn/{4QQRIMTI.js → KYESCAI2.js} +1 -1
- package/dist/cdn/{SBZKGQBV.js → KYOCE6FA.js} +1 -1
- package/dist/cdn/{HIVJRWLF.js → LZ7SW2R3.js} +1 -1
- package/dist/cdn/{SOR4DYKA.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/{RAJO727X.js → O4DFT4N4.js} +1 -1
- package/dist/cdn/{57PMXO2G.js → OKKEWHMB.js} +1 -1
- package/dist/cdn/{ULF3LG3W.js → OKZKKKY6.js} +1 -1
- package/dist/cdn/{JSPNXGH3.js → OURE3TA5.js} +1 -1
- package/dist/cdn/{LZ3ZRY2F.js → OVRV43B7.js} +1 -1
- package/dist/cdn/{KVWM73YN.js → PT2OG4W2.js} +1 -1
- package/dist/cdn/{SZNZAD56.js → QKUFLZC3.js} +1 -1
- package/dist/cdn/QO2RH3XB.js +3 -0
- package/dist/cdn/{62EUOXR7.js → QWVW4ZUT.js} +24 -24
- package/dist/cdn/{LKC6J4IQ.js → RD7TKIQS.js} +1 -1
- package/dist/cdn/{KZ4SCRQT.js → RNGQEQRO.js} +1 -1
- package/dist/cdn/{KPEBWOLJ.js → RQCFIEGS.js} +1 -1
- package/dist/cdn/{D5O2M65G.js → S6RBDFHP.js} +1 -1
- package/dist/cdn/{LJJPOUVA.js → SIHW3QVG.js} +1 -1
- package/dist/cdn/{NGGJIQHT.js → SS7GYFUD.js} +1 -1
- package/dist/cdn/{GVJF3VFV.js → SZSTCHLY.js} +1 -1
- package/dist/cdn/{BHJHX65O.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/{N4XXKTCN.js → TJJ4LMYG.js} +1 -1
- package/dist/cdn/{LCJVASMQ.js → UCHQXTEC.js} +1 -1
- package/dist/cdn/{F66W272X.js → ULQSD4KK.js} +1 -1
- package/dist/cdn/UVESG7TY.js +2 -0
- package/dist/cdn/{SMTDJE55.js → VJNOQYPI.js} +1 -1
- package/dist/cdn/{F6VXAPTT.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/{YX7WAUQZ.js → VWUW3HFU.js} +1 -1
- package/dist/cdn/{KYCNUCTQ.js → WOVEUX6R.js} +1 -1
- package/dist/cdn/{QFXCVZYG.js → WTMEWLUJ.js} +1 -1
- package/dist/cdn/{OCT2KA4Q.js → WTOK3YQI.js} +1 -1
- package/dist/cdn/{VVOQ4Q2X.js → WVOXFKFO.js} +1 -1
- package/dist/cdn/{CPDE3ZSY.js → XQ7JB6AU.js} +1 -1
- package/dist/cdn/{VBDLVCPP.js → YFMHKHFE.js} +1 -1
- package/dist/cdn/{BZIGQJAH.js → YGPTQ6U2.js} +1 -1
- package/dist/cdn/{L6IM34J7.js → YHC6WRNQ.js} +1 -1
- package/dist/cdn/{SQHEWY2J.js → ZDKUHFRX.js} +1 -1
- package/dist/cdn/{WPLJ5BXE.js → ZLARROJV.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 +59 -47
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +3 -3
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/index.js +1208 -1256
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +8 -8
- package/dist/chunks/index4.js +4 -4
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/utils.js +2 -2
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +156 -22
- package/dist/components/arcgis-chart/customElement.js +5544 -5580
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- 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.js +366 -364
- package/dist/loader.js +1 -1
- package/dist/spec/chart-object-literals.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.js +2 -2
- package/dist/utils/chart-config/utils/index.d.ts +1 -2
- package/dist/utils/data/categorical-data/index.d.ts +17 -1
- package/package.json +4 -4
- package/dist/cdn/CDWFPVYG.js +0 -2
- package/dist/cdn/IHDWXIBS.js +0 -3
package/dist/chunks/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import te from "@esri/arcgis-html-sanitizer";
|
|
3
3
|
import { isEmpty as ie, isEqual as B } from "lodash-es";
|
|
4
|
-
import {
|
|
4
|
+
import { a3 as f, p as ae, a4 as re, r as ne, a5 as A, U as oe, R as se, s as le, V as de, T as ce } from "./index3.js";
|
|
5
5
|
import { g as b } from "./series-types.js";
|
|
6
6
|
import { g as x, c as ue, i as ge, f as me, a as n, s as pe, e as S } from "./chart-object-literals.js";
|
|
7
7
|
import { R as T, b as p, e as he } from "./rest-js-object-literals.js";
|
package/dist/chunks/index3.js
CHANGED
|
@@ -1140,8 +1140,8 @@ export {
|
|
|
1140
1140
|
Te as Q,
|
|
1141
1141
|
ut as R,
|
|
1142
1142
|
ct as S,
|
|
1143
|
-
|
|
1144
|
-
|
|
1143
|
+
Pe as T,
|
|
1144
|
+
K as U,
|
|
1145
1145
|
pe as V,
|
|
1146
1146
|
Ee as W,
|
|
1147
1147
|
ae as X,
|
|
@@ -1149,12 +1149,12 @@ export {
|
|
|
1149
1149
|
Je as Z,
|
|
1150
1150
|
ne as _,
|
|
1151
1151
|
Re as a,
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1152
|
+
o as a0,
|
|
1153
|
+
n as a1,
|
|
1154
|
+
s as a2,
|
|
1155
|
+
H as a3,
|
|
1156
|
+
gt as a4,
|
|
1157
|
+
I as a5,
|
|
1158
1158
|
h as a6,
|
|
1159
1159
|
T as a7,
|
|
1160
1160
|
C as a8,
|
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, aR 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";
|
|
@@ -267,7 +267,7 @@ const g = {
|
|
|
267
267
|
"arcgis-charts-category",
|
|
268
268
|
"arcgis-charts-multi-axes"
|
|
269
269
|
],
|
|
270
|
-
description: "The types of order
|
|
270
|
+
description: "The types of order associated with chart data.",
|
|
271
271
|
title: "WebChartOrderDataByTypes"
|
|
272
272
|
},
|
|
273
273
|
WebChartMultiAxesDataOrder: {
|
|
@@ -334,7 +334,7 @@ For each axis, the order can be either a direction (ascending or descending) for
|
|
|
334
334
|
},
|
|
335
335
|
preferLabel: {
|
|
336
336
|
type: "boolean",
|
|
337
|
-
description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or
|
|
337
|
+
description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",
|
|
338
338
|
default: !0
|
|
339
339
|
}
|
|
340
340
|
},
|
|
@@ -362,7 +362,7 @@ For each axis, the order can be either a direction (ascending or descending) for
|
|
|
362
362
|
},
|
|
363
363
|
preferLabel: {
|
|
364
364
|
type: "boolean",
|
|
365
|
-
description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or
|
|
365
|
+
description: "Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or subtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",
|
|
366
366
|
default: !0
|
|
367
367
|
}
|
|
368
368
|
},
|
|
@@ -4,7 +4,7 @@ import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
|
|
|
4
4
|
import { g as l } from "./runtime.js";
|
|
5
5
|
import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
|
|
6
6
|
import { a6 as y } from "./index3.js";
|
|
7
|
-
import { bD as o,
|
|
7
|
+
import { bD as o, b9 as p, t as u, r as _ } from "./index.js";
|
|
8
8
|
import { cloneDeep as C } from "lodash-es";
|
|
9
9
|
const h = 30;
|
|
10
10
|
function U(r, e, t, i) {
|
|
@@ -229,7 +229,7 @@ const ge = (s) => {
|
|
|
229
229
|
function pe(s) {
|
|
230
230
|
const { category: t = "", numericFields: e = [], fallbackMode: i = g.Category } = s, r = t.trim() !== "" && t !== A;
|
|
231
231
|
let o = i;
|
|
232
|
-
return e.length > 1 ? o = g.Fields : r && e.length <= 1 && (o = g.Category), o;
|
|
232
|
+
return e.length > 1 || !r && e.length > 0 ? o = g.Fields : r && e.length <= 1 && (o = g.Category), o;
|
|
233
233
|
}
|
|
234
234
|
export {
|
|
235
235
|
m as a,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { substitute as E } from "@arcgis/core/intl.js";
|
|
3
3
|
import { cloneDeep as J, memoize as Ye, isEmpty as $e } from "lodash-es";
|
|
4
4
|
import { S as oe } from "./common.js";
|
|
5
|
-
import { s as N, u as W, a as Ie, g as ye, b as Le, c as
|
|
6
|
-
import { Y as I,
|
|
7
|
-
import { a as
|
|
5
|
+
import { s as N, u as W, a as Ie, g as ye, b as Le, c as He, d as Xe, e as pe } from "./utils.js";
|
|
6
|
+
import { Y as I, aM as Y, bi as Ue, bN as je, bO as Ze, bC as Ne, f as Ke, p as ee, W as _e, V as Qe, bP as ze, O as me, aW as Ge, bQ as Je, N as et, t as tt, bR as st, aN as it, Q as at, bS as rt, _ as nt, bw as ot, bT as lt, bU as fe, bV as ct, bW as ut, bX as dt, P as yt, bY as Se, bZ as _, bE as mt, aO as R, aV as Q, M as gt, r as j, a1 as Oe, b_ as M, bA as U, b$ as pt, c0 as ft, c1 as D, c2 as V, c3 as Fe, bB as xe } from "./index.js";
|
|
7
|
+
import { a as P, s as ge, g as te, b as he, c as St } from "./data.js";
|
|
8
8
|
import { a as T, d as v, f as Ft, l as k, t as L, h as $, g as xt, b as ht, e as le } from "./chart-object-literals.js";
|
|
9
9
|
import { d as De, b as Tt } from "./rest-js-object-literals.js";
|
|
10
10
|
import { i as se } from "./index4.js";
|
|
11
11
|
import { q as Bt, W as z, X as ce, H as Ct, Y as bt, Z as At, _ as vt, $ as It, j as Lt } from "./index3.js";
|
|
12
|
-
import { a as
|
|
12
|
+
import { a as w, C as H, b as q } from "./index2.js";
|
|
13
13
|
import { g as Ve, s as Nt } from "./series-types.js";
|
|
14
14
|
import { C as Ot, m as Dt } from "./model-setter.js";
|
|
15
15
|
import { convertChartSpec as Vt } from "../utils/chart-config/converter/index.js";
|
|
@@ -20,7 +20,7 @@ const Ns = (s) => {
|
|
|
20
20
|
let e;
|
|
21
21
|
const t = s.series[0];
|
|
22
22
|
return I(t) && (e = t.temporalBinning?.size), e;
|
|
23
|
-
},
|
|
23
|
+
}, wt = (s) => {
|
|
24
24
|
let e;
|
|
25
25
|
const t = s.series[0];
|
|
26
26
|
return I(t) && (e = t.temporalBinning?.unit), e;
|
|
@@ -36,7 +36,7 @@ const Ns = (s) => {
|
|
|
36
36
|
let e;
|
|
37
37
|
const t = s.series[0];
|
|
38
38
|
return I(t) && (e = t.temporalBinning?.nullPolicy), e;
|
|
39
|
-
},
|
|
39
|
+
}, Pt = (s, e) => {
|
|
40
40
|
e?.series?.forEach((t) => {
|
|
41
41
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = s);
|
|
42
42
|
}), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
@@ -57,14 +57,14 @@ const Ns = (s) => {
|
|
|
57
57
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = s);
|
|
58
58
|
}), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
59
59
|
}, Mt = (s) => {
|
|
60
|
-
|
|
60
|
+
Pt(0, s);
|
|
61
61
|
};
|
|
62
62
|
var Wt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, $t = (s, e, t, r) => {
|
|
63
63
|
for (var i = Yt(e, t), a = s.length - 1, n; a >= 0; a--)
|
|
64
64
|
(n = s[a]) && (i = n(e, t, i) || i);
|
|
65
65
|
return i && Wt(e, t, i), i;
|
|
66
66
|
};
|
|
67
|
-
const
|
|
67
|
+
const Ht = (s) => {
|
|
68
68
|
let e;
|
|
69
69
|
return Y(s) ? e = s.outTimeZone : s?.series.forEach((t) => {
|
|
70
70
|
(t.type === T.BarSeries || t.type === T.RadarSeries || t.type === T.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
@@ -75,12 +75,12 @@ const Xt = (s) => {
|
|
|
75
75
|
(r.type === T.BarSeries || r.type === T.RadarSeries || r.type === T.LineSeries) && (s ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
76
76
|
}), e?.axes?.[0]?.valueFormat.type === T.DateAxisFormat && (s ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
77
77
|
};
|
|
78
|
-
class
|
|
78
|
+
class Xt extends Ot {
|
|
79
79
|
/**
|
|
80
80
|
* Gets the time zone for the chart.
|
|
81
81
|
*/
|
|
82
82
|
get timeZone() {
|
|
83
|
-
return
|
|
83
|
+
return Ht(this._config);
|
|
84
84
|
}
|
|
85
85
|
set timeZone(e) {
|
|
86
86
|
ke(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
@@ -88,12 +88,12 @@ class Ht extends Ot {
|
|
|
88
88
|
}
|
|
89
89
|
$t([
|
|
90
90
|
Dt
|
|
91
|
-
],
|
|
92
|
-
function
|
|
91
|
+
], Xt.prototype, "timeZone");
|
|
92
|
+
function ws(s, e) {
|
|
93
93
|
let t;
|
|
94
94
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = s)), t;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Ps(s, e) {
|
|
97
97
|
let t;
|
|
98
98
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = s)), t;
|
|
99
99
|
}
|
|
@@ -236,7 +236,7 @@ function _t(s) {
|
|
|
236
236
|
})
|
|
237
237
|
);
|
|
238
238
|
if (a.query) {
|
|
239
|
-
if (t === null ? a.id =
|
|
239
|
+
if (t === null ? a.id = H.nullValue : t === "" ? a.id = H.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
|
|
240
240
|
const o = a.id;
|
|
241
241
|
a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
|
|
242
242
|
}
|
|
@@ -264,7 +264,7 @@ async function Qt(s) {
|
|
|
264
264
|
const d = t.series.length === 0;
|
|
265
265
|
t.series.length === 0 && u !== void 0 && t.series.push(u);
|
|
266
266
|
const y = ee(t.series);
|
|
267
|
-
if (y ===
|
|
267
|
+
if (y === w.BoxPlotMonoFieldAndSplitBy || y === w.BoxPlotMultiFieldsAndSplitBy || y === w.BoxPlotMonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
|
|
268
268
|
const g = et(t.series[0]?.query?.where), F = tt(r), h = st(g, F), S = h ? it(h) : !1, b = await jt({
|
|
269
269
|
queryObject: r,
|
|
270
270
|
chartConfig: t,
|
|
@@ -358,7 +358,7 @@ function $s(s) {
|
|
|
358
358
|
a.series.forEach((u) => {
|
|
359
359
|
if (Array.isArray(o)) {
|
|
360
360
|
let m = "";
|
|
361
|
-
"y" in u && (m = Array.isArray(u.y) ? u.y[0] : u.y, c ===
|
|
361
|
+
"y" in u && (m = Array.isArray(u.y) ? u.y[0] : u.y, c === w.BarAndLineSplitByNoAggregation && (m = `${m}_${me({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
362
362
|
(y) => Ge({
|
|
363
363
|
dataItem: y,
|
|
364
364
|
x: u.x,
|
|
@@ -394,7 +394,7 @@ function $s(s) {
|
|
|
394
394
|
}
|
|
395
395
|
return { seriesFilteredOut: n, filteredConfig: a };
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const Hs = (s) => s.hideEmptyRowsAndColumns, Xs = (s, e) => {
|
|
398
398
|
s.hideEmptyRowsAndColumns = e;
|
|
399
399
|
}, Us = (s, e) => {
|
|
400
400
|
const t = s.series[0];
|
|
@@ -473,11 +473,11 @@ function Fi(s, e) {
|
|
|
473
473
|
mt(e) || (e.viewType = s);
|
|
474
474
|
}
|
|
475
475
|
function xi(s) {
|
|
476
|
-
return s.series[0].classBreaksRules?.breaksCount ??
|
|
476
|
+
return s.series[0].classBreaksRules?.breaksCount ?? H.classBreaks.breaksCount;
|
|
477
477
|
}
|
|
478
478
|
function hi(s, e) {
|
|
479
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = s ??
|
|
480
|
-
breaksCount: s ??
|
|
479
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = s ?? H.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
480
|
+
breaksCount: s ?? H.classBreaks.breaksCount
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
function Ti(s) {
|
|
@@ -486,7 +486,7 @@ function Ti(s) {
|
|
|
486
486
|
function Bi(s, e) {
|
|
487
487
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = s : e.series[0].classBreaksRules = {
|
|
488
488
|
classificationMethod: s
|
|
489
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
489
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? H.classBreaks.breaksCount;
|
|
490
490
|
}
|
|
491
491
|
function Ci(s, e) {
|
|
492
492
|
e.firstDayOfWeek = s;
|
|
@@ -658,7 +658,7 @@ function ae(s) {
|
|
|
658
658
|
];
|
|
659
659
|
}
|
|
660
660
|
if (I(i.series[0]) && I(C)) {
|
|
661
|
-
let B =
|
|
661
|
+
let B = wt(i);
|
|
662
662
|
B === le.Quarter && (B = le.Month), C.temporalBinning = {
|
|
663
663
|
...i.series[0]?.temporalBinning,
|
|
664
664
|
unit: B
|
|
@@ -667,7 +667,7 @@ function ae(s) {
|
|
|
667
667
|
return J(C);
|
|
668
668
|
}
|
|
669
669
|
function Z(s, e, t) {
|
|
670
|
-
const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n =
|
|
670
|
+
const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n = P(s), o = K(s), l = we(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => q(r ?? [], S)).join(", "), m = q(r ?? [], n), d = q(r ?? [], c), y = s.series.some((S) => M(S)), g = y ? "category" : "xAxisField", F = m;
|
|
671
671
|
let h = "";
|
|
672
672
|
if (ge({
|
|
673
673
|
fieldName: n,
|
|
@@ -731,7 +731,7 @@ const Re = (s) => me({
|
|
|
731
731
|
where: s.query?.where,
|
|
732
732
|
normalize: !1,
|
|
733
733
|
escape: !1
|
|
734
|
-
}) ?? "",
|
|
734
|
+
}) ?? "", we = (s) => s?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, re = Ye(
|
|
735
735
|
(s) => {
|
|
736
736
|
const e = s?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
737
737
|
return gt(s?.series?.[0]?.query?.where) ? "" : e;
|
|
@@ -750,7 +750,7 @@ const Re = (s) => me({
|
|
|
750
750
|
}
|
|
751
751
|
return e.filter((t) => t !== "");
|
|
752
752
|
};
|
|
753
|
-
function
|
|
753
|
+
function Pe(s) {
|
|
754
754
|
const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a = j(r).idField ?? "";
|
|
755
755
|
return e === "" ? t[i] ?? a : t[0] ?? a;
|
|
756
756
|
}
|
|
@@ -763,7 +763,7 @@ function ls(s) {
|
|
|
763
763
|
})), pe(r, 1, a);
|
|
764
764
|
const n = r.series.some((l) => D(l)), o = r.series.some((l) => V(l));
|
|
765
765
|
if (n || o) {
|
|
766
|
-
const l =
|
|
766
|
+
const l = P(r), c = i.layerFieldsInfo.find((f) => f.name === l), p = c !== void 0 && xe(c);
|
|
767
767
|
pe(r, 0, p);
|
|
768
768
|
}
|
|
769
769
|
}
|
|
@@ -793,7 +793,7 @@ function cs(s) {
|
|
|
793
793
|
aggregationType: r,
|
|
794
794
|
layer: a.layer,
|
|
795
795
|
fieldList: o
|
|
796
|
-
}).name, p =
|
|
796
|
+
}).name, p = P(i), f = K(i), u = ge({
|
|
797
797
|
fieldName: p,
|
|
798
798
|
numericFields: f,
|
|
799
799
|
fieldList: o
|
|
@@ -837,15 +837,15 @@ function Ee(s) {
|
|
|
837
837
|
id: C,
|
|
838
838
|
name: B
|
|
839
839
|
};
|
|
840
|
-
let
|
|
841
|
-
x.query !== void 0 && (r !== v.NoAggregation ? (
|
|
840
|
+
let X = h;
|
|
841
|
+
x.query !== void 0 && (r !== v.NoAggregation ? (X = x.type === T.HeatSeries && S?.type === T.HeatSeries ? h : F, x.query.outStatistics = [
|
|
842
842
|
{
|
|
843
843
|
...A.query?.outStatistics?.[0] ?? {},
|
|
844
844
|
onStatisticField: h,
|
|
845
845
|
outStatisticFieldName: F,
|
|
846
846
|
statisticType: r
|
|
847
847
|
}
|
|
848
|
-
]) : delete x.query.outStatistics), x.y =
|
|
848
|
+
]) : delete x.query.outStatistics), x.y = X, c.push(x);
|
|
849
849
|
}
|
|
850
850
|
const p = c.filter((d) => M(d)), f = c.filter(
|
|
851
851
|
(d) => D(d) || V(d)
|
|
@@ -855,7 +855,7 @@ function Ee(s) {
|
|
|
855
855
|
return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((D(m[0]) && D(f[0]) || V(m[0]) && V(f[0])) && Me(f[0], m[0]), (D(m[0]) && D(f[0]) || V(m[0]) && V(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
|
|
856
856
|
}
|
|
857
857
|
function Ni(s) {
|
|
858
|
-
const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o =
|
|
858
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o = P(t), l = K(t), c = re(t), p = ne(t, r, i), f = We(t, r, i);
|
|
859
859
|
if (t.series.forEach((u, m) => {
|
|
860
860
|
const d = te({
|
|
861
861
|
config: t,
|
|
@@ -869,7 +869,7 @@ function Ni(s) {
|
|
|
869
869
|
fieldList: a
|
|
870
870
|
}).name;
|
|
871
871
|
u.y = d;
|
|
872
|
-
const y =
|
|
872
|
+
const y = Pe({
|
|
873
873
|
splitByField: c,
|
|
874
874
|
numericFields: l,
|
|
875
875
|
layer: n,
|
|
@@ -907,7 +907,7 @@ function us(s) {
|
|
|
907
907
|
layerInfo: n,
|
|
908
908
|
commonStrings: o,
|
|
909
909
|
splitByFieldInfos: l
|
|
910
|
-
} = s, { layer: c, layerFieldsInfo: p } = n, { categoriesArray: f, splitByFieldType: u } = l, m =
|
|
910
|
+
} = s, { layer: c, layerFieldsInfo: p } = n, { categoriesArray: f, splitByFieldType: u } = l, m = Pe({
|
|
911
911
|
splitByField: e,
|
|
912
912
|
numericFields: r,
|
|
913
913
|
layer: c,
|
|
@@ -949,7 +949,7 @@ function us(s) {
|
|
|
949
949
|
fieldValue: g ?? ""
|
|
950
950
|
}), b = `${g}`, C = a.series.find(
|
|
951
951
|
(O) => String(Re(O)).trim().replace(/'/gu, "") === b
|
|
952
|
-
), B = C?.id ?? b, A = C?.name ?? S ?? B, x = C ?? h,
|
|
952
|
+
), B = C?.id ?? b, A = C?.name ?? S ?? B, x = C ?? h, X = {
|
|
953
953
|
...x,
|
|
954
954
|
id: B,
|
|
955
955
|
name: A,
|
|
@@ -967,7 +967,7 @@ function us(s) {
|
|
|
967
967
|
] : void 0
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
|
-
d.push(
|
|
970
|
+
d.push(X);
|
|
971
971
|
}
|
|
972
972
|
return d;
|
|
973
973
|
}
|
|
@@ -981,10 +981,10 @@ const Oi = (s) => {
|
|
|
981
981
|
layerInfo: n,
|
|
982
982
|
commonStrings: o,
|
|
983
983
|
splitByFieldInfos: l
|
|
984
|
-
} = s, { layerFieldsInfo: c } = n ?? {}, p = J(a), f = qt(a), u =
|
|
984
|
+
} = s, { layerFieldsInfo: c } = n ?? {}, p = J(a), f = qt(a), u = P(p), m = c.find((x) => x.name === u), d = a.series[0]?.query === void 0, y = c.find((x) => x.name === e), g = ne(p, n, o), F = We(p, n, o), h = ds({ config: p, layerInfo: n, commonStrings: o });
|
|
985
985
|
let S = Le(a);
|
|
986
986
|
const b = p.series.some((x) => M(x)), C = pt(p.series), B = ft(p.series), A = R(m) || R(y);
|
|
987
|
-
if (_(y) ? S = ce() : !Q(m) && Q(y) ? S = z() : !R(m) && R(y) ? S = z() : R(m) && !R(y) && (b ? S = ce() : S = Lt()), S !== void 0 &&
|
|
987
|
+
if (_(y) ? S = ce() : !Q(m) && Q(y) ? S = z() : !R(m) && R(y) ? S = z() : R(m) && !R(y) && (b ? S = ce() : S = Lt()), S !== void 0 && Xe(a, o, S), f === 0 && (a.series = [
|
|
988
988
|
ae({ config: a, xAxisField: e, aggregationType: i, layerInfo: n, commonStrings: o })
|
|
989
989
|
]), a.series.forEach((x) => {
|
|
990
990
|
x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
|
|
@@ -1044,7 +1044,7 @@ const Oi = (s) => {
|
|
|
1044
1044
|
}, Di = (s) => {
|
|
1045
1045
|
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: i } = s, a = e.series?.[t], n = re(e);
|
|
1046
1046
|
let o;
|
|
1047
|
-
if (ee(e.series) ===
|
|
1047
|
+
if (ee(e.series) === w.BarAndLineFromFields)
|
|
1048
1048
|
o = i.axisLabels.values;
|
|
1049
1049
|
else if ($e(n)) {
|
|
1050
1050
|
const c = a.query?.outStatistics?.[0]?.onStatisticField;
|
|
@@ -1070,9 +1070,9 @@ const Oi = (s) => {
|
|
|
1070
1070
|
});
|
|
1071
1071
|
}
|
|
1072
1072
|
}, ki = async (s) => {
|
|
1073
|
-
const { config: e, layerInfo: t, errorStrings: r } = s, i =
|
|
1073
|
+
const { config: e, layerInfo: t, errorStrings: r } = s, i = P(e), a = Le(e)?.type, n = K(e), o = ee(e.series);
|
|
1074
1074
|
let l = [];
|
|
1075
|
-
return a === T.CategoryAxisFormat && (o ===
|
|
1075
|
+
return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i === U ? l = n.map((c) => q(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== U && t !== void 0 && (l = await He({
|
|
1076
1076
|
layerInfo: t,
|
|
1077
1077
|
config: e,
|
|
1078
1078
|
category: i,
|
|
@@ -1089,12 +1089,12 @@ function We(s, e, t) {
|
|
|
1089
1089
|
layerInfo: e,
|
|
1090
1090
|
commonStrings: t,
|
|
1091
1091
|
numericFields: K(s),
|
|
1092
|
-
aggregationType:
|
|
1092
|
+
aggregationType: we(s)
|
|
1093
1093
|
}), i = ie(1, s), a = se(s);
|
|
1094
1094
|
return r === i || a;
|
|
1095
1095
|
}
|
|
1096
1096
|
function ds(s) {
|
|
1097
|
-
const { config: e, layerInfo: t, commonStrings: r } = s, i = q(t.layerFieldsInfo,
|
|
1097
|
+
const { config: e, layerInfo: t, commonStrings: r } = s, i = q(t.layerFieldsInfo, P(e)), a = ie(0, e), n = se(e), o = P(e) === U && (a === "" || a === r.xAxis);
|
|
1098
1098
|
return i === a || n || o;
|
|
1099
1099
|
}
|
|
1100
1100
|
function qi(s) {
|
|
@@ -1135,10 +1135,10 @@ export {
|
|
|
1135
1135
|
Ai as T,
|
|
1136
1136
|
vi as U,
|
|
1137
1137
|
Ii as V,
|
|
1138
|
-
|
|
1138
|
+
Xt as W,
|
|
1139
1139
|
Li as X,
|
|
1140
|
-
|
|
1141
|
-
|
|
1140
|
+
Hs as Y,
|
|
1141
|
+
Xs as Z,
|
|
1142
1142
|
Js as _,
|
|
1143
1143
|
Ms as a,
|
|
1144
1144
|
ti as a0,
|
|
@@ -1165,17 +1165,17 @@ export {
|
|
|
1165
1165
|
Ci as al,
|
|
1166
1166
|
pi as am,
|
|
1167
1167
|
fi as an,
|
|
1168
|
-
|
|
1169
|
-
|
|
1168
|
+
ws as b,
|
|
1169
|
+
Ps as c,
|
|
1170
1170
|
K as d,
|
|
1171
1171
|
re as e,
|
|
1172
1172
|
$s as f,
|
|
1173
|
-
|
|
1173
|
+
we as g,
|
|
1174
1174
|
Di as h,
|
|
1175
1175
|
Ws as i,
|
|
1176
1176
|
Ns as j,
|
|
1177
|
-
|
|
1178
|
-
|
|
1177
|
+
Pt as k,
|
|
1178
|
+
wt as l,
|
|
1179
1179
|
ks as m,
|
|
1180
1180
|
Os as n,
|
|
1181
1181
|
qs as o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as n, C as a } from "./model-setter.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a0 as o, a1 as g, a2 as h } from "./index3.js";
|
|
4
4
|
import { O as p } from "./index.js";
|
|
5
5
|
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
|
|
6
6
|
for (var s = c(e, i), r = t.length - 1, l; r >= 0; r--)
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as j, a as f, d as A, g as w } from "./chart-object-literals.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ah as q, r as I, cb as k, cc as O, cd as L, ce as V, O as M, a1 as b } from "./index.js";
|
|
4
4
|
import { i as B } from "./type-guards.js";
|
|
5
5
|
import { f as W, b as S, i as $, q as E } from "./index2.js";
|
|
6
6
|
import { substitute as h } from "@arcgis/core/intl.js";
|
|
7
|
-
import { H as U,
|
|
7
|
+
import { H as U, a0 as X, a1 as H, X as K, a7 as P, a2 as R } from "./index3.js";
|
|
8
8
|
import { g as G } from "./series-types.js";
|
|
9
9
|
function se(s, e, i) {
|
|
10
10
|
const t = s?.axes?.[e];
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as a, a1 as x, a2 as o } from "./index3.js";
|
|
3
3
|
const v = (e, i) => i.axes?.[e]?.labels?.visible ?? !0, f = (e, i, s) => {
|
|
4
4
|
const t = s.axes?.[i];
|
|
5
5
|
t?.labels !== void 0 ? t.labels.visible = e : t !== void 0 && t?.labels === void 0 && (t.labels = a({
|
|
@@ -7,7 +7,7 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
|
|
|
7
7
|
import { a 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 z, a as pe } from "./data.js";
|
|
10
|
-
import { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De,
|
|
10
|
+
import { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De, aO as Se, bI as ve } from "./index.js";
|
|
11
11
|
import { i as Y, J as $, l as I, K as Be, L as he, M as Q } from "./index3.js";
|
|
12
12
|
import { i as K, a as g, C as A } from "./index2.js";
|
|
13
13
|
import { g as Pe } from "./series-types.js";
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -4,7 +4,7 @@ import { cloneDeep as h } from "lodash-es";
|
|
|
4
4
|
import { G as c } from "./common.js";
|
|
5
5
|
import { b as g } from "./rest-js-object-literals.js";
|
|
6
6
|
import { a as x } from "./chart-object-literals.js";
|
|
7
|
-
import { N as S,
|
|
7
|
+
import { N as S, a1 as L, a2 as b, t as T } from "./index3.js";
|
|
8
8
|
import { bK as X, b as C, i as B } from "./index.js";
|
|
9
9
|
import { m as r, C as f } from "./model-setter.js";
|
|
10
10
|
import { e as A, f as M } from "./utils2.js";
|