@arcgis/charts-components 5.2.0-next.160 → 5.2.0-next.161
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/{MMRG4Q5Q.js → 25TMILMW.js} +1 -1
- package/dist/cdn/{DQLO4ITR.js → 2EVGCHLU.js} +1 -1
- package/dist/cdn/{K4WZTS5W.js → 2IKWOLN3.js} +1 -1
- package/dist/cdn/{QXNM2F6D.js → 2ML7QPKF.js} +1 -1
- package/dist/cdn/{SEBELUXK.js → 2VJHMRVH.js} +1 -1
- package/dist/cdn/{NDECGMQR.js → 35NEE76D.js} +1 -1
- package/dist/cdn/{JMC5FR6G.js → 465VYGYI.js} +1 -1
- package/dist/cdn/{AWZYMQFF.js → 4IKEKWOE.js} +1 -1
- package/dist/cdn/{4T5L3BLL.js → 5E3TO5VL.js} +1 -1
- package/dist/cdn/{TWACT53N.js → 5MSLKMMC.js} +1 -1
- package/dist/cdn/{6QEBTDLJ.js → 6C6WSW7H.js} +1 -1
- package/dist/cdn/{YFVUQYKO.js → 6OQ3ZDVR.js} +1 -1
- package/dist/cdn/{MZAJOKMM.js → 7UP7WEAU.js} +1 -1
- package/dist/cdn/{UG74S4GG.js → AF73AYAM.js} +1 -1
- package/dist/cdn/{TQUFEFBE.js → B4TPP6RZ.js} +1 -1
- package/dist/cdn/{2LV6GDYK.js → BHKK6FLW.js} +1 -1
- package/dist/cdn/BYTEHOE7.js +2 -0
- package/dist/cdn/{ETSSSFIS.js → C33ISW4F.js} +1 -1
- package/dist/cdn/{RW56D36T.js → CAMGJEUR.js} +1 -1
- package/dist/cdn/{HOYAL4U2.js → CHKXXWE6.js} +1 -1
- package/dist/cdn/{GRQ3RAS2.js → D4OB7XLF.js} +1 -1
- package/dist/cdn/{GCGZ4SRD.js → EA2ASB3H.js} +1 -1
- package/dist/cdn/{6IEIR3IJ.js → EMWEY7ZI.js} +1 -1
- package/dist/cdn/{G37DEPFO.js → EWJBDML4.js} +1 -1
- package/dist/cdn/{P6XYFLVZ.js → F52ELKRO.js} +1 -1
- package/dist/cdn/{2USDPS2L.js → FUQSPTZN.js} +1 -1
- package/dist/cdn/{PMMT66SN.js → FVSFPYCR.js} +1 -1
- package/dist/cdn/{YNOSBB23.js → G3WQCZSG.js} +1 -1
- package/dist/cdn/{54WTBBPU.js → GSYIK4QQ.js} +1 -1
- package/dist/cdn/{R5VDLCQN.js → H32JHNE3.js} +1 -1
- package/dist/cdn/{QSCUSBOE.js → HICJD6DS.js} +1 -1
- package/dist/cdn/{DNS4RWBT.js → HNNCAYBK.js} +1 -1
- package/dist/cdn/{PNELR4NS.js → HPRC3P7F.js} +1 -1
- package/dist/cdn/HQIRZSK7.js +2 -0
- package/dist/cdn/{75J7S444.js → HS7MWTLI.js} +1 -1
- package/dist/cdn/{KND6442A.js → I7NIEVUL.js} +1 -1
- package/dist/cdn/{L3C4LMLQ.js → IAAXYB7Z.js} +1 -1
- package/dist/cdn/{JX5JAG7D.js → IDJIOIPJ.js} +1 -1
- package/dist/cdn/{C5HTXSZS.js → IHV2PSBX.js} +1 -1
- package/dist/cdn/{D4E2DTYE.js → J2FKQWZT.js} +1 -1
- package/dist/cdn/{3GGD7KLV.js → JFIKB6TE.js} +1 -1
- package/dist/cdn/{RKYMPBR5.js → JJFAGT6G.js} +1 -1
- package/dist/cdn/{Y5W5WINS.js → JN3U4Y5T.js} +1 -1
- package/dist/cdn/{DDNBFHKN.js → JXF4ULHX.js} +1 -1
- package/dist/cdn/JZPIPSYO.js +4 -0
- package/dist/cdn/{DLX6ZNYG.js → KKPMX525.js} +1 -1
- package/dist/cdn/{GT7N5NKM.js → KMDY2BNL.js} +1 -1
- package/dist/cdn/{WAESGWAL.js → LLF5VNA5.js} +1 -1
- package/dist/cdn/{VWS73BFY.js → LQIVBCUD.js} +1 -1
- package/dist/cdn/{Q44XXOXV.js → MNSF7JJM.js} +1 -1
- package/dist/cdn/{Q6DXB7DT.js → MOVPKC7L.js} +1 -1
- package/dist/cdn/{A5UWEHLX.js → MYDY7Q6P.js} +1 -1
- package/dist/cdn/{B7NGZOWD.js → N3LZODVA.js} +1 -1
- package/dist/cdn/{5HKCWI3P.js → O636LI34.js} +1 -1
- package/dist/cdn/{O7SBBJIT.js → OL3ACZEB.js} +1 -1
- package/dist/cdn/{C24TOQMU.js → OMV6OE2Z.js} +11 -11
- package/dist/cdn/{KTDX5Z2G.js → P3O6GZSZ.js} +1 -1
- package/dist/cdn/{7NDAZIXV.js → PATB6UOF.js} +1 -1
- package/dist/cdn/{EBMUNX44.js → Q55Q7RXW.js} +1 -1
- package/dist/cdn/{VTXTISBO.js → QNGJ2NXH.js} +1 -1
- package/dist/cdn/{FF4LQHDS.js → R5FERWLW.js} +1 -1
- package/dist/cdn/{GPHCD6G4.js → R6FIMVWO.js} +1 -1
- package/dist/cdn/{ECFOVMA2.js → RWP5ZFPV.js} +1 -1
- package/dist/cdn/{62FK6ANF.js → S2VVOYYV.js} +1 -1
- package/dist/cdn/{OIRY7UKP.js → SQTZHFKM.js} +1 -1
- package/dist/cdn/{R623PW73.js → TB3TYVK2.js} +1 -1
- package/dist/cdn/{25EQGAJY.js → TFS2FLYV.js} +1 -1
- package/dist/cdn/{FS6K3PGA.js → VEFQ3ZKG.js} +1 -1
- package/dist/cdn/{EI6JNZL7.js → VFOEFPOW.js} +1 -1
- package/dist/cdn/{TR3X4GPJ.js → VLY2KRJ2.js} +1 -1
- package/dist/cdn/{WGKZDY7Y.js → VPCS6ZXS.js} +1 -1
- package/dist/cdn/{SZHT3SPH.js → W3AWWIGN.js} +1 -1
- package/dist/cdn/{YWKT5FUP.js → WKBTCETV.js} +1 -1
- package/dist/cdn/{JHUXUZ3V.js → X6NJXMTE.js} +1 -1
- package/dist/cdn/{NAFHJZYK.js → X73TC36H.js} +1 -1
- package/dist/cdn/{LGUGOYL5.js → X7H4RWYS.js} +1 -1
- package/dist/cdn/{J3AUMK36.js → XB6HEB2Y.js} +1 -1
- package/dist/cdn/{7ULLR4CN.js → XFBS7TR6.js} +1 -1
- package/dist/cdn/{NTDBPHHL.js → XFTBNWPR.js} +1 -1
- package/dist/cdn/{6UOV5TES.js → YGEZCMV7.js} +1 -1
- package/dist/cdn/{MHIL7RCM.js → YKWJEWAX.js} +1 -1
- package/dist/cdn/{ZBHRRQNP.js → ZTYYTE3O.js} +1 -1
- package/dist/cdn/{XDTACW3D.js → ZVGMC5LQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-model.js +19 -19
- package/dist/chunks/combo-bar-line-chart-model.js +8 -8
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1502 -1481
- package/dist/chunks/line-chart-model.js +5 -5
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +10 -10
- package/dist/chunks/pie-chart-model.js +6 -6
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.js +90 -85
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +78 -76
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +214 -213
- package/dist/loader.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/DGXBF4BH.js +0 -4
- package/dist/cdn/EX7GAUGC.js +0 -2
- package/dist/cdn/GAFCUST3.js +0 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { a as d } from "./chart-object-literals.js";
|
|
3
3
|
import { aw as S, a0 as l, g as m, r as c } from "./index2.js";
|
|
4
|
-
import { u as a,
|
|
4
|
+
import { u as a, eM as g } from "./index.js";
|
|
5
5
|
import { m as y } from "./model-setter.js";
|
|
6
6
|
import { M as u } from "./model-with-line-marker-styling.js";
|
|
7
|
-
import { s as p, a as b, b as I, c as v, d as _, W as
|
|
8
|
-
import { S as
|
|
7
|
+
import { s as p, a as b, b as I, c as v, d as _, W as M } from "./negative-values-stacked-to-baseline.js";
|
|
8
|
+
import { S as C, s as k, a as x } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
10
|
var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, w = (o, e, s, t) => {
|
|
11
11
|
for (var i = D(e, s), r = o.length - 1, n; r >= 0; r--)
|
|
12
12
|
(n = o[r]) && (i = n(e, s, i) || i);
|
|
13
13
|
return i && L(e, s, i), i;
|
|
14
14
|
};
|
|
15
|
-
class h extends
|
|
15
|
+
class h extends C {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments), this._chartType = d.LineSeries;
|
|
18
18
|
}
|
|
@@ -106,7 +106,7 @@ class h extends M {
|
|
|
106
106
|
w([
|
|
107
107
|
y
|
|
108
108
|
], h.prototype, "resetSeriesStyling");
|
|
109
|
-
const F = [
|
|
109
|
+
const F = [M, u];
|
|
110
110
|
g(h, F);
|
|
111
111
|
export {
|
|
112
112
|
h as LineChartModel
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { eM as f } from "./index.js";
|
|
4
4
|
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
6
|
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as A } from "./chart-model.js";
|
|
3
|
-
import { l as g, m as C, r, n as m, k as L, h as V, g as v, i as T, o as S, j as B, p as x, d as p, q as
|
|
3
|
+
import { l as g, m as C, r, n as m, k as L, h as V, g as v, i as T, o as S, j as B, p as x, d as p, q as M, s as I, t as O, v as D, w as G, f as z } from "./utils.js";
|
|
4
4
|
import { cloneDeep as k } from "es-toolkit/compat";
|
|
5
5
|
import { W as b } from "./chart-object-literals.js";
|
|
6
6
|
import { aq as u } from "./index2.js";
|
|
7
7
|
import { m as n } from "./model-setter.js";
|
|
8
8
|
import { M as d, b as H, d as Y } from "./x-bounds.js";
|
|
9
|
-
import {
|
|
9
|
+
import { eM as P } from "./index.js";
|
|
10
10
|
import { G as y } from "./common.js";
|
|
11
11
|
const W = (t) => {
|
|
12
12
|
for (const i of t.axes ?? [])
|
|
@@ -47,10 +47,10 @@ const W = (t) => {
|
|
|
47
47
|
o.buffer = s;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
},
|
|
50
|
+
}, R = (t, i) => t.axes?.[i]?.tickSpacing, X = (t) => {
|
|
51
51
|
const { config: i, tickSpacing: s, axisIndex: e } = t;
|
|
52
52
|
i.axes?.[e] !== void 0 && (i.axes[e].tickSpacing = s);
|
|
53
|
-
},
|
|
53
|
+
}, J = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, K = (t) => {
|
|
54
54
|
const { config: i, integerOnlyValues: s, axisIndex: e } = t;
|
|
55
55
|
g({
|
|
56
56
|
config: i,
|
|
@@ -225,7 +225,7 @@ class c extends A {
|
|
|
225
225
|
return r({
|
|
226
226
|
config: this._config,
|
|
227
227
|
axisIndex: i,
|
|
228
|
-
func: (s) =>
|
|
228
|
+
func: (s) => M(s, this._config)
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
setAxisValueFormat(i, s) {
|
|
@@ -233,7 +233,7 @@ class c extends A {
|
|
|
233
233
|
config: this._config,
|
|
234
234
|
axisIndex: i,
|
|
235
235
|
func: (e) => {
|
|
236
|
-
|
|
236
|
+
I({
|
|
237
237
|
config: this._config,
|
|
238
238
|
valueFormat: s,
|
|
239
239
|
axisIndex: e,
|
|
@@ -408,14 +408,14 @@ class c extends A {
|
|
|
408
408
|
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
409
409
|
*/
|
|
410
410
|
getTickSpacing(i) {
|
|
411
|
-
return
|
|
411
|
+
return R(this._config, i);
|
|
412
412
|
}
|
|
413
413
|
setTickSpacing(i, s) {
|
|
414
414
|
r({
|
|
415
415
|
config: this._config,
|
|
416
416
|
axisIndex: s,
|
|
417
417
|
func: (e) => {
|
|
418
|
-
|
|
418
|
+
X({
|
|
419
419
|
config: this._config,
|
|
420
420
|
tickSpacing: i,
|
|
421
421
|
axisIndex: e
|
|
@@ -434,11 +434,11 @@ class c extends A {
|
|
|
434
434
|
return r({
|
|
435
435
|
config: this._config,
|
|
436
436
|
axisIndex: i,
|
|
437
|
-
func: (s) =>
|
|
437
|
+
func: (s) => J(this._config, s)
|
|
438
438
|
}) ?? !1;
|
|
439
439
|
}
|
|
440
440
|
setIntegerOnlyValues(i, s) {
|
|
441
|
-
|
|
441
|
+
K({
|
|
442
442
|
config: this._config,
|
|
443
443
|
integerOnlyValues: i,
|
|
444
444
|
axisIndex: s
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as B } from "@arcgis/toolkit/log";
|
|
3
3
|
import { a as g } from "./chart-object-literals.js";
|
|
4
|
-
import { r as b,
|
|
4
|
+
import { r as b, eO as E, x as f, cA as j, u as K, B as q, eM as H } from "./index.js";
|
|
5
5
|
import { i as J } from "./index3.js";
|
|
6
6
|
import { a7 as p, ay as A, k as L, p as G, ax as Q, af as U } from "./index2.js";
|
|
7
7
|
import { C as X } from "./chart-model.js";
|
|
@@ -61,7 +61,7 @@ const P = (t) => t.legend?.displayNumericValue ?? !1, I = (t, e) => {
|
|
|
61
61
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
62
62
|
}, Be = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ee = (t, e) => {
|
|
63
63
|
e.series?.[0] && (e.series[0].numericValueFormat ??= L(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= L(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
64
|
-
},
|
|
64
|
+
}, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ke = (t, e) => {
|
|
65
65
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
66
66
|
}, qe = (t) => t.series[0]?.ticks?.visible ?? !1, He = (t, e) => {
|
|
67
67
|
e.series?.[0] && (e.series[0].ticks ??= A(), e.series[0].ticks.visible = t);
|
|
@@ -256,7 +256,7 @@ class i extends X {
|
|
|
256
256
|
async getCustomSortValues(e) {
|
|
257
257
|
const a = h(this._config), o = b(this._config.series);
|
|
258
258
|
let n = [];
|
|
259
|
-
return o === f.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === f.PieFromCategory && (n = await
|
|
259
|
+
return o === f.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === f.PieFromCategory && (n = await j({
|
|
260
260
|
category: a,
|
|
261
261
|
config: this._config,
|
|
262
262
|
layerInfo: this.layerInfo,
|
|
@@ -378,7 +378,7 @@ class i extends X {
|
|
|
378
378
|
/** @private */
|
|
379
379
|
generateDefaultConfig() {
|
|
380
380
|
const e = Q(this.commonStrings);
|
|
381
|
-
return e.series = [U(this.commonStrings,
|
|
381
|
+
return e.series = [U(this.commonStrings, K(this.layerInfo.layer).idField)], e;
|
|
382
382
|
}
|
|
383
383
|
// ---------------------------------------------------------------------------------------------
|
|
384
384
|
// #region Series Methods
|
|
@@ -630,10 +630,10 @@ class i extends X {
|
|
|
630
630
|
* Optimize data labels overlapping setting for the pie chart.
|
|
631
631
|
*/
|
|
632
632
|
get optimizeDataLabelsOverlapping() {
|
|
633
|
-
return
|
|
633
|
+
return je(this._config);
|
|
634
634
|
}
|
|
635
635
|
set optimizeDataLabelsOverlapping(e) {
|
|
636
|
-
|
|
636
|
+
Ke(e, this._config);
|
|
637
637
|
}
|
|
638
638
|
// ---------------------------------------------------------------------------------------------
|
|
639
639
|
// #region Legend Props
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { S as c, s as y, a as g } from "./serial-chart-model.js";
|
|
3
3
|
import { s as m, a as f, b, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
|
|
4
4
|
import { h as x } from "./serial-chart-data.js";
|
|
5
|
-
import { u as l,
|
|
5
|
+
import { u as l, eM as T } from "./index.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { a as L, m as C } from "./chart-object-literals.js";
|
|
8
8
|
import { M as V } from "./model-with-line-marker-styling.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { B as y, c8 as P,
|
|
2
|
+
import { B as y, c8 as P, eM as X } from "./index.js";
|
|
3
3
|
import { substitute as Y } from "@arcgis/core/intl.js";
|
|
4
4
|
import { isEmpty as p, isEqual as D } from "es-toolkit/compat";
|
|
5
5
|
import { g as b, d as f, u as v, e as w } from "./utils.js";
|
|
@@ -9,8 +9,8 @@ import { i as T } from "./index3.js";
|
|
|
9
9
|
import { C as V } from "./chart-model.js";
|
|
10
10
|
import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";
|
|
11
11
|
import { W as N } from "./data-labels-symbol.js";
|
|
12
|
-
import { W as q, c as
|
|
13
|
-
import { W as
|
|
12
|
+
import { W as q, c as H, d as J } from "./axis-lines-symbol.js";
|
|
13
|
+
import { W as K, a as Q } from "./x-bounds.js";
|
|
14
14
|
import { W as R, c as Z, d as $ } from "./generate-x-axis-title.js";
|
|
15
15
|
import { m as d } from "./model-setter.js";
|
|
16
16
|
import { a as ee } from "./chart-object-literals.js";
|
|
@@ -26,11 +26,11 @@ function I(t, e, i) {
|
|
|
26
26
|
const s = g(t, e, i), r = z(t), o = T(t);
|
|
27
27
|
return s === r || o;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function M(t, e) {
|
|
30
30
|
const { layerFieldsInfo: i } = e, s = y(i, u(t)), r = b(1, t), o = T(t);
|
|
31
31
|
return s === r || o;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function _(t, e) {
|
|
34
34
|
const { layerFieldsInfo: i } = e, s = x(t), r = y(i, s), o = b(0, t), n = T(t);
|
|
35
35
|
return r === o || n;
|
|
36
36
|
}
|
|
@@ -38,12 +38,12 @@ function g(t, e, i) {
|
|
|
38
38
|
const s = x(t), r = u(t), { layerFieldsInfo: o } = e, n = y(o, s), l = y(o, r);
|
|
39
39
|
return Y(i.titleLabels.xAndY, { x: n, y: l });
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const C = (t) => {
|
|
42
42
|
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: l, commonStrings: h } = t, { layerFieldsInfo: A } = r, W = y(A, e), O = y(A, i);
|
|
43
43
|
!p(e) && n && v(s, 0, W), !p(i) && l && v(s, 1, O), !p(e) && !p(i) && s.title && o && (s.title.content.text = g(s, r, h));
|
|
44
44
|
}, x = (t) => t.series[0]?.x ?? "", u = (t) => t.series[0]?.y ?? "", re = (t) => {
|
|
45
|
-
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n =
|
|
46
|
-
L(i), i.series[0] && (i.series[0].x = e),
|
|
45
|
+
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = _(i, s), l = M(i, s);
|
|
46
|
+
L(i), i.series[0] && (i.series[0].x = e), C({
|
|
47
47
|
x: e,
|
|
48
48
|
y: u(i),
|
|
49
49
|
config: i,
|
|
@@ -59,8 +59,8 @@ const M = (t) => {
|
|
|
59
59
|
layerInfo: s
|
|
60
60
|
});
|
|
61
61
|
}, oe = (t) => {
|
|
62
|
-
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n =
|
|
63
|
-
L(i), i.series[0] && (i.series[0].y = e),
|
|
62
|
+
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = _(i, s), l = M(i, s);
|
|
63
|
+
L(i), i.series[0] && (i.series[0].y = e), C({
|
|
64
64
|
x: x(i),
|
|
65
65
|
y: e,
|
|
66
66
|
config: i,
|
|
@@ -260,12 +260,12 @@ const Se = [
|
|
|
260
260
|
se,
|
|
261
261
|
ie,
|
|
262
262
|
R,
|
|
263
|
-
|
|
263
|
+
K,
|
|
264
264
|
Z,
|
|
265
265
|
Q,
|
|
266
266
|
q,
|
|
267
|
-
K,
|
|
268
267
|
H,
|
|
268
|
+
J,
|
|
269
269
|
$
|
|
270
270
|
];
|
|
271
271
|
X(a, Se);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isEqual as x } from "es-toolkit/compat";
|
|
3
3
|
import { a as _, c as b, d as f } from "./chart-object-literals.js";
|
|
4
|
-
import { cz as v, cD as L,
|
|
4
|
+
import { cz as v, cD as L, eN as M, eO as P, c5 as p, u as N, eP as V, eM as k } from "./index.js";
|
|
5
5
|
import { i as R } from "./index3.js";
|
|
6
6
|
import { m as o } from "./model-setter.js";
|
|
7
7
|
import { S as E } from "./common.js";
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -6,7 +6,7 @@ import { g as T } from "./model-types.js";
|
|
|
6
6
|
import { b as g } from "./rest-js-object-literals.js";
|
|
7
7
|
import { a as x } from "./chart-object-literals.js";
|
|
8
8
|
import { Q as C, a5 as L, a6 as b, t as M } from "./index2.js";
|
|
9
|
-
import { ch as X, b as B, i as A,
|
|
9
|
+
import { ch as X, b as B, i as A, eM as O } from "./index.js";
|
|
10
10
|
import { m as a, C as f } from "./model-setter.js";
|
|
11
11
|
import { o as P, n as R, p as v, d as y } from "./utils.js";
|
|
12
12
|
const D = (t) => {
|
|
@@ -59,22 +59,22 @@ const E = (t) => {
|
|
|
59
59
|
}, N = (t) => {
|
|
60
60
|
const { name: e, axis: i, index: s } = d(t);
|
|
61
61
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
62
|
-
},
|
|
62
|
+
}, Q = (t) => {
|
|
63
63
|
const { axis: e, index: i } = d(t);
|
|
64
64
|
return e?.guides?.[i]?.label?.text;
|
|
65
|
-
},
|
|
65
|
+
}, U = (t) => {
|
|
66
66
|
const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? C(e, L(b.GuideLabel), b.GuideLabel);
|
|
67
67
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
68
|
-
},
|
|
68
|
+
}, Y = (t) => {
|
|
69
69
|
const { axis: e, index: i } = d(t);
|
|
70
70
|
return e?.guides?.[i]?.above ?? !1;
|
|
71
|
-
},
|
|
71
|
+
}, q = (t) => {
|
|
72
72
|
const { above: e, axis: i, index: s } = d(t);
|
|
73
73
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
74
|
-
},
|
|
74
|
+
}, z = (t) => {
|
|
75
75
|
const { axis: e, index: i } = d(t);
|
|
76
76
|
return e?.guides?.[i]?.style;
|
|
77
|
-
},
|
|
77
|
+
}, H = (t) => {
|
|
78
78
|
const { style: e, axis: i, index: s } = d(t);
|
|
79
79
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
80
80
|
}, he = (t) => {
|
|
@@ -92,10 +92,10 @@ const E = (t) => {
|
|
|
92
92
|
}, _e = (t) => {
|
|
93
93
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
94
94
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
95
|
-
},
|
|
95
|
+
}, J = (t) => {
|
|
96
96
|
const { axis: e, index: i } = d(t);
|
|
97
97
|
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
98
|
-
},
|
|
98
|
+
}, K = (t) => {
|
|
99
99
|
const { axis: e } = d(t);
|
|
100
100
|
[t.index !== void 0 ? e?.guides?.[t.index] : e?.guides].flat().forEach((i) => {
|
|
101
101
|
i !== void 0 && (i.tooltipReverseColor = t.reverseColor);
|
|
@@ -171,10 +171,10 @@ class u extends h {
|
|
|
171
171
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
172
172
|
*/
|
|
173
173
|
getGuideLabelText(e, i) {
|
|
174
|
-
return
|
|
174
|
+
return Q({ config: this._config, index: e, orientation: i });
|
|
175
175
|
}
|
|
176
176
|
setGuideLabelText(e, i, s) {
|
|
177
|
-
|
|
177
|
+
U({ labelText: e, config: this._config, index: i, orientation: s });
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* Gets whether the guide should be rendered above the other chart elements.
|
|
@@ -183,10 +183,10 @@ class u extends h {
|
|
|
183
183
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
184
184
|
*/
|
|
185
185
|
getGuideAbove(e, i) {
|
|
186
|
-
return
|
|
186
|
+
return Y({ config: this._config, index: e, orientation: i });
|
|
187
187
|
}
|
|
188
188
|
setGuideAbove(e, i, s) {
|
|
189
|
-
|
|
189
|
+
q({ above: e, config: this._config, index: i, orientation: s });
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* Gets the guide style.
|
|
@@ -195,10 +195,10 @@ class u extends h {
|
|
|
195
195
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
196
196
|
*/
|
|
197
197
|
getGuideStyle(e, i) {
|
|
198
|
-
return
|
|
198
|
+
return z({ config: this._config, index: e, orientation: i });
|
|
199
199
|
}
|
|
200
200
|
setGuideStyle(e, i, s) {
|
|
201
|
-
|
|
201
|
+
H({ style: e, config: this._config, index: i, orientation: s });
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -207,10 +207,10 @@ class u extends h {
|
|
|
207
207
|
* @param orientation - The axis orientation of the guide.
|
|
208
208
|
*/
|
|
209
209
|
getGuideTooltipReverseColor(e, i) {
|
|
210
|
-
return
|
|
210
|
+
return J({ config: this._config, index: e, orientation: i });
|
|
211
211
|
}
|
|
212
212
|
setGuideTooltipReverseColor(e, i, s) {
|
|
213
|
-
|
|
213
|
+
K({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Gets whether the tooltip text color should be reversed for a guide.
|