@arcgis/charts-components 5.2.0-next.12 → 5.2.0-next.120
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{RIM4HLHN.js → 225VUGML.js} +3 -3
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 25NQZWDJ.js} +1 -1
- package/dist/cdn/27DMKFXK.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2LE4U3GT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/3QSV7I2J.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → 4AGGUR7V.js} +1 -1
- package/dist/cdn/{YKDW7ZW3.js → 4BU5FKOK.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4ETHEVDM.js +2 -0
- package/dist/cdn/{H3EXGCE7.js → 4EVQDXRQ.js} +1 -1
- package/dist/cdn/{Y6ZCTPJW.js → 4LVRKWF5.js} +1 -1
- package/dist/cdn/{YBN53S4C.js → 4QQPANET.js} +1 -1
- package/dist/cdn/4YFDRBNS.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5LI7FA5C.js +2 -0
- package/dist/cdn/5NMUWLMG.js +2 -0
- package/dist/cdn/5S5FI5VM.js +2 -0
- package/dist/cdn/5SYHQWPP.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/65WBRNOB.js +2 -0
- package/dist/cdn/6UUPPMVB.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7DMHLVYX.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → 7O6SCTBS.js} +1 -1
- package/dist/cdn/7QDL4TE3.js +3 -0
- package/dist/cdn/7SE3B7E2.js +2 -0
- package/dist/cdn/{AQIB3VEP.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/7WZGORIO.js +45 -0
- package/dist/cdn/{ANN3O54W.js → 7X5PS5MV.js} +1 -1
- package/dist/cdn/7XTX3KFW.js +2 -0
- package/dist/cdn/{IYA7HQMS.js → A45T4SGW.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{3MKY6UCO.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/ASQ2GJVW.js +2 -0
- package/dist/cdn/{ZW4PF3UK.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → B2QGEILG.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BG65SP3R.js +2 -0
- package/dist/cdn/BIUADXHB.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → BXBWUGTG.js} +1 -1
- package/dist/cdn/BYRJMIXU.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/C22JKC32.js +2 -0
- package/dist/cdn/{QNT6HTFC.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/CZGKNCIX.js +2 -0
- package/dist/cdn/D5DOFLCS.js +2 -0
- package/dist/cdn/{L47EGLUH.js → DEWO6MFE.js} +1 -1
- package/dist/cdn/{GHLJNZ27.js → DPICOEXC.js} +1 -1
- package/dist/cdn/EAQZOXHL.js +2 -0
- package/dist/cdn/EB5Z3G6D.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → EJZ6NU2N.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → ELQS5MAK.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/FC6VMJIM.js +2 -0
- package/dist/cdn/FF547HMW.js +2 -0
- package/dist/cdn/FNDN7EW7.js +2 -0
- package/dist/cdn/FTTD7LG7.js +2 -0
- package/dist/cdn/FVYM4LYH.js +2 -0
- package/dist/cdn/HBNL5LOO.js +2 -0
- package/dist/cdn/HI7Z5QTR.js +2 -0
- package/dist/cdn/{3TZEMBXR.js → HJKWGAQO.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → HMQZNQ5T.js} +1 -1
- package/dist/cdn/HPJM5ZOD.js +2 -0
- package/dist/cdn/{2XXW3WF3.js → HQN32N6X.js} +1 -1
- package/dist/cdn/HQX6SMWC.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → HT7GYDUR.js} +1 -1
- package/dist/cdn/HXB7PSCG.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{RSNZMJ6I.js → I4GFM5GU.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → ICT3SVPI.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → IEX5F3HF.js} +1 -1
- package/dist/cdn/{LU5S2VRK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{WAINRCCJ.js → J6I76WI5.js} +1 -1
- package/dist/cdn/J6RFRXEU.js +2 -0
- package/dist/cdn/{5SIAOUPO.js → JEK42B7A.js} +1 -1
- package/dist/cdn/JPCSR3D6.js +2 -0
- package/dist/cdn/JQ7S563J.js +2 -0
- package/dist/cdn/JTO6MPTF.js +2 -0
- package/dist/cdn/{SERX6V5M.js → KEL7OP2I.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → KLIDPT5L.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{ULWJ57VT.js → KQVS655Z.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LE4F6FBR.js +2 -0
- package/dist/cdn/LGS2QMGB.js +2 -0
- package/dist/cdn/LQKGTJZ6.js +2 -0
- package/dist/cdn/{S7Z4HRW7.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/N7E2X5IX.js +2 -0
- package/dist/cdn/NI5E2OS4.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/NNCCPCL2.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O5QM6RFL.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OKH3U3GN.js +2 -0
- package/dist/cdn/OMLLMMVS.js +2 -0
- package/dist/cdn/OQEUNYYG.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/P3VQFUQZ.js +2 -0
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{KL33ETQG.js → PENUTMVD.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{XDMGH7YU.js → PN4ODOZS.js} +1 -1
- package/dist/cdn/{OEOAL6JO.js → PO2ZDNTQ.js} +1 -1
- package/dist/cdn/POB26WCE.js +2 -0
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → QFNEF7QI.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QJL354WC.js +4 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{LROW4Y6O.js → RKBKWWDI.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/RWAKKYLM.js +2 -0
- package/dist/cdn/S2G75NCQ.js +2 -0
- package/dist/cdn/S5QSKGOD.js +2 -0
- package/dist/cdn/SDDU5POB.js +104 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/STJ2HTKL.js +2 -0
- package/dist/cdn/{TFPQDMER.js → SXSCCW3M.js} +1 -1
- package/dist/cdn/SZHJZL2A.js +2 -0
- package/dist/cdn/{JHANH4UG.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/T3VRQEKN.js +2 -0
- package/dist/cdn/{I6UPUSLQ.js → T6WRXCXQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/TOMROR3N.js +2 -0
- package/dist/cdn/{AASL4RKT.js → TOVGPC7A.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/U3W5ZPMZ.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UGJ6ZOQG.js +2 -0
- package/dist/cdn/UGLK7BBG.js +2 -0
- package/dist/cdn/UQP6Q7H2.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UVKFQG23.js +2 -0
- package/dist/cdn/{MK5ZYSOD.js → UWACYGOL.js} +1 -1
- package/dist/cdn/V6MI3KKW.js +2 -0
- package/dist/cdn/V7JCHSX7.js +2 -0
- package/dist/cdn/VIQEFX6O.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{A636YSNA.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/VVWD3AMY.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → W474T3B6.js} +1 -1
- package/dist/cdn/WFMMHYSH.js +2 -0
- package/dist/cdn/WGGNHZDW.js +2 -0
- package/dist/cdn/WI4ABUKJ.js +2 -0
- package/dist/cdn/WIIKUAWF.js +3 -0
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/WQ5MRC4U.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTMEWLUJ.js +2 -0
- package/dist/cdn/WVOXFKFO.js +2 -0
- package/dist/cdn/{OFWEHJDH.js → WWLSUSF5.js} +1 -1
- package/dist/cdn/{LJDGLKFL.js → X2R5WPB4.js} +1 -1
- package/dist/cdn/XA4KE5YW.js +2 -0
- package/dist/cdn/{N5ZUO6F3.js → XCDLEIMO.js} +1 -1
- package/dist/cdn/{S3ZSZXYG.js → XHHOY7RB.js} +1 -1
- package/dist/cdn/XNGFPEGT.js +2 -0
- package/dist/cdn/XZ37Y4W5.js +2 -0
- package/dist/cdn/{N4L5KE23.js → Y6HBSZ2J.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{2OHFSVV5.js → YJDCSA4D.js} +1 -1
- package/dist/cdn/YM3BNPLM.js +2 -0
- package/dist/cdn/ZAW4TN54.js +2 -0
- package/dist/cdn/ZDQWQTZE.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → ZISYLA7O.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/ZOOL6KEW.js +2 -0
- package/dist/cdn/ZTVR6KBG.js +2 -0
- package/dist/cdn/ZXW6JPMX.js +2 -0
- package/dist/cdn/ZYWOR5AX.js +2 -0
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +105 -68
- package/dist/chunks/action-bar-utils.js +165 -0
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +65 -56
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +270 -238
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +41 -41
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +19 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +9483 -1079
- package/dist/chunks/index2.js +852 -8759
- package/dist/chunks/index3.js +1169 -849
- package/dist/chunks/index4.js +412 -251
- package/dist/chunks/index5.js +66 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +251 -271
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +169 -193
- package/dist/chunks/pie-chart-model.js +374 -319
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +22 -22
- package/dist/chunks/serial-chart-data.js +930 -814
- package/dist/chunks/serial-chart-model.js +147 -125
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +110 -87
- package/dist/chunks/utils2.js +54 -37
- package/dist/chunks/web-component-utils.js +414 -384
- package/dist/chunks/x-bounds.js +106 -101
- package/dist/components/arcgis-chart/customElement.d.ts +729 -257
- package/dist/components/arcgis-chart/customElement.js +11045 -10739
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +206 -13
- package/dist/components/arcgis-charts-action-bar/customElement.js +79 -64
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +25 -26
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +55 -55
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -49
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +61 -29
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- 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.d.ts +1 -1
- package/dist/index.js +487 -463
- package/dist/interfaces.d.ts +72 -14
- package/dist/json-schema/index.d.ts +155 -6
- package/dist/loader.js +5 -5
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +59 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +10 -2
- package/dist/spec/web-chart.d.ts +34 -4
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +4 -4
- package/dist/utils/chart-config/converter/index.d.ts +2 -3
- package/dist/utils/chart-config/converter/index.js +399 -379
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +32 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +24 -7
- package/dist/utils/layer/interfaces.d.ts +2 -15
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/layer/utils/index.d.ts +26 -9
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/interfaces.d.ts +8 -7
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/package.json +8 -9
- package/dist/cdn/26ESJ72L.js +0 -2
- package/dist/cdn/2PFDGKA5.js +0 -2
- package/dist/cdn/3SBYV6BW.js +0 -2
- package/dist/cdn/3T4NYRGX.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/3UFVHYX5.js +0 -2
- package/dist/cdn/4LQHAOMY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5BADQJ64.js +0 -2
- package/dist/cdn/5F5N7ZZ6.js +0 -2
- package/dist/cdn/5PKMZMGG.js +0 -2
- package/dist/cdn/624WBDC3.js +0 -2
- package/dist/cdn/66GCPNDR.js +0 -2
- package/dist/cdn/6VVUN6AX.js +0 -2
- package/dist/cdn/73JQ2I2Q.js +0 -3
- package/dist/cdn/7HUD5SQI.js +0 -2
- package/dist/cdn/AIFWLINL.js +0 -2
- package/dist/cdn/AZY72Q7D.js +0 -2
- package/dist/cdn/BJYCLLJL.js +0 -2
- package/dist/cdn/BXJZ4YYQ.js +0 -2
- package/dist/cdn/CRCAJAFA.js +0 -2
- package/dist/cdn/CTE365PT.js +0 -2
- package/dist/cdn/CVF3NLTS.js +0 -2
- package/dist/cdn/DKRPN24O.js +0 -2
- package/dist/cdn/DL6PRHZT.js +0 -2
- package/dist/cdn/DOVGECFB.js +0 -2
- package/dist/cdn/DYNPQ2KT.js +0 -2
- package/dist/cdn/ECICE4SU.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EEFS6HU7.js +0 -2
- package/dist/cdn/EYF75TH5.js +0 -2
- package/dist/cdn/EYYQKOXI.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/HQONJQEW.js +0 -2
- package/dist/cdn/IBKS2NZ3.js +0 -2
- package/dist/cdn/IDHDU3DJ.js +0 -2
- package/dist/cdn/IHHPUKGG.js +0 -2
- package/dist/cdn/IM5PHXV3.js +0 -2
- package/dist/cdn/ISSVKLHV.js +0 -2
- package/dist/cdn/IYP3GZSC.js +0 -2
- package/dist/cdn/J2HYDDIW.js +0 -2
- package/dist/cdn/J47CNZCT.js +0 -2
- package/dist/cdn/JKTF2L3L.js +0 -58
- package/dist/cdn/JLWDVTJW.js +0 -2
- package/dist/cdn/JQX5EJZV.js +0 -2
- package/dist/cdn/K2P5RSE5.js +0 -2
- package/dist/cdn/KJPXY6NE.js +0 -2
- package/dist/cdn/KUUBYC33.js +0 -2
- package/dist/cdn/KZTGYTHS.js +0 -2
- package/dist/cdn/LA7COTN7.js +0 -2
- package/dist/cdn/LL757OZ7.js +0 -2
- package/dist/cdn/MGMUUWSP.js +0 -2
- package/dist/cdn/MPSRB65O.js +0 -2
- package/dist/cdn/N5ZIF7M4.js +0 -2
- package/dist/cdn/NVEIMJJ7.js +0 -2
- package/dist/cdn/O363DXQ4.js +0 -102
- package/dist/cdn/O533LNDP.js +0 -2
- package/dist/cdn/ODWDODUY.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PGHVUDMJ.js +0 -2
- package/dist/cdn/PGWOWXHQ.js +0 -2
- package/dist/cdn/PIONRTCB.js +0 -2
- package/dist/cdn/QSBAOCG4.js +0 -2
- package/dist/cdn/QT3VTHUJ.js +0 -2
- package/dist/cdn/RJSCJBFO.js +0 -2
- package/dist/cdn/RMBD6ZSC.js +0 -2
- package/dist/cdn/RMHGA6AU.js +0 -2
- package/dist/cdn/S5EYODWJ.js +0 -2
- package/dist/cdn/SMCXHMTP.js +0 -2
- package/dist/cdn/SN2GPX3I.js +0 -2
- package/dist/cdn/SNMFJ4CN.js +0 -2
- package/dist/cdn/SOOQD5FC.js +0 -2
- package/dist/cdn/T2SFRF7I.js +0 -2
- package/dist/cdn/TCS4HOSG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/U7TKKTUC.js +0 -2
- package/dist/cdn/V2UF2WVE.js +0 -2
- package/dist/cdn/VFUFK3UT.js +0 -2
- package/dist/cdn/VP42WLDX.js +0 -2
- package/dist/cdn/W4XQNHSD.js +0 -4
- package/dist/cdn/W55GZOYQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WMXNQ5XH.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WVV5DAII.js +0 -2
- package/dist/cdn/X5PNAE7T.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XRLVJJBT.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YCJIOFQR.js +0 -2
- package/dist/cdn/Z2UG6CUL.js +0 -2
- package/dist/cdn/ZFK3D55V.js +0 -2
- package/dist/cdn/ZP22BN3G.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/chunks/type-guards3.js +0 -173
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
-
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
|
-
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
1
|
+
import type { ChartLayerView, SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
5
2
|
import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
|
|
6
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
7
|
-
|
|
8
|
-
/** @internal */
|
|
9
|
-
export interface QueryObjectProps {
|
|
10
|
-
chartConfig?: WebChart;
|
|
11
|
-
layer?: QueryObjectOrRaster;
|
|
12
|
-
view?: MapView | SceneView;
|
|
13
|
-
filterByViewExtent?: boolean;
|
|
14
|
-
abortSignal?: AbortSignal;
|
|
15
|
-
}
|
|
16
3
|
|
|
17
4
|
/** @internal */
|
|
18
5
|
export interface RendererInfo {
|
|
@@ -33,6 +20,6 @@ export interface ServerRestInfo {
|
|
|
33
20
|
};
|
|
34
21
|
}
|
|
35
22
|
|
|
36
|
-
export type QueryObject =
|
|
23
|
+
export type QueryObject = ChartLayerView | SupportedLayer;
|
|
37
24
|
|
|
38
25
|
export type QueryObjectOrRaster = QueryObject | SupportedRasterLayer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type AttributeBinsGraphic from "@arcgis/core/AttributeBinsGraphic.js";
|
|
2
2
|
import type AttributeBinsFeatureSet from "@arcgis/core/rest/support/AttributeBinsFeatureSet.js";
|
|
3
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
3
4
|
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
4
5
|
import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
|
|
5
6
|
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
6
7
|
import type { ChartSubType } from "../../misc/interfaces.js";
|
|
7
8
|
import type { QueryObject } from "../interfaces.js";
|
|
8
9
|
import type { AbortControllerKeyType, Features } from "./interfaces.js";
|
|
9
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Performs a query analytic.
|
|
@@ -48,7 +48,8 @@ export function queryAttributeBinsForHeatChart(props: {
|
|
|
48
48
|
queryObject: QueryObject;
|
|
49
49
|
queryConfig: WebChartQuery;
|
|
50
50
|
view?: ChartOptions["view"];
|
|
51
|
-
syncViewTimeZone?:
|
|
51
|
+
syncViewTimeZone?: boolean;
|
|
52
|
+
returnStatisticsAggregatedIds: boolean;
|
|
52
53
|
errorStrings: ErrorStrings;
|
|
53
54
|
abortSignal?: AbortSignal;
|
|
54
55
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
@@ -64,6 +65,7 @@ export function queryFeaturesForMatrixHeatChart(props: {
|
|
|
64
65
|
queryObject: QueryObject;
|
|
65
66
|
queryConfig: WebChartQuery;
|
|
66
67
|
returnFeaturesExtent?: boolean;
|
|
68
|
+
returnStatisticsAggregatedIds: boolean;
|
|
67
69
|
errorStrings: ErrorStrings;
|
|
68
70
|
abortKey?: AbortControllerKeyType;
|
|
69
71
|
abortSignal?: AbortSignal;
|
|
@@ -84,6 +86,7 @@ export function queryAttributeBinsForScatterplot(props: {
|
|
|
84
86
|
xMax: number;
|
|
85
87
|
x: string;
|
|
86
88
|
y: string;
|
|
89
|
+
returnStatisticsAggregatedIds: boolean;
|
|
87
90
|
errorStrings: ErrorStrings;
|
|
88
91
|
abortSignal?: AbortSignal;
|
|
89
92
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
@@ -126,6 +129,7 @@ export function queryFeatures(props: {
|
|
|
126
129
|
queryObject: QueryObject;
|
|
127
130
|
queryConfig?: WebChartQuery;
|
|
128
131
|
returnUniqueIdsOnly?: boolean;
|
|
132
|
+
returnStatisticsAggregatedIds: boolean;
|
|
129
133
|
errorStrings: ErrorStrings;
|
|
130
134
|
abortKey?: AbortControllerKeyType;
|
|
131
135
|
abortSignal?: AbortSignal;
|
|
@@ -144,6 +148,7 @@ export function queryAllFeatures(props: {
|
|
|
144
148
|
returnUniqueIdsOnly?: boolean;
|
|
145
149
|
featureCount?: number;
|
|
146
150
|
noBatch?: boolean;
|
|
151
|
+
returnStatisticsAggregatedIds: boolean;
|
|
147
152
|
errorStrings: ErrorStrings;
|
|
148
153
|
abortKey?: AbortControllerKeyType;
|
|
149
154
|
abortSignal?: AbortSignal;
|
|
@@ -199,6 +204,6 @@ export function queryAttributeBinsForTemporalData(props: {
|
|
|
199
204
|
errorStrings: ErrorStrings;
|
|
200
205
|
view?: ChartOptions["view"];
|
|
201
206
|
syncViewTimeZone?: boolean;
|
|
202
|
-
|
|
207
|
+
returnStatisticsAggregatedIds: boolean;
|
|
203
208
|
abortSignal?: AbortSignal;
|
|
204
209
|
}): Promise<AttributeBinsGraphic[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
2
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
4
3
|
import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
5
4
|
import type Query from "@arcgis/core/rest/support/Query.js";
|
|
@@ -9,6 +8,7 @@ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js
|
|
|
9
8
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
10
9
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
11
10
|
import type { QueryObject } from "../interfaces.js";
|
|
11
|
+
import type { ChartLayer, SupportedLayer } from "../../../interfaces.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -24,7 +24,7 @@ export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProper
|
|
|
24
24
|
* @param layer
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
|
-
export function getMaxRecords(layer?: Pick<
|
|
27
|
+
export function getMaxRecords(layer?: Pick<ChartLayer, "sourceJSON"> | SubtypeSublayer): number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Function building a where clause by concatenating a list of filters by using the AND operator.
|
|
@@ -33,7 +33,7 @@ export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | Subtype
|
|
|
33
33
|
* @param operand - The operand to use to combine the filters (OR, AND...)
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
|
-
export function combineFilters(filterList: (string | null | undefined)[], operand?: string): string;
|
|
36
|
+
export function combineFilters(filterList: (number | string | null | undefined)[], operand?: string): string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Computes the time extent to be used by the query.
|
|
@@ -87,7 +87,8 @@ export function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
87
87
|
splitByField?: string;
|
|
88
88
|
axisTimeZone?: string;
|
|
89
89
|
view?: ChartOptions["view"];
|
|
90
|
-
syncViewTimeZone?:
|
|
90
|
+
syncViewTimeZone?: boolean;
|
|
91
|
+
returnStatisticsAggregatedIds: boolean;
|
|
91
92
|
}): AttributeBinsQuery;
|
|
92
93
|
|
|
93
94
|
/**
|
|
@@ -128,7 +129,8 @@ export function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
128
129
|
configTimeZone?: string;
|
|
129
130
|
includeLeapDay?: boolean;
|
|
130
131
|
view?: ChartOptions["view"];
|
|
131
|
-
syncViewTimeZone?:
|
|
132
|
+
syncViewTimeZone?: boolean;
|
|
133
|
+
returnStatisticsAggregatedIds: boolean;
|
|
132
134
|
}): AttributeBinsQuery;
|
|
133
135
|
|
|
134
136
|
/**
|
|
@@ -146,6 +148,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
|
|
|
146
148
|
xMax: number;
|
|
147
149
|
x: string;
|
|
148
150
|
y: string;
|
|
151
|
+
returnStatisticsAggregatedIds: boolean;
|
|
149
152
|
}): AttributeBinsQuery;
|
|
150
153
|
|
|
151
154
|
/**
|
|
@@ -158,10 +161,11 @@ export function mapQuery(props: {
|
|
|
158
161
|
queryObject: QueryObject;
|
|
159
162
|
queryConfig?: WebChartQuery;
|
|
160
163
|
maxRecordCountFactor?: number;
|
|
164
|
+
returnStatisticsAggregatedIds: boolean;
|
|
161
165
|
}): Query;
|
|
162
166
|
|
|
163
167
|
/**
|
|
164
168
|
* @param layer
|
|
165
169
|
* @internal
|
|
166
170
|
*/
|
|
167
|
-
export function getMaxRecordCountFactor(layer?: Pick<
|
|
171
|
+
export function getMaxRecordCountFactor(layer?: Pick<ChartLayer, "sourceJSON"> | SupportedLayer): number | undefined;
|
|
@@ -4,8 +4,9 @@ import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js
|
|
|
4
4
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
5
5
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
6
6
|
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
7
|
+
import type { SelectableLayerWithObjectIds } from "@arcgis/core/views/selection/types.js";
|
|
7
8
|
import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
|
|
8
|
-
import type { SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
|
|
9
|
+
import type { ChartLayer, ChartLayerInput, ChartLayerView, SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
|
|
9
10
|
import type { WebChart } from "../../../spec/web-chart.js";
|
|
10
11
|
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
11
12
|
|
|
@@ -23,7 +24,7 @@ export function isFeatureCollectionLayer(queryObject: QueryObjectOrRaster | unde
|
|
|
23
24
|
* @param queryObject
|
|
24
25
|
* @internal
|
|
25
26
|
*/
|
|
26
|
-
export function
|
|
27
|
+
export function isChartLayerView(queryObject: LayerView | QueryObjectOrRaster | SubtypeGroupLayer | undefined): queryObject is ChartLayerView;
|
|
27
28
|
|
|
28
29
|
/**
|
|
29
30
|
* Indicates whether the input object is an instance of `FeatureLayer`.
|
|
@@ -33,6 +34,22 @@ export function isFeatureLayerView(queryObject: LayerView | QueryObjectOrRaster
|
|
|
33
34
|
*/
|
|
34
35
|
export function isFeatureLayer(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is FeatureLayer;
|
|
35
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether an input exposes the feature-layer contract required by charts.
|
|
39
|
+
*
|
|
40
|
+
* @param queryObject
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export function isFeatureLayerLike(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is ChartLayer;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether a chart layer exposes the object ID selection contract.
|
|
47
|
+
*
|
|
48
|
+
* @param queryObject
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export function isSelectableLayerWithObjectIds(queryObject: ChartLayerInput | undefined): queryObject is ChartLayerInput & SelectableLayerWithObjectIds;
|
|
52
|
+
|
|
36
53
|
/**
|
|
37
54
|
* Indicates whether the input object is an instance of `SubtypeGroupLayer`.
|
|
38
55
|
*
|
|
@@ -65,7 +82,7 @@ export function isSupportedLayer(queryObject: Layer | QueryObjectOrRaster | unde
|
|
|
65
82
|
* @param layer
|
|
66
83
|
* @internal
|
|
67
84
|
*/
|
|
68
|
-
export function getMainLayer(layer:
|
|
85
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | undefined): ChartLayer | SubtypeGroupLayer | undefined;
|
|
69
86
|
|
|
70
87
|
/**
|
|
71
88
|
* @param layer
|
|
@@ -77,19 +94,19 @@ export function getMainLayer(layer: SupportedRasterLayer): SupportedRasterLayer;
|
|
|
77
94
|
* @param layer
|
|
78
95
|
* @internal
|
|
79
96
|
*/
|
|
80
|
-
export function getMainLayer(layer:
|
|
97
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer;
|
|
81
98
|
|
|
82
99
|
/**
|
|
83
100
|
* @param layer
|
|
84
101
|
* @internal
|
|
85
102
|
*/
|
|
86
|
-
export function getMainLayer(layer:
|
|
103
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
87
104
|
|
|
88
105
|
/**
|
|
89
106
|
* @param layer
|
|
90
107
|
* @internal
|
|
91
108
|
*/
|
|
92
|
-
export function getMainLayer(layer:
|
|
109
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
93
110
|
|
|
94
111
|
/**
|
|
95
112
|
* Indicates whether a layer supports queries with a `distance` parameter
|
|
@@ -161,19 +178,19 @@ export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObjec
|
|
|
161
178
|
* @param layerOrLayerView
|
|
162
179
|
* @internal
|
|
163
180
|
*/
|
|
164
|
-
export function getLayerFromLayerOrLayerView(layerOrLayerView:
|
|
181
|
+
export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer): SupportedLayer;
|
|
165
182
|
|
|
166
183
|
/**
|
|
167
184
|
* @param layerOrLayerView
|
|
168
185
|
* @internal
|
|
169
186
|
*/
|
|
170
|
-
export function getLayerFromLayerOrLayerView(layerOrLayerView:
|
|
187
|
+
export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
|
|
171
188
|
|
|
172
189
|
/**
|
|
173
190
|
* @param layerOrLayerView
|
|
174
191
|
* @internal
|
|
175
192
|
*/
|
|
176
|
-
export function getLayerFromLayerOrLayerView(layerOrLayerView:
|
|
193
|
+
export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
|
|
177
194
|
|
|
178
195
|
/**
|
|
179
196
|
* Returns a feature layer from a QueryObject instance.
|
|
@@ -19,7 +19,7 @@ export interface ComponentLocaleItem<T extends LocaleItem> {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/** @internal */
|
|
22
|
-
export const SupportedLocalesForFormats: (
|
|
22
|
+
export const SupportedLocalesForFormats: (SupportedLocale | string | string | string | string | string | string | string | string | string | string | string)[];
|
|
23
23
|
|
|
24
24
|
/** @internal */
|
|
25
25
|
export type SupportedLocalesForFormats = SupportedLocale | "ar-u-nu-latn" | "de-AT" | "de-CH" | "de-DE" | "en-AU" | "en-GB" | "es-ES" | "es-MX" | "fr-CA" | "it-CH" | "it-IT";
|
|
@@ -169,6 +169,10 @@ export const CommonStringsIdentity: (value: {
|
|
|
169
169
|
twoTemporalSeriesLineCountCannotExceedLimit: string;
|
|
170
170
|
threePlusTemporalSeriesLineCountCannotExceedLimit: string;
|
|
171
171
|
lineSeriesCountCannotExceedLimit: string;
|
|
172
|
+
uniqueSeriesRadarCountCannotExceedLimit: string;
|
|
173
|
+
twoSeriesRadarCountCannotExceedLimit: string;
|
|
174
|
+
threePlusSeriesRadarCountCannotExceedLimit: string;
|
|
175
|
+
radarSeriesCountCannotExceedLimit: string;
|
|
172
176
|
uniqueSeriesBoxCountCannotExceedLimit: string;
|
|
173
177
|
twoSeriesBoxCountCannotExceedLimit: string;
|
|
174
178
|
threePlusBoxLineCountCannotExceedLimit: string;
|
|
@@ -436,6 +440,10 @@ export const CommonStringsIdentity: (value: {
|
|
|
436
440
|
twoTemporalSeriesLineCountCannotExceedLimit: string;
|
|
437
441
|
threePlusTemporalSeriesLineCountCannotExceedLimit: string;
|
|
438
442
|
lineSeriesCountCannotExceedLimit: string;
|
|
443
|
+
uniqueSeriesRadarCountCannotExceedLimit: string;
|
|
444
|
+
twoSeriesRadarCountCannotExceedLimit: string;
|
|
445
|
+
threePlusSeriesRadarCountCannotExceedLimit: string;
|
|
446
|
+
radarSeriesCountCannotExceedLimit: string;
|
|
439
447
|
uniqueSeriesBoxCountCannotExceedLimit: string;
|
|
440
448
|
twoSeriesBoxCountCannotExceedLimit: string;
|
|
441
449
|
threePlusBoxLineCountCannotExceedLimit: string;
|
|
@@ -15,13 +15,13 @@ export const ChartSubType: {
|
|
|
15
15
|
readonly PieNoAggregation: "pieNoAggregation";
|
|
16
16
|
readonly PieFromCategory: "pieFromCategory";
|
|
17
17
|
readonly PieFromFields: "pieFromFields";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
18
|
+
readonly BoxPlotC1MonoField: "boxPlotC1MonoField";
|
|
19
|
+
readonly BoxPlotC2MultiFields: "boxPlotC2MultiFields";
|
|
20
|
+
readonly BoxPlotC3MonoFieldAndCategory: "boxPlotC3MonoFieldAndCategory";
|
|
21
|
+
readonly BoxPlotC4MultiFieldsAndCategory: "boxPlotC4MultiFieldsAndCategory";
|
|
22
|
+
readonly BoxPlotC5MonoFieldAndSplitBy: "boxPlotC5MonoFieldAndSplitBy";
|
|
23
|
+
readonly BoxPlotC6MultiFieldsAndSplitBy: "boxPlotC6MultiFieldsAndSplitBy";
|
|
24
|
+
readonly BoxPlotC7MonoFieldAndCategoryAndSplitBy: "boxPlotC7MonoFieldAndCategoryAndSplitBy";
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export type ChartSubType = (typeof ChartSubType)[keyof typeof ChartSubType];
|
|
@@ -43,6 +43,7 @@ export interface SelectionData {
|
|
|
43
43
|
selectionOIDs?: (number | string)[];
|
|
44
44
|
selectionSource?: SelectionSource;
|
|
45
45
|
selectionPixelTarget?: PixelHighlightTarget;
|
|
46
|
+
selectionFilters?: string[];
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
export interface SelectionThemeProperties {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WebChart } from "../../spec/web-chart.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Check the `subType` in the chart config to determine whether the chart is a gauge by feature.
|
|
5
|
+
* If `subType` is not defined, the chart is defaulted to be a statistic gauge.
|
|
6
|
+
*
|
|
7
|
+
* @param config - the chart config
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export function isGaugeByFeature(config: WebChart): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
|
|
1
|
+
import type { WebChartBarChartSeries, WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
|
|
2
2
|
import type { ChartTypes } from "../misc/index.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -35,4 +35,11 @@ export function getChartOrSeriesType(chartSeries: WebChartSeries[] | undefined,
|
|
|
35
35
|
* @returns The binning type for the specified axis
|
|
36
36
|
* @internal
|
|
37
37
|
*/
|
|
38
|
-
export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
|
|
38
|
+
export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Type guard to know if the series type supports null category
|
|
42
|
+
*
|
|
43
|
+
* @param series - series The series to check
|
|
44
|
+
*/
|
|
45
|
+
export function supportsNullCategory(series: WebChartSeries): series is WebChartBarChartSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.120",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,25 +29,24 @@
|
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
32
|
-
"@amcharts/amcharts5": "~5.
|
|
32
|
+
"@amcharts/amcharts5": "~5.20.7",
|
|
33
|
+
"@arcgis/lumina": "5.2.0-next.120",
|
|
34
|
+
"@arcgis/toolkit": "5.2.0-next.120",
|
|
33
35
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
34
36
|
"@lit/task": "^1.0.3",
|
|
37
|
+
"@zumer/snapdom": "^2.24.1",
|
|
35
38
|
"ajv": "6.12.6",
|
|
36
39
|
"d3-shape": "^3.2.0",
|
|
37
|
-
"fastq": "~1.13.0",
|
|
38
|
-
"html2canvas": "^1.4.1",
|
|
39
40
|
"jszip": "^3.10.1",
|
|
40
41
|
"lit": "^3.3.0",
|
|
41
42
|
"lodash-es": "^4.18.1",
|
|
42
43
|
"luxon": "~3.7.2",
|
|
43
44
|
"simple-statistics": "^7.8.8",
|
|
44
|
-
"tslib": "^2.8.1"
|
|
45
|
-
"@arcgis/lumina": "5.2.0-next.12",
|
|
46
|
-
"@arcgis/toolkit": "5.2.0-next.12"
|
|
45
|
+
"tslib": "^2.8.1"
|
|
47
46
|
},
|
|
48
47
|
"peerDependencies": {
|
|
49
|
-
"@arcgis/core": "
|
|
50
|
-
"@esri/calcite-components": "^5.
|
|
48
|
+
"@arcgis/core": "5.2.0-next.120",
|
|
49
|
+
"@esri/calcite-components": "^5.2.0-next.73"
|
|
51
50
|
},
|
|
52
51
|
"css.customData": [
|
|
53
52
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/26ESJ72L.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as m,c as D}from"./OBPAQN4H.js";import{a as P}from"./IHO3OLL3.js";import e from"./KL33ETQG.js";import{a as I}from"./JHANH4UG.js";import{j as o,n as h}from"./AK7X7SGI.js";import c from"./6VVUN6AX.js";import"./WNKDEOFZ.js";import a from"./73JQ2I2Q.js";import{e as E}from"./EZV7JSQJ.js";import{n as b}from"./3TBK72EK.js";import{i as _,z as x,za as V}from"./PAIRUVLU.js";import{f as C}from"./KX7KGXKQ.js";import{c as z,g as w,k as M}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A as r,B as A,C as i,D as v,F as L,H as k,g as T,i as n,n as $,z as d}from"./RIM4HLHN.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as S}from"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{b:K,f:f,g:y,h:g,i:u,j:R}])=>{var l={label:"label",r2:"r2",numberInput:"number-input",iconSelect:"icon-select",sectionLabel:"section-label",switchElement:"switch-element",sectionContainer:"section-container",multiInputSection:"multi-input-section",dimText:"dim-text"},N=T`.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{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}:host .number-input{margin-bottom:.5rem;display:flex}:host .number-input>div{width:100%}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}calcite-slider{margin-top:-1.5rem}.r2{margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.section-container{display:flex;flex-direction:column}.icon-select{cursor:pointer}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.switch-element{margin-right:var(--arcgis-charts-config-margin-minor)}.multi-input-section{display:flex;justify-content:space-between;align-items:center}`,F=class extends A{constructor(){super(...arguments),this._messages=I(),this.commonStrings=I({name:"common",blocking:!0}),this.scatterplotPopover=null,this.selectColorElement=d(),this.selectTrendLineElement=d(),this.xAxisElement=d(),this.yAxisElement=d(),this.tooltipFieldElement=d(),this.sizeVariableElement=d(),this.colorModeElement=d(),this.symbolSizeModeElement=d(),this.minSizeInputElement=d(),this.maxSizeInputElement=d(),this.items=[],this.setTrendLineSymbol=e=>{let t=e.detail;this.model.linearTrendSymbol=w(t)},this.setFixedSymbolRGBAColor=e=>{let t=e.detail,[a,s,c]=t,p=_*255;this.model.fixedMarkerSymbol={...this.model.fixedMarkerSymbol,color:[a,s,c,p]}},this.setXYField=e=>{try{let t=e.detail;D(m),this.contentKind===o.xAxisField?this.model.xAxisField=t:this.model.yAxisField=t,this.removeScatterplotPopover()}catch(t){throw t instanceof Error&&this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}},this.setAdditionalTooltipField=e=>{let t=e.detail;this.model.additionalTooltipField=t,this.removeScatterplotPopover()},this.setSizeVariableField=e=>{try{let t=e.detail;t?this.model.sizePolicy={...this.model.sizePolicy,type:S.SizePolicy,field:t}:this.model.sizePolicy=void 0,m.scatterplotData[m.selectedChartId]={...m.scatterplotData[m.selectedChartId],sizePolicyField:this.model.sizePolicy?.field??void 0},this.removeScatterplotPopover()}catch(t){throw t instanceof Error&&this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}},this.closeScatterplotPopover=e=>{this.scatterplotPopover===e?.target&&(this.contentKind=o.none,this.removeScatterplotPopover())},this.onModelConfigChange=()=>{this.requestUpdate();let{minSize:e,maxSize:t}=this.model.sizePolicy??{};this.minSizeInputElement.value!==void 0&&e!==void 0&&(this.minSizeInputElement.value.value=`${e}`,f(this.minSizeInputElement.value.value,this.minSizeInputElement.value.min,this.minSizeInputElement.value.max)?g({inputElement:this.minSizeInputElement.value,status:u.IDLE}):g({inputElement:this.minSizeInputElement.value,status:u.INVALID})),this.maxSizeInputElement.value!==void 0&&t!==void 0&&(this.maxSizeInputElement.value.value=`${t}`,f(this.maxSizeInputElement.value.value,this.maxSizeInputElement.value.min,this.maxSizeInputElement.value.max)?g({inputElement:this.maxSizeInputElement.value,status:u.IDLE}):g({inputElement:this.maxSizeInputElement.value,status:u.INVALID}))},this.segmentedControlRef=e=>{e&&(e.focus=()=>{},this.items.push(e))},this.layerFieldsInfo=[],this.isTableLayer=!1,this.arcgisChartsConfigDataChangeError=$(),this.arcgisChartsConfigScatterplotPopoverChange=$()}static{this.properties={selectedElement:16,selectedSizeType:16,messageOverrides:0,model:0,r2:9,layerFieldsInfo:0,isTableLayer:5}}static{this.styles=N}load(){this.modelChange(this.model),this.onModelConfigChange(),this.defaultR2Label=V(this.commonStrings)}willUpdate(e){e.has("model")&&(this.updateSymbolSizeInfoInAppState(),this.modelChange(this.model,e.get("model"))),e.has("selectedElement")&&this.openPopover()}loaded(){this.loadedAsync()}disconnectedCallback(){super.disconnectedCallback(),this.removeScatterplotPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async loadedAsync(){await(async e=>await new Promise(t=>setTimeout(()=>t(),e)))(250),this.items.forEach(e=>{delete e.focus})}updateSymbolSizeInfoInAppState(){this.selectedSizeType=this.getCurrentSymbolSizeType(),this.selectedSizeType===h.Proportional&&(m.scatterplotData[m.selectedChartId]={...m.scatterplotData[m.selectedChartId],sizePolicyField:this.model.sizePolicy?.field})}openPopover(){(typeof this.selectedElement=="string"||!M(this.selectedElement))&&this.setupPopover()}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}setShowTrendLine(e){let t=e.target.checked;this.model.showLinearTrend=t,!t&&this.contentKind===o.trendLine&&this.closeScatterplotPopover(e)}symbolSizeChange(e){let t=e.target,{value:a}=t;if(a!==void 0&&f(a,t.min,t.max)){let s=Number.parseInt(a),c=this.model.sizePolicy,p=this.model.fixedMarkerSymbol;switch(t.name){case"fixed-symbol-size":p!==void 0&&(this.model.fixedMarkerSymbol={...p,size:s});break;case"proportional-symbol-min-size":c!==void 0&&(this.model.sizePolicy={...c,minSize:s});break;case"proportional-symbol-max-size":c!==void 0&&(this.model.sizePolicy={...c,maxSize:s});break}g({inputElement:t,status:u.IDLE})}else g({inputElement:t,status:u.INVALID})}symbolSizeRangeSliderInput(e){let t=e.target,{minValue:a,maxValue:s}=t,c=this.model.sizePolicy;c!==void 0&&(this.model.sizePolicy={...c,minSize:a,maxSize:s},this.minSizeInputElement.value!==void 0&&(this.minSizeInputElement.value.value=`${a}`),this.maxSizeInputElement.value!==void 0&&(this.maxSizeInputElement.value.value=`${s}`))}changeColorTypeToggle(){let e=this.colorModeElement.value?.selectedItem?.value;this.model.colorMatch=e===this._messages.useLayerColors}changeSymbolSizeTypeToggle(){let e=this.symbolSizeModeElement.value?.value;this.selectedSizeType=e;let t=m.scatterplotData[m.selectedChartId]?.sizePolicyField;e===h.Proportional&&t!==void 0?this.model.sizePolicy={...this.model.sizePolicy,type:S.SizePolicy,field:t}:e===h.Fixed&&(this.model.sizePolicy={...this.model.sizePolicy,type:S.SizePolicy,field:""})}changeElementStyle(e){e.stopImmediatePropagation();let t=e.target;t.localName==="calcite-icon"&&(t=t.parentElement),t.value==="selectColor"?(this.contentKind=o.symbol,this.selectedElement=this.model.fixedMarkerSymbol?.color):t.value==="selectTrendLine"&&(this.contentKind=o.trendLine,this.selectedElement=this.model.linearTrendSymbol)}onXVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.xAxisField,this.selectedElement=this.model.xAxisField}onYVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.yAxisField,this.selectedElement=this.model.yAxisField}onAdditionalTooltipFieldSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.additionalTooltipFields,this.selectedElement=this.model.additionalTooltipField?.[0]??""}onSizeVariableSelectChange(e){e.stopImmediatePropagation(),this.contentKind=o.sizeVariable,this.selectedElement=this.model.sizePolicy?.field??""}setupPopover(){this.scatterplotPopover=P(this.scatterplotPopover);let e=E(this.model.layer)?this.layerFieldsInfo.filter(p=>p.type!=="esriFieldTypeOID"):[...this.layerFieldsInfo],t,a,s,c="trailing";switch(this.contentKind){case o.xAxisField:t=this.xAxisElement.value,s=this.model.xAxisField,a=this._messages.selectAField;break;case o.yAxisField:t=this.yAxisElement.value,s=this.model.yAxisField,a=this._messages.selectAField;break;case o.sizeVariable:t=this.sizeVariableElement.value,s=this.model.sizePolicy?.field??"",a=this._messages.selectAField;break;case o.additionalTooltipFields:t=this.tooltipFieldElement.value,s=this.model.additionalTooltipField?.[0]??"",a=this._messages.selectAField;break;case o.symbol:case o.trendLine:{let p=this.selectedElement;s=this.selectedElement,c="leading",Array.isArray(this.selectedElement)?t=this.selectColorElement.value:p?.type===C.SLS&&(t=this.selectTrendLineElement.value);break}default:this.contentKind=o.none,this.removeScatterplotPopover();break}this.scatterplotPopover=L(n`<arcgis-charts-config-scatter-plot-popover .headingTitle=${a} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${e} .selectedContent=${s} .placement=${c} @arcgisChartsConfigPopoverClose=${this.closeScatterplotPopover} @arcgisChartsConfigScatterplotFillColorChange=${this.setFixedSymbolRGBAColor} @arcgisChartsConfigScatterplotLineStyleChange=${this.setTrendLineSymbol} @arcgisChartsConfigScatterplotXYFieldChange=${this.setXYField} @arcgisChartsConfigScatterplotSizeVariableFieldChange=${this.setSizeVariableField} @arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=${this.setAdditionalTooltipField}></arcgis-charts-config-scatter-plot-popover>`),!document.body.contains(this.scatterplotPopover)&&this.scatterplotPopover!==null&&document.body.appendChild(this.scatterplotPopover)}removeScatterplotPopover(){this.scatterplotPopover!==null&&(this.scatterplotPopover=P(this.scatterplotPopover)),this.selectedElement=void 0}getCurrentSymbolSizeType(){let e=this.model.sizePolicy;return e===void 0||e.field===""?h.Fixed:h.Proportional}renderXVariable(){return n`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo,this.model.xAxisField??"")} @click=${this.onXVariableSelectChange} ${r(this.xAxisElement)}></arcgis-charts-config-field-select>`}renderYVariable(){return n`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo,this.model.yAxisField??"")} @click=${this.onYVariableSelectChange} ${r(this.yAxisElement)}></arcgis-charts-config-field-select>`}renderTooltipField(){return n`<arcgis-charts-config-field-select .disabled=${this.model.dataStore.aggregated} .label=${b(this.layerFieldsInfo,this.model.additionalTooltipField?.[0]??"")} @click=${this.onAdditionalTooltipFieldSelectChange} ${r(this.tooltipFieldElement)}></arcgis-charts-config-field-select>`}renderStatistics(){let[e,t,a,s]=[...this.model.linearTrendSymbol?.color??x(0)];return n`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)} layout=inline-space-between>${this._messages.showLinearTrend}<calcite-switch class=${i(l.switchElement)} .checked=${this.model.showLinearTrend} @calciteSwitchChange=${this.setShowTrendLine}></calcite-switch></calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.trendLineStyle} value=selectTrendLine .hidden=${!this.model.showLinearTrend} .selected=${this.selectedElement?.type===C.SLS} @click=${this.changeElementStyle} ${r(this.selectTrendLineElement)}><calcite-icon slot=content-end icon=line-solid style=${v({color:`rgba(${e},${t},${a},${s/255})`})} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list><div class=${i(l.r2)} .hidden=${!this.model.showLinearTrend}>${`${this._messages.r2}: ${Number.isNaN(this.r2)?this.defaultR2Label:R(this.r2,K)}`}</div></div>`}renderFixedSymbol(){return n`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-input type=number name=fixed-symbol-size class=${i(l.numberInput)} min=1 max=100 step=1 .value=${y(this.model.fixedMarkerSymbol?.size)} @calciteInputInput=${this.symbolSizeChange}></calcite-input></calcite-label>`}renderSizeVariable(){return n`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo,this.model.sizePolicy?.field??"")} .invalid=${this.layerFieldsInfo.find(e=>e.name===this.model.sizePolicy?.field)===void 0} @click=${this.onSizeVariableSelectChange} ${r(this.sizeVariableElement)}></arcgis-charts-config-field-select>`}renderMinSizeInput(){return n`<calcite-input type=number name=proportional-symbol-min-size class=${i(l.numberInput)} min=1 .max=${this.model.sizePolicy?.maxSize??100} step=1 .value=${y(this.model.sizePolicy?.minSize)} @calciteInputInput=${this.symbolSizeChange} ${r(this.minSizeInputElement)}></calcite-input>`}renderMaxSizeInput(){return n`<calcite-input type=number name=proportional-symbol-max-size class=${i(l.numberInput)} .min=${this.model.sizePolicy?.minSize??1} max=100 step=1 .value=${y(this.model.sizePolicy?.maxSize)} @calciteInputInput=${this.symbolSizeChange} ${r(this.maxSizeInputElement)}></calcite-input>`}renderProportionalSymbol(){return n`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)}>${this._messages.numberRequired}${this.renderSizeVariable()}</calcite-label><div class=${i(l.multiInputSection)}><calcite-label class=${i(l.label)}>${this._messages.minSize}${this.renderMinSizeInput()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.maxSize}${this.renderMaxSizeInput()}</calcite-label></div><calcite-label><calcite-slider min=1 max=100 .minValue=${z(y(this.model.sizePolicy?.minSize))} .maxValue=${z(y(this.model.sizePolicy?.maxSize))} step=1 @calciteSliderInput=${this.symbolSizeRangeSliderInput}></calcite-slider></calcite-label></div>`}renderSymbolSizeType(){return n`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-segmented-control name=symbolSizeType layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeSymbolSizeTypeToggle} ${r(this.symbolSizeModeElement)}><calcite-segmented-control-item .value=${h.Fixed} .checked=${h.Fixed===this.selectedSizeType} ${r(this.segmentedControlRef)}>${this._messages.fixed}</calcite-segmented-control-item><calcite-segmented-control-item .value=${h.Proportional} .checked=${h.Proportional===this.selectedSizeType} ${r(this.segmentedControlRef)}>${this._messages.proportional}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}renderSymbol(){let e=E(this.model.layer),[t,a,s,c]=[...this.model.fixedMarkerSymbol?.color??x(0)];return n`<div class=${i(l.sectionContainer)}>${this.renderSymbolSizeType()}${this.selectedSizeType===h.Proportional?this.renderProportionalSymbol():this.renderFixedSymbol()}<calcite-label class=${i(l.label)}>${this._messages.color}${!this.isTableLayer&&!e?n`<calcite-segmented-control name=layerColor layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeColorTypeToggle} ${r(this.colorModeElement)}><calcite-segmented-control-item .value=${this._messages.useLayerColors} .checked=${this.model.colorMatch} ${r(this.segmentedControlRef)}>${this._messages.useLayerColors}</calcite-segmented-control-item><calcite-segmented-control-item .value=${this._messages.singleColor} .checked=${!this.model.colorMatch} ${r(this.segmentedControlRef)}>${this._messages.singleColor}</calcite-segmented-control-item></calcite-segmented-control>`:null}</calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.color} value=selectColor .hidden=${this.model.colorMatch&&!this.isTableLayer&&!e} .selected=${Array.isArray(this.selectedElement)} @click=${this.changeElementStyle} ${r(this.selectColorElement)}><calcite-icon slot=content-end icon=circle-f style=${v({color:`rgba(${t},${a},${s},${c/255})`})} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list></div>`}render(){return n`<h3 class=${i(l.sectionLabel)}>${this._messages.variables}</h3><calcite-label class=${i(l.label)}>${this._messages.xAxisNumber}${this.renderXVariable()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.yAxisNumber}${this.renderYVariable()}</calcite-label><calcite-label class=${i(l.label)}><span class=${i(this.model.dataStore.aggregated?l.dimText:"")}>${this._messages.additionalTooltipFields}</span>${this.renderTooltipField()}</calcite-label><h3 class=${i(l.sectionLabel)}>${this._messages.statistics}</h3>${this.renderStatistics()}<h3 class=${i(l.sectionLabel)}>${this._messages.symbol}</h3>${this.renderSymbol()}`}};k("arcgis-charts-config-scatter-plot-data",F);return F},a,c,e)
|
package/dist/cdn/2PFDGKA5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as u}from"./AQIB3VEP.js";import{a as f}from"./S7Z4HRW7.js";import{a as o}from"./IHO3OLL3.js";import d from"./KL33ETQG.js";import{a as S}from"./JHANH4UG.js";import"./AK7X7SGI.js";import b from"./6VVUN6AX.js";import"./WNKDEOFZ.js";import a from"./73JQ2I2Q.js";import"./EZV7JSQJ.js";import{d as p}from"./3TBK72EK.js";import"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import{B as c,D as m,F as g,H as C,g as h,i as r}from"./RIM4HLHN.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{p:v}])=>{var O=h`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`,l=class extends c{constructor(){super(...arguments),this._messages=S(),this.seriesPopover=null,this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let s=e.detail?.name;this.model.setSeriesName(s,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:s}=e.detail;this.model.colorMatch=!1,s!==void 0&&(this.model.setSeriesColor(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerColor(s,this.selectedSeriesIndex??-1))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineStyle:s}=e.detail;s!==void 0&&this.model.setSeriesLineStyle(s,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{lineWidth:s}=e.detail;s!==void 0&&(this.model.setSeriesLineWidth(s,this.selectedSeriesIndex??-1),this.model.setSeriesMarkerSize(s*2,this.selectedSeriesIndex??-1))}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:s}=e.detail;this.selectedSeriesIndex===s&&(this.seriesPopover=o(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading"}static{this.properties={selectedSeriesIndex:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=O}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,s){s?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=g(r`<arcgis-charts-config-line-chart-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}removeSeriesPopover(){this.seriesPopover!==void 0&&this.seriesPopover!==null&&(this.seriesPopover.open=!1,this.seriesPopover=o(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,s=Array.from({length:e},(i,t)=>t);return u(s,i=>this.model.getSeriesId(i),i=>{let t=this.model.getSeriesId(i),n=this.model.getSeriesColor(i),I=this.model.getSeriesName(i),x=this.model.chartSubType===p.BarAndLineFromFields?this._messages.series:t,$=this.model.getSeriesLineStyle(i),P=v($),a="#CCCCCC",d="minus-circle";if((e>1||!this.activeColorMatch)&&n!==void 0){d=`line-${P}`;let[L,b,y,M]=[...n];a=`rgba(${L},${b},${y},${M/255})`}return r`<calcite-list-item .label=${I??t??""} .description=${x} .value=${t} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${d} style=${m({color:a})}></calcite-icon></calcite-list-item>`})}buildSeriesList(){return f(this.seriesOrderResetCounter,r`<calcite-list label drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:s,oldIndex:i}=e.detail;this.model.moveSeries(i??0,s??i??0),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let s=e.target,i=s.localName==="calcite-list-item"?s:s.parentNode,t=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==t,this.selectedSeriesIndex=this.selectedSeriesIndex!==t?t:void 0}render(){return r`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`}};C("arcgis-charts-config-line-chart-series",l);return l},a,b,d)
|
package/dist/cdn/3SBYV6BW.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as $}from"./IHO3OLL3.js";import{a as b}from"./JHANH4UG.js";import{i as c}from"./PAIRUVLU.js";import{f as u}from"./KX7KGXKQ.js";import{l as S}from"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A as f,B as v,C as n,H as y,g as C,i as l,n as a,z as g}from"./RIM4HLHN.js";import"./547RDEMV.js";import"./U67P6YAZ.js";var L={panelChildrenContainer:"panel-children-container"},P=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}`,h=class extends v{constructor(){super(...arguments),this._messages=b(),this.popoverElement=g(),this.isLineSymbol=!1,this.open=!1,this.labelCanBeConfigured=!1,this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSeriesPopoverColorChange=a(),this.arcgisChartsConfigSeriesPopoverLineStyleChange=a(),this.arcgisChartsConfigSeriesPopoverLineWidthChange=a(),this.arcgisChartsConfigSeriesPopoverNameChange=a()}static{this.properties={messageOverrides:0,referenceElement:0,selectedName:1,selectedColor:0,selectedLineStyle:1,selectedLineWidth:9,selectedSeriesIndex:9,isLineSymbol:5,placement:1,open:5,labelCanBeConfigured:5}}static{this.styles=P}async reposition(){await this.popoverElement.value?.reposition()}updated(){$(this.popoverElement.value,this.open)}seriesNameChange(e){let i=e.target.value;this.selectedName!==i&&(this.selectedName=i,this.arcgisChartsConfigSeriesPopoverNameChange.emit({name:i}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}colorChange(e){let i=e instanceof CustomEvent?e.detail:e,[o,t,s]=i,r=c*255;this.selectedColor=[o,t,s,r],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[o,t,s,r]})}lineSymbolChange(e){let{lineStyle:i}=e.target,{color:o,style:t,width:s}=i;if(o!==void 0&&!S(o,this.selectedColor)){let[r,p,m]=o,d=c*255;this.selectedColor=[r,p,m,d],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[r,p,m,d]})}t!==void 0&&t!==this.selectedLineStyle&&(this.selectedLineStyle=t,this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({style:t})),s!==void 0&&s!==this.selectedLineWidth&&(this.selectedLineWidth=s,this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({width:s}))}render(){let e=this.selectedColor;return l`<div><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${f(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured?l`<div class=${n(L.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>`:null}<div class=${n(this.isLineSymbol?"":L.panelChildrenContainer)}>${this.isLineSymbol?l`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{type:u.SLS,style:this.selectedLineStyle,width:this.selectedLineWidth,color:e}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>`:l`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`}};y("arcgis-charts-config-box-plot-series-popover",h);export{h as ArcgisChartsConfigBoxPlotSeriesPopover};
|
package/dist/cdn/3T4NYRGX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import f from"./KL33ETQG.js";import{a as b}from"./JHANH4UG.js";import"./AK7X7SGI.js";import e from"./6VVUN6AX.js";import"./WNKDEOFZ.js";import c from"./73JQ2I2Q.js";import"./EZV7JSQJ.js";import"./3TBK72EK.js";import"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./IHHPUKGG.js";import{A as g,B as p,C as a,H as d,g as l,i as o,n as u,z as h}from"./RIM4HLHN.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([,,{f:f,g:v,h:r,i:m}])=>{var s={container:"container",label:"label",numberInput:"number-input"},x=l`.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)}.container{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));margin-top:.5rem}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem;justify-content:space-between}`,c=class extends p{constructor(){super(...arguments),this._messages=b(),this.decimalPlacesInputElement=h(),this.arcgisChartsConfigNumberFormatChange=u()}static{this.properties={messageOverrides:0,numberFormat:0}}static{this.styles=x}onDecimalPlacesChange(){let t=this.decimalPlacesInputElement.value?.value,i=Math.floor(Number(t)),n=i===Number(t)&&i>=0;if(t!==void 0&&n&&f(t,this.decimalPlacesInputElement.value?.min,this.decimalPlacesInputElement.value?.max)){let F=Number.parseInt(t),e={minimumFractionDigits:this.numberFormat?.minimumFractionDigits,maximumFractionDigits:F};e.maximumFractionDigits!==void 0&&e.minimumFractionDigits!==void 0&&e.minimumFractionDigits>e.maximumFractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits);let C=this.getUpdatedNumberFormat(e);this.arcgisChartsConfigNumberFormatChange.emit(C),this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.IDLE})}else this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.INVALID})}onShowThousandsSeparatorChange(t){let i=t.target.checked,n=this.getUpdatedNumberFormat({useGrouping:i});this.arcgisChartsConfigNumberFormatChange.emit(n)}getUpdatedNumberFormat(t){return{...this.numberFormat,...t}}render(){return o`<div class=${a(s.container)}><calcite-label class=${a(s.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${a(s.numberInput)} min=0 max=20 step=1 .value=${v(this.numberFormat?.maximumFractionDigits,2)} @calciteInputInput=${this.onDecimalPlacesChange} ${g(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${a(s.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping??!0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div>`}};d("arcgis-charts-config-number-format",c);return c},c,e,f)
|
package/dist/cdn/3TBK72EK.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{Aa as ge,b as oe,g as le,ha as Z,i as ue,o as ce,ua as fe,x as W,ya as de}from"./PAIRUVLU.js";import{b as Q,c as se,f as P}from"./KX7KGXKQ.js";import{k as te}from"./SP2IPHWF.js";import{a as T}from"./XJFVSX2E.js";import{a as d,c as re,e as ie,f as ae,h as R,j as ne,k as w}from"./547RDEMV.js";var H=function(){return H=Object.assign||function(t){for(var r,i=1,a=arguments.length;i<a;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},H.apply(this,arguments)},Y={exports:{}},g={},K={exports:{}},F={};function ye(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Re(e,t,r){}function Ee(e,t,r){}var ze=/javascript\s*\:/img;function Ne(e,t){return ze.test(t)?"":t}F.whiteList=ye();F.getDefaultWhiteList=ye;F.onAttr=Re;F.onIgnoreAttr=Ee;F.safeAttrValue=Ne;var We={indexOf:function(e,t){var r,i;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var i,a;if(Array.prototype.forEach)return e.forEach(t,r);for(i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},E=We;function De(e,t){e=E.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,i=!1,a=0,n=0,o="";function l(){if(!i){var u=E.trim(e.slice(a,n)),c=u.indexOf(":");if(c!==-1){var p=E.trim(u.slice(0,c)),h=E.trim(u.slice(c+1));if(p){var m=t(a,o.length,p,h,u);m&&(o+=m+"; ")}}}a=n+1}for(;n<r;n++){var s=e[n];if(s==="/"&&e[n+1]==="*"){var f=e.indexOf("*/",n+2);if(f===-1)break;n=f+1,a=n+1,i=!1}else s==="("?i=!0:s===")"?i=!1:s===";"?i||l():s===`
|
|
3
|
-
`&&l()}return E.trim(o)}var Ve=De,D=F,Ge=Ve;function pe(e){return e==null}function $e(e){var t={};for(var r in e)t[r]=e[r];return t}function ve(e){e=$e(e||{}),e.whiteList=e.whiteList||D.whiteList,e.onAttr=e.onAttr||D.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||D.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||D.safeAttrValue,this.options=e}ve.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,i=r.whiteList,a=r.onAttr,n=r.onIgnoreAttr,o=r.safeAttrValue,l=Ge(e,function(s,f,u,c,p){var h=i[u],m=!1;if(h===!0?m=h:typeof h=="function"?m=h(c):h instanceof RegExp&&(m=h.test(c)),m!==!0&&(m=!1),c=o(u,c),!!c){var y={position:f,sourcePosition:s,source:p,isWhite:m};if(m){var b=a(u,c,y);return pe(b)?u+":"+c:b}else{var b=n(u,c,y);if(!pe(b))return b}}});return l};var He=ve;(function(e,t){var r=F,i=He;function a(o,l){var s=new i(l);return s.process(o)}t=e.exports=a,t.FilterCSS=i;for(var n in r)t[n]=r[n]})(K,K.exports);var J=K.exports,ee={indexOf:function(e,t){var r,i;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var i,a;if(Array.prototype.forEach)return e.forEach(t,r);for(i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},Ue=J.FilterCSS,Xe=J.getDefaultWhiteList,U=ee;function Se(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var xe=new Ue;function qe(e,t,r){}function je(e,t,r){}function Qe(e,t,r){}function Ze(e,t,r){}function Ae(e){return e.replace(Ke,"<").replace(Je,">")}function Ye(e,t,r,i){if(r=ke(r),t==="href"||t==="src"){if(r=U.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(t==="background"){if(V.lastIndex=0,V.test(r))return""}else if(t==="style"){if(he.lastIndex=0,he.test(r)||(me.lastIndex=0,me.test(r)&&(V.lastIndex=0,V.test(r))))return"";i!==!1&&(i=i||xe,r=i.process(r))}return r=Pe(r),r}var Ke=/</g,Je=/>/g,et=/"/g,tt=/"/g,rt=/&#([a-zA-Z0-9]*);?/gim,it=/:?/gim,at=/&newline;?/gim,V=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,he=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,me=/u\s*r\s*l\s*\(.*/gi;function Le(e){return e.replace(et,""")}function we(e){return e.replace(tt,'"')}function Te(e){return e.replace(rt,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Ce(e){return e.replace(it,":").replace(at," ")}function _e(e){for(var t="",r=0,i=e.length;r<i;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return U.trim(t)}function ke(e){return e=we(e),e=Te(e),e=Ce(e),e=_e(e),e}function Pe(e){return e=Le(e),e=Ae(e),e}function nt(){return""}function st(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function i(o){return r?!0:U.indexOf(e,o)!==-1}var a=[],n=!1;return{onIgnoreTag:function(o,l,s){if(i(o))if(s.isClosing){var f="[/removed]",u=s.position+f.length;return a.push([n!==!1?n:s.position,u]),n=!1,f}else return n||(n=s.position),"[removed]";else return t(o,l,s)},remove:function(o){var l="",s=0;return U.forEach(a,function(f){l+=o.slice(s,f[0]),s=f[1]}),l+=o.slice(s),l}}}function ot(e){for(var t="",r=0;r<e.length;){var i=e.indexOf("<!--",r);if(i===-1){t+=e.slice(r);break}t+=e.slice(r,i);var a=e.indexOf("-->",i);if(a===-1)break;r=a+3}return t}function lt(e){var t=e.split("");return t=t.filter(function(r){var i=r.charCodeAt(0);return i===127?!1:i<=31?i===10||i===13:!0}),t.join("")}g.whiteList=Se();g.getDefaultWhiteList=Se;g.onTag=qe;g.onIgnoreTag=je;g.onTagAttr=Qe;g.onIgnoreTagAttr=Ze;g.safeAttrValue=Ye;g.escapeHtml=Ae;g.escapeQuote=Le;g.unescapeQuote=we;g.escapeHtmlEntities=Te;g.escapeDangerHtml5Entities=Ce;g.clearNonPrintableCharacter=_e;g.friendlyAttrValue=ke;g.escapeAttrValue=Pe;g.onIgnoreTagStripAll=nt;g.StripTagBody=st;g.stripCommentTag=ot;g.stripBlankChar=lt;g.cssFilter=xe;g.getDefaultCSSWhiteList=Xe;var X={},C=ee;function ut(e){var t=C.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=C.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function ct(e){return e.slice(0,2)==="</"}function ft(e,t,r){var i="",a=0,n=!1,o=!1,l=0,s=e.length,f="",u="";e:for(l=0;l<s;l++){var c=e.charAt(l);if(n===!1){if(c==="<"){n=l;continue}}else if(o===!1){if(c==="<"){i+=r(e.slice(a,l)),n=l,a=l;continue}if(c===">"){i+=r(e.slice(a,n)),u=e.slice(n,l+1),f=ut(u),i+=t(n,i.length,f,u,ct(u)),a=l+1,n=!1;continue}if(c==='"'||c==="'")for(var p=1,h=e.charAt(l-p);h.trim()===""||h==="=";){if(h==="="){o=c;continue e}h=e.charAt(l-++p)}}else if(c===o){o=!1;continue}}return a<e.length&&(i+=r(e.substr(a))),i}var dt=/[^a-zA-Z0-9\\_:.-]/gim;function gt(e,t){var r=0,i=0,a=[],n=!1,o=e.length;function l(p,h){if(p=C.trim(p),p=p.replace(dt,"").toLowerCase(),!(p.length<1)){var m=t(p,h||"");m&&a.push(m)}}for(var s=0;s<o;s++){var f=e.charAt(s),u,c;if(n===!1&&f==="="){n=e.slice(r,s),r=s+1,i=e.charAt(r)==='"'||e.charAt(r)==="'"?r:ht(e,s+1);continue}if(n!==!1&&s===i){if(c=e.indexOf(f,s+1),c===-1)break;u=C.trim(e.slice(i+1,c)),l(n,u),n=!1,s=c,r=s+1;continue}if(/\s|\n|\t/.test(f))if(e=e.replace(/\s|\n|\t/g," "),n===!1)if(c=pt(e,s),c===-1){u=C.trim(e.slice(r,s)),l(u),n=!1,r=s+1;continue}else{s=c-1;continue}else if(c=mt(e,s-1),c===-1){u=C.trim(e.slice(r,s)),u=be(u),l(n,u),n=!1,r=s+1;continue}else continue}return r<e.length&&(n===!1?l(e.slice(r)):l(n,be(C.trim(e.slice(r))))),C.trim(a.join(" "))}function pt(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function ht(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function mt(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function bt(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function be(e){return bt(e)?e.substr(1,e.length-2):e}X.parseTag=ft;X.parseAttr=gt;var yt=J.FilterCSS,v=g,Fe=X,vt=Fe.parseTag,St=Fe.parseAttr,$=ee;function G(e){return e==null}function xt(e){var t=$.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=$.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=$.trim(e.slice(0,-1))),{html:e,closing:r}}function At(e){var t={};for(var r in e)t[r]=e[r];return t}function Lt(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(i){return i.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function Oe(e){e=At(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=v.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Lt(e.whiteList||e.allowList):e.whiteList=v.whiteList,e.onTag=e.onTag||v.onTag,e.onTagAttr=e.onTagAttr||v.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||v.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||v.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||v.safeAttrValue,e.escapeHtml=e.escapeHtml||v.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new yt(e.css))}Oe.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,i=r.whiteList,a=r.onTag,n=r.onIgnoreTag,o=r.onTagAttr,l=r.onIgnoreTagAttr,s=r.safeAttrValue,f=r.escapeHtml,u=t.cssFilter;r.stripBlankChar&&(e=v.stripBlankChar(e)),r.allowCommentTag||(e=v.stripCommentTag(e));var c=!1;r.stripIgnoreTagBody&&(c=v.StripTagBody(r.stripIgnoreTagBody,n),n=c.onIgnoreTag);var p=vt(e,function(h,m,y,b,q){var B={sourcePosition:h,position:m,isClosing:q,isWhite:Object.prototype.hasOwnProperty.call(i,y)},_=a(y,b,B);if(!G(_))return _;if(B.isWhite){if(B.isClosing)return"</"+y+">";var z=xt(b),j=i[y],N=St(z.html,function(x,A){var I=$.indexOf(j,x)!==-1,k=o(y,x,A,I);return G(k)?I?(A=s(y,x,A,u),A?x+'="'+A+'"':x):(k=l(y,x,A,I),G(k)?void 0:k):k});return b="<"+y,N&&(b+=" "+N),z.closing&&(b+=" /"),b+=">",b}else return _=n(y,b,B),G(_)?f(b):_},f);return c&&(p=c.remove(p)),p};var wt=Oe;(function(e,t){var r=g,i=X,a=wt;function n(l,s){var f=new a(s);return f.process(l)}t=e.exports=n,t.filterXSS=n,t.FilterXSS=a,(function(){for(var l in r)t[l]=r[l];for(var s in i)t[s]=i[s]})();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)})(Y,Y.exports);var M=Y.exports,Tt=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},Be=(function(){function e(t,r){var i=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=H(H({},M.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(n,o,l,s){return n==="a"&&o==="href"||(n==="img"||n==="source")&&o==="src"?i.sanitizeUrl(l):M.safeAttrValue(n,o,l,s)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var a;t&&!r?a=t:t&&r?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach(function(n){if(n==="whiteList")a.whiteList=i._extendObjectOfArrays([i.arcgisWhiteList,t.whiteList||{}]);else if(n==="css"){var o=t.css.whiteList;o!=null&&t.css instanceof Object&&Object.keys(o).forEach(function(l){return a.css.whiteList[l]=o[l]})}else a[n]=t[n]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new M.FilterXSS(a)}return e.prototype.sanitize=function(t,r){switch(r===void 0&&(r={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,r);default:return r.allowUndefined&&typeof t>"u"?void 0:null}},e.prototype.sanitizeUrl=function(t,r){var i=(r??{}).isProtocolRequired,a=i===void 0?!0:i,n=this._trim(t.substring(0,t.indexOf(":"))),o=t==="/",l=/^#/.test(t),s=n&&this.allowedProtocols.indexOf(n.toLowerCase())>-1;return o||l||s?M.escapeAttrValue(t):!n&&!a?M.escapeAttrValue("https://".concat(t)):""},e.prototype.sanitizeHTMLAttribute=function(t,r,i,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(t,r,i,a):M.safeAttrValue(t,r,i,a)},e.prototype.validate=function(t,r){r===void 0&&(r={});var i=this.sanitize(t,r);return{isValid:t===i,sanitized:i}},e.prototype.encodeHTML=function(t){var r=this;return String(t).replace(/[&<>"'\/]/g,function(i){return r._entityMap[i]})},e.prototype.encodeAttrValue=function(t){var r=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,function(i,a){return r.test(i)?i:"&#x".concat(Number(t.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(t){var r={};return t.forEach(function(i){Object.keys(i).forEach(function(a){Array.isArray(i[a])&&Array.isArray(r[a])?r[a]=r[a].concat(i[a]):r[a]=i[a]})}),r},e.prototype._iterateOverObject=function(t,r){var i=this;r===void 0&&(r={});try{var a=!1,n=void 0;if(Array.isArray(t))n=t.reduce(function(l,s){var f=i.validate(s,r);return f.isValid?l.concat([s]):(a=!0,l.concat([f.sanitized]))},[]);else if(Tt(t)){var o=Object.keys(t);n=o.reduce(function(l,s){var f=t[s],u=i.validate(f,r);return u.isValid?l[s]=f:(a=!0,l[s]=u.sanitized),l},{})}else return r.allowUndefined&&typeof t>"u"?void 0:null;return a?n:t}catch{return null}},e.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},e})();var Ct={MonoSelection:"monoSelection",MultiSelection:"multiSelection",MultiSelectionWithCtrlKey:"multiSelectionWithCtrlKey",Zoom:"zoom",None:"none"},$t={MultiAxes:"multi-axes",XAxis:"x-axis",YAxis:"y-axis"},_t={aria:{defaultChartItemRole:"figure"},title:{marginBottom:8,wrap:!0},subtitle:{marginBottom:10,wrap:!0},rotated:!1,legendProperties:{legendLabels:{marginLeft:5,marginRight:5,truncate:!1,applyOnClones:!0,wrap:!0,maxWidth:200},valueLabels:{wrap:!0,maxWidth:200},legendTitle:{wrap:!0,maxWidth:220,marginLeft:10,marginRight:10,marginTop:10},legendMarkersSize:14,legendLabelReducedOpacity:.5,rectangleMarkerRadius:3,roundedMarkerRadius:12,legendPaddingRightWithScrollbarVisible:10,maxHeight:100,marginTop:2,marginBottom:2,marginLeft:0,marginRight:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,position:ie.Right},footer:{wrap:!0,horizontalCenter:"center",verticalCenter:"middle",align:"center"},axisLabel:{rotation:0,align:"center",horizontalCenter:"center",verticalCenter:"top",dy:5,paddingTop:5,paddingRight:5,paddingLeft:5,maxWidth:Number.NaN},axisTickLength:5,rotatedAxisLabel:{rotation:-45,horizontalCenter:"left",verticalCenter:"bottom",dy:6,paddingTop:5,paddingLeft:0,paddingRight:5},histogramAxisLabel:{rotation:0,horizontalCenter:"center",verticalCenter:"middle",dy:0,dx:0,paddingLeft:3,paddingRight:3},xAxisTitleLabel:{align:"center",valign:"middle",rotation:0,fontSize:10,wrap:!0},yAxisTitleLabel:{align:"center",valign:"middle",rotation:270,wrap:!0},titleLabel:{align:"center",wrap:!0},subtitleLabel:{align:"center",wrap:!0},horizontalSurfaceGuideLabels:{horizontalCenter:"right",align:"right",verticalCenter:"middle",wrap:!0},horizontalLineGuideLabels:{horizontalCenter:"right",align:"right",verticalCenter:"top",wrap:!0},verticalSurfaceGuideLabels:{horizontalCenter:"center",verticalCenter:"top",valign:"top"},verticalLineGuideLabels:{horizontalCenter:"right",verticalCenter:"bottom",valign:"top",wrap:!0,rotation:90},guideAbove:!1,cursorCrosshair:{style:{type:P.SLS,style:Q.Dash,color:[0,0,0,102],width:1},horizontalLineVisible:!1,verticalLineVisible:!1},gauge:{innerRadius:80,radius:80,startAngle:-180,endAngle:180,innerLabelToInnerChartRatio:.5,axisLabelToInnerChartRatio:.13,innerLabelAutoMinFontSize:14,innerLabelAutoMaxFontSize:100,axisLabelAutoMinFontSize:14,axisLabelAutoMaxFontSize:40,gaugeMinGridDistance:1,axisMinimum:0,axisMaximum:100,numberOfLabelIntervals:5,numberOfTicksBetweenTwoLabels:4,maximumNumberOfLabelIntervals:24,paddingTop:10,paddingBottom:10,paddingRight:5,paddingLeft:5},gaugeTicksLength:7,gaugeInnerLabel:{horizontalCenter:"center",verticalCenter:"middle"},gaugeNeedle:{startWidth:10,endWidth:1,innerRadius:25,displayPin:!1},gaugeFirstLabelId:"arcgis_charts_gauge_first_label",gaugeLastLabelId:"arcgis_charts_gauge_last_label",headerContainer:{layout:"vertical",width:"100%",paddingBottom:5},footerContainer:{layout:"vertical",width:"100%",paddingTop:5,paddingBottom:15},paddingMinSize:0,marginMinSize:0,chartPaddingMinSize:7,chartPaddingRightWhenLegendNotOnRight:15,chartAndLegendContainer:{paddingTop:0},chartContainer:{paddingBottom:0,paddingTop:15},chartContainerPaddingTopWhenRotated:5,dataLabelInitialize:{strokeWidth:0,applyOnClones:!0},dataLabel:{align:"center",horizontalCenter:"center",valign:"bottom",verticalCenter:"top",dy:-3},dataLabelRotated:{align:"right",horizontalCenter:"right",valign:"middle",verticalCenter:"middle",dx:2},dataLabelStackedRotated:{align:"center",horizontalCenter:"center",valign:"middle",verticalCenter:"middle"},dataLabelStackedNonRotated:{align:"center",horizontalCenter:"center",valign:"middle",verticalCenter:"middle"},dataLabelNegative:{paddingTop:5,paddingRight:5},rotatedChartPadding:{paddingTop:2,paddingRight:2},scatterplotSeries:{strokeOpacity:0,r2:Number.NaN,trendLinePoints:[{},{}]},histogramSeries:{normalDistribNumberOfPoints:100},lineSeries:{strokeWidth:2,lineSmoothed:!1,lineSmoothedKind:ne.Bezier,showArea:!1,areaOpacity:.25,markerVisible:!0,rotated:!1,stackedType:ae.Side,stackNegativeValuesToBaseline:!0,marker:{markerBigSize:7,markerSizeThresholdForTooltipDisplay:9,markerStyle:se.Circle}},buffer:!1,treatZeroValueAs:1e-4,elementLimitForSmoothRendering:1e3,pieChart:{dataLabels:{maxWidth:100,wrap:!1},dataLabelsOffset:10,dataLabelsInside:!1,chartRadius:80,chartOptimizedRadius:70,innerRadius:ge,min:-90,max:270,displayCategoryOnLegend:!0,displayCategoryOnTooltip:!0,displayCategoryOnDataLabel:!0,displayNumericValueOnLegend:!1,displayNumericValueOnDataLabel:!0,displayNumericValueOnTooltip:!0,displayPercentageOnLegend:!1,displayPercentageOnDataLabel:!1,displayPercentageOnTooltip:!0,sliceGrouping:{sliceId:ce.defaultGroupOfSlicesId,percentageThreshold:0,fillSymbol:{type:P.SFS,color:[210,210,210,255*ue]}},defaultPadding:0,alignDataLabels:!1,ticksOpacity:1,minimumSize:20,technicalFieldSliceId:"arcgis_charts_slice_id",technicalFieldSlicePercent:"arcgis_charts_slice_percent",technicalFieldGroupedSlices:"arcgis_charts_grouped_slices"},pieSliceCustomLabelName:"customLabel",yAxisLabelMaxWidth:100,xAxisLabelMaxWidth:75,axisLabelPadding:1.5,categoryAxisLabelPadding:3,seriesSort:R.Ascending,technicalSortingFieldBySum:"arcgis_charts_category_sum",technicalSortingFieldByPercent:"arcgis_charts_category_first_series_percent",technicalFieldSplitByField:"arcgis_charts_split_by_field",color:[0,0,0,255],chartEllipsis:"...",backgroundColor:[255,255,255,255],grayColor:W,xAxisMinGridDistance:120,xCategoryAxisMinGridDistance:40,yAxisMinGridDistance:40,yCategoryAxisMinGridDistance:20,secondRotatedValueAxisMinGridDistance:80,staggerMinGridDistance:40,shortestMinGridDistance:20,maxNumberOfXAxisLabelsInWrapModeForDateAxis:15,maxNumberOfXAxisLabelsInWrapMode:20,lineWidth:1,loaderRotationSpeed:400,loaderIntervalTimeout:400,loaderLabelFontSize:20,selectionTheme:{selectedElementsTheme:{elementOutlineColor:[0,255,255,255],elementOutlineWidth:5}},columnTooltipPosition:"pointer",guideTooltipPosition:"pointer",markerTooltipPosition:"fixed",sliceTooltipPosition:"fixed",patternLineProperties:{width:5,height:5,strokeWidth:1,tileSize:50,diagonalTileSize:1200},patternRectProperties:{rectWidth:9,rectHeight:9,width:10,height:10,strokeWidth:.3,fillOpacity:0},originalCategoryValue:"arcgis_charts_original_category_value",originalYCategoryValue:"arcgis_charts_original_category_y_value",originalDateValue:"arcgis_charts_original_date_value",dateBinningRange:"arcgis_charts_bin_range",originalServerBinningRange:"arcgis_charts_server_bin_range",dateBinModel:"arcgis_charts_bin_model",xAxisField:"arcgis_charts_x_axis_field",xAxisDisplayField:"arcgis_charts_x_axis_display_field",nullValue:"arcgis_charts_null",emptyStringValue:"arcgis_charts_empty",queryMaxFloatPrecision:10,dateFormatUTC:{timeZone:"UTC",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},dayDefaultFormat:{day:"numeric",month:"short"},weekDefaultFormat:{day:"numeric",month:"short"},rendererOtherValue:"arcgisChartsrendererOtherValue",rendererSymbolField:"arcgis_charts_renderer_symbol",rendererSymbolFieldForHistogram:"symbol",scatterplotAggregationFields:{dataContextXMinField:"arcgis_charts_xmin",dataContextXMaxField:"arcgis_charts_xmax",dataContextYMinField:"arcgis_charts_ymin",dataContextYMaxField:"arcgis_charts_ymax",dataContextCountDistinctX:"distinctX",dataContextCountDistinctY:"distinctY",queryNumberOfFeatures:"numberOfFeatures",queryNumberOfAggregatedFeatures:"numberOfAggregatedFeatures",xStep:"xStep",yStep:"yStep",rowCount:"rowCount",columnCount:"columnCount",realGridSize:"realGridSize"},dataTooltipVisible:!0,dataTooltipStyle:{outline:{type:P.SLS,color:[255,255,255,255],width:1}},dataTooltipStyleReversed:{color:[255,255,255,255],outline:{type:P.SLS,width:3}},tooltipWidth:300,tooltipFontSize:14,axisLabelOveredOpacity:.5,generalFontSize:10,actionMode:Ct.MultiSelectionWithCtrlKey,debounceTime:100,chartDefaultPaddingRight:0,htmlEmptyContent:"<p></p>",boxPlot:{boxPlotCategory:"arcgis_charts_box_plot_category",boxPlotOutliersSuffix:"_arcgis_charts_outliers",boxPlotOutliersVisibility:!1,boxPlotStandardizeValuesVisibility:!1,boxPlotOutliersSize:4,boxPlotLineWidth:2,boxPlotOutlierId:"is_arcgis_charts_outlier",boxPlotMeanLineMarkerId:"is_arcgis_charts_mean_marker",boxPlotWhiskersColor:[153,153,153,178.5],boxPlotTooltipLabelWidth:250},binTemporalData:!0,lastTemporalBin:"is_arcgis_charts_last_bin",options:{hideEmptySeries:!0,showEmptySeries:!1,replaceNoValueCategoryWithZero:!0,hideZeroCountCategories:!1,autoInverseDataLabelTextColor:!1},nullCategory:{text:"null",symbol:{type:P.SFS,color:W,outline:{type:P.SLS,style:Q.Solid,color:W,width:1}}},classBreaks:{breaksCount:5}},O={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},Ht={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"},S={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};function Ut(e){return e?.colorMatch??!1}function Xt(e){let t=Z();if(e!==void 0){let r=T(e.series);(r===d.BarSeries||r===d.LineSeries||r===d.ComboLineAndBarSeries||r===d.BoxPlotSeries)&&(t=e.rotated??Z())}return t}function qt(e){return e?.map(t=>t.type)??[]}function jt(e){let t=e?.stackedType;if(t===void 0&&e!==void 0){let r=T(e.series);(r===d.BarSeries||r===d.LineSeries||r===d.ComboLineAndBarSeries||r===d.RadarSeries)&&(t=de())}return t}function kt(e){let t=e;return t=t.replace(/'/gu,"''"),t=t.replace(/[/\\"|[\]\\]/gu,"\\$&"),t}function Pt(e){let t=!1;if(typeof e!="number"){let r=new Intl.Segmenter;t=Array.from(r.segment(e),i=>i.segment).some(i=>i.charCodeAt(0)>255)}return t}function Qt(e){let t=e,r="";e.startsWith("'")&&e.endsWith("'")&&(t=e.slice(1,-1),r="'"),t=t.replace(/'/gu,"''");let i="";return Pt(t)&&(i="N"),`${i}${r}${t}${r}`}function Zt(e){let{value:t,keepSurroundingQuotes:r,escape:i}=e,a=t?.trim();if(!Me(a)){let n="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),r&&(n="'")),i&&(a=kt(a)),a=`${n}${a}${n}`}return a}function Yt(e){let{count:t,seriesCount:r,chartType:i,chartLimits:a}=e,{behaviorAfterLimit:n}=a??{},o=!0;if(n!==oe.RenderUpToTheLimit){let{maxBarChartSeriesCount:l,maxBarUniqueSeriesCountTotal:s,maxBarTwoSeriesCountPerSeries:f,maxBarTwoSeriesCountTotal:u,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:h,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:q,maxLineThreePlusSeriesCountTotal:B,maxPieChartSliceCountTotal:_,maxGaugeByFeaturesLimit:z,maxBoxPlotSeriesCount:j,maxBoxUniqueSeriesCountTotal:N,maxBoxTwoSeriesCountTotal:x,maxBoxTwoSeriesCountPerSeries:A,maxBoxThreePlusSeriesCountTotal:I,maxBoxThreePlusSeriesCountPerSeries:k,maxHeatChartCellLimit:Ie}=fe(a);switch(i){case d.BarSeries:case d.ComboLineAndBarSeries:{let L=t/r;r<=l?r===0?o=!0:r===1?o=t<=s:r===2?o=t<=u&&L<=f:r>2&&(o=t<=p&&L<=c):o=!1}break;case d.LineSeries:case d.RadarSeries:{let L=t/r;r<=h?r===0?o=!0:r===1?o=t<=m:r===2?o=t<=b&&L<=y:r>2&&(o=t<=B&&L<=q):o=!1}break;case d.PieSeries:o=t<=_;break;case d.BoxPlotSeries:{let L=t/r;r<=j?r===0?o=!0:r===1?o=t<=N:r===2?o=t<=x&&L<=A:r>2&&(o=t<=I&&L<=k):o=!1}break;case d.HeatSeries:o=t<=Ie;break;case d.GaugeSeries:o=t<=z;break}}return o}function Kt(e=[],t){let r=e.find(i=>i.name===t)?.alias;return r!==""?r??t:t}function Jt(e=[],t){let r=e.find(i=>i.alias===t)?.name;return r!==""?r??t:t}function er(e){let t=!1;switch(T(e)){case d.HeatSeries:case d.PieSeries:t=!0;break;case d.BarSeries:case d.LineSeries:case d.RadarSeries:case d.ComboLineAndBarSeries:case d.BoxPlotSeries:t=e.length>1;break;case d.HistogramSeries:case d.ScatterSeries:{let r=e[0];t=r.overlays!==void 0&&Object.values(r.overlays).some(i=>i.created===!0);break}}return t}function Ft(e){let t=!0;return T(e.series)===d.ScatterSeries&&(t=e.series.length===1),t}function Ot(e){let t=!0;return T(e.series)===d.HistogramSeries&&(t=e.series.length<=1&&e.series[0].type===d.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(re).includes(e.series[0].dataTransformationType))),t}function Bt(e){let t=!0;return T(e.series)===d.PieSeries&&(t=e.series.length<=1),t}function tr(e,t){let r=T(t?.series),i=r!==void 0&&e.includes(r);if(i&&t!==void 0)switch(r){case d.HistogramSeries:i=Ot(t);break;case d.ScatterSeries:i=Ft(t);break;case d.PieSeries:i=Bt(t);break}return i}function Me(e){return e==null||typeof e=="string"&&e.trim()===""}function Mt(e,t){let r=t.find(i=>i in e);return{isInItem:r!==void 0,expr:r}}function rr(e){return Mt(e,le)}function ir(e,t){let r;switch(e){case w.Second:r=t.seconds??"";break;case w.Minute:r=t.minutes??"";break;case w.Hour:r=t.hours??"";break;case w.Day:r=t.days??"";break;case w.Week:r=t.weeks??"";break;case w.Month:r=t.months??"";break;case w.Year:r=t.years??"";break;default:r="";break}return r}function ar(e){let t;switch(e){case S.Mean:t=1;break;case S.Median:t=2;break;case S.StdDev:t=3;break;case S.Normal:default:t=0;break}return t}function nr(e,t){if(t!==void 0){let{seriesId:r,overlayType:i,visible:a}=e.detail,n;switch(i){case S.Mean:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.mean);break;case S.Median:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.median);break;case S.StdDev:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.standardDeviation);break;case S.Normal:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.comparisonDistribution);break;case S.Trendline:t.series[0].type===d.ScatterSeries&&(n=t.series[0].overlays?.trendLine);break;default:n=t.series.find(o=>o.id===r);break}n!==void 0&&(n.visible=a)}}function sr(e){return new Be().sanitize(e)}function or(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function lr(e,t){let r={fieldToSort:""};if(!Me(e)){let i=e.trim(),a=i.split(" ").at(-1)?.toUpperCase();a===R.Ascending||a===R.Descending?r={fieldToSort:i.substring(0,i.lastIndexOf(" ")),orderBy:a}:(r={fieldToSort:i},t!==!1&&(r.orderBy=R.Ascending))}return r}function ur(e){return e===O.BarAndLineSplitBy||e===O.BarAndLineSplitByNoAggregation||e===O.BoxPlotMonoFieldAndSplitBy||e===O.BoxPlotMultiFieldsAndSplitBy||e===O.BoxPlotMonoFieldAndCategoryAndSplitBy}function cr(e){return e?.selectionPixelTarget?te(e.selectionPixelTarget.pixelRanges):e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function fr(e={arrayA:[],arrayB:[],getKey:t=>t}){let{arrayA:t,arrayB:r,getKey:i}=e;if(r.length===0||t.length===0)return t;let a=new Map;r.forEach((s,f)=>{let u=i(s);a.set(u,f)});let n=[],o=[];t.forEach((s,f)=>{let u=i(s);a.has(u)&&(n.push(f),o.push(s))}),o.sort((s,f)=>{let u=i(s),c=i(f);return a.get(u)-a.get(c)});let l=[...t];return n.forEach((s,f)=>{l[s]=o[f]}),l}function dr(e,t){return(e===O.BarAndLineNoAggregation||e===O.BarAndLineSplitByNoAggregation)&&t!==void 0?t.x:_t.xAxisField}function gr(e){let{r:t,g:r,b:i,a=1}=e,n=Math.round((1-a)*255+a*t),o=Math.round((1-a)*255+a*r),l=Math.round((1-a)*255+a*i);return .299*n+.587*o+.114*l>128}export{Ct as a,$t as b,_t as c,O as d,Ht as e,S as f,Ut as g,Xt as h,qt as i,jt as j,Qt as k,Zt as l,Yt as m,Kt as n,Jt as o,er as p,tr as q,Me as r,Mt as s,rr as t,ir as u,ar as v,nr as w,sr as x,or as y,lr as z,ur as A,cr as B,fr as C,dr as D,gr as E};
|