@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84
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/2BA2QD2A.js +3 -0
- package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
- package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
- package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
- package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
- package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
- package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
- package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
- package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
- package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
- package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
- package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
- package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
- package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
- package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
- package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
- package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
- package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
- package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
- package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
- package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
- package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
- package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
- package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
- package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
- package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
- package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
- package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
- package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
- package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
- package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
- package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
- package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
- package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
- package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
- package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
- package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
- package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
- package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
- package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
- package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
- package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
- package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
- package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
- package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
- package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
- package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
- package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
- package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
- package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
- package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
- package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
- package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
- package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
- package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
- package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
- package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
- package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
- package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
- package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
- package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
- package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
- package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
- package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
- package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
- package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
- package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
- package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
- package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
- package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.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 +17 -17
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +11 -11
- package/dist/chunks/box-plot-data.js +73 -73
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +33 -33
- package/dist/chunks/chart-object-literals.js +24 -24
- package/dist/chunks/chart-ui-utils.js +149 -68
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +35 -35
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +30 -30
- package/dist/chunks/data.js +40 -40
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +58 -58
- package/dist/chunks/generate-x-axis-title.js +22 -22
- package/dist/chunks/heat-chart-model.js +11 -11
- package/dist/chunks/histogram-data.js +21 -21
- package/dist/chunks/histogram-model.js +12 -12
- package/dist/chunks/index.js +9364 -1103
- package/dist/chunks/index2.js +836 -9337
- package/dist/chunks/index3.js +1166 -865
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/index5.js +5 -5
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-y-guides.js +13 -13
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +10 -10
- package/dist/chunks/pie-chart-model.js +35 -35
- package/dist/chunks/radar-chart-model.js +14 -14
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +7 -7
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +165 -165
- package/dist/chunks/serial-chart-model.js +14 -14
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +7 -7
- package/dist/chunks/type-guards2.js +25 -25
- package/dist/chunks/utils.js +23 -23
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/chunks/x-bounds.js +28 -28
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- 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 +19 -19
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
- package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-invalid-input-message/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 +9 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- 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 +175 -175
- package/dist/utils/chart-config/converter/index.js +36 -36
- package/dist/utils/defaults/index.d.ts +15 -2
- package/dist/utils/defaults/interfaces.d.ts +66 -8
- package/package.json +5 -5
- package/dist/cdn/37TEXJ7K.js +0 -2
- package/dist/cdn/4DPFB567.js +0 -3
- package/dist/cdn/FDXSZJWC.js +0 -2
- package/dist/cdn/HXSSY2BO.js +0 -2
- package/dist/cdn/IAMJ6CBO.js +0 -3
- package/dist/cdn/IONJLIQQ.js +0 -2
- package/dist/cdn/JKT2UC2C.js +0 -2
- package/dist/cdn/JZVACQMQ.js +0 -2
- package/dist/cdn/N6FMZQZN.js +0 -2
- package/dist/cdn/PCHCBNEX.js +0 -2
- package/dist/cdn/QPTQD3ZH.js +0 -2
- package/dist/cdn/RPQJ6RNZ.js +0 -2
- package/dist/cdn/U43J5GMJ.js +0 -2
- package/dist/cdn/UEUCI74S.js +0 -2
- package/dist/cdn/WFNHDRCX.js +0 -2
- package/dist/cdn/WVIP7B4W.js +0 -2
- package/dist/cdn/ZAGOBG3W.js +0 -2
- /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
package/dist/chunks/index4.js
CHANGED
|
@@ -4,13 +4,13 @@ import E from "ajv";
|
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { c4 as u, bt as M, bE as V, p as T, w as F, q as z, aS as G, au as A, c5 as U, t as L, bR as D, aO as H, bp as $, c6 as J, bh as _, W as K, c7 as Q, bA as Z, y as X, c8 as Y, M as ee, N as te } from "./index.js";
|
|
8
|
+
import { l as ie, q as re } from "./index3.js";
|
|
9
|
+
import { i as x, a as h, D as ne } from "./index2.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { a as l, o as ae, d as oe } from "./chart-object-literals.js";
|
|
12
|
+
import { d as se } from "./rest-js-object-literals.js";
|
|
13
|
+
import { i as de } from "./type-guards.js";
|
|
14
14
|
const b = {
|
|
15
15
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
16
16
|
definitions: {
|
|
@@ -10955,7 +10955,7 @@ async function N(i) {
|
|
|
10955
10955
|
async function Te(i) {
|
|
10956
10956
|
const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
|
|
10957
10957
|
let a;
|
|
10958
|
-
if (
|
|
10958
|
+
if (M(r?.version).versionStatus === ae.Newer)
|
|
10959
10959
|
a = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
|
|
10960
10960
|
else {
|
|
10961
10961
|
const o = await pe(r, t);
|
|
@@ -11002,7 +11002,7 @@ function xe(i) {
|
|
|
11002
11002
|
break;
|
|
11003
11003
|
}
|
|
11004
11004
|
case l.HeatSeries: {
|
|
11005
|
-
const e = i?.series, t = x(e?.[0]?.x) || x(e?.[0]?.y), a = i !== void 0 &&
|
|
11005
|
+
const e = i?.series, t = x(e?.[0]?.x) || x(e?.[0]?.y), a = i !== void 0 && V(i) ? !1 : e?.[0]?.xTemporalBinning === void 0;
|
|
11006
11006
|
n = t || a;
|
|
11007
11007
|
break;
|
|
11008
11008
|
}
|
package/dist/chunks/index5.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { d as e } from "./chart-object-literals.js";
|
|
3
3
|
const t = {
|
|
4
4
|
actionBar: "action-bar",
|
|
5
5
|
customActionTop: "custom-action-top",
|
|
@@ -93,16 +93,16 @@ export {
|
|
|
93
93
|
l as B,
|
|
94
94
|
o as C,
|
|
95
95
|
r as F,
|
|
96
|
-
|
|
96
|
+
n as H,
|
|
97
97
|
s as L,
|
|
98
98
|
d as P,
|
|
99
|
-
|
|
99
|
+
t as S,
|
|
100
100
|
u as W,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
F as a,
|
|
102
|
+
g as b,
|
|
103
|
+
y as c,
|
|
104
|
+
c as d,
|
|
105
|
+
i as e,
|
|
106
|
+
m as f,
|
|
107
107
|
p as g
|
|
108
108
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as
|
|
6
|
-
import { M as
|
|
7
|
-
import { s as u, a as p, b, c as
|
|
2
|
+
import { a as m } from "./chart-object-literals.js";
|
|
3
|
+
import { av as S, Y as n, g as d, r as c } from "./index3.js";
|
|
4
|
+
import { r as a } from "./index.js";
|
|
5
|
+
import { m as g } from "./model-setter.js";
|
|
6
|
+
import { M as y } from "./model-with-line-marker-styling.js";
|
|
7
|
+
import { s as u, a as p, b, c as v, d as I, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
8
|
import { S as C, s as M, a as k } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
10
|
import { f as L } from "./utils.js";
|
|
@@ -59,7 +59,7 @@ class h extends C {
|
|
|
59
59
|
});
|
|
60
60
|
i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
|
|
61
61
|
}
|
|
62
|
-
p(this.defaultSeries?.lineSymbol?.style, e, this._config), b(this.defaultSeries?.lineSymbol?.width, e, this._config),
|
|
62
|
+
p(this.defaultSeries?.lineSymbol?.style, e, this._config), b(this.defaultSeries?.lineSymbol?.width, e, this._config), v(this.defaultSeries?.markerSymbol?.style, e, this._config), I(this.defaultSeries?.markerSymbol?.size, e, this._config);
|
|
63
63
|
}
|
|
64
64
|
this._config.colorMatch = !0;
|
|
65
65
|
}
|
|
@@ -89,9 +89,9 @@ class h extends C {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
F([
|
|
92
|
-
|
|
92
|
+
g
|
|
93
93
|
], h.prototype, "resetSeriesStyling");
|
|
94
|
-
const w = [_,
|
|
94
|
+
const w = [_, y];
|
|
95
95
|
L(h, w);
|
|
96
96
|
export {
|
|
97
97
|
h as LineChartModel
|
|
@@ -3,8 +3,8 @@ import { fetchT9nStringsBundle as d } from "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
|
|
4
4
|
import { g as f } from "./runtime.js";
|
|
5
5
|
import { convertChartSpec as g } from "../utils/chart-config/converter/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { a6 as l } from "./index3.js";
|
|
7
|
+
import { bD as n, bc as y, t as u, r as _ } from "./index.js";
|
|
8
8
|
import { cloneDeep as C } from "lodash-es";
|
|
9
9
|
import "luxon";
|
|
10
10
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
@@ -17,7 +17,7 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
17
17
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
18
18
|
import "@arcgis/core/time/TimeExtent.js";
|
|
19
19
|
import "@esri/arcgis-html-sanitizer";
|
|
20
|
-
import "./
|
|
20
|
+
import "./index2.js";
|
|
21
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
22
|
import "@arcgis/core/request.js";
|
|
23
23
|
import "@arcgis/core/Graphic.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { M as e } from "./common.js";
|
|
3
3
|
import { g as i } from "./series-types.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as r } from "./chart-object-literals.js";
|
|
5
5
|
function o(t) {
|
|
6
6
|
switch (t) {
|
|
7
7
|
case r.BarSeries:
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { C as b } from "./chart-model.js";
|
|
3
3
|
import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V, f as v } from "./utils.js";
|
|
4
4
|
import { cloneDeep as T } from "lodash-es";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { W as y } from "./chart-object-literals.js";
|
|
6
|
+
import { ap as g } from "./index3.js";
|
|
7
7
|
import { m as r } from "./model-setter.js";
|
|
8
8
|
import { g as S, b as B, e as I, f as M, c as O, d as D, a as G, s as z } from "./utils2.js";
|
|
9
9
|
import { M as d, b as H, d as Y } from "./x-bounds.js";
|
|
@@ -12,12 +12,12 @@ const P = (t) => {
|
|
|
12
12
|
for (const i of t.axes ?? [])
|
|
13
13
|
if (i?.grid !== void 0)
|
|
14
14
|
return i.grid;
|
|
15
|
-
},
|
|
15
|
+
}, W = (t, i, s) => {
|
|
16
16
|
const e = i.axes;
|
|
17
17
|
(s ?? e?.map((f, l) => l) ?? []).forEach((f) => {
|
|
18
18
|
e?.[f] !== void 0 && (e[f].grid = T(t));
|
|
19
19
|
});
|
|
20
|
-
},
|
|
20
|
+
}, F = (t, i) => i.axes?.[t]?.visible ?? !0, Z = (t, i, s) => {
|
|
21
21
|
const e = s.axes?.[i];
|
|
22
22
|
e !== void 0 && (e.visible = t);
|
|
23
23
|
}, k = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
|
|
@@ -28,13 +28,13 @@ const P = (t) => {
|
|
|
28
28
|
}, $ = (t, i) => t.axes?.[i]?.buffer ?? !1, U = (t) => {
|
|
29
29
|
const { config: i, buffer: s, axisIndex: e } = t, c = i.axes?.[e];
|
|
30
30
|
c !== void 0 && (c.buffer = s);
|
|
31
|
-
}, E = (t, i) => t.axes?.[i]?.tickSpacing,
|
|
31
|
+
}, E = (t, i) => t.axes?.[i]?.tickSpacing, R = (t) => {
|
|
32
32
|
const { config: i, tickSpacing: s, axisIndex: e } = t;
|
|
33
33
|
i.axes?.[e] !== void 0 && (i.axes[e].tickSpacing = s);
|
|
34
|
-
},
|
|
34
|
+
}, X = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, q = (t) => {
|
|
35
35
|
const { config: i, integerOnlyValues: s, axisIndex: e } = t;
|
|
36
36
|
i.axes?.[e] !== void 0 && (i.axes[e].integerOnlyValues = s);
|
|
37
|
-
},
|
|
37
|
+
}, J = (t) => t.horizontalAxisLabelsBehavior ?? y.Rotate, K = (t, i) => {
|
|
38
38
|
i.horizontalAxisLabelsBehavior = t;
|
|
39
39
|
}, Q = (t) => t.verticalAxisLabelsBehavior ?? y.Wrap, ii = (t, i) => {
|
|
40
40
|
i.verticalAxisLabelsBehavior = t;
|
|
@@ -83,7 +83,7 @@ class a extends b {
|
|
|
83
83
|
return o({
|
|
84
84
|
config: this._config,
|
|
85
85
|
axisIndex: i,
|
|
86
|
-
func: (s) =>
|
|
86
|
+
func: (s) => F(s, this._config)
|
|
87
87
|
}) ?? !0;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
@@ -296,7 +296,7 @@ class a extends b {
|
|
|
296
296
|
* Gets the horizontal axis labels behavior for the chart.
|
|
297
297
|
*/
|
|
298
298
|
getHorizontalAxisLabelsBehavior() {
|
|
299
|
-
return
|
|
299
|
+
return J(this._config);
|
|
300
300
|
}
|
|
301
301
|
setHorizontalAxisLabelsBehavior(i) {
|
|
302
302
|
K(i, this._config);
|
|
@@ -317,7 +317,7 @@ class a extends b {
|
|
|
317
317
|
return P(this._config);
|
|
318
318
|
}
|
|
319
319
|
setGridLinesSymbol(i, s) {
|
|
320
|
-
|
|
320
|
+
W(i, this._config, s);
|
|
321
321
|
}
|
|
322
322
|
/**
|
|
323
323
|
* Get the default x-axis title text.
|
|
@@ -414,7 +414,7 @@ class a extends b {
|
|
|
414
414
|
config: this._config,
|
|
415
415
|
axisIndex: s,
|
|
416
416
|
func: (e) => {
|
|
417
|
-
|
|
417
|
+
R({
|
|
418
418
|
config: this._config,
|
|
419
419
|
tickSpacing: i,
|
|
420
420
|
axisIndex: e
|
|
@@ -433,7 +433,7 @@ class a extends b {
|
|
|
433
433
|
return o({
|
|
434
434
|
config: this._config,
|
|
435
435
|
axisIndex: i,
|
|
436
|
-
func: (s) =>
|
|
436
|
+
func: (s) => X(this._config, s)
|
|
437
437
|
}) ?? !1;
|
|
438
438
|
}
|
|
439
439
|
setIntegerOnlyValues(i, s) {
|
|
@@ -441,7 +441,7 @@ class a extends b {
|
|
|
441
441
|
config: this._config,
|
|
442
442
|
axisIndex: s,
|
|
443
443
|
func: (e) => {
|
|
444
|
-
|
|
444
|
+
q({
|
|
445
445
|
config: this._config,
|
|
446
446
|
integerOnlyValues: i,
|
|
447
447
|
axisIndex: e
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { s as c, a as k, g as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { C as
|
|
2
|
+
import { s as c, a as k, g as v, b as n } from "./series.js";
|
|
3
|
+
import { n as m } from "./index3.js";
|
|
4
|
+
import { c1 as i, c2 as a } from "./index.js";
|
|
5
|
+
import { C as b, m as h } from "./model-setter.js";
|
|
6
6
|
const d = (s, e) => {
|
|
7
7
|
if (i(e.series[s]) || a(e.series[s]))
|
|
8
|
-
return
|
|
8
|
+
return v(e.series[s]);
|
|
9
9
|
}, N = (s, e, r) => {
|
|
10
10
|
(i(r.series[e]) || a(r.series[e])) && c(s, r.series[e]);
|
|
11
11
|
}, _ = (s, e) => {
|
|
12
12
|
if (i(e.series[s]) || a(e.series[s]))
|
|
13
|
-
return
|
|
13
|
+
return n(e.series[s]);
|
|
14
14
|
}, O = (s, e, r) => {
|
|
15
15
|
(i(r.series[e]) || a(r.series[e])) && k(s, r.series[e]);
|
|
16
16
|
}, j = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, W = (s, e, r) => {
|
|
@@ -54,7 +54,7 @@ const V = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].stackNegative
|
|
|
54
54
|
const { stackNegativeValuesToBaseline: e, seriesIndex: r, config: t } = s;
|
|
55
55
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].stackNegativeValuesToBaseline = e);
|
|
56
56
|
};
|
|
57
|
-
class f extends
|
|
57
|
+
class f extends b {
|
|
58
58
|
/**
|
|
59
59
|
* Specify how negative values are treated in stacked series.
|
|
60
60
|
*
|
|
@@ -6,11 +6,11 @@ import { g as x, u as L } from "./utils.js";
|
|
|
6
6
|
import { g as W } from "./data.js";
|
|
7
7
|
import { g as k } from "./series-length.js";
|
|
8
8
|
import { g as _ } from "./utils2.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { a6 as H, H as z, af as G } from "./index3.js";
|
|
10
|
+
import { b as P } from "./index2.js";
|
|
11
|
+
import { w as A, r as B, y as w } from "./index.js";
|
|
12
12
|
import { i as K } from "./index4.js";
|
|
13
|
-
import {
|
|
13
|
+
import { d as p, g as C, t as f } from "./chart-object-literals.js";
|
|
14
14
|
function v(s) {
|
|
15
15
|
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", d = k(t), l = K(t);
|
|
16
16
|
return o === d || l;
|
|
@@ -26,13 +26,13 @@ function I(s) {
|
|
|
26
26
|
return o === d || l;
|
|
27
27
|
}
|
|
28
28
|
const b = (s) => s.series?.[0]?.x ?? "";
|
|
29
|
-
function
|
|
29
|
+
function J(s, t) {
|
|
30
30
|
const e = s.series?.[0];
|
|
31
31
|
return [`${t === g.Category ? e.y : w} ${C.Descending}`];
|
|
32
32
|
}
|
|
33
33
|
const Y = (s, t) => {
|
|
34
34
|
let e = y.valueDesc;
|
|
35
|
-
const i = s.orderOptions?.data?.orderType ??
|
|
35
|
+
const i = s.orderOptions?.data?.orderType ?? J(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : C.Descending;
|
|
36
36
|
return i === f.Category && Array.isArray(r) ? e = y.customSort : i === f.Category ? r === C.Ascending ? e = y.labelAsc : e = y.labelDesc : r === C.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
|
|
37
37
|
}, m = (s) => {
|
|
38
38
|
let t = [];
|
|
@@ -111,7 +111,7 @@ const de = (s) => {
|
|
|
111
111
|
}
|
|
112
112
|
e.title && l && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
113
113
|
const a = r === g.Fields ? m(e).filter((n) => n !== B(i.layer).idField) : m(e);
|
|
114
|
-
|
|
114
|
+
Q({ newNumericFields: a, config: e, layerInfo: i, mode: r, commonStrings: o });
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
function V(s) {
|
|
@@ -180,12 +180,12 @@ const ge = (s) => {
|
|
|
180
180
|
e.title && l && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
181
181
|
const a = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
182
182
|
e.legend = {
|
|
183
|
-
...e.legend ??
|
|
183
|
+
...e.legend ?? H(),
|
|
184
184
|
displayNumericValue: n,
|
|
185
185
|
displayPercentage: u,
|
|
186
186
|
displayCategory: a
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Q = (s) => {
|
|
189
189
|
let { newNumericFields: t } = s;
|
|
190
190
|
const { config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = B(i?.layer).idField;
|
|
191
191
|
let l = F(e, r);
|
|
@@ -234,7 +234,7 @@ function pe(s) {
|
|
|
234
234
|
export {
|
|
235
235
|
m as a,
|
|
236
236
|
F as b,
|
|
237
|
-
|
|
237
|
+
Q as c,
|
|
238
238
|
ge as d,
|
|
239
239
|
Y as e,
|
|
240
240
|
de as f,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { log as w } from "@arcgis/toolkit/log";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { a as g } from "./chart-object-literals.js";
|
|
4
|
+
import { p as b, r as B } from "./index.js";
|
|
5
5
|
import { i as E } from "./index4.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { C as
|
|
6
|
+
import { a6 as p, ax as W, j as L, p as k, aw as R, af as j } from "./index3.js";
|
|
7
|
+
import { a as h, b as K } from "./index2.js";
|
|
8
|
+
import { C as q } from "./chart-model.js";
|
|
9
9
|
import { m as s } from "./model-setter.js";
|
|
10
10
|
import { b as n, P as u } from "./common.js";
|
|
11
|
-
import { M as
|
|
12
|
-
import { W as
|
|
13
|
-
import { j as
|
|
14
|
-
import { i as y, a as m, g as
|
|
11
|
+
import { M as H, a as J, W as Q, b as U } from "./data-labels-visibility.js";
|
|
12
|
+
import { W as X } from "./data-labels-symbol.js";
|
|
13
|
+
import { j as Y, c as Z, f as $ } from "./utils.js";
|
|
14
|
+
import { i as y, a as m, g as f, s as ee, c as te, b as ie, d as se, e as re, f as ae, h as O, j as D, k as oe } from "./pie-chart-data.js";
|
|
15
15
|
import { cloneDeep as le } from "lodash-es";
|
|
16
|
-
import {
|
|
16
|
+
import { b as _ } from "./rest-js-object-literals.js";
|
|
17
17
|
const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
|
|
18
18
|
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayNumericValue = t);
|
|
19
19
|
}, P = (t) => t.legend?.displayCategory ?? !1, I = (t, e) => {
|
|
@@ -28,9 +28,9 @@ const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
|
|
|
28
28
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
29
29
|
}, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
|
|
30
30
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
31
|
-
}, M = (t) => t.series[0]?.startAngle,
|
|
31
|
+
}, M = (t) => t.series[0]?.startAngle, fe = (t, e) => {
|
|
32
32
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
33
|
-
},
|
|
33
|
+
}, he = (t, e) => {
|
|
34
34
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
35
35
|
}, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Oe = (t, e) => {
|
|
36
36
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
@@ -65,11 +65,11 @@ const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
|
|
|
65
65
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
66
66
|
}, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
|
|
67
67
|
e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.visible = t);
|
|
68
|
-
},
|
|
68
|
+
}, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
|
|
69
69
|
t && e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.lineSymbol = le(t));
|
|
70
|
-
},
|
|
70
|
+
}, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, a) => {
|
|
71
71
|
a.series?.[0]?.slices?.[e] && (a.series[0].slices[e].label = t);
|
|
72
|
-
},
|
|
72
|
+
}, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, a) => {
|
|
73
73
|
const o = a.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
74
74
|
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: _.SLS, color: t }) : a.series?.[0]?.slices?.[e] !== void 0 && (a.series[0].slices[e].fillSymbol = {
|
|
75
75
|
type: _.SFS,
|
|
@@ -103,7 +103,7 @@ var ot = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, r = (t, e,
|
|
|
103
103
|
(d = t[c]) && (l = d(e, a, l) || l);
|
|
104
104
|
return l && ot(e, a, l), l;
|
|
105
105
|
};
|
|
106
|
-
class i extends
|
|
106
|
+
class i extends q {
|
|
107
107
|
constructor() {
|
|
108
108
|
super(...arguments), this._chartType = g.PieSeries, this._mode = u.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
|
|
109
109
|
}
|
|
@@ -111,9 +111,9 @@ class i extends X {
|
|
|
111
111
|
await this.loadConfigFromLayer(e);
|
|
112
112
|
const { config: a } = e;
|
|
113
113
|
if (a !== void 0) {
|
|
114
|
-
const l = b(a.series) !==
|
|
114
|
+
const l = b(a.series) !== h.PieFromFields ? u.Category : u.Fields;
|
|
115
115
|
this._mode = y({
|
|
116
|
-
category:
|
|
116
|
+
category: f(this._config),
|
|
117
117
|
numericFields: m(this._config),
|
|
118
118
|
fallbackMode: l
|
|
119
119
|
});
|
|
@@ -127,7 +127,7 @@ class i extends X {
|
|
|
127
127
|
* Category field for the pie chart.
|
|
128
128
|
*/
|
|
129
129
|
get category() {
|
|
130
|
-
return
|
|
130
|
+
return f(this._config);
|
|
131
131
|
}
|
|
132
132
|
set category(e) {
|
|
133
133
|
(!E(this._config) || e.trim() !== "") && (this._mode = y({
|
|
@@ -149,8 +149,8 @@ class i extends X {
|
|
|
149
149
|
return m(this._config);
|
|
150
150
|
}
|
|
151
151
|
set numericFields(e) {
|
|
152
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ?
|
|
153
|
-
category:
|
|
152
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? Y(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = y({
|
|
153
|
+
category: f(this._config),
|
|
154
154
|
numericFields: e,
|
|
155
155
|
fallbackMode: this._mode
|
|
156
156
|
}), te({
|
|
@@ -226,9 +226,9 @@ class i extends X {
|
|
|
226
226
|
* Gets the list of the category values for the chart.
|
|
227
227
|
*/
|
|
228
228
|
async getCustomSortValues() {
|
|
229
|
-
const e =
|
|
229
|
+
const e = f(this._config), a = b(this._config.series);
|
|
230
230
|
let o = [];
|
|
231
|
-
return a ===
|
|
231
|
+
return a === h.PieFromFields ? o = this.numericFields : e.trim() !== "" && a === h.PieFromCategory && (o = await Z({
|
|
232
232
|
category: e,
|
|
233
233
|
config: this._config,
|
|
234
234
|
layerInfo: this.layerInfo,
|
|
@@ -250,10 +250,10 @@ class i extends X {
|
|
|
250
250
|
* Ticks symbol connecting slices to labels.
|
|
251
251
|
*/
|
|
252
252
|
get ticksSymbol() {
|
|
253
|
-
return
|
|
253
|
+
return qe(this._config);
|
|
254
254
|
}
|
|
255
255
|
set ticksSymbol(e) {
|
|
256
|
-
|
|
256
|
+
He(e, this._config);
|
|
257
257
|
}
|
|
258
258
|
// ---------------------------------------------------------------------------------------------
|
|
259
259
|
// #region Slices Props
|
|
@@ -347,7 +347,7 @@ class i extends X {
|
|
|
347
347
|
* @param sliceIndex - The index of the slice.
|
|
348
348
|
*/
|
|
349
349
|
getOriginalSliceName(e) {
|
|
350
|
-
return
|
|
350
|
+
return Je(e, this._config);
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -355,11 +355,11 @@ class i extends X {
|
|
|
355
355
|
* @param sliceIndex - The index of the slice.
|
|
356
356
|
*/
|
|
357
357
|
getSliceName(e) {
|
|
358
|
-
return
|
|
358
|
+
return Qe(e, this._config);
|
|
359
359
|
}
|
|
360
360
|
setSliceName(e, a) {
|
|
361
361
|
const o = this.getSliceId(a);
|
|
362
|
-
o !== void 0 && this._customizedSliceIds.push(o),
|
|
362
|
+
o !== void 0 && this._customizedSliceIds.push(o), Ue(e, a, this._config);
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
365
365
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -367,11 +367,11 @@ class i extends X {
|
|
|
367
367
|
* @param sliceIndex - The index of the slice.
|
|
368
368
|
*/
|
|
369
369
|
getSliceColor(e) {
|
|
370
|
-
return
|
|
370
|
+
return Xe(e, this._config);
|
|
371
371
|
}
|
|
372
372
|
setSliceColor(e, a) {
|
|
373
373
|
const o = this.getSliceId(a);
|
|
374
|
-
e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o),
|
|
374
|
+
e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
377
|
* Order of the slice array by returning an array of slice ids
|
|
@@ -446,7 +446,7 @@ class i extends X {
|
|
|
446
446
|
return M(this._config);
|
|
447
447
|
}
|
|
448
448
|
set startAngle(e) {
|
|
449
|
-
|
|
449
|
+
fe(e, this._config);
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* End angle of the pie chart.
|
|
@@ -455,7 +455,7 @@ class i extends X {
|
|
|
455
455
|
return M(this._config);
|
|
456
456
|
}
|
|
457
457
|
set endAngle(e) {
|
|
458
|
-
|
|
458
|
+
he(e, this._config);
|
|
459
459
|
}
|
|
460
460
|
/**
|
|
461
461
|
* Whether to display the category on the data label.
|
|
@@ -842,11 +842,11 @@ r([
|
|
|
842
842
|
s
|
|
843
843
|
], i.prototype, "displayCategory");
|
|
844
844
|
const nt = [
|
|
845
|
-
Y,
|
|
846
|
-
q,
|
|
847
845
|
H,
|
|
848
846
|
J,
|
|
849
|
-
Q
|
|
847
|
+
Q,
|
|
848
|
+
U,
|
|
849
|
+
X
|
|
850
850
|
];
|
|
851
851
|
$(i, nt);
|
|
852
852
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { S as c, s as m, a as y } from "./serial-chart-model.js";
|
|
3
|
-
import { s as b, a as
|
|
3
|
+
import { s as b, a as g, b as f, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
|
|
4
4
|
import { h as u } from "./serial-chart-data.js";
|
|
5
5
|
import { f as T } from "./utils.js";
|
|
6
6
|
import { m as d } from "./model-setter.js";
|
|
7
|
-
import {
|
|
7
|
+
import { a as L, m as C } from "./chart-object-literals.js";
|
|
8
8
|
import { M as V } from "./model-with-line-marker-styling.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
var _ = Object.defineProperty,
|
|
12
|
-
for (var s =
|
|
13
|
-
(n =
|
|
9
|
+
import { ay as v, Z as x, g as B, r as X } from "./index3.js";
|
|
10
|
+
import { r as l } from "./index.js";
|
|
11
|
+
var _ = Object.defineProperty, I = Object.getOwnPropertyDescriptor, h = (a, i, e, t) => {
|
|
12
|
+
for (var s = I(i, e), r = a.length - 1, n; r >= 0; r--)
|
|
13
|
+
(n = a[r]) && (s = n(i, e, s) || s);
|
|
14
14
|
return s && _(i, e, s), s;
|
|
15
15
|
};
|
|
16
16
|
class o extends c {
|
|
@@ -377,7 +377,7 @@ class o extends c {
|
|
|
377
377
|
return i.series = [
|
|
378
378
|
x({
|
|
379
379
|
commonStrings: this.commonStrings,
|
|
380
|
-
objectIDField:
|
|
380
|
+
objectIDField: l(this.layerInfo.layer).idField
|
|
381
381
|
})
|
|
382
382
|
], i;
|
|
383
383
|
}
|
|
@@ -388,7 +388,7 @@ class o extends c {
|
|
|
388
388
|
initDefaultSeries() {
|
|
389
389
|
this.defaultSeries = x({
|
|
390
390
|
commonStrings: this.commonStrings,
|
|
391
|
-
objectIDField:
|
|
391
|
+
objectIDField: l(this.layerInfo.layer).idField
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
394
|
resetSeriesStyling() {
|
|
@@ -404,9 +404,9 @@ class o extends c {
|
|
|
404
404
|
layerInfo: this.layerInfo,
|
|
405
405
|
commonStrings: this.commonStrings
|
|
406
406
|
});
|
|
407
|
-
s !==
|
|
407
|
+
s !== l(this.layerInfo.layer).idField && y(s ?? t, i, this._config);
|
|
408
408
|
}
|
|
409
|
-
|
|
409
|
+
g(this.defaultSeries?.lineSymbol?.style, i, this._config), f(this.defaultSeries?.lineSymbol?.width, i, this._config), A(this.defaultSeries?.markerSymbol?.style, i, this._config), S(this.defaultSeries?.markerSymbol?.size, i, this._config);
|
|
410
410
|
}
|
|
411
411
|
this._config.colorMatch = !0;
|
|
412
412
|
}
|
|
@@ -425,7 +425,7 @@ class o extends c {
|
|
|
425
425
|
layerInfo: this.layerInfo,
|
|
426
426
|
commonStrings: this.commonStrings
|
|
427
427
|
}), r = this.getSeriesName(t);
|
|
428
|
-
s !== void 0 && s !==
|
|
428
|
+
s !== void 0 && s !== l(this.layerInfo.layer).idField && s !== r && (e = !0);
|
|
429
429
|
}
|
|
430
430
|
if (this.defaultSeries?.lineSymbol?.style !== void 0 && this.defaultSeries?.lineSymbol.style !== this.getSeriesLineStyle(t) || this.defaultSeries?.lineSymbol?.width !== void 0 && this.defaultSeries?.lineSymbol.width !== this.getSeriesLineWidth(t) || this.defaultSeries?.markerSymbol?.style !== void 0 && this.defaultSeries?.markerSymbol?.style !== this.getSeriesMarkerStyle(t) || this.defaultSeries?.markerSymbol?.size !== void 0 && this.defaultSeries?.markerSymbol?.size !== this.getSeriesMarkerSize(t)) {
|
|
431
431
|
e = !0;
|
|
@@ -441,8 +441,8 @@ h([
|
|
|
441
441
|
h([
|
|
442
442
|
d
|
|
443
443
|
], o.prototype, "resetSeriesStyling");
|
|
444
|
-
const
|
|
445
|
-
T(o,
|
|
444
|
+
const F = [p, V];
|
|
445
|
+
T(o, F);
|
|
446
446
|
export {
|
|
447
447
|
o as RadarChartModel
|
|
448
448
|
};
|
package/dist/chunks/resource.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { o } from "./type-guards2.js";
|
|
3
3
|
import { G as n } from "./common.js";
|
|
4
|
-
const
|
|
4
|
+
const u = {
|
|
5
5
|
addGuide: "add-guide",
|
|
6
6
|
noMessages: "no-messages"
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function g(s, i, e) {
|
|
9
9
|
const t = o(e) ? e.getXGuidesLength() ?? 0 : 0;
|
|
10
10
|
return i === n.X ? s : t + s;
|
|
11
11
|
}
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
u as H,
|
|
14
|
+
g
|
|
15
15
|
};
|