@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/data.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
function
|
|
3
|
+
import { p as B, r as L, q as $, co as N, aN as I, bY as h, bA as H, w as P, c8 as _, y as v } from "./index.js";
|
|
4
|
+
import { g as C } from "./series-types.js";
|
|
5
|
+
import { P as M, H as A, S as o } from "./common.js";
|
|
6
|
+
import { a as d, d as g, g as l, t as n } from "./chart-object-literals.js";
|
|
7
|
+
import { a as U } from "./index2.js";
|
|
8
|
+
import { l as W } from "./index3.js";
|
|
9
|
+
import { i as Y } from "./type-guards.js";
|
|
10
|
+
function E(e, r) {
|
|
11
11
|
let s;
|
|
12
12
|
return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
|
|
13
13
|
}
|
|
@@ -15,25 +15,25 @@ function w(e, r) {
|
|
|
15
15
|
let s;
|
|
16
16
|
return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const K = (e) => {
|
|
19
19
|
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
-
return
|
|
20
|
+
return E(
|
|
21
21
|
r,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
25
|
-
const r =
|
|
24
|
+
}, R = (e) => {
|
|
25
|
+
const r = C(e.series);
|
|
26
26
|
let s = !1;
|
|
27
|
-
return (r === d.BarSeries || r === d.LineSeries) && (s =
|
|
27
|
+
return (r === d.BarSeries || r === d.LineSeries) && (s = K(e) === o.customSort), s;
|
|
28
28
|
}, ee = (e) => {
|
|
29
29
|
let r = [];
|
|
30
30
|
const s = e.orderOptions?.data?.orderType;
|
|
31
|
-
return
|
|
31
|
+
return R(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
32
|
}, re = (e, r, s, t) => {
|
|
33
|
-
const i =
|
|
33
|
+
const i = C(r.series), m = I(r);
|
|
34
34
|
r.orderOptions ??= {};
|
|
35
|
-
let a =
|
|
36
|
-
if (
|
|
35
|
+
let a = m ? [""] : l.Ascending;
|
|
36
|
+
if (m)
|
|
37
37
|
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
38
|
...r.orderOptions.data,
|
|
39
39
|
orderByY: a,
|
|
@@ -59,25 +59,25 @@ const E = (e) => {
|
|
|
59
59
|
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
61
|
aggregationType: i,
|
|
62
|
-
mode:
|
|
62
|
+
mode: m,
|
|
63
63
|
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
65
|
seriesIndex: x,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T =
|
|
68
|
+
} = e, T = C(r.series), b = B(r.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (
|
|
71
|
-
const
|
|
72
|
-
f = t.length === 1 && t[0] ===
|
|
70
|
+
if (Y(a)) {
|
|
71
|
+
const y = N(a);
|
|
72
|
+
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField:
|
|
75
|
-
f = D && t.length === 1 && t[0] ===
|
|
74
|
+
const { idField: y, isTraditionalTypeOID: D } = L($(a));
|
|
75
|
+
f = D && t.length === 1 && t[0] === y;
|
|
76
76
|
}
|
|
77
|
-
let p = "y",
|
|
77
|
+
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ?
|
|
80
|
+
i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -86,39 +86,39 @@ const E = (e) => {
|
|
|
86
86
|
case d.RadarSeries:
|
|
87
87
|
case d.HeatSeries: {
|
|
88
88
|
if (S === "" || t.length > 1)
|
|
89
|
-
|
|
89
|
+
j({
|
|
90
90
|
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
p = i !== g.NoAggregation ? `${i}_${
|
|
95
|
+
const y = t[0];
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
return {
|
|
102
102
|
name: p,
|
|
103
|
-
description:
|
|
103
|
+
description: F
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function
|
|
106
|
+
function V(e) {
|
|
107
107
|
const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
|
|
108
|
-
return r ===
|
|
108
|
+
return r === H || r === P || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((
|
|
112
|
-
return
|
|
110
|
+
function j(e) {
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
+
return V({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
115
|
se as a,
|
|
116
116
|
w as b,
|
|
117
|
-
|
|
117
|
+
E as c,
|
|
118
118
|
re as d,
|
|
119
119
|
ee as e,
|
|
120
|
-
|
|
120
|
+
K as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
j as s,
|
|
123
|
+
V as x
|
|
124
124
|
};
|
package/dist/chunks/default.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { R as t, b as e } from "./rest-js-object-literals.js";
|
|
3
|
+
import { a as o } from "./chart-object-literals.js";
|
|
4
|
+
const l = 153, i = {
|
|
5
5
|
type: o.Guide,
|
|
6
6
|
style: {
|
|
7
7
|
type: e.SLS,
|
|
8
|
-
color: [127, 127, 127,
|
|
8
|
+
color: [127, 127, 127, l],
|
|
9
9
|
width: 2,
|
|
10
10
|
style: t.Solid
|
|
11
11
|
},
|
|
12
12
|
label: { type: e.TS }
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
i as d,
|
|
16
|
+
l as g
|
|
17
17
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a as c, G as S, d as x } from "./chart-object-literals.js";
|
|
3
|
+
import { ar as d, a3 as b, aA as _, as as m, aq as I } from "./index3.js";
|
|
4
|
+
import { r as C } from "./index.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
10
|
import { W as E, a as P } from "./x-bounds.js";
|
|
11
|
-
import { g as
|
|
12
|
-
const
|
|
11
|
+
import { g as w, f as M } from "./utils.js";
|
|
12
|
+
const N = (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;
|
|
16
16
|
}, O = (t) => t.axes[0].needle?.startWidth, X = (t, e) => {
|
|
17
17
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
18
|
-
}, $ = (t) => t.axes[0].needle?.endWidth,
|
|
18
|
+
}, $ = (t) => t.axes[0].needle?.endWidth, q = (t, e) => {
|
|
19
19
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
20
|
-
},
|
|
20
|
+
}, j = (t) => t.axes[0].needle?.innerRadius, Q = (t, e) => {
|
|
21
21
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
22
|
-
},
|
|
22
|
+
}, Y = (t) => t.axes[0].needle?.displayPin ?? !1, z = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
|
-
},
|
|
24
|
+
}, H = (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);
|
|
@@ -35,19 +35,19 @@ const M = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
35
35
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
36
36
|
type: c.GaugeAxisTick
|
|
37
37
|
}), e.axes[0].ticks.visible = t;
|
|
38
|
-
},
|
|
38
|
+
}, re = (t) => t.axes[0].labelsIncrement, oe = (t, e) => {
|
|
39
39
|
e.axes[0].labelsIncrement = t;
|
|
40
40
|
}, ae = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, le = (t, e) => {
|
|
41
41
|
e.axes[0].onlyShowFirstAndLastLabels = t;
|
|
42
42
|
}, de = (t) => t.series[0]?.valueConversion, ge = (t, e) => {
|
|
43
43
|
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
44
44
|
}, v = (t) => t.series[0]?.featureIndex, y = (t) => {
|
|
45
|
-
const { featureIndex: e, config: s, layerInfo: a, commonStrings:
|
|
46
|
-
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings:
|
|
45
|
+
const { featureIndex: e, config: s, layerInfo: a, commonStrings: o } = t, l = f(s), g = h(s);
|
|
46
|
+
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: o });
|
|
47
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
49
49
|
if (a !== x.NoAggregation) {
|
|
50
|
-
const
|
|
50
|
+
const o = v(e), l = p(o) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
53
53
|
statisticType: a,
|
|
@@ -59,32 +59,32 @@ const M = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
59
59
|
e.series[0].query = l;
|
|
60
60
|
}
|
|
61
61
|
}, he = (t) => {
|
|
62
|
-
const { config: e, layerInfo: s, commonStrings: a, field:
|
|
63
|
-
e.title && (e.title.content.text =
|
|
62
|
+
const { config: e, layerInfo: s, commonStrings: a, field: o, aggregationType: l } = t;
|
|
63
|
+
e.title && (e.title.content.text = w({
|
|
64
64
|
config: e,
|
|
65
65
|
layerInfo: s,
|
|
66
66
|
commonStrings: a,
|
|
67
|
-
numericFields: [
|
|
67
|
+
numericFields: [o],
|
|
68
68
|
aggregationType: l
|
|
69
69
|
}));
|
|
70
70
|
}, u = (t) => {
|
|
71
71
|
const { config: e, field: s, aggregationType: a } = t;
|
|
72
72
|
e.series[0] === void 0 && (e.series = [m({})]);
|
|
73
|
-
const
|
|
74
|
-
let l =
|
|
75
|
-
|
|
73
|
+
const o = p(e.series[0]?.featureIndex);
|
|
74
|
+
let l = o ? s : `${a}_${s}`;
|
|
75
|
+
o && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
76
|
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
|
-
const { config: e, layerInfo: s, commonStrings: a, aggregationType:
|
|
77
|
+
const { config: e, layerInfo: s, commonStrings: a, aggregationType: o } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
80
80
|
layerInfo: s,
|
|
81
81
|
commonStrings: a,
|
|
82
82
|
field: l,
|
|
83
|
-
aggregationType:
|
|
83
|
+
aggregationType: o
|
|
84
84
|
});
|
|
85
85
|
}, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
|
|
86
|
-
const { field: e, config: s, layerInfo: a, commonStrings:
|
|
87
|
-
u({ config: s, layerInfo: a, commonStrings:
|
|
86
|
+
const { field: e, config: s, layerInfo: a, commonStrings: o } = t, l = h(s);
|
|
87
|
+
u({ config: s, layerInfo: a, commonStrings: o, field: e, aggregationType: l });
|
|
88
88
|
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
90
|
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
@@ -95,10 +95,10 @@ const M = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
95
95
|
function _e(t) {
|
|
96
96
|
return _(t);
|
|
97
97
|
}
|
|
98
|
-
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor,
|
|
99
|
-
for (var
|
|
100
|
-
(g = t[l]) && (
|
|
101
|
-
return
|
|
98
|
+
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, r = (t, e, s, a) => {
|
|
99
|
+
for (var o = Ce(e, s), l = t.length - 1, g; l >= 0; l--)
|
|
100
|
+
(g = t[l]) && (o = g(e, s, o) || o);
|
|
101
|
+
return o && Ie(e, s, o), o;
|
|
102
102
|
};
|
|
103
103
|
class i extends L {
|
|
104
104
|
constructor() {
|
|
@@ -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 N(this._config);
|
|
225
225
|
}
|
|
226
226
|
set needleVisibility(e) {
|
|
227
227
|
R(e, this._config);
|
|
@@ -259,31 +259,31 @@ class i extends L {
|
|
|
259
259
|
return $(this._config);
|
|
260
260
|
}
|
|
261
261
|
set needleEndWidth(e) {
|
|
262
|
-
|
|
262
|
+
q(e, this._config);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Inner radius of the gauge's needle.
|
|
266
266
|
*/
|
|
267
267
|
get needleInnerRadius() {
|
|
268
|
-
return
|
|
268
|
+
return j(this._config);
|
|
269
269
|
}
|
|
270
270
|
set needleInnerRadius(e) {
|
|
271
|
-
|
|
271
|
+
Q(e, this._config);
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
274
|
* Whether to display the pin for the gauge's needle.
|
|
275
275
|
*/
|
|
276
276
|
get needleDisplayPin() {
|
|
277
|
-
return
|
|
277
|
+
return Y(this._config);
|
|
278
278
|
}
|
|
279
279
|
set needleDisplayPin(e) {
|
|
280
|
-
|
|
280
|
+
z(e, this._config);
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
283
|
* Whether the inner label is visible.
|
|
284
284
|
*/
|
|
285
285
|
get innerLabelVisible() {
|
|
286
|
-
return
|
|
286
|
+
return H(this._config);
|
|
287
287
|
}
|
|
288
288
|
set innerLabelVisible(e) {
|
|
289
289
|
J(e, this._config);
|
|
@@ -348,10 +348,10 @@ class i extends L {
|
|
|
348
348
|
* Labels increment for the gauge.
|
|
349
349
|
*/
|
|
350
350
|
get labelsIncrement() {
|
|
351
|
-
return
|
|
351
|
+
return re(this._config);
|
|
352
352
|
}
|
|
353
353
|
set labelsIncrement(e) {
|
|
354
|
-
|
|
354
|
+
oe(e, this._config);
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* Whether to only show the first and last axis labels.
|
|
@@ -371,67 +371,67 @@ class i extends L {
|
|
|
371
371
|
return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
r([
|
|
375
375
|
n
|
|
376
376
|
], i.prototype, "field");
|
|
377
|
-
|
|
377
|
+
r([
|
|
378
378
|
n
|
|
379
379
|
], i.prototype, "aggregationType");
|
|
380
|
-
|
|
380
|
+
r([
|
|
381
381
|
n
|
|
382
382
|
], i.prototype, "innerRadius");
|
|
383
|
-
|
|
383
|
+
r([
|
|
384
384
|
n
|
|
385
385
|
], i.prototype, "startAngle");
|
|
386
|
-
|
|
386
|
+
r([
|
|
387
387
|
n
|
|
388
388
|
], i.prototype, "endAngle");
|
|
389
|
-
|
|
389
|
+
r([
|
|
390
390
|
n
|
|
391
391
|
], i.prototype, "valueConversion");
|
|
392
|
-
|
|
392
|
+
r([
|
|
393
393
|
n
|
|
394
394
|
], i.prototype, "featureIndex");
|
|
395
|
-
|
|
395
|
+
r([
|
|
396
396
|
n
|
|
397
397
|
], i.prototype, "removeFeatureIndex");
|
|
398
|
-
|
|
398
|
+
r([
|
|
399
399
|
n
|
|
400
400
|
], i.prototype, "needleVisibility");
|
|
401
|
-
|
|
401
|
+
r([
|
|
402
402
|
n
|
|
403
403
|
], i.prototype, "needleSymbol");
|
|
404
|
-
|
|
404
|
+
r([
|
|
405
405
|
n
|
|
406
406
|
], i.prototype, "needleStartWidth");
|
|
407
|
-
|
|
407
|
+
r([
|
|
408
408
|
n
|
|
409
409
|
], i.prototype, "needleEndWidth");
|
|
410
|
-
|
|
410
|
+
r([
|
|
411
411
|
n
|
|
412
412
|
], i.prototype, "needleInnerRadius");
|
|
413
|
-
|
|
413
|
+
r([
|
|
414
414
|
n
|
|
415
415
|
], i.prototype, "needleDisplayPin");
|
|
416
|
-
|
|
416
|
+
r([
|
|
417
417
|
n
|
|
418
418
|
], i.prototype, "innerLabelVisible");
|
|
419
|
-
|
|
419
|
+
r([
|
|
420
420
|
n
|
|
421
421
|
], i.prototype, "innerLabelContent");
|
|
422
|
-
|
|
422
|
+
r([
|
|
423
423
|
n
|
|
424
424
|
], i.prototype, "progressBandsVisibility");
|
|
425
|
-
|
|
425
|
+
r([
|
|
426
426
|
n
|
|
427
427
|
], i.prototype, "progressBands");
|
|
428
|
-
|
|
428
|
+
r([
|
|
429
429
|
n
|
|
430
430
|
], i.prototype, "axisTickVisibility");
|
|
431
|
-
|
|
431
|
+
r([
|
|
432
432
|
n
|
|
433
433
|
], i.prototype, "labelsIncrement");
|
|
434
|
-
|
|
434
|
+
r([
|
|
435
435
|
n
|
|
436
436
|
], i.prototype, "onlyShowFirstAndLastLabels");
|
|
437
437
|
const Le = [
|
|
@@ -445,7 +445,7 @@ const Le = [
|
|
|
445
445
|
B,
|
|
446
446
|
T
|
|
447
447
|
];
|
|
448
|
-
|
|
448
|
+
M(i, Le);
|
|
449
449
|
export {
|
|
450
450
|
i as GaugeModel
|
|
451
451
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
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 {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
var _ = Object.defineProperty,
|
|
8
|
-
for (var e =
|
|
3
|
+
import { g as f, b as h, c as T, d as c } from "./utils2.js";
|
|
4
|
+
import { h as d, q as u, r as p, n as y, a as A } from "./type-guards2.js";
|
|
5
|
+
import { l as g } from "./index3.js";
|
|
6
|
+
import { b as l } from "./index2.js";
|
|
7
|
+
var _ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, v = (t, i, s, x) => {
|
|
8
|
+
for (var e = b(i, s), r = t.length - 1, n; r >= 0; r--)
|
|
9
9
|
(n = t[r]) && (e = n(i, s, e) || e);
|
|
10
10
|
return e && _(i, s, e), e;
|
|
11
11
|
};
|
|
12
|
-
function
|
|
12
|
+
function S(t) {
|
|
13
13
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
14
14
|
}
|
|
15
15
|
class m extends o {
|
|
@@ -20,10 +20,10 @@ class m extends o {
|
|
|
20
20
|
return f(0, this._config);
|
|
21
21
|
}
|
|
22
22
|
set xAxisTitleText(i) {
|
|
23
|
-
|
|
23
|
+
h(i, 0, this._config);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
v([
|
|
27
27
|
a
|
|
28
28
|
], m.prototype, "xAxisTitleText");
|
|
29
29
|
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s, x) => {
|
|
@@ -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 j(t) {
|
|
35
35
|
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
36
36
|
}
|
|
37
37
|
class O extends o {
|
|
@@ -41,19 +41,19 @@ class O extends o {
|
|
|
41
41
|
* `false`: X-axis title is hidden.
|
|
42
42
|
*/
|
|
43
43
|
get xAxisTitleVisibility() {
|
|
44
|
-
return
|
|
44
|
+
return T(0, this._config);
|
|
45
45
|
}
|
|
46
46
|
set xAxisTitleVisibility(i) {
|
|
47
|
-
|
|
47
|
+
c(i, 0, this._config);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
M([
|
|
51
51
|
a
|
|
52
52
|
], O.prototype, "xAxisTitleVisibility");
|
|
53
|
-
function
|
|
53
|
+
function k(t) {
|
|
54
54
|
return t !== void 0 && "generateXAxisTitle" in t;
|
|
55
55
|
}
|
|
56
|
-
class
|
|
56
|
+
class w extends o {
|
|
57
57
|
/**
|
|
58
58
|
* Generate the proper x-axis title from the current config.
|
|
59
59
|
*/
|
|
@@ -61,13 +61,13 @@ class k extends o {
|
|
|
61
61
|
const i = this.layerInfo?.layerFieldsInfo;
|
|
62
62
|
if (i === void 0)
|
|
63
63
|
return "";
|
|
64
|
-
if (
|
|
64
|
+
if (d(this) || u(this))
|
|
65
65
|
return l(i, this.xAxisField);
|
|
66
|
-
if (g(this))
|
|
67
|
-
return this.category !== A ? l(i, this.category) : "";
|
|
68
66
|
if (p(this))
|
|
67
|
+
return this.category !== g ? l(i, this.category) : "";
|
|
68
|
+
if (y(this))
|
|
69
69
|
return l(i, this.numericField);
|
|
70
|
-
if (
|
|
70
|
+
if (A(this)) {
|
|
71
71
|
const s = this.xTemporalBinning?.unit;
|
|
72
72
|
return s !== void 0 ? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s] : "";
|
|
73
73
|
}
|
|
@@ -76,9 +76,9 @@ class k extends o {
|
|
|
76
76
|
}
|
|
77
77
|
export {
|
|
78
78
|
m as W,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
k as a,
|
|
80
|
+
j as b,
|
|
81
81
|
O as c,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
w as d,
|
|
83
|
+
S as i
|
|
84
84
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as n } 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 F, I as A, 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 F, I as A, 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 Z, a7 as z, a8 as m, a9 as y, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as d, 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 as f } from "./data.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { a as pe, d as p } from "./chart-object-literals.js";
|
|
8
|
+
import { at as ce } from "./index3.js";
|
|
9
|
+
import { r as h } from "./index.js";
|
|
10
|
+
import { i as me } from "./index2.js";
|
|
11
11
|
var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
12
12
|
for (var o = de(e, r), g = l.length - 1, c; g >= 0; g--)
|
|
13
13
|
(c = l[g]) && (o = c(e, r, o) || o);
|
|
@@ -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 = Z(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]), o = a ? r : e[0];
|
|
258
|
-
this._numericFields = [o],
|
|
258
|
+
this._numericFields = [o], z({
|
|
259
259
|
field: o,
|
|
260
260
|
config: this._config,
|
|
261
261
|
layerInfo: this.layerInfo,
|
|
@@ -293,16 +293,16 @@ class s extends u {
|
|
|
293
293
|
set splitByField(e) {
|
|
294
294
|
}
|
|
295
295
|
get legendPosition() {
|
|
296
|
-
return
|
|
296
|
+
return J(this._config);
|
|
297
297
|
}
|
|
298
298
|
set legendPosition(e) {
|
|
299
|
-
|
|
299
|
+
Q(e, this._config);
|
|
300
300
|
}
|
|
301
301
|
get nullPolicy() {
|
|
302
|
-
return
|
|
302
|
+
return $(this._config);
|
|
303
303
|
}
|
|
304
304
|
set nullPolicy(e) {
|
|
305
|
-
|
|
305
|
+
q(e, this._config);
|
|
306
306
|
}
|
|
307
307
|
get emptyCell() {
|
|
308
308
|
return ee(this._config);
|