@arcgis/charts-components 5.2.0-next.85 → 5.2.0-next.87
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/{YAWW63A5.js → 2Y4OUUMJ.js} +1 -1
- package/dist/cdn/{MJHVSD5B.js → 32KKW2IG.js} +1 -1
- package/dist/cdn/{2MF442VT.js → 3N6RFNEA.js} +1 -1
- package/dist/cdn/{KG574LAE.js → 3ZF4RSY4.js} +1 -1
- package/dist/cdn/{XHZAAQMF.js → 5EU4GHSG.js} +1 -1
- package/dist/cdn/{R5VDQBUH.js → 5LKJE2PR.js} +1 -1
- package/dist/cdn/{LCTDNI27.js → 6AWJXWDQ.js} +1 -1
- package/dist/cdn/7U6OEWTI.js +2 -0
- package/dist/cdn/{KHJC5P5T.js → AL6VZ6UZ.js} +1 -1
- package/dist/cdn/{IVM37XFX.js → APU26Y2Z.js} +1 -1
- package/dist/cdn/AWN3K3IH.js +2 -0
- package/dist/cdn/DNHE5ZCA.js +2 -0
- package/dist/cdn/DV7I4E5D.js +2 -0
- package/dist/cdn/EHYBMIDH.js +2 -0
- package/dist/cdn/FF46DEA7.js +2 -0
- package/dist/cdn/HX4HUXZP.js +2 -0
- package/dist/cdn/{JQM5R6XW.js → IG43EKA6.js} +1 -1
- package/dist/cdn/{FRTPDJGW.js → KE4AIHA7.js} +1 -1
- package/dist/cdn/{4U2HIMOR.js → LYSF2KY5.js} +1 -1
- package/dist/cdn/{CFOB77PI.js → N634G5MT.js} +1 -1
- package/dist/cdn/{NH2A5QEU.js → OADNRXFH.js} +1 -1
- package/dist/cdn/OGGEEHV2.js +2 -0
- package/dist/cdn/{GX64OP3A.js → OWYKZMAE.js} +1 -1
- package/dist/cdn/{3SSQPYQA.js → PDHWZPY5.js} +1 -1
- package/dist/cdn/{NIDXK3GN.js → PK7GYSIR.js} +1 -1
- package/dist/cdn/{7JA63ENU.js → PTGBFACY.js} +2 -2
- package/dist/cdn/QJFHIO72.js +2 -0
- package/dist/cdn/{PMTNALXO.js → R3XOXHKQ.js} +1 -1
- package/dist/cdn/{7SIKOCYK.js → R6RFH2KK.js} +1 -1
- package/dist/cdn/{EYYTKCXM.js → T6OTQUMI.js} +1 -1
- package/dist/cdn/{FQKGQHVK.js → TMLVMG4C.js} +1 -1
- package/dist/cdn/{4KF7SUJE.js → TVW2GMA6.js} +1 -1
- package/dist/cdn/{CVWT6DGY.js → UOL7KBJK.js} +1 -1
- package/dist/cdn/{HOASAQAB.js → VNWPA5A2.js} +1 -1
- package/dist/cdn/XHSD437D.js +2 -0
- package/dist/cdn/{XU7TGV75.js → XQRGIPLK.js} +1 -1
- package/dist/cdn/{DW5NK2B3.js → ZG3WNUBC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +1 -5
- package/dist/chunks/bar-chart-model.js +8 -4
- package/dist/chunks/box-plot-data.js +138 -112
- package/dist/chunks/box-plot-model.js +131 -133
- package/dist/chunks/combo-bar-line-chart-model.js +115 -102
- package/dist/chunks/line-chart-model.js +33 -17
- package/dist/chunks/model-setter.js +43 -71
- package/dist/chunks/model-with-line-marker-styling.js +59 -43
- package/dist/chunks/negative-values-stacked-to-baseline.js +111 -64
- package/dist/chunks/radar-chart-model.js +26 -10
- package/dist/chunks/rounded-corners.js +47 -30
- package/dist/components/arcgis-chart/customElement.js +4 -3
- 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/bar-chart-model/bar-chart-model.d.ts +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +4 -4
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +14 -14
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +12 -12
- package/package.json +6 -6
- package/dist/cdn/72VGCAR5.js +0 -2
- package/dist/cdn/DE3CJJG3.js +0 -2
- package/dist/cdn/EZLKMWI5.js +0 -2
- package/dist/cdn/JMMNRCD4.js +0 -2
- package/dist/cdn/JUU3BZT7.js +0 -2
- package/dist/cdn/LMTSW3JM.js +0 -2
- package/dist/cdn/TBW6K2TY.js +0 -2
- package/dist/cdn/TSU6UVTL.js +0 -2
- package/dist/cdn/ZDUW3TBJ.js +0 -2
- package/dist/cdn/ZGIM53IQ.js +0 -2
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import { s as
|
|
4
|
-
import { g as
|
|
5
|
-
import { m as
|
|
6
|
-
var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e,
|
|
7
|
-
for (var o = P(e,
|
|
8
|
-
(g = n[a]) && (o = g(e,
|
|
9
|
-
return o && O(e,
|
|
2
|
+
import { C as c } from "./chart-model.js";
|
|
3
|
+
import { s as f } from "./serial-chart-model.js";
|
|
4
|
+
import { g as S, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d as b, j as d, k as m, l as u, m as V, n as A, o as l, p as v, q as W, r as z } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { m as t } from "./model-setter.js";
|
|
6
|
+
var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, i, j) => {
|
|
7
|
+
for (var o = P(e, i), a = n.length - 1, g; a >= 0; a--)
|
|
8
|
+
(g = n[a]) && (o = g(e, i, o) || o);
|
|
9
|
+
return o && O(e, i, o), o;
|
|
10
10
|
};
|
|
11
|
-
class s extends
|
|
11
|
+
class s extends c {
|
|
12
12
|
/**
|
|
13
13
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
14
14
|
*
|
|
15
15
|
* @param seriesIndex - The index of the series.
|
|
16
16
|
*/
|
|
17
17
|
getSeriesLineStyle(e) {
|
|
18
|
-
return
|
|
18
|
+
return S(e, this._config);
|
|
19
19
|
}
|
|
20
|
-
setSeriesLineStyle(e,
|
|
21
|
-
h(
|
|
20
|
+
setSeriesLineStyle(e, i) {
|
|
21
|
+
h({
|
|
22
|
+
style: e,
|
|
23
|
+
seriesIndex: i,
|
|
24
|
+
config: this._config
|
|
25
|
+
});
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
24
28
|
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -28,8 +32,12 @@ class s extends S {
|
|
|
28
32
|
getSeriesLineWidth(e) {
|
|
29
33
|
return p(e, this._config);
|
|
30
34
|
}
|
|
31
|
-
setSeriesLineWidth(e,
|
|
32
|
-
_(
|
|
35
|
+
setSeriesLineWidth(e, i) {
|
|
36
|
+
_({
|
|
37
|
+
width: e,
|
|
38
|
+
seriesIndex: i,
|
|
39
|
+
config: this._config
|
|
40
|
+
});
|
|
33
41
|
}
|
|
34
42
|
/**
|
|
35
43
|
* Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -40,8 +48,8 @@ class s extends S {
|
|
|
40
48
|
getSeriesMarkerColor(e) {
|
|
41
49
|
return M(e, this._config);
|
|
42
50
|
}
|
|
43
|
-
setSeriesMarkerColor(e,
|
|
44
|
-
k(e,
|
|
51
|
+
setSeriesMarkerColor(e, i) {
|
|
52
|
+
k(e, i, this._config);
|
|
45
53
|
}
|
|
46
54
|
/**
|
|
47
55
|
* Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -51,8 +59,12 @@ class s extends S {
|
|
|
51
59
|
getSeriesMarkerStyle(e) {
|
|
52
60
|
return y(e, this._config);
|
|
53
61
|
}
|
|
54
|
-
setSeriesMarkerStyle(e,
|
|
55
|
-
L(
|
|
62
|
+
setSeriesMarkerStyle(e, i) {
|
|
63
|
+
L({
|
|
64
|
+
style: e,
|
|
65
|
+
seriesIndex: i,
|
|
66
|
+
config: this._config
|
|
67
|
+
});
|
|
56
68
|
}
|
|
57
69
|
/**
|
|
58
70
|
* Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -62,8 +74,12 @@ class s extends S {
|
|
|
62
74
|
getSeriesMarkerSize(e) {
|
|
63
75
|
return C(e, this._config);
|
|
64
76
|
}
|
|
65
|
-
setSeriesMarkerSize(e,
|
|
66
|
-
b(
|
|
77
|
+
setSeriesMarkerSize(e, i) {
|
|
78
|
+
b({
|
|
79
|
+
size: e,
|
|
80
|
+
seriesIndex: i,
|
|
81
|
+
config: this._config
|
|
82
|
+
});
|
|
67
83
|
}
|
|
68
84
|
/**
|
|
69
85
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -73,10 +89,10 @@ class s extends S {
|
|
|
73
89
|
isLineSmoothed(e) {
|
|
74
90
|
return d(e, this._config);
|
|
75
91
|
}
|
|
76
|
-
setLineSmoothed(e,
|
|
92
|
+
setLineSmoothed(e, i) {
|
|
77
93
|
m({
|
|
78
94
|
smoothed: e,
|
|
79
|
-
seriesIndex:
|
|
95
|
+
seriesIndex: i,
|
|
80
96
|
config: this._config
|
|
81
97
|
});
|
|
82
98
|
}
|
|
@@ -88,10 +104,10 @@ class s extends S {
|
|
|
88
104
|
getConnectLines(e) {
|
|
89
105
|
return u(e, this._config);
|
|
90
106
|
}
|
|
91
|
-
setConnectLines(e,
|
|
107
|
+
setConnectLines(e, i) {
|
|
92
108
|
V({
|
|
93
109
|
connect: e,
|
|
94
|
-
seriesIndex:
|
|
110
|
+
seriesIndex: i,
|
|
95
111
|
config: this._config
|
|
96
112
|
});
|
|
97
113
|
}
|
|
@@ -103,10 +119,10 @@ class s extends S {
|
|
|
103
119
|
isAreaVisible(e) {
|
|
104
120
|
return A(e, this._config);
|
|
105
121
|
}
|
|
106
|
-
setAreaVisible(e,
|
|
122
|
+
setAreaVisible(e, i) {
|
|
107
123
|
l({
|
|
108
124
|
visible: e,
|
|
109
|
-
seriesIndex:
|
|
125
|
+
seriesIndex: i,
|
|
110
126
|
config: this._config
|
|
111
127
|
});
|
|
112
128
|
}
|
|
@@ -118,10 +134,10 @@ class s extends S {
|
|
|
118
134
|
isMarkerVisible(e) {
|
|
119
135
|
return v(e, this._config);
|
|
120
136
|
}
|
|
121
|
-
setMarkersVisible(e,
|
|
137
|
+
setMarkersVisible(e, i) {
|
|
122
138
|
W({
|
|
123
139
|
visible: e,
|
|
124
|
-
seriesIndex:
|
|
140
|
+
seriesIndex: i,
|
|
125
141
|
config: this._config
|
|
126
142
|
});
|
|
127
143
|
}
|
|
@@ -132,8 +148,8 @@ class s extends S {
|
|
|
132
148
|
* @param seriesIndex - The index of the series.
|
|
133
149
|
* @deprecated since 5.2. Use {@link model/mixins/model-with-line-marker-styling#setMarkersVisible setMarkersVisible} instead. This method will be removed from `ModelWithLineMarkerStyling` in 6.0.
|
|
134
150
|
*/
|
|
135
|
-
setMarkerVisible(e,
|
|
136
|
-
this.setMarkersVisible(e,
|
|
151
|
+
setMarkerVisible(e, i) {
|
|
152
|
+
this.setMarkersVisible(e, i);
|
|
137
153
|
}
|
|
138
154
|
/**
|
|
139
155
|
* Get the color of the filled area.
|
|
@@ -143,43 +159,43 @@ class s extends S {
|
|
|
143
159
|
getAreaColor(e) {
|
|
144
160
|
return z(e, this._config);
|
|
145
161
|
}
|
|
146
|
-
setAreaColor(e,
|
|
162
|
+
setAreaColor(e, i) {
|
|
147
163
|
l({
|
|
148
164
|
visible: !0,
|
|
149
|
-
seriesIndex:
|
|
165
|
+
seriesIndex: i,
|
|
150
166
|
config: this._config
|
|
151
|
-
}),
|
|
167
|
+
}), f(e, i, this._config);
|
|
152
168
|
}
|
|
153
169
|
}
|
|
154
170
|
r([
|
|
155
|
-
|
|
171
|
+
t
|
|
156
172
|
], s.prototype, "setSeriesLineStyle");
|
|
157
173
|
r([
|
|
158
|
-
|
|
174
|
+
t
|
|
159
175
|
], s.prototype, "setSeriesLineWidth");
|
|
160
176
|
r([
|
|
161
|
-
|
|
177
|
+
t
|
|
162
178
|
], s.prototype, "setSeriesMarkerColor");
|
|
163
179
|
r([
|
|
164
|
-
|
|
180
|
+
t
|
|
165
181
|
], s.prototype, "setSeriesMarkerStyle");
|
|
166
182
|
r([
|
|
167
|
-
|
|
183
|
+
t
|
|
168
184
|
], s.prototype, "setSeriesMarkerSize");
|
|
169
185
|
r([
|
|
170
|
-
|
|
186
|
+
t
|
|
171
187
|
], s.prototype, "setLineSmoothed");
|
|
172
188
|
r([
|
|
173
|
-
|
|
189
|
+
t
|
|
174
190
|
], s.prototype, "setConnectLines");
|
|
175
191
|
r([
|
|
176
|
-
|
|
192
|
+
t
|
|
177
193
|
], s.prototype, "setAreaVisible");
|
|
178
194
|
r([
|
|
179
|
-
|
|
195
|
+
t
|
|
180
196
|
], s.prototype, "setMarkersVisible");
|
|
181
197
|
r([
|
|
182
|
-
|
|
198
|
+
t
|
|
183
199
|
], s.prototype, "setAreaColor");
|
|
184
200
|
export {
|
|
185
201
|
s as M
|
|
@@ -1,60 +1,107 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { n
|
|
4
|
-
import { c1 as i, c2 as
|
|
5
|
-
import { C as
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { g as k, b as S, s as b, a as v } from "./series.js";
|
|
3
|
+
import { n } from "./index3.js";
|
|
4
|
+
import { c1 as i, c2 as o } from "./index.js";
|
|
5
|
+
import { C as y, m as h } from "./model-setter.js";
|
|
6
|
+
const l = (s) => {
|
|
7
|
+
const { config: e, seriesIndex: a, callback: t } = s;
|
|
8
|
+
[a !== void 0 ? e.series?.[a] : e.series].flat().forEach((r) => {
|
|
9
|
+
r !== void 0 && (i(r) || o(r)) && t(r);
|
|
10
|
+
});
|
|
11
|
+
}, M = (s, e) => {
|
|
12
|
+
if (i(e.series[s]) || o(e.series[s]))
|
|
13
|
+
return k(e.series[s]);
|
|
14
|
+
}, N = (s) => {
|
|
15
|
+
const { style: e, seriesIndex: a, config: t } = s;
|
|
16
|
+
l({
|
|
17
|
+
config: t,
|
|
18
|
+
seriesIndex: a,
|
|
19
|
+
callback: (r) => {
|
|
20
|
+
b(e, r);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
11
23
|
}, _ = (s, e) => {
|
|
12
|
-
if (i(e.series[s]) ||
|
|
13
|
-
return
|
|
14
|
-
}, O = (s
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
if (i(r.series[e]) || a(r.series[e])) {
|
|
28
|
-
const t = r.series[e];
|
|
29
|
-
t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.size = s;
|
|
24
|
+
if (i(e.series[s]) || o(e.series[s]))
|
|
25
|
+
return S(e.series[s]);
|
|
26
|
+
}, O = (s) => {
|
|
27
|
+
const { width: e, seriesIndex: a, config: t } = s;
|
|
28
|
+
l({
|
|
29
|
+
config: t,
|
|
30
|
+
seriesIndex: a,
|
|
31
|
+
callback: (r) => {
|
|
32
|
+
v(e, r);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}, W = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, w = (s, e, a) => {
|
|
36
|
+
if (i(a.series[e]) || o(a.series[e])) {
|
|
37
|
+
const t = a.series[e];
|
|
38
|
+
t.markerSymbol === void 0 && (t.markerSymbol = n()), t.markerSymbol.color = s;
|
|
30
39
|
}
|
|
31
|
-
},
|
|
32
|
-
const {
|
|
33
|
-
(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
}, z = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, A = (s) => {
|
|
41
|
+
const { style: e, seriesIndex: a, config: t } = s;
|
|
42
|
+
l({
|
|
43
|
+
config: t,
|
|
44
|
+
seriesIndex: a,
|
|
45
|
+
callback: (r) => {
|
|
46
|
+
r.markerSymbol === void 0 && (r.markerSymbol = n()), r.markerSymbol.style = e;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}, j = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.markerSymbol?.size : void 0, P = (s) => {
|
|
50
|
+
const { size: e, seriesIndex: a, config: t } = s;
|
|
51
|
+
l({
|
|
52
|
+
config: t,
|
|
53
|
+
seriesIndex: a,
|
|
54
|
+
callback: (r) => {
|
|
55
|
+
r.markerSymbol === void 0 && (r.markerSymbol = n()), r.markerSymbol.size = e;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}, D = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, E = (s) => {
|
|
59
|
+
const { smoothed: e, seriesIndex: a, config: t } = s;
|
|
60
|
+
l({
|
|
61
|
+
config: t,
|
|
62
|
+
seriesIndex: a,
|
|
63
|
+
callback: (r) => {
|
|
64
|
+
r.lineSmoothed = e;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}, F = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
|
|
68
|
+
const { visible: e, seriesIndex: a, config: t } = s;
|
|
69
|
+
l({
|
|
70
|
+
config: t,
|
|
71
|
+
seriesIndex: a,
|
|
72
|
+
callback: (r) => {
|
|
73
|
+
r.showArea = e;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}, q = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
|
|
77
|
+
const { visible: e, seriesIndex: a, config: t } = s;
|
|
78
|
+
l({
|
|
79
|
+
config: t,
|
|
80
|
+
seriesIndex: a,
|
|
81
|
+
callback: (r) => {
|
|
82
|
+
r.markerVisible = e;
|
|
83
|
+
}
|
|
38
84
|
});
|
|
39
|
-
},
|
|
40
|
-
const {
|
|
41
|
-
|
|
42
|
-
|
|
85
|
+
}, H = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].areaColor : void 0, J = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.connectLines : void 0, K = (s) => {
|
|
86
|
+
const { connect: e, seriesIndex: a, config: t } = s;
|
|
87
|
+
l({
|
|
88
|
+
config: t,
|
|
89
|
+
seriesIndex: a,
|
|
90
|
+
callback: (r) => {
|
|
91
|
+
r.connectLines = e;
|
|
92
|
+
}
|
|
43
93
|
});
|
|
44
|
-
}, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, J = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, K = (s) => {
|
|
45
|
-
const { connect: e, seriesIndex: r, config: t } = s;
|
|
46
|
-
(i(t.series[r]) || a(t.series[r])) && (t.series[r].connectLines = e);
|
|
47
94
|
};
|
|
48
|
-
var
|
|
49
|
-
for (var
|
|
50
|
-
(
|
|
51
|
-
return
|
|
95
|
+
var d = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (s, e, a, t) => {
|
|
96
|
+
for (var r = u(e, a), c = s.length - 1, m; c >= 0; c--)
|
|
97
|
+
(m = s[c]) && (r = m(e, a, r) || r);
|
|
98
|
+
return r && d(e, a, r), r;
|
|
52
99
|
};
|
|
53
|
-
const
|
|
54
|
-
const { stackNegativeValuesToBaseline: e, seriesIndex:
|
|
55
|
-
(i(t.series[
|
|
100
|
+
const L = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, V = (s) => {
|
|
101
|
+
const { stackNegativeValuesToBaseline: e, seriesIndex: a, config: t } = s;
|
|
102
|
+
(i(t.series[a]) || o(t.series[a])) && (t.series[a].stackNegativeValuesToBaseline = e);
|
|
56
103
|
};
|
|
57
|
-
class
|
|
104
|
+
class p extends y {
|
|
58
105
|
/**
|
|
59
106
|
* Specify how negative values are treated in stacked series.
|
|
60
107
|
*
|
|
@@ -63,38 +110,38 @@ class f extends b {
|
|
|
63
110
|
* @param seriesIndex - The index of the series.
|
|
64
111
|
*/
|
|
65
112
|
isNegativeValuesStackedToBaseline(e) {
|
|
66
|
-
return
|
|
113
|
+
return L(e, this._config);
|
|
67
114
|
}
|
|
68
|
-
setNegativeValuesStackedToBaseline(e,
|
|
69
|
-
|
|
115
|
+
setNegativeValuesStackedToBaseline(e, a) {
|
|
116
|
+
V({
|
|
70
117
|
stackNegativeValuesToBaseline: e,
|
|
71
|
-
seriesIndex:
|
|
118
|
+
seriesIndex: a,
|
|
72
119
|
config: this._config
|
|
73
120
|
});
|
|
74
121
|
}
|
|
75
122
|
}
|
|
76
|
-
|
|
123
|
+
f([
|
|
77
124
|
h
|
|
78
|
-
],
|
|
125
|
+
], p.prototype, "setNegativeValuesStackedToBaseline");
|
|
79
126
|
export {
|
|
80
|
-
|
|
127
|
+
p as W,
|
|
81
128
|
N as a,
|
|
82
129
|
O as b,
|
|
83
|
-
|
|
130
|
+
A as c,
|
|
84
131
|
P as d,
|
|
85
132
|
_ as e,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
133
|
+
W as f,
|
|
134
|
+
M as g,
|
|
135
|
+
z as h,
|
|
136
|
+
j as i,
|
|
90
137
|
D as j,
|
|
91
138
|
E as k,
|
|
92
139
|
J as l,
|
|
93
140
|
K as m,
|
|
94
141
|
F as n,
|
|
95
|
-
|
|
96
|
-
|
|
142
|
+
R as o,
|
|
143
|
+
q as p,
|
|
97
144
|
G as q,
|
|
98
145
|
H as r,
|
|
99
|
-
|
|
146
|
+
w as s
|
|
100
147
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { S as c, s as
|
|
3
|
-
import { s as
|
|
2
|
+
import { S as c, s as y, a as m } from "./serial-chart-model.js";
|
|
3
|
+
import { s as g, 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 u } from "./serial-chart-data.js";
|
|
5
5
|
import { f as T } from "./utils.js";
|
|
6
6
|
import { m as d } from "./model-setter.js";
|
|
@@ -8,10 +8,10 @@ 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";
|
|
9
9
|
import { ay as v, Z as x, g as B, r as X } from "./index3.js";
|
|
10
10
|
import { r as l } from "./index.js";
|
|
11
|
-
var
|
|
12
|
-
for (var s =
|
|
11
|
+
var I = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, h = (a, i, e, t) => {
|
|
12
|
+
for (var s = _(i, e), r = a.length - 1, n; r >= 0; r--)
|
|
13
13
|
(n = a[r]) && (s = n(i, e, s) || s);
|
|
14
|
-
return s &&
|
|
14
|
+
return s && I(i, e, s), s;
|
|
15
15
|
};
|
|
16
16
|
class o extends c {
|
|
17
17
|
constructor() {
|
|
@@ -397,16 +397,32 @@ class o extends c {
|
|
|
397
397
|
colorIndex: i,
|
|
398
398
|
opacity: X
|
|
399
399
|
});
|
|
400
|
-
if (
|
|
400
|
+
if (y(e, i, this._config), g(e, i, this._config), this.layerInfo !== void 0) {
|
|
401
401
|
const t = this.getSeriesId(i), s = u({
|
|
402
402
|
config: this._config,
|
|
403
403
|
seriesIndex: i,
|
|
404
404
|
layerInfo: this.layerInfo,
|
|
405
405
|
commonStrings: this.commonStrings
|
|
406
406
|
});
|
|
407
|
-
s !== l(this.layerInfo.layer).idField &&
|
|
407
|
+
s !== l(this.layerInfo.layer).idField && m(s ?? t, i, this._config);
|
|
408
408
|
}
|
|
409
|
-
|
|
409
|
+
f({
|
|
410
|
+
style: this.defaultSeries?.lineSymbol?.style,
|
|
411
|
+
seriesIndex: i,
|
|
412
|
+
config: this._config
|
|
413
|
+
}), b({
|
|
414
|
+
width: this.defaultSeries?.lineSymbol?.width,
|
|
415
|
+
seriesIndex: i,
|
|
416
|
+
config: this._config
|
|
417
|
+
}), A({
|
|
418
|
+
style: this.defaultSeries?.markerSymbol?.style,
|
|
419
|
+
seriesIndex: i,
|
|
420
|
+
config: this._config
|
|
421
|
+
}), S({
|
|
422
|
+
size: this.defaultSeries?.markerSymbol?.size,
|
|
423
|
+
seriesIndex: i,
|
|
424
|
+
config: this._config
|
|
425
|
+
});
|
|
410
426
|
}
|
|
411
427
|
this._config.colorMatch = !0;
|
|
412
428
|
}
|
|
@@ -441,8 +457,8 @@ h([
|
|
|
441
457
|
h([
|
|
442
458
|
d
|
|
443
459
|
], o.prototype, "resetSeriesStyling");
|
|
444
|
-
const
|
|
445
|
-
T(o,
|
|
460
|
+
const z = [p, V];
|
|
461
|
+
T(o, z);
|
|
446
462
|
export {
|
|
447
463
|
o as RadarChartModel
|
|
448
464
|
};
|
|
@@ -1,48 +1,65 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { b_ as
|
|
3
|
-
import { C
|
|
4
|
-
import { al as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { b_ as n } from "./index.js";
|
|
3
|
+
import { C, m as u } from "./model-setter.js";
|
|
4
|
+
import { al as h } from "./index3.js";
|
|
5
|
+
const c = (r) => {
|
|
6
|
+
const { config: e, seriesIndex: o, callback: d } = r;
|
|
7
|
+
[o !== void 0 ? e.series?.[o] : e.series].flat().forEach((s) => {
|
|
8
|
+
n(s) && d(s);
|
|
9
|
+
});
|
|
10
|
+
}, z = (r, e) => n(e.series?.[r]) ? e.series?.[r].hideOversizedSideBySideLabels : void 0, L = (r) => {
|
|
11
|
+
const { hide: e, seriesIndex: o, config: d } = r;
|
|
12
|
+
c({
|
|
13
|
+
config: d,
|
|
14
|
+
seriesIndex: o,
|
|
15
|
+
callback: (s) => {
|
|
16
|
+
s.hideOversizedSideBySideLabels = e;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}, B = (r, e) => n(e.series?.[r]) ? e.series?.[r].hideOversizedStackedLabels : void 0, k = (r) => {
|
|
20
|
+
const { hide: e, seriesIndex: o, config: d } = r;
|
|
21
|
+
c({
|
|
22
|
+
config: d,
|
|
23
|
+
seriesIndex: o,
|
|
24
|
+
callback: (s) => {
|
|
25
|
+
s.hideOversizedStackedLabels = e;
|
|
26
|
+
}
|
|
10
27
|
});
|
|
11
28
|
};
|
|
12
|
-
var R = Object.defineProperty,
|
|
13
|
-
for (var
|
|
14
|
-
(a = r[i]) && (
|
|
15
|
-
return
|
|
29
|
+
var R = Object.defineProperty, b = Object.getOwnPropertyDescriptor, l = (r, e, o, d) => {
|
|
30
|
+
for (var s = b(e, o), i = r.length - 1, a; i >= 0; i--)
|
|
31
|
+
(a = r[i]) && (s = a(e, o, s) || s);
|
|
32
|
+
return s && R(e, o, s), s;
|
|
16
33
|
};
|
|
17
34
|
function t(r) {
|
|
18
|
-
return r.series.some(
|
|
35
|
+
return r.series.some(n);
|
|
19
36
|
}
|
|
20
|
-
function
|
|
37
|
+
function v(r) {
|
|
21
38
|
return t(r) ? r.roundCorners?.rounded ?? !1 : !1;
|
|
22
39
|
}
|
|
23
40
|
function p(r, e) {
|
|
24
|
-
const
|
|
41
|
+
const o = r ?? !1;
|
|
25
42
|
e.roundCorners = {
|
|
26
|
-
rounded:
|
|
27
|
-
cornerRadius: e.roundCorners?.cornerRadius ??
|
|
43
|
+
rounded: o,
|
|
44
|
+
cornerRadius: e.roundCorners?.cornerRadius ?? h
|
|
28
45
|
};
|
|
29
46
|
}
|
|
30
|
-
function
|
|
47
|
+
function S(r) {
|
|
31
48
|
return r.roundCorners?.cornerRadius;
|
|
32
49
|
}
|
|
33
|
-
function
|
|
50
|
+
function _(r, e) {
|
|
34
51
|
e.roundCorners = {
|
|
35
52
|
rounded: e.roundCorners?.rounded ?? !1,
|
|
36
53
|
cornerRadius: r ?? e.roundCorners?.cornerRadius
|
|
37
54
|
};
|
|
38
55
|
}
|
|
39
|
-
class
|
|
56
|
+
class f extends C {
|
|
40
57
|
/**
|
|
41
58
|
* Gets whether rounded corners are enabled for the chart.
|
|
42
59
|
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
43
60
|
*/
|
|
44
61
|
get roundCorners() {
|
|
45
|
-
return
|
|
62
|
+
return v(this._config);
|
|
46
63
|
}
|
|
47
64
|
set roundCorners(e) {
|
|
48
65
|
t(this._config) && p(e, this._config);
|
|
@@ -52,22 +69,22 @@ class l extends f {
|
|
|
52
69
|
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
53
70
|
*/
|
|
54
71
|
get cornerRadius() {
|
|
55
|
-
return
|
|
72
|
+
return S(this._config);
|
|
56
73
|
}
|
|
57
74
|
set cornerRadius(e) {
|
|
58
|
-
t(this._config) &&
|
|
75
|
+
t(this._config) && _(e, this._config);
|
|
59
76
|
}
|
|
60
77
|
}
|
|
61
|
-
|
|
78
|
+
l([
|
|
62
79
|
u
|
|
63
|
-
],
|
|
64
|
-
|
|
80
|
+
], f.prototype, "roundCorners");
|
|
81
|
+
l([
|
|
65
82
|
u
|
|
66
|
-
],
|
|
83
|
+
], f.prototype, "cornerRadius");
|
|
67
84
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
85
|
+
f as W,
|
|
86
|
+
B as a,
|
|
87
|
+
k as b,
|
|
71
88
|
z as g,
|
|
72
89
|
L as s
|
|
73
90
|
};
|
|
@@ -14994,10 +14994,10 @@ function Ki(t, e) {
|
|
|
14994
14994
|
let q = 0, j = 0, ce = c && !s ? L.chartContainer.paddingTop ?? 0 : 0, se = 0, Me, Ct;
|
|
14995
14995
|
switch (k) {
|
|
14996
14996
|
case U.Left:
|
|
14997
|
-
M = i.verticalLayout, B = _e, E = _e, P = _e, H = _e, X = void 0, R = _e, $ = _e, q = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
|
|
14997
|
+
M = i.verticalLayout, B = _e, E = _e, P = _e, H = _e, X = void 0, R = _e, $ = _e, q = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
|
|
14998
14998
|
break;
|
|
14999
14999
|
case U.Right:
|
|
15000
|
-
M = i.verticalLayout, B = ke, E = ke, P = _e, H = _e, X = void 0, R = _e, $ = _e, j = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
|
|
15000
|
+
M = i.verticalLayout, B = ke, E = ke, P = _e, H = _e, X = void 0, R = _e, $ = _e, j = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
|
|
15001
15001
|
break;
|
|
15002
15002
|
case U.Top:
|
|
15003
15003
|
M = i.gridLayout, B = Ae, E = Ae, P = _e, H = _e, X = ke, R = Ae, $ = Ae, ce += G, W += p + C, I = void 0, n && (Me = void 0);
|
|
@@ -19198,7 +19198,8 @@ class xT extends fm {
|
|
|
19198
19198
|
pieChartLegendValueLabelFormatter: this.legendValueLabelFormatter,
|
|
19199
19199
|
// the properties below have been renamed in 5.1 To simplify the logic on the rendering side, only the new properties are set
|
|
19200
19200
|
interactionsDisabled: this.interactionsDisabled || this.disableInteractions,
|
|
19201
|
-
togglingLegendItemsDisabled: this.togglingLegendItemsDisabled || this.disableTogglingLegendItems
|
|
19201
|
+
togglingLegendItemsDisabled: this.togglingLegendItemsDisabled || this.disableTogglingLegendItems,
|
|
19202
|
+
popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled
|
|
19202
19203
|
};
|
|
19203
19204
|
}
|
|
19204
19205
|
_raiseLogScaleNotCompatibleWarning(e, i) {
|