@arcgis/charts-components 5.1.0-next.78 → 5.1.0-next.79
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/2EFFPZSB.js +2 -0
- package/dist/cdn/{5MK4KEXO.js → 2NN5AE5D.js} +1 -1
- package/dist/cdn/3AIE3FUA.js +2 -0
- package/dist/cdn/3LYW7DPP.js +2 -0
- package/dist/cdn/3MHB5VAM.js +37 -0
- package/dist/cdn/3VEQ7HMG.js +2 -0
- package/dist/cdn/{2RI4SWDF.js → 45P5JEKC.js} +1 -1
- package/dist/cdn/{ES3W7RXX.js → 47WDNO2P.js} +1 -1
- package/dist/cdn/4GCUO37L.js +2 -0
- package/dist/cdn/4IYPGSMC.js +2 -0
- package/dist/cdn/{E25WCICG.js → 4LH6RELA.js} +1 -1
- package/dist/cdn/4YZHTVL7.js +2 -0
- package/dist/cdn/52XNA2DH.js +2 -0
- package/dist/cdn/57CR5SOU.js +2 -0
- package/dist/cdn/5ZYCFKFX.js +2 -0
- package/dist/cdn/66KEM4LG.js +2 -0
- package/dist/cdn/6DGQQ4V4.js +2 -0
- package/dist/cdn/6FB455E4.js +2 -0
- package/dist/cdn/6P6HFKV2.js +2 -0
- package/dist/cdn/7GWVJEAI.js +2 -0
- package/dist/cdn/7I2D5SVD.js +2 -0
- package/dist/cdn/7ICRLJ5R.js +2 -0
- package/dist/cdn/7K2V6YNA.js +2 -0
- package/dist/cdn/7X23S5SF.js +2 -0
- package/dist/cdn/A4FCRGKH.js +2 -0
- package/dist/cdn/ALMGT4ZN.js +2 -0
- package/dist/cdn/BBBLK7RI.js +2 -0
- package/dist/cdn/BCPVUKSF.js +2 -0
- package/dist/cdn/CXSNVG3M.js +2 -0
- package/dist/cdn/DYQRIA4G.js +2 -0
- package/dist/cdn/E5P3LY6E.js +2 -0
- package/dist/cdn/E6S67HXA.js +2 -0
- package/dist/cdn/{F64DUA56.js → EEBFNI6X.js} +1 -1
- package/dist/cdn/{ZHHGFM7A.js → FOYNQPWL.js} +1 -1
- package/dist/cdn/G2EWR4OS.js +2 -0
- package/dist/cdn/GDTHQBCP.js +2 -0
- package/dist/cdn/{IXB466HO.js → GPXGV2W3.js} +1 -1
- package/dist/cdn/H32MCV7J.js +2 -0
- package/dist/cdn/{Z65YSXAM.js → HESIIJTB.js} +1 -1
- package/dist/cdn/HNRWEWFM.js +2 -0
- package/dist/cdn/{TTFGPQEV.js → HWJIFGRR.js} +1 -1
- package/dist/cdn/{Y63HMEHX.js → ICCNKIGD.js} +1 -1
- package/dist/cdn/IKRCUXIB.js +2 -0
- package/dist/cdn/IO7TJZDW.js +2 -0
- package/dist/cdn/{HJI2UDQ5.js → IVWZLS7W.js} +1 -1
- package/dist/cdn/IXGXDRYR.js +2 -0
- package/dist/cdn/{VO3T2EU2.js → IZCUAYGW.js} +1 -1
- package/dist/cdn/JB527BEY.js +2 -0
- package/dist/cdn/JLFVNF5U.js +2 -0
- package/dist/cdn/JZPDA4LD.js +2 -0
- package/dist/cdn/KC5H5WGK.js +2 -0
- package/dist/cdn/{3M3XDPTP.js → KFBMPA6U.js} +1 -1
- package/dist/cdn/KFIYYH54.js +2 -0
- package/dist/cdn/KQD5PSPV.js +2 -0
- package/dist/cdn/KRGZLJM5.js +2 -0
- package/dist/cdn/KUO2EPUE.js +2 -0
- package/dist/cdn/LD2K2FUM.js +2 -0
- package/dist/cdn/{ADEXGHEI.js → LHNPAXRS.js} +1 -1
- package/dist/cdn/LNTDBU7W.js +2 -0
- package/dist/cdn/LPGL66XP.js +2 -0
- package/dist/cdn/LT4HKSXR.js +2 -0
- package/dist/cdn/LX5QI6J3.js +2 -0
- package/dist/cdn/{GI5KVQT7.js → MBC2KQUK.js} +1 -1
- package/dist/cdn/MFIKF7RC.js +2 -0
- package/dist/cdn/{S6LNDEBR.js → MGIPPTHG.js} +1 -1
- package/dist/cdn/NFBNUOS2.js +2 -0
- package/dist/cdn/NHN6CQRE.js +2 -0
- package/dist/cdn/OQLV6YYT.js +2 -0
- package/dist/cdn/P2MVLEZ7.js +2 -0
- package/dist/cdn/{JMAFYRD7.js → PV4ROV2W.js} +1 -1
- package/dist/cdn/Q3YDW4V6.js +2 -0
- package/dist/cdn/QGLWCPMB.js +2 -0
- package/dist/cdn/QJKJNE7A.js +2 -0
- package/dist/cdn/RI65IJRW.js +2 -0
- package/dist/cdn/SJWEUS4D.js +2 -0
- package/dist/cdn/SLB3Y7Q2.js +2 -0
- package/dist/cdn/SUUMGHCO.js +2 -0
- package/dist/cdn/{3QCPYVCJ.js → SYV4I4MD.js} +2 -2
- package/dist/cdn/T47JP5N6.js +2 -0
- package/dist/cdn/TJ3ALCTV.js +2 -0
- package/dist/cdn/TZG37HE4.js +2 -0
- package/dist/cdn/UM7JZ2DY.js +2 -0
- package/dist/cdn/V45SCYTC.js +2 -0
- package/dist/cdn/{SQSCQJPU.js → VOR2H3D7.js} +1 -1
- package/dist/cdn/VPLVBL2P.js +2 -0
- package/dist/cdn/WTQDFRE7.js +2 -0
- package/dist/cdn/X234G7PD.js +2 -0
- package/dist/cdn/X7FQPP5T.js +2 -0
- package/dist/cdn/XJFKEIB4.js +2 -0
- package/dist/cdn/XLHQQCTU.js +2 -0
- package/dist/cdn/XSH2YEV4.js +2 -0
- package/dist/cdn/Y3E4HJZ6.js +2 -0
- package/dist/cdn/Y5KIJ6GX.js +120 -0
- package/dist/cdn/YKJO6KSB.js +2 -0
- package/dist/cdn/YSZU65DU.js +2 -0
- package/dist/cdn/{TMV7ZINW.js → ZEQ6Q5SM.js} +1 -1
- package/dist/cdn/ZMVYIIG4.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +15 -12
- package/dist/chunks/bar-chart-model.js +9 -6
- package/dist/chunks/bar-chart-series.js +10 -8
- package/dist/chunks/box-plot-data.js +53 -51
- package/dist/chunks/box-plot-model.js +15 -16
- package/dist/chunks/chart-model.js +53 -50
- package/dist/chunks/chart-ui-utils2.js +54 -51
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +19 -20
- package/dist/chunks/data.js +13 -10
- package/dist/chunks/gauge-model.js +13 -10
- package/dist/chunks/generate-x-axis-title.js +11 -8
- package/dist/chunks/heat-chart-model.js +9 -6
- package/dist/chunks/histogram-data.js +40 -37
- package/dist/chunks/index.js +5244 -4428
- package/dist/chunks/index2.js +27 -28
- package/dist/chunks/index4.js +63 -95
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +24 -21
- package/dist/chunks/model-with-guides.js +10 -8
- package/dist/chunks/model-with-tooltips.js +29 -26
- package/dist/chunks/model-with-y-guides.js +3 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -48
- package/dist/chunks/pie-chart-data.js +60 -57
- package/dist/chunks/pie-chart-model.js +4 -1
- package/dist/chunks/radar-chart-model.js +9 -6
- package/dist/chunks/rotated-state.js +10 -7
- package/dist/chunks/scatterplot-model.js +12 -9
- package/dist/chunks/serial-chart-data.js +189 -187
- package/dist/chunks/serial-chart-model.js +14 -12
- package/dist/chunks/series-length.js +7 -4
- package/dist/chunks/series.js +9 -6
- package/dist/chunks/utils.js +60 -58
- package/dist/chunks/utils2.js +25 -22
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/components/arcgis-chart/customElement.js +7051 -7773
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +9 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +7 -4
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -9
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +8 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +12 -9
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -11
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-format/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-general/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -12
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +6 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +6 -3
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +9 -7
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +15 -12
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +13 -10
- package/dist/components/arcgis-charts-config-histogram/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +23 -20
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +8 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -3
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -0
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +8 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -6
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -9
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -0
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -1
- 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 +304 -305
- package/package.json +4 -4
- package/dist/cdn/2AEFBZA6.js +0 -2
- package/dist/cdn/2GM63EE7.js +0 -2
- package/dist/cdn/2HKPJLJW.js +0 -2
- package/dist/cdn/3LMKKZTL.js +0 -2
- package/dist/cdn/3RGF75DP.js +0 -2
- package/dist/cdn/3UNAXCYW.js +0 -2
- package/dist/cdn/3WLUKAWB.js +0 -2
- package/dist/cdn/4YOJ5O2A.js +0 -2
- package/dist/cdn/4ZD2CXQ4.js +0 -2
- package/dist/cdn/5BO7XUS5.js +0 -2
- package/dist/cdn/5EYJNFF4.js +0 -2
- package/dist/cdn/5LJ7XHSC.js +0 -2
- package/dist/cdn/5SAY5GKS.js +0 -2
- package/dist/cdn/76VEGYRQ.js +0 -2
- package/dist/cdn/7H7OKCSJ.js +0 -2
- package/dist/cdn/BGZSASP3.js +0 -2
- package/dist/cdn/CKH25CUY.js +0 -2
- package/dist/cdn/CN6T42GJ.js +0 -2
- package/dist/cdn/CVAHFSCI.js +0 -2
- package/dist/cdn/CXCFDZNV.js +0 -99
- package/dist/cdn/D6AR4347.js +0 -2
- package/dist/cdn/DDMTRVZZ.js +0 -2
- package/dist/cdn/DFNF5JJP.js +0 -2
- package/dist/cdn/DGLPS4VB.js +0 -2
- package/dist/cdn/DHMPSHCO.js +0 -2
- package/dist/cdn/DUTXELFO.js +0 -2
- package/dist/cdn/DVFRUSFN.js +0 -2
- package/dist/cdn/EHKQ4VUW.js +0 -2
- package/dist/cdn/EUABZJAR.js +0 -2
- package/dist/cdn/F7NB6TLJ.js +0 -2
- package/dist/cdn/FNRKUKHJ.js +0 -2
- package/dist/cdn/GJ2MADW4.js +0 -2
- package/dist/cdn/HSEIANOJ.js +0 -2
- package/dist/cdn/HUZB5MRQ.js +0 -2
- package/dist/cdn/ICVOJ7IE.js +0 -2
- package/dist/cdn/II3DOWSZ.js +0 -2
- package/dist/cdn/ILXAOG2N.js +0 -2
- package/dist/cdn/IQXDRGAE.js +0 -2
- package/dist/cdn/IULLXZVB.js +0 -2
- package/dist/cdn/JWNRXRTN.js +0 -2
- package/dist/cdn/KYCMT6LY.js +0 -2
- package/dist/cdn/LKHHL4H6.js +0 -2
- package/dist/cdn/MHEM3WWA.js +0 -2
- package/dist/cdn/MRXNE4YH.js +0 -2
- package/dist/cdn/NSZATHN3.js +0 -2
- package/dist/cdn/OBM32R6B.js +0 -2
- package/dist/cdn/OGALOQBF.js +0 -2
- package/dist/cdn/PLTUCUAY.js +0 -2
- package/dist/cdn/PMHRG46V.js +0 -2
- package/dist/cdn/PORI3GND.js +0 -2
- package/dist/cdn/PTSX6YX3.js +0 -2
- package/dist/cdn/QKPTLIKE.js +0 -2
- package/dist/cdn/QLFRU6NC.js +0 -2
- package/dist/cdn/R2QN6SOP.js +0 -2
- package/dist/cdn/R7TM4YQC.js +0 -2
- package/dist/cdn/RRSTM5Z4.js +0 -2
- package/dist/cdn/RUVPQ3SR.js +0 -2
- package/dist/cdn/RZOTVNT6.js +0 -2
- package/dist/cdn/SC7B4TMS.js +0 -2
- package/dist/cdn/SKC3WBMM.js +0 -2
- package/dist/cdn/SM2XPYTZ.js +0 -2
- package/dist/cdn/SS3X7TIN.js +0 -58
- package/dist/cdn/SZQB2BFT.js +0 -2
- package/dist/cdn/TKV4MOIG.js +0 -2
- package/dist/cdn/VKYTI3FK.js +0 -2
- package/dist/cdn/WJYUEMVM.js +0 -2
- package/dist/cdn/WNHQFTOB.js +0 -2
- package/dist/cdn/WNN63OQH.js +0 -2
- package/dist/cdn/WPOOPO7Z.js +0 -2
- package/dist/cdn/WVHJGHTZ.js +0 -2
- package/dist/cdn/XEOYAC7D.js +0 -2
- package/dist/cdn/XLIKADWU.js +0 -2
- package/dist/cdn/YJXIGYX6.js +0 -2
- package/dist/cdn/Z5QMTA2S.js +0 -2
- package/dist/cdn/ZIU7IJJR.js +0 -2
- package/dist/cdn/ZOI5XSSA.js +0 -2
- package/dist/cdn/ZSIFL33O.js +0 -2
- package/dist/cdn/ZTW474GL.js +0 -2
- package/dist/chunks/index5.js +0 -66
- /package/dist/cdn/{M2XPJIOQ.js → 3OGKV4KZ.js} +0 -0
- /package/dist/cdn/{LJCSR2IZ.js → 3VMIFF7C.js} +0 -0
- /package/dist/cdn/{2QPNL7Y2.js → 47EOUNYO.js} +0 -0
- /package/dist/cdn/{B55FRUGA.js → 5TOYNVTW.js} +0 -0
- /package/dist/cdn/{B4MAGTAP.js → 6HUDF5Q2.js} +0 -0
- /package/dist/cdn/{76DFMYG4.js → ALRIN5E5.js} +0 -0
- /package/dist/cdn/{KCPSHLUL.js → AVU2CHAB.js} +0 -0
- /package/dist/cdn/{FFW6SQJB.js → B4ULOSFG.js} +0 -0
- /package/dist/cdn/{DQUKRY3M.js → BQOMKKBK.js} +0 -0
- /package/dist/cdn/{QZ3WZKSG.js → BUCYRXMT.js} +0 -0
- /package/dist/cdn/{B56AXPLG.js → BY77PBZ2.js} +0 -0
- /package/dist/cdn/{LXIM3RKN.js → COQ55XOW.js} +0 -0
- /package/dist/cdn/{GDLCLCPQ.js → DNSUOJXJ.js} +0 -0
- /package/dist/cdn/{3WRAGIMC.js → EIIQ2CSC.js} +0 -0
- /package/dist/cdn/{HPONDACN.js → EVHJVY4I.js} +0 -0
- /package/dist/cdn/{KAQTKYYM.js → F57IRWBF.js} +0 -0
- /package/dist/cdn/{5C7U7CYQ.js → FLSUJTUZ.js} +0 -0
- /package/dist/cdn/{6IQ2FQTN.js → FSNQ3YXX.js} +0 -0
- /package/dist/cdn/{SWOSRENC.js → G2L5FYWK.js} +0 -0
- /package/dist/cdn/{CAOSVB4R.js → GR4BZF3L.js} +0 -0
- /package/dist/cdn/{Q2TVJHZD.js → GWPFABGL.js} +0 -0
- /package/dist/cdn/{2KVU566F.js → HJW6UNEH.js} +0 -0
- /package/dist/cdn/{XD62BPHL.js → I3BNBZ4D.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → J6TUXYMO.js} +0 -0
- /package/dist/cdn/{DPTNMDQ2.js → JM6E3U5J.js} +0 -0
- /package/dist/cdn/{FDZIENVW.js → KBDOBMB5.js} +0 -0
- /package/dist/cdn/{QR3YISEA.js → LOX7MXL4.js} +0 -0
- /package/dist/cdn/{K437RPD5.js → MS6EYP4R.js} +0 -0
- /package/dist/cdn/{VQJLB7UN.js → NGLXQHZ2.js} +0 -0
- /package/dist/cdn/{JFGFCKMZ.js → NPVXLEZW.js} +0 -0
- /package/dist/cdn/{NEJTN4I6.js → NSRIVIOH.js} +0 -0
- /package/dist/cdn/{5MWQVGQZ.js → RHGKKMJG.js} +0 -0
- /package/dist/cdn/{HQMC6YQ6.js → S5EI7T2D.js} +0 -0
- /package/dist/cdn/{PYCYFLNO.js → SOIF6AMX.js} +0 -0
- /package/dist/cdn/{MOBZATNH.js → THJTENN5.js} +0 -0
- /package/dist/cdn/{SQPFZZKR.js → TX2SYGTH.js} +0 -0
- /package/dist/cdn/{K7ALB3FX.js → YQJLA77R.js} +0 -0
- /package/dist/cdn/{2BS7WCYC.js → ZL5EGDOW.js} +0 -0
- /package/dist/cdn/{SZKFAXS4.js → ZRULG7VV.js} +0 -0
package/dist/chunks/index2.js
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import { getElementLocale as Ge } from "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as s, isEmpty as B } from "lodash-es";
|
|
4
4
|
import { DateTime as ze } from "luxon";
|
|
5
|
-
import { bA as _e, af as re, ar as je,
|
|
6
|
-
import { h as ot, n as st, r as nt } from "./index4.js";
|
|
5
|
+
import { bA as _e, af as re, ar as je, er as ie, eq as He, dp as Re, ei as $e, W as Qe, dS as Ye, cp as Ke, bx as Xe, ap as C, cS as Je, C as c, ad as b, dL as Z, c4 as Ze, c5 as Ue, z as et, bK as T, M as K, cO as oe, da as tt, aH as rt, q as it, dh as ot, bc as st, $ as nt } from "./index.js";
|
|
7
6
|
import { v as U, w as h, u as l, r as F, n as f, p as S, f as at, j as ee, s as g } from "./series-types.js";
|
|
8
7
|
var L = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ROTATE = "rotate", r.STAGGER = "stagger", r.WRAP = "wrap", r))(L || {});
|
|
9
8
|
function se(r) {
|
|
@@ -60,11 +59,11 @@ async function de(r, e) {
|
|
|
60
59
|
const i = { ...r };
|
|
61
60
|
let t = e;
|
|
62
61
|
if (!t) {
|
|
63
|
-
const o =
|
|
64
|
-
o && (t = await
|
|
62
|
+
const o = Ke(r) ? r.iLayer : r.dataSource?.layer;
|
|
63
|
+
o && (t = await Xe(o));
|
|
65
64
|
}
|
|
66
65
|
if (t) {
|
|
67
|
-
const o = C(i.series), n = h(i.series), u = i.series && i.series.length > 0 && i.series[0].x.trim() === "" || n === l.GaugeSeries && !
|
|
66
|
+
const o = C(i.series), n = h(i.series), u = i.series && i.series.length > 0 && i.series[0].x.trim() === "" || n === l.GaugeSeries && !Je(r) || o === c.PieFromFields || o === c.BarAndLineFromFields || o === c.BoxPlotMonoField || o === c.BoxPlotMonoFieldAndSplitBy || o === c.BoxPlotMultiFields || o === c.BoxPlotMultiFieldsAndSplitBy, v = n === l.ScatterSeries || n === l.HeatSeries || o === c.BarAndLineNoAggregation || o === c.BarAndLineSplitByNoAggregation || o === c.BoxPlotMonoField || o === c.BoxPlotMonoFieldAndSplitBy || o === c.BoxPlotMonoFieldAndCategory || o === c.BoxPlotMonoFieldAndCategoryAndSplitBy || o === c.PieNoAggregation;
|
|
68
67
|
if (i.series = r.series.map((a) => {
|
|
69
68
|
const d = { ...a };
|
|
70
69
|
if (u || (d.x = b({ queryObject: t, fieldToMatch: a.x })), "y" in d && v) {
|
|
@@ -86,7 +85,7 @@ async function de(r, e) {
|
|
|
86
85
|
fieldToMatch: x.onStatisticField
|
|
87
86
|
}), O;
|
|
88
87
|
})), y !== void 0 && o === c.BarAndLineSplitBy) {
|
|
89
|
-
const x =
|
|
88
|
+
const x = Ze(a.query?.where), O = Ue({
|
|
90
89
|
where: a.query?.where,
|
|
91
90
|
normalize: !1,
|
|
92
91
|
escape: !1
|
|
@@ -163,7 +162,7 @@ function fe(r) {
|
|
|
163
162
|
}
|
|
164
163
|
if (e.series = r.series.map((t) => {
|
|
165
164
|
const o = t;
|
|
166
|
-
return B(o.x?.trim()) && (o.x =
|
|
165
|
+
return B(o.x?.trim()) && (o.x = et), delete o.query?.orderByFields, o;
|
|
167
166
|
}), ue(e)) {
|
|
168
167
|
e.showMean = !0;
|
|
169
168
|
const t = e.series.find(
|
|
@@ -235,7 +234,7 @@ function he(r) {
|
|
|
235
234
|
}
|
|
236
235
|
function X(r) {
|
|
237
236
|
const e = s(r);
|
|
238
|
-
return B(r.series) || (
|
|
237
|
+
return B(r.series) || (tt(r) && r.rotated === void 0 && (e.rotated = r.series[0].rotated ?? rt()), e.series.forEach((i) => {
|
|
239
238
|
i.rotated !== void 0 && delete i.rotated;
|
|
240
239
|
})), e;
|
|
241
240
|
}
|
|
@@ -248,7 +247,7 @@ function be(r) {
|
|
|
248
247
|
if ("dataSource" in r) {
|
|
249
248
|
const i = r.dataSource;
|
|
250
249
|
if (i.filter !== void 0 && i.filter.trim() !== "") {
|
|
251
|
-
const t =
|
|
250
|
+
const t = it([i.filter, e.dataFilters?.where]);
|
|
252
251
|
e.dataFilters = {
|
|
253
252
|
...e.dataFilters,
|
|
254
253
|
where: t
|
|
@@ -293,7 +292,7 @@ function xe(r) {
|
|
|
293
292
|
}
|
|
294
293
|
function Oe(r) {
|
|
295
294
|
const e = s(r);
|
|
296
|
-
return B(r.series) || (
|
|
295
|
+
return B(r.series) || (ot(r) && r.stackedType === void 0 && (e.stackedType = r.series[0].stackedType ?? st()), e.series.forEach((i) => {
|
|
297
296
|
"stackedType" in i && delete i.stackedType;
|
|
298
297
|
})), e;
|
|
299
298
|
}
|
|
@@ -410,7 +409,7 @@ function De(r) {
|
|
|
410
409
|
}
|
|
411
410
|
function Me(r) {
|
|
412
411
|
const e = s(r), i = e.series[0];
|
|
413
|
-
if (i && !i.temporalBinning &&
|
|
412
|
+
if (i && !i.temporalBinning && nt(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
|
|
414
413
|
if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
|
|
415
414
|
let t;
|
|
416
415
|
switch (i.timeIntervalUnits) {
|
|
@@ -442,7 +441,7 @@ function Me(r) {
|
|
|
442
441
|
}
|
|
443
442
|
return e;
|
|
444
443
|
}
|
|
445
|
-
function
|
|
444
|
+
function qe(r) {
|
|
446
445
|
const e = s(r);
|
|
447
446
|
return e.series.forEach((i) => {
|
|
448
447
|
i.query?.outStatistics?.forEach((t) => {
|
|
@@ -450,7 +449,7 @@ function We(r) {
|
|
|
450
449
|
});
|
|
451
450
|
}), e;
|
|
452
451
|
}
|
|
453
|
-
function
|
|
452
|
+
function We(r) {
|
|
454
453
|
const e = s(r);
|
|
455
454
|
return e.subtitle === void 0 && e.subTitle && (e.subtitle = e.subTitle), delete e.subTitle, e;
|
|
456
455
|
}
|
|
@@ -492,11 +491,11 @@ function M(r) {
|
|
|
492
491
|
let e = s(r);
|
|
493
492
|
return e = be(e), e;
|
|
494
493
|
}
|
|
495
|
-
function
|
|
494
|
+
function q(r) {
|
|
496
495
|
let e = s(r);
|
|
497
496
|
return e = xe(e), e;
|
|
498
497
|
}
|
|
499
|
-
function
|
|
498
|
+
function W(r) {
|
|
500
499
|
let e = s(r);
|
|
501
500
|
return e = Ce(e), e;
|
|
502
501
|
}
|
|
@@ -530,11 +529,11 @@ function H(r) {
|
|
|
530
529
|
return Me(r);
|
|
531
530
|
}
|
|
532
531
|
function R(r) {
|
|
533
|
-
return
|
|
532
|
+
return qe(r);
|
|
534
533
|
}
|
|
535
534
|
function $(r) {
|
|
536
535
|
let e = s(r);
|
|
537
|
-
return e = X(e),
|
|
536
|
+
return e = X(e), We(e);
|
|
538
537
|
}
|
|
539
538
|
function Q(r) {
|
|
540
539
|
let e = s(r);
|
|
@@ -547,7 +546,7 @@ function Y(r) {
|
|
|
547
546
|
function Ve(r) {
|
|
548
547
|
const { versionsToConvert: e = [], configToUpdate: i } = r;
|
|
549
548
|
let t = s(i);
|
|
550
|
-
return e.length > 0 && t !== void 0 && (t = ke(t), e.includes(re) || e.includes($e) ? (t = Ne(t), t = k(t), t = w(t), t = A(t), t = D(t), t = M(t), t =
|
|
549
|
+
return e.length > 0 && t !== void 0 && (t = ke(t), e.includes(re) || e.includes($e) ? (t = Ne(t), t = k(t), t = w(t), t = A(t), t = D(t), t = M(t), t = q(t), t = W(t), t = I(t), t = E(t), t = N(t), t = V(t), t = G(t), t = z(t), t = _(t), t = j(t), t = H(t), t = R(t), t = $(t), t = Q(t), t = Y(t)) : e.forEach((o) => {
|
|
551
550
|
if (t !== void 0)
|
|
552
551
|
switch (o) {
|
|
553
552
|
case "1.0.1":
|
|
@@ -566,10 +565,10 @@ function Ve(r) {
|
|
|
566
565
|
t = M(t);
|
|
567
566
|
break;
|
|
568
567
|
case "7.5.1":
|
|
569
|
-
t =
|
|
568
|
+
t = q(t);
|
|
570
569
|
break;
|
|
571
570
|
case "8.0.0":
|
|
572
|
-
t =
|
|
571
|
+
t = W(t);
|
|
573
572
|
break;
|
|
574
573
|
case "9.2.0":
|
|
575
574
|
t = I(t);
|
|
@@ -613,7 +612,7 @@ function Ve(r) {
|
|
|
613
612
|
}
|
|
614
613
|
}), t.version = Qe), t;
|
|
615
614
|
}
|
|
616
|
-
async function
|
|
615
|
+
async function pt(r, e, i) {
|
|
617
616
|
let t = r;
|
|
618
617
|
if (r) {
|
|
619
618
|
const o = _e(e);
|
|
@@ -626,7 +625,7 @@ async function mt(r, e, i) {
|
|
|
626
625
|
}
|
|
627
626
|
return t;
|
|
628
627
|
}
|
|
629
|
-
const
|
|
628
|
+
const mt = {
|
|
630
629
|
adjustAxes: ne,
|
|
631
630
|
adjustSeries: ae,
|
|
632
631
|
matchChartFieldsToLayerFields: de,
|
|
@@ -656,8 +655,8 @@ const St = {
|
|
|
656
655
|
handleOrderOptionsChanges: we,
|
|
657
656
|
applyDataOrderInstructionForFromFieldsCharts: Ae,
|
|
658
657
|
convertTemporalBinningProps: Me,
|
|
659
|
-
convertRESTStatisticTypeToWebChartStatisticType:
|
|
660
|
-
renameChartSubtitle:
|
|
658
|
+
convertRESTStatisticTypeToWebChartStatisticType: qe,
|
|
659
|
+
renameChartSubtitle: We,
|
|
661
660
|
applyMandatoryConversions: Se,
|
|
662
661
|
convertTo1x0x1: Ne,
|
|
663
662
|
convertTo2x0x0: k,
|
|
@@ -665,8 +664,8 @@ const St = {
|
|
|
665
664
|
convertTo4x0x1: A,
|
|
666
665
|
convertTo5x0x0: D,
|
|
667
666
|
convertTo7x0x0: M,
|
|
668
|
-
convertTo7x6x0:
|
|
669
|
-
convertTo8x0x1:
|
|
667
|
+
convertTo7x6x0: q,
|
|
668
|
+
convertTo8x0x1: W,
|
|
670
669
|
convertTo9x3x0: I,
|
|
671
670
|
convertTo10x0x0: E,
|
|
672
671
|
convertTo11x0x0: N,
|
|
@@ -687,6 +686,6 @@ const St = {
|
|
|
687
686
|
applyDefaultFirstDayOfWeek: se
|
|
688
687
|
};
|
|
689
688
|
export {
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
pt as a,
|
|
690
|
+
mt as c
|
|
692
691
|
};
|
package/dist/chunks/index4.js
CHANGED
|
@@ -1,98 +1,66 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
const L = (e) => s(e) === r.BarSeries, B = (e) => s(e) === r.LineSeries, v = (e) => s(e) === r.RadarSeries, A = (e) => s(e) === r.HeatSeries;
|
|
56
|
-
function x(e) {
|
|
57
|
-
return e.every(a);
|
|
58
|
-
}
|
|
59
|
-
function I(e) {
|
|
60
|
-
return e !== void 0 && e.type === r.NumberAxisFormat;
|
|
61
|
-
}
|
|
62
|
-
function R(e) {
|
|
63
|
-
return e === void 0 || "bins" in e;
|
|
64
|
-
}
|
|
65
|
-
function H(e) {
|
|
66
|
-
return e === void 0 || "dataItems" in e;
|
|
67
|
-
}
|
|
68
|
-
function O(e) {
|
|
69
|
-
return e === void 0 || "dataItems" in e && "r2" in e;
|
|
70
|
-
}
|
|
71
|
-
function W(e) {
|
|
72
|
-
return "value" in e;
|
|
73
|
-
}
|
|
2
|
+
const a = {
|
|
3
|
+
DataProcessComplete: "arcgisDataProcessComplete",
|
|
4
|
+
DataFetchComplete: "arcgisDataFetchComplete",
|
|
5
|
+
DataProcessError: "arcgisDataProcessError",
|
|
6
|
+
LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
|
|
7
|
+
UpdateComplete: "arcgisUpdateComplete",
|
|
8
|
+
SeriesColorChange: "arcgisSeriesColorChange",
|
|
9
|
+
AxesMinMaxChange: "arcgisAxesMinMaxChange",
|
|
10
|
+
DefaultActionSelect: "arcgisDefaultActionSelect",
|
|
11
|
+
SelectionComplete: "arcgisSelectionComplete",
|
|
12
|
+
ActionBarToggle: "arcgisActionBarToggle",
|
|
13
|
+
NoRenderPropChange: "arcgisNoRenderPropChange",
|
|
14
|
+
BadDataWarningRaise: "arcgisBadDataWarningRaise",
|
|
15
|
+
InvalidConfigRaise: "arcgisInvalidConfigWarningRaise",
|
|
16
|
+
SeriesOrder: "arcgisSeriesOrder",
|
|
17
|
+
RuntimeError: "arcgisRuntimeError",
|
|
18
|
+
ConfigChange: "arcgisConfigChange",
|
|
19
|
+
RenderingComplete: "arcgisRenderingComplete"
|
|
20
|
+
}, t = {
|
|
21
|
+
FilterBySelection: "filterBySelection",
|
|
22
|
+
FilterByExtent: "filterByExtent",
|
|
23
|
+
Legend: "legend",
|
|
24
|
+
RotateChart: "rotateChart",
|
|
25
|
+
Selection: "selection",
|
|
26
|
+
ClearSelection: "clearSelection",
|
|
27
|
+
SwitchSelection: "switchSelection",
|
|
28
|
+
Zoom: "zoom",
|
|
29
|
+
FullExtent: "fullExtent",
|
|
30
|
+
EditChart: "editChart",
|
|
31
|
+
ExportAsImage: "exportAsImage",
|
|
32
|
+
ExportAsCSV: "exportAsCSV"
|
|
33
|
+
}, i = {
|
|
34
|
+
Active: "active",
|
|
35
|
+
Inactive: "inactive"
|
|
36
|
+
}, n = {
|
|
37
|
+
Enabled: "enabled",
|
|
38
|
+
Disabled: "disabled"
|
|
39
|
+
}, r = {
|
|
40
|
+
Ignore: "ignore",
|
|
41
|
+
Throw: "throw"
|
|
42
|
+
}, e = {
|
|
43
|
+
Ignore: "ignore",
|
|
44
|
+
Refresh: "refresh"
|
|
45
|
+
}, o = e, s = e, c = e, l = e, g = {
|
|
46
|
+
/**
|
|
47
|
+
* Enable syncing selections between chart and layer view
|
|
48
|
+
*/
|
|
49
|
+
Enabled: "enabled",
|
|
50
|
+
/**
|
|
51
|
+
* Disable syncing selections between chart and layer view
|
|
52
|
+
*/
|
|
53
|
+
Disabled: "disabled"
|
|
54
|
+
};
|
|
74
55
|
export {
|
|
75
|
-
|
|
76
|
-
a as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
I as k,
|
|
86
|
-
C as l,
|
|
87
|
-
v as m,
|
|
88
|
-
S as n,
|
|
89
|
-
p as o,
|
|
90
|
-
y as p,
|
|
91
|
-
d as q,
|
|
92
|
-
c as r,
|
|
93
|
-
W as s,
|
|
94
|
-
H as t,
|
|
95
|
-
R as u,
|
|
96
|
-
O as v,
|
|
97
|
-
h as w
|
|
56
|
+
n as A,
|
|
57
|
+
a as C,
|
|
58
|
+
t as D,
|
|
59
|
+
r as E,
|
|
60
|
+
c as L,
|
|
61
|
+
g as S,
|
|
62
|
+
l as V,
|
|
63
|
+
i as a,
|
|
64
|
+
o as b,
|
|
65
|
+
s as c
|
|
98
66
|
};
|
|
@@ -5,7 +5,7 @@ import { c as n } from "./serial-chart-data.js";
|
|
|
5
5
|
import { a as I } from "./utils.js";
|
|
6
6
|
import { m as v } from "./model-setter.js";
|
|
7
7
|
import { u as _ } from "./series-types.js";
|
|
8
|
-
import { aW as C, aZ as f, bI as a, bJ as L,
|
|
8
|
+
import { aW as C, aZ as f, bI as a, bJ as L, e4 as M } from "./index.js";
|
|
9
9
|
import { M as k } from "./model-with-line-marker-styling.js";
|
|
10
10
|
var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
|
|
11
11
|
for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
|
|
@@ -22,6 +22,9 @@ import "simple-statistics";
|
|
|
22
22
|
import "@arcgis/core/Graphic.js";
|
|
23
23
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
24
24
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
25
|
+
import "@amcharts/amcharts4/core.js";
|
|
26
|
+
import "@amcharts/amcharts4/charts.js";
|
|
27
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
28
|
import "@arcgis/toolkit/dom";
|
|
26
29
|
import "@arcgis/core/intl.js";
|
|
27
30
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
@@ -30,13 +33,13 @@ import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
|
30
33
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
31
34
|
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
32
35
|
import "@arcgis/core/core/sql.js";
|
|
33
|
-
class
|
|
36
|
+
class Y extends EventTarget {
|
|
34
37
|
/**
|
|
35
38
|
* @param args
|
|
36
39
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
37
40
|
* the base class and mixin classes types together smoothly.
|
|
38
41
|
*/
|
|
39
|
-
constructor(...
|
|
42
|
+
constructor(...e) {
|
|
40
43
|
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
41
44
|
this.resolveSetup = t;
|
|
42
45
|
}), this.emitConfigUpdate = (t) => {
|
|
@@ -60,9 +63,9 @@ class R extends EventTarget {
|
|
|
60
63
|
*
|
|
61
64
|
* @param otherModel - The other chart model to compare to.
|
|
62
65
|
*/
|
|
63
|
-
isSameChartAs(
|
|
64
|
-
const t =
|
|
65
|
-
return t !== void 0 && this._config.id ===
|
|
66
|
+
isSameChartAs(e) {
|
|
67
|
+
const t = e?.layer;
|
|
68
|
+
return t !== void 0 && this._config.id === e?.chartId && this.layerInfo?.layer.id === t.id;
|
|
66
69
|
}
|
|
67
70
|
/**
|
|
68
71
|
* Can be awaited to allow any pending async updates to complete.
|
|
@@ -79,19 +82,19 @@ class R extends EventTarget {
|
|
|
79
82
|
* @param params.config - The config object to be loaded.
|
|
80
83
|
* @private
|
|
81
84
|
*/
|
|
82
|
-
async loadConfigFromLayer(
|
|
83
|
-
const { layer: t, iLayer: s, config: a } =
|
|
85
|
+
async loadConfigFromLayer(e) {
|
|
86
|
+
const { layer: t, iLayer: s, config: a } = e;
|
|
84
87
|
this.commonStrings = await p(
|
|
85
88
|
d(document.documentElement).t9nLocale,
|
|
86
89
|
h("./assets/common/t9n"),
|
|
87
90
|
"messages."
|
|
88
91
|
);
|
|
89
|
-
let
|
|
90
|
-
if (!
|
|
91
|
-
await
|
|
92
|
-
const n = g(
|
|
92
|
+
let i = t;
|
|
93
|
+
if (!i && s ? i = await r(s) : !i && a?.iLayer && (i = await r(a.iLayer)), i) {
|
|
94
|
+
await i.load();
|
|
95
|
+
const n = g(i, !0), m = c(i).idField;
|
|
93
96
|
this.layerInfo = {
|
|
94
|
-
layer:
|
|
97
|
+
layer: i,
|
|
95
98
|
layerFieldsInfo: n,
|
|
96
99
|
objectIdField: m
|
|
97
100
|
};
|
|
@@ -103,8 +106,8 @@ class R extends EventTarget {
|
|
|
103
106
|
* @private
|
|
104
107
|
*/
|
|
105
108
|
startAsyncUpdate() {
|
|
106
|
-
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((
|
|
107
|
-
this.resolveSetup =
|
|
109
|
+
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((e) => {
|
|
110
|
+
this.resolveSetup = e;
|
|
108
111
|
})), this.pendingUpdates += 1;
|
|
109
112
|
}
|
|
110
113
|
/**
|
|
@@ -116,19 +119,19 @@ class R extends EventTarget {
|
|
|
116
119
|
}
|
|
117
120
|
// #endregion
|
|
118
121
|
}
|
|
119
|
-
function
|
|
122
|
+
function Z(o, e, t) {
|
|
120
123
|
const s = t.set, a = t.value;
|
|
121
|
-
return s && (t.set = function(
|
|
124
|
+
return s && (t.set = function(i) {
|
|
122
125
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
123
|
-
s.call(this,
|
|
126
|
+
s.call(this, i), this.emitConfigUpdate(e);
|
|
124
127
|
});
|
|
125
|
-
}), a && (t.value = function(...
|
|
128
|
+
}), a && (t.value = function(...i) {
|
|
126
129
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
127
|
-
a.apply(this,
|
|
130
|
+
a.apply(this, i), this.emitConfigUpdate(e);
|
|
128
131
|
});
|
|
129
132
|
}), t;
|
|
130
133
|
}
|
|
131
134
|
export {
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
Y as C,
|
|
136
|
+
Z as m
|
|
134
137
|
};
|
|
@@ -9,11 +9,14 @@ import { u as x } from "./series-types.js";
|
|
|
9
9
|
import { i as c } from "./rest-js-object-literals.js";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "luxon";
|
|
12
|
-
import { be as C, aM as X, T as p, a_ as B, ab as M } from "./index.js";
|
|
12
|
+
import { be as C, aM as X, T as p, a_ as B, ab as M, dc as A, db as O } from "./index.js";
|
|
13
13
|
import "@esri/arcgis-html-sanitizer";
|
|
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 "@amcharts/amcharts4/core.js";
|
|
18
|
+
import "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
17
20
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
21
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
19
22
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -30,7 +33,6 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
30
33
|
import "@arcgis/core/time/TimeExtent.js";
|
|
31
34
|
import "@arcgis/core/core/promiseUtils.js";
|
|
32
35
|
import "./runtime.js";
|
|
33
|
-
import { p as A, o as O } from "./index4.js";
|
|
34
36
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
35
37
|
import "@arcgis/core/geometry/Extent.js";
|
|
36
38
|
import "@arcgis/core/geometry/Point.js";
|
|
@@ -87,7 +89,7 @@ W([
|
|
|
87
89
|
class N extends f {
|
|
88
90
|
}
|
|
89
91
|
_(N, [y, v]);
|
|
90
|
-
class
|
|
92
|
+
class He extends f {
|
|
91
93
|
/**
|
|
92
94
|
* Whether the x-axis labels are visible.
|
|
93
95
|
*/
|
|
@@ -165,7 +167,7 @@ const Y = (t) => {
|
|
|
165
167
|
}, oe = (t) => {
|
|
166
168
|
const { style: e, axis: i, index: s } = r(t);
|
|
167
169
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
168
|
-
},
|
|
170
|
+
}, Je = (t) => {
|
|
169
171
|
const { config: e, name: i, index: s, orientation: o } = t, n = o === g.X ? e.axes?.[0] : e.axes?.[1];
|
|
170
172
|
if (n !== void 0) {
|
|
171
173
|
n.guides = n.guides ?? [];
|
|
@@ -177,7 +179,7 @@ const Y = (t) => {
|
|
|
177
179
|
};
|
|
178
180
|
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, d) : n.guides.push(d);
|
|
179
181
|
}
|
|
180
|
-
},
|
|
182
|
+
}, Ke = (t) => {
|
|
181
183
|
const { config: e, index: i, orientation: s } = t, o = s === g.X ? e.axes?.[0] : e.axes?.[1];
|
|
182
184
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
183
185
|
}, ne = (t) => {
|
|
@@ -328,8 +330,8 @@ u([
|
|
|
328
330
|
], l.prototype, "setTooltipReverseColor");
|
|
329
331
|
export {
|
|
330
332
|
l as M,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
+
He as W,
|
|
334
|
+
Je as a,
|
|
333
335
|
N as b,
|
|
334
|
-
|
|
336
|
+
Ke as d
|
|
335
337
|
};
|
|
@@ -5,10 +5,13 @@ import "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import { k as _ } from "./series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import { aI as b, T as
|
|
8
|
+
import { aI as b, T as n, aM as v, aV as d } from "./index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@amcharts/amcharts4/core.js";
|
|
13
|
+
import "@amcharts/amcharts4/charts.js";
|
|
14
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
12
15
|
import "@esri/arcgis-html-sanitizer";
|
|
13
16
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
17
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -32,8 +35,8 @@ import "@arcgis/core/geometry/Point.js";
|
|
|
32
35
|
import "@arcgis/toolkit/dom";
|
|
33
36
|
import { C as f } from "./chart-model.js";
|
|
34
37
|
var y = Object.defineProperty, L = Object.getOwnPropertyDescriptor, u = (t, e, i, p) => {
|
|
35
|
-
for (var o = L(e, i), l = t.length - 1,
|
|
36
|
-
(
|
|
38
|
+
for (var o = L(e, i), l = t.length - 1, r; l >= 0; l--)
|
|
39
|
+
(r = t[l]) && (o = r(e, i, o) || o);
|
|
37
40
|
return o && y(e, i, o), o;
|
|
38
41
|
};
|
|
39
42
|
const x = (t) => t.colorMatch ?? !0, M = (t, e) => {
|
|
@@ -57,8 +60,8 @@ u([
|
|
|
57
60
|
s
|
|
58
61
|
], D.prototype, "colorMatch");
|
|
59
62
|
var V = Object.defineProperty, P = Object.getOwnPropertyDescriptor, C = (t, e, i, p) => {
|
|
60
|
-
for (var o = P(e, i), l = t.length - 1,
|
|
61
|
-
(
|
|
63
|
+
for (var o = P(e, i), l = t.length - 1, r; l >= 0; l--)
|
|
64
|
+
(r = t[l]) && (o = r(e, i, o) || o);
|
|
62
65
|
return o && V(e, i, o), o;
|
|
63
66
|
};
|
|
64
67
|
const O = (t) => t.series[0]?.dataLabels?.visible ?? !1, R = (t, e) => {
|
|
@@ -66,8 +69,8 @@ const O = (t) => t.series[0]?.dataLabels?.visible ?? !1, R = (t, e) => {
|
|
|
66
69
|
i.dataLabels !== void 0 ? i.dataLabels.visible = t : i.dataLabels = b({
|
|
67
70
|
text: "",
|
|
68
71
|
visible: t,
|
|
69
|
-
font: v(
|
|
70
|
-
type:
|
|
72
|
+
font: v(n.DataLabels),
|
|
73
|
+
type: n.DataLabels
|
|
71
74
|
});
|
|
72
75
|
});
|
|
73
76
|
};
|
|
@@ -94,15 +97,15 @@ const S = (t) => {
|
|
|
94
97
|
e.legend === void 0 && (e.legend = d()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = b({
|
|
95
98
|
text: "",
|
|
96
99
|
visible: !0,
|
|
97
|
-
font: v(
|
|
98
|
-
type:
|
|
100
|
+
font: v(n.LegendTitle),
|
|
101
|
+
type: n.LegendTitle
|
|
99
102
|
})), t !== void 0 && (e.legend.title.content = t);
|
|
100
103
|
}, W = (t) => t.legend?.body, k = (t, e) => {
|
|
101
104
|
e.legend === void 0 && (e.legend = d()), e.legend.body = t ?? b({
|
|
102
105
|
text: "",
|
|
103
106
|
visible: !0,
|
|
104
|
-
font: v(
|
|
105
|
-
type:
|
|
107
|
+
font: v(n.LegendText),
|
|
108
|
+
type: n.LegendText
|
|
106
109
|
}).content;
|
|
107
110
|
}, c = (t) => t.legend?.title?.content.text ?? "", E = (t, e) => {
|
|
108
111
|
if (e.legend?.title !== void 0)
|
|
@@ -118,16 +121,16 @@ const S = (t) => {
|
|
|
118
121
|
e.legend.title = b({
|
|
119
122
|
text: c(e),
|
|
120
123
|
visible: t,
|
|
121
|
-
font: v(
|
|
122
|
-
type:
|
|
124
|
+
font: v(n.LegendTitle),
|
|
125
|
+
type: n.LegendTitle
|
|
123
126
|
});
|
|
124
127
|
else if (e.legend === void 0) {
|
|
125
128
|
const i = d();
|
|
126
129
|
i.title = b({
|
|
127
130
|
text: c(e),
|
|
128
131
|
visible: t,
|
|
129
|
-
font: v(
|
|
130
|
-
type:
|
|
132
|
+
font: v(n.LegendTitle),
|
|
133
|
+
type: n.LegendTitle
|
|
131
134
|
}), e.legend = i;
|
|
132
135
|
}
|
|
133
136
|
}, q = (t) => t.legend?.position ?? _.Right, z = (t, e) => {
|
|
@@ -143,8 +146,8 @@ const S = (t) => {
|
|
|
143
146
|
e.legend === void 0 && (e.legend = d()), e.legend.maxHeight = t;
|
|
144
147
|
};
|
|
145
148
|
var N = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, a = (t, e, i, p) => {
|
|
146
|
-
for (var o = Q(e, i), l = t.length - 1,
|
|
147
|
-
(
|
|
149
|
+
for (var o = Q(e, i), l = t.length - 1, r; l >= 0; l--)
|
|
150
|
+
(r = t[l]) && (o = r(e, i, o) || o);
|
|
148
151
|
return o && N(e, i, o), o;
|
|
149
152
|
};
|
|
150
153
|
class g extends f {
|
|
@@ -263,12 +266,12 @@ const U = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, X = (t, e, i)
|
|
|
263
266
|
p.dataTooltipReverseColor = e;
|
|
264
267
|
});
|
|
265
268
|
};
|
|
266
|
-
var I = Object.defineProperty, ee = Object.getOwnPropertyDescriptor,
|
|
267
|
-
for (var o = ee(e, i), l = t.length - 1,
|
|
268
|
-
(
|
|
269
|
+
var I = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, m = (t, e, i, p) => {
|
|
270
|
+
for (var o = ee(e, i), l = t.length - 1, r; l >= 0; l--)
|
|
271
|
+
(r = t[l]) && (o = r(e, i, o) || o);
|
|
269
272
|
return o && I(e, i, o), o;
|
|
270
273
|
};
|
|
271
|
-
class
|
|
274
|
+
class T extends f {
|
|
272
275
|
/**
|
|
273
276
|
* Gets the visibility of the data tooltips.
|
|
274
277
|
* - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
@@ -296,15 +299,15 @@ class m extends f {
|
|
|
296
299
|
Z(this._config, e, i);
|
|
297
300
|
}
|
|
298
301
|
}
|
|
299
|
-
|
|
302
|
+
m([
|
|
300
303
|
s
|
|
301
|
-
],
|
|
302
|
-
|
|
304
|
+
], T.prototype, "setDataTooltipVisibility");
|
|
305
|
+
m([
|
|
303
306
|
s
|
|
304
|
-
],
|
|
307
|
+
], T.prototype, "setDataTooltipReverseColor");
|
|
305
308
|
export {
|
|
306
309
|
g as M,
|
|
307
310
|
D as W,
|
|
308
|
-
|
|
311
|
+
T as a,
|
|
309
312
|
w as b
|
|
310
313
|
};
|