@arcgis/charts-components 5.1.0-next.82 → 5.1.0-next.83
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/{BHFEFC6X.js → 2C53KAFV.js} +1 -1
- package/dist/cdn/{GEXUXKE2.js → 2DACBEJH.js} +1 -1
- package/dist/cdn/2F63MBYD.js +2 -0
- package/dist/cdn/{CJ7NTZVC.js → 2ZCJSPOP.js} +1 -1
- package/dist/cdn/{UC2KHUNN.js → 3PGPIXWL.js} +1 -1
- package/dist/cdn/{UOC3SKN2.js → 4EULL7VO.js} +1 -1
- package/dist/cdn/4SZOVAC4.js +2 -0
- package/dist/cdn/{WFGGTYWP.js → 4VAAS2W5.js} +1 -1
- package/dist/cdn/{7R3FEB3R.js → 52IYTDZC.js} +1 -1
- package/dist/cdn/5GXFNW3H.js +2 -0
- package/dist/cdn/{BJAQIZB3.js → 5TEAPXIJ.js} +1 -1
- package/dist/cdn/{VDZ5R7WX.js → 5ZH65PNZ.js} +1 -1
- package/dist/cdn/64HBWFA3.js +2 -0
- package/dist/cdn/{TITJWWP7.js → 6TS7TXG7.js} +1 -1
- package/dist/cdn/{ZC6NYZDM.js → 74U7XXHV.js} +1 -1
- package/dist/cdn/7KD5V3MH.js +2 -0
- package/dist/cdn/{B7RU4X5Z.js → AAM5VKBK.js} +1 -1
- package/dist/cdn/{GVBLRXKE.js → AAV66WVS.js} +1 -1
- package/dist/cdn/{PSCAEQLN.js → AXCA6ASP.js} +1 -1
- package/dist/cdn/{AZLVOWWT.js → CGNK5OP4.js} +3 -3
- package/dist/cdn/{UR6A4VM5.js → CMWMYS2K.js} +1 -1
- package/dist/cdn/CUQNQICY.js +2 -0
- package/dist/cdn/{3G26ZRB7.js → DCZD5KWR.js} +1 -1
- package/dist/cdn/{O4645DWG.js → DMSWFKFP.js} +1 -1
- package/dist/cdn/{OWRWKXFL.js → DTQAQIJM.js} +1 -1
- package/dist/cdn/DZSS337I.js +2 -0
- package/dist/cdn/E4Y6N6PF.js +2 -0
- package/dist/cdn/{623QYMIQ.js → EOUHXPEA.js} +1 -1
- package/dist/cdn/{FUHOULT2.js → F7CR2AY4.js} +1 -1
- package/dist/cdn/{QILOZFO7.js → FBG5ZTTQ.js} +8 -8
- package/dist/cdn/FEDPGCQC.js +2 -0
- package/dist/cdn/{YUN4XIA2.js → FITORE2C.js} +1 -1
- package/dist/cdn/{7QYOWBFU.js → FRYQRMDP.js} +1 -1
- package/dist/cdn/{N2RUZDL5.js → FUA7KDU7.js} +1 -1
- package/dist/cdn/{J6J3DXQC.js → G27LJ5W2.js} +1 -1
- package/dist/cdn/{WY264B2J.js → GRSM3NBO.js} +1 -1
- package/dist/cdn/H7EXVEYQ.js +2 -0
- package/dist/cdn/HBW4NM4H.js +2 -0
- package/dist/cdn/{S5FXOTG4.js → HKW5AON4.js} +1 -1
- package/dist/cdn/{IEPVBL2M.js → HTESG4KU.js} +1 -1
- package/dist/cdn/{LYZNGXSF.js → IFHTUSGS.js} +1 -1
- package/dist/cdn/{XR44W6VF.js → IIAYXAK2.js} +1 -1
- package/dist/cdn/{EFXQZRUY.js → ITWL3DEC.js} +1 -1
- package/dist/cdn/{OTMPMNL4.js → IV56BISU.js} +1 -1
- package/dist/cdn/{RN72ZH7K.js → IYTHLK7D.js} +1 -1
- package/dist/cdn/{MUHGSAN5.js → JC3YR2FM.js} +1 -1
- package/dist/cdn/JJ7N2BFD.js +2 -0
- package/dist/cdn/JVLIBFGJ.js +2 -0
- package/dist/cdn/KFYUW7H7.js +2 -0
- package/dist/cdn/KHN7AZBU.js +2 -0
- package/dist/cdn/LB6JRSLI.js +2 -0
- package/dist/cdn/{G63R4TEN.js → LDZK3TBM.js} +1 -1
- package/dist/cdn/LQ7U4J5D.js +2 -0
- package/dist/cdn/{5U2X7LKH.js → M7SNGANA.js} +1 -1
- package/dist/cdn/MNYJ2GYM.js +2 -0
- package/dist/cdn/MV6H65JZ.js +2 -0
- package/dist/cdn/{S2H4RCXL.js → N4OXGGCA.js} +1 -1
- package/dist/cdn/{CV3MN2OB.js → NESORWBG.js} +1 -1
- package/dist/cdn/{LJU5JLT7.js → NUGJT3MO.js} +1 -1
- package/dist/cdn/NVCMDHE6.js +2 -0
- package/dist/cdn/NWBQZSJH.js +2 -0
- package/dist/cdn/OED52OID.js +2 -0
- package/dist/cdn/QHZQKJJO.js +2 -0
- package/dist/cdn/{OOHBEF67.js → QZOROYMP.js} +1 -1
- package/dist/cdn/{4SRUJNYL.js → R4B3CB3N.js} +1 -1
- package/dist/cdn/{FUOCURYO.js → R6YWDKWN.js} +1 -1
- package/dist/cdn/RJZTG6BJ.js +2 -0
- package/dist/cdn/S64CBDJB.js +2 -0
- package/dist/cdn/{2BAQEPCK.js → SH37YJOP.js} +1 -1
- package/dist/cdn/SPJK6GM3.js +2 -0
- package/dist/cdn/{R2BGMXLL.js → SR5JGIZ4.js} +1 -1
- package/dist/cdn/{NWRE6XI6.js → SRVDVLIK.js} +1 -1
- package/dist/cdn/{WG43MAVJ.js → TUERF5XO.js} +1 -1
- package/dist/cdn/TVNJKFSE.js +2 -0
- package/dist/cdn/{VPVFOEEH.js → U2C7US5M.js} +1 -1
- package/dist/cdn/{KGLVHBMW.js → UDCTDYWY.js} +1 -1
- package/dist/cdn/UEWINO5H.js +2 -0
- package/dist/cdn/{HKGGDNSY.js → URXBOBYP.js} +1 -1
- package/dist/cdn/{YCXOS27R.js → VFNM4LQT.js} +1 -1
- package/dist/cdn/VS6WXU6Z.js +2 -0
- package/dist/cdn/{UBI26YGI.js → VWTWH44G.js} +1 -1
- package/dist/cdn/{4ASFVM5K.js → WD7BCM2T.js} +1 -1
- package/dist/cdn/{RS6N2KGI.js → WQHYVWTM.js} +1 -1
- package/dist/cdn/X24IXIYO.js +2 -0
- package/dist/cdn/{PQZYONXN.js → X3YHAZMZ.js} +1 -1
- package/dist/cdn/{XHVWL7MY.js → XPQKK4JT.js} +1 -1
- package/dist/cdn/YBXJYVTG.js +2 -0
- package/dist/cdn/{TCGJR6OG.js → YCE3GAGK.js} +1 -1
- package/dist/cdn/{FX754GOP.js → YFNVAJP6.js} +1 -1
- package/dist/cdn/{6OUQ7ORF.js → YVCUDFXA.js} +1 -1
- package/dist/cdn/ZISQPBKD.js +2 -0
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +23 -7
- package/dist/chunks/index.js +875 -875
- package/dist/chunks/serial-chart-data.js +25 -25
- package/dist/components/arcgis-chart/customElement.d.ts +76 -24
- package/dist/components/arcgis-chart/customElement.js +893 -891
- package/dist/components/arcgis-charts-config-axes/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +58 -58
- package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +12 -12
- 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-data/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 +17 -17
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/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 +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +6 -6
- 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 +2 -2
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/2ADFKCPA.js +0 -2
- package/dist/cdn/5GD3PE32.js +0 -2
- package/dist/cdn/6AUW6C3P.js +0 -2
- package/dist/cdn/7CVRX5TJ.js +0 -2
- package/dist/cdn/7ZK3YGN6.js +0 -2
- package/dist/cdn/AVUM7BWA.js +0 -2
- package/dist/cdn/BO7RCJZB.js +0 -2
- package/dist/cdn/D5EMJRBB.js +0 -2
- package/dist/cdn/DS42P2EG.js +0 -2
- package/dist/cdn/EE7MSNVY.js +0 -2
- package/dist/cdn/EQ3IZDDQ.js +0 -2
- package/dist/cdn/FK52K255.js +0 -2
- package/dist/cdn/FUFEC4JX.js +0 -2
- package/dist/cdn/HJRYXAVR.js +0 -2
- package/dist/cdn/IY7457CX.js +0 -2
- package/dist/cdn/K4DKNVD7.js +0 -2
- package/dist/cdn/K76KZ3TY.js +0 -2
- package/dist/cdn/KZOJBRI6.js +0 -2
- package/dist/cdn/L4Y3GEOG.js +0 -2
- package/dist/cdn/PMFA3GVU.js +0 -2
- package/dist/cdn/PWCAXPNP.js +0 -2
- package/dist/cdn/QOJZM6EZ.js +0 -2
- package/dist/cdn/RCAB2G52.js +0 -2
- package/dist/cdn/SZKVED6M.js +0 -2
- package/dist/cdn/TKTNTVES.js +0 -2
- package/dist/cdn/UMXNCRW5.js +0 -2
- package/dist/cdn/UWIRHZ3N.js +0 -2
- package/dist/cdn/V7CMOKQQ.js +0 -2
- package/dist/cdn/XBBP6DN4.js +0 -2
- package/dist/cdn/YGCLG2LA.js +0 -2
- package/dist/cdn/YWFHR2KJ.js +0 -2
- package/dist/cdn/ZKVDUGFR.js +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
2
|
+
import { substitute as R } from "@arcgis/core/intl.js";
|
|
3
3
|
import { cloneDeep as ie, isEmpty as Ae, memoize as ve } from "lodash-es";
|
|
4
4
|
import "@arcgis/toolkit/type";
|
|
5
5
|
import { w as fe, u as v, r as I, k as Ie, n as L, m as j, p as Le, t as qe, s as G } from "./series-types.js";
|
|
6
6
|
import { i as Ve, R as Ne } from "./rest-js-object-literals.js";
|
|
7
|
-
import { d6 as J, d8 as Oe, cY as ke, dS as De, a1 as
|
|
7
|
+
import { d6 as J, d8 as Oe, cY as ke, dS as De, a1 as we, ap as Y, e4 as Re, e7 as Pe, R as Me, C as D, c5 as se, d_ as Ee, h as $e, c4 as Ye, a8 as We, bq as Xe, cT as Ue, am as je, l as He, dC as Ke, $ as V, c_ as Qe, e8 as _e, _ as ze, e9 as oe, dA as Ge, ea as Je, dw as Ze, B as et, cU as K, bm as w, e5 as tt, e2 as H, bI as W, bp as Se, ax as it, e3 as ae, cD as st, x as Z, d1 as at, d9 as ue, cG as U, aZ as rt, b8 as lt, bu as nt, aB as ot, cP as ce, aG as de, aL as ye, b0 as ut } from "./index.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
9
|
import "luxon";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
@@ -227,10 +227,10 @@ function At(t, e) {
|
|
|
227
227
|
return i;
|
|
228
228
|
}
|
|
229
229
|
function vi(t) {
|
|
230
|
-
const { data: e, config: i,
|
|
230
|
+
const { data: e, config: i, showEmptySeries: r } = t, a = i.series.length, s = ie(i);
|
|
231
231
|
let l = !1;
|
|
232
|
-
if (r && a > 1 && e) {
|
|
233
|
-
const n =
|
|
232
|
+
if (!r && a > 1 && e) {
|
|
233
|
+
const n = we(e), u = fe(i?.series), c = Y(i?.series), S = /* @__PURE__ */ new Set();
|
|
234
234
|
switch (u) {
|
|
235
235
|
case v.ComboLineAndBarSeries:
|
|
236
236
|
case v.BarSeries:
|
|
@@ -247,7 +247,7 @@ function vi(t) {
|
|
|
247
247
|
break;
|
|
248
248
|
}
|
|
249
249
|
case v.BoxPlotSeries: {
|
|
250
|
-
if (
|
|
250
|
+
if (Re(i)) {
|
|
251
251
|
const y = Pe(i);
|
|
252
252
|
i.series.forEach((m) => {
|
|
253
253
|
let g, d;
|
|
@@ -312,7 +312,7 @@ const Ii = (t) => {
|
|
|
312
312
|
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
313
313
|
}, Di = (t) => {
|
|
314
314
|
It(0, t);
|
|
315
|
-
},
|
|
315
|
+
}, wi = (t) => t.hideEmptyRowsAndColumns, Ri = (t, e) => {
|
|
316
316
|
t.hideEmptyRowsAndColumns = e;
|
|
317
317
|
}, Pi = (t, e) => {
|
|
318
318
|
const i = t.series[0];
|
|
@@ -323,7 +323,7 @@ const Ii = (t) => {
|
|
|
323
323
|
}, $i = (t) => t.series[0].gradientRules, Yi = (t) => {
|
|
324
324
|
const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = le(1, i), l = qt(i), n = K(i), u = i.series[0];
|
|
325
325
|
if (typeof e == "string" && l !== e && u && (u.y = e, ht(i), l === s || n)) {
|
|
326
|
-
const c =
|
|
326
|
+
const c = w(a, e);
|
|
327
327
|
P(i, 1, c);
|
|
328
328
|
}
|
|
329
329
|
}, qt = (t) => t.series[0].y ?? "", Wi = (t) => {
|
|
@@ -466,14 +466,14 @@ function E(t) {
|
|
|
466
466
|
return ie(g);
|
|
467
467
|
}
|
|
468
468
|
function X(t, e, i) {
|
|
469
|
-
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = W(e.layer), l = M(t), n = _(t), u = Be(t), c = ne(t), S = s && (n.length === 0 || n.includes(a)), o = it(u, i), y = S ? "" : n.map((p) =>
|
|
469
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = W(e.layer), l = M(t), n = _(t), u = Be(t), c = ne(t), S = s && (n.length === 0 || n.includes(a)), o = it(u, i), y = S ? "" : n.map((p) => w(r ?? [], p)).join(", "), m = w(r ?? [], l), g = w(r ?? [], c), d = t.series.some((p) => N(p)), f = d ? "category" : "xAxisField", b = m;
|
|
470
470
|
let h = "";
|
|
471
471
|
if (Te({
|
|
472
472
|
fieldName: l,
|
|
473
473
|
numericFields: n,
|
|
474
474
|
fieldList: r
|
|
475
475
|
}))
|
|
476
|
-
h =
|
|
476
|
+
h = R(i.titleLabels.aggrTypeOfAggrFields, {
|
|
477
477
|
aggregationType: o,
|
|
478
478
|
aggregationFields: y
|
|
479
479
|
});
|
|
@@ -481,13 +481,13 @@ function X(t, e, i) {
|
|
|
481
481
|
const p = S ? a : y;
|
|
482
482
|
if (c === "") {
|
|
483
483
|
const k = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
484
|
-
h =
|
|
484
|
+
h = R(i.titleLabels[k], {
|
|
485
485
|
aggregationType: p,
|
|
486
486
|
[f]: b
|
|
487
487
|
});
|
|
488
488
|
} else {
|
|
489
489
|
const k = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
490
|
-
h =
|
|
490
|
+
h = R(i.titleLabels[k], {
|
|
491
491
|
aggregationType: p,
|
|
492
492
|
[f]: b,
|
|
493
493
|
splitByField: g
|
|
@@ -496,13 +496,13 @@ function X(t, e, i) {
|
|
|
496
496
|
} else if (u === I.Count)
|
|
497
497
|
if (c === "") {
|
|
498
498
|
const p = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
499
|
-
h =
|
|
499
|
+
h = R(i.titleLabels[p], {
|
|
500
500
|
aggregationType: o,
|
|
501
501
|
[f]: b
|
|
502
502
|
});
|
|
503
503
|
} else {
|
|
504
504
|
const p = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
505
|
-
h =
|
|
505
|
+
h = R(i.titleLabels[p], {
|
|
506
506
|
aggregationType: o,
|
|
507
507
|
[f]: b,
|
|
508
508
|
splitByField: g
|
|
@@ -510,7 +510,7 @@ function X(t, e, i) {
|
|
|
510
510
|
}
|
|
511
511
|
else if (c !== "") {
|
|
512
512
|
const p = d ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
513
|
-
h =
|
|
513
|
+
h = R(i.titleLabels[p], {
|
|
514
514
|
aggregationType: o,
|
|
515
515
|
aggregationField: y,
|
|
516
516
|
[f]: b,
|
|
@@ -518,7 +518,7 @@ function X(t, e, i) {
|
|
|
518
518
|
});
|
|
519
519
|
} else if (n.length > 0) {
|
|
520
520
|
const p = d ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
521
|
-
h =
|
|
521
|
+
h = R(i.titleLabels[p], {
|
|
522
522
|
aggregationType: o,
|
|
523
523
|
aggregationFields: y,
|
|
524
524
|
[f]: b
|
|
@@ -636,7 +636,7 @@ function Ce(t) {
|
|
|
636
636
|
i && h !== u && (p = {
|
|
637
637
|
...p,
|
|
638
638
|
id: h,
|
|
639
|
-
name:
|
|
639
|
+
name: w(n, h)
|
|
640
640
|
});
|
|
641
641
|
let k = h;
|
|
642
642
|
p.query !== void 0 && (r !== I.NoAggregation ? (k = b, p.query.outStatistics = [
|
|
@@ -786,7 +786,7 @@ const Ts = (t) => {
|
|
|
786
786
|
layerInfo: l,
|
|
787
787
|
commonStrings: n,
|
|
788
788
|
splitByFieldInfos: u
|
|
789
|
-
} = t, { layerFieldsInfo: c } = l ?? {}, S = ft(s), o = M(s), y = c.find((C) => C.name === o), m = s.series[0]?.query === void 0, g = c.find((C) => C.name === e), d = z(s, l, n), f = be(s, l, n), b =
|
|
789
|
+
} = t, { layerFieldsInfo: c } = l ?? {}, S = ft(s), o = M(s), y = c.find((C) => C.name === o), m = s.series[0]?.query === void 0, g = c.find((C) => C.name === e), d = z(s, l, n), f = be(s, l, n), b = wt(s, l);
|
|
790
790
|
let h = Fe(s);
|
|
791
791
|
const p = s.series.some((C) => N(C)), k = ct(s.series), T = dt(s.series), O = ae(s), F = {};
|
|
792
792
|
O && (F.classBreaksRules = s.series[0]?.classBreaksRules, F.xTemporalBinning = s.series[0]?.xTemporalBinning, F.yTemporalBinning = s.series[0]?.yTemporalBinning, F.emptyCells = s.series[0]?.emptyCells, F.nullPolicy = s.nullPolicy);
|
|
@@ -823,7 +823,7 @@ const Ts = (t) => {
|
|
|
823
823
|
commonStrings: n,
|
|
824
824
|
splitByFieldInfos: u
|
|
825
825
|
})), b && s.series[0].type !== v.HeatSeries) {
|
|
826
|
-
const C =
|
|
826
|
+
const C = w(c, e);
|
|
827
827
|
P(s, 0, C);
|
|
828
828
|
}
|
|
829
829
|
if (f && s.series[0].type !== v.HeatSeries) {
|
|
@@ -855,7 +855,7 @@ const Ts = (t) => {
|
|
|
855
855
|
n = a.axisLabels.values;
|
|
856
856
|
else if (Ae(l)) {
|
|
857
857
|
const c = s.query?.outStatistics?.[0]?.onStatisticField;
|
|
858
|
-
c !== void 0 && c !== W(r.layer).idField && (n =
|
|
858
|
+
c !== void 0 && c !== W(r.layer).idField && (n = w(r.layerFieldsInfo, c));
|
|
859
859
|
} else {
|
|
860
860
|
const c = String(xe(s)).trim().replace(/'/gu, "");
|
|
861
861
|
n = Se({
|
|
@@ -879,7 +879,7 @@ const Ts = (t) => {
|
|
|
879
879
|
}, Cs = async (t, e) => {
|
|
880
880
|
const i = M(t), r = Fe(t)?.type, a = _(t), s = Y(t.series);
|
|
881
881
|
let l = [];
|
|
882
|
-
return r === v.CategoryAxisFormat && (s === D.BarAndLineFromFields || i === Z ? l = a.map((n) =>
|
|
882
|
+
return r === v.CategoryAxisFormat && (s === D.BarAndLineFromFields || i === Z ? l = a.map((n) => w(e?.layerFieldsInfo, n)) : i.trim() !== "" && i !== Z && e !== void 0 && (l = await yt({
|
|
883
883
|
layerInfo: e,
|
|
884
884
|
config: t,
|
|
885
885
|
category: i
|
|
@@ -899,8 +899,8 @@ function be(t, e, i) {
|
|
|
899
899
|
}), a = le(1, t), s = K(t);
|
|
900
900
|
return r === a || s;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
903
|
-
const i =
|
|
902
|
+
function wt(t, e) {
|
|
903
|
+
const i = w(e.layerFieldsInfo, M(t)), r = le(0, t), a = K(t);
|
|
904
904
|
return i === r || a;
|
|
905
905
|
}
|
|
906
906
|
function bs(t) {
|
|
@@ -979,8 +979,8 @@ export {
|
|
|
979
979
|
ps as n,
|
|
980
980
|
gs as o,
|
|
981
981
|
fs as p,
|
|
982
|
-
|
|
983
|
-
|
|
982
|
+
wi as q,
|
|
983
|
+
Ri as r,
|
|
984
984
|
Yi as s,
|
|
985
985
|
Ki as t,
|
|
986
986
|
Hi as u,
|
|
@@ -73,14 +73,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
73
73
|
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
74
74
|
* @default false
|
|
75
75
|
*/
|
|
76
|
-
accessor autoDisposeChart: boolean
|
|
76
|
+
accessor autoDisposeChart: boolean;
|
|
77
77
|
/**
|
|
78
78
|
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
79
79
|
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
80
80
|
*
|
|
81
81
|
* @default false
|
|
82
82
|
*/
|
|
83
|
-
accessor autoInverseDataLabelTextColor: boolean
|
|
83
|
+
accessor autoInverseDataLabelTextColor: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
86
86
|
*
|
|
@@ -654,8 +654,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
654
654
|
*
|
|
655
655
|
* @default false
|
|
656
656
|
*/
|
|
657
|
-
|
|
658
|
-
set disableInteractions(value: boolean | undefined);
|
|
657
|
+
accessor disableInteractions: boolean;
|
|
659
658
|
/**
|
|
660
659
|
* Disables the toggling of series via the legend items.
|
|
661
660
|
*
|
|
@@ -663,7 +662,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
663
662
|
*
|
|
664
663
|
* @default false
|
|
665
664
|
*/
|
|
666
|
-
accessor disableTogglingLegendItems: boolean
|
|
665
|
+
accessor disableTogglingLegendItems: boolean;
|
|
667
666
|
/**
|
|
668
667
|
* Whether to enable automatic chart theming based on Calcite theme detection.
|
|
669
668
|
*
|
|
@@ -702,7 +701,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
702
701
|
* @deprecated since 5.1. Won't be replaced.
|
|
703
702
|
* @default false
|
|
704
703
|
*/
|
|
705
|
-
accessor enableResponsiveFeatures: boolean
|
|
704
|
+
accessor enableResponsiveFeatures: boolean;
|
|
706
705
|
/**
|
|
707
706
|
* Whether to display an error alert and hide the chart when it can't be created or updated.
|
|
708
707
|
*
|
|
@@ -722,7 +721,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
722
721
|
*
|
|
723
722
|
* @default false
|
|
724
723
|
*/
|
|
725
|
-
accessor filterByExtent: boolean
|
|
724
|
+
accessor filterByExtent: boolean;
|
|
726
725
|
/**
|
|
727
726
|
* When `true`, all chart elements are filtered based on the selection.
|
|
728
727
|
*
|
|
@@ -731,7 +730,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
731
730
|
*
|
|
732
731
|
* @default false
|
|
733
732
|
*/
|
|
734
|
-
accessor filterBySelection: boolean
|
|
733
|
+
accessor filterBySelection: boolean;
|
|
735
734
|
/**
|
|
736
735
|
* A callback function used to format the gauge inner label. If the returned string contains HTML tags they will be interpreted as such.
|
|
737
736
|
*
|
|
@@ -750,13 +749,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
750
749
|
*
|
|
751
750
|
* **Note**: Not applicable to gauge.
|
|
752
751
|
*
|
|
752
|
+
* @deprecated since 5.1. Use [showEmptySeries](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#showEmptySeries) instead.
|
|
753
753
|
* @default false
|
|
754
754
|
*/
|
|
755
755
|
accessor hideEmptySeries: boolean | undefined;
|
|
756
756
|
/**
|
|
757
757
|
* Hides the license watermark.
|
|
758
758
|
*
|
|
759
|
-
* @deprecated since 5.1.
|
|
759
|
+
* @deprecated since 5.1. Use [showLicenseWatermark](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#showLicenseWatermark) instead.
|
|
760
760
|
* @default false
|
|
761
761
|
*/
|
|
762
762
|
accessor hideLicenseWatermark: boolean | undefined;
|
|
@@ -765,7 +765,28 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
765
765
|
*
|
|
766
766
|
* @default false
|
|
767
767
|
*/
|
|
768
|
-
accessor hideLoaderAnimation: boolean
|
|
768
|
+
accessor hideLoaderAnimation: boolean;
|
|
769
|
+
/**
|
|
770
|
+
* Whether to display or hide all UI messages (e.g. no data warnings, or when the logarithmic scale can't be applied to an axis when the data contains values <= 0).
|
|
771
|
+
*
|
|
772
|
+
* @default false
|
|
773
|
+
* @since 5.1
|
|
774
|
+
*/
|
|
775
|
+
accessor hideUIMessages: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Whether to keep missing categories from a count aggregation as gaps in the chart's data.
|
|
778
|
+
*
|
|
779
|
+
* When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
|
|
780
|
+
*
|
|
781
|
+
* When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
|
|
782
|
+
*
|
|
783
|
+
* When left to `false`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
|
|
784
|
+
* will be populated with 0s, via the`completeDataForEmptyCategoriesWithZeros` method.
|
|
785
|
+
*
|
|
786
|
+
* @default false
|
|
787
|
+
* @since 5.1
|
|
788
|
+
*/
|
|
789
|
+
accessor hideZeroCountCategories: boolean;
|
|
769
790
|
/**
|
|
770
791
|
* When `true`, disables the default setting that uses debounce functions to handle the visibility of markers
|
|
771
792
|
* that are outside of the plotting area when the min/max bound changes and/or when a zoom action is performed
|
|
@@ -777,9 +798,10 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
777
798
|
*
|
|
778
799
|
* **Note**: Applicable to line chart only.
|
|
779
800
|
*
|
|
801
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
780
802
|
* @default false
|
|
781
803
|
*/
|
|
782
|
-
accessor ignoreSmoothRenderingLimit: boolean
|
|
804
|
+
accessor ignoreSmoothRenderingLimit: boolean;
|
|
783
805
|
/**
|
|
784
806
|
* This property will be effective when the component's `view` is provided or when the `layer` is set to a FeatureLayerView.
|
|
785
807
|
*
|
|
@@ -790,7 +812,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
790
812
|
*
|
|
791
813
|
* @default false
|
|
792
814
|
*/
|
|
793
|
-
accessor ignoreViewExtent: boolean
|
|
815
|
+
accessor ignoreViewExtent: boolean;
|
|
794
816
|
/**
|
|
795
817
|
* Used to perform queries.
|
|
796
818
|
* If the layer is a `FeatureLayerView` or if the layer and the `view` property are both provided, the queries will be executed client-side.
|
|
@@ -854,7 +876,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
854
876
|
* @deprecated since 5.0. Use charts model's [legendVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#legendVisibility) prop instead.
|
|
855
877
|
* @default false
|
|
856
878
|
*/
|
|
857
|
-
accessor legendVisibility: boolean
|
|
879
|
+
accessor legendVisibility: boolean;
|
|
858
880
|
/** Defines the colors for the loader animation. */
|
|
859
881
|
accessor loaderColors: LoaderColors | undefined;
|
|
860
882
|
/** Custom message overrides for the chart's strings. */
|
|
@@ -1126,7 +1148,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1126
1148
|
/**
|
|
1127
1149
|
* Whether to consider a `null` statistic as valid. If set to `false` and the data has only null values, the chart's dataset will be considered empty:
|
|
1128
1150
|
* - The corresponding warning event will be sent
|
|
1129
|
-
* - The "no data" message will be displayed (unless `showUIMessages` is set to `false`)
|
|
1151
|
+
* - The "no data" message will be displayed (unless `hideUIMessages` is set to `true` or `showUIMessages` is set to `false`)
|
|
1130
1152
|
*
|
|
1131
1153
|
* @default false
|
|
1132
1154
|
*/
|
|
@@ -1136,7 +1158,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1136
1158
|
/**
|
|
1137
1159
|
* Builds charts sequentially instead of rendering them all at once
|
|
1138
1160
|
*
|
|
1139
|
-
* @deprecated since 5.1.
|
|
1161
|
+
* @deprecated since 5.1. Use [skipChartCreationQueue](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#skipChartCreationQueue) instead.
|
|
1140
1162
|
* @default false
|
|
1141
1163
|
*/
|
|
1142
1164
|
accessor queueChartCreation: boolean | undefined;
|
|
@@ -1144,6 +1166,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1144
1166
|
* When `true`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1145
1167
|
* will be populated with 0s, via the `completeDataForEmptyCategoriesWithZeros` method.
|
|
1146
1168
|
*
|
|
1169
|
+
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1147
1170
|
* @default false
|
|
1148
1171
|
*/
|
|
1149
1172
|
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
@@ -1159,7 +1182,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1159
1182
|
*
|
|
1160
1183
|
* @default false
|
|
1161
1184
|
*/
|
|
1162
|
-
accessor returnFeaturesExtent: boolean
|
|
1185
|
+
accessor returnFeaturesExtent: boolean;
|
|
1163
1186
|
/**
|
|
1164
1187
|
* When `true`, the selection indexes will be computed whenever a selection is made on or passed to the chart.
|
|
1165
1188
|
*
|
|
@@ -1167,7 +1190,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1167
1190
|
*
|
|
1168
1191
|
* @default false
|
|
1169
1192
|
*/
|
|
1170
|
-
accessor returnSelectionIndexes: boolean
|
|
1193
|
+
accessor returnSelectionIndexes: boolean;
|
|
1171
1194
|
/**
|
|
1172
1195
|
* When `true`, the object ids will be computed whenever a selection is made on or passed to the chart.
|
|
1173
1196
|
* Only considered for a data source using a feature layer.
|
|
@@ -1186,7 +1209,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1186
1209
|
* @deprecated since 5.0. Use charts model's [rotatedState](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#rotatedState) prop instead.
|
|
1187
1210
|
* @default false
|
|
1188
1211
|
*/
|
|
1189
|
-
accessor rotation: boolean
|
|
1212
|
+
accessor rotation: boolean;
|
|
1190
1213
|
/** Applies runtime data filters to the chart. */
|
|
1191
1214
|
accessor runtimeDataFilters: WebChartDataFilters | undefined;
|
|
1192
1215
|
/**
|
|
@@ -1224,13 +1247,45 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1224
1247
|
*
|
|
1225
1248
|
* @default false
|
|
1226
1249
|
*/
|
|
1227
|
-
accessor setTimeBinningInfoWhenNotProvided: boolean
|
|
1250
|
+
accessor setTimeBinningInfoWhenNotProvided: boolean;
|
|
1251
|
+
/**
|
|
1252
|
+
* Show the series on the chart even if it doesn't have data (i.e. empty)
|
|
1253
|
+
*
|
|
1254
|
+
* When `false`, the empty series are completely hidden from the chart and the legend.
|
|
1255
|
+
* For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
|
|
1256
|
+
*
|
|
1257
|
+
* **Note**: Not applicable to gauge.
|
|
1258
|
+
*
|
|
1259
|
+
* @default false
|
|
1260
|
+
* @since 5.1
|
|
1261
|
+
*/
|
|
1262
|
+
accessor showEmptySeries: boolean;
|
|
1263
|
+
/**
|
|
1264
|
+
* Shows the license watermark.
|
|
1265
|
+
*
|
|
1266
|
+
* @default false
|
|
1267
|
+
* @since 5.1
|
|
1268
|
+
*/
|
|
1269
|
+
accessor showLicenseWatermark: boolean;
|
|
1228
1270
|
/**
|
|
1229
1271
|
* Whether to display or hide all UI messages (e.g. no data warnings, or when the logarithmic scale can't be applied to an axis when the data contains values <= 0).
|
|
1230
1272
|
*
|
|
1273
|
+
* @deprecated since 5.1. Use [hideUIMessages](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideUIMessages) instead.
|
|
1231
1274
|
* @default false
|
|
1232
1275
|
*/
|
|
1233
1276
|
accessor showUIMessages: boolean | undefined;
|
|
1277
|
+
/**
|
|
1278
|
+
* Whether to skip the chart rendering queue.
|
|
1279
|
+
*
|
|
1280
|
+
* When `true`, charts will render immediately without waiting for other charts
|
|
1281
|
+
* to finish rendering. This bypasses the queuing mechanism used by `amChartsOptions.queue`.
|
|
1282
|
+
*
|
|
1283
|
+
* When `false` (default), charts are queued so that only one chart renders at a time.
|
|
1284
|
+
*
|
|
1285
|
+
* @default false
|
|
1286
|
+
* @since 5.1
|
|
1287
|
+
*/
|
|
1288
|
+
accessor skipChartCreationQueue: boolean;
|
|
1234
1289
|
/**
|
|
1235
1290
|
* Whether to synchronize the selection between chart components from the same layer.
|
|
1236
1291
|
*
|
|
@@ -1273,13 +1328,13 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1273
1328
|
*
|
|
1274
1329
|
* @default false
|
|
1275
1330
|
*/
|
|
1276
|
-
accessor useAnimatedCharts: boolean
|
|
1331
|
+
accessor useAnimatedCharts: boolean;
|
|
1277
1332
|
/**
|
|
1278
1333
|
* Allows the use of the fields alias from the `layer.popupTemplate` when rendering the field names on the chart (e.g. tooltips, axes, legend).
|
|
1279
1334
|
*
|
|
1280
1335
|
* @default false
|
|
1281
1336
|
*/
|
|
1282
|
-
accessor usePopupTemplateFieldsInfo: boolean
|
|
1337
|
+
accessor usePopupTemplateFieldsInfo: boolean;
|
|
1283
1338
|
/** Used to access the feature layer view instance in order to perform client side queries. */
|
|
1284
1339
|
accessor view: MapView | SceneView | undefined;
|
|
1285
1340
|
/**
|
|
@@ -1381,9 +1436,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1381
1436
|
* **Note**: Not applicable to gauge.
|
|
1382
1437
|
*/
|
|
1383
1438
|
switchSelection(): Promise<void>;
|
|
1384
|
-
"@setterTypes": {
|
|
1385
|
-
disableInteractions?: boolean | undefined;
|
|
1386
|
-
};
|
|
1387
1439
|
/** Event triggered once the chart axes min/max values are computed. */
|
|
1388
1440
|
readonly arcgisAxesMinMaxChange: import("@arcgis/lumina").TargetedEvent<this, AxesMinMaxChangePayload>;
|
|
1389
1441
|
/** Event triggered when an error is detected with the data set. */
|