@arcgis/charts-components 6.0.0-next.6 → 6.0.0-next.8
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/{4YPBPYT2.js → 22TQSTSU.js} +1 -1
- package/dist/cdn/2IZ27E73.js +2 -0
- package/dist/cdn/36YS6SWU.js +2 -0
- package/dist/cdn/3JXXDTM7.js +2 -0
- package/dist/cdn/3RUCVEOG.js +2 -0
- package/dist/cdn/3UNCSMIH.js +4 -0
- package/dist/cdn/3XWKTCG2.js +2 -0
- package/dist/cdn/{SP2OUJAE.js → 4DQDAM44.js} +2 -2
- package/dist/cdn/4F5HIOT7.js +2 -0
- package/dist/cdn/4W5FC5UJ.js +2 -0
- package/dist/cdn/6Y63J2D4.js +2 -0
- package/dist/cdn/7A6ZC3BY.js +2 -0
- package/dist/cdn/7B26LXAO.js +2 -0
- package/dist/cdn/7BMO4QQG.js +2 -0
- package/dist/cdn/7SKWCJOI.js +2 -0
- package/dist/cdn/ABHDKVCT.js +2 -0
- package/dist/cdn/AHDEGHQC.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → AS2IRRXE.js} +1 -1
- package/dist/cdn/B73SVOUA.js +2 -0
- package/dist/cdn/{WWMDDOKW.js → BILTOAXM.js} +1 -1
- package/dist/cdn/CX5HMAVB.js +2 -0
- package/dist/cdn/{EKPT25EF.js → DIOXIMBZ.js} +1 -1
- package/dist/cdn/DIVS65HK.js +2 -0
- package/dist/cdn/EJE4D6K4.js +2 -0
- package/dist/cdn/EMJV6FFC.js +2 -0
- package/dist/cdn/EOAW5SJZ.js +2 -0
- package/dist/cdn/EU5JSGVI.js +2 -0
- package/dist/cdn/EVKJUQYC.js +2 -0
- package/dist/cdn/GIUYJ4MX.js +2 -0
- package/dist/cdn/{J6KIUQWW.js → H7EH6MJN.js} +1 -1
- package/dist/cdn/HKD2DTMQ.js +2 -0
- package/dist/cdn/HWJULHS4.js +2 -0
- package/dist/cdn/IMHL6OT4.js +2 -0
- package/dist/cdn/IMJ4ZP54.js +2 -0
- package/dist/cdn/IPRY6SMT.js +2 -0
- package/dist/cdn/IUWQ2XAM.js +2 -0
- package/dist/cdn/IZ6QMJ5N.js +2 -0
- package/dist/cdn/JGKOHDSF.js +2 -0
- package/dist/cdn/JQH63THU.js +2 -0
- package/dist/cdn/{563H5HEV.js → JYLCRNMW.js} +1 -1
- package/dist/cdn/K43QNXLK.js +2 -0
- package/dist/cdn/KE6MY5WL.js +2 -0
- package/dist/cdn/KHC45XNZ.js +2 -0
- package/dist/cdn/KXW4QAYP.js +2 -0
- package/dist/cdn/{OFJLWSKN.js → LNJSZCPC.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/{U7PBBWGS.js → MGKEPCZT.js} +1 -1
- package/dist/cdn/MGX5TD4I.js +2 -0
- package/dist/cdn/MIRDAGB6.js +2 -0
- package/dist/cdn/N337OTT2.js +2 -0
- package/dist/cdn/NCFIBVSV.js +2 -0
- package/dist/cdn/NNKLFRZL.js +2 -0
- package/dist/cdn/NSF637D3.js +2 -0
- package/dist/cdn/{VSKK65CP.js → NUTUTE7W.js} +1 -1
- package/dist/cdn/O3FVBAXP.js +2 -0
- package/dist/cdn/O53REUWO.js +2 -0
- package/dist/cdn/OPSWLJ6M.js +2 -0
- package/dist/cdn/OTIAHPXY.js +2 -0
- package/dist/cdn/PYK3S2WM.js +2 -0
- package/dist/cdn/PYMEPWV2.js +2 -0
- package/dist/cdn/QE4HAH4J.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/SI7W275P.js +2 -0
- package/dist/cdn/SVF2UENW.js +4 -0
- package/dist/cdn/SY4PA5GZ.js +2 -0
- package/dist/cdn/TCUFKLTS.js +2 -0
- package/dist/cdn/TMVELVZ4.js +2 -0
- package/dist/cdn/TVAJJTLH.js +2 -0
- package/dist/cdn/TVBULK7L.js +2 -0
- package/dist/cdn/TYVYXA4I.js +2 -0
- package/dist/cdn/TZJX3ZDX.js +2 -0
- package/dist/cdn/{CIZUS2EL.js → U6AJIZZU.js} +1 -1
- package/dist/cdn/U75UR6WF.js +2 -0
- package/dist/cdn/{5BMOVHD7.js → VJBVJ2GM.js} +1 -1
- package/dist/cdn/VKLX5GBO.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VL3NDPH3.js +2 -0
- package/dist/cdn/VUNCUXZR.js +2 -0
- package/dist/cdn/VVB5JOCB.js +2 -0
- package/dist/cdn/WAW5LS5U.js +2 -0
- package/dist/cdn/XWGJFR6Q.js +2 -0
- package/dist/cdn/YBFPKUEE.js +2 -0
- package/dist/cdn/YBPCOPML.js +2 -0
- package/dist/cdn/YGYZNUDM.js +2 -0
- package/dist/cdn/YLJUSUEV.js +2 -0
- package/dist/cdn/{6T5V66TB.js → YSF3KSMB.js} +24 -24
- package/dist/cdn/Z3UCAFDO.js +2 -0
- package/dist/cdn/ZHKGWF55.js +2 -0
- package/dist/cdn/{5S3M57QS.js → ZXPGBKDC.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 +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +5 -7
- package/dist/chunks/box-plot-data.js +74 -76
- package/dist/chunks/box-plot-model.js +40 -41
- package/dist/chunks/chart-model.js +31 -33
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +65 -65
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +6 -6
- package/dist/chunks/index.js +4943 -3839
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +18 -19
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +21 -23
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +13 -15
- package/dist/chunks/serial-chart-data.js +226 -229
- package/dist/chunks/serial-chart-model.js +66 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +24 -25
- package/dist/components/arcgis-chart/customElement.d.ts +11 -4
- package/dist/components/arcgis-chart/customElement.js +6240 -6069
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/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 +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- 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 +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- 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/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +15 -16
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +396 -398
- package/dist/loader.js +1 -1
- package/dist/utils/chart-config/converter/index.js +73 -75
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/2CUBWUT6.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2NTEIXDC.js +0 -2
- package/dist/cdn/3BLCT5B3.js +0 -2
- package/dist/cdn/3KVXZ4Q7.js +0 -2
- package/dist/cdn/3R5OPVW7.js +0 -2
- package/dist/cdn/3TPIZXLQ.js +0 -2
- package/dist/cdn/5BFSYCQN.js +0 -2
- package/dist/cdn/5ORGE6FR.js +0 -2
- package/dist/cdn/6IODKSGJ.js +0 -2
- package/dist/cdn/6KYES23V.js +0 -2
- package/dist/cdn/6MQWBIAC.js +0 -2
- package/dist/cdn/6UY62IZQ.js +0 -2
- package/dist/cdn/7IGL5XAY.js +0 -2
- package/dist/cdn/7ZM3ISL6.js +0 -2
- package/dist/cdn/A5YDIX7U.js +0 -2
- package/dist/cdn/AGKAJN2K.js +0 -2
- package/dist/cdn/ASCE4YBS.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BAYPYA6T.js +0 -2
- package/dist/cdn/BENXDFDK.js +0 -2
- package/dist/cdn/BG2GEL6V.js +0 -2
- package/dist/cdn/BZ4HWKAF.js +0 -2
- package/dist/cdn/DLMKQ6I2.js +0 -2
- package/dist/cdn/DOC3MQJC.js +0 -2
- package/dist/cdn/ECONXQCG.js +0 -2
- package/dist/cdn/EJ2FAXEX.js +0 -2
- package/dist/cdn/EOAQOIWV.js +0 -2
- package/dist/cdn/FHTWTEA4.js +0 -2
- package/dist/cdn/FN5XFRQS.js +0 -2
- package/dist/cdn/G2DJJIGO.js +0 -2
- package/dist/cdn/HBFEI43W.js +0 -2
- package/dist/cdn/HFQGFEEC.js +0 -2
- package/dist/cdn/HNVWY4XA.js +0 -2
- package/dist/cdn/HRGA4VCV.js +0 -2
- package/dist/cdn/HSSNNVVK.js +0 -2
- package/dist/cdn/I64VVDLI.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/IUM6GDBZ.js +0 -2
- package/dist/cdn/JDN6OXCC.js +0 -2
- package/dist/cdn/KHHQ3O5Q.js +0 -2
- package/dist/cdn/LIHIBT2F.js +0 -3
- package/dist/cdn/LLGBFUAJ.js +0 -2
- package/dist/cdn/LRAKZMK6.js +0 -2
- package/dist/cdn/LV6XVOC5.js +0 -2
- package/dist/cdn/M5M3RE6W.js +0 -2
- package/dist/cdn/NEHAS4YX.js +0 -2
- package/dist/cdn/OMR65IIM.js +0 -2
- package/dist/cdn/OP3AF4WI.js +0 -2
- package/dist/cdn/PR3CHNEH.js +0 -2
- package/dist/cdn/PTBNT4NV.js +0 -2
- package/dist/cdn/PWDBJLTW.js +0 -2
- package/dist/cdn/Q2QELGQX.js +0 -2
- package/dist/cdn/Q4I6HPPG.js +0 -2
- package/dist/cdn/QJL6FNQQ.js +0 -2
- package/dist/cdn/QMKBTPPL.js +0 -2
- package/dist/cdn/SEK42UT2.js +0 -2
- package/dist/cdn/SJPUWCSQ.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SPRQ2OBE.js +0 -2
- package/dist/cdn/TT6IHBTH.js +0 -2
- package/dist/cdn/ULRG7JME.js +0 -2
- package/dist/cdn/UMOEONXM.js +0 -2
- package/dist/cdn/UYCPYSQI.js +0 -2
- package/dist/cdn/WBZEARYO.js +0 -2
- package/dist/cdn/WFAHWPGT.js +0 -2
- package/dist/cdn/WID7G6E7.js +0 -2
- package/dist/cdn/XFFDNZIQ.js +0 -2
- package/dist/cdn/YF7BOK2T.js +0 -2
- package/dist/cdn/ZCC7V2A2.js +0 -2
- package/dist/cdn/ZI7QPEAF.js +0 -2
- package/dist/cdn/ZM5C3KIP.js +0 -2
- package/dist/cdn/ZMBD4NTY.js +0 -4
- package/dist/cdn/ZN7A4NI2.js +0 -2
- package/dist/cdn/ZQAM5BZI.js +0 -2
- package/dist/cdn/ZYYBMTVE.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
package/dist/chunks/data.js
CHANGED
|
@@ -1,62 +1,60 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "es-toolkit/compat";
|
|
3
|
-
import {
|
|
3
|
+
import { b6 as B, r as L, l as $, u as N, t as I, cZ as H, x as P, cw as x, c5 as _, A as v, cK as E, E as K } from "./index.js";
|
|
4
4
|
import { g as C } from "./series-types.js";
|
|
5
|
-
import { H as
|
|
5
|
+
import { H as f, S as o, P as M } from "./common.js";
|
|
6
6
|
import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
let s;
|
|
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;
|
|
7
|
+
import { l as U } from "./index2.js";
|
|
8
|
+
function W(e, s) {
|
|
9
|
+
let r;
|
|
10
|
+
return s === n.Category && Array.isArray(e) ? r = o.customSort : s === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
|
|
13
11
|
}
|
|
14
|
-
function
|
|
15
|
-
let
|
|
16
|
-
return
|
|
12
|
+
function G(e, s) {
|
|
13
|
+
let r;
|
|
14
|
+
return s === n.Category && Array.isArray(e) ? r = f.customSort : r = e === l.Ascending ? f.Asc : f.Desc, r;
|
|
17
15
|
}
|
|
18
16
|
const R = (e) => {
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
|
|
17
|
+
const s = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
18
|
+
return W(
|
|
19
|
+
s,
|
|
22
20
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
21
|
);
|
|
24
22
|
}, V = (e) => {
|
|
25
|
-
const
|
|
26
|
-
let
|
|
27
|
-
return (
|
|
28
|
-
},
|
|
29
|
-
let
|
|
30
|
-
const
|
|
31
|
-
return V(e) &&
|
|
32
|
-
},
|
|
33
|
-
const i = C(
|
|
34
|
-
|
|
23
|
+
const s = C(e.series);
|
|
24
|
+
let r = !1;
|
|
25
|
+
return (s === d.BarSeries || s === d.LineSeries) && (r = R(e) === o.customSort), r;
|
|
26
|
+
}, J = (e) => {
|
|
27
|
+
let s = [];
|
|
28
|
+
const r = e.orderOptions?.data?.orderType;
|
|
29
|
+
return V(e) && r === n.Category && (s = e.orderOptions?.data?.orderBy), s;
|
|
30
|
+
}, w = (e, s, r, t) => {
|
|
31
|
+
const i = C(s.series), m = B(s);
|
|
32
|
+
s.orderOptions ??= {};
|
|
35
33
|
let a = m ? [""] : l.Ascending;
|
|
36
34
|
if (m)
|
|
37
|
-
e ===
|
|
38
|
-
...
|
|
35
|
+
e === f.customSort && r !== void 0 ? a = [...r] : a = e === f.Desc ? l.Descending : l.Ascending, t ? s.orderOptions.data = {
|
|
36
|
+
...s.orderOptions.data,
|
|
39
37
|
orderByY: a,
|
|
40
38
|
orderType: n.MultiAxes
|
|
41
|
-
} :
|
|
42
|
-
...
|
|
39
|
+
} : s.orderOptions.data = {
|
|
40
|
+
...s.orderOptions.data,
|
|
43
41
|
orderByX: a,
|
|
44
42
|
orderType: n.MultiAxes
|
|
45
43
|
};
|
|
46
44
|
else if (i === d.BarSeries || i === d.LineSeries) {
|
|
47
45
|
let c = n.Category;
|
|
48
|
-
e === o.customSort &&
|
|
46
|
+
e === o.customSort && r !== void 0 ? (a = [...r], s.orderOptions.data = {
|
|
49
47
|
orderType: c,
|
|
50
48
|
orderBy: a
|
|
51
|
-
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending,
|
|
49
|
+
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, s.orderOptions.data = {
|
|
52
50
|
orderType: c,
|
|
53
51
|
orderBy: a
|
|
54
52
|
});
|
|
55
53
|
}
|
|
56
|
-
},
|
|
54
|
+
}, ee = (e) => e?.series?.[0]?.x ?? "", se = (e) => {
|
|
57
55
|
const {
|
|
58
|
-
config:
|
|
59
|
-
xAxisField:
|
|
56
|
+
config: s,
|
|
57
|
+
xAxisField: r,
|
|
60
58
|
numericFields: t,
|
|
61
59
|
aggregationType: i,
|
|
62
60
|
mode: m,
|
|
@@ -65,19 +63,19 @@ const R = (e) => {
|
|
|
65
63
|
seriesIndex: h,
|
|
66
64
|
splitByField: S = "",
|
|
67
65
|
fieldList: O
|
|
68
|
-
} = e, T = C(
|
|
69
|
-
let
|
|
70
|
-
if (
|
|
71
|
-
const y =
|
|
72
|
-
|
|
66
|
+
} = e, T = C(s.series), b = L(s.series);
|
|
67
|
+
let A;
|
|
68
|
+
if ($(a)) {
|
|
69
|
+
const y = H(a);
|
|
70
|
+
A = t.length === 1 && t[0] === y;
|
|
73
71
|
} else {
|
|
74
|
-
const { idField: y, isTraditionalTypeOID: D } =
|
|
75
|
-
|
|
72
|
+
const { idField: y, isTraditionalTypeOID: D } = N(I(a));
|
|
73
|
+
A = D && t.length === 1 && t[0] === y;
|
|
76
74
|
}
|
|
77
75
|
let p = "y", F = "y";
|
|
78
76
|
switch (T) {
|
|
79
77
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ? m ===
|
|
78
|
+
i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = A ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = K : p = t[0];
|
|
81
79
|
break;
|
|
82
80
|
}
|
|
83
81
|
case d.BarSeries:
|
|
@@ -87,13 +85,13 @@ const R = (e) => {
|
|
|
87
85
|
case d.HeatSeries: {
|
|
88
86
|
if (S === "" || t.length > 1)
|
|
89
87
|
j({
|
|
90
|
-
fieldName:
|
|
88
|
+
fieldName: r,
|
|
91
89
|
numericFields: t,
|
|
92
90
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
91
|
+
}) || b === P.BarAndLineFromFields ? p = E : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = A ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
92
|
else {
|
|
95
93
|
const y = t[0];
|
|
96
|
-
p = i !== g.NoAggregation ? `${i}_${y}_${h ?? 0}`.toUpperCase() : y, F =
|
|
94
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${h ?? 0}`.toUpperCase() : y, F = A ? u(g.Count) : u(`${i} of ${y}`);
|
|
97
95
|
}
|
|
98
96
|
break;
|
|
99
97
|
}
|
|
@@ -104,21 +102,21 @@ const R = (e) => {
|
|
|
104
102
|
};
|
|
105
103
|
};
|
|
106
104
|
function Y(e) {
|
|
107
|
-
const { fieldName:
|
|
108
|
-
return
|
|
105
|
+
const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
|
|
106
|
+
return s === _ || s === v || s === U || s === void 0 || s.trim() === "" || t === void 0;
|
|
109
107
|
}
|
|
110
108
|
function j(e) {
|
|
111
|
-
const { fieldName:
|
|
112
|
-
return Y({ fieldName:
|
|
109
|
+
const { fieldName: s, fieldList: r, numericFields: t } = e, i = t.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
|
|
110
|
+
return Y({ fieldName: s, fieldList: r }) && (i?.length ?? 0) > 0;
|
|
113
111
|
}
|
|
114
112
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
ee as a,
|
|
114
|
+
G as b,
|
|
115
|
+
W as c,
|
|
116
|
+
w as d,
|
|
117
|
+
J as e,
|
|
120
118
|
R as f,
|
|
121
|
-
|
|
119
|
+
se as g,
|
|
122
120
|
j as s,
|
|
123
121
|
Y as x
|
|
124
122
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { a as c, G as S, d as x } from "./chart-object-literals.js";
|
|
3
|
-
import { as as d,
|
|
4
|
-
import {
|
|
5
|
-
import { C as
|
|
3
|
+
import { as as d, a4 as b, aB as _, at as m, ar as I } from "./index2.js";
|
|
4
|
+
import { u as C, eI as L } from "./index.js";
|
|
5
|
+
import { C as T } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
|
-
import { M as
|
|
8
|
-
import { W
|
|
9
|
-
import { W as
|
|
10
|
-
import { W as
|
|
11
|
-
import {
|
|
7
|
+
import { M as A } from "./model-with-x-guides.js";
|
|
8
|
+
import { W, c as V, d as F } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as B, c as D, d as E } from "./generate-x-axis-title.js";
|
|
10
|
+
import { W as P, a as w } from "./x-bounds.js";
|
|
11
|
+
import { a as M } from "./utils.js";
|
|
12
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) => {
|
|
@@ -35,56 +35,56 @@ const N = (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
|
+
}, ae = (t) => t.axes[0].labelsIncrement, oe = (t, e) => {
|
|
39
39
|
e.axes[0].labelsIncrement = t;
|
|
40
|
-
},
|
|
40
|
+
}, re = (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:
|
|
46
|
-
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo:
|
|
45
|
+
const { featureIndex: e, config: s, layerInfo: r, 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: r, field: l, aggregationType: g, commonStrings: o });
|
|
47
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
|
-
const { config: e, field: s, aggregationType:
|
|
49
|
-
if (
|
|
50
|
-
const
|
|
48
|
+
const { config: e, field: s, aggregationType: r } = t;
|
|
49
|
+
if (r !== x.NoAggregation) {
|
|
50
|
+
const o = v(e), l = p(o) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
53
|
-
statisticType:
|
|
53
|
+
statisticType: r,
|
|
54
54
|
onStatisticField: s,
|
|
55
|
-
outStatisticFieldName: `${
|
|
55
|
+
outStatisticFieldName: `${r}_${s}`
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
};
|
|
59
59
|
e.series[0].query = l;
|
|
60
60
|
}
|
|
61
61
|
}, he = (t) => {
|
|
62
|
-
const { config: e, layerInfo: s, commonStrings:
|
|
63
|
-
e.title && (e.title.content.text =
|
|
62
|
+
const { config: e, layerInfo: s, commonStrings: r, field: o, aggregationType: l } = t;
|
|
63
|
+
e.title && (e.title.content.text = M({
|
|
64
64
|
config: e,
|
|
65
65
|
layerInfo: s,
|
|
66
|
-
commonStrings:
|
|
67
|
-
numericFields: [
|
|
66
|
+
commonStrings: r,
|
|
67
|
+
numericFields: [o],
|
|
68
68
|
aggregationType: l
|
|
69
69
|
}));
|
|
70
70
|
}, u = (t) => {
|
|
71
|
-
const { config: e, field: s, aggregationType:
|
|
71
|
+
const { config: e, field: s, aggregationType: r } = 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 : `${r}_${s}`;
|
|
75
|
+
o && s.startsWith(`${r}_`) && (l = s.replace(`${r}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: r }), he(t);
|
|
76
76
|
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
|
-
const { config: e, layerInfo: s, commonStrings:
|
|
77
|
+
const { config: e, layerInfo: s, commonStrings: r, aggregationType: o } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
80
80
|
layerInfo: s,
|
|
81
|
-
commonStrings:
|
|
81
|
+
commonStrings: r,
|
|
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:
|
|
87
|
-
u({ config: s, layerInfo:
|
|
86
|
+
const { field: e, config: s, layerInfo: r, commonStrings: o } = t, l = h(s);
|
|
87
|
+
u({ config: s, layerInfo: r, 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,12 +95,12 @@ const N = (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, a = (t, e, s, r) => {
|
|
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
|
-
class i extends
|
|
103
|
+
class i extends T {
|
|
104
104
|
constructor() {
|
|
105
105
|
super(...arguments), this._chartType = c.GaugeSeries;
|
|
106
106
|
}
|
|
@@ -348,16 +348,16 @@ class i extends L {
|
|
|
348
348
|
* Labels increment for the gauge.
|
|
349
349
|
*/
|
|
350
350
|
get labelsIncrement() {
|
|
351
|
-
return
|
|
351
|
+
return ae(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.
|
|
358
358
|
*/
|
|
359
359
|
get onlyShowFirstAndLastLabels() {
|
|
360
|
-
return
|
|
360
|
+
return re(this._config);
|
|
361
361
|
}
|
|
362
362
|
set onlyShowFirstAndLastLabels(e) {
|
|
363
363
|
le(e, this._config);
|
|
@@ -371,81 +371,81 @@ class i extends L {
|
|
|
371
371
|
return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
a([
|
|
375
375
|
n
|
|
376
376
|
], i.prototype, "field");
|
|
377
|
-
|
|
377
|
+
a([
|
|
378
378
|
n
|
|
379
379
|
], i.prototype, "aggregationType");
|
|
380
|
-
|
|
380
|
+
a([
|
|
381
381
|
n
|
|
382
382
|
], i.prototype, "innerRadius");
|
|
383
|
-
|
|
383
|
+
a([
|
|
384
384
|
n
|
|
385
385
|
], i.prototype, "startAngle");
|
|
386
|
-
|
|
386
|
+
a([
|
|
387
387
|
n
|
|
388
388
|
], i.prototype, "endAngle");
|
|
389
|
-
|
|
389
|
+
a([
|
|
390
390
|
n
|
|
391
391
|
], i.prototype, "valueConversion");
|
|
392
|
-
|
|
392
|
+
a([
|
|
393
393
|
n
|
|
394
394
|
], i.prototype, "featureIndex");
|
|
395
|
-
|
|
395
|
+
a([
|
|
396
396
|
n
|
|
397
397
|
], i.prototype, "removeFeatureIndex");
|
|
398
|
-
|
|
398
|
+
a([
|
|
399
399
|
n
|
|
400
400
|
], i.prototype, "needleVisibility");
|
|
401
|
-
|
|
401
|
+
a([
|
|
402
402
|
n
|
|
403
403
|
], i.prototype, "needleSymbol");
|
|
404
|
-
|
|
404
|
+
a([
|
|
405
405
|
n
|
|
406
406
|
], i.prototype, "needleStartWidth");
|
|
407
|
-
|
|
407
|
+
a([
|
|
408
408
|
n
|
|
409
409
|
], i.prototype, "needleEndWidth");
|
|
410
|
-
|
|
410
|
+
a([
|
|
411
411
|
n
|
|
412
412
|
], i.prototype, "needleInnerRadius");
|
|
413
|
-
|
|
413
|
+
a([
|
|
414
414
|
n
|
|
415
415
|
], i.prototype, "needleDisplayPin");
|
|
416
|
-
|
|
416
|
+
a([
|
|
417
417
|
n
|
|
418
418
|
], i.prototype, "innerLabelVisible");
|
|
419
|
-
|
|
419
|
+
a([
|
|
420
420
|
n
|
|
421
421
|
], i.prototype, "innerLabelContent");
|
|
422
|
-
|
|
422
|
+
a([
|
|
423
423
|
n
|
|
424
424
|
], i.prototype, "progressBandsVisibility");
|
|
425
|
-
|
|
425
|
+
a([
|
|
426
426
|
n
|
|
427
427
|
], i.prototype, "progressBands");
|
|
428
|
-
|
|
428
|
+
a([
|
|
429
429
|
n
|
|
430
430
|
], i.prototype, "axisTickVisibility");
|
|
431
|
-
|
|
431
|
+
a([
|
|
432
432
|
n
|
|
433
433
|
], i.prototype, "labelsIncrement");
|
|
434
|
-
|
|
434
|
+
a([
|
|
435
435
|
n
|
|
436
436
|
], i.prototype, "onlyShowFirstAndLastLabels");
|
|
437
437
|
const Le = [
|
|
438
|
-
F,
|
|
439
|
-
E,
|
|
440
438
|
B,
|
|
441
439
|
P,
|
|
442
|
-
|
|
440
|
+
D,
|
|
441
|
+
w,
|
|
443
442
|
W,
|
|
444
443
|
V,
|
|
445
|
-
|
|
446
|
-
|
|
444
|
+
F,
|
|
445
|
+
E,
|
|
446
|
+
A
|
|
447
447
|
];
|
|
448
|
-
|
|
448
|
+
L(i, Le);
|
|
449
449
|
export {
|
|
450
450
|
i as GaugeModel
|
|
451
451
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { C as o, m as a } from "./model-setter.js";
|
|
3
|
-
import { g as f,
|
|
4
|
-
import { k as
|
|
5
|
-
import { l as A } from "./
|
|
6
|
-
import {
|
|
7
|
-
var
|
|
8
|
-
for (var e =
|
|
3
|
+
import { g as f, i as c, j as h, k as T } from "./utils.js";
|
|
4
|
+
import { k as d, a as p, b as u, p as y, c as g } from "./type-guards.js";
|
|
5
|
+
import { l as A } from "./index2.js";
|
|
6
|
+
import { B as l } from "./index.js";
|
|
7
|
+
var v = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, b = (t, i, s, x) => {
|
|
8
|
+
for (var e = _(i, s), r = t.length - 1, n; r >= 0; r--)
|
|
9
9
|
(n = t[r]) && (e = n(i, s, e) || e);
|
|
10
|
-
return e &&
|
|
10
|
+
return e && v(i, s, e), e;
|
|
11
11
|
};
|
|
12
|
-
function
|
|
12
|
+
function B(t) {
|
|
13
13
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
14
14
|
}
|
|
15
15
|
class m extends o {
|
|
@@ -23,7 +23,7 @@ class m extends o {
|
|
|
23
23
|
c(i, 0, this._config);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
b([
|
|
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 D(t) {
|
|
35
35
|
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
36
36
|
}
|
|
37
37
|
class O extends o {
|
|
@@ -41,10 +41,10 @@ class O extends o {
|
|
|
41
41
|
* `false`: X-axis title is hidden.
|
|
42
42
|
*/
|
|
43
43
|
get xAxisTitleVisibility() {
|
|
44
|
-
return
|
|
44
|
+
return h(0, this._config);
|
|
45
45
|
}
|
|
46
46
|
set xAxisTitleVisibility(i) {
|
|
47
|
-
|
|
47
|
+
T({
|
|
48
48
|
visibility: i,
|
|
49
49
|
axisIndex: 0,
|
|
50
50
|
config: this._config
|
|
@@ -54,10 +54,10 @@ class O extends o {
|
|
|
54
54
|
M([
|
|
55
55
|
a
|
|
56
56
|
], O.prototype, "xAxisTitleVisibility");
|
|
57
|
-
function
|
|
57
|
+
function F(t) {
|
|
58
58
|
return t !== void 0 && "generateXAxisTitle" in t;
|
|
59
59
|
}
|
|
60
|
-
class
|
|
60
|
+
class S extends o {
|
|
61
61
|
/**
|
|
62
62
|
* Generate the proper x-axis title from the current config.
|
|
63
63
|
*/
|
|
@@ -65,7 +65,7 @@ class w extends o {
|
|
|
65
65
|
const i = this.layerInfo?.layerFieldsInfo;
|
|
66
66
|
if (i === void 0)
|
|
67
67
|
return "";
|
|
68
|
-
if (
|
|
68
|
+
if (d(this) || p(this))
|
|
69
69
|
return l(i, this.xAxisField);
|
|
70
70
|
if (u(this))
|
|
71
71
|
return this.category !== A ? l(i, this.category) : "";
|
|
@@ -80,9 +80,9 @@ class w extends o {
|
|
|
80
80
|
}
|
|
81
81
|
export {
|
|
82
82
|
m as W,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
F as a,
|
|
84
|
+
D as b,
|
|
85
85
|
O as c,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
S as d,
|
|
87
|
+
B as i
|
|
88
88
|
};
|
|
@@ -2,16 +2,15 @@
|
|
|
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 w, Q as v, 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
|
|
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 w, Q as v, 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 y, a9 as d, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as m, 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
7
|
import { a as pe, d as p } from "./chart-object-literals.js";
|
|
8
|
-
import { au as ce } from "./
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
for (var n = de(e, r), g = l.length - 1, c; g >= 0; g--)
|
|
8
|
+
import { au as ce } from "./index2.js";
|
|
9
|
+
import { u as h, O as ye } from "./index.js";
|
|
10
|
+
var de = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
11
|
+
for (var n = me(e, r), g = l.length - 1, c; g >= 0; g--)
|
|
13
12
|
(c = l[g]) && (n = c(e, r, n) || n);
|
|
14
|
-
return n &&
|
|
13
|
+
return n && de(e, r, n), n;
|
|
15
14
|
};
|
|
16
15
|
class s extends u {
|
|
17
16
|
constructor() {
|
|
@@ -254,15 +253,15 @@ class s extends u {
|
|
|
254
253
|
return e !== void 0 ? [e] : [];
|
|
255
254
|
}
|
|
256
255
|
set numericFields(e) {
|
|
257
|
-
const { idField: r } = h(this.layerInfo.layer), a =
|
|
256
|
+
const { idField: r } = h(this.layerInfo.layer), a = ye(e[0]), n = a ? r : e[0];
|
|
258
257
|
this._numericFields = [n], z({
|
|
259
258
|
field: n,
|
|
260
259
|
config: this._config,
|
|
261
260
|
layerInfo: this.layerInfo,
|
|
262
261
|
commonStrings: this.commonStrings
|
|
263
262
|
});
|
|
264
|
-
const g =
|
|
265
|
-
a && g !== p.Count && (this._aggregationType = p.Count,
|
|
263
|
+
const g = y(this._config);
|
|
264
|
+
a && g !== p.Count && (this._aggregationType = p.Count, d({
|
|
266
265
|
aggregationType: p.Count,
|
|
267
266
|
config: this._config,
|
|
268
267
|
layerInfo: this.layerInfo,
|
|
@@ -273,10 +272,10 @@ class s extends u {
|
|
|
273
272
|
* The aggregation type for the heat chart.
|
|
274
273
|
*/
|
|
275
274
|
get aggregationType() {
|
|
276
|
-
return
|
|
275
|
+
return y(this._config);
|
|
277
276
|
}
|
|
278
277
|
set aggregationType(e) {
|
|
279
|
-
this._aggregationType = e,
|
|
278
|
+
this._aggregationType = e, d({
|
|
280
279
|
aggregationType: e,
|
|
281
280
|
config: this._config,
|
|
282
281
|
layerInfo: this.layerInfo,
|
|
@@ -361,7 +360,7 @@ class s extends u {
|
|
|
361
360
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
362
361
|
*/
|
|
363
362
|
getXAxisSortOrder() {
|
|
364
|
-
const e =
|
|
363
|
+
const e = m(this._config)[0];
|
|
365
364
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
366
365
|
}
|
|
367
366
|
setXAxisSortOrder(e, r) {
|
|
@@ -377,7 +376,7 @@ class s extends u {
|
|
|
377
376
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
378
377
|
*/
|
|
379
378
|
getYAxisSortOrder() {
|
|
380
|
-
const e =
|
|
379
|
+
const e = m(this._config)[1];
|
|
381
380
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
382
381
|
}
|
|
383
382
|
setYAxisSortOrder(e, r) {
|