@arcgis/charts-components 5.2.0-next.87 → 5.2.0-next.89
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/{UYDDYD3O.js → 255J2IDZ.js} +1 -1
- package/dist/cdn/{5DHMYPPF.js → 2GXJ2BAR.js} +1 -1
- package/dist/cdn/{MNYNXHXE.js → 2PS272XV.js} +1 -1
- package/dist/cdn/{OWYKZMAE.js → 3VGDEPLZ.js} +1 -1
- package/dist/cdn/{7CZMR2WF.js → 4EFLSDWR.js} +1 -1
- package/dist/cdn/{IG43EKA6.js → 4V35YCIC.js} +1 -1
- package/dist/cdn/{C5UI5MYS.js → 54CWBGOT.js} +1 -1
- package/dist/cdn/{CSOYZJU5.js → 5DIUGUTH.js} +1 -1
- package/dist/cdn/{KYOBS7XL.js → 5PVEURDM.js} +1 -1
- package/dist/cdn/{PF6QOHZR.js → 6EWSNVVQ.js} +1 -1
- package/dist/cdn/{QIG7WTJF.js → 6HYAHTR7.js} +1 -1
- package/dist/cdn/{IN2IL6T2.js → 6R75UK7R.js} +1 -1
- package/dist/cdn/{XHSD437D.js → 6RNJLIW7.js} +1 -1
- package/dist/cdn/{6AWJXWDQ.js → 74WIGEYX.js} +1 -1
- package/dist/cdn/{OGGEEHV2.js → 7DCT627N.js} +1 -1
- package/dist/cdn/{TVW2GMA6.js → AEKNZ5HX.js} +1 -1
- package/dist/cdn/{7ZAT46VE.js → AF2VHZ3K.js} +1 -1
- package/dist/cdn/AO3CHQZX.js +3 -0
- package/dist/cdn/{U7GQGHZY.js → APBHRWO7.js} +1 -1
- package/dist/cdn/{PK7GYSIR.js → B3J7GR64.js} +1 -1
- package/dist/cdn/{S2HIF3ZX.js → B6EQRXIO.js} +1 -1
- package/dist/cdn/BJ2GQUQQ.js +2 -0
- package/dist/cdn/{R3XOXHKQ.js → BO3LKAOY.js} +1 -1
- package/dist/cdn/{3H3PFQTD.js → CCUAQ7BS.js} +1 -1
- package/dist/cdn/{DV7I4E5D.js → CD35AZCK.js} +1 -1
- package/dist/cdn/{OADNRXFH.js → CGHKRNJC.js} +1 -1
- package/dist/cdn/{APU26Y2Z.js → CM4FOO3G.js} +1 -1
- package/dist/cdn/{WC22SRVJ.js → E4L772I2.js} +1 -1
- package/dist/cdn/{TMLVMG4C.js → EJAZNU6L.js} +1 -1
- package/dist/cdn/{CXWBQG5O.js → ENVLWI5H.js} +1 -1
- package/dist/cdn/{BV7UUWYI.js → ER6XIB34.js} +1 -1
- package/dist/cdn/{EMOHROY3.js → EZIHNH4L.js} +1 -1
- package/dist/cdn/{AWN3K3IH.js → FHYZ5QCJ.js} +1 -1
- package/dist/cdn/{3YPGCLG4.js → G4VATGUV.js} +1 -1
- package/dist/cdn/{52NR6B2J.js → GF5RCT7U.js} +1 -1
- package/dist/cdn/{KAQ5XSCQ.js → GT6SCH3C.js} +1 -1
- package/dist/cdn/{EHYBMIDH.js → HJ2PHQD5.js} +1 -1
- package/dist/cdn/{3N6RFNEA.js → I7NNKTPZ.js} +1 -1
- package/dist/cdn/{QXQC4CH5.js → IDH345JS.js} +1 -1
- package/dist/cdn/{QJFHIO72.js → IP46DLF6.js} +1 -1
- package/dist/cdn/{6SQNRMJG.js → IPKYTV7V.js} +1 -1
- package/dist/cdn/{ACMHG3RB.js → IWY3WAPJ.js} +1 -1
- package/dist/cdn/J47KRLNI.js +2 -0
- package/dist/cdn/{SILDOKXS.js → JW662K55.js} +1 -1
- package/dist/cdn/{T6OTQUMI.js → K3ZRQQD7.js} +1 -1
- package/dist/cdn/{HQ2JPCTQ.js → KLWPXDAD.js} +1 -1
- package/dist/cdn/{PTGBFACY.js → L452VJW3.js} +24 -24
- package/dist/cdn/{SC26LLWP.js → LF4LYD3D.js} +1 -1
- package/dist/cdn/{R6RFH2KK.js → LJRP7HPA.js} +2 -2
- package/dist/cdn/{XQRGIPLK.js → LMT3CJIW.js} +1 -1
- package/dist/cdn/{OYXDCECZ.js → LODICMAM.js} +1 -1
- package/dist/cdn/LPZD4ZKK.js +2 -0
- package/dist/cdn/{PDHWZPY5.js → LXKZKLGE.js} +1 -1
- package/dist/cdn/{HX4HUXZP.js → M5QTOCZ2.js} +1 -1
- package/dist/cdn/{GZEVPH4Y.js → MEOVOANP.js} +1 -1
- package/dist/cdn/{DKC4NIUA.js → MHQYPRTN.js} +1 -1
- package/dist/cdn/{F3LVXDV4.js → NBZGC5RR.js} +1 -1
- package/dist/cdn/{RCAPTQFV.js → NEDOBJNH.js} +1 -1
- package/dist/cdn/{3AYNHY7J.js → O6Y5E725.js} +1 -1
- package/dist/cdn/{LYSF2KY5.js → OEB4JHC5.js} +1 -1
- package/dist/cdn/{C7F4AVQU.js → OX6VTXSJ.js} +1 -1
- package/dist/cdn/{FBU4ODQE.js → PG5R4NDA.js} +1 -1
- package/dist/cdn/{OMORDJT2.js → POK4XAOI.js} +1 -1
- package/dist/cdn/{MITW5XKW.js → QQBBCUQ3.js} +1 -1
- package/dist/cdn/{32KKW2IG.js → QYAEDUSX.js} +1 -1
- package/dist/cdn/{2Y4OUUMJ.js → RIQLLNP5.js} +1 -1
- package/dist/cdn/{UOL7KBJK.js → RMRXMLPD.js} +1 -1
- package/dist/cdn/{ZG3WNUBC.js → RPWGXKU5.js} +1 -1
- package/dist/cdn/{VSPKBQS6.js → SHUVH6EE.js} +1 -1
- package/dist/cdn/{XBRRJQVR.js → SMR2VM6B.js} +1 -1
- package/dist/cdn/{5NGIGJYR.js → T6DZBPJC.js} +1 -1
- package/dist/cdn/{N634G5MT.js → TFA6LCYF.js} +1 -1
- package/dist/cdn/{DNHE5ZCA.js → TXFV35UH.js} +1 -1
- package/dist/cdn/{3ZF4RSY4.js → URJ4RY65.js} +1 -1
- package/dist/cdn/{HDIBDW52.js → VVLHQONN.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{FF46DEA7.js → WSHAUD65.js} +1 -1
- package/dist/cdn/{5LKJE2PR.js → WSL3KIDE.js} +1 -1
- package/dist/cdn/{I3BMYY7N.js → X45ACF6H.js} +1 -1
- package/dist/cdn/{AL6VZ6UZ.js → XF6T5ABY.js} +1 -1
- package/dist/cdn/{KE4AIHA7.js → YD4TDPP5.js} +1 -1
- package/dist/cdn/{LM6VCILT.js → YEZO2L2D.js} +1 -1
- package/dist/cdn/ZNTX5IKT.js +2 -0
- 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 +2 -2
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-model.js +12 -3
- package/dist/chunks/chart-ui-utils.js +11 -11
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/data.js +17 -17
- package/dist/chunks/index.js +1365 -1348
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/scatterplot-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +33 -33
- package/dist/chunks/serial-chart-model.js +15 -15
- package/dist/chunks/type-guards.js +54 -32
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/chunks/x-bounds.js +13 -13
- package/dist/components/arcgis-chart/customElement.d.ts +2 -2
- package/dist/components/arcgis-chart/customElement.js +2248 -2242
- 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-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-create-flow/customElement.js +64 -64
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/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/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- 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.d.ts +1 -1
- package/dist/index.js +238 -235
- package/dist/interfaces.d.ts +48 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/package.json +5 -5
- package/dist/cdn/2BA2QD2A.js +0 -3
- package/dist/cdn/5EU4GHSG.js +0 -2
- package/dist/cdn/7U6OEWTI.js +0 -2
- package/dist/cdn/BGOWDCTO.js +0 -2
- package/dist/cdn/VNWPA5A2.js +0 -2
- package/dist/cdn/XVCBLLWW.js +0 -2
- /package/dist/cdn/{P7FI5QUW.js → 3ZNZH5XV.js} +0 -0
- /package/dist/cdn/{LXZXXY7V.js → 4EWMZYXM.js} +0 -0
- /package/dist/cdn/{C2ZX67U4.js → 4JBUJYUG.js} +0 -0
- /package/dist/cdn/{TOCBEPNS.js → 5JV6PU34.js} +0 -0
- /package/dist/cdn/{NWQ2L7IJ.js → AI2WUG3K.js} +0 -0
- /package/dist/cdn/{TJ2NRLF6.js → AKEVK6VK.js} +0 -0
- /package/dist/cdn/{KTYFDFMQ.js → B4HOQOHS.js} +0 -0
- /package/dist/cdn/{A2KSCV2I.js → BG4CYK7C.js} +0 -0
- /package/dist/cdn/{OMU647X3.js → C6UUBWI2.js} +0 -0
- /package/dist/cdn/{RMIIDRGC.js → CHHARRJP.js} +0 -0
- /package/dist/cdn/{AF2GUPVE.js → D3ZXHZRV.js} +0 -0
- /package/dist/cdn/{SVLOD3HQ.js → DF2SKHUD.js} +0 -0
- /package/dist/cdn/{EQTI5Z4G.js → E45CPXW6.js} +0 -0
- /package/dist/cdn/{RHUEVXMR.js → ESBQKSZF.js} +0 -0
- /package/dist/cdn/{FFJTVPE4.js → FPM6WDQ4.js} +0 -0
- /package/dist/cdn/{3FFCWEMV.js → FXBSBXWY.js} +0 -0
- /package/dist/cdn/{BWR5ONE2.js → G7W2RL4I.js} +0 -0
- /package/dist/cdn/{ZVOX72AF.js → HPNWQANQ.js} +0 -0
- /package/dist/cdn/{Z5EJIWAY.js → HVWOLFLT.js} +0 -0
- /package/dist/cdn/{R5LIRRMK.js → IBLGAXGT.js} +0 -0
- /package/dist/cdn/{HABS63VB.js → IC7XUYKD.js} +0 -0
- /package/dist/cdn/{26DDVOQ7.js → IUZFB3JE.js} +0 -0
- /package/dist/cdn/{AS3QP77N.js → KIIS7OLN.js} +0 -0
- /package/dist/cdn/{Q466K37N.js → LCRLYOX6.js} +0 -0
- /package/dist/cdn/{6AXYQGBN.js → MCWIIGOW.js} +0 -0
- /package/dist/cdn/{S4NQCINT.js → MW6VSJEF.js} +0 -0
- /package/dist/cdn/{PZP57FJ2.js → PSQDO4QK.js} +0 -0
- /package/dist/cdn/{NNHJ75EA.js → PWSEK3XV.js} +0 -0
- /package/dist/cdn/{XR4O3AQ6.js → QOQ5QNZV.js} +0 -0
- /package/dist/cdn/{JUFBIV44.js → SLQPIX6X.js} +0 -0
- /package/dist/cdn/{PCFEAGXP.js → SZXVQMQV.js} +0 -0
- /package/dist/cdn/{ZARYZFJ4.js → TVKP2GAI.js} +0 -0
- /package/dist/cdn/{J3BB5KXD.js → VQLXOQMY.js} +0 -0
- /package/dist/cdn/{DDNOUE2T.js → WJY4AWHX.js} +0 -0
- /package/dist/cdn/{B5Z7FBO7.js → WNDLNCF7.js} +0 -0
- /package/dist/cdn/{6U6VAS2O.js → YNED6356.js} +0 -0
- /package/dist/cdn/{B7J5YIWF.js → YZCWFNPW.js} +0 -0
- /package/dist/cdn/{OXPXA3PS.js → ZEQF2W7Y.js} +0 -0
- /package/dist/cdn/{H2DUFQAG.js → ZYK4DWCN.js} +0 -0
|
@@ -7,13 +7,13 @@ 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, aP as Se,
|
|
11
|
-
import { i as Y, J as $, l as
|
|
10
|
+
import { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De, aP as Se, bJ as ve } from "./index.js";
|
|
11
|
+
import { i as Y, J as $, l as R, 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";
|
|
14
14
|
import { V as Ve } from "./index5.js";
|
|
15
15
|
import { DateTime as ne } from "luxon";
|
|
16
|
-
import { P as
|
|
16
|
+
import { P as J } from "./common.js";
|
|
17
17
|
import { a as k, l as L } from "./chart-object-literals.js";
|
|
18
18
|
import { d as Ce } from "./rest-js-object-literals.js";
|
|
19
19
|
function Le(l) {
|
|
@@ -47,7 +47,7 @@ function Oe(l) {
|
|
|
47
47
|
}
|
|
48
48
|
return i;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function X(l) {
|
|
51
51
|
const { value: e, formatLocale: t, unit: a, config: o, utilsStrings: i } = l;
|
|
52
52
|
let r = { label: "", value: e.toString() };
|
|
53
53
|
switch (a) {
|
|
@@ -169,7 +169,7 @@ function ft(l) {
|
|
|
169
169
|
let f = [];
|
|
170
170
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
171
171
|
const u = Pe(t?.series);
|
|
172
|
-
u === k.HistogramSeries ? f =
|
|
172
|
+
u === k.HistogramSeries ? f = Re(
|
|
173
173
|
t,
|
|
174
174
|
e,
|
|
175
175
|
i
|
|
@@ -296,7 +296,7 @@ function Te(l) {
|
|
|
296
296
|
const B = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
|
|
297
297
|
let m = { label: n.x, value: B }, d = { label: n.y, value: b };
|
|
298
298
|
if (n.xTemporalBinning !== void 0) {
|
|
299
|
-
const { label: F, value: S } =
|
|
299
|
+
const { label: F, value: S } = X({
|
|
300
300
|
value: Number(B),
|
|
301
301
|
config: e,
|
|
302
302
|
formatLocale: i,
|
|
@@ -306,7 +306,7 @@ function Te(l) {
|
|
|
306
306
|
!K(F) && !K(S) && (m = { label: F, value: S });
|
|
307
307
|
}
|
|
308
308
|
if (n.yTemporalBinning !== void 0) {
|
|
309
|
-
const { label: F, value: S } =
|
|
309
|
+
const { label: F, value: S } = X({
|
|
310
310
|
value: Number(b),
|
|
311
311
|
config: e,
|
|
312
312
|
formatLocale: i,
|
|
@@ -322,7 +322,7 @@ function Te(l) {
|
|
|
322
322
|
};
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Re(l, e, t) {
|
|
326
326
|
const a = fe(l), o = `${v(W.Min)} of ${a}`, i = `${v(W.Max)} of ${a}`, r = `${v(W.Count)} of ${a}`;
|
|
327
327
|
return e.map((n) => {
|
|
328
328
|
const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), B = H(f), b = {};
|
|
@@ -349,7 +349,7 @@ function Ie(l, e, t) {
|
|
|
349
349
|
return B && (b[r] = f), b;
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Ie(l, e, t) {
|
|
353
353
|
const a = Object.keys(l);
|
|
354
354
|
let o = [];
|
|
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() !== "");
|
|
@@ -415,8 +415,8 @@ function Ke(l) {
|
|
|
415
415
|
numericFieldIndex: C,
|
|
416
416
|
fieldList: o
|
|
417
417
|
}), N = E(e.series)[C];
|
|
418
|
-
let
|
|
419
|
-
N.toLowerCase() === w.name.toLowerCase() && (
|
|
418
|
+
let I = N, Z = N;
|
|
419
|
+
N.toLowerCase() === w.name.toLowerCase() && (I = w.description, Z = w.name), S[I] = h({
|
|
420
420
|
value: y[Z],
|
|
421
421
|
originalValue: y[Z]
|
|
422
422
|
});
|
|
@@ -462,7 +462,7 @@ function Ke(l) {
|
|
|
462
462
|
formatter: i?.xAxisLabelFormatter,
|
|
463
463
|
useRendererLabel: r,
|
|
464
464
|
timeZone: n
|
|
465
|
-
}), S =
|
|
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,7 +504,7 @@ 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 ?
|
|
507
|
+
const u = de(e), p = c !== g.PieFromFields ? J.Category : J.Fields, B = ye(e, p), b = z({
|
|
508
508
|
config: e,
|
|
509
509
|
xAxisField: s,
|
|
510
510
|
numericFields: u,
|
|
@@ -560,7 +560,7 @@ function j(l) {
|
|
|
560
560
|
function T(l) {
|
|
561
561
|
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = q(a), c = oe(a), f = _(a);
|
|
562
562
|
let u = V.Outlier;
|
|
563
|
-
const p =
|
|
563
|
+
const p = R;
|
|
564
564
|
switch (o) {
|
|
565
565
|
case g.BoxPlotMonoFieldAndCategory: {
|
|
566
566
|
const x = se({
|
|
@@ -616,7 +616,7 @@ function Ue(l) {
|
|
|
616
616
|
let p = "";
|
|
617
617
|
switch (s) {
|
|
618
618
|
case g.BoxPlotMonoFieldAndSplitBy: {
|
|
619
|
-
p = `${o}_${f}`, t.Field = e[
|
|
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[
|
|
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,
|
|
@@ -684,7 +684,7 @@ function Ze(l) {
|
|
|
684
684
|
timeZone: n
|
|
685
685
|
});
|
|
686
686
|
d[p] = y;
|
|
687
|
-
} else c === g.BoxPlotMonoField && (d.Field = m[
|
|
687
|
+
} else c === g.BoxPlotMonoField && (d.Field = m[R]);
|
|
688
688
|
j({ rawData: m, outRow: d });
|
|
689
689
|
}
|
|
690
690
|
return d;
|
|
@@ -702,7 +702,7 @@ function Ze(l) {
|
|
|
702
702
|
layer: a,
|
|
703
703
|
fieldList: o,
|
|
704
704
|
timeZone: n
|
|
705
|
-
}) : (d.Field = m[
|
|
705
|
+
}) : (d.Field = m[R], j({ rawData: m, outRow: d })), [d];
|
|
706
706
|
});
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
@@ -832,7 +832,7 @@ export {
|
|
|
832
832
|
mt as d,
|
|
833
833
|
ct as e,
|
|
834
834
|
Me as f,
|
|
835
|
-
|
|
835
|
+
X as g,
|
|
836
836
|
ut as h,
|
|
837
837
|
ft as t
|
|
838
838
|
};
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -5,7 +5,7 @@ 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
7
|
import { N as S, a4 as L, a5 as b, t as T } from "./index3.js";
|
|
8
|
-
import {
|
|
8
|
+
import { bL 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";
|
|
11
11
|
import { l as y, s as v, f as O } from "./utils.js";
|
|
@@ -67,13 +67,13 @@ const V = (t) => {
|
|
|
67
67
|
}, Y = (t) => {
|
|
68
68
|
const { axis: e, index: i } = d(t);
|
|
69
69
|
return e?.guides?.[i]?.above ?? !1;
|
|
70
|
-
},
|
|
70
|
+
}, U = (t) => {
|
|
71
71
|
const { above: e, axis: i, index: s } = d(t);
|
|
72
72
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
73
|
-
},
|
|
73
|
+
}, q = (t) => {
|
|
74
74
|
const { axis: e, index: i } = d(t);
|
|
75
75
|
return e?.guides?.[i]?.style;
|
|
76
|
-
},
|
|
76
|
+
}, z = (t) => {
|
|
77
77
|
const { style: e, axis: i, index: s } = d(t);
|
|
78
78
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
79
79
|
}, me = (t) => {
|
|
@@ -91,17 +91,17 @@ const V = (t) => {
|
|
|
91
91
|
}, Ge = (t) => {
|
|
92
92
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
93
93
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
94
|
-
},
|
|
94
|
+
}, H = (t) => {
|
|
95
95
|
const { axis: e, index: i } = d(t);
|
|
96
96
|
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
97
|
-
},
|
|
97
|
+
}, J = (t) => {
|
|
98
98
|
const { reverseColor: e, axis: i, index: s } = d(t);
|
|
99
99
|
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
|
|
100
100
|
};
|
|
101
|
-
var
|
|
101
|
+
var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
|
|
102
102
|
for (var o = Q(e, i), n = t.length - 1, a; n >= 0; n--)
|
|
103
103
|
(a = t[n]) && (o = a(e, i, o) || o);
|
|
104
|
-
return o &&
|
|
104
|
+
return o && K(e, i, o), o;
|
|
105
105
|
};
|
|
106
106
|
class u extends _ {
|
|
107
107
|
/**
|
|
@@ -183,7 +183,7 @@ class u extends _ {
|
|
|
183
183
|
return Y({ config: this._config, index: e, orientation: i });
|
|
184
184
|
}
|
|
185
185
|
setGuideAbove(e, i, s) {
|
|
186
|
-
|
|
186
|
+
U({ above: e, config: this._config, index: i, orientation: s });
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* Gets the guide style.
|
|
@@ -192,10 +192,10 @@ class u extends _ {
|
|
|
192
192
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
193
193
|
*/
|
|
194
194
|
getGuideStyle(e, i) {
|
|
195
|
-
return
|
|
195
|
+
return q({ config: this._config, index: e, orientation: i });
|
|
196
196
|
}
|
|
197
197
|
setGuideStyle(e, i, s) {
|
|
198
|
-
|
|
198
|
+
z({ style: e, config: this._config, index: i, orientation: s });
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -204,10 +204,10 @@ class u extends _ {
|
|
|
204
204
|
* @param orientation - The axis orientation of the guide.
|
|
205
205
|
*/
|
|
206
206
|
getTooltipReverseColor(e, i) {
|
|
207
|
-
return
|
|
207
|
+
return H({ config: this._config, index: e, orientation: i });
|
|
208
208
|
}
|
|
209
209
|
setTooltipReverseColor(e, i, s) {
|
|
210
|
-
|
|
210
|
+
J({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
l([
|
|
@@ -6,7 +6,7 @@ import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js
|
|
|
6
6
|
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { AxisLabelFormatCallback, ChartOptions, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback } from "../../chart-rendering/common/interfaces.js";
|
|
9
|
-
import type {
|
|
9
|
+
import type { ChartLayerInput, CSVOptions } from "../../interfaces.js";
|
|
10
10
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
11
11
|
import type { WebChartTypes, WebChartLegendPositions } from "../../spec/chart-object-literals.js";
|
|
12
12
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
@@ -973,7 +973,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
973
973
|
* Used to perform queries.
|
|
974
974
|
* If the layer is a `FeatureLayerView` or if the layer and the `view` property are both provided, the queries will be executed client-side.
|
|
975
975
|
*/
|
|
976
|
-
accessor layer:
|
|
976
|
+
accessor layer: ChartLayerInput | FeatureLayerView | undefined;
|
|
977
977
|
/**
|
|
978
978
|
* Allows the chart to update automatically when the layer's `fields` property changes.
|
|
979
979
|
*
|