@arcgis/charts-components 5.1.0-next.65 → 5.1.0-next.67
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/2333HQZZ.js +2 -0
- package/dist/cdn/25LAV2UI.js +2 -0
- package/dist/cdn/{SMGWUDX3.js → 2J5IWBKU.js} +1 -1
- package/dist/cdn/2NIOPMWE.js +2 -0
- package/dist/cdn/32WPXK4K.js +2 -0
- package/dist/cdn/35NR6IHU.js +2 -0
- package/dist/cdn/4BDLJPIB.js +2 -0
- package/dist/cdn/4HRFZU2C.js +2 -0
- package/dist/cdn/4NYTLY62.js +2 -0
- package/dist/cdn/{66CPF67N.js → 5KOFW5BO.js} +1 -1
- package/dist/cdn/5PSQ7OKJ.js +2 -0
- package/dist/cdn/6GURKNO2.js +2 -0
- package/dist/cdn/{GLST76GV.js → 6GVGNQYH.js} +1 -1
- package/dist/cdn/6RKNXP6N.js +2 -0
- package/dist/cdn/{X6QQ322N.js → 6TKG7ZF7.js} +1 -1
- package/dist/cdn/{6VW6XPBH.js → 75FO5HPY.js} +1 -1
- package/dist/cdn/7HGCX3PA.js +2 -0
- package/dist/cdn/7Y5FTMNT.js +2 -0
- package/dist/cdn/{4YWBOW4N.js → 7YDVVZJU.js} +1 -1
- package/dist/cdn/AALOFAWG.js +2 -0
- package/dist/cdn/AMLWVAHN.js +2 -0
- package/dist/cdn/BVK4ULHH.js +2 -0
- package/dist/cdn/BXDRHDLV.js +2 -0
- package/dist/cdn/BXNLQMSP.js +2 -0
- package/dist/cdn/{3WMOCDMO.js → CCNHG4LT.js} +1 -1
- package/dist/cdn/CUAIY5DK.js +37 -0
- package/dist/cdn/DHCFSWRJ.js +2 -0
- package/dist/cdn/ECRW3QJF.js +2 -0
- package/dist/cdn/{DHZT5P3N.js → EF4GVHB2.js} +1 -1
- package/dist/cdn/EGHVQUKF.js +2 -0
- package/dist/cdn/EP5VVTAX.js +2 -0
- package/dist/cdn/EWLMYFSA.js +2 -0
- package/dist/cdn/{QFC7M2Y2.js → FFXTYOTF.js} +1 -1
- package/dist/cdn/FOSGOEWY.js +2 -0
- package/dist/cdn/G56RB2UI.js +2 -0
- package/dist/cdn/{HR62GM42.js → GKYHQ5OF.js} +1 -1
- package/dist/cdn/GXQDCOI4.js +99 -0
- package/dist/cdn/HW42VNOU.js +2 -0
- package/dist/cdn/I54YDLFZ.js +2 -0
- package/dist/cdn/I6IYDKWG.js +2 -0
- package/dist/cdn/IN3H6ULU.js +2 -0
- package/dist/cdn/ISNJYFT7.js +2 -0
- package/dist/cdn/ITB7EYBT.js +2 -0
- package/dist/cdn/JDQ6BNXO.js +2 -0
- package/dist/cdn/JMMW4Z5P.js +2 -0
- package/dist/cdn/JTL73F75.js +2 -0
- package/dist/cdn/KOLQWSYX.js +2 -0
- package/dist/cdn/KYFOP4WA.js +2 -0
- package/dist/cdn/L2NQ6Z3Z.js +2 -0
- package/dist/cdn/LGAAHH35.js +2 -0
- package/dist/cdn/LIXBROPH.js +2 -0
- package/dist/cdn/LRQVALTM.js +2 -0
- package/dist/cdn/LT62HS4S.js +2 -0
- package/dist/cdn/MUCSVAGN.js +2 -0
- package/dist/cdn/N4IITAR7.js +2 -0
- package/dist/cdn/NEEKPRM4.js +2 -0
- package/dist/cdn/NEFPCTH3.js +2 -0
- package/dist/cdn/NVV2EBVI.js +2 -0
- package/dist/cdn/O7ZCEGVR.js +2 -0
- package/dist/cdn/{WIP3X44L.js → OPDQRTZL.js} +3 -3
- package/dist/cdn/PG36SBDU.js +2 -0
- package/dist/cdn/PGJD4Q7S.js +2 -0
- package/dist/cdn/PGVNBWSU.js +23 -0
- package/dist/cdn/PL24HKI7.js +2 -0
- package/dist/cdn/PLBPOYRN.js +2 -0
- package/dist/cdn/QEPCR5IP.js +2 -0
- package/dist/cdn/QT24FAYQ.js +2 -0
- package/dist/cdn/R6XIAIZH.js +2 -0
- package/dist/cdn/RDBNRYTF.js +2 -0
- package/dist/cdn/RQLVJM4J.js +2 -0
- package/dist/cdn/RX6QOYCR.js +2 -0
- package/dist/cdn/SNZF4LXV.js +2 -0
- package/dist/cdn/{QRNEQ6OE.js → TJA5FMLP.js} +1 -1
- package/dist/cdn/TZJGC4RS.js +2 -0
- package/dist/cdn/{IIJZ52BJ.js → VRXVXPKS.js} +1 -1
- package/dist/cdn/VWCFL5P6.js +2 -0
- package/dist/cdn/W5VC5OCC.js +2 -0
- package/dist/cdn/W6T7TNP5.js +2 -0
- package/dist/cdn/WNEW6UZS.js +2 -0
- package/dist/cdn/XFXE7IY2.js +2 -0
- package/dist/cdn/XV7GLCBP.js +2 -0
- package/dist/cdn/Y3DU5EIT.js +2 -0
- package/dist/cdn/Y3NWCVUF.js +2 -0
- package/dist/cdn/YHUBOYF5.js +2 -0
- package/dist/cdn/YNRVU2AU.js +2 -0
- package/dist/cdn/YPSEQYTV.js +2 -0
- package/dist/cdn/YQTJQ5J7.js +2 -0
- package/dist/cdn/Z4GL4EF6.js +2 -0
- package/dist/cdn/ZIXBICPN.js +2 -0
- package/dist/cdn/ZRDVJBTQ.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +22 -28
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/bar-chart-model.js +19 -25
- package/dist/chunks/bar-chart-series.js +12 -18
- package/dist/chunks/box-plot-data.js +75 -81
- package/dist/chunks/box-plot-model.js +19 -19
- package/dist/chunks/chart-model.js +40 -46
- package/dist/chunks/chart-ui-utils2.js +47 -53
- package/dist/chunks/class-breaks.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +20 -20
- package/dist/chunks/data-labels-symbol.js +5 -5
- package/dist/chunks/data.js +53 -59
- package/dist/chunks/gauge-model.js +22 -28
- package/dist/chunks/generate-x-axis-title.js +30 -36
- package/dist/chunks/heat-chart-model.js +10 -16
- package/dist/chunks/histogram-data.js +53 -59
- package/dist/chunks/histogram-model.js +31 -31
- package/dist/chunks/index.js +608 -20565
- package/dist/chunks/index2.js +171 -678
- package/dist/chunks/index3.js +46 -181
- package/dist/chunks/interfaces.js +16443 -103
- package/dist/chunks/interfaces2.js +109 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -21
- package/dist/chunks/model-with-guides.js +22 -28
- package/dist/chunks/model-with-tooltips.js +23 -29
- package/dist/chunks/model-with-x-guides.js +4 -4
- package/dist/chunks/model-with-y-guides.js +25 -31
- package/dist/chunks/negative-values-stacked-to-baseline.js +41 -47
- package/dist/chunks/pie-chart-data.js +33 -39
- package/dist/chunks/pie-chart-model.js +62 -68
- package/dist/chunks/radar-chart-model.js +8 -15
- package/dist/chunks/rotated-state.js +9 -15
- package/dist/chunks/scatterplot-model.js +84 -90
- package/dist/chunks/serial-chart-data.js +8178 -4195
- package/dist/chunks/serial-chart-model.js +32 -39
- package/dist/chunks/series-length.js +14 -20
- package/dist/chunks/series.js +10 -16
- package/dist/chunks/utils.js +337 -119
- package/dist/chunks/utils2.js +19 -25
- package/dist/chunks/web-component-utils.js +42 -42
- package/dist/components/arcgis-chart/customElement.js +5255 -5339
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -20
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +33 -38
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +7 -13
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-font-style/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-format/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-general/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -19
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +13 -19
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +20 -26
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +17 -24
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -21
- package/dist/components/arcgis-charts-config-histogram/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -18
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -19
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -10
- 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 +421 -412
- package/dist/utils/chart-config/utils/index.d.ts +22 -1
- package/dist/utils/chart-config/validator/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +48 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/package.json +3 -3
- package/dist/cdn/2R7GVZ2K.js +0 -2
- package/dist/cdn/3LT2GKQ2.js +0 -2
- package/dist/cdn/4D7IL776.js +0 -23
- package/dist/cdn/4TUXERAH.js +0 -2
- package/dist/cdn/53BACKKK.js +0 -2
- package/dist/cdn/5TNV7JHC.js +0 -2
- package/dist/cdn/627BGNFG.js +0 -2
- package/dist/cdn/6LOKVOKI.js +0 -2
- package/dist/cdn/6NZ5UJML.js +0 -2
- package/dist/cdn/6WJVFMRO.js +0 -2
- package/dist/cdn/7GZN67ZQ.js +0 -2
- package/dist/cdn/7SSD7QVG.js +0 -2
- package/dist/cdn/7XRXZ5B3.js +0 -2
- package/dist/cdn/7Y57O4FJ.js +0 -2
- package/dist/cdn/7Y7YFJKK.js +0 -2
- package/dist/cdn/7YXQ6TZT.js +0 -2
- package/dist/cdn/A642VLJ3.js +0 -2
- package/dist/cdn/AVCKTWRB.js +0 -2
- package/dist/cdn/BCEUGCIB.js +0 -2
- package/dist/cdn/BP7HN7YH.js +0 -2
- package/dist/cdn/BPZNMCFA.js +0 -2
- package/dist/cdn/DRLAYMR6.js +0 -2
- package/dist/cdn/DXWMRZX7.js +0 -2
- package/dist/cdn/E7ZG5PMT.js +0 -2
- package/dist/cdn/EDBE2EVF.js +0 -2
- package/dist/cdn/EDCUOXXS.js +0 -2
- package/dist/cdn/EWCL54AQ.js +0 -2
- package/dist/cdn/FKR2N42T.js +0 -2
- package/dist/cdn/GT2GE37X.js +0 -2
- package/dist/cdn/HHMRHLFD.js +0 -2
- package/dist/cdn/HMYIPN7X.js +0 -2
- package/dist/cdn/HQZDYYW6.js +0 -2
- package/dist/cdn/HZDIYXNY.js +0 -2
- package/dist/cdn/I34GLJPW.js +0 -2
- package/dist/cdn/IGRLN5QE.js +0 -2
- package/dist/cdn/IJD3YDOE.js +0 -2
- package/dist/cdn/ITF5WJUH.js +0 -2
- package/dist/cdn/J73HEYK6.js +0 -2
- package/dist/cdn/JWTEQZTD.js +0 -2
- package/dist/cdn/KDLX6TGN.js +0 -2
- package/dist/cdn/LLNUWDC5.js +0 -2
- package/dist/cdn/LZ7LNUEI.js +0 -2
- package/dist/cdn/MAZJTJ64.js +0 -2
- package/dist/cdn/MB7BDR7H.js +0 -2
- package/dist/cdn/MTTVUHUH.js +0 -2
- package/dist/cdn/MVLJJ7VZ.js +0 -2
- package/dist/cdn/N373OIOT.js +0 -2
- package/dist/cdn/N4GBOPIU.js +0 -2
- package/dist/cdn/OG3JZ3LP.js +0 -37
- package/dist/cdn/PSYU6XTK.js +0 -2
- package/dist/cdn/PVTBEXFF.js +0 -2
- package/dist/cdn/PYLJO324.js +0 -2
- package/dist/cdn/QQ6DOFHZ.js +0 -99
- package/dist/cdn/RAJWBR34.js +0 -2
- package/dist/cdn/S7COU7MH.js +0 -2
- package/dist/cdn/SYY7UU2N.js +0 -2
- package/dist/cdn/TN45YUM2.js +0 -2
- package/dist/cdn/TODWZ6FZ.js +0 -2
- package/dist/cdn/TP7767ZV.js +0 -2
- package/dist/cdn/UFJOL4MK.js +0 -2
- package/dist/cdn/ULSVHCH4.js +0 -2
- package/dist/cdn/UVFPEIK2.js +0 -2
- package/dist/cdn/V3PU5TMU.js +0 -2
- package/dist/cdn/V3VVN7ST.js +0 -2
- package/dist/cdn/V5JXE6N4.js +0 -2
- package/dist/cdn/VPOAGMYE.js +0 -2
- package/dist/cdn/VXMMIOTJ.js +0 -2
- package/dist/cdn/WL2XRSAH.js +0 -2
- package/dist/cdn/WWARKOXR.js +0 -2
- package/dist/cdn/WWGW24FD.js +0 -2
- package/dist/cdn/XUHCS2SB.js +0 -2
- package/dist/cdn/YBAPI2UV.js +0 -2
- package/dist/cdn/YJDYXU2Q.js +0 -2
- package/dist/cdn/YUZ26Q2B.js +0 -2
- package/dist/cdn/ZRDKD2U3.js +0 -2
- package/dist/cdn/ZVOSWG36.js +0 -2
- /package/dist/cdn/{FPDW4F45.js → VCUC6CMW.js} +0 -0
package/dist/chunks/data.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
3
|
import "@arcgis/toolkit/type";
|
|
4
4
|
import { p as l, n, w as g, u as d, r as F } from "./series-types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { aa as x, w as $, K as B, y as L, dV as N, an as I, c$ as H, bD as P, bw as _, bQ as M, C as v, x as K, M as U } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "@esri/arcgis-html-sanitizer";
|
|
@@ -21,86 +21,80 @@ import "simple-statistics";
|
|
|
21
21
|
import "@arcgis/core/Graphic.js";
|
|
22
22
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
23
23
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
24
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
25
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
26
|
-
import "@arcgis/core/intl.js";
|
|
27
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
28
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
29
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
30
|
-
import "@arcgis/core/core/sql.js";
|
|
31
24
|
import "@arcgis/toolkit/dom";
|
|
32
|
-
import
|
|
33
|
-
|
|
25
|
+
import "@arcgis/core/intl.js";
|
|
26
|
+
import { H as A, S as o, P as V } from "./common.js";
|
|
27
|
+
function W(e, r) {
|
|
34
28
|
let t;
|
|
35
29
|
return r === n.Category && Array.isArray(e) ? t = o.customSort : r === n.Category ? t = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? t = o.yAxisAsc : t = o.yAxisDesc, t;
|
|
36
30
|
}
|
|
37
|
-
function
|
|
31
|
+
function Ae(e, r) {
|
|
38
32
|
let t;
|
|
39
33
|
return r === n.Category && Array.isArray(e) ? t = A.customSort : t = e === l.Ascending ? A.Asc : A.Desc, t;
|
|
40
34
|
}
|
|
41
|
-
const
|
|
35
|
+
const E = (e) => {
|
|
42
36
|
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
43
|
-
return
|
|
37
|
+
return W(
|
|
44
38
|
r,
|
|
45
39
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
46
40
|
);
|
|
47
41
|
}, R = (e) => {
|
|
48
42
|
const r = g(e.series);
|
|
49
43
|
let t = !1;
|
|
50
|
-
return (r === d.BarSeries || r === d.LineSeries) && (t =
|
|
51
|
-
},
|
|
44
|
+
return (r === d.BarSeries || r === d.LineSeries) && (t = E(e) === o.customSort), t;
|
|
45
|
+
}, Ce = (e) => {
|
|
52
46
|
let r = [];
|
|
53
47
|
const t = e.orderOptions?.data?.orderType;
|
|
54
48
|
return R(e) && t === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
55
|
-
},
|
|
56
|
-
const a = g(r.series),
|
|
49
|
+
}, Fe = (e, r, t, s) => {
|
|
50
|
+
const a = g(r.series), m = N(r);
|
|
57
51
|
r.orderOptions ??= {};
|
|
58
|
-
let
|
|
59
|
-
if (
|
|
60
|
-
e === A.customSort && t !== void 0 ?
|
|
52
|
+
let i = m ? [""] : l.Ascending;
|
|
53
|
+
if (m)
|
|
54
|
+
e === A.customSort && t !== void 0 ? i = [...t] : i = e === A.Desc ? l.Descending : l.Ascending, s ? r.orderOptions.data = {
|
|
61
55
|
...r.orderOptions.data,
|
|
62
|
-
orderByY:
|
|
56
|
+
orderByY: i,
|
|
63
57
|
orderType: n.MultiAxes
|
|
64
58
|
} : r.orderOptions.data = {
|
|
65
59
|
...r.orderOptions.data,
|
|
66
|
-
orderByX:
|
|
60
|
+
orderByX: i,
|
|
67
61
|
orderType: n.MultiAxes
|
|
68
62
|
};
|
|
69
63
|
else if (a === d.BarSeries || a === d.LineSeries) {
|
|
70
64
|
let p = n.Category;
|
|
71
|
-
e === o.customSort && t !== void 0 ? (
|
|
65
|
+
e === o.customSort && t !== void 0 ? (i = [...t], r.orderOptions.data = {
|
|
72
66
|
orderType: p,
|
|
73
|
-
orderBy:
|
|
74
|
-
}) : (p = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue,
|
|
67
|
+
orderBy: i
|
|
68
|
+
}) : (p = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, i = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
|
|
75
69
|
orderType: p,
|
|
76
|
-
orderBy:
|
|
70
|
+
orderBy: i
|
|
77
71
|
});
|
|
78
72
|
}
|
|
79
|
-
},
|
|
73
|
+
}, ge = (e) => e?.series?.[0]?.x ?? "", xe = (e) => {
|
|
80
74
|
const {
|
|
81
75
|
config: r,
|
|
82
76
|
xAxisField: t,
|
|
83
|
-
numericFields:
|
|
77
|
+
numericFields: s,
|
|
84
78
|
aggregationType: a,
|
|
85
|
-
mode:
|
|
86
|
-
layer:
|
|
79
|
+
mode: m,
|
|
80
|
+
layer: i,
|
|
87
81
|
numericFieldIndex: p,
|
|
88
82
|
seriesIndex: h,
|
|
89
83
|
splitByField: S = "",
|
|
90
84
|
fieldList: O
|
|
91
85
|
} = e, T = g(r.series), b = I(r.series);
|
|
92
86
|
let f;
|
|
93
|
-
if (H(
|
|
94
|
-
const y = M(
|
|
95
|
-
f =
|
|
87
|
+
if (H(i)) {
|
|
88
|
+
const y = M(i);
|
|
89
|
+
f = s.length === 1 && s[0] === y;
|
|
96
90
|
} else {
|
|
97
|
-
const { idField: y, isTraditionalTypeOID: D } = P(_(
|
|
98
|
-
f = D &&
|
|
91
|
+
const { idField: y, isTraditionalTypeOID: D } = P(_(i));
|
|
92
|
+
f = D && s.length === 1 && s[0] === y;
|
|
99
93
|
}
|
|
100
|
-
let
|
|
94
|
+
let c = "y", C = "y";
|
|
101
95
|
switch (T) {
|
|
102
96
|
case d.PieSeries: {
|
|
103
|
-
a !== F.NoAggregation ?
|
|
97
|
+
a !== F.NoAggregation ? m === V.Category ? (c = `${a}_${s[0]}_0`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${s[0]}`)) : c = U : c = s[0];
|
|
104
98
|
break;
|
|
105
99
|
}
|
|
106
100
|
case d.BarSeries:
|
|
@@ -108,40 +102,40 @@ const K = (e) => {
|
|
|
108
102
|
case d.ComboLineAndBarSeries:
|
|
109
103
|
case d.RadarSeries:
|
|
110
104
|
case d.HeatSeries: {
|
|
111
|
-
if (S === "" ||
|
|
112
|
-
|
|
105
|
+
if (S === "" || s.length > 1)
|
|
106
|
+
j({
|
|
113
107
|
fieldName: t,
|
|
114
|
-
numericFields:
|
|
108
|
+
numericFields: s,
|
|
115
109
|
fieldList: O ?? []
|
|
116
|
-
}) || b ===
|
|
110
|
+
}) || b === v.BarAndLineFromFields ? c = K : (c = `${a}_${s[p ?? 0]}_${p ?? 0}`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${s[p ?? 0]}`));
|
|
117
111
|
else {
|
|
118
|
-
const y =
|
|
119
|
-
|
|
112
|
+
const y = s[0];
|
|
113
|
+
c = `${a}_${y}_${h ?? 0}`.toUpperCase(), C = f ? u(F.Count) : u(`${a} of ${y}`);
|
|
120
114
|
}
|
|
121
115
|
break;
|
|
122
116
|
}
|
|
123
117
|
}
|
|
124
118
|
return {
|
|
125
|
-
name:
|
|
119
|
+
name: c,
|
|
126
120
|
description: C
|
|
127
121
|
};
|
|
128
122
|
};
|
|
129
|
-
function
|
|
130
|
-
const { fieldName: r, fieldList: t } = e,
|
|
131
|
-
return r ===
|
|
123
|
+
function Y(e) {
|
|
124
|
+
const { fieldName: r, fieldList: t } = e, s = x(t ?? [], r);
|
|
125
|
+
return r === $ || r === B || r === L || r === void 0 || r.trim() === "" || s === void 0;
|
|
132
126
|
}
|
|
133
|
-
function
|
|
134
|
-
const { fieldName: r, fieldList: t, numericFields:
|
|
135
|
-
return
|
|
127
|
+
function j(e) {
|
|
128
|
+
const { fieldName: r, fieldList: t, numericFields: s } = e, a = s.filter((m) => x(t ?? [], m)?.type !== "esriFieldTypeOID");
|
|
129
|
+
return Y({ fieldName: r, fieldList: t }) && (a?.length ?? 0) > 0;
|
|
136
130
|
}
|
|
137
131
|
export {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
132
|
+
xe as a,
|
|
133
|
+
E as b,
|
|
134
|
+
j as c,
|
|
135
|
+
Ce as d,
|
|
136
|
+
Ae as e,
|
|
137
|
+
W as f,
|
|
138
|
+
ge as g,
|
|
139
|
+
Fe as s,
|
|
140
|
+
Y as x
|
|
147
141
|
};
|
|
@@ -4,37 +4,31 @@ import { m as o } from "./model-setter.js";
|
|
|
4
4
|
import { W as _, a as I, b as C } from "./axis-lines-symbol.js";
|
|
5
5
|
import { W as L, b as T } from "./model-with-guides.js";
|
|
6
6
|
import { W as A, a as W, b as F } from "./generate-x-axis-title.js";
|
|
7
|
-
import { g as V,
|
|
7
|
+
import { g as V, c as D } from "./utils.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
9
|
import "lodash-es";
|
|
10
10
|
import "luxon";
|
|
11
|
-
import { u as
|
|
11
|
+
import { u as y, G as E, r as m } from "./series-types.js";
|
|
12
12
|
import "@arcgis/toolkit/type";
|
|
13
|
-
import {
|
|
13
|
+
import { aL as d, aF as b, bd as M, aM as x, aK as w, bD as N } from "./interfaces.js";
|
|
14
14
|
import "@arcgis/core/Graphic.js";
|
|
15
15
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
16
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
18
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
19
17
|
import "@esri/arcgis-html-sanitizer";
|
|
20
|
-
import "@arcgis/core/intl.js";
|
|
21
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
22
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
23
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
24
|
-
import "simple-statistics";
|
|
25
|
-
import "@arcgis/core/request.js";
|
|
26
|
-
import "@arcgis/core/core/sql.js";
|
|
27
18
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
28
19
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
29
20
|
import "@arcgis/core/rest/support/Query.js";
|
|
30
21
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
31
22
|
import "@arcgis/core/time/TimeExtent.js";
|
|
32
23
|
import "@arcgis/core/core/promiseUtils.js";
|
|
24
|
+
import "@arcgis/core/request.js";
|
|
33
25
|
import "./runtime.js";
|
|
34
26
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
35
27
|
import "@arcgis/core/geometry/Extent.js";
|
|
36
28
|
import "@arcgis/core/geometry/Point.js";
|
|
29
|
+
import "simple-statistics";
|
|
37
30
|
import "@arcgis/toolkit/dom";
|
|
31
|
+
import "@arcgis/core/intl.js";
|
|
38
32
|
import { M as R } from "./model-with-x-guides.js";
|
|
39
33
|
const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
40
34
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
@@ -44,17 +38,17 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
44
38
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
45
39
|
}, j = (t) => t.axes[0].needle?.endWidth, q = (t, e) => {
|
|
46
40
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
47
|
-
},
|
|
41
|
+
}, B = (t) => t.axes[0].needle?.innerRadius, K = (t, e) => {
|
|
48
42
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
49
43
|
}, Q = (t) => t.axes[0].needle?.displayPin ?? !1, Y = (t, e) => {
|
|
50
44
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
51
|
-
}, z = (t) => t.axes[0].innerLabel?.visible ?? !0,
|
|
45
|
+
}, z = (t) => t.axes[0].innerLabel?.visible ?? !0, H = (t, e) => {
|
|
52
46
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
53
|
-
},
|
|
47
|
+
}, J = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
54
48
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
55
49
|
}, Z = (t) => t.axes[0].ticks?.visible ?? !0, ee = (t, e) => {
|
|
56
50
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
57
|
-
type:
|
|
51
|
+
type: y.GaugeAxisTick
|
|
58
52
|
}), e.axes[0].ticks.visible = t;
|
|
59
53
|
}, te = (t) => t.axes[0].labelsIncrement, ie = (t, e) => {
|
|
60
54
|
e.axes[0].labelsIncrement = t;
|
|
@@ -67,7 +61,7 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
67
61
|
e === null ? delete i.series[0].featureIndex : i.series[0] !== void 0 && (i.series[0].featureIndex = e), c({ config: i, layerInfo: a, field: l, aggregationType: g, commonStrings: n });
|
|
68
62
|
}, ae = (t) => t.subType ?? E.StatisticGauge, le = (t) => {
|
|
69
63
|
const { config: e, field: i, aggregationType: a } = t;
|
|
70
|
-
if (a !==
|
|
64
|
+
if (a !== m.NoAggregation) {
|
|
71
65
|
const n = S(e), l = u(n) ? {} : {
|
|
72
66
|
outStatistics: [
|
|
73
67
|
{
|
|
@@ -94,7 +88,7 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
94
88
|
const n = u(e.series[0]?.featureIndex);
|
|
95
89
|
let l = n ? i : `${a}_${i}`;
|
|
96
90
|
n && i.startsWith(`${a}_`) && (l = i.replace(`${a}_`, "")), e.series[0].x = l, le({ config: e, field: i, aggregationType: a }), de(t);
|
|
97
|
-
}, p = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
91
|
+
}, p = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? m.Count, ge = (t) => {
|
|
98
92
|
const { config: e, layerInfo: i, commonStrings: a, aggregationType: n } = t, l = h(e);
|
|
99
93
|
c({
|
|
100
94
|
config: e,
|
|
@@ -110,7 +104,7 @@ const G = (t) => t.axes[0].needle?.visible ?? !0, P = (t, e) => {
|
|
|
110
104
|
e.innerRadius = t;
|
|
111
105
|
}, he = (t) => t.startAngle ?? -90, fe = (t, e) => {
|
|
112
106
|
e.startAngle = t;
|
|
113
|
-
},
|
|
107
|
+
}, ye = (t) => t.endAngle ?? 270, me = (t, e) => {
|
|
114
108
|
e.endAngle = t;
|
|
115
109
|
};
|
|
116
110
|
function be(t) {
|
|
@@ -123,7 +117,7 @@ var xe = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, r = (t, e,
|
|
|
123
117
|
};
|
|
124
118
|
class s extends v {
|
|
125
119
|
constructor() {
|
|
126
|
-
super(...arguments), this._chartType =
|
|
120
|
+
super(...arguments), this._chartType = y.GaugeSeries;
|
|
127
121
|
}
|
|
128
122
|
/**
|
|
129
123
|
* Generate the proper chart title given the current config.
|
|
@@ -184,10 +178,10 @@ class s extends v {
|
|
|
184
178
|
* End angle of the gauge.
|
|
185
179
|
*/
|
|
186
180
|
get endAngle() {
|
|
187
|
-
return
|
|
181
|
+
return ye(this._config);
|
|
188
182
|
}
|
|
189
183
|
set endAngle(e) {
|
|
190
|
-
|
|
184
|
+
me(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
191
185
|
}
|
|
192
186
|
// ---------------------------------------------------------------------------------------------
|
|
193
187
|
// Series Props
|
|
@@ -286,10 +280,10 @@ class s extends v {
|
|
|
286
280
|
* Inner radius of the gauge's needle.
|
|
287
281
|
*/
|
|
288
282
|
get needleInnerRadius() {
|
|
289
|
-
return
|
|
283
|
+
return B(this._config);
|
|
290
284
|
}
|
|
291
285
|
set needleInnerRadius(e) {
|
|
292
|
-
|
|
286
|
+
K(e, this._config);
|
|
293
287
|
}
|
|
294
288
|
/**
|
|
295
289
|
* Whether to display the pin for the gauge's needle.
|
|
@@ -307,7 +301,7 @@ class s extends v {
|
|
|
307
301
|
return z(this._config);
|
|
308
302
|
}
|
|
309
303
|
set innerLabelVisible(e) {
|
|
310
|
-
|
|
304
|
+
H(e, this._config);
|
|
311
305
|
}
|
|
312
306
|
/**
|
|
313
307
|
* Content symbol for the inner label.
|
|
@@ -321,7 +315,7 @@ class s extends v {
|
|
|
321
315
|
* ```
|
|
322
316
|
*/
|
|
323
317
|
get innerLabelContent() {
|
|
324
|
-
return
|
|
318
|
+
return J(this._config);
|
|
325
319
|
}
|
|
326
320
|
set innerLabelContent(e) {
|
|
327
321
|
U(e, this._config);
|
|
@@ -358,8 +352,8 @@ class s extends v {
|
|
|
358
352
|
// ---------------------------------------------------------------------------------------------
|
|
359
353
|
/** @private */
|
|
360
354
|
generateDefaultConfig() {
|
|
361
|
-
const e =
|
|
362
|
-
return e.series = [x({ objectIDField:
|
|
355
|
+
const e = w(this.commonStrings);
|
|
356
|
+
return e.series = [x({ objectIDField: N(this.layerInfo.layer).idField })], e;
|
|
363
357
|
}
|
|
364
358
|
}
|
|
365
359
|
r([
|
|
@@ -1,50 +1,44 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import { g as
|
|
2
|
+
import { C as l, m as a } from "./model-setter.js";
|
|
3
|
+
import { g as p, b as m, c as f, d as h } from "./utils2.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "./series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import {
|
|
9
|
+
import { bi as n, y as T } from "./interfaces.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
14
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
15
|
-
import "@arcgis/core/intl.js";
|
|
16
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
13
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
14
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
15
|
import "@arcgis/core/rest/support/Query.js";
|
|
25
16
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
17
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
18
|
import "@arcgis/core/core/promiseUtils.js";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
28
20
|
import "./runtime.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { t as c, u as d, a as u, f as y, e as A } from "./type-guards.js";
|
|
34
|
-
var g = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, b = (t, i,
|
|
35
|
-
for (var e = _(i,
|
|
36
|
-
(o = t[
|
|
37
|
-
return e && g(i,
|
|
28
|
+
var g = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, b = (t, i, s, x) => {
|
|
29
|
+
for (var e = _(i, s), r = t.length - 1, o; r >= 0; r--)
|
|
30
|
+
(o = t[r]) && (e = o(i, s, e) || e);
|
|
31
|
+
return e && g(i, s, e), e;
|
|
38
32
|
};
|
|
39
|
-
function
|
|
33
|
+
function ii(t) {
|
|
40
34
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
41
35
|
}
|
|
42
|
-
class v extends
|
|
36
|
+
class v extends l {
|
|
43
37
|
/**
|
|
44
38
|
* The x-axis title text.
|
|
45
39
|
*/
|
|
46
40
|
get xAxisTitleText() {
|
|
47
|
-
return
|
|
41
|
+
return p(0, this._config);
|
|
48
42
|
}
|
|
49
43
|
set xAxisTitleText(i) {
|
|
50
44
|
m(i, 0, this._config);
|
|
@@ -53,15 +47,15 @@ class v extends n {
|
|
|
53
47
|
b([
|
|
54
48
|
a
|
|
55
49
|
], v.prototype, "xAxisTitleText");
|
|
56
|
-
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i,
|
|
57
|
-
for (var e = C(i,
|
|
58
|
-
(o = t[
|
|
59
|
-
return e && P(i,
|
|
50
|
+
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s, x) => {
|
|
51
|
+
for (var e = C(i, s), r = t.length - 1, o; r >= 0; r--)
|
|
52
|
+
(o = t[r]) && (e = o(i, s, e) || e);
|
|
53
|
+
return e && P(i, s, e), e;
|
|
60
54
|
};
|
|
61
|
-
function
|
|
55
|
+
function ti(t) {
|
|
62
56
|
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
63
57
|
}
|
|
64
|
-
class O extends
|
|
58
|
+
class O extends l {
|
|
65
59
|
/**
|
|
66
60
|
* Whether the x-axis title is visible.
|
|
67
61
|
* `true`: X-axis title is visible.
|
|
@@ -77,10 +71,10 @@ class O extends n {
|
|
|
77
71
|
M([
|
|
78
72
|
a
|
|
79
73
|
], O.prototype, "xAxisTitleVisibility");
|
|
80
|
-
function
|
|
74
|
+
function ei(t) {
|
|
81
75
|
return t !== void 0 && "generateXAxisTitle" in t;
|
|
82
76
|
}
|
|
83
|
-
class
|
|
77
|
+
class si extends l {
|
|
84
78
|
/**
|
|
85
79
|
* Generate the proper x-axis title from the current config.
|
|
86
80
|
*/
|
|
@@ -89,14 +83,14 @@ class pi extends n {
|
|
|
89
83
|
if (i === void 0)
|
|
90
84
|
return "";
|
|
91
85
|
if (c(this) || d(this))
|
|
92
|
-
return
|
|
86
|
+
return n(i, this.xAxisField);
|
|
93
87
|
if (u(this))
|
|
94
|
-
return this.category !== T ?
|
|
88
|
+
return this.category !== T ? n(i, this.category) : "";
|
|
95
89
|
if (y(this))
|
|
96
|
-
return
|
|
90
|
+
return n(i, this.numericField);
|
|
97
91
|
if (A(this)) {
|
|
98
|
-
const
|
|
99
|
-
return
|
|
92
|
+
const s = this.xTemporalBinning?.unit;
|
|
93
|
+
return s !== void 0 ? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s] : "";
|
|
100
94
|
}
|
|
101
95
|
return "";
|
|
102
96
|
}
|
|
@@ -104,8 +98,8 @@ class pi extends n {
|
|
|
104
98
|
export {
|
|
105
99
|
v as W,
|
|
106
100
|
O as a,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
101
|
+
si as b,
|
|
102
|
+
ei as c,
|
|
103
|
+
ti as d,
|
|
104
|
+
ii as i
|
|
111
105
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { m as e } 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 { d as C, e as T, s as A, f as O, h as F, i as L, j as x, k as D, l as v, m as w, n as b, o as B, p as
|
|
5
|
+
import { d as C, e as T, s as A, f as O, h as F, i as L, j as x, k as D, l as v, m as w, n as b, o as B, p as I, q as P, r as R, t as E, u as k, v as W, w as G, x as H, y as N, z as Y, A as M, B as U, C as V, D as m, E as y, F as X, G as j, H as K, I as q, J as z, K as J, L as c, M as Q, N as Z, O as $, P as tt, Q as et, R as it, S as rt, T as st } from "./serial-chart-data.js";
|
|
6
6
|
import { s as d } from "./data.js";
|
|
7
7
|
import { u as ot, r as f } from "./series-types.js";
|
|
8
|
-
import {
|
|
8
|
+
import { bD as h, cB as nt, aN as at } from "./interfaces.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
@@ -13,29 +13,23 @@ import "@arcgis/toolkit/type";
|
|
|
13
13
|
import "@arcgis/core/Graphic.js";
|
|
14
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "@arcgis/core/intl.js";
|
|
19
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
21
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
22
|
-
import "simple-statistics";
|
|
23
|
-
import "@arcgis/core/request.js";
|
|
24
|
-
import "@arcgis/core/core/sql.js";
|
|
25
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
26
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
27
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
28
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
29
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
30
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
|
+
import "@arcgis/core/request.js";
|
|
31
23
|
import "./runtime.js";
|
|
32
24
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
33
25
|
import "@arcgis/core/geometry/Extent.js";
|
|
34
26
|
import "@arcgis/core/geometry/Point.js";
|
|
27
|
+
import "simple-statistics";
|
|
35
28
|
import "@arcgis/toolkit/dom";
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
import "@arcgis/core/intl.js";
|
|
30
|
+
var gt = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, i = (l, t, s, a) => {
|
|
31
|
+
for (var n = lt(t, s), g = l.length - 1, p; g >= 0; g--)
|
|
32
|
+
(p = l[g]) && (n = p(t, s, n) || n);
|
|
39
33
|
return n && gt(t, s, n), n;
|
|
40
34
|
};
|
|
41
35
|
class r extends u {
|
|
@@ -158,14 +152,14 @@ class r extends u {
|
|
|
158
152
|
}
|
|
159
153
|
set classificationMethod(t) {
|
|
160
154
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
161
|
-
t && (
|
|
155
|
+
t && (I(t, this._config), this.emitConfigUpdate("classificationMethod"));
|
|
162
156
|
});
|
|
163
157
|
}
|
|
164
158
|
/**
|
|
165
159
|
* Hide the empty rows and columns in the heat chart.
|
|
166
160
|
*/
|
|
167
161
|
get hideEmptyRowsAndColumns() {
|
|
168
|
-
return
|
|
162
|
+
return P(this._config);
|
|
169
163
|
}
|
|
170
164
|
set hideEmptyRowsAndColumns(t) {
|
|
171
165
|
R(this._config, t);
|