@arcgis/charts-components 4.34.0-next.81 → 4.34.0-next.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ICQSYB43.js → 2CFNTTZ3.js} +2 -2
- package/dist/cdn/{G5EIY6O7.js → 2FCZW6ZK.js} +2 -2
- package/dist/cdn/{SKLAICBI.js → 2G6N23AY.js} +2 -2
- package/dist/cdn/{MPP7JIK6.js → 2J2Z3IKH.js} +2 -2
- package/dist/cdn/{RE6FVPBA.js → 2SHMO2EN.js} +2 -2
- package/dist/cdn/{QNOI7GRC.js → 2UIYHWAE.js} +1 -1
- package/dist/cdn/{NAGSAQHT.js → 2V4GQKWB.js} +2 -2
- package/dist/cdn/{3X5HHKTI.js → 2VLQIYGB.js} +2 -2
- package/dist/cdn/{NMR44OUF.js → 3GHL5GSR.js} +2 -2
- package/dist/cdn/{5P75FJXN.js → 3HYPJG5V.js} +2 -2
- package/dist/cdn/{6C7DLL4Z.js → 3RZBUYKX.js} +2 -2
- package/dist/cdn/{JY4FRDCK.js → 56IA5X3Y.js} +1 -1
- package/dist/cdn/{RIBKEKUI.js → 5C7XHDMA.js} +2 -2
- package/dist/cdn/5NGJPHQ2.js +4 -0
- package/dist/cdn/{ZURXSZLO.js → 5TLKZ3K4.js} +2 -2
- package/dist/cdn/{5I2JHHRL.js → 666EMMVF.js} +2 -2
- package/dist/cdn/{YJRA4O4J.js → 6IEA3B73.js} +2 -2
- package/dist/cdn/{H2TZXXSX.js → 6L52FNIJ.js} +2 -2
- package/dist/cdn/{UZ2OJLLK.js → 6O5VAHSF.js} +2 -2
- package/dist/cdn/{57DCUGC3.js → 6PFOFWTI.js} +2 -2
- package/dist/cdn/{Q56WR7HU.js → 6UCEIQKK.js} +2 -2
- package/dist/cdn/{NF24JOGP.js → 772JMCKI.js} +2 -2
- package/dist/cdn/7BTPUICD.js +4 -0
- package/dist/cdn/{T4DZHCMO.js → 7H3O3WPF.js} +2 -2
- package/dist/cdn/{YANCELUY.js → 7URI3OTZ.js} +2 -2
- package/dist/cdn/{V6PNHRAP.js → AFUYRP2T.js} +2 -2
- package/dist/cdn/{DFKPBMD5.js → AHV44ELF.js} +2 -2
- package/dist/cdn/{RLLWUTKD.js → AJ3M4RVS.js} +21 -21
- package/dist/cdn/AQ7KMUK2.js +4 -0
- package/dist/cdn/{KNWMYPWZ.js → ARCBIERN.js} +2 -2
- package/dist/cdn/{3OTZHLLI.js → ATBSPKZG.js} +2 -2
- package/dist/cdn/{EUEOSGHM.js → AUE5YHGD.js} +2 -2
- package/dist/cdn/B24P325D.js +4 -0
- package/dist/cdn/{5QWWWMC2.js → B3KVK5WX.js} +2 -2
- package/dist/cdn/{3GPTPS5N.js → B3SXVPI2.js} +2 -2
- package/dist/cdn/{R3ND7227.js → BLMDYRDI.js} +2 -2
- package/dist/cdn/{7RJOO2L2.js → BT7FP6OH.js} +2 -2
- package/dist/cdn/{JQH24JQ5.js → C5E3XFSH.js} +1 -1
- package/dist/cdn/{TXNFRL4P.js → CEQBPBUJ.js} +2 -2
- package/dist/cdn/{642R33VK.js → CGN7QU6L.js} +2 -2
- package/dist/cdn/{L7HGJ5EW.js → CHVZ3GIZ.js} +2 -2
- package/dist/cdn/{ZDRMPDUE.js → CV3QUP7P.js} +2 -2
- package/dist/cdn/{WCQP22IE.js → CVSRUQUW.js} +2 -2
- package/dist/cdn/{AWW24X7A.js → CWHBT4MP.js} +2 -2
- package/dist/cdn/CZ2G6NEM.js +4 -0
- package/dist/cdn/{4LLESRPY.js → D25R4F2F.js} +2 -2
- package/dist/cdn/{FRO2APXI.js → D7CG2BAS.js} +2 -2
- package/dist/cdn/{6A5PJT24.js → DMU77FK5.js} +1 -1
- package/dist/cdn/{MGRQYGY5.js → DONPGTYA.js} +2 -2
- package/dist/cdn/{PPOYJLDG.js → DSLQ742L.js} +2 -2
- package/dist/cdn/{MA4XUUDW.js → DXU75HEY.js} +2 -2
- package/dist/cdn/{DNJD6HEW.js → EEDKI4OK.js} +2 -2
- package/dist/cdn/{3TXPQEH3.js → EI6JGOOP.js} +2 -2
- package/dist/cdn/{LP2WT56B.js → ENJZC2SB.js} +2 -2
- package/dist/cdn/{UVVXGYHP.js → EPAWC4E3.js} +2 -2
- package/dist/cdn/{KV6FSNTN.js → EPWMTKOE.js} +2 -2
- package/dist/cdn/{RFGF7KWZ.js → ES7CWQRW.js} +2 -2
- package/dist/cdn/{YHI7LD65.js → EVIE2TWB.js} +2 -2
- package/dist/cdn/{A2T3G5NG.js → F2KX5RPM.js} +2 -2
- package/dist/cdn/{NY5OXYM2.js → F7MJV46X.js} +2 -2
- package/dist/cdn/{YG2RHZAH.js → FAKYCCY2.js} +2 -2
- package/dist/cdn/{IL3CGALT.js → FBPP5ECN.js} +2 -2
- package/dist/cdn/{G4GYG24M.js → FCNRREVI.js} +2 -2
- package/dist/cdn/FMQ55BRP.js +6 -0
- package/dist/cdn/{DUTXTPGW.js → FXOHDBWL.js} +2 -2
- package/dist/cdn/{PN5OM2C4.js → FY53AADY.js} +2 -2
- package/dist/cdn/{OO7KVG5L.js → G6WJVTFK.js} +2 -2
- package/dist/cdn/{II7E4EEC.js → GGPOHONF.js} +2 -2
- package/dist/cdn/{HLNPF3ZW.js → GNQNJTX5.js} +2 -2
- package/dist/cdn/{4RBI76JF.js → GQGDTVP6.js} +1 -1
- package/dist/cdn/GSV7K3J6.js +4 -0
- package/dist/cdn/{53DWZG2B.js → H5545J6Z.js} +2 -2
- package/dist/cdn/{AUALFXH7.js → H6GYSXMJ.js} +2 -2
- package/dist/cdn/{FDX55WCT.js → H6UEM5AW.js} +2 -2
- package/dist/cdn/{JD56HMBF.js → HBO75TWT.js} +2 -2
- package/dist/cdn/{SZZ2ODQQ.js → HPR3YB5L.js} +2 -2
- package/dist/cdn/{B524SDFQ.js → HTOZVO5L.js} +2 -2
- package/dist/cdn/{CKP52YX7.js → HU3WXWZ3.js} +2 -2
- package/dist/cdn/{BWZR5QKE.js → HWZDAM75.js} +2 -2
- package/dist/cdn/I4ZPIFSU.js +4 -0
- package/dist/cdn/I6D3YL6H.js +4 -0
- package/dist/cdn/{PQ4YQYOO.js → J7VKKMRD.js} +2 -2
- package/dist/cdn/{VPU4445Q.js → JBK6NJCH.js} +2 -2
- package/dist/cdn/{2TAQ5BUD.js → JEM3MUHE.js} +1 -1
- package/dist/cdn/{ISPN4NNX.js → JS2LQCWE.js} +2 -2
- package/dist/cdn/{NLMN3SXV.js → JZWMK4BZ.js} +2 -2
- package/dist/cdn/K7LXPJNU.js +4 -0
- package/dist/cdn/{L4ZC4I3H.js → KE7NWG3E.js} +2 -2
- package/dist/cdn/{TXGKLOQL.js → KF3HIJJW.js} +2 -2
- package/dist/cdn/{46WOJBVS.js → KJUALHWZ.js} +2 -2
- package/dist/cdn/{3WG6Q4LQ.js → KLBXQKFT.js} +2 -2
- package/dist/cdn/{UOEN2QVR.js → LAMT23HS.js} +2 -2
- package/dist/cdn/{LKRTHHM7.js → LEOVZGSO.js} +2 -2
- package/dist/cdn/LROZVKIC.js +4 -0
- package/dist/cdn/{PNW4GJA4.js → LRTHLJP4.js} +2 -2
- package/dist/cdn/LWMESOZI.js +4 -0
- package/dist/cdn/{H3EM5S5M.js → MAQWJ6SG.js} +2 -2
- package/dist/cdn/{JSI3PNSJ.js → MGLFOGJ5.js} +2 -2
- package/dist/cdn/{HTBJ2FJL.js → MHZB5DP5.js} +2 -2
- package/dist/cdn/MMYNZHZ3.js +4 -0
- package/dist/cdn/{PZ6ICI6V.js → MNN5TWUD.js} +2 -2
- package/dist/cdn/{NEQE4KMW.js → MZLLLDUA.js} +2 -2
- package/dist/cdn/{LQ2IMORC.js → N6OPZUT7.js} +2 -2
- package/dist/cdn/{DTZBBHGJ.js → N72SSERC.js} +2 -2
- package/dist/cdn/N7QILY3B.js +4 -0
- package/dist/cdn/{MSPWNOWF.js → NEDNYAJX.js} +2 -2
- package/dist/cdn/{RYQMJ52X.js → NF4GO3B6.js} +2 -2
- package/dist/cdn/{BWC5RYMS.js → NFW3ECQD.js} +2 -2
- package/dist/cdn/{UMDGC6KB.js → NJ7TXXQP.js} +2 -2
- package/dist/cdn/{LZHSABS6.js → NK53HCAT.js} +2 -2
- package/dist/cdn/{LDFS2SXI.js → NNIQVJ34.js} +2 -2
- package/dist/cdn/{EAQ26KAR.js → NOX7HCXT.js} +2 -2
- package/dist/cdn/{AUXXERBG.js → NPGXI7HI.js} +2 -2
- package/dist/cdn/{AOONZGFM.js → NTVVU6JE.js} +2 -2
- package/dist/cdn/{BRYNKU2X.js → NYWPKXKS.js} +2 -2
- package/dist/cdn/{JPQIMIWY.js → O2W7BWQF.js} +2 -2
- package/dist/cdn/{J22OOZAR.js → O6QNK2QP.js} +2 -2
- package/dist/cdn/OBVGQGIZ.js +4 -0
- package/dist/cdn/{WPTIEDUS.js → OCTRYPVM.js} +2 -2
- package/dist/cdn/{2OP5PMV4.js → OHJH22U4.js} +2 -2
- package/dist/cdn/{T6GCW6E5.js → OKRGZRND.js} +2 -2
- package/dist/cdn/{W3Q3PKHZ.js → ORL6MD3H.js} +2 -2
- package/dist/cdn/{QI3VH4BU.js → OUBMTDZA.js} +2 -2
- package/dist/cdn/{GVSOF75S.js → PE4HKCDL.js} +2 -2
- package/dist/cdn/{U2G24EPI.js → PMB6PUFH.js} +2 -2
- package/dist/cdn/{VEZAUIRT.js → PMD3LRAN.js} +2 -2
- package/dist/cdn/{E2WY6ALZ.js → PQXLLVSU.js} +2 -2
- package/dist/cdn/PRD4OERO.js +4 -0
- package/dist/cdn/{DQZRKHUG.js → QARPXL2U.js} +2 -2
- package/dist/cdn/{FMEUNVDO.js → QORFKIYK.js} +2 -2
- package/dist/cdn/{ZOA6QHDV.js → QU2VSD6E.js} +2 -2
- package/dist/cdn/{GCPYDTEJ.js → RC3WA5VA.js} +2 -2
- package/dist/cdn/{RWPQSKZY.js → RD3YVBJB.js} +2 -2
- package/dist/cdn/{5EBSPCAM.js → RKJNVVSX.js} +2 -2
- package/dist/cdn/{GAYBQI25.js → RXKXO4FI.js} +2 -2
- package/dist/cdn/RZGFWX5J.js +4 -0
- package/dist/cdn/{SZBFMXOZ.js → SCEJGWUU.js} +2 -2
- package/dist/cdn/{J33TS5SX.js → SKLJVAQQ.js} +2 -2
- package/dist/cdn/{WXVPKZNY.js → SSWCE63D.js} +2 -2
- package/dist/cdn/SYFP6HGE.js +4 -0
- package/dist/cdn/{Y6FAUG4P.js → T4IZ7CHM.js} +2 -2
- package/dist/cdn/{PKRCVDGI.js → TCSOJLS7.js} +2 -2
- package/dist/cdn/{K5VXRRVH.js → TEVAIBZA.js} +2 -2
- package/dist/cdn/TIMJR755.js +40 -0
- package/dist/cdn/{6YOMSO7D.js → TOHVTDDI.js} +2 -2
- package/dist/cdn/{FZTJJEJH.js → TPZLRT43.js} +2 -2
- package/dist/cdn/{EDXWQHMM.js → TUFTKDNC.js} +2 -2
- package/dist/cdn/{CLSOBCMJ.js → TW7U43JC.js} +1 -1
- package/dist/cdn/{MP4ZDJ6O.js → U4IX2Y3G.js} +2 -2
- package/dist/cdn/U53MVQFP.js +4 -0
- package/dist/cdn/{JHVBBS4O.js → U5EJR5WX.js} +2 -2
- package/dist/cdn/{BIQHEVO7.js → U5KBH4HR.js} +2 -2
- package/dist/cdn/{YMOWKYQA.js → U6ESKNTB.js} +2 -2
- package/dist/cdn/{4JJFIP2K.js → UBVHUVCL.js} +2 -2
- package/dist/cdn/{B5VPYSZ4.js → UEFDTHHJ.js} +2 -2
- package/dist/cdn/{TKUVQIB5.js → UYAL2AJE.js} +2 -2
- package/dist/cdn/{RBVMHRUE.js → V7ZG3OYW.js} +2 -2
- package/dist/cdn/{UYKVEU65.js → VCIUYB6H.js} +2 -2
- package/dist/cdn/{R3W4EQK5.js → VN2F6P4P.js} +2 -2
- package/dist/cdn/{3FZXE464.js → VNKNIARE.js} +2 -2
- package/dist/cdn/{VRVIRXXZ.js → VOQEIYSG.js} +2 -2
- package/dist/cdn/{AB2IALOS.js → VTMVV46K.js} +2 -2
- package/dist/cdn/{EEZ6EVR5.js → VUYUMSZ7.js} +1 -1
- package/dist/cdn/{6R6B4HHW.js → W3YZDNY2.js} +2 -2
- package/dist/cdn/WEICXDFD.js +4 -0
- package/dist/cdn/{IPDRNWXA.js → WKU5J2GL.js} +2 -2
- package/dist/cdn/{7ZSNAUGQ.js → WL4W3ZGV.js} +2 -2
- package/dist/cdn/{VVH6YRQR.js → WN4H2LJL.js} +2 -2
- package/dist/cdn/WOIRSQL4.js +4 -0
- package/dist/cdn/WZ6TSQ75.js +4 -0
- package/dist/cdn/X7KVQM6X.js +4 -0
- package/dist/cdn/{5NDA3N6Y.js → XBXT6LDC.js} +2 -2
- package/dist/cdn/{KMTGQDFZ.js → XL5TQWKK.js} +2 -2
- package/dist/cdn/{5GTYFXZ2.js → XXVXCL35.js} +2 -2
- package/dist/cdn/{YCRL7FMN.js → Y3QK2XR2.js} +2 -2
- package/dist/cdn/ZEX7GNA5.js +4 -0
- package/dist/cdn/{RUHRUDYC.js → ZKHCCOJ2.js} +2 -2
- package/dist/cdn/{2OYVKKVB.js → ZQKRD6ZY.js} +2 -2
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-create-flow/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 +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/chart-rendering/common/data/scatter-plot/aggregation/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/utils/localization/index.d.ts +1 -1
- package/dist/chart-rendering/stable/utils/localization/index.d.ts +1 -1
- package/dist/chunks/action-bar-utils.js +9 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +20 -19
- package/dist/chunks/bar-chart-series.js +9 -8
- package/dist/chunks/baseline-stacking.js +36 -35
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +246 -244
- package/dist/chunks/box-plot-model.js +32 -30
- package/dist/chunks/chart-ui-utils.js +12 -13
- package/dist/chunks/chart-ui-utils2.js +40 -39
- package/dist/chunks/combo-bar-line-chart-model.js +8 -7
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +199 -197
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +3 -1
- package/dist/chunks/histogram-data.js +56 -54
- package/dist/chunks/histogram-model.js +7 -5
- package/dist/chunks/index.js +3 -3
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +63 -90
- package/dist/chunks/index5.js +95 -0
- package/dist/chunks/interfaces.js +1521 -1780
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +12 -10
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +14 -13
- package/dist/chunks/model-with-rotation.js +5 -4
- package/dist/chunks/model-with-y-guides.js +36 -34
- package/dist/chunks/pie-chart-data.js +35 -33
- package/dist/chunks/pie-chart-model.js +4 -2
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +10 -8
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +30 -28
- package/dist/chunks/serial-chart-model.js +4 -3
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +8 -7
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +29 -27
- package/dist/components/arcgis-chart/customElement.js +4110 -4113
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +23 -22
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +9 -8
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +30 -28
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -8
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +8 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -1
- 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 +23 -21
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +26 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +15 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -11
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -10
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -7
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -19
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +283 -285
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/data/time-binning/interfaces.d.ts +1 -1
- package/dist/utils/localization/index.d.ts +14 -37
- package/dist/utils/localization/interfaces.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/32YAHTRX.js +0 -4
- package/dist/cdn/3ZEXLXMP.js +0 -4
- package/dist/cdn/6OUEEGQ7.js +0 -6
- package/dist/cdn/DCQ2CSJT.js +0 -4
- package/dist/cdn/FGB4UBFW.js +0 -4
- package/dist/cdn/GTPGBKJL.js +0 -4
- package/dist/cdn/IMUCTV2E.js +0 -4
- package/dist/cdn/IOBORWRZ.js +0 -4
- package/dist/cdn/JPTPQRLH.js +0 -4
- package/dist/cdn/JRS6QQS5.js +0 -21
- package/dist/cdn/JW52KDGL.js +0 -4
- package/dist/cdn/K5JHQOEN.js +0 -40
- package/dist/cdn/KBVU7Q3O.js +0 -4
- package/dist/cdn/KOCR3CZQ.js +0 -4
- package/dist/cdn/L65KPPHQ.js +0 -4
- package/dist/cdn/LYOUJRGX.js +0 -4
- package/dist/cdn/MKU2YNPA.js +0 -4
- package/dist/cdn/NBM6U2WH.js +0 -4
- package/dist/cdn/QGPCFG3H.js +0 -4
- package/dist/cdn/SKUBFSJ5.js +0 -4
- package/dist/cdn/XNYGCR7R.js +0 -4
- package/dist/cdn/XXQ6LNDW.js +0 -4
- package/dist/cdn/YWAFGBQB.js +0 -4
- package/dist/cdn/Z6NPLELW.js +0 -4
- package/dist/cdn/ZQO5JHN2.js +0 -4
package/dist/cdn/KBVU7Q3O.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import d from"./PQ4YQYOO.js";import b from"./KOCR3CZQ.js";import{c as E,d as H}from"./LQ2IMORC.js";import a from"./K5JHQOEN.js";import{g as c,r as X}from"./JRS6QQS5.js";import{b as Y}from"./XNYGCR7R.js";import{F as G}from"./QNOI7GRC.js";import{j as g}from"./2TAQ5BUD.js";import{a as p,q as _}from"./CLSOBCMJ.js";export default $arcgis.t(([,,,,,,,{K:f,M:d,N:F,O:u,P:D,V:I,ab:w,ec:z,gc:R,mb:M,p:r,r:B,rb:k},{$:Di,A:di,B:hi,C:fi,D:ui,E:xi,F:mi,G:bi,H:Ci,I:pi,J:_i,K:yi,L:Si,M:Ti,N:S,O:T,P:v,Q:L,Qa:Hi,R:vi,Ra:Ni,S:Li,Sa:Wi,T:Ui,U:Ai,V:Vi,W:Gi,X:Xi,Y:Yi,Z:Bi,_:Fi,aa:Ii,ba:wi,c:W,ca:Mi,d:Z,da:ki,e:j,ea:zi,f:O,fa:Ri,g:q,ga:Ei,h:P,i:$,j:J,k:K,l:Q,m:ii,n:ti,p:x,q:ei,r:si,s:oi,t:y,u:ni,v:ai,w:ri,x:gi,y:li,z:ci,za:m},N])=>{var Pi=e=>e.title?.content,$i=(e,i)=>{if(e){let t=x(i);i.title===void 0&&(i.title=u({text:"",visible:!0,font:d(r.ChartTitle),type:r.ChartTitle})),i.title.content=e,i.title.content.text=t}},Ji=e=>e.subtitle?.content,Ki=(e,i)=>{if(e){let t=x(i);i.subtitle===void 0&&(i.subtitle=u({text:"",visible:!0,font:d(r.ChartSubtitle),type:r.ChartSubtitle})),i.subtitle.content=e,i.subtitle.content.text=t}},Qi=e=>e.footer?.content,it=(e,i)=>{if(e){let t=y(i);i.footer===void 0&&(i.footer=u({text:"",visible:!0,font:d(r.DescriptionText),type:r.DescriptionText})),i.footer.content=e,i.footer.content.text=t}},tt=e=>e.background,et=(e,i)=>{i.background=e},st=(e,i)=>i.series[e]?.id,ot=(e,i)=>i.series.findIndex(t=>t.id===e),nt=e=>e.series.length??0,at=(e,i)=>i.series[e].visible??!0;function rt(e,i){let t;return e.length!==0&&i<e.length&&(t=e[i].dataTooltipValueFormat),t}function gt(e){let{series:i,seriesIndex:t,valueFormat:s}=e;i.length!==0&&t<i.length&&(i[t].dataTooltipValueFormat=s)}var b=class extends EventTarget{constructor(){super(...arguments),this.dataStore={},this.setupFinished=new Promise(i=>{this.resolveSetup=i})}isSameChartAs(i){let t=i?.getLayer();return t!==void 0&&this._config.id===i?.getChartId()&&this.layerInfo?.layer.id===t.id}getConfig(){return this._config}setConfig(i){this._config=i,this.emitConfigUpdate("setConfig")}getChartType(){return this._chartType}getLayer(){return this.layerInfo?.layer}getChartId(){return this._config.id}setChartId(i){this._config.id=i}getVersion(){return this.getVersion()}getTitleText(){return x(this._config)}setTitleText(i){ei(i,this._config),this.emitConfigUpdate("setTitleText")}getSubtitleText(){return si(this._config)}setSubtitleText(i){oi(i,this._config),this.emitConfigUpdate("setSubtitleText")}getDescriptionText(){return y(this._config)}setDescriptionText(i){ni(i,this._config),this.emitConfigUpdate("setDescriptionText")}getChartTitleVisibility(){return ai(this._config)}setChartTitleVisibility(i){ri(i,this._config),this.emitConfigUpdate("setChartTitleVisibility")}getChartSubtitleVisibility(){return gi(this._config)}setChartSubtitleVisibility(i){li(i,this._config),this.emitConfigUpdate("setChartSubtitleVisibility")}getDescriptionVisibility(){return ci(this._config)}setDescriptionVisibility(i){di(i,this._config),this.emitConfigUpdate("setDescriptionVisibility")}getChartRenderer(){return hi(this._config)}setChartRenderer(i){fi(i,this._config),this.emitConfigUpdate("setChartRenderer")}getTitleSymbol(){return Pi(this._config)}setTitleSymbol(i){$i(i,this._config),this.emitConfigUpdate("setTitleSymbol")}getSubtitleSymbol(){return Ji(this._config)}setSubtitleSymbol(i){Ki(i,this._config),this.emitConfigUpdate("setSubtitleSymbol")}getDescriptionSymbol(){return Qi(this._config)}setDescriptionSymbol(i){it(i,this._config),this.emitConfigUpdate("setDescriptionSymbol")}getBackgroundColor(){return tt(this._config)}setBackgroundColor(i){et(i,this._config),this.emitConfigUpdate("setBackgroundColor")}getSeriesVisibility(i){return at(i,this._config)}setSeriesVisibility(i){w({detail:i},this._config),this.emitConfigUpdate("setSeriesVisibility")}getSeriesId(i){return st(i,this._config)}getSeriesIndex(i){return ot(i,this._config)}getSeriesLength(){return nt(this._config)}getChartSubType(){return k(this._config.series)}getDataTooltipValueFormat(i){return rt(this._config.series,i)}setDataTooltipValueFormat(i,t){gt({series:this._config.series,seriesIndex:i,valueFormat:t})}setFetchNULLValues(i){Hi(i,this._config),this.emitConfigUpdate("setFetchNULLValues")}getFetchNULLValues(){return Ni(this._config)}getSplitByValues(){return Wi(this._config)}emitConfigUpdate(i){this.dispatchEvent(new CustomEvent("arcgisChartsModelConfigChange",{detail:{config:this._config,functionCalled:i}}))}async loadConfigFromLayer(i){let{layer:t,iLayer:s,config:a}=i,n=t;if(!n&&s&&(n=await z(s)),n){let h=await R(n,!0),{objectIdField:qi}=n;this.layerInfo={layer:n,layerFieldsInfo:h,objectIdField:qi}}this._config=a!==void 0?await N(a):await this.generateDefaultConfig(),this._config.legend!==void 0&&this._config.legend?.title===void 0&&(this._config.legend.title=I().title),s&&(this._config.iLayer=s)}},C=class extends b{getXAxisTitleText(){return S(0,this._config)}setXAxisTitleText(i){T(i,0,this._config),this.emitConfigUpdate("setXAxisTitleText")}getXAxisTitleVisibility(){return v(0,this._config)}setXAxisTitleVisibility(i){L(i,0,this._config),this.emitConfigUpdate("setXAxisTitleVisibility")}getMaxXBound(){return q(this._config)}async setMaxXBound(i){await P(this._config,i),this.emitConfigUpdate("setMaxXBound")}getMinXBound(){return $(this._config)}async setMinXBound(i){await J(this._config,i),this.emitConfigUpdate("setMinXBound")}getXAxisTitleSymbol(){return ui(this._config)}setXAxisTitleSymbol(i){xi(i,this._config),this.emitConfigUpdate("setXAxisTitleSymbol")}getAxisLabelsSymbol(){return Ci(this._config)}setAxisLabelsSymbol(i){pi(i,this._config),this.emitConfigUpdate("setAxisLabelsSymbol")}getAxisLinesSymbol(){return _i(this._config)}setAxisLinesSymbol(i){yi(i,this._config),this.emitConfigUpdate("setAxisLinesSymbol")}},lt=e=>e.horizontalAxisLabelsBehavior??_.Rotate,ct=(e,i)=>{i.horizontalAxisLabelsBehavior=e},dt=e=>e.verticalAxisLabelsBehavior??_.Wrap,ht=(e,i)=>{i.verticalAxisLabelsBehavior=e},ft=e=>e.cursorCrosshair?.horizontalLineVisible??!1,ut=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=f()),i.cursorCrosshair.horizontalLineVisible=e},xt=e=>e.cursorCrosshair?.verticalLineVisible??!1,mt=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=f()),i.cursorCrosshair.verticalLineVisible=e},bt=e=>e.cursorCrosshair?.style,Ct=(e,i)=>{i.cursorCrosshair===void 0&&(i.cursorCrosshair=f()),i.cursorCrosshair.style=e},pt=e=>e.cursorCrosshair,_t=(e,i)=>{i.cursorCrosshair=e},U=class extends C{getYAxisTitleText(){return S(1,this._config)}setYAxisTitleText(i){T(i,1,this._config),this.emitConfigUpdate("setYAxisTitleText")}getYAxisTitleVisibility(){return v(1,this._config)}setYAxisTitleVisibility(i){L(i,1,this._config),this.emitConfigUpdate("setYAxisTitleVisibility")}getMaxYBound(){return W(this._config)}async setMaxYBound(i){await Z(this._config,i),this.emitConfigUpdate("setMaxYBound")}getMinYBound(){return j(this._config)}async setMinYBound(i){await O(this._config,i),this.emitConfigUpdate("setMinYBound")}getXAxisValueFormat(){return K(this._config)}async setXAxisValueFormat(i){await Q(this._config,i),this.emitConfigUpdate("setXAxisValueFormat")}getYAxisValueFormat(){return ii(this._config)}async setYAxisValueFormat(i){await ti(this._config,i),this.emitConfigUpdate("setYAxisValueFormat")}getXLogarithmic(){return vi(this._config)}async setXLogarithmic(i){await Li(this._config,i),this.emitConfigUpdate("setXLogarithmic")}getYLogarithmic(){return Ui(this._config)}async setYLogarithmic(i){await Ai(this._config,i),this.emitConfigUpdate("setYLogarithmic")}getXAxisScrollbar(){return Vi(this._config)}setXAxisScrollbar(i){Gi(this._config,i),this.emitConfigUpdate("setXAxisScrollbar")}getYAxisScrollbar(){return Xi(this._config)}setYAxisScrollbar(i){Yi(this._config,i),this.emitConfigUpdate("setYAxisScrollbar")}getYAxisTitleSymbol(){return mi(this._config)}setYAxisTitleSymbol(i){bi(i,this._config),this.emitConfigUpdate("setYAxisTitleSymbol")}getHorizontalAxisLabelsBehavior(){return lt(this._config)}setHorizontalAxisLabelsBehavior(i){ct(i,this._config),this.emitConfigUpdate("setHorizontalAxisLabelsBehavior")}getVerticalAxisLabelsBehavior(){return dt(this._config)}setVerticalAxisLabelsBehavior(i){ht(i,this._config),this.emitConfigUpdate("setVerticalAxisLabelsBehavior")}getGridLinesSymbol(){return Si(this._config)}setGridLinesSymbol(i){Ti(i,this._config),this.emitConfigUpdate("setGridLinesSymbol")}async getDefaultXAxisTitleText(){return(await Y(B().locale,G("./assets/common/t9n"),"messages.")).utilsStrings.statistics.count}getDisplayZeroLine(i){return Bi(this._config,i)}setDisplayZeroLine(i,t){Fi(this._config,i,t),this.emitConfigUpdate("setDisplayZeroLine")}getDisplayCursorTooltip(i){return Di(this._config,i)}setDisplayCursorTooltip(i,t){Ii(this._config,i,t),this.emitConfigUpdate("setDisplayCursorTooltip")}getBuffer(i){return wi(this._config,i)}setBuffer(i,t){Mi(this._config,i,t),this.emitConfigUpdate("setBuffer")}getTickSpacing(i){return ki(this._config,i)}setTickSpacing(i,t){zi(this._config,i,t),this.emitConfigUpdate("setTickSpacing")}getIntegerOnlyValues(i){return Ri(this._config,i)}setIntegerOnlyValues(i,t){Ei(this._config,i,t),this.emitConfigUpdate("setIntegerOnlyValues")}getCursorCrosshairHorizontalLineVisibility(){return ft(this._config)}setCursorCrosshairHorizontalLineVisibility(i){ut(i,this._config),this.emitConfigUpdate("setCursorCrosshairHorizontalLineVisibility")}getCursorCrosshairVerticalLineVisibility(){return xt(this._config)}setCursorCrosshairVerticalLineVisibility(i){mt(i,this._config),this.emitConfigUpdate("setCursorCrosshairVerticalLineVisibility")}getCursorCrosshairStyle(){return bt(this._config)}setCursorCrosshairStyle(i){Ct(i,this._config),this.emitConfigUpdate("setCursorCrosshairStyle")}getCursorCrosshair(){return pt(this._config)}setCursorCrosshair(i){_t(i,this._config),this.emitConfigUpdate("setCursorCrosshair")}};m(U,[C]);var yt=e=>{for(let i of e.axes??[])for(let t of i?.guides??[])if(t.label!==void 0)return t.label},St=(e,i)=>{for(let t of i.axes??[])for(let s of t?.guides??[]){let a=s.label?.text??"";s.label=X(e),s.label!==void 0&&(s.label.text=a)}};function o(e){return{...e,axis:e.orientation===g.X?e.config.axes?.[0]:e.config.axes?.[1],index:e.index??0,orientation:e.orientation??g.Y}}var Tt=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.visible??!0},vt=e=>{let{visible:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].visible=i)},Zi=e=>{let i=M(e.start,e.end);H(e.style)&&i===c.SFS?e.style={type:c.SFS,color:e.style.color}:E(e.style)&&i===c.SLS&&(e.style={type:c.SLS,color:e.style.color})},Lt=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.start??null},Ut=e=>{let{start:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].start=i,Zi(t.guides[s]))},At=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.end},Vt=e=>{let{end:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].end=i,Zi(t.guides[s]))},Gt=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.name},Xt=e=>{let{name:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].name=i)},Yt=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.label?.text},Bt=e=>{let{labelText:i,axis:t,index:s}=o(e),a=t?.guides?.[s]?.label??F(i,d(r.GuideLabel),r.GuideLabel);t?.guides?.[s]!==void 0&&(t.guides[s].label={...a,text:i})},Ft=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.above??!1},Dt=e=>{let{above:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].above=i)},It=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.style},wt=e=>{let{style:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].style=i)},ji=e=>{let{config:i,name:t,index:s,orientation:a}=e,n=a===g.X?i.axes?.[0]:i.axes?.[1];if(n!==void 0){n.guides=n.guides??[];let h={type:p.Guide,name:t,start:n.valueFormat.type===p.DateAxisFormat?"":0,style:D()};s!==void 0&&s<n.guides.length?n.guides.splice(s,0,h):n.guides.push(h)}},Oi=e=>{let{config:i,index:t,orientation:s}=e,a=s===g.X?i.axes?.[0]:i.axes?.[1];a?.guides!==void 0&&(t!==void 0&&t<a.guides.length?a.guides.splice(t,1):a.guides.pop())},Mt=e=>{let{axis:i,index:t}=o(e);return i?.guides?.[t]?.tooltipReverseColor??!1},kt=e=>{let{reverseColor:i,axis:t,index:s}=o(e);t?.guides?.[s]!==void 0&&(t.guides[s].tooltipReverseColor=i)},l=class extends b{getGuideLabelsSymbol(){return yt(this._config)}setGuideLabelsSymbol(i){St(i,this._config),this.emitConfigUpdate("setGuideLabels")}getGuideVisibility(i,t){return Tt({config:this._config,index:i,orientation:t})}setGuideVisibility(i,t,s){vt({visible:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideVisibility")}getGuideStart(i,t){return Lt({config:this._config,index:i,orientation:t})}setGuideStart(i,t,s){Ut({start:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideStart")}getGuideEnd(i,t){return At({config:this._config,index:i,orientation:t})}setGuideEnd(i,t,s){Vt({end:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideEnd")}getGuideName(i,t){return Gt({config:this._config,index:i,orientation:t})}setGuideName(i,t,s){Xt({name:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideName")}getGuideLabelText(i,t){return Yt({config:this._config,index:i,orientation:t})}setGuideLabelText(i,t,s){Bt({labelText:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideLabelText")}getGuideAbove(i,t){return Ft({config:this._config,index:i,orientation:t})}setGuideAbove(i,t,s){Dt({above:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideAbove")}getGuideStyle(i,t){return It({config:this._config,index:i,orientation:t})}setGuideStyle(i,t,s){wt({style:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setGuideStyle")}getTooltipReverseColor(i,t){return Mt({config:this._config,index:i,orientation:t})}setTooltipReverseColor(i,t,s){kt({reverseColor:i,config:this._config,index:t,orientation:s}),this.emitConfigUpdate("setTooltipReverseColor")}},A=class extends l{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(i,t){ji({config:this._config,name:i,index:t,orientation:g.X}),this.emitConfigUpdate("addXAxisGuide")}deleteXAxisGuide(i){Oi({config:this._config,index:i,orientation:g.X}),this.emitConfigUpdate("deleteXAxisGuide")}};m(A,[l]);var V=class extends l{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(i,t){ji({config:this._config,name:i,index:t,orientation:g.Y}),this.emitConfigUpdate("addYAxisGuide")}deleteYAxisGuide(i){Oi({config:this._config,index:i,orientation:g.Y}),this.emitConfigUpdate("deleteYAxisGuide")}};m(V,[l]);return{a:b,b:C,c:U,d:A,e:V}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,d)
|
package/dist/cdn/KOCR3CZQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import{i as h,j as B,k as L,l as Ke,m as He,o as Ze}from"./LQ2IMORC.js";import a from"./K5JHQOEN.js";import{a as me,g as Ce,p as pe,q as U,r as X,u as Ne}from"./JRS6QQS5.js";import{b as ie}from"./XNYGCR7R.js";import{F as ee}from"./QNOI7GRC.js";import{a as S,d as Ge}from"./2TAQ5BUD.js";import{a as F,b as x,f as we,h as q,k as _,m as Ae,n as Ie,o as fe,w as A,x as Z}from"./CLSOBCMJ.js";export default $arcgis.t(([,,,,,,,{Ba:xe,G:Oe,Ka:P,M:I,O:C,P:$e,Pa:Pe,Q:ae,Qb:re,R:De,S:ke,Ta:k,Xa:We,Yb:Ue,bc:be,c:Le,ca:je,d:z,e:qe,ea:Ve,fa:Ee,ha:Me,hb:_e,kc:Fe,lc:Re,mc:Xe,nc:oe,ob:se,oc:ne,p:T,pb:ze,q:D,r:te,rb:R,tb:N,xc:le}])=>{async function Se(i){let{queryObject:e,queryConfig:t,category:a,splitByField:s,chartLimits:r,abortKey:c}=i,o=s!==void 0,y=a!==Oe?[a]:[];o&&y.push(s);let l=re(e),m={...t,groupByFieldsForStatistics:Array.from(new Set(y)),outStatistics:[{statisticType:x.Count,onStatisticField:l.objectIdField,outStatisticFieldName:`${x.Count}_OBJECTID`}],orderByFields:void 0,num:r?.maxBarThreePlusSeriesCountTotal},d=await Ue({queryObject:e,featureCount:1,queryConfig:m,abortKey:c});return Array.from(new Set(d.map(f=>f.attributes[o?s:a]))).sort((f,n)=>typeof f=="string"&&typeof n=="string"?f.localeCompare(n):Number(f)-Number(n))}function G(i,e,t){let a=i?.axes?.[e];a?.title!==void 0?a.title.content.text=t:a!==void 0&&(a.title=C({text:t,visible:!0,font:I(T.AxisTitle)}))}async function Q(i){let{config:e,layerInfo:t,numericFields:a,aggregationType:s}=i,r="";if(e){let c=Pe(e)===we.Stacked100,o=await ie(te().locale,ee("./assets/common/t9n"),"messages.");if(c)r=o.utilsStrings.statistics.percent;else{let y=await xe(s);if(a.length===1){let l=k(t.layerFieldsInfo,a[0]);s===x.NoAggregation?r=l:s===x.Count&&a[0]===t.objectIdField?r=o.utilsStrings.statistics.count:r=D(o.axisLabels.aggregationOfFieldName,{aggregation:y,fieldName:l})}else a.length>1&&(s===x.NoAggregation?r=o.axisLabels.values:r=D(o.axisLabels.aggregationOfValues,{aggregation:y}))}}return r}var Qe=async(i,e)=>i.axes?.[e]??(await je(i.type))[e],Ye=(i,e,t)=>{i.axes!==void 0&&(i.axes[t]=e)},ce=(i,e,t)=>{let a=Number.NaN;return t?a=i.axes?.[e]?.maximum:a=i.axes?.[e]?.minimum,a??Number.NaN},ye=async(i,e,t,a)=>{let s=i?.axes?.[t];a&&s!==void 0?s.maximum=e:!a&&s!==void 0&&(s.minimum=e)},Xi=i=>ce(i,1,!0),V=async(i,e)=>{await ye(i,e,1,!0)},Ki=i=>ce(i,1,!1),E=async(i,e)=>{await ye(i,e,1,!1)},Hi=i=>ce(i,0,!0),ei=async(i,e)=>{await ye(i,e,0,!0)},Zi=i=>ce(i,0,!1),ii=async(i,e)=>{await ye(i,e,0,!1)},li=i=>i.axes?.[0]?.valueFormat??ae(),ci=async(i,e)=>{let t=await Qe(i,0);if(t!==void 0&&e!==void 0){let a={...t,valueFormat:e};Ye(i,a,0)}},Gi=i=>{let e;return Ze(i.axes?.[1]?.valueFormat)&&(e=i.axes?.[1]?.valueFormat),e},Ji=async(i,e)=>{let t=await Qe(i,1);if(t!==void 0&&e!==void 0){let a={...t,valueFormat:e};Ye(i,a,1)}},Je=(i,e,t)=>{let a=i.axes?.[e];a!==void 0&&(a.integerOnlyValues=t)},yi=i=>i.title?.content.text??"",Qi=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=C({text:i,visible:!0,font:I(T.ChartTitle)}))},Yi=i=>i.subtitle?.content.text??"",et=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=C({text:i,visible:!0,font:I(T.ChartSubtitle)}))},it=i=>i.footer?.content.text??"",tt=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=C({text:i,visible:!0,font:I(T.DescriptionText)}))},at=i=>i.title?i.title.visible??!0:!1,st=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=C({text:"",visible:i,font:I(T.ChartTitle)}))},rt=i=>i.subtitle?i.subtitle.visible??!0:!1,ot=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=C({text:"",visible:i,font:I(T.ChartSubtitle)}))},di=i=>i.footer?.visible??!1,nt=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==di(e)&&(e.footer=C({text:"",visible:!0,font:I(T.DescriptionText)}))},lt=i=>i.chartRenderer,ct=(i,e)=>{e.chartRenderer=i},ti=(i,e)=>{let t=e.title?.content.text;(e.title===void 0||i===void 0)&&(e.title=C({text:"",visible:!0,font:I(T.AxisTitle),type:T.AxisTitle})),i!==void 0&&(e.title.content=i),e.title.content.text=t},yt=i=>i.axes?.[0]?.title?.content,dt=(i,e)=>{e.axes?.[0]!==void 0&&ti(i,e.axes[0])},gt=i=>i.axes?.[1]?.title?.content,ut=(i,e)=>{e.axes?.[1]!==void 0&&ti(i,e.axes[1])},ft=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},mt=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let a=t.labels?.content.text;i===void 0?t.labels=C({text:"",visible:!0,font:I(T.AxisLabels),type:T.AxisLabels}):t.labels.content=X(i),t.labels.content.text=a}},pt=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},xt=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=X(i)??$e())},bt=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},Ft=(i,e)=>{let t=e.axes;switch(Z(e.series)){case F.BarSeries:case F.LineSeries:case F.ComboLineAndBarSeries:case F.HistogramSeries:case F.BoxPlotSeries:case F.RadarSeries:{t?.[1]!==void 0&&(t[1].grid=X(i));break}case F.ScatterSeries:{e.axes?.forEach(a=>{a!==void 0&&(a.grid=X(i))});break}case F.PieSeries:}},ve=(i,e)=>e.axes?.[i]?.title?.content.text??"",St=(i,e,t)=>{let a=t.axes?.[e];a?.title!==void 0?a.title.content.text=i:a!==void 0&&a?.title===void 0&&(a.title=C({text:i,visible:!0,font:I(T.AxisTitle)}))},vt=(i,e)=>e.axes?.[i]?.title?.visible??!1,Tt=(i,e,t)=>{let a=t.axes?.[e];a?.title!==void 0?a.title.visible=i:a!==void 0&&a?.title===void 0&&(a.title=C({text:ve(e,t),visible:i,font:I(T.AxisTitle)}))},ht=i=>i.axes?.[0].isLogarithmic??!1,Bt=async(i,e)=>{i.axes?.[0]!==void 0&&(i.axes[0].isLogarithmic=e,await ei(i,null),await ii(i,null))},wt=i=>i.axes?.[1]?.isLogarithmic??!1,At=async(i,e)=>{i.axes?.[1]!==void 0&&(i.axes[1].isLogarithmic=e,await V(i,null),await E(i,null))},It=i=>i.axes?.[0]?.scrollbar,Ct=(i,e)=>{i.axes?.[0]!==void 0&&(i.axes[0].scrollbar=e)},Lt=i=>i.axes?.[1]?.scrollbar,qt=(i,e)=>{i.axes?.[1]!==void 0&&(i.axes[1].scrollbar=e)},Nt=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,Ot=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},$t=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,Dt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayCursorTooltip=e)},kt=(i,e)=>i.axes?.[e]?.buffer??!1,jt=(i,e,t)=>{let a=i.axes?.[t];a!==void 0&&(a.buffer=e)},Vt=(i,e)=>i.axes?.[e]?.tickSpacing,Et=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].tickSpacing=e)},Mt=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Pt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].integerOnlyValues=e)},gi=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??A.Category,a=i.orderOptions?.data?.orderBy??q.Ascending;return t===A.Category&&Array.isArray(a)?e=S.customSort:t===A.Category?a===q.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:a===q.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e},ui=i=>{let e=Z(i.series),t=!1;return(e===F.BarSeries||e===F.LineSeries)&&(t=gi(i)===S.customSort),t},Wt=i=>{let e=[],t=i.orderOptions?.data?.orderType;return ui(i)&&t===A.Category&&(e=i.orderOptions?.data?.orderBy),e},_t=(i,e,t)=>{let a=A.Category,s=q.Ascending,r=Z(e.series);e.orderOptions??={},i===S.customSort&&t!==void 0?(s=[...t],e.orderOptions.data={orderType:a,orderBy:s}):(r===F.BarSeries||r===F.LineSeries)&&(a=i===S.xAxisAsc||i===S.xAxisDesc?A.Category:A.YValue,s=i===S.xAxisAsc||i===S.yAxisAsc?q.Ascending:q.Descending,e.orderOptions.data={orderType:a,orderBy:s})},W=i=>i?.series?.[0]?.x??"",Te=i=>{let{config:e,numericFields:t,aggregationType:a,mode:s,layer:r,numericFieldIndex:c,seriesIndex:o,splitByField:y=""}=i,l=Z(e.series),m=R(e.series),d=r?re(r).objectIdField:"FID",f=W(e),n=t.length===1&&t[0]===d,g="y",u="y";switch(l){case F.PieSeries:{a!==x.NoAggregation?s===Ge.Category?(g=`${a}_${t[0]}_0`.toUpperCase(),u=n?U(x.Count):U(`${a} of ${t[0]}`)):g=Le:g=t[0];break}case F.BarSeries:case F.LineSeries:case F.ComboLineAndBarSeries:case F.RadarSeries:{if(y===""||t.length>1)f===z||f===void 0||f.trim()===""||m===P.BarAndLineFromFields?g=qe:(g=`${a}_${t[c??0]}_${c??0}`.toUpperCase(),u=n?U(x.Count):U(`${a} of ${t[c??0]}`));else{let p=t[0];g=`${a}_${p}_${o??0}`.toUpperCase(),u=n?U(x.Count):U(`${a} of ${p}`)}break}}return{name:g,description:u}},fi=i=>{let e,t=i.series[0];return N(t)&&(e=t.temporalBinning?.size),e},mi=i=>{let e,t=i.series[0];return N(t)&&(e=t.temporalBinning?.unit),e},pi=i=>{let e,t=i.series[0];return N(t)&&(e=t.temporalBinning?.timeAggregationType),e},xi=i=>{let e,t=i.series[0];return N(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},bi=i=>{let e,t=i.series[0];return N(t)&&(e=t.temporalBinning?.nullPolicy),e},ai=(i,e)=>{e?.series?.forEach(t=>{N(t)&&(t.temporalBinning??={type:_.FixedDateBased},t.temporalBinning.size=i)}),E(e,null),V(e,null)},Fi=(i,e)=>{e?.series?.forEach(t=>{N(t)&&(t.temporalBinning??={type:_.FixedDateBased},t.temporalBinning.nullPolicy=i)}),E(e,null),V(e,null)},zt=(i,e)=>{e.series?.forEach(t=>{N(t)&&(t.temporalBinning??={type:_.FixedDateBased},t.temporalBinning.unit=i)}),E(e,null),V(e,null)},Ut=(i,e)=>{e.series?.forEach(t=>{N(t)&&(t.temporalBinning??={type:_.FixedDateBased},t.temporalBinning.timeAggregationType=i)}),E(e,null),V(e,null)},Rt=(i,e)=>{e.series?.forEach(t=>{N(t)&&(t.temporalBinning??={type:_.FixedDateBased},t.temporalBinning.trimIncompleteTimeInterval=i)}),E(e,null),V(e,null)},Xt=i=>{ai(0,i)};async function Si(i){let{config:e,layer:t,xAxisField:a,splitByField:s,layerFieldsInfo:r,aggregationFields:c,fetchNullValues:o}=i,y=r.filter(p=>p.name===s)[0]?.type,l=o!==!0?`${s} IS NOT NULL`:"",m=a&&o!==!0?`${a} IS NOT NULL`:"",{where:d}=e?.dataFilters??{},f={where:be([d,l,m]),orderByFields:We(s)?[]:[`${s} ${q.Ascending}`],geometry:e?.dataFilters?.geometry},n=t,g="";c.length===0?g=n?.objectIdField??"":[g]=c;let u=await Se({queryObject:n,category:e?.series[0].x??"",splitByField:s,queryConfig:f});if(e){let p=e?.series.map(b=>se({where:b.query?.where})?.toString()??"").filter(b=>b!==void 0&&b!=="");u=_e({arrayA:u,arrayB:p,getKey:b=>b.toString()})}return{categoriesArray:u,splitByFieldType:y,numericalField:g}}function Kt(i,e){let t=e==="";for(let a of i)if(e===a.name){t=!0;break}return t}function Ht(i,e){let t=Xe(i),a=e.length===0,s=0;for(let r of e){for(let c of t)if(r===c&&(s+=1),s===e.length){a=!0;break}if(a)break}return a}function Zt(i,e){e.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(a=>{Object.defineProperty(i.prototype,a,Object.getOwnPropertyDescriptor(t.prototype,a)||Object.create(null))})})}async function vi(i){let{layerInfo:e,config:t,category:a}=i,{layer:s}=e,{where:r}=t?.dataFilters??{},{fetchNullValues:c}=t?.series?.[0]?.query??{},o=c!==!0?`${a} IS NOT NULL`:"",y={where:be([r,o]),orderByFields:[],geometry:t?.dataFilters?.geometry},l=oe(s);return(await Se({queryObject:s,category:a,queryConfig:y})).map(m=>{let d=String(m);return ne({fieldName:a,fieldValueToMatch:d,subtypeInfo:l,fieldList:e.layerFieldsInfo})??d})}async function J(i){let{seriesIndex:e,config:t,layerInfo:a}=i,{objectIdField:s}=a??{},r,c=t.series[e??0],o=!1,y=!1;if(c===void 0){let n=t.series;o=n.slice(0,e).every(g=>h(g)),y=n.slice(0,e).every(g=>B(g))}else o=h(c),y=B(c);o?r=await Ve({seriesIndex:e,objectIDField:s}):y?r=await Ee({seriesIndex:e,objectIDField:s}):r=await Me({seriesIndex:e,objectIDField:s});let l=W(t),m=t.series[0]?.dataLabels?.visible??!1,d={...r,x:l,y:"",dataLabels:{...r.dataLabels,type:r.dataLabels?.type??F.Text,content:r.dataLabels?.content??{type:Ce.TS},visible:m}},f=j(t);if(d.query={groupByFieldsForStatistics:[l]},f!==x.NoAggregation&&s!==void 0){let n=`${f}_${s}_0`.toUpperCase();d.y=n,d.query.outStatistics=[{statisticType:f,onStatisticField:s,outStatisticFieldName:n}]}if(h(d)||B(d)){let n;if(t?.series?.[0]!==void 0&&(n=R(t.series)),n!==P.BarAndLineNoAggregation&&n!==P.BarAndLineSplitByNoAggregation){let g=mi(t);g===Ie.Quarter&&(g=Ae.Month),d.temporalBinning={type:_.FixedDateBased,size:fi(t),unit:g,timeAggregationType:pi(t),trimIncompleteTimeInterval:xi(t),nullPolicy:bi(t)}}}return X(d)}async function Y(i,e){let{layerFieldsInfo:t,objectIdField:a}=e,s=W(i),r=R(i.series),c=O(i),o=j(i),y=K(i),l=c.length===0||c.includes(a),m=await xe(o),d=l?"":c.map(v=>k(t??[],v)).join(", "),f=k(t??[],s),n=k(t??[],y),g=i.series.some(v=>L(v)),u=g?"category":"xAxisField",p=f,b="",$=await ie(te().locale,ee("./assets/common/t9n"),"messages.");if(r===P.BarAndLineFromFields)b=D($.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:d});else if(o===x.NoAggregation){let v=l?a:d;if(y===""){let H=g?"aggrTypeCategory":"aggrTypeXAxisField";b=D($.titleLabels[H],{aggregationType:v,[u]:p})}else{let H=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";b=D($.titleLabels[H],{aggregationType:v,[u]:p,splitByField:n})}}else if(o===x.Count)if(y===""){let v=g?"aggrTypeCategory":"aggrTypeXAxisField";b=D($.titleLabels[v],{aggregationType:m,[u]:p})}else{let v=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";b=D($.titleLabels[v],{aggregationType:m,[u]:p,splitByField:n})}else if(y!==""){let v=g?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";b=D($.titleLabels[v],{aggregationType:m,aggregationField:d,[u]:p,splitByField:n})}else if(c.length>0){let v=g?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";b=D($.titleLabels[v],{aggregationType:m,aggregationFields:d,[u]:p})}return b}var si=i=>se({where:i.query?.where,normalize:!1,escape:!1})??"",j=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??x.NoAggregation,Gt=async(i,e,t)=>{let a=O(e),s=K(e),r=await de(e,t),c=await ge(e,t);if(await Be({splitByField:s,numericFields:a,aggregationType:i,config:e,layerInfo:t}),c){let o=await Q({config:e,layerInfo:t,numericFields:O(e),aggregationType:j(e)});G(e,1,o)}e.title&&r&&(e.title.content.text=await Y(e,t)),await E(e,null),await V(e,null),he(e,t)},K=pe(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return ze(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),Jt=async(i,e,t)=>{let a=O(e),s=j(e),r=await de(e,t),c=await ge(e,t);if(await Be({splitByField:i,numericFields:a,aggregationType:s,config:e,layerInfo:t}),c){let o=await Q({config:e,layerInfo:t,numericFields:O(e),aggregationType:j(e)});G(e,1,o)}e.title&&r&&(e.title.content.text=await Y(e,t)),await E(e,null),await V(e,null)},O=pe(i=>{let e=[];if(K(i)==="")e=i?.series.map(t=>{let a=t.query?.outStatistics?.map(s=>s.onStatisticField)??[];return a?.length>0?a:t.y}).flat()??[];else{let t=i?.series?.[0],a=t?.query?.outStatistics?.[0]?.onStatisticField??[t?.y].flat()[0];e=a!==void 0?[a]:[]}return[...new Set(e.filter(t=>t!==""))]},i=>i?.series),Ti=async(i,e,t)=>{let{objectIdField:a}=t,s=j(e),r=await de(e,t),c=await ge(e,t);i.length===0?(i.push(a),s=x.Count):s===x.Count&&i.length>=1&&!i.includes(a)&&(s=x.Sum);let o=K(e);if(await Be({splitByField:o,numericFields:i,aggregationType:s,config:e,layerInfo:t}),c){let y=await Q({config:e,layerInfo:t,numericFields:O(e),aggregationType:j(e)});G(e,1,y)}e.title&&r&&(e.title.content.text=await Y(e,t)),await E(e,null),await V(e,null),he(e,t)},Qt=async(i,e,t)=>{let{layerFieldsInfo:a}=t??{},s=e?.series?.length??0,r=W(e),c=await de(e,t),o=await ge(e,t),y=await Ai(e,t),l,m=e.series.some(n=>L(n)),d=Ke(e.series),f=He(e.series);if(a!==void 0){let n=Re(a);!n.includes(r)&&n.includes(i)?l=De():n.includes(r)&&!n.includes(i)&&(m?l=ae():l=ke()),a.find(g=>g.name===i)?.type===me.String&&(l=ae()),l!==void 0&&await ci(e,l)}if(s===0&&(e.series=[await J({config:e,layerInfo:t})]),e.series.forEach(n=>{n.x=i,n.query!==void 0&&(n.query.groupByFieldsForStatistics=[i])}),y){let n=k(a,i);G(e,0,n)}if(t!==void 0){if(o){let g=await Q({config:e,layerInfo:t,numericFields:O(e),aggregationType:j(e)});G(e,1,g)}e.title&&c&&(e.title.content.text=await Y(e,t)),he(e,t);let n=O(e);await Ti(n,e,t)}if(await E(e,null),await V(e,null),d||f){await ii(e,null),await ei(e,null),ai(0,e);let n=l?.type===F.DateAxisFormat?fe.Null:fe.Interpolate;Fi(n,e)}};function he(i,e){let t=!1,a=j(i),s=O(i);a===x.Count?t=!0:a===x.NoAggregation&&(t=s.every(o=>{let y=e.layerFieldsInfo.find(l=>l.name===o);return y!==void 0?Fe(y):!1})),Je(i,1,t);let r=i.series.some(o=>h(o)),c=i.series.some(o=>B(o));if(r||c){let o=W(i),y=e.layerFieldsInfo.find(m=>m.name===o),l=y!==void 0&&Fe(y);Je(i,0,l)}}var hi=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??A.Category,a=i.orderOptions?.data?.orderBy??q.Ascending;return t===A.Category&&Array.isArray(a)?e=S.customSort:t===A.Category?a===q.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:a===q.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e};async function Bi(i){let{numericFields:e,aggregationType:t,config:a,layerInfo:s}=i,r=!1,c=await J({config:a,layerInfo:s,seriesIndex:0}),o=await ie(te().locale,ee("./assets/common/t9n"),"messages."),y=Te({config:a,numericFields:e,aggregationType:t,layer:s.layer}).name,l={...c,id:`series_${Date.now()}`,name:o.axisLabels.values,x:z,y},m=[];for(let f of e)m.push({onStatisticField:f,outStatisticFieldName:`${f}_0`.toUpperCase(),statisticType:t});l.query={outStatistics:m};let d=a.series[0];return d!==void 0&&(l.id=d.id,a.colorMatch||(L(d)&&L(l)?l.fillSymbol=d.fillSymbol:(h(l)&&h(d)||B(l)&&B(d))&&(l.lineSymbol=d.lineSymbol,l.markerSymbol=d.markerSymbol),r=!0),l.id=d.id,d.name!==c.name&&(l.name=d.name)),a.series.length===1&&!a.colorMatch&&(L(l)?l.fillSymbol=a.series[0].fillSymbol:(h(l)||B(l))&&(l.lineSymbol=a.series[0].lineSymbol,l.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[l]}async function ri(i){let{numericFields:e,aggregationType:t,config:a,layerInfo:s}=i,{layerFieldsInfo:r,objectIdField:c}=s,o=[],y=!1;for(let l=0;l<e.length;l+=1){let m=await J({config:a,layerInfo:s,seriesIndex:l}),d=Te({config:a,numericFields:e,aggregationType:t,layer:s.layer,numericFieldIndex:l}).name,f=e[l],n={...m,query:{...m.query}};f!==c&&(n={...n,id:f,name:k(r,f)});let g=f;n.query!==void 0&&(t!==x.NoAggregation?(g=d,n.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:f,outStatisticFieldName:d,statisticType:t}]):delete n.query.outStatistics),n.y=g;let u=a.series.find(p=>p.query?.outStatistics?.[0]?.onStatisticField===f&&p.query.where===void 0);if(u!==void 0&&typeof u.y=="string"&&u.y.trim()!==""){a.colorMatch||(L(n)&&L(u)?n.fillSymbol=u.fillSymbol:(h(n)&&h(u)||B(n)&&B(u))&&(n.lineSymbol=u.lineSymbol,n.markerSymbol=u.markerSymbol),y=!0);let p=await J({config:a,layerInfo:s,seriesIndex:l});n.id=u.id,u.id!==p.id&&u.name!==p.name&&(n.id=u.id,n.name=u.name)}o.push(n)}return a.series.length===1&&o.length===1&&!a.colorMatch&&(L(a.series[0])&&L(o[0])?o[0].fillSymbol=a.series[0].fillSymbol:(h(a.series[0])&&h(o[0])||B(a.series[0])&&B(o[0]))&&(o[0].lineSymbol=a.series[0].lineSymbol,o[0].markerSymbol=a.series[0].markerSymbol),y=!0),a.colorMatch=!y,o}async function wi(i){let{splitByField:e,numericFields:t,aggregationType:a,config:s,layerInfo:r}=i,{layer:c,layerFieldsInfo:o}=r,{fetchNullValues:y}=s?.series?.[0]?.query??{},l=W(s),m=l!==z?l:void 0,{categoriesArray:d,splitByFieldType:f,numericalField:n}=await Si({config:s,layer:c,layerFieldsInfo:o,xAxisField:m,aggregationFields:t,splitByField:e,fetchNullValues:y}),g=[],u=!1;if(d.length===0){g=await ri({numericFields:t,aggregationType:a,config:s,layerInfo:r});for(let p of g)p.query&&(p.query.where=`${e}=''`)}else for(let p=0;p<d.length;p+=1){let b=d[p],$=Te({config:s,numericFields:t,aggregationType:a,layer:r.layer,seriesIndex:p,splitByField:e}).name,v=await J({config:s,layerInfo:r,seriesIndex:p}),H={fieldName:e,fieldValueToMatch:b??"",subtypeInfo:oe(r.layer),fieldList:r.layerFieldsInfo},oi=ne(H),ue=`${b}`,w={...v,id:ue,name:oi??ue,y:$,query:{...v.query,where:`${e}=${f===me.String&&b!==null?`'${b}'`:b}`,outStatistics:a!==x.NoAggregation?[{...v.query?.outStatistics?.[0]??{},onStatisticField:n,outStatisticFieldName:$,statisticType:a}]:void 0}};a===x.NoAggregation&&(w.query!==void 0&&(delete w.query.outStatistics,delete w.query.groupByFieldsForStatistics),w.y=n);let M=s.series.find(ni=>String(si(ni)).trim().replace(/'/gu,"")===ue);M!==void 0&&(s.colorMatch||(L(w)&&L(M)?w.fillSymbol=M.fillSymbol:(h(w)&&h(M)||B(w)&&B(M))&&(w.lineSymbol=M.lineSymbol,w.markerSymbol=M.markerSymbol),u=!0),w.id=M.id,w.name=M.name),g.push(w)}return s.colorMatch=!u,g}var Be=async i=>{let{splitByField:e,numericFields:t,aggregationType:a,config:s,layerInfo:r}=i,{x:c}=s.series[0],o=R(s.series);e===""||t.length>1?c===z||c===void 0||c.trim()===""||o===P.BarAndLineFromFields?s.series=await Bi({config:s,layerInfo:r,numericFields:t,aggregationType:a}):s.series=await ri({config:s,layerInfo:r,numericFields:t,aggregationType:a}):s.series=await wi({config:s,layerInfo:r,splitByField:e,numericFields:t,aggregationType:a})},Yt=i=>{let{config:e,seriesIndex:t,layerInfo:a,commonStrings:s}=i,r=e.series?.[t],c=K(e),o;if(R(e.series)===P.BarAndLineFromFields)o=s.axisLabels.values;else if(Ne(c)){let y=r.query?.outStatistics?.[0]?.onStatisticField;y!==void 0&&y!==a.objectIdField&&(o=k(a.layerFieldsInfo,y))}else{let y=String(si(r)).trim().replace(/'/gu,""),l={fieldName:K(e),fieldValueToMatch:y??"",subtypeInfo:oe(a.layer),fieldList:a.layerFieldsInfo};o=ne(l)??y}return o??r.id},ea=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;hi(e)===S.customSort&&t===A.Category&&(e.orderOptions.data={orderType:A.Category,orderBy:[...i]})},ia=i=>i.dataFilters,ta=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters},aa=async(i,e)=>{let t=W(i),a=li(i)?.type,s=O(i),r=R(i.series),c=[];return a===F.CategoryAxisFormat&&(r===P.BarAndLineFromFields||t===z?c=s.map(o=>k(e?.layerFieldsInfo,o)):t.trim()!==""&&t!==z&&e!==void 0&&(c=await vi({layerInfo:e,config:i,category:t}))),c};async function de(i,e){let t=await Y(i,e),a=yi(i),s=le(i);return t===a||s}async function ge(i,e){let t=await Q({config:i,layerInfo:e,numericFields:O(i),aggregationType:j(i)}),a=ve(1,i),s=le(i);return t===a||s}async function Ai(i,e){let t=k(e.layerFieldsInfo,W(i)),a=ve(0,i),s=le(i);return t===a||s}var sa=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},ra=i=>i.series.some(e=>e.query?.fetchNullValues),oa=i=>i.series.map(e=>String(se({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!=="");return{a:G,b:Q,c:Xi,d:V,e:Ki,f:E,g:Hi,h:ei,i:Zi,j:ii,k:li,l:ci,m:Gi,n:Ji,o:Je,p:yi,q:Qi,r:Yi,s:et,t:it,u:tt,v:at,w:st,x:rt,y:ot,z:di,A:nt,B:lt,C:ct,D:yt,E:dt,F:gt,G:ut,H:ft,I:mt,J:pt,K:xt,L:bt,M:Ft,N:ve,O:St,P:vt,Q:Tt,R:ht,S:Bt,T:wt,U:At,V:It,W:Ct,X:Lt,Y:qt,Z:Nt,_:Ot,$:$t,aa:Dt,ba:kt,ca:jt,da:Vt,ea:Et,fa:Mt,ga:Pt,ha:Wt,ia:_t,ja:W,ka:Te,la:fi,ma:mi,na:pi,oa:xi,pa:bi,qa:ai,ra:Fi,sa:zt,ta:Ut,ua:Rt,va:Xt,wa:Si,xa:Kt,ya:Ht,za:Zt,Aa:vi,Ba:Y,Ca:j,Da:Gt,Ea:K,Fa:Jt,Ga:O,Ha:Ti,Ia:Qt,Ja:hi,Ka:Be,La:Yt,Ma:ea,Na:ia,Oa:ta,Pa:aa,Qa:sa,Ra:ra,Sa:oa}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
package/dist/cdn/L65KPPHQ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import a from"./K5JHQOEN.js";export default $arcgis.t(([,,,,,,,{_:m}])=>{var n=o=>o.lineSymbol?.style,S=(o,i)=>{i.lineSymbol??=m(),i.lineSymbol.style=o},d=o=>o.lineSymbol?.width,c=(o,i)=>{i.lineSymbol??=m(),i.lineSymbol.width=o};return{a:n,b:S,c:d,d:c}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
package/dist/cdn/LYOUJRGX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import p from"./JPTPQRLH.js";import"./JQH24JQ5.js";import{a as K}from"./KMTGQDFZ.js";import{a as I}from"./RWPQSKZY.js";import{a as q}from"./AWW24X7A.js";import m from"./6OUEEGQ7.js";import l from"./ZQO5JHN2.js";import i from"./IOBORWRZ.js";import e from"./IMUCTV2E.js";import d from"./KOCR3CZQ.js";import"./LQ2IMORC.js";import{c as g}from"./4RBI76JF.js";import{a as j}from"./EEZ6EVR5.js";import{a as $,b as Z}from"./JY4FRDCK.js";import b from"./MKU2YNPA.js";import{d as n}from"./7ZSNAUGQ.js";import a from"./K5JHQOEN.js";import{v}from"./JRS6QQS5.js";import{a as Y}from"./AB2IALOS.js";import"./XNYGCR7R.js";import{A as F,C as M,E as V,g as k,h as c,l as f,w as E,x as N,y as A,z as h}from"./QNOI7GRC.js";import{a as W}from"./LP2WT56B.js";import{f as L,m as S,n as G,s as P}from"./MPP7JIK6.js";import"./2TAQ5BUD.js";import{a as o,l as U}from"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{Gb:X,Wa:b,hb:x,q:_,xc:T},{r:H},,,,,{a:R,e:y,f:z},{b:B}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function O(m,e){let a=new Set,t=e;return m?.forEach((s,i)=>{let r=s.getChartId();(a.has(r)||r===void 0||r==="")&&(s.setChartId(`Chart_${Date.now()}_${i}`),e===r&&(t=s.getChartId())),a.add(r)}),t}function J(m,e,a){return m?.filter(t=>b(a,t.getConfig())&&t.getLayer()?.id===e)??[]}function ee(m){let{modelList:e,layerList:a,activeLayerId:t,disableEditing:s}=m,i=new Map;return e?.forEach(r=>{let l=r.getLayer();l&&i.set(l.id,l)}),s||a.forEach(r=>i.set(r.id,r)),Array.from(i.values()).filter(r=>!t||r.id===t)}function te(m,e){m.forEach(a=>{e.forEach(t=>{a?.id===t.getLayer()?.id&&Q(a,t)})})}function Q(m,e){let a=m;if(a){let t=[...a?.charts??[]],s=t?.findIndex(r=>r.id===e.getChartId()),i=!1;s!==void 0&&s>-1?(i=!v(t[s],e.getConfig()),t[s]=e.getConfig()):a&&!T(e.getConfig())&&(i=!0,t.push(e.getConfig())),i&&(a.charts=t)}}function ae(m,e){let a=m;if(a){let t=[...a.charts??[]],s=t.findIndex(i=>i.id===e);s>-1&&(t.splice(s,1),a.charts=t)}}function se(m,e){let a=m;if(a){let t=[...a.charts??[]];t=x({arrayA:t,arrayB:e.map(s=>s.getConfig()),getKey:s=>s.id??s.title?.content.text??""}),a.charts=t}}var ie=k`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,w=class extends A{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=E(),this.supportedChartTypes=[o.BarSeries,o.BoxPlotSeries,o.LineSeries,o.PieSeries,o.HistogramSeries,o.ScatterSeries],this._messages=Y(),this.chartDataProcessComplete=e=>{let a=e,{chartData:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.HistogramSeries:this.chartData=t,s&&(s.dataStore.chartData=t);break;case o.PieSeries:{this.chartData=t,s&&(s.dataStore.chartData=t);break}case o.ScatterSeries:{let r=t,{dataItems:l,r2:C}=r,p=C;Number.isFinite(C)||(p=void 0),this.r2=p,s&&(s.dataStore.r2=p),this.calculatedDataMinMaxBounds=this.getDataExtent(l),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:{let{dataItems:r,timeIntervalInfo:l}=t;L(i)&&(l?.size!==void 0&&i.getTemporalBinningSize()!==l?.size&&i.setTemporalBinningSize(l?.size),l?.unit!==void 0&&i.getTemporalBinningUnit()!==l?.unit&&l?.unit!==U.Quarter&&i.setTemporalBinningUnit(l?.unit)),this.calculatedDataMinMaxBounds=this.getDataExtent(r),s&&(s.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}}},this.chartAxesMinMaxChange=e=>{let a=e,{bounds:t,model:s}=a.detail,i=this.getModel(this.selectedChartId),r=s?.isSameChartAs(i),l=i?.getChartType();if(r)switch(l){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=t,s&&(s.dataStore.calculatedMinMaxBounds=t),this.updateAxesBoundsInAppState(t);break}},this.chartSeriesColorChange=e=>{let a=e,{data:t,model:s}=a.detail,i=this.getModel(this.selectedChartId);if(s?.isSameChartAs(i))switch(i?.getChartType()){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=t,s&&(s.dataStore.seriesColor=t);break;case o.PieSeries:{let r=new Map([[0,t]]);this.seriesColor=r,s&&(s.dataStore.seriesColor=r);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let a=e,{propName:t,value:s,model:i}=a.detail,r=this.modelList.find(l=>i?.isSameChartAs(l));if(r)switch(t){case"rotation":typeof s=="boolean"&&G(r)&&r.setRotatedState(s);break;case"legendPosition":typeof s=="string"&&P(r)&&r.setLegendPosition(s);break;case"legendVisibility":typeof s=="boolean"&&P(r)&&r.setLegendVisibility(s);break}},this.chartLegendItemVisibilityChange=async e=>{let a=e,{legendItemVisibility:t,model:s}=a.detail,i=this.modelList.find(r=>s?.isSameChartAs(r));i?.setSeriesVisibility(t),S(i)&&((i.getMinYBound()===null||Number.isNaN(i.getMinYBound()))&&await i.setMinYBound(null),(i.getMaxYBound()===null||Number.isNaN(i.getMaxYBound()))&&await i.setMaxYBound(null),L(i)&&((i.getMinXBound()===null||Number.isNaN(i.getMinXBound()))&&await i.setMinXBound(null),(i.getMaxXBound()===null||Number.isNaN(i.getMaxXBound()))&&await i.setMaxXBound(null)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:a,layerId:t}=e.target;a!==void 0&&this.arcgisChartsConfigNewChart.emit({key:"key",chartType:a,layerId:t})},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers){let a=e.target;Q(a?.getLayer(),a)}this.requestUpdate()},this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.panelNumber=0,this.arcgisChartsConfigChartViewChartClose=f(),this.arcgisChartsConfigModelListChange=f(),this.arcgisChartsConfigNewChart=f(),this.arcgisChartsConfigPanelNumberChange=f(),this.arcgisChartsConfigSelectedChartChange=f(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:3,activeLayerId:3,disableEditing:7,syncChartsToLayers:7,timeZone:3,headerTitle:3,open:7,chartData:[0,{hasChanged:y}],r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[2,{hasChanged:y}],seriesColor:[2,{hasChanged:z}],popoverPlacement:3,usePopupTemplateFieldsInfo:5,panelNumber:11,filterBySelection:5}}static{this.styles=ie}async setFocus(){this.chartsListFlowItem.value?.setFocus()}connectedCallback(){super.connectedCallback(),this.addChartEventListeners()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}async willUpdate(e){e.has("layerList")&&(this.hasUpdated||this.layerList?.length>0)&&await this.layerListChange(),e.has("modelList")&&(this.hasUpdated||this.modelList?.length>0)&&await this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&await this.selectedChartIdChange(this.selectedChartId),e.has("panelNumber")&&(this.hasUpdated||this.panelNumber!==0)&&this.panelNumberChange(this.panelNumber)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover(),this.removeChartEventListeners()}modelListReorderChangeListener(e){let{modelList:a}=e.detail;if(this.modelList=x({arrayA:this.modelList,arrayB:a,getKey:t=>t.getChartId()??t.getTitleText()??""}),this.syncChartsToLayers){let t=a.find(s=>s.getLayer()?.id!==void 0)?.getLayer()?.id;if(t){let s=this.layerList.find(i=>i.id.toString()===t);s&&se(s,a)}}}async layerListChange(){let e=[],a=this.layerList.map(s=>s.id.toString()),t=[...this.modelList.filter(s=>a.includes(s.getLayer()?.id??""))];for(let s of this.layerList??[]){if(s.type==="sublayer"){let r=await s.createFeatureLayer();if(!r)continue;s=r}let i=s;for(let r of i.charts??[]){let l=await W({layer:s,config:r});l!==void 0&&e.push(l)}}O(e),e.forEach(s=>{t.find(i=>i.isSameChartAs(s))===void 0&&t.push(s)}),this.modelList=t}async modelListChange(e,a){this.selectedChartId=O(e,this.selectedChartId),a?.forEach(s=>{s.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(s=>{s.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let t=this.getModel(this.selectedChartId);this.currentChartTypeText=t?.getChartType()!==void 0?await B(t.getChartType()):"",this.syncChartsToLayers&&te(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}async selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=n.Data;let a=this.getModel(e);this.setEventBasedPropsFromModelData(a),this.currentChartTypeText=a?.getChartType()!==void 0?await B(a.getChartType()):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:a})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){document.addEventListener(g.DataProcessComplete,this.chartDataProcessComplete),document.addEventListener(g.AxesMinMaxChange,this.chartAxesMinMaxChange),document.addEventListener(g.SeriesColorChange,this.chartSeriesColorChange),document.addEventListener(g.NoRenderPropChange,this.chartNoRenderPropChange),document.addEventListener(g.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}removeChartEventListeners(){document.removeEventListener(g.DataProcessComplete,this.chartDataProcessComplete),document.removeEventListener(g.AxesMinMaxChange,this.chartAxesMinMaxChange),document.removeEventListener(g.SeriesColorChange,this.chartSeriesColorChange),document.removeEventListener(g.NoRenderPropChange,this.chartNoRenderPropChange),document.removeEventListener(g.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let a=this.getModel(this.selectedChartId)?.getConfig(),t=[];if(a!==void 0&&e!==void 0){let s=X({chartConfig:a,chartData:e}),{minY:i,maxY:r,minX:l,maxX:C}=s;t=[{isXAxis:!0,minimum:l,maximum:C},{isXAxis:!1,minimum:i,maximum:r}]}return t}updateAxesBoundsInAppState(e){e?.forEach(a=>{let{isXAxis:t,maximum:s,minimum:i}=a,r=this.getModel(this.selectedChartId);if(r!==void 0&&S(r)&&this.selectedChartId!==void 0){let l=new j(r,t),C=Z({chartId:this.selectedChartId,isXAxis:t,isLogarithmic:l.getLogarithmic()}),p=$.chartAxesBoundDataMap;p[this.selectedChartId]===void 0&&(p[this.selectedChartId]={});let u=p[this.selectedChartId]?.[C],D={defaultMinBound:u?.defaultMinBound===u?.currMinBound?i:u?.defaultMinBound,currMinBound:i,defaultMaxBound:u?.defaultMaxBound===u?.currMaxBound?s:u?.defaultMaxBound,currMaxBound:s};!v(u,D)&&this.selectedChartId!==void 0&&p?.[this.selectedChartId]!==void 0&&(p[this.selectedChartId][C]=D)}})}getPlacement(){let e;if(this.popoverPlacement!==void 0)e=this.popoverPlacement;else{let a=this.modelList?.filter(t=>b(R,t.getConfig())).length;e=Number(a)<=2?"bottom":"top"}return e}onBackFlow(){this.panelNumber-=1}onAddChartClick(e){let{referenceElement:a,layerId:t}=e.detail;this.setupSelectChartTypePopover(a,t)}setupSelectChartTypePopover(e,a){let t=this.getPlacement();this.removeSelectChartTypePopover(),this.selectChartTypePopover=M(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(a=>a.getChartId()===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=q(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.getConfig()))}onViewChartDelete(e){let{chartId:a}=e.detail;if(a!==void 0){let t=this.modelList.find(i=>i.getChartId()===a),s=this.layerList.find(i=>i.id===t?.getLayer()?.id);this.modelList=[...this.modelList.filter(i=>i.getChartId()!==a)],s&&this.syncChartsToLayers&&ae(s,a)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)}),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.open=!1,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let a=e.target,t="";switch(a.icon){case"configure":t=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":t=this._messages.series??"";break;case"graph-pie-slice":t=this._messages.slices??"";break;case"graph-axis":t=this._messages.axes??"";break;case"graph-guides":t=this._messages.guides??"";break;case"palette":t=this._messages.format??"";break;case"text":t=this._messages.general??"";break;default:t="";break}this.tooltip=M(c`<calcite-tooltip style=${F({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){H(this.tooltip)}renderViewCharts(){let e=ee({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return K(e,a=>a.id,a=>c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${J(this.modelList,a.id.toString(),this.supportedChartTypes)} .selectedChartId=${this.selectedChartId??""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.open!==!1?c`<calcite-flow>${I("charts-list",c`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${N(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>`:null}renderTabs(){let e=this.getModel(this.selectedChartId);return I("chart-edit",c`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??n.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?_(this._messages.pageFlowTitle,{chartName:e?.getTitleText()??this.currentChartTypeText,layerName:e?.getLayer()?.title??""}):""}>${e?.getChartType()!==void 0?c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===n.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=n.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.getChartType()===o.BarSeries?c`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.LineSeries?c`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.BoxPlotSeries?c`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===n.Series} @click=${()=>{this.selectedPanel=n.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()===o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===n.Slices} @click=${()=>{this.selectedPanel=n.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===n.Axes} @click=${()=>{this.selectedPanel=n.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}${e?.getChartType()!==o.PieSeries?c`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===n.Guides} @click=${()=>{this.selectedPanel=n.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===n.Format} @click=${()=>{this.selectedPanel=n.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===n.General} @click=${()=>{this.selectedPanel=n.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),a=e?.getLayer(),t=null;if(e!==void 0&&!this.disableEditing)switch(e?.getChartType()){case"barSeries":t=c`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case"lineSeries":t=c`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case"pieSeries":t=c`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case"histogramSeries":t=c`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case"scatterSeries":t=c`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case"boxPlotSeries":t=c`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel??n.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break}return t}};V("arcgis-charts-config-create-flow",w);return w},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,d,e,i,l,m,p)
|
package/dist/cdn/MKU2YNPA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import{e as o}from"./7ZSNAUGQ.js";import a from"./K5JHQOEN.js";import{b as m}from"./JRS6QQS5.js";import{f as s}from"./2TAQ5BUD.js";import{b as r}from"./CLSOBCMJ.js";export default $arcgis.t(([,,,,,,,{cb:u,d:d,r:p}])=>{var S={DebounceTimer:400,SliderTimer:100,PopoverTimer:60,customSortLimit:100},E={style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3},h=[r.Count,r.Sum,r.Average,r.ContinuousPercentile,r.Minimum,r.Maximum,r.NoAggregation],A=[r.Count,r.Sum];function w(e){let t;switch(e){case s.Title:case s.XAxisTitle:case s.YAxisTitle:case s.LegendTitle:{t=o.Title;break}case s.Description:case s.LegendText:{t=o.Text;break}case s.AxisLabels:case s.GuideLabels:case s.DataLabels:{t=o.Label;break}case s.Background:case s.LeaderLines:case s.AxisLines:case s.GridLines:{t=o.Palette;break}}return t}function C(e,t,i){let a=!1,n=typeof e=="string"?Number.parseFloat(e):e,c=typeof t=="string"?Number.parseFloat(t):t,l=typeof i=="string"?Number.parseFloat(i):i;return Number.isNaN(n)||(a=(c===void 0||Number.isNaN(c)||n>=c)&&(l===void 0||Number.isNaN(l)||n<=l)),a}function I(e,t){let i;if(e!==null){let a=typeof e=="string"?Number.parseFloat(e):e;u(a)?i=a:u(t)&&(i=t)}return i===void 0?"":`${i}`}function P(e){let{inputElement:t,status:i}=e;t.status=i}var R={IDLE:"idle",INVALID:"invalid"};function U(e,t){let i="";if(e!==void 0&&!Number.isNaN(e)){let{formatLocale:a}=p();i=Intl.NumberFormat(a,t).format(e)}return i}function j(e,t){let i=!1;if(t!==void 0){let a=typeof t=="string"?t.trim():t,n=e.trim();typeof t=="string"?i=a===n||a===d&&n==="":i=a.includes(n)}return i}function B(e){let t;switch(e){case"trailing":t=-200;break;case"leading":t=20;break;default:t=0;break}return t}function G(e){return e===void 0||Number.isNaN(e.r)||Number.isNaN(e.g)||Number.isNaN(e.b)?null:e}var K=e=>{["e","E"].includes(e.key)&&e.preventDefault()},M=e=>{if(e.pickListElement!==void 0){let t=e.pickListElement.selectedItems;e.eventEmitter.emit({contentKind:e.contentKind,value:t.map(i=>i.value)})}};function W(e){let t="solid";switch(e){case m.Dash:t="dashed";break;case m.Dot:t="dotted";break;case m.Solid:default:t="solid";break}return t}function O(e,t){let i=document.createElement("a");i.style.display="none",i.download=t,i.setAttribute("href",e),i.click(),i.remove(),URL.revokeObjectURL(e)}function V(e){return e!=null&&(e.style.removeProperty("opacity"),e.remove()),null}return{a:S,b:E,c:h,d:A,e:w,f:C,g:I,h:P,i:R,j:U,k:j,l:B,m:G,n:K,o:M,p:W,q:O,r:V}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
package/dist/cdn/NBM6U2WH.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import f from"./3WG6Q4LQ.js";import e from"./KBVU7Q3O.js";import d from"./IOBORWRZ.js";import c from"./PQ4YQYOO.js";import b from"./KOCR3CZQ.js";import"./LQ2IMORC.js";import a from"./K5JHQOEN.js";import"./JRS6QQS5.js";import"./XNYGCR7R.js";import"./QNOI7GRC.js";import"./2TAQ5BUD.js";import{a as i}from"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{Ta:s,ya:a},{za:o},,{A:F,a:r,b:n,c:h,d:m,e:g,f:f,g:l,h:c,i:d,j:y,k:p,l:S,m:u,n:C,o:v,p:_,q:w,r:D,s:b,t:M,u:O,v:U,w:N,x:T,y:B,z:E},{a:x,c:I,e:A},{a:H,b:L,c:W,d:j}])=>{var e=class extends x{constructor(){super(...arguments),this._chartType=i.HistogramSeries}async setup(t){await this.loadConfigFromLayer(t),this.resolveSetup()}getNumericField(){return n(this._config)}async setNumericField(t){await h(t,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericField")}getBinCount(){return f(this._config)}setBinCount(t){l(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setBinCount")}getBinSymbol(){return c(this._config)}setBinSymbol(t){d(t,this._config),this.emitConfigUpdate("setBinSymbol")}getDataTransformationType(){return m(this._config)}setDataTransformationType(t){g(t,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataTransformationType")}getMeanSymbol(){return S(this._config)}setMeanSymbol(t){u(t,this._config),this.emitConfigUpdate("setMeanSymbol")}getMedianSymbol(){return C(this._config)}setMedianSymbol(t){v(t,this._config),this.emitConfigUpdate("setMedianSymbol")}getNormalDistSymbol(){return y(this._config)}setNormalDistSymbol(t){p(t,this._config),this.emitConfigUpdate("setNormalDistSymbol")}getStandardDevSymbol(){return _(this._config)}setStandardDevSymbol(t){w(t,this._config),this.emitConfigUpdate("setStandardDevSymbol")}getShowNormalDistOverlay(){return D(this._config)}setShowNormalDistOverlay(t){b(t,this._config),this.emitConfigUpdate("setShowNormalDistOverlay")}getShowMeanOverlay(){return M(this._config)}setShowMeanOverlay(t){O(t,this._config),this.emitConfigUpdate("setShowMeanOverlay")}getShowMedianOverlay(){return U(this._config)}setShowMedianOverlay(t){N(t,this._config),this.emitConfigUpdate("setShowMedianOverlay")}getShowStandardDevOverlay(){return T(this._config)}setShowStandardDevOverlay(t){B(t,this._config),this.emitConfigUpdate("setShowStandardDevOverlay")}getSeriesOverlay(){return E(this._config)}setSeriesOverlays(t){F(t,this._config),this.emitConfigUpdate("setSeriesOverlay")}async generateChartTitle(){return await r(this._config,this.layerInfo)}generateXAxisTitle(){let t=this.getNumericField();return s(this.layerInfo.layerFieldsInfo,t)}async generateDefaultConfig(){return await a()}};o(e,[I,L,W,H,j,A]);return e},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c,d,e,f)
|
package/dist/cdn/QGPCFG3H.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import k from"./RYQMJ52X.js";import j from"./RFGF7KWZ.js";import i from"./L65KPPHQ.js";import g from"./SKLAICBI.js";import f from"./JPQIMIWY.js";import e from"./3WG6Q4LQ.js";import d from"./KBVU7Q3O.js";import c from"./PQ4YQYOO.js";import b from"./KOCR3CZQ.js";import"./LQ2IMORC.js";import a from"./K5JHQOEN.js";import"./JRS6QQS5.js";import{b as m}from"./XNYGCR7R.js";import{F as n}from"./QNOI7GRC.js";import"./2TAQ5BUD.js";import{a as h}from"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{B:S,I:c,ea:o,qa:d,r:f},{La:a,za:y},,,,,{a:g,b:p,c:u},,{b:b,d:I,f:_,h:k,j:v},{a:w,b:F}])=>{var l=class extends u{constructor(){super(...arguments),this._chartType=h.LineSeries}async setup(i){await this.loadConfigFromLayer(i),this.commonStrings=await m(f().locale,n("./assets/common/t9n"),"messages."),i.config!==void 0&&this.updateSeriesFromLayerFilter(),await this.initDefaultSeries(),this.resolveSetup()}async generateDefaultConfig(){let i=await d();return i.series=[await o({objectIDField:this.layerInfo?.objectIdField})],i}async initDefaultSeries(){this.defaultSeries=await o({objectIDField:this.layerInfo?.objectIdField})}resetSeriesStyling(){let i=this.getSeriesLength();for(let e=0;e<i;e+=1){let r=c({colorIndex:e,opacity:S});if(p(r,e,this._config),_(r,e,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(e),s=a({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&g(s??t,e,this._config)}b(this.defaultSeries?.lineSymbol?.style,e,this._config),I(this.defaultSeries?.lineSymbol?.width,e,this._config),k(this.defaultSeries?.markerSymbol?.style,e,this._config),v(this.defaultSeries?.markerSymbol?.size,e,this._config)}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let i=!this.getColorMatch(),e=!1;if(!i){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){if(this.layerInfo!==void 0){let s=a({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),L=this.getSeriesName(t);s!==void 0&&s!==this.layerInfo.objectIdField&&s!==L&&(e=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){e=!0;break}}}return i||e}};y(l,[F,w]);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c,d,e,f,g,i,j,k)
|
package/dist/cdn/SKUBFSJ5.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import b from"./JPTPQRLH.js";import{a as u}from"./KMTGQDFZ.js";import{a as f}from"./AWW24X7A.js";import a from"./K5JHQOEN.js";import"./JRS6QQS5.js";import{a as v}from"./AB2IALOS.js";import"./XNYGCR7R.js";import{C as p,E as C,g as d,h as s,l as r,y as m,z as o}from"./QNOI7GRC.js";import"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{q:g},{a:w}])=>{var n={addChartContainer:"add-chart-container",viewChartComponent:"view-chart-component",header:"header",dropdownPopup:"dropdown-popup"},I=d`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`,l=class extends m{constructor(){super(...arguments),this._messages=v(),this.chartRenamePopover=null,this.popoverClose=()=>{let e=this.modelList?.find(t=>t.getChartId()===this.selectedChartId);this.chartTitle=e?.getTitleText()??"",this.selectedActionChartId="",this.removeChartRenamePopover()},this.onChartRename=e=>{this.disableEditing||(this.chartTitle=e.detail.name,this.modelList?.find(t=>t.getChartId()===this.selectedActionChartId)?.setTitleText(this.chartTitle),this.selectedActionChartId="",this.removeChartRenamePopover())},this.onModelConfigChange=()=>{this.requestUpdate()},this.onCalciteListOrderChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;if(this.modelList!==void 0&&this.modelList?.length>0){let a=[...this.modelList],c=a?.[i],h=a?.[t];c&&h&&(a.splice(i,1),a.splice(t,0,c)),this.arcgisChartsConfigModelListReorder.emit({modelList:a})}}},this.chartTitle="",this.noGroup=!1,this.disableEditing=!1,this.arcgisChartsConfigModelListReorder=r(),this.arcgisChartsConfigViewChartAddChart=r(),this.arcgisChartsConfigViewChartDelete=r(),this.arcgisChartsConfigViewChartEdit=r(),this.arcgisChartsConfigViewChartSelect=r()}static{this.properties={isChartRenamePopoverOpen:16,chartTitle:16,selectedActionChartId:16,messageOverrides:0,selectedChartId:3,layer:0,modelList:2,noGroup:7,disableEditing:7}}static{this.styles=I}willUpdate(e){e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList"))}disconnectedCallback(){super.disconnectedCallback(),this.removeChartRenamePopover()}modelListChange(e,t){t?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e?.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)})}onAddChartClick(e){e.stopImmediatePropagation(),this.arcgisChartsConfigViewChartAddChart.emit({referenceElement:e.target,layerId:this.layer?.id.toString()})}buildChartList(){let e=this.modelList?u(this.modelList,t=>t.getChartId(),(t,i)=>{let a=t.getChartId(),c=t.getTitleText(),h=w(t.getConfig());return s`<calcite-list-item .label=${c??a??g(this._messages.chartTitle??"",{index:i.toString()})} .selected=${this.selectedChartId===(a?.toString()??i.toString())} .value=${a??i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${h}></calcite-icon>${this.disableEditing?null:s`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end @calciteDropdownClose=${()=>this.chartActionClosed(a??"")} @calciteDropdownOpen=${()=>this.chartActionOpened(a??"")} class=${o(n.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions??""} slot=trigger .active=${a===this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${$=>$.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`}):null;return this.layer?s`<div>${this.noGroup?null:s`<p class=${o(n.header)}>${this.layer.title??this.layer.id.toString()}</p>`}<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing?null:s`<div class=${o(n.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list></div>`:null}onChartSelect(e){let t=e.currentTarget,i;t?.localName==="calcite-list-item"?i=t.value:t?.localName==="calcite-icon"&&(i=t.parentNode.value),this.arcgisChartsConfigViewChartSelect.emit({chartId:i})}chartEditSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartEdit.emit({chartId:this.selectedActionChartId}),this.chartActionClosed(this.selectedActionChartId))}chartRenameSelect(e){if(!this.disableEditing){let t=e.target.closest("calcite-list-item"),i=this.modelList?.find(a=>a.getChartId()===this.selectedActionChartId);t!==null&&(this.renameReferenceElement=t),this.arcgisChartsConfigViewChartSelect.emit({chartId:this.selectedActionChartId}),this.chartTitle=i?.getTitleText()??"",this.setupRenamePopover()}}chartDeleteSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartDelete.emit({chartId:this.selectedActionChartId}),this.selectedActionChartId="")}chartActionClosed(e){e===this.selectedActionChartId&&!this.isChartRenamePopoverOpen&&(this.selectedActionChartId="")}chartActionOpened(e){this.selectedActionChartId=e}setupRenamePopover(){this.isChartRenamePopoverOpen=!0,this.chartRenamePopover!==null&&(this.chartRenamePopover.name=this.chartTitle,this.chartRenamePopover.referenceElement=this.renameReferenceElement),this.chartRenamePopover=p(s`<arcgis-charts-config-chart-rename-popover .name=${this.chartTitle} .referenceElement=${this.renameReferenceElement} .open=${this.isChartRenamePopoverOpen} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigChartRenamePopoverChange=${this.onChartRename}></arcgis-charts-config-chart-rename-popover>`),!document.body.contains(this.chartRenamePopover)&&this.chartRenamePopover!==null&&document.body.appendChild(this.chartRenamePopover)}removeChartRenamePopover(){this.chartRenamePopover!==null&&(this.isChartRenamePopoverOpen=!1,this.chartRenamePopover=f(this.chartRenamePopover))}render(){return s`<div class=${o(n.viewChartComponent)}>${this.buildChartList()}</div>`}};C("arcgis-charts-config-view-charts",l);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
|
package/dist/cdn/XNYGCR7R.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
var m=(n,o)=>{let t=n;for(;t;){if(t===o)return!0;if(!t.parentNode)return!1;t.parentNode instanceof ShadowRoot?t=t.parentNode.host:t=t.parentNode}return!1},d=(n,o,t)=>{let s=p(o).subscribe;return s(e=>{e.some(r=>m(n,r.target))&&t()})},l={},p=n=>{let o=n.join(","),t=l[o];if(t!==void 0)return t;let s=new Set,e=new MutationObserver(r=>s.forEach(a=>a(r)));globalThis.document&&e.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let c={subscribe:r=>(s.add(r),()=>{s.delete(r),s.size===0&&(e.disconnect(),l[o]=void 0)})};return l[o]=c,c},b=(n,o)=>{let t=n;for(;t;){let s=t.closest?.(o);if(s)return s;let e=t.getRootNode?.();if(e===globalThis.document)return;t=e.host}};var f=(n,o,t)=>b(n,`[${o}]`)?.getAttribute(o)??t;var E="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),v=new Set(E),i="en",C={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},N=async(n,o,t="")=>{let s=`${o}/${t}`,e=`${s}${n}.json`;return u[e]??(u[e]=h(n,s)),await u[e]},u={},h=async(n,o)=>{let t=`${o}${n}.json`;try{let s=await fetch(t);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return n===i?{}:await h(i,o)},y=n=>{let o=f(n,"lang",globalThis.navigator?.language||i);return{lang:o,t9nLocale:g(o)}},g=n=>{let[o,t]=n.split("-"),s=o.toLowerCase(),e=s;return t&&(e=`${s}-${t.toUpperCase()}`),e=C[e]??e,v.has(e)?e:t?g(s):i},w=(n,o,t,s)=>{let e,c=()=>L(n,o(),s).then(r=>{(e?.lang!==r.lang||e.t9nLocale!==r.t9nLocale||e.t9nStrings!==r.t9nStrings)&&t(r),e=r}).catch(console.error);return queueMicrotask(c),d(n,["lang"],c)},L=async(n,o,t=n.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:e}=y(n),c=`${o}/${t}/t9n`,a=t===null?{}:await N(e,c,"messages.");return{lang:s,t9nLocale:e,t9nStrings:a}};export{v as a,N as b,y as c,w as d};
|
package/dist/cdn/XXQ6LNDW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import j from"./YHI7LD65.js";import i from"./SKLAICBI.js";import h from"./JPQIMIWY.js";import g from"./3WG6Q4LQ.js";import f from"./KBVU7Q3O.js";import e from"./PQ4YQYOO.js";import d from"./KOCR3CZQ.js";import"./LQ2IMORC.js";import b from"./K5JHQOEN.js";import"./JRS6QQS5.js";import{b as c}from"./XNYGCR7R.js";import{F as a}from"./QNOI7GRC.js";import"./2TAQ5BUD.js";import{a as n}from"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{B:m,I:f,ha:h,oa:g,r:d},{La:o},,,,,{a:l,b:S,c:p},{a:y,b:I,c:b,d:u}])=>{var v=class extends p{constructor(){super(...arguments),this._chartType=n.BarSeries}async setup(e){await this.loadConfigFromLayer(e),this.commonStrings=await c(d().locale,a("./assets/common/t9n"),"messages."),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),this.resolveSetup()}async generateDefaultConfig(){let e=await g();return e.series=[await h({objectIDField:this.layerInfo?.objectIdField})],e}getSeriesHideOversizedSideBySideLabels(e){return y(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){I(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels")}getSeriesHideOversizedStackedLabels(e){return b(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){u(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels")}resetSeriesStyling(){let e=this.getSeriesLength();for(let i=0;i<e;i+=1){let r=this.getSeriesId(i),t=f({colorIndex:i,opacity:m});if(S(t,i,this._config),this.layerInfo!==void 0){let s=o({config:this._config,seriesIndex:i,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&l(s??r,i,this._config)}}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let e=!this.getColorMatch(),i=!1;if(!e&&this.layerInfo!==void 0){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){let s=o({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),L=this.getSeriesName(t);if(s!==void 0&&s!==this.layerInfo.objectIdField&&s!==L){i=!0;break}}}return e||i}};return v},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,d,e,f,g,h,i,j)
|
package/dist/cdn/YWAFGBQB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import l from"./YHI7LD65.js";import k from"./RFGF7KWZ.js";import j from"./L65KPPHQ.js";import i from"./SKLAICBI.js";import h from"./JPQIMIWY.js";import f from"./3WG6Q4LQ.js";import e from"./KBVU7Q3O.js";import d from"./PQ4YQYOO.js";import c from"./KOCR3CZQ.js";import{i as r,k as n,l as g}from"./LQ2IMORC.js";import b from"./K5JHQOEN.js";import"./JRS6QQS5.js";import"./XNYGCR7R.js";import"./QNOI7GRC.js";import"./2TAQ5BUD.js";import{a}from"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,{ea:l,ha:c,oa:d},,,,,,{b:h,c:S},,{a:m,b:p,c:_,d:b,e:y,f:u,g:C,h:k,i:L,j:v,k:I,l:B,m:M,n:f,o:U,p:V,q:z,t:F,u:j},{a:w,b:A,c:D,d:O}])=>{var T=class extends S{constructor(){super(...arguments),this._chartType=a.ComboLineAndBarSeries}getConfig(){return this._config}async setup(e){await this.loadConfigFromLayer(e),e.config!==void 0&&(g(e.config?.series)&&await this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),this.resolveSetup()}async generateDefaultConfig(){let e=await d();return e.series=[await c({objectIDField:this.layerInfo?.objectIdField})],e}async initDefaultSeries(){this.defaultSeries=await l({objectIDField:this.layerInfo?.objectIdField})}async setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let s=this._config.series[e],o;if(i===a.BarSeries&&r(s)){let t={...s};delete t.lineSymbol,delete t.markerSymbol,delete t.lineSmoothed,delete t.markerVisible,delete t.areaColor,delete t.stackNegativeValuesToBaseline,o={...await c({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.BarSeries,y:[s.y].flat()[0]},o.fillSymbol&&(o.fillSymbol={...o.fillSymbol,color:s.lineSymbol?.color})}else if(i===a.LineSeries&&n(s)){let t={...s};delete t.fillSymbol,delete t.hideOversizedStackedLabels,delete t.hideOversizedSideBySideLabels,o={...await l({objectIDField:this.layerInfo?.objectIdField}),...t,type:a.LineSeries},o.lineSymbol&&(o.lineSymbol={...o.lineSymbol,color:s.fillSymbol?.color})}o!==void 0&&(this._config.series[e]=o,this.emitConfigUpdate("setDataType"))}}getSeriesLineStyle(e){return m(e,this._config)}setSeriesLineStyle(e,i){let s=this._config.series?.[i];r(s)&&(p(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))}getSeriesLineWidth(e){return _(e,this._config)}setSeriesLineWidth(e,i){let s=this._config.series?.[i];r(s)&&(b(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))}getSeriesMarkerColor(e){return y(e,this._config)}setSeriesMarkerColor(e,i){let s=this._config.series?.[i];r(s)&&(u(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))}getSeriesMarkerStyle(e){return C(e,this._config)}setSeriesMarkerStyle(e,i){let s=this._config.series?.[i];r(s)&&(k(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))}getSeriesMarkerSize(e){return L(e,this._config)}setSeriesMarkerSize(e,i){let s=this._config.series?.[i];r(s)&&(v(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))}isLineSmoothed(e){return I(e,this._config)}setLineSmoothed(e,i){let s=this._config.series?.[i];r(s)&&(B({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))}isAreaVisible(e){return M(e,this._config)}setAreaVisible(e,i){let s=this._config.series?.[i];r(s)&&(f({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))}isMarkerVisible(e){return U(e,this._config)}setMarkerVisible(e,i){let s=this._config.series?.[i];r(s)&&(V({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))}getAreaColor(e){return z(e,this._config)}setAreaColor(e,i){let s=this._config.series?.[i];r(s)&&(f({visible:!0,seriesIndex:i,config:this._config}),h(e,i,this._config),this.emitConfigUpdate("setAreaColor"))}isNegativeValuesStackedToBaseline(e){return F(e,this._config)}setNegativeValuesStackedToBaseline(e,i){let s=this._config.series?.[i];r(s)&&(j({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))}getSeriesHideOversizedSideBySideLabels(e){return w(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let s=this._config.series?.[i];n(s)&&(A(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))}getSeriesHideOversizedStackedLabels(e){return D(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let s=this._config.series?.[i];n(s)&&(O(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))}};return T},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d,e,f,h,i,j,k,l)
|
package/dist/cdn/Z6NPLELW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import{b as f}from"./AWW24X7A.js";import b from"./MKU2YNPA.js";import"./7ZSNAUGQ.js";import a from"./K5JHQOEN.js";import{u as d}from"./JRS6QQS5.js";import{a as g}from"./AB2IALOS.js";import"./XNYGCR7R.js";import{E as p,g as c,h,l as i,w as n,x as s,y as m,z as t}from"./QNOI7GRC.js";import"./2TAQ5BUD.js";import"./CLSOBCMJ.js";import"./6A5PJT24.js";export default $arcgis.t(([,,,,,,,,{h:u,i:o}])=>{var a={jsAppFlyout:"js-app-flyout",chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},v=c`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,r=class extends m{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=n(),this.popoverElement=n(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.arcgisChartsConfigChartRenamePopoverChange=i(),this.arcgisChartsConfigPopoverClose=i()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:3,open:5,referenceElement:0}}static{this.styles=v}async reposition(){await this.popoverElement.value?.reposition()}load(){this.changedName=this.name}willUpdate(e){e.has("name")&&(this.hasUpdated||this.name!=="")&&this.changeName(this.name)}updated(){this.popoverElement.value?.reposition(),f(this.popoverElement.value,this.open)}changeName(e){this.changedName=e}onNameChange(e){let l=e.target.value;this.changedName=l,this.isChartTitleInvalid=d(l.trim()),this.characterLimitInputElement.value&&u({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?o.INVALID:o.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return h`<div class=${t({[a.chartRenameComponent]:!0,[a.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label .autoClose=${this.open} ${s(this.popoverElement)}><calcite-panel class=${t(a.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${t(a.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${s(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};p("arcgis-charts-config-chart-rename-popover",r);return r},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
|
package/dist/cdn/ZQO5JHN2.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.81 */
|
|
4
|
-
import b from"./KOCR3CZQ.js";import a from"./K5JHQOEN.js";import{p as x,r as P,u as j,y as W}from"./JRS6QQS5.js";import{b as $}from"./XNYGCR7R.js";import{F as V}from"./QNOI7GRC.js";import{c as g,d as y}from"./2TAQ5BUD.js";import{b as u,h as p,w as f}from"./CLSOBCMJ.js";export default $arcgis.t(([,,,,,,,{Ba:K,Ta:D,V:z,b:S,c:A,la:G,q:T,r:E,xc:v},{N:_,a:O,b:h,ka:U,p:R}])=>{async function N(o){let{config:a,layerInfo:e,mode:t}=o,i=e!==void 0?await L({config:a,layerInfo:e,mode:t}):"",s=R(a),n=v(a);return i===s||n}async function B(o){let{config:a,layerInfo:e,mode:t}=o,i=e!==void 0?await h({config:a,layerInfo:e,numericFields:m(a),aggregationType:F(a,t)}):"",s=_(1,a),n=v(a);return i===s||n}var k=o=>o.series?.[0]?.x??"";function X(o,a){let e=o.series?.[0];return[`${a===y.Category?e.y:A} ${p.Descending}`]}var H=(o,a)=>{let e=g.valueDesc,t=o.orderOptions?.data?.orderType??X(o,a),i=o.orderOptions?.data?.orderBy??p.Descending;return t===f.Category&&Array.isArray(i)?e=g.customSort:t===f.Category?i===p.Ascending?e=g.labelAsc:e=g.labelDesc:i===p.Ascending?e=g.valueAsc:e=g.valueDesc,e},m=x(o=>{let a=[];return a=o.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[o.series?.[0]?.y??""],[...new Set(a.filter(e=>e!==""))]},o=>o.series),F=(o,a)=>{let e=m(o),t;return a===y.Fields&&e.length===0?t=u.Sum:t=o.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,t};async function J(o){let{config:a,layerInfo:e,mode:t}=o,{objectIdField:i}=e??{},s=await G(i),n=k(a),c=a.series[0]?.dataLabels?.visible??!1,r={...s,x:t===y.Category?n:S,slices:a.series?.[0]?.slices,dataLabels:{...s.dataLabels,visible:c},innerRadiusSize:a.series?.[0]?.innerRadius,sliceGrouping:a.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:a.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:a.series?.[0]?.numericValueFormat,percentValueFormat:a.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:a.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:a.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:a.series?.[0]?.displayPercentageOnDataLabel},l=F(a,t);if(l!==u.NoAggregation&&i!==void 0){let d=`${l}_${i}_0`.toUpperCase();r.y=t===y.Category?d:A,r.query={outStatistics:t===y.Category?[{statisticType:l,onStatisticField:i,outStatisticFieldName:d}]:[]}}return t===y.Category&&r.query!==void 0?r.query.groupByFieldsForStatistics=[n]:delete r.query?.groupByFieldsForStatistics,P(r)}async function L(o){let{config:a,layerInfo:e,mode:t}=o,{layerFieldsInfo:i,objectIdField:s}=e,n=k(a),c=m(a),r=F(a,t),l=c.length===0||c.includes(s),d=await K(r),I=l?"":c.map(Q=>D(i??[],Q)).join(", "),b=D(i??[],n),C="",w=await $(E().locale,V("./assets/common/t9n"),"messages."),q;return t===y.Fields?q=c.length===0:q=n==="",q?C=w.utilsStrings.chartType.pieChart:r===u.NoAggregation?C=T(w.titleLabels.aggrFieldsByCategory,{aggregationFields:l?s:I,category:b}):r===u.Count?C=T(w.titleLabels.aggrTypeCategory,{aggregationType:d,category:b}):c.length>0&&(b===S||j(b)||W(b)?C=T(w.titleLabels.aggrTypeOfAggrFields,{aggregationType:d,aggregationFields:I}):C=T(w.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:d,aggregationFields:I,category:b})),C}var ue=o=>{let{newSortOrderKind:a,config:e,orderByList:t}=o;e.orderOptions??={},a===g.customSort&&t!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...t]}:e.orderOptions.data={orderType:a===g.labelAsc||a===g.labelDesc?f.Category:f.YValue,orderBy:a===g.labelAsc||a===g.valueAsc?p.Ascending:p.Descending}},fe=async o=>{let{newCategory:a,config:e,layerInfo:t,mode:i}=o,s=e.series?.length??0,n=await N({config:e,layerInfo:t,mode:i}),c=await B({config:e,layerInfo:t,mode:i});if(e.series.forEach(r=>{r.x=i===y.Category?a:S,r.query!==void 0&&a!==S?r.query.groupByFieldsForStatistics=[a]:delete r.query?.groupByFieldsForStatistics}),s===0){let r=[await J({config:e,layerInfo:t,mode:i})];e.series=r}if(t!==void 0){if(c){let l=await h({config:e,layerInfo:t,numericFields:m(e),aggregationType:F(e,i)});O(e,1,l)}e.title&&n&&(e.title.content.text=await L({config:e,layerInfo:t,mode:i}));let r=i===y.Fields?m(e).filter(l=>l!==t.objectIdField):m(e);await Y({newNumericFields:r,config:e,layerInfo:t,mode:i})}};async function M(o){let{numericFields:a,aggregationType:e,config:t,layerInfo:i,mode:s}=o,n=[],c=await J({config:t,layerInfo:i,mode:s}),r={...c,query:{...c.query}};a.length<=1?r.query.where=c.query?.where:delete r.query.where;let l=U({config:t,numericFields:a,aggregationType:e,mode:s,layer:i.layer}).name;if(e!==u.NoAggregation)if(s===y.Category){if(a.length>0){let d=a[0];r.query.outStatistics=[{...c.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:l,statisticType:e}]}}else for(let d of a)r.query.outStatistics?.push({onStatisticField:d,outStatisticFieldName:d,statisticType:e});else r.query={};r.y=l,n.push(r),t.series=n}var me=async o=>{let{newAggregationType:a,config:e,layerInfo:t,mode:i}=o,s=m(e),n=await N({config:e,layerInfo:t,mode:i}),c=await B({config:e,layerInfo:t,mode:i});if(await M({config:e,layerInfo:t,numericFields:s,aggregationType:a,mode:i}),c){let I=await h({config:e,layerInfo:t,numericFields:m(e),aggregationType:F(e,i)});O(e,1,I)}e.title&&n&&(e.title.content.text=await L({config:e,layerInfo:t,mode:i}));let r=e.series?.[0]?.displayCategoryOnDataLabel,l=e.series?.[0]?.displayNumericValueOnDataLabel,d=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??z(),displayNumericValue:l,displayPercentage:d,displayCategory:r}},Y=async o=>{let{newNumericFields:a}=o,{config:e,layerInfo:t,mode:i}=o,{objectIdField:s}=t??{},n=F(e,i),c=await N({config:e,layerInfo:t,mode:i}),r=await B({config:e,layerInfo:t,mode:i});if(a=a===""?[]:a,a=typeof a=="string"?[a]:a,s!==void 0&&(a.length===0&&i===y.Category?(a.push(s),n=u.Count):n===u.Count&&a.length>=1&&!a.includes(s)&&(n=u.Sum)),t!==void 0){if(await M({config:e,layerInfo:t,numericFields:a,aggregationType:n,mode:i}),r){let l=await h({config:e,layerInfo:t,numericFields:m(e),aggregationType:F(e,i)});O(e,1,l)}e.title&&c&&(e.title.content.text=await L({config:e,layerInfo:t,mode:i}))}else e.series.forEach(l=>{delete l.query,l.y=a[0]})},pe=(o,a)=>{let e=[],t=o.orderOptions?.data?.orderType,i=H(o,a),s=o.orderOptions?.data?.orderBy;return i===g.customSort&&t===f.Category&&Array.isArray(s)&&(e=s),e},Fe=o=>{let{values:a,config:e,mode:t}=o;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;H(e,t)===g.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...a]})};return{a:k,b:H,c:m,d:F,e:L,f:ue,g:fe,h:me,i:Y,j:pe,k:Fe}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
|