@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.125
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/{CQLILZFZ.js → 2FQ6G6B6.js} +1 -1
- package/dist/cdn/{IYVSAR3D.js → 2FYXFIR4.js} +1 -1
- package/dist/cdn/2QWB5XRH.js +2 -0
- package/dist/cdn/{ZRYPRUVT.js → 2VX44HPW.js} +1 -1
- package/dist/cdn/{IKH7UGJM.js → 3GN7VR32.js} +1 -1
- package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
- package/dist/cdn/{ELXF6XQQ.js → 4PUOMS4A.js} +1 -1
- package/dist/cdn/{U2O4NGY5.js → 4RLQLQVB.js} +1 -1
- package/dist/cdn/{H4UKMJ3M.js → 4SNP6HTM.js} +1 -1
- package/dist/cdn/{OO4U6KKQ.js → 54265YSL.js} +1 -1
- package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
- package/dist/cdn/{GCPA466R.js → 56INS6ML.js} +1 -1
- package/dist/cdn/{N4YN5XHL.js → 5E6TR5OW.js} +1 -1
- package/dist/cdn/{STFT35NP.js → 5XXBOV4Q.js} +1 -1
- package/dist/cdn/6462KIIY.js +2 -0
- package/dist/cdn/{BUXZ2NBS.js → 6ESCKCYY.js} +1 -1
- package/dist/cdn/{EXCMERSU.js → 6H4PWDET.js} +1 -1
- package/dist/cdn/77VLHOOC.js +2 -0
- package/dist/cdn/{Q4HYSXEK.js → 77YJOTCX.js} +1 -1
- package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
- package/dist/cdn/7PKJNQL7.js +2 -0
- package/dist/cdn/{ZP4T262N.js → B44MEIQW.js} +1 -1
- package/dist/cdn/{BQMUOJL7.js → B5XYZKLU.js} +1 -1
- package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
- package/dist/cdn/{IJKFUMKC.js → C3PVEL66.js} +1 -1
- package/dist/cdn/{IJR65YQB.js → CSN6MJ4B.js} +1 -1
- package/dist/cdn/{CR2U5KNC.js → DPRUAGVZ.js} +1 -1
- package/dist/cdn/{O7NFMOTE.js → ENG2F3IQ.js} +1 -1
- package/dist/cdn/{JSFNIFWE.js → EP5BMXUY.js} +1 -1
- package/dist/cdn/{3IXFIA6D.js → ETDHU5U4.js} +19 -19
- package/dist/cdn/EU6AJ57R.js +2 -0
- package/dist/cdn/{HFFXDWQL.js → F2MSD3QS.js} +1 -1
- package/dist/cdn/{DYCZXSJG.js → F2WEYOKD.js} +1 -1
- package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
- package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
- package/dist/cdn/{JFXCJ6HT.js → FH66KPN5.js} +1 -1
- package/dist/cdn/{A5CQKJHA.js → G6DJZSMC.js} +1 -1
- package/dist/cdn/{QSJV77RB.js → H5QMZ65D.js} +1 -1
- package/dist/cdn/{JO4YQAFF.js → HDHS7RTZ.js} +1 -1
- package/dist/cdn/{353KIT3L.js → HPO7UHSN.js} +1 -1
- package/dist/cdn/{METDO2QG.js → IMQYTRSY.js} +1 -1
- package/dist/cdn/{4GHJREG3.js → J5E4KON6.js} +1 -1
- package/dist/cdn/{UDQP2AFN.js → J65VM5UV.js} +1 -1
- package/dist/cdn/{VP5MGMQP.js → JPDI5NK6.js} +1 -1
- package/dist/cdn/{IS7KQGMM.js → JSJ2OXVP.js} +1 -1
- package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
- package/dist/cdn/{WXO3YJ3T.js → KAVJHTFB.js} +1 -1
- package/dist/cdn/{6CPDF77P.js → KCEJQPTE.js} +1 -1
- package/dist/cdn/{DCIQMSQ2.js → KDMYI6HZ.js} +1 -1
- package/dist/cdn/{RDCTBV2Q.js → KHFNTBX4.js} +1 -1
- package/dist/cdn/{MFJINTU5.js → KHV5W5KY.js} +1 -1
- package/dist/cdn/{5V33DFCG.js → KIUBFEUI.js} +1 -1
- package/dist/cdn/{M6L3GCVZ.js → KKHTRL5K.js} +1 -1
- package/dist/cdn/{C6YIO7EV.js → LHQ5R7PX.js} +1 -1
- package/dist/cdn/{V4VQT6A6.js → LQL7VPXH.js} +1 -1
- package/dist/cdn/{CQORXOQS.js → LYVV7FBJ.js} +1 -1
- package/dist/cdn/{LBX6U6EK.js → MDKLQ2IS.js} +2 -2
- package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
- package/dist/cdn/{W7HVSUF2.js → MUFEV5ZR.js} +1 -1
- package/dist/cdn/{6H6ZTNGY.js → N26FS3KG.js} +1 -1
- package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
- package/dist/cdn/{Q4GIMFJ2.js → NMAG7AL2.js} +1 -1
- package/dist/cdn/{KILQBDSV.js → OCCBK5S7.js} +1 -1
- package/dist/cdn/{U2VHNPRE.js → OLRPPTEO.js} +1 -1
- package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
- package/dist/cdn/{GZA5OPRD.js → OUDFAIXR.js} +1 -1
- package/dist/cdn/{O34ACKBX.js → P7PD3PBN.js} +1 -1
- package/dist/cdn/{BF2U4V7S.js → PAHQAFMT.js} +1 -1
- package/dist/cdn/{KRNF2XCU.js → PIOFHDMU.js} +1 -1
- package/dist/cdn/{BQMDOKAK.js → POSJMG3Z.js} +1 -1
- package/dist/cdn/{MOL3RVAG.js → PUXBUCDR.js} +1 -1
- package/dist/cdn/{MDMJT2VS.js → PZRHKUTQ.js} +1 -1
- package/dist/cdn/{XIVGFLZQ.js → QHGSGGGJ.js} +1 -1
- package/dist/cdn/{PX7QCMDX.js → QHRYG4SP.js} +1 -1
- package/dist/cdn/{TV3FXQVK.js → QL5M6E2E.js} +1 -1
- package/dist/cdn/{CB3BW4H5.js → QZNI3BD3.js} +1 -1
- package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
- package/dist/cdn/RD2OZ5DF.js +2 -0
- package/dist/cdn/{EFFUZV52.js → S2PTOBDF.js} +1 -1
- package/dist/cdn/{OCABBLZ7.js → SF3FTQP5.js} +1 -1
- package/dist/cdn/{3HZFE5JC.js → SLKGXWIE.js} +1 -1
- package/dist/cdn/{V4N4EY2E.js → TLYVHR5K.js} +1 -1
- package/dist/cdn/{MVJKABXP.js → UYNE67O2.js} +1 -1
- package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
- package/dist/cdn/{JNRJSGDP.js → VPCAPPIP.js} +1 -1
- package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
- package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
- package/dist/cdn/{32RVL6OQ.js → W6SZDF5T.js} +1 -1
- package/dist/cdn/{QOZYAJXQ.js → WDWOAIWE.js} +1 -1
- package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
- package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
- package/dist/cdn/{4UYG2V6P.js → X7OXNUXM.js} +1 -1
- package/dist/cdn/{NCOXA4CE.js → XQ5Q4AMB.js} +1 -1
- package/dist/cdn/{FK7MIBNE.js → XZAXZDTP.js} +1 -1
- package/dist/cdn/{OY5HRHVW.js → YEAARWKU.js} +1 -1
- package/dist/cdn/{ITFMAKY3.js → YMAI2PRA.js} +1 -1
- package/dist/cdn/Z5KG3KRT.js +2 -0
- package/dist/cdn/{LUFRX5TB.js → Z5ZBVJ2L.js} +1 -1
- package/dist/cdn/{YW6WBDZV.js → ZD4GMDVL.js} +1 -1
- package/dist/cdn/{H3JLQ2R3.js → ZLUIF2K7.js} +1 -1
- package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
- package/dist/cdn/{4YOIC4P4.js → ZZAJQVXL.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 +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +173 -117
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +9 -9
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/index.js +164 -163
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +15 -15
- package/dist/chunks/index4.js +7 -7
- package/dist/chunks/model-setter.js +22 -22
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +4 -4
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +2 -2
- package/dist/chunks/serial-chart-model.js +131 -76
- package/dist/chunks/type-guards2.js +17 -17
- package/dist/chunks/utils.js +122 -106
- package/dist/chunks/web-component-utils.js +9 -9
- package/dist/chunks/x-bounds.js +12 -12
- package/dist/components/arcgis-chart/customElement.js +2259 -2254
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +7 -7
- 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-data/customElement.js +9 -9
- 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 +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +111 -111
- package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
- package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
- package/dist/model/interfaces/common.d.ts +2 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
- package/dist/model/shared/setup-utils.d.ts +2 -0
- package/dist/model/shared/setup-utils.js +37 -36
- package/dist/utils/chart-config/converter/index.js +40 -40
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cdn/2TV4NKY2.js +0 -2
- package/dist/cdn/EXLX4SJG.js +0 -2
- package/dist/cdn/GTBT4ACW.js +0 -2
- package/dist/cdn/HH5B6KCV.js +0 -2
- package/dist/cdn/KZBUDNHW.js +0 -2
- package/dist/cdn/KZSCAJDG.js +0 -2
- package/dist/cdn/XOTHROVZ.js +0 -2
- /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as o, m as a } from "./model-setter.js";
|
|
3
|
-
import { g as f, b as
|
|
4
|
-
import {
|
|
3
|
+
import { g as f, b as c, c as d, d as h } from "./utils2.js";
|
|
4
|
+
import { k as T, a as p, b as u, p as y, c as g } from "./type-guards2.js";
|
|
5
5
|
import { l as A } from "./index3.js";
|
|
6
6
|
import { b as l } from "./index2.js";
|
|
7
7
|
var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (t, i, s, x) => {
|
|
@@ -9,7 +9,7 @@ var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (t, i, s
|
|
|
9
9
|
(n = t[r]) && (e = n(i, s, e) || e);
|
|
10
10
|
return e && b(i, s, e), e;
|
|
11
11
|
};
|
|
12
|
-
function
|
|
12
|
+
function F(t) {
|
|
13
13
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
14
14
|
}
|
|
15
15
|
class m extends o {
|
|
@@ -20,7 +20,7 @@ class m extends o {
|
|
|
20
20
|
return f(0, this._config);
|
|
21
21
|
}
|
|
22
22
|
set xAxisTitleText(i) {
|
|
23
|
-
|
|
23
|
+
c(i, 0, this._config);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
_([
|
|
@@ -31,7 +31,7 @@ var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s
|
|
|
31
31
|
(n = t[r]) && (e = n(i, s, e) || e);
|
|
32
32
|
return e && P(i, s, e), e;
|
|
33
33
|
};
|
|
34
|
-
function
|
|
34
|
+
function S(t) {
|
|
35
35
|
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
36
36
|
}
|
|
37
37
|
class O extends o {
|
|
@@ -41,10 +41,10 @@ class O extends o {
|
|
|
41
41
|
* `false`: X-axis title is hidden.
|
|
42
42
|
*/
|
|
43
43
|
get xAxisTitleVisibility() {
|
|
44
|
-
return
|
|
44
|
+
return d(0, this._config);
|
|
45
45
|
}
|
|
46
46
|
set xAxisTitleVisibility(i) {
|
|
47
|
-
|
|
47
|
+
h({
|
|
48
48
|
visibility: i,
|
|
49
49
|
axisIndex: 0,
|
|
50
50
|
config: this._config
|
|
@@ -54,7 +54,7 @@ class O extends o {
|
|
|
54
54
|
M([
|
|
55
55
|
a
|
|
56
56
|
], O.prototype, "xAxisTitleVisibility");
|
|
57
|
-
function
|
|
57
|
+
function j(t) {
|
|
58
58
|
return t !== void 0 && "generateXAxisTitle" in t;
|
|
59
59
|
}
|
|
60
60
|
class w extends o {
|
|
@@ -65,13 +65,13 @@ class w extends o {
|
|
|
65
65
|
const i = this.layerInfo?.layerFieldsInfo;
|
|
66
66
|
if (i === void 0)
|
|
67
67
|
return "";
|
|
68
|
-
if (T(this) ||
|
|
68
|
+
if (T(this) || p(this))
|
|
69
69
|
return l(i, this.xAxisField);
|
|
70
|
-
if (
|
|
70
|
+
if (u(this))
|
|
71
71
|
return this.category !== A ? l(i, this.category) : "";
|
|
72
|
-
if (
|
|
72
|
+
if (y(this))
|
|
73
73
|
return l(i, this.numericField);
|
|
74
|
-
if (
|
|
74
|
+
if (g(this)) {
|
|
75
75
|
const s = this.xTemporalBinning?.unit;
|
|
76
76
|
return s !== void 0 ? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s] : "";
|
|
77
77
|
}
|
|
@@ -80,9 +80,9 @@ class w extends o {
|
|
|
80
80
|
}
|
|
81
81
|
export {
|
|
82
82
|
m as W,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
j as a,
|
|
84
|
+
S as b,
|
|
85
85
|
O as c,
|
|
86
86
|
w as d,
|
|
87
|
-
|
|
87
|
+
F as i
|
|
88
88
|
};
|
package/dist/chunks/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Ha from "@arcgis/core/Graphic.js";
|
|
|
7
7
|
import * as Ut from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import * as ei from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
9
|
import { g as $, s as Ua } from "./series-types.js";
|
|
10
|
-
import { q as Q, g as gr,
|
|
10
|
+
import { q as Q, g as gr, S as za, l as zt, i as G, H as ct, T as Gt, U as Ga, L as dt, a as qi, V as qe, C as yr, N as Wa, O as ja, r as pr, p as oi } from "./index3.js";
|
|
11
11
|
import { i as te, c as Ue, d as hr, a as yt, e as Xa, f as Ya, g as Za } from "./type-guards.js";
|
|
12
12
|
import Ri from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
13
|
import Ja from "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -9411,7 +9411,7 @@ export {
|
|
|
9411
9411
|
Yf as ay,
|
|
9412
9412
|
Wf as az,
|
|
9413
9413
|
Bd as b,
|
|
9414
|
-
|
|
9414
|
+
ia as b$,
|
|
9415
9415
|
$d as b0,
|
|
9416
9416
|
Rd as b1,
|
|
9417
9417
|
tm as b2,
|
|
@@ -9422,33 +9422,33 @@ export {
|
|
|
9422
9422
|
_f as b7,
|
|
9423
9423
|
kf as b8,
|
|
9424
9424
|
$f as b9,
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9425
|
+
sf as bA,
|
|
9426
|
+
ve as bB,
|
|
9427
|
+
Yd as bC,
|
|
9428
|
+
lr as bD,
|
|
9429
|
+
Jd as bE,
|
|
9430
|
+
ad as bF,
|
|
9431
|
+
vf as bG,
|
|
9432
|
+
Nd as bH,
|
|
9433
|
+
Ff as bI,
|
|
9434
|
+
_s as bJ,
|
|
9435
|
+
hd as bK,
|
|
9436
|
+
ft as bL,
|
|
9437
|
+
yu as bM,
|
|
9438
|
+
Gl as bN,
|
|
9439
|
+
Td as bO,
|
|
9440
|
+
Ef as bP,
|
|
9441
|
+
Wd as bQ,
|
|
9442
|
+
jd as bR,
|
|
9443
|
+
am as bS,
|
|
9444
|
+
pf as bT,
|
|
9445
|
+
ii as bU,
|
|
9446
|
+
Jc as bV,
|
|
9447
|
+
xf as bW,
|
|
9448
|
+
xa as bX,
|
|
9449
|
+
ot as bY,
|
|
9450
|
+
Ii as bZ,
|
|
9451
|
+
Vn as b_,
|
|
9452
9452
|
Qf as ba,
|
|
9453
9453
|
Ku as bb,
|
|
9454
9454
|
fd as bc,
|
|
@@ -9456,142 +9456,143 @@ export {
|
|
|
9456
9456
|
Tn as be,
|
|
9457
9457
|
Yu as bf,
|
|
9458
9458
|
rm as bg,
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9459
|
+
qt as bh,
|
|
9460
|
+
rf as bi,
|
|
9461
|
+
nf as bj,
|
|
9462
|
+
zr as bk,
|
|
9463
|
+
k as bl,
|
|
9464
|
+
Zc as bm,
|
|
9465
|
+
Gd as bn,
|
|
9466
|
+
Fa as bo,
|
|
9467
|
+
eu as bp,
|
|
9468
|
+
Sd as bq,
|
|
9469
|
+
bf as br,
|
|
9470
|
+
td as bs,
|
|
9471
|
+
$l as bt,
|
|
9472
|
+
ir as bu,
|
|
9473
|
+
Vl as bv,
|
|
9474
|
+
Wc as bw,
|
|
9475
|
+
Of as bx,
|
|
9476
|
+
df as by,
|
|
9477
|
+
lo as bz,
|
|
9478
9478
|
od as c,
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9479
|
+
Wn as c$,
|
|
9480
|
+
Fe as c0,
|
|
9481
|
+
Lu as c1,
|
|
9482
|
+
Cf as c2,
|
|
9483
|
+
ks as c3,
|
|
9484
|
+
Md as c4,
|
|
9485
|
+
Id as c5,
|
|
9486
|
+
wd as c6,
|
|
9487
|
+
$s as c7,
|
|
9488
|
+
Ld as c8,
|
|
9489
|
+
id as c9,
|
|
9490
|
+
Yc as cA,
|
|
9491
|
+
Nn as cB,
|
|
9492
|
+
An as cC,
|
|
9493
|
+
Iu as cD,
|
|
9494
|
+
Mu as cE,
|
|
9495
|
+
Ds as cF,
|
|
9496
|
+
Jn as cG,
|
|
9497
|
+
du as cH,
|
|
9498
|
+
Cu as cI,
|
|
9499
|
+
hf as cJ,
|
|
9500
|
+
Ou as cK,
|
|
9501
|
+
Wu as cL,
|
|
9502
|
+
nt as cM,
|
|
9503
|
+
bi as cN,
|
|
9504
|
+
sa as cO,
|
|
9505
|
+
_t as cP,
|
|
9506
|
+
ha as cQ,
|
|
9507
|
+
yi as cR,
|
|
9508
|
+
pi as cS,
|
|
9509
|
+
Nf as cT,
|
|
9510
|
+
rc as cU,
|
|
9511
|
+
Su as cV,
|
|
9512
|
+
ya as cW,
|
|
9513
|
+
Fu as cX,
|
|
9514
|
+
pa as cY,
|
|
9515
|
+
wn as cZ,
|
|
9516
|
+
Yt as c_,
|
|
9517
|
+
ga as ca,
|
|
9518
|
+
_e as cb,
|
|
9519
|
+
wi as cc,
|
|
9520
|
+
nd as cd,
|
|
9521
|
+
Sa as ce,
|
|
9522
|
+
uf as cf,
|
|
9523
|
+
Tf as cg,
|
|
9524
|
+
Y as ch,
|
|
9525
|
+
bd as ci,
|
|
9526
|
+
ti as cj,
|
|
9527
|
+
Hu as ck,
|
|
9528
|
+
Uu as cl,
|
|
9529
|
+
wu as cm,
|
|
9530
|
+
Pu as cn,
|
|
9531
|
+
xd as co,
|
|
9532
|
+
Cd as cp,
|
|
9533
|
+
Vs as cq,
|
|
9534
|
+
Ed as cr,
|
|
9535
|
+
Nu as cs,
|
|
9536
|
+
ma as ct,
|
|
9537
|
+
Hs as cu,
|
|
9538
|
+
Fd as cv,
|
|
9539
|
+
om as cw,
|
|
9540
|
+
He as cx,
|
|
9541
|
+
ff as cy,
|
|
9542
|
+
Nr as cz,
|
|
9543
9543
|
mf as d,
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9544
|
+
Pr as d0,
|
|
9545
|
+
ac as d1,
|
|
9546
|
+
Ar as d2,
|
|
9547
|
+
Lr as d3,
|
|
9548
|
+
Qn as d4,
|
|
9549
|
+
kn as d5,
|
|
9550
|
+
kt as d6,
|
|
9551
|
+
qs as d7,
|
|
9552
|
+
es as d8,
|
|
9553
|
+
pu as d9,
|
|
9554
|
+
Hn as dA,
|
|
9555
|
+
xi as dB,
|
|
9556
|
+
Ze as dC,
|
|
9557
|
+
Kc as dD,
|
|
9558
|
+
Qt as dE,
|
|
9559
|
+
Ie as dF,
|
|
9560
|
+
Pn as dG,
|
|
9561
|
+
Mn as dH,
|
|
9562
|
+
Dn as dI,
|
|
9563
|
+
On as dJ,
|
|
9564
|
+
In as dK,
|
|
9565
|
+
ed as dL,
|
|
9566
|
+
vt as dM,
|
|
9567
|
+
qn as dN,
|
|
9568
|
+
kl as dO,
|
|
9569
|
+
Zi as dP,
|
|
9570
|
+
zu as dQ,
|
|
9571
|
+
Bu as da,
|
|
9572
|
+
mu as db,
|
|
9573
|
+
vu as dc,
|
|
9574
|
+
oa as dd,
|
|
9575
|
+
xu as de,
|
|
9576
|
+
bu as df,
|
|
9577
|
+
No as dg,
|
|
9578
|
+
tc as dh,
|
|
9579
|
+
ic as di,
|
|
9580
|
+
ec as dj,
|
|
9581
|
+
Pd as dk,
|
|
9582
|
+
Ad as dl,
|
|
9583
|
+
Bn as dm,
|
|
9584
|
+
vn as dn,
|
|
9585
|
+
Dd as dp,
|
|
9586
|
+
Ct as dq,
|
|
9587
|
+
Gc as dr,
|
|
9588
|
+
$n as ds,
|
|
9589
|
+
zc as dt,
|
|
9590
|
+
Au as du,
|
|
9591
|
+
jc as dv,
|
|
9592
|
+
Tr as dw,
|
|
9593
|
+
Af as dx,
|
|
9594
|
+
zn as dy,
|
|
9595
|
+
Gn as dz,
|
|
9595
9596
|
dd as e,
|
|
9596
9597
|
Ni as f,
|
|
9597
9598
|
Rf as g,
|
package/dist/chunks/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import te from "@esri/arcgis-html-sanitizer";
|
|
3
3
|
import { isEmpty as ie, isEqual as B } from "es-toolkit/compat";
|
|
4
|
-
import { a3 as C, p as ae, a4 as re, r as ne, a5 as A,
|
|
4
|
+
import { a3 as C, p as ae, a4 as re, r as ne, a5 as A, L as oe, H as se, s as le, V as de, U as ce } from "./index3.js";
|
|
5
5
|
import { g as b } from "./series-types.js";
|
|
6
6
|
import { g as x, c as ue, i as ge, f as me, a as n, s as pe, e as S } from "./chart-object-literals.js";
|
|
7
7
|
import { R as T, b as p, e as he } from "./rest-js-object-literals.js";
|
package/dist/chunks/index3.js
CHANGED
|
@@ -1005,7 +1005,7 @@ const i = {
|
|
|
1005
1005
|
};
|
|
1006
1006
|
function ut(t) {
|
|
1007
1007
|
const e = { ...t };
|
|
1008
|
-
return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.
|
|
1008
|
+
return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.boxPlot?.series ?? i.maxBoxPlotSeriesCount, e.maxBoxUniqueSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxUniqueSeriesCountTotal, e.maxBoxTwoSeriesCountPerSeries ??= i.maxBoxTwoSeriesCountPerSeries, e.maxBoxTwoSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxTwoSeriesCountTotal, e.maxBoxThreePlusSeriesCountPerSeries ??= i.maxBoxThreePlusSeriesCountPerSeries, e.maxBoxThreePlusSeriesCountTotal ??= e.boxPlot?.elements ?? i.maxBoxThreePlusSeriesCountTotal, e.maxBoxPlotOutlierLimit ??= e?.boxPlot?.outliers ?? i.maxBoxPlotOutlierLimit, e.maxHeatChartCellLimit ??= e?.heatChart?.cells ?? i.maxHeatChartCellLimit, e.serialChart = {
|
|
1009
1009
|
...i.serialChart,
|
|
1010
1010
|
...e.serialChart
|
|
1011
1011
|
}, e.boxPlot = {
|
|
@@ -1128,20 +1128,20 @@ export {
|
|
|
1128
1128
|
q as E,
|
|
1129
1129
|
X as F,
|
|
1130
1130
|
M as G,
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1131
|
+
ut as H,
|
|
1132
|
+
mt as I,
|
|
1133
|
+
St as J,
|
|
1134
|
+
ht as K,
|
|
1135
|
+
K as L,
|
|
1136
|
+
bt as M,
|
|
1137
|
+
Ct as N,
|
|
1138
|
+
ft as O,
|
|
1139
|
+
U as P,
|
|
1140
|
+
ke as Q,
|
|
1141
|
+
k as R,
|
|
1142
|
+
Te as S,
|
|
1143
|
+
ct as T,
|
|
1144
|
+
Pe as U,
|
|
1145
1145
|
pe as V,
|
|
1146
1146
|
Ee as W,
|
|
1147
1147
|
ae as X,
|
package/dist/chunks/index4.js
CHANGED
|
@@ -4,9 +4,9 @@ import P from "ajv";
|
|
|
4
4
|
import { g as k } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import {
|
|
7
|
+
import { c9 as u, q as E, aS as M, av as C, bJ as V, p as v, w as T, bx as z, ca as G, t as x, bW as W, aP as U, bs as F, cb as H, bj as J, W as _, cc as K, bF as Q, y as Z, cd as X, M as Y, N as ee } from "./index.js";
|
|
8
8
|
import { l as te, q as ie } from "./index3.js";
|
|
9
|
-
import { i as
|
|
9
|
+
import { i as I, a as h, D as re } from "./index2.js";
|
|
10
10
|
import { g as S } from "./series-types.js";
|
|
11
11
|
import { a as p, o as ne, d as ae } from "./chart-object-literals.js";
|
|
12
12
|
import { d as oe } from "./rest-js-object-literals.js";
|
|
@@ -10858,7 +10858,7 @@ function O(t, r) {
|
|
|
10858
10858
|
function j(t) {
|
|
10859
10859
|
const r = /* @__PURE__ */ new Set(), e = H(t);
|
|
10860
10860
|
if (e) {
|
|
10861
|
-
const i = S(t.series), n =
|
|
10861
|
+
const i = S(t.series), n = v(t.series);
|
|
10862
10862
|
i === p.GaugeSeries && !J(t) || n === h.PieFromFields || n === h.BarAndLineFromFields || n === h.BoxPlotC1MonoField || n === h.BoxPlotC2MultiFields || n === h.BoxPlotC5MonoFieldAndSplitBy || n === h.BoxPlotC6MultiFieldsAndSplitBy || r.add(e.x);
|
|
10863
10863
|
const d = i === p.ScatterSeries || i === p.BoxPlotSeries || i === p.HeatSeries || n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation || n === h.PieNoAggregation, l = [
|
|
10864
10864
|
te,
|
|
@@ -10888,7 +10888,7 @@ function j(t) {
|
|
|
10888
10888
|
r.delete(o);
|
|
10889
10889
|
});
|
|
10890
10890
|
}
|
|
10891
|
-
return Array.from(r.values()).filter((i) => !
|
|
10891
|
+
return Array.from(r.values()).filter((i) => !I(i));
|
|
10892
10892
|
}
|
|
10893
10893
|
function pe(t) {
|
|
10894
10894
|
const { chartConfig: r, queryObject: e, errorStrings: i } = t;
|
|
@@ -10972,7 +10972,7 @@ function xe(t) {
|
|
|
10972
10972
|
}
|
|
10973
10973
|
case p.PieSeries: {
|
|
10974
10974
|
const i = t?.series;
|
|
10975
|
-
|
|
10975
|
+
v(i) === h.PieFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.length ?? 0) === 0 || i?.[0]?.x === T;
|
|
10976
10976
|
break;
|
|
10977
10977
|
}
|
|
10978
10978
|
case p.BoxPlotSeries: {
|
|
@@ -10985,11 +10985,11 @@ function xe(t) {
|
|
|
10985
10985
|
case p.BarSeries:
|
|
10986
10986
|
case p.LineSeries: {
|
|
10987
10987
|
const i = t?.series;
|
|
10988
|
-
|
|
10988
|
+
v(i) === h.BarAndLineFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.trim()?.length ?? 0) === 0;
|
|
10989
10989
|
break;
|
|
10990
10990
|
}
|
|
10991
10991
|
case p.HeatSeries: {
|
|
10992
|
-
const i = t?.series, n =
|
|
10992
|
+
const i = t?.series, n = I(i?.[0]?.x) || I(i?.[0]?.y), a = t !== void 0 && V(t) ? !1 : i?.[0]?.xTemporalBinning === void 0;
|
|
10993
10993
|
e = n || a;
|
|
10994
10994
|
break;
|
|
10995
10995
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { fetchT9nStringsBundle as
|
|
3
|
-
import { getElementLocale as
|
|
4
|
-
import { g as
|
|
5
|
-
import { convertChartSpec as
|
|
6
|
-
import { a6 as
|
|
7
|
-
import {
|
|
8
|
-
import { cloneDeep as
|
|
2
|
+
import { fetchT9nStringsBundle as g } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { getElementLocale as l } from "@arcgis/toolkit/intl/dom";
|
|
4
|
+
import { g as m } from "./runtime.js";
|
|
5
|
+
import { convertChartSpec as y } from "../utils/chart-config/converter/index.js";
|
|
6
|
+
import { a6 as p } from "./index3.js";
|
|
7
|
+
import { bI as o, bd as u, t as _, r as C } from "./index.js";
|
|
8
|
+
import { cloneDeep as U } from "es-toolkit/compat";
|
|
9
9
|
const h = 30;
|
|
10
|
-
function
|
|
10
|
+
function v(r, e, t, i) {
|
|
11
11
|
const s = h - 1, n = Math.max(r - s, 0);
|
|
12
12
|
if (i === void 0 && (i = r - 1), !(i < n || i > r))
|
|
13
13
|
return i === r ? e : t[i - n];
|
|
14
14
|
}
|
|
15
|
-
class
|
|
15
|
+
class x extends EventTarget {
|
|
16
16
|
/**
|
|
17
17
|
* @param args
|
|
18
18
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
@@ -22,7 +22,7 @@ class A extends EventTarget {
|
|
|
22
22
|
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
23
23
|
this.resolveSetup = t;
|
|
24
24
|
}), this.emitConfigUpdate = (t) => {
|
|
25
|
-
this._revision += 1, this._configHistory.push(
|
|
25
|
+
this._revision += 1, this._configHistory.push(U(this._config)), this._configHistory.length > h && this._configHistory.shift(), this.dispatchEvent(
|
|
26
26
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
27
27
|
detail: { config: this._config, setterName: t }
|
|
28
28
|
})
|
|
@@ -49,7 +49,7 @@ class A extends EventTarget {
|
|
|
49
49
|
* If no `configRevision` number is provided, it recalls the last configuration just before the current one.
|
|
50
50
|
*/
|
|
51
51
|
recall(e) {
|
|
52
|
-
return
|
|
52
|
+
return v(this._revision, this._config, this._configHistory, e);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
@@ -77,23 +77,23 @@ class A extends EventTarget {
|
|
|
77
77
|
* @private
|
|
78
78
|
*/
|
|
79
79
|
async loadConfigFromLayer(e) {
|
|
80
|
-
const { layer: t, iLayer: i, config: s, commonStrings: n } = e;
|
|
81
|
-
this.commonStrings = n ?? await
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
const { layer: t, iLayer: i, config: s, commonStrings: n, chartLimits: d } = e;
|
|
81
|
+
this._chartLimits = d, this.commonStrings = n ?? await g(
|
|
82
|
+
l(document.documentElement).t9nLocale,
|
|
83
|
+
m("./assets/common/t9n"),
|
|
84
84
|
"messages."
|
|
85
85
|
);
|
|
86
86
|
let a = t;
|
|
87
87
|
if (!a && i ? a = await o(i) : !a && s?.iLayer && (a = await o(s.iLayer)), a) {
|
|
88
|
-
await
|
|
89
|
-
const
|
|
88
|
+
await u(a);
|
|
89
|
+
const c = _(a, !0), f = C(a).idField;
|
|
90
90
|
this.layerInfo = {
|
|
91
91
|
layer: a,
|
|
92
|
-
layerFieldsInfo:
|
|
93
|
-
objectIdField:
|
|
92
|
+
layerFieldsInfo: c,
|
|
93
|
+
objectIdField: f
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
this._config = s ? await
|
|
96
|
+
this._config = s ? await y(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = p().title), i && (this._config.iLayer = i);
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
@@ -126,8 +126,8 @@ function H(r, e, t) {
|
|
|
126
126
|
}), t;
|
|
127
127
|
}
|
|
128
128
|
export {
|
|
129
|
-
|
|
129
|
+
x as C,
|
|
130
130
|
h as M,
|
|
131
131
|
H as m,
|
|
132
|
-
|
|
132
|
+
v as r
|
|
133
133
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as k, b as S, s as b, a as v } from "./series.js";
|
|
3
3
|
import { n } from "./index3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c6 as i, c7 as o } from "./index.js";
|
|
5
5
|
import { C as y, m as h } from "./model-setter.js";
|
|
6
6
|
const l = (s) => {
|
|
7
7
|
const { config: e, seriesIndex: a, callback: t } = s;
|