@arcgis/charts-components 5.2.0-next.26 → 5.2.0-next.28
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/{D6GG2ADV.js → 2ODYZG66.js} +1 -1
- package/dist/cdn/{TSQOEJB4.js → 2SPGX6AF.js} +1 -1
- package/dist/cdn/{WY3UGKLF.js → 2SPURZEN.js} +1 -1
- package/dist/cdn/{2ASYBTGM.js → 35NSJ3NJ.js} +1 -1
- package/dist/cdn/{N3FUI2RC.js → 3QO6REDF.js} +1 -1
- package/dist/cdn/{5UX2FYTM.js → 3UTF2CB3.js} +1 -1
- package/dist/cdn/{XKHA7K4P.js → 3YN4EKSJ.js} +1 -1
- package/dist/cdn/4BEGCEGA.js +4 -0
- package/dist/cdn/{XKJN3WVL.js → 4P7URPRQ.js} +1 -1
- package/dist/cdn/{Y5GMGU4M.js → 5XCU5SR2.js} +1 -1
- package/dist/cdn/{AYNWMLFD.js → 6ANVHVX4.js} +1 -1
- package/dist/cdn/{LSKFMUX4.js → 6CB5R4QQ.js} +1 -1
- package/dist/cdn/{IUMYBJDG.js → 6GV2QPKV.js} +1 -1
- package/dist/cdn/{4YRCWE6Z.js → 6OCDFMFB.js} +1 -1
- package/dist/cdn/{5JREGZML.js → 6VK54DG5.js} +1 -1
- package/dist/cdn/{N6IOWWIK.js → 6XIDALQU.js} +1 -1
- package/dist/cdn/{GSYV5MTU.js → 7VQXBQMZ.js} +1 -1
- package/dist/cdn/{BUUTWPEP.js → 7Z7NOIH2.js} +1 -1
- package/dist/cdn/{ADJHTT4M.js → ADYDCO3M.js} +1 -1
- package/dist/cdn/{DKMTGCWH.js → AICTKGE3.js} +1 -1
- package/dist/cdn/{LSF6ITTC.js → AXRHJ55P.js} +1 -1
- package/dist/cdn/BJBNELDD.js +3 -0
- package/dist/cdn/{Y7HYSSRW.js → BKU72IQC.js} +1 -1
- package/dist/cdn/{7LI5APDL.js → BQXXD2HU.js} +1 -1
- package/dist/cdn/{SUTVT5OC.js → BZFGE4LO.js} +1 -1
- package/dist/cdn/{WJLUWK7Z.js → C4TQOUPO.js} +1 -1
- package/dist/cdn/{WXWLMWG5.js → CLN32L2L.js} +1 -1
- package/dist/cdn/{VHY7DPE3.js → DAF2U7TN.js} +1 -1
- package/dist/cdn/{MUG3AZLX.js → DRFJC64L.js} +1 -1
- package/dist/cdn/{HK3P3FUS.js → DVAQXOL6.js} +1 -1
- package/dist/cdn/{HPEG72LB.js → EXQXLQRA.js} +1 -1
- package/dist/cdn/{OO5SFCWJ.js → G5EGTXMY.js} +1 -1
- package/dist/cdn/{UB4O3XGF.js → GCRQHIGQ.js} +1 -1
- package/dist/cdn/{4RJT43K4.js → HBS6O3P3.js} +1 -1
- package/dist/cdn/{ASEWMED3.js → HIW5WRHR.js} +1 -1
- package/dist/cdn/{4XIBUPM6.js → IWMWJN7M.js} +1 -1
- package/dist/cdn/JBR6IJMK.js +2 -0
- package/dist/cdn/{TS6MWMCQ.js → JIV6BQKG.js} +1 -1
- package/dist/cdn/{VD3DRJBH.js → K27GKXGP.js} +1 -1
- package/dist/cdn/{X4LAYI76.js → KFPJI52X.js} +1 -1
- package/dist/cdn/{TNKGWBUO.js → KQLAAGKI.js} +1 -1
- package/dist/cdn/{4N3NVAA2.js → L5PCPBED.js} +1 -1
- package/dist/cdn/{4AF64XYR.js → LFXRCL7K.js} +1 -1
- package/dist/cdn/{2A24ACPF.js → M4ZJRIYM.js} +1 -1
- package/dist/cdn/{GZLTMREM.js → MBPFBE3E.js} +1 -1
- package/dist/cdn/{D46R6YHX.js → MEA74C44.js} +1 -1
- package/dist/cdn/{3BS7VF2U.js → MRNQGHRD.js} +1 -1
- package/dist/cdn/{IHJWEEOX.js → MVUIKY5Y.js} +1 -1
- package/dist/cdn/{RSYMKZMX.js → N673JFHK.js} +1 -1
- package/dist/cdn/{VWW6TY7N.js → NKVZYKL5.js} +1 -1
- package/dist/cdn/{ECG7HC37.js → O5NKLK7V.js} +1 -1
- package/dist/cdn/{MLD566HE.js → PEYVSFSE.js} +19 -19
- package/dist/cdn/{N5AW3HBF.js → PKQOLKTW.js} +1 -1
- package/dist/cdn/{TG4EXCPF.js → Q2GW5LB7.js} +1 -1
- package/dist/cdn/{IPECBZP3.js → QGEFY4ND.js} +1 -1
- package/dist/cdn/{KBUBJ24X.js → QV3NMKKZ.js} +1 -1
- package/dist/cdn/{GW6GNNLA.js → REZ2QR42.js} +1 -1
- package/dist/cdn/{IP3FZZNM.js → RKG6CXUU.js} +1 -1
- package/dist/cdn/{UFI4PRSB.js → SAYLTYWY.js} +1 -1
- package/dist/cdn/{ZB5KGMQ6.js → SOGVYNPI.js} +1 -1
- package/dist/cdn/{5W76WCRM.js → SSKHF7PO.js} +1 -1
- package/dist/cdn/{NJAGOS7G.js → T5TFLMQL.js} +1 -1
- package/dist/cdn/{K7VEKFCK.js → TOFVWGTG.js} +1 -1
- package/dist/cdn/{2B3QBXNI.js → TSA7UMSZ.js} +1 -1
- package/dist/cdn/{XWDLT2E4.js → U3MRRFML.js} +1 -1
- package/dist/cdn/{N4IFMTPA.js → VWTJHXHI.js} +1 -1
- package/dist/cdn/{6Y6EK76O.js → WHVW3P3O.js} +1 -1
- package/dist/cdn/{75XWLYW5.js → WJHIJTWS.js} +1 -1
- package/dist/cdn/{L6SM2ORZ.js → WU62O2AU.js} +1 -1
- package/dist/cdn/X7YEBHBF.js +2 -0
- package/dist/cdn/{FFE3EGXQ.js → X7Z4LEZH.js} +1 -1
- package/dist/cdn/{N4EH5HUB.js → XRP6IFM4.js} +1 -1
- package/dist/cdn/{ICJALFR4.js → Y6CFEFZM.js} +1 -1
- package/dist/cdn/{ZPFHE4XY.js → YF6HKRXX.js} +1 -1
- package/dist/cdn/{662GFATG.js → YFHB2EFH.js} +1 -1
- package/dist/cdn/{DE2LP6LN.js → YQIFZJTZ.js} +1 -1
- package/dist/cdn/{6ODWWOUP.js → YWCIV7ZZ.js} +1 -1
- package/dist/cdn/{AZZIMLGE.js → YWKPGNHB.js} +1 -1
- package/dist/cdn/{BMC75GCV.js → Z43DVT6G.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/heat-chart-model.js +46 -26
- package/dist/chunks/index2.js +713 -708
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/serial-chart-data.js +63 -62
- package/dist/chunks/serial-chart-model.js +107 -92
- package/dist/chunks/web-component-utils.js +414 -384
- package/dist/components/arcgis-chart/customElement.js +1927 -1923
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/utils/data/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/2KCA3K57.js +0 -4
- package/dist/cdn/5NVUOG5B.js +0 -2
- package/dist/cdn/HFSVUO2D.js +0 -3
- package/dist/cdn/IK5VZ54O.js +0 -2
|
@@ -88,7 +88,7 @@ class a extends b {
|
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Sets the visibility of the specified axis.
|
|
91
|
-
* **Note:** The visibility for the
|
|
91
|
+
* **Note:** The visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
92
92
|
* @param {boolean} isVisible The visibility state for the axis.
|
|
93
93
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
94
94
|
*/
|
|
@@ -117,7 +117,7 @@ class a extends b {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Sets the visibility of the specified axis labels.
|
|
120
|
-
* **Note:** The labels visibility for the
|
|
120
|
+
* **Note:** The labels visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
121
121
|
* @param {boolean} isVisible The visibility state for the axis labels.
|
|
122
122
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
123
123
|
*/
|
|
@@ -460,7 +460,7 @@ class a extends b {
|
|
|
460
460
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
461
461
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
462
462
|
*
|
|
463
|
-
* **Note:** To set the cursor crosshair horizontal line visibility for the
|
|
463
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
464
464
|
*/
|
|
465
465
|
get cursorCrosshairHorizontalLineVisibility() {
|
|
466
466
|
return si(this._config);
|
|
@@ -472,7 +472,7 @@ class a extends b {
|
|
|
472
472
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
473
473
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
474
474
|
*
|
|
475
|
-
* **Note:** To set the cursor crosshair vertical line visibility for the
|
|
475
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
476
476
|
*/
|
|
477
477
|
get cursorCrosshairVerticalLineVisibility() {
|
|
478
478
|
return ei(this._config);
|
|
@@ -483,7 +483,7 @@ class a extends b {
|
|
|
483
483
|
/**
|
|
484
484
|
* Style of the cursor's crosshair from the chart config.
|
|
485
485
|
*
|
|
486
|
-
* **Note:** To set the cursor crosshair style for the
|
|
486
|
+
* **Note:** To set the cursor crosshair style for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
487
487
|
*/
|
|
488
488
|
get cursorCrosshairStyle() {
|
|
489
489
|
return ri(this._config);
|
|
@@ -494,7 +494,7 @@ class a extends b {
|
|
|
494
494
|
/**
|
|
495
495
|
* Cursor crosshair from the chart config.
|
|
496
496
|
*
|
|
497
|
-
* **Note:** To set the cursor crosshair for the
|
|
497
|
+
* **Note:** To set the cursor crosshair for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
498
498
|
*/
|
|
499
499
|
get cursorCrosshair() {
|
|
500
500
|
return ai(this._config);
|
|
@@ -1039,57 +1039,58 @@ function Ti(t, e) {
|
|
|
1039
1039
|
});
|
|
1040
1040
|
}
|
|
1041
1041
|
export {
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1042
|
+
Ys as $,
|
|
1043
|
+
hi as A,
|
|
1044
|
+
Fi as B,
|
|
1045
|
+
fi as C,
|
|
1046
|
+
xi as D,
|
|
1047
|
+
Ti as E,
|
|
1048
|
+
U as F,
|
|
1049
|
+
Wt as G,
|
|
1050
|
+
ks as H,
|
|
1051
|
+
ii as I,
|
|
1052
|
+
ai as J,
|
|
1053
|
+
Ds as K,
|
|
1054
|
+
Os as L,
|
|
1055
|
+
ws as M,
|
|
1056
|
+
Ps as N,
|
|
1057
|
+
ri as O,
|
|
1058
|
+
ni as P,
|
|
1059
|
+
li as Q,
|
|
1060
|
+
oi as R,
|
|
1061
|
+
di as S,
|
|
1062
|
+
yi as T,
|
|
1063
|
+
mi as U,
|
|
1064
|
+
pi as V,
|
|
1065
1065
|
kt as W,
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1066
|
+
Is as X,
|
|
1067
|
+
Ls as Y,
|
|
1068
|
+
Ms as Z,
|
|
1069
|
+
Es as _,
|
|
1070
1070
|
Cs as a,
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1071
|
+
$s as a0,
|
|
1072
|
+
Ns as a1,
|
|
1073
|
+
Vs as a2,
|
|
1074
|
+
Rs as a3,
|
|
1075
|
+
qs as a4,
|
|
1076
|
+
js as a5,
|
|
1077
|
+
Hs as a6,
|
|
1078
|
+
Us as a7,
|
|
1079
|
+
Ks as a8,
|
|
1080
|
+
Xs as a9,
|
|
1081
|
+
Ws as aa,
|
|
1082
|
+
Zs as ab,
|
|
1083
|
+
jt as ac,
|
|
1084
|
+
_s as ad,
|
|
1085
|
+
Qs as ae,
|
|
1086
|
+
zs as af,
|
|
1087
|
+
Gs as ag,
|
|
1088
|
+
Js as ah,
|
|
1089
|
+
ei as ai,
|
|
1090
|
+
ci as aj,
|
|
1091
|
+
ui as ak,
|
|
1092
|
+
ti as al,
|
|
1093
|
+
si as am,
|
|
1093
1094
|
xs as b,
|
|
1094
1095
|
Ts as c,
|
|
1095
1096
|
G as d,
|
|
@@ -1099,20 +1100,20 @@ export {
|
|
|
1099
1100
|
Si as h,
|
|
1100
1101
|
bs as i,
|
|
1101
1102
|
ms as j,
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1103
|
+
vt as k,
|
|
1104
|
+
At as l,
|
|
1105
|
+
Ss as m,
|
|
1106
|
+
ps as n,
|
|
1107
|
+
Fs as o,
|
|
1107
1108
|
As as p,
|
|
1108
|
-
|
|
1109
|
+
gs as q,
|
|
1109
1110
|
Ot as r,
|
|
1110
|
-
|
|
1111
|
-
|
|
1111
|
+
Ce as s,
|
|
1112
|
+
hs as t,
|
|
1112
1113
|
Bs as u,
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1114
|
+
fs as v,
|
|
1115
|
+
It as w,
|
|
1116
|
+
Lt as x,
|
|
1117
|
+
gi as y,
|
|
1118
|
+
re as z
|
|
1118
1119
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import { q as
|
|
4
|
-
import { k as m, an as
|
|
5
|
-
import { i as
|
|
6
|
-
import { C as
|
|
2
|
+
import { isEqual as L } from "lodash-es";
|
|
3
|
+
import { q as b, u as D, r as d } from "./chart-object-literals.js";
|
|
4
|
+
import { k as m, an as M } from "./index2.js";
|
|
5
|
+
import { i as P } from "./index4.js";
|
|
6
|
+
import { C as O } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as u, d as S, j
|
|
12
|
-
import { M as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { W as
|
|
17
|
-
import { W as
|
|
18
|
-
import { g as
|
|
19
|
-
import { d as
|
|
20
|
-
import { y as
|
|
8
|
+
import { S as V } from "./common.js";
|
|
9
|
+
import { M as N, a as E, W as k, b as U } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as j, a as X } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as u, d as S, j as Y, k as w, l as z, m as R, n as q, o as K, q as $, t as G, v as Z, w as H, x as J, y as Q, z as T, A as x, B as F, C as y, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
|
+
import { M as oe } from "./model-with-x-guides.js";
|
|
13
|
+
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as he, a as pe } from "./x-bounds.js";
|
|
16
|
+
import { W as de } from "./data-labels-symbol.js";
|
|
17
|
+
import { W as me } from "./rotated-state.js";
|
|
18
|
+
import { g as W, u as ye, s as C, h as ue, j as Se, e as _e, f as Te } from "./utils.js";
|
|
19
|
+
import { d as A, e as B, a as xe } from "./data.js";
|
|
20
|
+
import { y as Fe, V as Ce, u as Ae, a1 as Be, $ as Ie } from "./index.js";
|
|
21
21
|
import { i as h, g as p, m as _ } from "./index5.js";
|
|
22
|
-
const
|
|
22
|
+
const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, v = (s) => {
|
|
23
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
24
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
25
|
-
g === i ?
|
|
26
|
-
}), t.axes?.[2] && !t.series.some((
|
|
24
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ae(r, D.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
25
|
+
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
26
|
+
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
27
27
|
}, ve = (s, e) => e.series?.[s]?.name, be = (s, e, i) => {
|
|
28
28
|
i.series?.[e] && (i.series[e].name = s);
|
|
29
29
|
}, Oe = (s, e) => {
|
|
@@ -33,11 +33,11 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
33
33
|
}, We = (s, e, i) => {
|
|
34
34
|
const t = i.series?.[e];
|
|
35
35
|
t && (h(t) ? t.fillSymbol = {
|
|
36
|
-
...
|
|
36
|
+
...Fe(e),
|
|
37
37
|
...t.fillSymbol,
|
|
38
38
|
color: s
|
|
39
39
|
} : p(t) && (t.lineSymbol = {
|
|
40
|
-
...
|
|
40
|
+
...Ce(e),
|
|
41
41
|
...t.lineSymbol,
|
|
42
42
|
color: s
|
|
43
43
|
}));
|
|
@@ -45,19 +45,19 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
45
45
|
e.series?.sort(
|
|
46
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
47
47
|
);
|
|
48
|
-
}, Me = (s) => s.stackedType ??
|
|
48
|
+
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
49
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
50
50
|
if (i.stackedType = e, t !== void 0) {
|
|
51
|
-
const
|
|
51
|
+
const a = W({
|
|
52
52
|
config: i,
|
|
53
53
|
layerInfo: t,
|
|
54
54
|
commonStrings: r,
|
|
55
55
|
numericFields: S(i),
|
|
56
56
|
aggregationType: u(i)
|
|
57
57
|
});
|
|
58
|
-
|
|
58
|
+
ye(i, 1, a);
|
|
59
59
|
}
|
|
60
|
-
i.axes?.[1] && (e ===
|
|
60
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Be() : i.axes[1].valueFormat = Ie()), C({ config: i, value: null, axisIndex: 1, isMax: !1 }), C({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
61
61
|
}, Ve = (s) => {
|
|
62
62
|
let e;
|
|
63
63
|
const i = s.series.find(
|
|
@@ -70,46 +70,46 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
var Ee = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
|
|
73
|
-
for (var r = ke(e, i),
|
|
74
|
-
(g = s[
|
|
73
|
+
for (var r = ke(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
74
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
75
75
|
return r && Ee(e, i, r), r;
|
|
76
76
|
};
|
|
77
|
-
class c extends
|
|
77
|
+
class c extends O {
|
|
78
78
|
/**
|
|
79
79
|
* Time interval size for a temporal bar chart or line chart.
|
|
80
80
|
*/
|
|
81
81
|
get temporalBinningSize() {
|
|
82
|
-
return
|
|
82
|
+
return Y(this._config);
|
|
83
83
|
}
|
|
84
84
|
set temporalBinningSize(e) {
|
|
85
|
-
|
|
85
|
+
w(e, this._config);
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Time interval units for a temporal bar chart or line chart.
|
|
89
89
|
*/
|
|
90
90
|
get temporalBinningUnit() {
|
|
91
|
-
return
|
|
91
|
+
return z(this._config);
|
|
92
92
|
}
|
|
93
93
|
set temporalBinningUnit(e) {
|
|
94
|
-
|
|
94
|
+
R(e, this._config);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
98
98
|
*/
|
|
99
99
|
get timeAggregationType() {
|
|
100
|
-
return
|
|
100
|
+
return q(this._config);
|
|
101
101
|
}
|
|
102
102
|
set timeAggregationType(e) {
|
|
103
|
-
|
|
103
|
+
K(e, this._config);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
107
107
|
*/
|
|
108
108
|
get trimIncompleteTimeInterval() {
|
|
109
|
-
return
|
|
109
|
+
return $(this._config);
|
|
110
110
|
}
|
|
111
111
|
set trimIncompleteTimeInterval(e) {
|
|
112
|
-
|
|
112
|
+
G(e, this._config);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Policy which tells the chart how to handle null values.
|
|
@@ -121,13 +121,13 @@ class c extends v {
|
|
|
121
121
|
* - Line series: connects the lines across null values.
|
|
122
122
|
*/
|
|
123
123
|
get nullPolicy() {
|
|
124
|
-
return
|
|
124
|
+
return Z(this._config);
|
|
125
125
|
}
|
|
126
126
|
set nullPolicy(e) {
|
|
127
|
-
|
|
127
|
+
H(e, this._config);
|
|
128
128
|
}
|
|
129
129
|
resetTimeInterval() {
|
|
130
|
-
|
|
130
|
+
J(this._config);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
f([
|
|
@@ -149,11 +149,11 @@ f([
|
|
|
149
149
|
o
|
|
150
150
|
], c.prototype, "resetTimeInterval");
|
|
151
151
|
var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
152
|
-
for (var r = je(e, i),
|
|
153
|
-
(g = s[
|
|
152
|
+
for (var r = je(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
153
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
154
154
|
return r && Ue(e, i, r), r;
|
|
155
155
|
};
|
|
156
|
-
class
|
|
156
|
+
class n extends O {
|
|
157
157
|
constructor() {
|
|
158
158
|
super(...arguments), this._xAxisField = "", this._aggregationType = d.Count, this._splitByField = "", this._numericFields = [];
|
|
159
159
|
}
|
|
@@ -181,7 +181,7 @@ class a extends v {
|
|
|
181
181
|
return this._aggregationType;
|
|
182
182
|
}
|
|
183
183
|
set aggregationType(e) {
|
|
184
|
-
this._aggregationType = e,
|
|
184
|
+
this._aggregationType = e, Q({
|
|
185
185
|
aggregationType: e,
|
|
186
186
|
config: this._config,
|
|
187
187
|
layerInfo: this.layerInfo,
|
|
@@ -195,7 +195,7 @@ class a extends v {
|
|
|
195
195
|
return this._splitByField;
|
|
196
196
|
}
|
|
197
197
|
set splitByField(e) {
|
|
198
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
198
|
+
this.layerInfo?.layerFieldsInfo && ue(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* The numeric fields array for the chart.
|
|
@@ -205,9 +205,9 @@ class a extends v {
|
|
|
205
205
|
}
|
|
206
206
|
set numericFields(e) {
|
|
207
207
|
typeof e == "string" && (e = [e]);
|
|
208
|
-
const i =
|
|
208
|
+
const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === m) && e.length === 0;
|
|
209
209
|
if (i && !t) {
|
|
210
|
-
const r =
|
|
210
|
+
const r = M(this.layerInfo.layer).idField;
|
|
211
211
|
e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = d.Count) : this._aggregationType === d.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = d.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
212
212
|
} else t && this.resetConfig();
|
|
213
213
|
}
|
|
@@ -215,12 +215,24 @@ class a extends v {
|
|
|
215
215
|
* Gets whether the series should be assigned to the second value axis.
|
|
216
216
|
*
|
|
217
217
|
* @param seriesIndex - The index of the series.
|
|
218
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
218
219
|
*/
|
|
219
220
|
getAssignToSecondValueAxis(e) {
|
|
220
|
-
return
|
|
221
|
+
return I(e, this._config);
|
|
221
222
|
}
|
|
222
223
|
setAssignToSecondValueAxis(e, i) {
|
|
223
|
-
|
|
224
|
+
v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
228
|
+
*
|
|
229
|
+
* @param seriesIndex - The index of the series.
|
|
230
|
+
*/
|
|
231
|
+
getSeriesToSecondaryYAxis(e) {
|
|
232
|
+
return I(e, this._config);
|
|
233
|
+
}
|
|
234
|
+
setSeriesToSecondaryYAxis(e, i) {
|
|
235
|
+
v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
224
236
|
}
|
|
225
237
|
/**
|
|
226
238
|
* Gets the sort order for the bar chart.
|
|
@@ -229,7 +241,7 @@ class a extends v {
|
|
|
229
241
|
return T(this._config)[0];
|
|
230
242
|
}
|
|
231
243
|
setSortOrder(e, i) {
|
|
232
|
-
|
|
244
|
+
A(e, this._config, i);
|
|
233
245
|
}
|
|
234
246
|
/**
|
|
235
247
|
* Gets the list of the category values for the chart.
|
|
@@ -244,14 +256,14 @@ class a extends v {
|
|
|
244
256
|
async setDataFilters(e) {
|
|
245
257
|
super.setDataFilters(e);
|
|
246
258
|
const i = T(this._config)[0];
|
|
247
|
-
if (i ===
|
|
259
|
+
if (i === V.customSort) {
|
|
248
260
|
this.startAsyncUpdate();
|
|
249
261
|
const t = await x({
|
|
250
262
|
config: this._config,
|
|
251
263
|
layerInfo: this.layerInfo,
|
|
252
264
|
errorStrings: this.commonStrings?.errorStrings
|
|
253
265
|
});
|
|
254
|
-
|
|
266
|
+
A(i, this._config, t), this.finishAsyncUpdate();
|
|
255
267
|
}
|
|
256
268
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
257
269
|
}
|
|
@@ -259,10 +271,10 @@ class a extends v {
|
|
|
259
271
|
* The list of values for custom sort.
|
|
260
272
|
*/
|
|
261
273
|
get orderByList() {
|
|
262
|
-
return
|
|
274
|
+
return B(this._config);
|
|
263
275
|
}
|
|
264
276
|
set orderByList(e) {
|
|
265
|
-
!
|
|
277
|
+
!P(this._config) && F(e, this._config);
|
|
266
278
|
}
|
|
267
279
|
/**
|
|
268
280
|
* Updates the series based on the layer filter.
|
|
@@ -276,10 +288,10 @@ class a extends v {
|
|
|
276
288
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
277
289
|
*/
|
|
278
290
|
get binTemporalData() {
|
|
279
|
-
return
|
|
291
|
+
return ee(this._config);
|
|
280
292
|
}
|
|
281
293
|
set binTemporalData(e) {
|
|
282
|
-
|
|
294
|
+
ie(e, this._config);
|
|
283
295
|
}
|
|
284
296
|
// #endregion
|
|
285
297
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -339,7 +351,7 @@ class a extends v {
|
|
|
339
351
|
t.splice(i, 0, r), this.setOrderOfSeries(t);
|
|
340
352
|
}
|
|
341
353
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
342
|
-
const t =
|
|
354
|
+
const t = B(this._config), [r] = t.splice(e, 1);
|
|
343
355
|
t.splice(i, 0, r), F(t, this._config);
|
|
344
356
|
}
|
|
345
357
|
/**
|
|
@@ -354,7 +366,7 @@ class a extends v {
|
|
|
354
366
|
}
|
|
355
367
|
set nullCategory(e) {
|
|
356
368
|
const i = this.nullCategory;
|
|
357
|
-
|
|
369
|
+
L(i, e) || Ne(this._config, e);
|
|
358
370
|
}
|
|
359
371
|
/**
|
|
360
372
|
* Sets up the local props based on the current config.
|
|
@@ -362,7 +374,7 @@ class a extends v {
|
|
|
362
374
|
* @private
|
|
363
375
|
*/
|
|
364
376
|
setupLocalProps() {
|
|
365
|
-
this._xAxisField =
|
|
377
|
+
this._xAxisField = xe(this._config), this._aggregationType = u(this._config), this._splitByField = te(this._config), this._numericFields = S(this._config);
|
|
366
378
|
}
|
|
367
379
|
resetConfig() {
|
|
368
380
|
const e = this._config.id;
|
|
@@ -391,7 +403,7 @@ class a extends v {
|
|
|
391
403
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
392
404
|
*/
|
|
393
405
|
async fetchSplitByFieldInfos() {
|
|
394
|
-
return this.splitByFieldInfos = await
|
|
406
|
+
return this.splitByFieldInfos = await _e({
|
|
395
407
|
config: this._config,
|
|
396
408
|
layer: this.layerInfo.layer,
|
|
397
409
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -426,13 +438,13 @@ class a extends v {
|
|
|
426
438
|
* Generate the proper chart title given the current config.
|
|
427
439
|
*/
|
|
428
440
|
generateChartTitle() {
|
|
429
|
-
return this.layerInfo !== void 0 ?
|
|
441
|
+
return this.layerInfo !== void 0 ? se(this._config, this.layerInfo, this.commonStrings) : "";
|
|
430
442
|
}
|
|
431
443
|
/**
|
|
432
444
|
* Generate the proper y-axis title given the current config.
|
|
433
445
|
*/
|
|
434
446
|
generateYAxisTitle() {
|
|
435
|
-
return this.layerInfo !== void 0 ?
|
|
447
|
+
return this.layerInfo !== void 0 ? W({
|
|
436
448
|
config: this._config,
|
|
437
449
|
layerInfo: this.layerInfo,
|
|
438
450
|
commonStrings: this.commonStrings,
|
|
@@ -444,70 +456,73 @@ class a extends v {
|
|
|
444
456
|
}
|
|
445
457
|
l([
|
|
446
458
|
o
|
|
447
|
-
],
|
|
459
|
+
], n.prototype, "aggregationType");
|
|
448
460
|
l([
|
|
449
461
|
o
|
|
450
|
-
],
|
|
462
|
+
], n.prototype, "setAssignToSecondValueAxis");
|
|
451
463
|
l([
|
|
452
464
|
o
|
|
453
|
-
],
|
|
465
|
+
], n.prototype, "setSeriesToSecondaryYAxis");
|
|
454
466
|
l([
|
|
455
467
|
o
|
|
456
|
-
],
|
|
468
|
+
], n.prototype, "setSortOrder");
|
|
457
469
|
l([
|
|
458
470
|
o
|
|
459
|
-
],
|
|
471
|
+
], n.prototype, "setDataFilters");
|
|
460
472
|
l([
|
|
461
473
|
o
|
|
462
|
-
],
|
|
474
|
+
], n.prototype, "orderByList");
|
|
463
475
|
l([
|
|
464
476
|
o
|
|
465
|
-
],
|
|
477
|
+
], n.prototype, "binTemporalData");
|
|
466
478
|
l([
|
|
467
479
|
o
|
|
468
|
-
],
|
|
480
|
+
], n.prototype, "setSeriesName");
|
|
469
481
|
l([
|
|
470
482
|
o
|
|
471
|
-
],
|
|
483
|
+
], n.prototype, "setSeriesColor");
|
|
472
484
|
l([
|
|
473
485
|
o
|
|
474
|
-
],
|
|
486
|
+
], n.prototype, "setOrderOfSeries");
|
|
475
487
|
l([
|
|
476
488
|
o
|
|
477
|
-
],
|
|
489
|
+
], n.prototype, "stackedType");
|
|
478
490
|
l([
|
|
479
491
|
o
|
|
480
|
-
],
|
|
492
|
+
], n.prototype, "moveSeries");
|
|
481
493
|
l([
|
|
482
494
|
o
|
|
483
|
-
],
|
|
495
|
+
], n.prototype, "moveCustomSortValuesInOrderByList");
|
|
484
496
|
l([
|
|
485
497
|
o
|
|
486
|
-
],
|
|
498
|
+
], n.prototype, "nullCategory");
|
|
499
|
+
l([
|
|
500
|
+
o
|
|
501
|
+
], n.prototype, "resetConfig");
|
|
487
502
|
const Xe = [
|
|
488
|
-
|
|
489
|
-
P,
|
|
490
|
-
V,
|
|
503
|
+
j,
|
|
491
504
|
N,
|
|
492
|
-
pe,
|
|
493
505
|
E,
|
|
494
|
-
|
|
495
|
-
|
|
506
|
+
k,
|
|
507
|
+
me,
|
|
496
508
|
U,
|
|
509
|
+
de,
|
|
510
|
+
oe,
|
|
511
|
+
X,
|
|
497
512
|
c,
|
|
498
|
-
|
|
513
|
+
ge,
|
|
514
|
+
he,
|
|
499
515
|
ce,
|
|
516
|
+
pe,
|
|
517
|
+
ne,
|
|
518
|
+
ae,
|
|
500
519
|
le,
|
|
501
520
|
fe,
|
|
502
|
-
re
|
|
503
|
-
oe,
|
|
504
|
-
ne,
|
|
505
|
-
ge,
|
|
506
|
-
te
|
|
521
|
+
re
|
|
507
522
|
];
|
|
508
|
-
|
|
523
|
+
Te(n, Xe);
|
|
509
524
|
export {
|
|
510
|
-
|
|
525
|
+
n as S,
|
|
511
526
|
be as a,
|
|
512
527
|
ve as g,
|
|
513
528
|
We as s
|