@arcgis/charts-components 5.2.0-next.55 → 5.2.0-next.56
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/{INVFC7O3.js → 2B7R5EPU.js} +1 -1
- package/dist/cdn/{WFYCP7JZ.js → 2DHUAIBZ.js} +1 -1
- package/dist/cdn/{PBSYMRFA.js → 2EDBRZSQ.js} +1 -1
- package/dist/cdn/2ULHNXRJ.js +2 -0
- package/dist/cdn/37UC5ORG.js +2 -0
- package/dist/cdn/{TRSLIVPM.js → 3MGWFTQH.js} +1 -1
- package/dist/cdn/{LLIEB6MK.js → 3Z4FG2HV.js} +1 -1
- package/dist/cdn/{SY4SHDWL.js → 4B5XCGIW.js} +1 -1
- package/dist/cdn/{35POTOZQ.js → 4L2YTJ24.js} +1 -1
- package/dist/cdn/{VQOWMMEN.js → 4MQOMRB6.js} +1 -1
- package/dist/cdn/{AMXNDR4I.js → 4PMNY6J6.js} +1 -1
- package/dist/cdn/{L3TXFMLX.js → 4SFDTXQJ.js} +1 -1
- package/dist/cdn/{R5FNLYC5.js → 53DFPXFT.js} +1 -1
- package/dist/cdn/{4JIJUMOJ.js → 5GXB34LE.js} +1 -1
- package/dist/cdn/{YQS2EQHT.js → 5PAOUYHV.js} +2 -2
- package/dist/cdn/{5IVUWORQ.js → 5WIDEL4K.js} +1 -1
- package/dist/cdn/{MQCPDAMM.js → 6HFL4FZL.js} +1 -1
- package/dist/cdn/{ZX2RKC3N.js → 6Z7SZ44K.js} +1 -1
- package/dist/cdn/7IK6J5VF.js +2 -0
- package/dist/cdn/{3GU4G523.js → A34ROM33.js} +1 -1
- package/dist/cdn/A6QLIVFM.js +45 -0
- package/dist/cdn/{XXTJGAQH.js → ALOMPW5P.js} +1 -1
- package/dist/cdn/{KFHPKJAT.js → BGTNSGMQ.js} +1 -1
- package/dist/cdn/{Y3JE7LSY.js → BM62ZXFE.js} +1 -1
- package/dist/cdn/{N5DFUGTU.js → BNBZEIMG.js} +1 -1
- package/dist/cdn/{PLSATV5N.js → C3YMGEUW.js} +1 -1
- package/dist/cdn/{SOQRI6W2.js → C64W7ELG.js} +1 -1
- package/dist/cdn/{4HW6IYHV.js → CB6BIIF2.js} +1 -1
- package/dist/cdn/{NENBP3B4.js → CD2NGAV3.js} +1 -1
- package/dist/cdn/{PD73QWUT.js → CPRSIFTK.js} +1 -1
- package/dist/cdn/{5LFGIBZK.js → DRHDCMI3.js} +1 -1
- package/dist/cdn/{GGKKUTRH.js → DTNHSQRD.js} +1 -1
- package/dist/cdn/DUAMGCAK.js +2 -0
- package/dist/cdn/{Z726E2GN.js → E4T5VUXT.js} +1 -1
- package/dist/cdn/EDYZLWGW.js +3 -0
- package/dist/cdn/{ZLUIQN7F.js → EKWX6BR7.js} +1 -1
- package/dist/cdn/{AB6TCMRN.js → EQXKSMAG.js} +1 -1
- package/dist/cdn/{Q4CX7PBA.js → EZ6DGROJ.js} +1 -1
- package/dist/cdn/{DMRE2GYB.js → F64XESDA.js} +1 -1
- package/dist/cdn/{BJJJ62EE.js → FJPWWKHZ.js} +1 -1
- package/dist/cdn/{WBEI523H.js → FQ6B5P53.js} +1 -1
- package/dist/cdn/{7FUBB222.js → G5DDARQJ.js} +1 -1
- package/dist/cdn/G5FTVXQF.js +2 -0
- package/dist/cdn/{SEORO35X.js → GHTCOHC2.js} +1 -1
- package/dist/cdn/{3OOV2HEE.js → GSD4ZLN6.js} +1 -1
- package/dist/cdn/{PNV7XBIH.js → GVUHKCSZ.js} +1 -1
- package/dist/cdn/GXGUKV7H.js +2 -0
- package/dist/cdn/{223CX3CX.js → HDCSZ2BJ.js} +2 -2
- package/dist/cdn/{2X3OAYNV.js → I6LYDJKQ.js} +1 -1
- package/dist/cdn/{BSZZXXQG.js → IDAMYFLT.js} +1 -1
- package/dist/cdn/{43ZZWFUB.js → IH2BBWAQ.js} +1 -1
- package/dist/cdn/{BPBAOPSD.js → J4C4QWY4.js} +1 -1
- package/dist/cdn/{WXQ6S6Z3.js → JXZJXDU5.js} +3 -3
- package/dist/cdn/{GGJZNR3O.js → JYROXMJN.js} +1 -1
- package/dist/cdn/{RQTGZRZH.js → KI2XMATI.js} +1 -1
- package/dist/cdn/{DY5EFYIC.js → LDBJRKCM.js} +1 -1
- package/dist/cdn/{6EEZMNAM.js → LOEMTYZB.js} +1 -1
- package/dist/cdn/M5K6IJLD.js +2 -0
- package/dist/cdn/{B45AW3O4.js → M7ZANON3.js} +1 -1
- package/dist/cdn/{LS6GKMWR.js → MCJTQ4YF.js} +1 -1
- package/dist/cdn/{VW22WSUU.js → MEQOANO2.js} +1 -1
- package/dist/cdn/MLA3N4MI.js +2 -0
- package/dist/cdn/{REPRW5PP.js → MR7KELUF.js} +1 -1
- package/dist/cdn/{ZREU3AFM.js → MY2W3RH7.js} +1 -1
- package/dist/cdn/{2IKZFZUE.js → MYK7BBLS.js} +1 -1
- package/dist/cdn/{ZFN2VAFO.js → N7D4B5LO.js} +1 -1
- package/dist/cdn/{ZB7AKPZU.js → NFU76HOO.js} +1 -1
- package/dist/cdn/{3LMD4KUV.js → NZVEN4LR.js} +1 -1
- package/dist/cdn/{QUNHRC77.js → OEYB3NZZ.js} +1 -1
- package/dist/cdn/{OL47BPWN.js → OKK5OJ6S.js} +1 -1
- package/dist/cdn/{KLS66MBI.js → OS5TUH4X.js} +1 -1
- package/dist/cdn/PHUJHKPW.js +2 -0
- package/dist/cdn/{R3RNZJIN.js → PXTV6Y3K.js} +1 -1
- package/dist/cdn/{FIL44WXR.js → QMJ75W7D.js} +1 -1
- package/dist/cdn/{CA5SZB65.js → QRJMT2DB.js} +1 -1
- package/dist/cdn/{RSSVWJA5.js → RKGAXZQB.js} +1 -1
- package/dist/cdn/{GGPWJTK3.js → RP2TRPHY.js} +1 -1
- package/dist/cdn/{N7NVDG4G.js → TT6WOAKC.js} +1 -1
- package/dist/cdn/{KVDM5PYB.js → UGOWEOTC.js} +1 -1
- package/dist/cdn/{JR4SQQU4.js → UIU5UYBO.js} +1 -1
- package/dist/cdn/{F2LCVAD2.js → UYQBMPSN.js} +1 -1
- package/dist/cdn/V23GYHYZ.js +2 -0
- package/dist/cdn/{FZNNCU2C.js → VPJVWP7S.js} +1 -1
- package/dist/cdn/{3DIYOKPZ.js → XWJ4GDXQ.js} +1 -1
- package/dist/cdn/{SPQDPL7T.js → ZAAMSMQB.js} +1 -1
- package/dist/cdn/{6L6HZOZD.js → ZCACFAKY.js} +1 -1
- package/dist/cdn/{MQYXT4ZE.js → ZKZOXEXY.js} +1 -1
- package/dist/cdn/{3GSTHSH7.js → ZMBNBTJQ.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 +0 -5
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +25 -33
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/box-plot-data.js +19 -19
- package/dist/chunks/box-plot-model.js +16 -16
- package/dist/chunks/chart-model.js +9 -9
- package/dist/chunks/combo-bar-line-chart-model.js +7 -7
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +19 -19
- package/dist/chunks/data.js +5 -5
- package/dist/chunks/gauge-model.js +13 -13
- package/dist/chunks/heat-chart-model.js +7 -7
- package/dist/chunks/histogram-data.js +26 -26
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +174 -165
- package/dist/chunks/index2.js +1814 -1730
- package/dist/chunks/index3.js +17 -19
- package/dist/chunks/index4.js +29 -2
- package/dist/chunks/line-chart-model.js +4 -4
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +23 -23
- package/dist/chunks/negative-values-stacked-to-baseline.js +12 -12
- package/dist/chunks/pie-chart-data.js +14 -14
- package/dist/chunks/pie-chart-model.js +17 -17
- package/dist/chunks/radar-chart-model.js +4 -4
- package/dist/chunks/scatterplot-model.js +13 -13
- package/dist/chunks/serial-chart-data.js +2 -2
- package/dist/chunks/serial-chart-model.js +18 -18
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/utils.js +13 -13
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +11 -11
- package/dist/chunks/x-bounds.js +15 -15
- package/dist/components/arcgis-chart/customElement.js +4541 -4668
- package/dist/components/arcgis-charts-action-bar/customElement.js +32 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/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-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/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-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/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 +6 -6
- 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 +459 -457
- package/dist/json-schema/index.d.ts +22 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -1
- package/dist/spec/data-source.d.ts +8 -1
- package/dist/utils/chart-config/converter/index.js +40 -40
- package/dist/utils/chart-config/utils/index.d.ts +2 -2
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +8 -1
- package/dist/utils/defaults/interfaces.d.ts +6 -1
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/package.json +4 -4
- package/dist/cdn/47ZP4C6W.js +0 -2
- package/dist/cdn/B7UPRHNP.js +0 -2
- package/dist/cdn/FDXN5BIJ.js +0 -2
- package/dist/cdn/LCDVDWAP.js +0 -2
- package/dist/cdn/LVOIKCIC.js +0 -45
- package/dist/cdn/PAN7QMBU.js +0 -3
- package/dist/cdn/QCVMEX4J.js +0 -2
- package/dist/cdn/RY5RNGN5.js +0 -2
- package/dist/cdn/TUBHNDX5.js +0 -2
- package/dist/cdn/UUG5P5AP.js +0 -2
- package/dist/cdn/WCPUB3NR.js +0 -2
- package/dist/cdn/YST2TFPV.js +0 -2
- /package/dist/cdn/{HRUQXEFI.js → 22WGB4CQ.js} +0 -0
- /package/dist/cdn/{C4O77AVT.js → 3CGAUDYD.js} +0 -0
- /package/dist/cdn/{K25GJKPH.js → 3FZCVKWJ.js} +0 -0
- /package/dist/cdn/{4ASVJDBN.js → 3GVTYZ2I.js} +0 -0
- /package/dist/cdn/{RTVU7ANC.js → 4EBMUPEV.js} +0 -0
- /package/dist/cdn/{OZSAA5YQ.js → 4VL2SBHK.js} +0 -0
- /package/dist/cdn/{Q3ZQR5JF.js → 7WVTY3XI.js} +0 -0
- /package/dist/cdn/{VEXNULZX.js → A2NFOGT2.js} +0 -0
- /package/dist/cdn/{SWEIMWH2.js → ASZ6YFIL.js} +0 -0
- /package/dist/cdn/{7CGAXWPM.js → AZKX3FMB.js} +0 -0
- /package/dist/cdn/{O25MQAZU.js → AZMQPJO3.js} +0 -0
- /package/dist/cdn/{6RG6AF7N.js → CDJRYMBP.js} +0 -0
- /package/dist/cdn/{ZCAHK6VZ.js → CHMLTTRN.js} +0 -0
- /package/dist/cdn/{BAPR67OA.js → CL5G6D6W.js} +0 -0
- /package/dist/cdn/{WWIRRYDD.js → CMGCZ4MF.js} +0 -0
- /package/dist/cdn/{Q5E66RNY.js → CVJSVWF3.js} +0 -0
- /package/dist/cdn/{MDPDU2BA.js → D3KIBJKD.js} +0 -0
- /package/dist/cdn/{GZZJATH3.js → DJPMW6UC.js} +0 -0
- /package/dist/cdn/{2R5BXKVB.js → EXS2KOEA.js} +0 -0
- /package/dist/cdn/{ZYK5XBZK.js → GP3LPIRJ.js} +0 -0
- /package/dist/cdn/{57VIC2YX.js → HBOYEK6P.js} +0 -0
- /package/dist/cdn/{GEHO65XE.js → HQMOMCWF.js} +0 -0
- /package/dist/cdn/{7MEYUIY2.js → HSQ32NUA.js} +0 -0
- /package/dist/cdn/{DGJATKEL.js → IUOORM26.js} +0 -0
- /package/dist/cdn/{R6XIGSQS.js → JZ5HUNM5.js} +0 -0
- /package/dist/cdn/{RLCLIRL6.js → KOCZJFY6.js} +0 -0
- /package/dist/cdn/{XVK4ONRA.js → LHDBHPXR.js} +0 -0
- /package/dist/cdn/{YS73YUW5.js → MVCB4RM7.js} +0 -0
- /package/dist/cdn/{TQLMPVI5.js → MZ2RZ62O.js} +0 -0
- /package/dist/cdn/{F7IPTEHX.js → OSUM4CWA.js} +0 -0
- /package/dist/cdn/{AFE4UMQE.js → PAQGR4DD.js} +0 -0
- /package/dist/cdn/{HWHKCIYW.js → PEEVY5UG.js} +0 -0
- /package/dist/cdn/{XWLP2CHH.js → TGEHTOWR.js} +0 -0
- /package/dist/cdn/{3UDKG6TV.js → TSSN2OW3.js} +0 -0
- /package/dist/cdn/{L5J4TYCU.js → UB36FUCN.js} +0 -0
- /package/dist/cdn/{JEW6MSOC.js → V7AEHY25.js} +0 -0
- /package/dist/cdn/{JNFMKAES.js → VNNTABNO.js} +0 -0
- /package/dist/cdn/{X6QMN2HV.js → VT6X6QMA.js} +0 -0
- /package/dist/cdn/{R6T7WJQJ.js → WKQB6Z7Z.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as p, s as b, a as _, b as L, W as u } from "./rounded-corners.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as k, a as C, e as v, b as M, f as z, s as O, h as B, c as V, i as
|
|
4
|
+
import { g as k, a as C, e as v, b as M, f as z, s as O, h as B, c as V, i as A, d as D, j as F, k as H, n as W, o as d, p as j, q as P, r as T, W as w } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as N, s as q } from "./serial-chart-model.js";
|
|
6
6
|
import { h as R } from "./utils.js";
|
|
7
7
|
import { u as S } from "./chart-object-literals.js";
|
|
8
|
-
import { j as
|
|
9
|
-
import {
|
|
8
|
+
import { j as $, g as l, i as g } from "./index5.js";
|
|
9
|
+
import { z as E, A as y, $ as m } from "./index.js";
|
|
10
10
|
import { an as f } from "./index2.js";
|
|
11
11
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
|
12
12
|
for (var t = J(e, i), r = c.length - 1, h; r >= 0; r--)
|
|
@@ -18,7 +18,7 @@ class o extends N {
|
|
|
18
18
|
super(...arguments), this._chartType = S.ComboLineAndBarSeries;
|
|
19
19
|
}
|
|
20
20
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (
|
|
21
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && ($(e.config?.series) && this.initDefaultSeries(), this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
22
|
}
|
|
23
23
|
// ---------------------------------------------------------------------------------------------
|
|
24
24
|
// Protected Methods
|
|
@@ -137,11 +137,11 @@ class o extends N {
|
|
|
137
137
|
* @param seriesIndex - The index of the series.
|
|
138
138
|
*/
|
|
139
139
|
getSeriesMarkerSize(e) {
|
|
140
|
-
return
|
|
140
|
+
return A(e, this._config);
|
|
141
141
|
}
|
|
142
142
|
setSeriesMarkerSize(e, i) {
|
|
143
143
|
const s = this._config.series?.[i];
|
|
144
|
-
l(s) &&
|
|
144
|
+
l(s) && D(e, i, this._config);
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -149,7 +149,7 @@ class o extends N {
|
|
|
149
149
|
* @param seriesIndex - The index of the series.
|
|
150
150
|
*/
|
|
151
151
|
isLineSmoothed(e) {
|
|
152
|
-
return
|
|
152
|
+
return F(e, this._config);
|
|
153
153
|
}
|
|
154
154
|
setLineSmoothed(e, i) {
|
|
155
155
|
const s = this._config.series?.[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { cloneDeep as m } from "lodash-es";
|
|
3
3
|
import { C as L, m as d } from "./model-setter.js";
|
|
4
|
-
import {
|
|
4
|
+
import { H as p, T as l, M as v } from "./index.js";
|
|
5
5
|
var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
|
|
6
6
|
for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
|
|
7
7
|
(i = e[o]) && (s = i(t, a, s) || s);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as h } from "./chart-model.js";
|
|
3
3
|
import { k as y } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
4
|
+
import { X as d, H as b, T as r, M as v } from "./index.js";
|
|
5
5
|
import { m as o, C as f } from "./model-setter.js";
|
|
6
6
|
const L = (t) => {
|
|
7
7
|
let e = !1;
|
|
8
8
|
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
9
9
|
}, u = (t, e) => {
|
|
10
10
|
e.legend === void 0 && (e.legend = d()), e.legend.visible = t;
|
|
11
|
-
}, x = (t) => t.legend?.title?.content,
|
|
11
|
+
}, x = (t) => t.legend?.title?.content, M = (t, e) => {
|
|
12
12
|
e.legend === void 0 && (e.legend = d()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = b({
|
|
13
13
|
text: "",
|
|
14
14
|
visible: !0,
|
|
15
15
|
font: v(r.LegendTitle),
|
|
16
16
|
type: r.LegendTitle
|
|
17
17
|
})), t !== void 0 && (e.legend.title.content = t);
|
|
18
|
-
},
|
|
18
|
+
}, D = (t) => t.legend?.body, V = (t, e) => {
|
|
19
19
|
e.legend === void 0 && (e.legend = d()), e.legend.body = t ?? b({
|
|
20
20
|
text: "",
|
|
21
21
|
visible: !0,
|
|
@@ -118,13 +118,13 @@ class g extends h {
|
|
|
118
118
|
return x(this._config);
|
|
119
119
|
}
|
|
120
120
|
set legendTitleSymbol(e) {
|
|
121
|
-
|
|
121
|
+
M(e, this._config);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Legend item text symbol (font, color, style).
|
|
125
125
|
*/
|
|
126
126
|
get legendTextSymbol() {
|
|
127
|
-
return
|
|
127
|
+
return D(this._config);
|
|
128
128
|
}
|
|
129
129
|
set legendTextSymbol(e) {
|
|
130
130
|
V(e, this._config);
|
|
@@ -176,15 +176,15 @@ const k = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, E = (t, e, i)
|
|
|
176
176
|
i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((p) => {
|
|
177
177
|
p.dataTooltipVisible = e;
|
|
178
178
|
});
|
|
179
|
-
},
|
|
179
|
+
}, B = (t, e) => t.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, F = (t, e, i) => {
|
|
180
180
|
i && t.series?.[i] ? t.series[i].dataTooltipReverseColor = e : t.series && t.series.forEach((p) => {
|
|
181
181
|
p.dataTooltipReverseColor = e;
|
|
182
182
|
});
|
|
183
183
|
};
|
|
184
|
-
var
|
|
185
|
-
for (var l =
|
|
184
|
+
var X = Object.defineProperty, q = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
|
|
185
|
+
for (var l = q(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
186
186
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
187
|
-
return l &&
|
|
187
|
+
return l && X(e, i, l), l;
|
|
188
188
|
};
|
|
189
189
|
class _ extends h {
|
|
190
190
|
/**
|
|
@@ -208,10 +208,10 @@ class _ extends h {
|
|
|
208
208
|
* @param seriesIndex - The index of the series.
|
|
209
209
|
*/
|
|
210
210
|
getDataTooltipReverseColor(e) {
|
|
211
|
-
return
|
|
211
|
+
return B(this._config, e);
|
|
212
212
|
}
|
|
213
213
|
setDataTooltipReverseColor(e, i) {
|
|
214
|
-
|
|
214
|
+
F(this._config, e, i);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
T([
|
|
@@ -220,12 +220,12 @@ T([
|
|
|
220
220
|
T([
|
|
221
221
|
o
|
|
222
222
|
], _.prototype, "setDataTooltipReverseColor");
|
|
223
|
-
var
|
|
224
|
-
for (var l =
|
|
223
|
+
var z = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (t, e, i, p) => {
|
|
224
|
+
for (var l = A(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
225
225
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
226
|
-
return l &&
|
|
226
|
+
return l && z(e, i, l), l;
|
|
227
227
|
};
|
|
228
|
-
const
|
|
228
|
+
const J = (t) => t.colorMatch ?? !0, K = (t, e) => {
|
|
229
229
|
e.colorMatch = t;
|
|
230
230
|
};
|
|
231
231
|
class N extends f {
|
|
@@ -236,17 +236,17 @@ class N extends f {
|
|
|
236
236
|
* `false`: Use the colors defined in the config.
|
|
237
237
|
*/
|
|
238
238
|
get colorMatch() {
|
|
239
|
-
return
|
|
239
|
+
return J(this._config);
|
|
240
240
|
}
|
|
241
241
|
set colorMatch(e) {
|
|
242
242
|
K(e, this._config);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
|
|
245
|
+
G([
|
|
246
246
|
o
|
|
247
247
|
], N.prototype, "colorMatch");
|
|
248
|
-
var Q = Object.defineProperty,
|
|
249
|
-
for (var l =
|
|
248
|
+
var Q = Object.defineProperty, U = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
|
|
249
|
+
for (var l = U(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
250
250
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
251
251
|
return l && Q(e, i, l), l;
|
|
252
252
|
};
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import { N as x, k as B, m as L,
|
|
3
|
+
import { N as x, k as B, m as L, cU as $, Y as N, an as I, af as H, ax as P, l as _, n as U } from "./index2.js";
|
|
4
4
|
import { g as F } from "./series-types.js";
|
|
5
|
-
import { H as A, S as o, P as
|
|
5
|
+
import { H as A, S as o, P as v } from "./common.js";
|
|
6
6
|
import { p as l, n, u as d, r as g } from "./chart-object-literals.js";
|
|
7
|
-
import { C as
|
|
7
|
+
import { C as M } from "./index3.js";
|
|
8
8
|
import { g as W } from "./index.js";
|
|
9
9
|
import { d as Y } from "./type-guards.js";
|
|
10
10
|
function k(e, r) {
|
|
@@ -77,7 +77,7 @@ const E = (e) => {
|
|
|
77
77
|
let p = "y", C = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ? y ===
|
|
80
|
+
i !== g.NoAggregation ? y === v.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), C = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = U : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -90,7 +90,7 @@ const E = (e) => {
|
|
|
90
90
|
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === M.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], C = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
95
|
const m = t[0];
|
|
96
96
|
p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, C = f ? u(g.Count) : u(`${i} of ${m}`);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { u as c, G as S, r as x } from "./chart-object-literals.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as d, H as b, ak as _, P as m, N as I } from "./index.js";
|
|
4
4
|
import { an as C } from "./index2.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
8
8
|
import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
|
|
9
9
|
import { W as F, c as D, d as B } from "./generate-x-axis-title.js";
|
|
10
|
-
import { W as E, a as
|
|
11
|
-
import { g as N, h as
|
|
12
|
-
const
|
|
10
|
+
import { W as E, a as P } from "./x-bounds.js";
|
|
11
|
+
import { g as N, h as w } from "./utils.js";
|
|
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;
|
|
@@ -17,13 +17,13 @@ const w = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
17
17
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
18
18
|
}, $ = (t) => t.axes[0].needle?.endWidth, j = (t, e) => {
|
|
19
19
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
20
|
-
}, q = (t) => t.axes[0].needle?.innerRadius,
|
|
20
|
+
}, q = (t) => t.axes[0].needle?.innerRadius, H = (t, e) => {
|
|
21
21
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
22
22
|
}, Q = (t) => t.axes[0].needle?.displayPin ?? !1, Y = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
|
-
}, z = (t) => t.axes[0].innerLabel?.visible ?? !0,
|
|
24
|
+
}, z = (t) => t.axes[0].innerLabel?.visible ?? !0, J = (t, e) => {
|
|
25
25
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
26
|
-
},
|
|
26
|
+
}, K = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
27
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
28
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
29
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
@@ -221,7 +221,7 @@ class i extends L {
|
|
|
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);
|
|
@@ -268,7 +268,7 @@ class i extends L {
|
|
|
268
268
|
return q(this._config);
|
|
269
269
|
}
|
|
270
270
|
set needleInnerRadius(e) {
|
|
271
|
-
|
|
271
|
+
H(e, this._config);
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
274
|
* Whether to display the pin for the gauge's needle.
|
|
@@ -286,7 +286,7 @@ class i extends L {
|
|
|
286
286
|
return z(this._config);
|
|
287
287
|
}
|
|
288
288
|
set innerLabelVisible(e) {
|
|
289
|
-
|
|
289
|
+
J(e, this._config);
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
292
|
* Content symbol for the inner label.
|
|
@@ -300,7 +300,7 @@ class i extends L {
|
|
|
300
300
|
* ```
|
|
301
301
|
*/
|
|
302
302
|
get innerLabelContent() {
|
|
303
|
-
return
|
|
303
|
+
return K(this._config);
|
|
304
304
|
}
|
|
305
305
|
set innerLabelContent(e) {
|
|
306
306
|
U(e, this._config);
|
|
@@ -438,14 +438,14 @@ const Le = [
|
|
|
438
438
|
F,
|
|
439
439
|
E,
|
|
440
440
|
D,
|
|
441
|
-
|
|
441
|
+
P,
|
|
442
442
|
A,
|
|
443
443
|
W,
|
|
444
444
|
V,
|
|
445
445
|
B,
|
|
446
446
|
T
|
|
447
447
|
];
|
|
448
|
-
|
|
448
|
+
w(i, Le);
|
|
449
449
|
export {
|
|
450
450
|
i as GaugeModel
|
|
451
451
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as S } from "./serial-chart-model.js";
|
|
5
|
-
import { F as C, G as T, H as A, I as F, J as O, K as x, L, M as R, N as D, O as I, P as v, Q as w, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as
|
|
5
|
+
import { F as C, G as T, H as A, I as F, J as O, K as x, L, M as R, N as D, O as I, P as v, Q as w, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Q, a7 as Z, a8 as c, a9 as m, aa as q, ab as z, ac as J, ad as $, ae as ee, af as te, z as y, ag as ie, ah as se, ai as re, aj as oe, ak as ne, al as ae, am as ge, an as le } from "./serial-chart-data.js";
|
|
6
6
|
import { d } from "./data.js";
|
|
7
7
|
import { u as pe, r as f } from "./chart-object-literals.js";
|
|
8
|
-
import {
|
|
8
|
+
import { Q as ce } from "./index.js";
|
|
9
9
|
import { an as h } from "./index2.js";
|
|
10
10
|
import { q as me } from "./index3.js";
|
|
11
11
|
var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
@@ -250,12 +250,12 @@ class s extends u {
|
|
|
250
250
|
* Heat chart only supports one numeric field, if there are multiple numeric fields provided in the array, only the first one will be used and the rest will be ignored.
|
|
251
251
|
*/
|
|
252
252
|
get numericFields() {
|
|
253
|
-
const e =
|
|
253
|
+
const e = Q(this._config);
|
|
254
254
|
return e !== void 0 ? [e] : [];
|
|
255
255
|
}
|
|
256
256
|
set numericFields(e) {
|
|
257
257
|
const { idField: r } = h(this.layerInfo.layer), a = me(e[0]), n = a ? r : e[0];
|
|
258
|
-
|
|
258
|
+
Z({
|
|
259
259
|
field: n,
|
|
260
260
|
config: this._config,
|
|
261
261
|
layerInfo: this.layerInfo,
|
|
@@ -293,13 +293,13 @@ class s extends u {
|
|
|
293
293
|
set splitByField(e) {
|
|
294
294
|
}
|
|
295
295
|
get legendPosition() {
|
|
296
|
-
return
|
|
296
|
+
return q(this._config);
|
|
297
297
|
}
|
|
298
298
|
set legendPosition(e) {
|
|
299
|
-
|
|
299
|
+
z(e, this._config);
|
|
300
300
|
}
|
|
301
301
|
get nullPolicy() {
|
|
302
|
-
return
|
|
302
|
+
return J(this._config);
|
|
303
303
|
}
|
|
304
304
|
set nullPolicy(e) {
|
|
305
305
|
$(e, this._config);
|
|
@@ -4,53 +4,53 @@ import { u as O, s as l } from "./utils.js";
|
|
|
4
4
|
import { b as M } from "./series-length.js";
|
|
5
5
|
import { g as C } from "./utils2.js";
|
|
6
6
|
import { g as A } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { U as i, a0 as n, S as y, a3 as r } from "./index.js";
|
|
8
8
|
import { d as m } from "./index3.js";
|
|
9
9
|
import { i as h } from "./index4.js";
|
|
10
10
|
const v = (s) => {
|
|
11
11
|
l({ config: s, value: null, axisIndex: 0, isMax: !1 }), l({ config: s, value: null, axisIndex: 0, isMax: !0 }), l({ config: s, value: null, axisIndex: 1, isMax: !1 }), l({ config: s, value: null, axisIndex: 1, isMax: !0 });
|
|
12
12
|
};
|
|
13
13
|
function u(s, e, a) {
|
|
14
|
-
const { layerFieldsInfo: t } = e, o = m(t,
|
|
14
|
+
const { layerFieldsInfo: t } = e, o = m(t, S(s));
|
|
15
15
|
return T(a.titleLabels.distributionOfField, { valueField: o });
|
|
16
16
|
}
|
|
17
|
-
const
|
|
18
|
-
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t,
|
|
17
|
+
const S = (s) => s.series[0]?.x ?? "", z = (s) => {
|
|
18
|
+
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t, c = u(a, t, o), D = M(a), p = C(0, a), x = m(d, S(a)), b = h(a);
|
|
19
19
|
if (v(a), a?.series?.[0] && (a.series[0].x = e), x === p || b) {
|
|
20
20
|
const f = m(d, e);
|
|
21
21
|
O(a, 0, f);
|
|
22
22
|
}
|
|
23
|
-
a.title && (
|
|
24
|
-
},
|
|
23
|
+
a.title && (c === D || b) && (a.title.content.text = u(a, t, o));
|
|
24
|
+
}, U = (s) => s.series[0]?.dataTransformationType ?? A.None, W = (s, e) => {
|
|
25
25
|
v(e), e?.series?.[0] && (e.series[0].dataTransformationType = s);
|
|
26
|
-
},
|
|
26
|
+
}, E = (s) => s.series[0]?.binCount ?? 32, G = (s, e) => {
|
|
27
27
|
v(e), e?.series?.[0] && (e.series[0].binCount = s);
|
|
28
|
-
},
|
|
28
|
+
}, J = (s) => s.series[0]?.fillSymbol ?? i().fillSymbol, K = (s, e) => {
|
|
29
29
|
e?.series?.[0] && (e.series[0].fillSymbol = {
|
|
30
30
|
...e.series[0].fillSymbol,
|
|
31
31
|
...s
|
|
32
32
|
});
|
|
33
|
-
}, F = (s) => s.series[0]?.overlays?.comparisonDistribution?.symbol ?? i().overlays.comparisonDistribution?.symbol ?? n(),
|
|
33
|
+
}, F = (s) => s.series[0]?.overlays?.comparisonDistribution?.symbol ?? i().overlays.comparisonDistribution?.symbol ?? n(), Q = (s, e) => {
|
|
34
34
|
e.series[0].overlays ??= y(), e.series[0].overlays.comparisonDistribution ??= r(4), e.series[0].overlays.comparisonDistribution.symbol = {
|
|
35
35
|
...e.series[0].overlays.comparisonDistribution.symbol,
|
|
36
36
|
...s
|
|
37
37
|
};
|
|
38
|
-
}, I = (s) => s.series[0]?.overlays?.mean?.symbol ?? i().overlays.mean?.symbol ?? n(),
|
|
38
|
+
}, I = (s) => s.series[0]?.overlays?.mean?.symbol ?? i().overlays.mean?.symbol ?? n(), R = (s, e) => {
|
|
39
39
|
e.series[0].overlays ??= y(), e.series[0].overlays.mean ??= r(1), e.series[0].overlays.mean.symbol = {
|
|
40
40
|
...e.series[0].overlays.mean.symbol,
|
|
41
41
|
...s
|
|
42
42
|
};
|
|
43
|
-
}, N = (s) => s.series[0]?.overlays?.median?.symbol ?? i().overlays.median?.symbol ?? n(),
|
|
43
|
+
}, N = (s) => s.series[0]?.overlays?.median?.symbol ?? i().overlays.median?.symbol ?? n(), V = (s, e) => {
|
|
44
44
|
e.series[0].overlays ??= y(), e.series[0].overlays.median ??= r(2), e.series[0].overlays.median.symbol = {
|
|
45
45
|
...e.series[0].overlays.median.symbol,
|
|
46
46
|
...s
|
|
47
47
|
};
|
|
48
|
-
}, B = (s) => s.series[0]?.overlays?.standardDeviation?.symbol ?? i().overlays.standardDeviation?.symbol ?? n(),
|
|
48
|
+
}, B = (s) => s.series[0]?.overlays?.standardDeviation?.symbol ?? i().overlays.standardDeviation?.symbol ?? n(), Y = (s, e) => {
|
|
49
49
|
e.series[0].overlays ??= y(), e.series[0].overlays.standardDeviation ??= r(3), e.series[0].overlays.standardDeviation.symbol = {
|
|
50
50
|
...e.series[0].overlays.standardDeviation.symbol,
|
|
51
51
|
...s
|
|
52
52
|
};
|
|
53
|
-
},
|
|
53
|
+
}, Z = (s) => (s.series[0]?.overlays?.comparisonDistribution?.created ?? !1) && (s.series[0]?.overlays?.comparisonDistribution?.visible ?? !1), _ = (s, e) => {
|
|
54
54
|
const a = r(0);
|
|
55
55
|
a.created = s, a.visible = s, a.symbol = F(e), e?.series?.[0]?.overlays && (e.series[0].overlays.comparisonDistribution = a);
|
|
56
56
|
}, $ = (s) => (s.series[0]?.overlays?.mean?.created ?? !1) && (s.series[0]?.overlays?.mean?.visible ?? !1), g = (s, e) => {
|
|
@@ -67,23 +67,23 @@ const c = (s) => s.series[0]?.x ?? "", z = (s) => {
|
|
|
67
67
|
};
|
|
68
68
|
export {
|
|
69
69
|
u as A,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
E as a,
|
|
71
|
+
G as b,
|
|
72
|
+
J as c,
|
|
73
|
+
K as d,
|
|
74
|
+
U as e,
|
|
75
|
+
W as f,
|
|
76
|
+
S as g,
|
|
77
77
|
I as h,
|
|
78
|
-
|
|
78
|
+
R as i,
|
|
79
79
|
N as j,
|
|
80
|
-
|
|
80
|
+
V as k,
|
|
81
81
|
F as l,
|
|
82
|
-
|
|
82
|
+
Q as m,
|
|
83
83
|
B as n,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
Y as o,
|
|
85
|
+
Z as p,
|
|
86
|
+
_ as q,
|
|
87
87
|
$ as r,
|
|
88
88
|
z as s,
|
|
89
89
|
g as t,
|
|
@@ -5,11 +5,11 @@ 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";
|
|
7
7
|
import { W as q, a as z } from "./x-bounds.js";
|
|
8
|
-
import { W as
|
|
9
|
-
import { W as
|
|
8
|
+
import { W as R, c as Y, d as k } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as J, c as K, d as Q } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { u as U } from "./chart-object-literals.js";
|
|
12
|
-
import {
|
|
12
|
+
import { R as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
14
|
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (a, t, r, it) => {
|
|
15
15
|
for (var i = st(t, r), n = a.length - 1, l; n >= 0; n--)
|
|
@@ -223,14 +223,14 @@ const ot = [
|
|
|
223
223
|
V,
|
|
224
224
|
G,
|
|
225
225
|
tt,
|
|
226
|
-
|
|
226
|
+
J,
|
|
227
227
|
q,
|
|
228
|
-
|
|
228
|
+
K,
|
|
229
229
|
z,
|
|
230
|
+
R,
|
|
230
231
|
Y,
|
|
231
232
|
k,
|
|
232
|
-
|
|
233
|
-
R
|
|
233
|
+
Q
|
|
234
234
|
];
|
|
235
235
|
m(e, ot);
|
|
236
236
|
export {
|