@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
|
@@ -11,7 +11,7 @@ import { b as h, k } from "../../chunks/type-guards.js";
|
|
|
11
11
|
import "@arcgis/toolkit/type";
|
|
12
12
|
import { u as I } from "../../chunks/series-types.js";
|
|
13
13
|
import { i as L } from "../../chunks/rotated-state.js";
|
|
14
|
-
import { a as t, A as o, D as e } from "../../chunks/
|
|
14
|
+
import { a as t, A as o, D as e } from "../../chunks/index4.js";
|
|
15
15
|
import { A as M } from "../../chunks/index.js";
|
|
16
16
|
function N(d) {
|
|
17
17
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
@@ -5,10 +5,13 @@ import { isEqual as r } from "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { db as n, cp as c, bx as h, a8 as d, cM as m } from "../../chunks/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";
|
|
@@ -25,7 +28,6 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
25
28
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
29
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
30
|
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
-
import { o as d, h as m } from "../../chunks/index4.js";
|
|
29
31
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
32
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
33
|
import "@arcgis/core/geometry/Point.js";
|
|
@@ -62,7 +64,7 @@ class C extends p {
|
|
|
62
64
|
}
|
|
63
65
|
seriesColorChange(e) {
|
|
64
66
|
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((t, i) => {
|
|
65
|
-
|
|
67
|
+
n(t) && e?.get(0) !== void 0 && t?.color !== void 0 && !r(this.model.getSeriesColor(i), t?.color) && this.model.setSeriesColor(t?.color, i);
|
|
66
68
|
});
|
|
67
69
|
}
|
|
68
70
|
async updateDataFilters() {
|
|
@@ -76,13 +78,13 @@ class C extends p {
|
|
|
76
78
|
const t = e ?? this.model.config;
|
|
77
79
|
let i = this.layer;
|
|
78
80
|
if (!i) {
|
|
79
|
-
const s =
|
|
80
|
-
s && (i = await
|
|
81
|
+
const s = c(t) ? t.iLayer : void 0;
|
|
82
|
+
s && (i = await h(s));
|
|
81
83
|
}
|
|
82
|
-
i && (await i.load(), this.layerFieldsInfo =
|
|
84
|
+
i && (await i.load(), this.layerFieldsInfo = d(i, this.usePopupTemplateFieldsInfo));
|
|
83
85
|
}
|
|
84
86
|
render() {
|
|
85
|
-
const e = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), t = e !== void 0 &&
|
|
87
|
+
const e = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), t = e !== void 0 && m(e);
|
|
86
88
|
let i;
|
|
87
89
|
switch (this.page) {
|
|
88
90
|
case a.Data:
|
|
@@ -5,11 +5,14 @@ import "@arcgis/toolkit/intl";
|
|
|
5
5
|
import { isEqual as f } from "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import { r as g, s as I, u as p, m as b } from "../../chunks/series-types.js";
|
|
8
|
-
import { bI as F, ax as k, bf as O, x as D, bm as y, br as E,
|
|
8
|
+
import { bI as F, ax as k, bf as O, x as D, bm as y, br as E, ep as P, ap as B, C as A, cM as _, c7 as N } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/toolkit/type";
|
|
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 "@amcharts/amcharts4/core.js";
|
|
14
|
+
import "@amcharts/amcharts4/charts.js";
|
|
15
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
13
16
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
17
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
18
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -33,7 +36,7 @@ import { r as U } from "../../chunks/popover-ui-utils.js";
|
|
|
33
36
|
import { S as d } from "../../chunks/common.js";
|
|
34
37
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
35
38
|
import { B as a, c as C } from "../../chunks/interfaces.js";
|
|
36
|
-
import { d as
|
|
39
|
+
import { d as M, s as S, r as z, a as R } from "../../chunks/store.js";
|
|
37
40
|
import { a as K } from "../../chunks/chart-ui-utils2.js";
|
|
38
41
|
import { u as x } from "../../chunks/useT9n.js";
|
|
39
42
|
import { css as j, html as n, nothing as H } from "lit";
|
|
@@ -58,7 +61,7 @@ class J extends q {
|
|
|
58
61
|
try {
|
|
59
62
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
60
63
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
61
|
-
switch (
|
|
64
|
+
switch (M(S), t) {
|
|
62
65
|
case a.aggregation:
|
|
63
66
|
this.model.aggregationType = i[0] !== g.NoAggregation ? i[0] : g.NoAggregation;
|
|
64
67
|
break;
|
|
@@ -100,7 +103,7 @@ class J extends q {
|
|
|
100
103
|
default:
|
|
101
104
|
break;
|
|
102
105
|
}
|
|
103
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
106
|
+
t !== a.interval && t !== a.intervalAlignment && z(S);
|
|
104
107
|
}
|
|
105
108
|
} catch (t) {
|
|
106
109
|
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -5,7 +5,7 @@ import { keyed as f } from "lit/directives/keyed.js";
|
|
|
5
5
|
import "@arcgis/toolkit/type";
|
|
6
6
|
import { t as g, r as S, s as p } from "../../chunks/series-types.js";
|
|
7
7
|
import { R as C } from "../../chunks/rest-js-object-literals.js";
|
|
8
|
-
import { LitElement as T, createEvent as y, renderElement as
|
|
8
|
+
import { LitElement as T, createEvent as y, renderElement as A, safeStyleMap as P, safeClassMap as c } from "@arcgis/lumina";
|
|
9
9
|
import { substitute as D } from "@arcgis/core/intl.js";
|
|
10
10
|
import { css as x, html as a } from "lit";
|
|
11
11
|
import { createRef as u, ref as d } from "lit/directives/ref.js";
|
|
@@ -15,10 +15,13 @@ import { B as n } from "../../chunks/interfaces.js";
|
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import "@arcgis/toolkit/intl";
|
|
17
17
|
import "luxon";
|
|
18
|
-
import { ax as E, bf as z, bk as N, bm as w,
|
|
18
|
+
import { ax as E, bf as z, bk as N, bm as w, cX as k, cM as B, ds as K, d2 as _, c7 as M } from "../../chunks/index.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
21
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
+
import "@amcharts/amcharts4/core.js";
|
|
23
|
+
import "@amcharts/amcharts4/charts.js";
|
|
24
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
22
25
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
23
26
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
24
27
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -36,8 +39,8 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
36
39
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
37
40
|
import "@arcgis/core/geometry/Extent.js";
|
|
38
41
|
import "@arcgis/core/geometry/Point.js";
|
|
39
|
-
import { e as
|
|
40
|
-
import { b as v, a as I, c as h, d as
|
|
42
|
+
import { e as O, p as j } from "../../chunks/popover-ui-utils.js";
|
|
43
|
+
import { b as v, a as I, c as h, d as H, e as U, s as W } from "../../chunks/chart-ui-utils2.js";
|
|
41
44
|
const R = x`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
42
45
|
jsAppFlyout: "js-app-flyout",
|
|
43
46
|
name: "bar-chart-data-popover",
|
|
@@ -74,10 +77,10 @@ class q extends T {
|
|
|
74
77
|
updated() {
|
|
75
78
|
setTimeout(() => {
|
|
76
79
|
this.picklist.value?.setFocus();
|
|
77
|
-
}, I.PopoverTimer),
|
|
80
|
+
}, I.PopoverTimer), O(this.popoverElement.value, this.open);
|
|
78
81
|
}
|
|
79
82
|
selectedContentChange(e, t) {
|
|
80
|
-
this.pickListHasChanged =
|
|
83
|
+
this.pickListHasChanged = j(e, t);
|
|
81
84
|
}
|
|
82
85
|
buildAggregationListItems() {
|
|
83
86
|
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== S.NoAggregation) : v;
|
|
@@ -88,11 +91,11 @@ class q extends T {
|
|
|
88
91
|
const t = e.target, i = N(t), s = new Intl.NumberFormat(i).format(I.customSortLimit), r = D(this._messages.customSortLimit ?? "", {
|
|
89
92
|
totalLimit: s
|
|
90
93
|
});
|
|
91
|
-
this.tooltip =
|
|
94
|
+
this.tooltip = A(a`<calcite-tooltip style=${P({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
destroyTooltip() {
|
|
95
|
-
|
|
98
|
+
H(this.tooltip);
|
|
96
99
|
}
|
|
97
100
|
buildSortOrder() {
|
|
98
101
|
const e = Object.keys(m);
|
|
@@ -227,7 +230,7 @@ class q extends T {
|
|
|
227
230
|
p.Month,
|
|
228
231
|
p.Year
|
|
229
232
|
];
|
|
230
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${W(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${
|
|
233
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${W(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${M(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
231
234
|
}
|
|
232
235
|
renderPopoverInfo() {
|
|
233
236
|
let e;
|
|
@@ -6,10 +6,13 @@ import "lodash-es";
|
|
|
6
6
|
import "luxon";
|
|
7
7
|
import { q as r, r as u } from "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import { C as T,
|
|
9
|
+
import { C as T, ep as C } from "../../chunks/index.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 "@amcharts/amcharts4/core.js";
|
|
14
|
+
import "@amcharts/amcharts4/charts.js";
|
|
15
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
13
16
|
import "@esri/arcgis-html-sanitizer";
|
|
14
17
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
18
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as c, html as m } from "lit";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import {
|
|
9
|
+
import { e4 as h } from "../../chunks/index.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 "@amcharts/amcharts4/core.js";
|
|
14
|
+
import "@amcharts/amcharts4/charts.js";
|
|
15
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
13
16
|
import "@esri/arcgis-html-sanitizer";
|
|
14
17
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
18
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -37,7 +40,7 @@ import { LitElement as f, createEvent as o, safeClassMap as i } from "@arcgis/lu
|
|
|
37
40
|
const r = {
|
|
38
41
|
jsAppFlyout: "js-app-flyout",
|
|
39
42
|
panelChildrenContainer: "panel-children-container"
|
|
40
|
-
}, u =
|
|
43
|
+
}, u = c`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
41
44
|
class y extends f {
|
|
42
45
|
constructor() {
|
|
43
46
|
super(...arguments), this._messages = g(), this.popoverElement = C(), this.arcgisChartsConfigPopoverClose = o(), this.arcgisChartsConfigSeriesPopoverColorChange = o(), this.arcgisChartsConfigSeriesPopoverNameChange = o();
|
|
@@ -74,7 +77,7 @@ class y extends f {
|
|
|
74
77
|
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(r.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${i(r.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
75
78
|
}
|
|
76
79
|
}
|
|
77
|
-
|
|
80
|
+
p("arcgis-charts-config-bar-chart-series-popover", y);
|
|
78
81
|
export {
|
|
79
82
|
y as ArcgisChartsConfigBarChartSeriesPopover
|
|
80
83
|
};
|
|
@@ -5,10 +5,13 @@ import { isEqual as r } from "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { cp as n, bx as c, a8 as h } from "../../chunks/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";
|
|
@@ -25,7 +28,6 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
25
28
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
29
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
30
|
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
-
import { h } from "../../chunks/index4.js";
|
|
29
31
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
32
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
33
|
import "@arcgis/core/geometry/Point.js";
|
|
@@ -77,10 +79,10 @@ class f extends d {
|
|
|
77
79
|
const i = e ?? this.model.config;
|
|
78
80
|
let o = this.layer;
|
|
79
81
|
if (!o) {
|
|
80
|
-
const t =
|
|
81
|
-
t && (o = await
|
|
82
|
+
const t = n(i) ? i.iLayer : void 0;
|
|
83
|
+
t && (o = await c(t));
|
|
82
84
|
}
|
|
83
|
-
o && (await o.load(), this.layerFieldsInfo =
|
|
85
|
+
o && (await o.load(), this.layerFieldsInfo = h(o, this.usePopupTemplateFieldsInfo));
|
|
84
86
|
}
|
|
85
87
|
render() {
|
|
86
88
|
let e;
|
|
@@ -11,6 +11,9 @@ import { z as d, br as S, bm as g } from "../../chunks/index.js";
|
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@amcharts/amcharts4/core.js";
|
|
15
|
+
import "@amcharts/amcharts4/charts.js";
|
|
16
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
14
17
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
18
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
19
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -9,10 +9,13 @@ import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
12
|
-
import { bm as $,
|
|
12
|
+
import { bm as $, cX as f, d2 as y, bk as F } from "../../chunks/index.js";
|
|
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 "@amcharts/amcharts4/core.js";
|
|
17
|
+
import "@amcharts/amcharts4/charts.js";
|
|
18
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
16
19
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
17
20
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
18
21
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -11,6 +11,9 @@ import { C as S } from "../../chunks/index.js";
|
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@amcharts/amcharts4/core.js";
|
|
15
|
+
import "@amcharts/amcharts4/charts.js";
|
|
16
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
14
17
|
import "@esri/arcgis-html-sanitizer";
|
|
15
18
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
19
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -7,10 +7,13 @@ import "luxon";
|
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
import { i as v } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
-
import {
|
|
10
|
+
import { e4 as d } from "../../chunks/index.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@amcharts/amcharts4/core.js";
|
|
15
|
+
import "@amcharts/amcharts4/charts.js";
|
|
16
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
14
17
|
import "@esri/arcgis-html-sanitizer";
|
|
15
18
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
19
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -9,6 +9,9 @@ import "../../chunks/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";
|
|
@@ -29,12 +32,12 @@ import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
|
29
32
|
import "@arcgis/core/geometry/Extent.js";
|
|
30
33
|
import "@arcgis/core/geometry/Point.js";
|
|
31
34
|
import "@arcgis/toolkit/dom";
|
|
32
|
-
import { e as
|
|
33
|
-
import { m as
|
|
35
|
+
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
36
|
+
import { m as c, U as r } from "../../chunks/chart-ui-utils2.js";
|
|
34
37
|
import { u as h } from "../../chunks/useT9n.js";
|
|
35
38
|
import { css as d, html as u } from "lit";
|
|
36
|
-
import { createRef as
|
|
37
|
-
import { LitElement as g, createEvent as
|
|
39
|
+
import { createRef as s, ref as o } from "lit/directives/ref.js";
|
|
40
|
+
import { LitElement as g, createEvent as n, safeClassMap as i } from "@arcgis/lumina";
|
|
38
41
|
const e = {
|
|
39
42
|
jsAppFlyout: "js-app-flyout",
|
|
40
43
|
chartRenameComponent: "chart-rename-component",
|
|
@@ -43,7 +46,7 @@ const e = {
|
|
|
43
46
|
}, v = d`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
|
|
44
47
|
class C extends g {
|
|
45
48
|
constructor() {
|
|
46
|
-
super(...arguments), this._messages = h(), this.characterLimitInputElement =
|
|
49
|
+
super(...arguments), this._messages = h(), this.characterLimitInputElement = s(), this.popoverElement = s(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.arcgisChartsConfigChartRenamePopoverChange = n(), this.arcgisChartsConfigPopoverClose = n();
|
|
47
50
|
}
|
|
48
51
|
static {
|
|
49
52
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
@@ -58,13 +61,13 @@ class C extends g {
|
|
|
58
61
|
t.has("name") && (this.changedName = this.name);
|
|
59
62
|
}
|
|
60
63
|
updated() {
|
|
61
|
-
this.popoverElement.value?.reposition(),
|
|
64
|
+
this.popoverElement.value?.reposition(), p(this.popoverElement.value, this.open);
|
|
62
65
|
}
|
|
63
66
|
onNameChange(t) {
|
|
64
67
|
const a = t.target.value;
|
|
65
|
-
this.changedName = a, this.isChartTitleInvalid = m(a.trim()), this.characterLimitInputElement.value &&
|
|
68
|
+
this.changedName = a, this.isChartTitleInvalid = m(a.trim()), this.characterLimitInputElement.value && c({
|
|
66
69
|
inputElement: this.characterLimitInputElement.value,
|
|
67
|
-
status: this.isChartTitleInvalid ?
|
|
70
|
+
status: this.isChartTitleInvalid ? r.INVALID : r.IDLE
|
|
68
71
|
});
|
|
69
72
|
}
|
|
70
73
|
onCancelClick() {
|
|
@@ -80,7 +83,7 @@ class C extends g {
|
|
|
80
83
|
return u`<div class=${i({
|
|
81
84
|
[e.chartRenameComponent]: !0,
|
|
82
85
|
[e.jsAppFlyout]: !0
|
|
83
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${
|
|
86
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${o(this.popoverElement)}><calcite-panel class=${i(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${i(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${o(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
l("arcgis-charts-config-chart-rename-popover", C);
|
|
@@ -4,21 +4,24 @@ import { repeat as V } from "lit/directives/repeat.js";
|
|
|
4
4
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
5
5
|
import { c as U } from "../../chunks/setup-utils.js";
|
|
6
6
|
import { g as S, i as b, u as _, k as T, m as v } from "../../chunks/type-guards.js";
|
|
7
|
-
import { i as
|
|
7
|
+
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
9
|
import { isEqual as w } from "lodash-es";
|
|
10
10
|
import "luxon";
|
|
11
|
-
import {
|
|
11
|
+
import { d3 as D, ec as k, dm as F, ep as R, dp as z, es as O, at as W, et as G, dq as X, ee as Z } from "../../chunks/index.js";
|
|
12
12
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
14
14
|
import "@arcgis/core/rest/support/Query.js";
|
|
15
15
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
16
16
|
import "@arcgis/core/time/TimeExtent.js";
|
|
17
17
|
import "@arcgis/toolkit/type";
|
|
18
|
-
import { u as o, s as
|
|
18
|
+
import { u as o, s as q } from "../../chunks/series-types.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
21
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
+
import "@amcharts/amcharts4/core.js";
|
|
23
|
+
import "@amcharts/amcharts4/charts.js";
|
|
24
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
22
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
26
|
import "@arcgis/core/request.js";
|
|
24
27
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
@@ -26,10 +29,10 @@ import "@arcgis/core/geometry/Extent.js";
|
|
|
26
29
|
import "@arcgis/core/geometry/Point.js";
|
|
27
30
|
import "simple-statistics";
|
|
28
31
|
import "@arcgis/toolkit/dom";
|
|
29
|
-
import { C as f } from "../../chunks/
|
|
32
|
+
import { C as f } from "../../chunks/index4.js";
|
|
30
33
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
31
|
-
import { r as
|
|
32
|
-
import { substitute as
|
|
34
|
+
import { r as K } from "../../chunks/popover-ui-utils.js";
|
|
35
|
+
import { substitute as j } from "@arcgis/core/intl.js";
|
|
33
36
|
import { C as l } from "../../chunks/interfaces.js";
|
|
34
37
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
35
38
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -135,9 +138,9 @@ class pe extends Y {
|
|
|
135
138
|
case o.LineSeries:
|
|
136
139
|
case o.BarSeries: {
|
|
137
140
|
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
138
|
-
if ((S(s) || b(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !==
|
|
141
|
+
if ((S(s) || b(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !== q.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && ae(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), a && (a.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), b(s)) {
|
|
139
142
|
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
140
|
-
u && C === void 0 && (s.nullCategory =
|
|
143
|
+
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
141
144
|
}
|
|
142
145
|
break;
|
|
143
146
|
}
|
|
@@ -176,7 +179,7 @@ class pe extends Y {
|
|
|
176
179
|
if (r)
|
|
177
180
|
switch (t) {
|
|
178
181
|
case "rotation":
|
|
179
|
-
typeof a == "boolean" &&
|
|
182
|
+
typeof a == "boolean" && H(r) && (r.rotatedState = a);
|
|
180
183
|
break;
|
|
181
184
|
case "legendPosition":
|
|
182
185
|
typeof a == "string" && T(r) && (r.legendPosition = a);
|
|
@@ -348,7 +351,7 @@ class pe extends Y {
|
|
|
348
351
|
return this.modelList?.find((i) => i.chartId === e);
|
|
349
352
|
}
|
|
350
353
|
removeSelectChartTypePopover() {
|
|
351
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
354
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = K(this.selectChartTypePopover));
|
|
352
355
|
}
|
|
353
356
|
clearPartialModels() {
|
|
354
357
|
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
@@ -425,7 +428,7 @@ class pe extends Y {
|
|
|
425
428
|
}
|
|
426
429
|
renderTabs() {
|
|
427
430
|
const e = this.getModel(this.selectedChartId);
|
|
428
|
-
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ?
|
|
431
|
+
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? j(this._messages.pageFlowTitle, {
|
|
429
432
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
430
433
|
layerName: e?.layer?.title ?? ""
|
|
431
434
|
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === l.Data || this.selectedPanel === void 0} @click=${() => {
|
|
@@ -11,6 +11,9 @@ import { be as d } from "../../chunks/index.js";
|
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@amcharts/amcharts4/core.js";
|
|
15
|
+
import "@amcharts/amcharts4/charts.js";
|
|
16
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
14
17
|
import "@esri/arcgis-html-sanitizer";
|
|
15
18
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
19
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -11,10 +11,13 @@ import { i as P, c as E, d as C } from "../../chunks/axis-lines-symbol.js";
|
|
|
11
11
|
import "@arcgis/toolkit/intl";
|
|
12
12
|
import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as H } from "lodash-es";
|
|
13
13
|
import "luxon";
|
|
14
|
-
import "../../chunks/index.js";
|
|
14
|
+
import { dc as u, dy as r } from "../../chunks/index.js";
|
|
15
15
|
import "@arcgis/core/Graphic.js";
|
|
16
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
|
+
import "@amcharts/amcharts4/core.js";
|
|
19
|
+
import "@amcharts/amcharts4/charts.js";
|
|
20
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
18
21
|
import "@esri/arcgis-html-sanitizer";
|
|
19
22
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
20
23
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -31,7 +34,6 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
31
34
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
32
35
|
import "@arcgis/core/time/TimeExtent.js";
|
|
33
36
|
import "@arcgis/core/core/promiseUtils.js";
|
|
34
|
-
import { p as u, w as r } from "../../chunks/index4.js";
|
|
35
37
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
36
38
|
import "@arcgis/core/geometry/Extent.js";
|
|
37
39
|
import "@arcgis/core/geometry/Point.js";
|
|
@@ -11,6 +11,9 @@ import "../../chunks/index.js";
|
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@amcharts/amcharts4/core.js";
|
|
15
|
+
import "@amcharts/amcharts4/charts.js";
|
|
16
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
14
17
|
import "@esri/arcgis-html-sanitizer";
|
|
15
18
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
19
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -12,10 +12,13 @@ import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
|
12
12
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
13
13
|
import "@arcgis/toolkit/intl";
|
|
14
14
|
import "luxon";
|
|
15
|
-
import {
|
|
15
|
+
import { d3 as y } from "../../chunks/index.js";
|
|
16
16
|
import "@arcgis/core/Graphic.js";
|
|
17
17
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
18
18
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
19
|
+
import "@amcharts/amcharts4/core.js";
|
|
20
|
+
import "@amcharts/amcharts4/charts.js";
|
|
21
|
+
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
19
22
|
import "@esri/arcgis-html-sanitizer";
|
|
20
23
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
24
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|