@arcgis/charts-components 6.0.0-next.36 → 6.0.0-next.38
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/{3NTU2K22.js → 2CCMG4S2.js} +1 -1
- package/dist/cdn/{4FEQIWCL.js → 2SMPVS32.js} +1 -1
- package/dist/cdn/{747HTBX6.js → 3ISKXR6O.js} +1 -1
- package/dist/cdn/{CPZAKMTU.js → 3WPOMK4V.js} +1 -1
- package/dist/cdn/{C2LULOIM.js → 4254JG4C.js} +1 -1
- package/dist/cdn/{5GJ7X4OZ.js → 4NRH2HHX.js} +1 -1
- package/dist/cdn/{KMVAWVMM.js → 4PKFOP66.js} +1 -1
- package/dist/cdn/{WLIVWHF6.js → 5IU6AWFM.js} +1 -1
- package/dist/cdn/{FBYUBQLZ.js → 5NOOO5NT.js} +1 -1
- package/dist/cdn/{F3MIZQUC.js → 5USS2PBW.js} +1 -1
- package/dist/cdn/{GA2UFZXY.js → 5Z2M5LUU.js} +1 -1
- package/dist/cdn/{VSYK6HGS.js → 7TVIMULO.js} +1 -1
- package/dist/cdn/{MD76NSPD.js → 7WNUTPDM.js} +1 -1
- package/dist/cdn/{Q4HEXCLD.js → AM65SAQA.js} +1 -1
- package/dist/cdn/{HCQDDW6C.js → AMIQGRSE.js} +1 -1
- package/dist/cdn/{BLNSWTDE.js → AQWYL2CV.js} +1 -1
- package/dist/cdn/{IBS2EHYN.js → AXUZFO2U.js} +1 -1
- package/dist/cdn/{3JRS3R5K.js → BGGWMEOK.js} +1 -1
- package/dist/cdn/{BG5Q5IKV.js → BHP2YUR7.js} +1 -1
- package/dist/cdn/{ILNDY3YI.js → BQVADCY5.js} +1 -1
- package/dist/cdn/{5VI725BE.js → CJBHK2EB.js} +1 -1
- package/dist/cdn/{XEW2A47I.js → CQZOKHHK.js} +1 -1
- package/dist/cdn/{WXUTW33L.js → DDJBDRXU.js} +1 -1
- package/dist/cdn/{RH2BBROM.js → DM5GOVTA.js} +1 -1
- package/dist/cdn/{3LWOTXAJ.js → DWFSHSFG.js} +1 -1
- package/dist/cdn/{42LSDQXN.js → EAOENBGT.js} +1 -1
- package/dist/cdn/{JPR5ZF7D.js → EBPRQLQY.js} +1 -1
- package/dist/cdn/{FDM5MY6D.js → EFUQ6XPU.js} +1 -1
- package/dist/cdn/{4EEG3Y4A.js → EQZZTSAR.js} +1 -1
- package/dist/cdn/{WVXK6SQ2.js → EWACKABV.js} +1 -1
- package/dist/cdn/{F5NV3AJ5.js → G4AEBON7.js} +1 -1
- package/dist/cdn/{JZXZAQPZ.js → G4F5AGJQ.js} +1 -1
- package/dist/cdn/{MT6F4GEI.js → GFDLHM3Z.js} +1 -1
- package/dist/cdn/{HF7ILAKI.js → GLADXQSZ.js} +1 -1
- package/dist/cdn/{IZJLIFYM.js → HUKXIBS2.js} +1 -1
- package/dist/cdn/{7OQ5KHLB.js → HXGGOXER.js} +1 -1
- package/dist/cdn/{QLRY7QKC.js → IEZZICHM.js} +1 -1
- package/dist/cdn/{54I7ID6Z.js → ILUG2I6G.js} +1 -1
- package/dist/cdn/{RYAQ7TZ5.js → IOKTY3XP.js} +1 -1
- package/dist/cdn/{5VW7MADK.js → IWSTXZXE.js} +1 -1
- package/dist/cdn/{4XTFDZMW.js → IXZ5DQHW.js} +1 -1
- package/dist/cdn/{G3VKWODV.js → K3EBHISM.js} +1 -1
- package/dist/cdn/{MQKJTPAC.js → KBUGBWR6.js} +1 -1
- package/dist/cdn/{QJJYPIM7.js → KF3C2EKR.js} +1 -1
- package/dist/cdn/{RVRNYRR5.js → KJATDWW4.js} +1 -1
- package/dist/cdn/{JQIPTC5I.js → KO4IE5U5.js} +1 -1
- package/dist/cdn/{UEH74K4Z.js → KP6GYT5E.js} +1 -1
- package/dist/cdn/{SMYPC6YZ.js → LADEWVAE.js} +1 -1
- package/dist/cdn/{VHXIV5BX.js → LADWFSNK.js} +2 -2
- package/dist/cdn/{HVXXE5ZN.js → LZYPC4H4.js} +1 -1
- package/dist/cdn/{YGEJBPIE.js → M76G36SQ.js} +1 -1
- package/dist/cdn/{XNLXGZIZ.js → MCNKIXSJ.js} +1 -1
- package/dist/cdn/{B3XFRI2T.js → MYIT5F3I.js} +1 -1
- package/dist/cdn/{S2CDU562.js → NKV55RLV.js} +1 -1
- package/dist/cdn/{7Z5HY6CX.js → ORGTALSL.js} +1 -1
- package/dist/cdn/{FXTL5IZJ.js → PLFRLIER.js} +1 -1
- package/dist/cdn/{A4SE2666.js → Q227MMR5.js} +1 -1
- package/dist/cdn/{OZEYHJND.js → QM5VH464.js} +1 -1
- package/dist/cdn/{VHLEM5TX.js → RRRVVQ7N.js} +1 -1
- package/dist/cdn/{EYHCX276.js → RSODDCAT.js} +1 -1
- package/dist/cdn/{2DQ7ZBXE.js → RXCJUECG.js} +1 -1
- package/dist/cdn/{ALUFN6JU.js → SBRVX44J.js} +1 -1
- package/dist/cdn/{YKM3E7AD.js → SHYS36WK.js} +1 -1
- package/dist/cdn/{QYDTSZH5.js → SJSVJCJC.js} +22 -22
- package/dist/cdn/{W52LHBTO.js → SR37MROM.js} +1 -1
- package/dist/cdn/{FCOD27CY.js → TC3Z5IGY.js} +1 -1
- package/dist/cdn/{VHDFOTME.js → TG3DXLAD.js} +1 -1
- package/dist/cdn/{HO2B7R2W.js → TPKCF3GN.js} +1 -1
- package/dist/cdn/{Z6VYURPS.js → TSBX6JUO.js} +1 -1
- package/dist/cdn/{Z2XPKJMJ.js → TXGWYKQJ.js} +1 -1
- package/dist/cdn/{D7GICKNU.js → TXVQ2W2J.js} +1 -1
- package/dist/cdn/{I6FJ54MZ.js → V4EKKCHQ.js} +1 -1
- package/dist/cdn/{STEMSCEZ.js → V57464G4.js} +1 -1
- package/dist/cdn/{F3TJTLG7.js → VK6ASL4Z.js} +1 -1
- package/dist/cdn/{2BZPX3WJ.js → VYY3RXGR.js} +1 -1
- package/dist/cdn/{YWAAPW2R.js → WD246IAS.js} +1 -1
- package/dist/cdn/{B6TOZWKP.js → WKKHAQVM.js} +1 -1
- package/dist/cdn/{6ITF7OPU.js → WNHU6HDC.js} +1 -1
- package/dist/cdn/{RPHXKD7J.js → XSYWYB4W.js} +1 -1
- package/dist/cdn/{NACMNBIP.js → Y34P2QKI.js} +1 -1
- package/dist/cdn/{5N22DW2N.js → YH47ZZH2.js} +1 -1
- package/dist/cdn/{OCAITJL6.js → ZJSJGOMF.js} +1 -1
- package/dist/cdn/{BS6ZKR5Y.js → ZLLTH76T.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +7 -7
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-data.js +47 -47
- package/dist/chunks/box-plot-model.js +12 -12
- package/dist/chunks/chart-model.js +23 -23
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +9 -9
- package/dist/chunks/data.js +10 -10
- package/dist/chunks/gauge-model.js +5 -5
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +317 -316
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/line-chart-model.js +5 -5
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +4 -4
- package/dist/chunks/negative-values-stacked-to-baseline.js +5 -5
- package/dist/chunks/pie-chart-model.js +9 -9
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +5 -5
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +28 -28
- package/dist/chunks/serial-chart-model.js +11 -11
- package/dist/chunks/series-length.js +11 -11
- package/dist/chunks/utils.js +19 -19
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/chunks/x-bounds.js +13 -13
- package/dist/components/arcgis-chart/customElement.js +7460 -7466
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/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 +5 -5
- 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-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/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 +1 -1
- 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/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/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.js +171 -171
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { bR as j, r as F, eN as W } from "./index.js";
|
|
3
3
|
import { g as L, W as I, c as z, d as N } from "./series-length.js";
|
|
4
4
|
import { m as a, C as n } from "./model-setter.js";
|
|
5
5
|
import { a4 as p, a6 as c, a5 as f } from "./index2.js";
|
|
@@ -36,8 +36,8 @@ class h extends n {
|
|
|
36
36
|
U([
|
|
37
37
|
a
|
|
38
38
|
], h.prototype, "titleSymbol");
|
|
39
|
-
var q = Object.defineProperty,
|
|
40
|
-
for (var i =
|
|
39
|
+
var q = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (e, t, r, l) => {
|
|
40
|
+
for (var i = A(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
41
41
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
42
42
|
return i && q(t, r, i), i;
|
|
43
43
|
};
|
|
@@ -52,10 +52,10 @@ class u extends n {
|
|
|
52
52
|
this._config = t;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
G([
|
|
56
56
|
a
|
|
57
57
|
], u.prototype, "config");
|
|
58
|
-
class
|
|
58
|
+
class H extends n {
|
|
59
59
|
/**
|
|
60
60
|
* The chart model's layer.
|
|
61
61
|
*/
|
|
@@ -63,18 +63,18 @@ class G extends n {
|
|
|
63
63
|
return this.layerInfo?.layer;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const J = (e) => e.id, K = (e, t) => {
|
|
67
67
|
t.id = e;
|
|
68
68
|
};
|
|
69
|
-
class
|
|
69
|
+
class Q extends n {
|
|
70
70
|
/**
|
|
71
71
|
* The chart ID.
|
|
72
72
|
*/
|
|
73
73
|
get chartId() {
|
|
74
|
-
return
|
|
74
|
+
return J(this._config);
|
|
75
75
|
}
|
|
76
76
|
set chartId(t) {
|
|
77
|
-
|
|
77
|
+
K(t, this._config);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
const X = (e) => e.version;
|
|
@@ -376,7 +376,7 @@ var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t
|
|
|
376
376
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
377
377
|
return i && Ut(t, r, i), i;
|
|
378
378
|
};
|
|
379
|
-
const qt = (e, t) => t.series[e].visible ?? !0,
|
|
379
|
+
const qt = (e, t) => t.series[e].visible ?? !0, At = (e, t) => {
|
|
380
380
|
j({ detail: e }, t);
|
|
381
381
|
};
|
|
382
382
|
class C extends n {
|
|
@@ -389,14 +389,14 @@ class C extends n {
|
|
|
389
389
|
return qt(t, this._config);
|
|
390
390
|
}
|
|
391
391
|
setSeriesVisibility(t) {
|
|
392
|
-
|
|
392
|
+
At(t, this._config);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
Et([
|
|
396
396
|
a
|
|
397
397
|
], C.prototype, "setSeriesVisibility");
|
|
398
|
-
const
|
|
399
|
-
class
|
|
398
|
+
const Gt = (e, t) => t.series[e]?.id;
|
|
399
|
+
class Ht extends n {
|
|
400
400
|
/**
|
|
401
401
|
* Gets the series ID for a given series index.
|
|
402
402
|
* If the series index is out of bounds, this function will return `undefined`.
|
|
@@ -404,11 +404,11 @@ class Gt extends n {
|
|
|
404
404
|
* @param seriesIndex - The index of the series.
|
|
405
405
|
*/
|
|
406
406
|
getSeriesId(t) {
|
|
407
|
-
return
|
|
407
|
+
return Gt(t, this._config);
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
const
|
|
411
|
-
class
|
|
410
|
+
const Jt = (e, t) => t.series.findIndex((r) => r.id === e);
|
|
411
|
+
class Kt extends n {
|
|
412
412
|
/**
|
|
413
413
|
* Gets the series index for a given series ID.
|
|
414
414
|
* If the series ID is not found, this function will return `undefined`.
|
|
@@ -416,16 +416,16 @@ class Jt extends n {
|
|
|
416
416
|
* @param seriesId - The ID of the series.
|
|
417
417
|
*/
|
|
418
418
|
getSeriesIndex(t) {
|
|
419
|
-
return
|
|
419
|
+
return Jt(t, this._config);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const Qt = (e) => F(e.series);
|
|
423
423
|
class Xt extends n {
|
|
424
424
|
/**
|
|
425
425
|
* The chart sub type of the series.
|
|
426
426
|
*/
|
|
427
427
|
get chartSubType() {
|
|
428
|
-
return
|
|
428
|
+
return Qt(this._config);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
var Yt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, kt = (e, t, r, l) => {
|
|
@@ -543,8 +543,8 @@ class ve extends n {
|
|
|
543
543
|
}
|
|
544
544
|
const ge = [
|
|
545
545
|
u,
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
H,
|
|
547
|
+
Q,
|
|
548
548
|
I,
|
|
549
549
|
h,
|
|
550
550
|
Y,
|
|
@@ -558,8 +558,8 @@ const ge = [
|
|
|
558
558
|
x,
|
|
559
559
|
T,
|
|
560
560
|
C,
|
|
561
|
-
|
|
562
|
-
|
|
561
|
+
Ht,
|
|
562
|
+
Kt,
|
|
563
563
|
z,
|
|
564
564
|
Xt,
|
|
565
565
|
$,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { F as o, W as f } from "./interfaces.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cP as b, J as g, cm as d, c7 as N } from "./index.js";
|
|
4
4
|
import { R as u } from "./rest-js-object-literals.js";
|
|
5
5
|
import { d as r, l as c } from "./chart-object-literals.js";
|
|
6
6
|
import { F as n } from "./common.js";
|
|
@@ -110,7 +110,7 @@ function B(e) {
|
|
|
110
110
|
}
|
|
111
111
|
const M = (e) => {
|
|
112
112
|
["e", "E"].includes(e.key) && e.preventDefault();
|
|
113
|
-
},
|
|
113
|
+
}, P = (e) => {
|
|
114
114
|
if (e.pickListElement !== void 0) {
|
|
115
115
|
const t = e.pickListElement.selectedItems;
|
|
116
116
|
e.eventEmitter.emit({
|
|
@@ -119,7 +119,7 @@ const M = (e) => {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
function
|
|
122
|
+
function U(e) {
|
|
123
123
|
let t = "line-solid";
|
|
124
124
|
switch (e) {
|
|
125
125
|
case u.Dash:
|
|
@@ -135,7 +135,7 @@ function W(e) {
|
|
|
135
135
|
}
|
|
136
136
|
return t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function W(e, t) {
|
|
139
139
|
const i = document.createElement("a");
|
|
140
140
|
i.style.display = "none", i.download = t, i.setAttribute("href", e), i.click(), i.remove(), URL.revokeObjectURL(e);
|
|
141
141
|
}
|
|
@@ -153,10 +153,10 @@ export {
|
|
|
153
153
|
w as a,
|
|
154
154
|
T as b,
|
|
155
155
|
F as c,
|
|
156
|
-
|
|
156
|
+
W as d,
|
|
157
157
|
O as e,
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
P as f,
|
|
159
|
+
U as g,
|
|
160
160
|
B as h,
|
|
161
161
|
S as i,
|
|
162
162
|
v as j,
|
|
@@ -4,7 +4,7 @@ import { g as h } from "./runtime.js";
|
|
|
4
4
|
import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
|
|
6
6
|
import { a as e } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { cP as p } from "./index.js";
|
|
8
8
|
function k(s) {
|
|
9
9
|
const c = o(s.series);
|
|
10
10
|
let r = "graph-bar";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import G from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as J } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import {
|
|
4
|
+
import { cQ as Q, cR as L } from "./index.js";
|
|
5
5
|
import { cloneDeep as Y, memoize as U, isEqual as O, sortBy as X, flatMap as Z } from "es-toolkit/compat";
|
|
6
6
|
import { getSchemes as ee } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
7
|
import { i as V } from "./index2.js";
|
|
@@ -182,7 +182,7 @@ const xe = {
|
|
|
182
182
|
convertColor: x,
|
|
183
183
|
removeConfigFieldsFromData: j
|
|
184
184
|
}, T = te.all(), le = ee({ geometryType: "point", theme: "high-to-low" });
|
|
185
|
-
function
|
|
185
|
+
function K(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
187
187
|
return [
|
|
188
188
|
Math.round(e[0] + (o[0] - e[0]) * s),
|
|
@@ -209,12 +209,12 @@ function ie(e) {
|
|
|
209
209
|
else
|
|
210
210
|
for (let n = 0; n < o; n++) {
|
|
211
211
|
const i = n / (o - 1);
|
|
212
|
-
r.push(
|
|
212
|
+
r.push(K(a, l, i));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return r;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function P(e) {
|
|
218
218
|
const { colorRamp: o, numberOfClassBreaks: t, isFlipped: s } = e;
|
|
219
219
|
let c = [], r = !1;
|
|
220
220
|
if (o.colorsForClassBreaks && o.colorsForClassBreaks.length > 0) {
|
|
@@ -238,7 +238,7 @@ function K(e) {
|
|
|
238
238
|
c = [];
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
|
-
const R = u * (l.length - 1) - f, C =
|
|
241
|
+
const R = u * (l.length - 1) - f, C = K(m, p, R);
|
|
242
242
|
n.push(C);
|
|
243
243
|
}
|
|
244
244
|
c = n;
|
|
@@ -249,7 +249,7 @@ function K(e) {
|
|
|
249
249
|
function W(e) {
|
|
250
250
|
const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
|
|
251
251
|
let r = ne(o, s);
|
|
252
|
-
const a = t ?
|
|
252
|
+
const a = t ? P({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
|
|
253
253
|
return r.length !== o && (r = a), r.length !== o && (r = ie({
|
|
254
254
|
numberOfClassBreaks: o,
|
|
255
255
|
baseColors: a.length > 0 ? a : s
|
|
@@ -397,7 +397,7 @@ function de(e) {
|
|
|
397
397
|
return o.size === 1 ? t : void 0;
|
|
398
398
|
}
|
|
399
399
|
function pe(e, o) {
|
|
400
|
-
const t =
|
|
400
|
+
const t = P({
|
|
401
401
|
colorRamp: A.defaultColorRampForCharts,
|
|
402
402
|
numberOfClassBreaks: 1
|
|
403
403
|
})[0];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { g as m, s as p, a as b, b as L, W as u } from "./rounded-corners.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as _, a as k, e as C, b as M, f as v, s as z, h as
|
|
4
|
+
import { g as _, a as k, e as C, b as M, f as v, s as z, h as B, c as O, i as V, d as D, j as A, k as F, n as H, o as g, p as W, q as j, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as T, s as I } from "./serial-chart-model.js";
|
|
6
|
-
import {
|
|
6
|
+
import { cD as N, u as S, cF as d, cB as q, eN as R } from "./index.js";
|
|
7
7
|
import { a as n } from "./chart-object-literals.js";
|
|
8
|
-
import { ao as
|
|
8
|
+
import { ao as E, a3 as h, a0 as y } from "./index2.js";
|
|
9
9
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, l = (c, e, i, o) => {
|
|
10
10
|
for (var s = J(e, i), t = c.length - 1, f; t >= 0; t--)
|
|
11
11
|
(f = c[t]) && (s = f(e, i, s) || s);
|
|
@@ -23,7 +23,7 @@ class r extends T {
|
|
|
23
23
|
// ---------------------------------------------------------------------------------------------
|
|
24
24
|
/** @private */
|
|
25
25
|
generateDefaultConfig() {
|
|
26
|
-
const e =
|
|
26
|
+
const e = E(this.commonStrings);
|
|
27
27
|
return e.series = [
|
|
28
28
|
h({
|
|
29
29
|
commonStrings: this.commonStrings,
|
|
@@ -130,10 +130,10 @@ class r extends T {
|
|
|
130
130
|
* @param seriesIndex - The index of the series.
|
|
131
131
|
*/
|
|
132
132
|
getSeriesMarkerStyle(e) {
|
|
133
|
-
return
|
|
133
|
+
return B(e, this._config);
|
|
134
134
|
}
|
|
135
135
|
setSeriesMarkerStyle(e, i) {
|
|
136
|
-
|
|
136
|
+
O({
|
|
137
137
|
style: e,
|
|
138
138
|
seriesIndex: i,
|
|
139
139
|
config: this._config
|
|
@@ -148,7 +148,7 @@ class r extends T {
|
|
|
148
148
|
return V(e, this._config);
|
|
149
149
|
}
|
|
150
150
|
setSeriesMarkerSize(e, i) {
|
|
151
|
-
|
|
151
|
+
D({
|
|
152
152
|
size: e,
|
|
153
153
|
seriesIndex: i,
|
|
154
154
|
config: this._config
|
|
@@ -160,7 +160,7 @@ class r extends T {
|
|
|
160
160
|
* @param seriesIndex - The index of the series.
|
|
161
161
|
*/
|
|
162
162
|
isLineSmoothed(e) {
|
|
163
|
-
return
|
|
163
|
+
return A(e, this._config);
|
|
164
164
|
}
|
|
165
165
|
setLineSmoothed(e, i) {
|
|
166
166
|
F({
|
|
@@ -294,7 +294,7 @@ l([
|
|
|
294
294
|
a
|
|
295
295
|
], r.prototype, "setSeriesHideOversizedStackedLabels");
|
|
296
296
|
const K = [P, u];
|
|
297
|
-
|
|
297
|
+
R(r, K);
|
|
298
298
|
export {
|
|
299
299
|
r as ComboBarLineChartModel
|
|
300
300
|
};
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "es-toolkit/compat";
|
|
3
|
-
import {
|
|
3
|
+
import { b8 as D, r as L, l as $, u as N, t as I, d0 as H, y as P, cy as h, c7 as _, B as v, cN as E, E as M } from "./index.js";
|
|
4
4
|
import { g as C } from "./series-types.js";
|
|
5
5
|
import { H as A, S as o, P as U } from "./common.js";
|
|
6
6
|
import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
|
|
@@ -60,12 +60,12 @@ const R = (e) => {
|
|
|
60
60
|
mode: m,
|
|
61
61
|
layer: a,
|
|
62
62
|
numericFieldIndex: c,
|
|
63
|
-
seriesIndex:
|
|
63
|
+
seriesIndex: x,
|
|
64
64
|
splitByField: S = "",
|
|
65
65
|
fieldList: O
|
|
66
|
-
} = e, T = C(s.series), b =
|
|
66
|
+
} = e, T = C(s.series), b = L(s.series);
|
|
67
67
|
let f;
|
|
68
|
-
if (
|
|
68
|
+
if ($(a)) {
|
|
69
69
|
const y = H(a);
|
|
70
70
|
f = t.length === 1 && t[0] === y;
|
|
71
71
|
} else {
|
|
@@ -75,7 +75,7 @@ const R = (e) => {
|
|
|
75
75
|
let p = "y", F = "y";
|
|
76
76
|
switch (T) {
|
|
77
77
|
case d.PieSeries: {
|
|
78
|
-
i !== g.NoAggregation ? m === U.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p =
|
|
78
|
+
i !== g.NoAggregation ? m === U.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = M : p = t[0];
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
81
81
|
case d.BarSeries:
|
|
@@ -88,10 +88,10 @@ const R = (e) => {
|
|
|
88
88
|
fieldName: r,
|
|
89
89
|
numericFields: t,
|
|
90
90
|
fieldList: O ?? []
|
|
91
|
-
}) || b === P.BarAndLineFromFields ? p =
|
|
91
|
+
}) || b === P.BarAndLineFromFields ? p = E : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
92
92
|
else {
|
|
93
93
|
const y = t[0];
|
|
94
|
-
p = i !== g.NoAggregation ? `${i}_${y}_${
|
|
94
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
|
|
95
95
|
}
|
|
96
96
|
break;
|
|
97
97
|
}
|
|
@@ -102,11 +102,11 @@ const R = (e) => {
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
function Y(e) {
|
|
105
|
-
const { fieldName: s, fieldList: r } = e, t =
|
|
106
|
-
return s === _ || s ===
|
|
105
|
+
const { fieldName: s, fieldList: r } = e, t = h(r ?? [], s);
|
|
106
|
+
return s === _ || s === v || s === W || s === void 0 || s.trim() === "" || t === void 0;
|
|
107
107
|
}
|
|
108
108
|
function j(e) {
|
|
109
|
-
const { fieldName: s, fieldList: r, numericFields: t } = e, i = t.filter((m) =>
|
|
109
|
+
const { fieldName: s, fieldList: r, numericFields: t } = e, i = t.filter((m) => h(r ?? [], m)?.type !== "esriFieldTypeOID");
|
|
110
110
|
return Y({ fieldName: s, fieldList: r }) && (i?.length ?? 0) > 0;
|
|
111
111
|
}
|
|
112
112
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { a as c, G as S, d as x } from "./chart-object-literals.js";
|
|
3
3
|
import { as as d, a4 as b, aB as _, at as m, ar as I } from "./index2.js";
|
|
4
|
-
import { u as C,
|
|
4
|
+
import { u as C, eN as L } from "./index.js";
|
|
5
5
|
import { C as T } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as A } from "./model-with-x-guides.js";
|
|
8
8
|
import { W, c as V, d as F } from "./axis-lines-symbol.js";
|
|
9
9
|
import { W as B, c as D, d as E } from "./generate-x-axis-title.js";
|
|
10
|
-
import { W as
|
|
10
|
+
import { W as N, a as P } from "./x-bounds.js";
|
|
11
11
|
import { a as w } from "./utils.js";
|
|
12
|
-
const
|
|
12
|
+
const M = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
13
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
14
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
15
15
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.symbol = t;
|
|
@@ -221,7 +221,7 @@ class i extends T {
|
|
|
221
221
|
* Visibility of the gauge's needle.
|
|
222
222
|
*/
|
|
223
223
|
get needleVisibility() {
|
|
224
|
-
return
|
|
224
|
+
return M(this._config);
|
|
225
225
|
}
|
|
226
226
|
set needleVisibility(e) {
|
|
227
227
|
R(e, this._config);
|
|
@@ -436,7 +436,7 @@ a([
|
|
|
436
436
|
], i.prototype, "onlyShowFirstAndLastLabels");
|
|
437
437
|
const Le = [
|
|
438
438
|
B,
|
|
439
|
-
|
|
439
|
+
N,
|
|
440
440
|
D,
|
|
441
441
|
P,
|
|
442
442
|
W,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as M, n as O, o as w, p as C, q as W, r as T, t as x, u as
|
|
2
|
+
import { eN as m } from "./index.js";
|
|
3
|
+
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as M, n as O, o as w, p as C, q as W, r as T, t as x, u as N, v as A, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./data-labels-visibility.js";
|
|
6
6
|
import { W as G } from "./data-labels-symbol.js";
|
|
@@ -136,10 +136,10 @@ class e extends P {
|
|
|
136
136
|
* Whether the median overlay is shown in the histogram.
|
|
137
137
|
*/
|
|
138
138
|
get showMedianOverlay() {
|
|
139
|
-
return
|
|
139
|
+
return N(this._config);
|
|
140
140
|
}
|
|
141
141
|
set showMedianOverlay(t) {
|
|
142
|
-
|
|
142
|
+
A(t, this._config);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* Whether the standard deviation overlay is shown in the histogram.
|