@arcgis/charts-components 5.2.0-next.12 → 5.2.0-next.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{RIM4HLHN.js → 225VUGML.js} +3 -3
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 25NQZWDJ.js} +1 -1
- package/dist/cdn/27DMKFXK.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2LE4U3GT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/3QSV7I2J.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → 4AGGUR7V.js} +1 -1
- package/dist/cdn/{YKDW7ZW3.js → 4BU5FKOK.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4ETHEVDM.js +2 -0
- package/dist/cdn/{H3EXGCE7.js → 4EVQDXRQ.js} +1 -1
- package/dist/cdn/{Y6ZCTPJW.js → 4LVRKWF5.js} +1 -1
- package/dist/cdn/{YBN53S4C.js → 4QQPANET.js} +1 -1
- package/dist/cdn/4YFDRBNS.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5LI7FA5C.js +2 -0
- package/dist/cdn/5NMUWLMG.js +2 -0
- package/dist/cdn/5S5FI5VM.js +2 -0
- package/dist/cdn/5SYHQWPP.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/65WBRNOB.js +2 -0
- package/dist/cdn/6UUPPMVB.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7DMHLVYX.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → 7O6SCTBS.js} +1 -1
- package/dist/cdn/7QDL4TE3.js +3 -0
- package/dist/cdn/7SE3B7E2.js +2 -0
- package/dist/cdn/{AQIB3VEP.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/7WZGORIO.js +45 -0
- package/dist/cdn/{ANN3O54W.js → 7X5PS5MV.js} +1 -1
- package/dist/cdn/7XTX3KFW.js +2 -0
- package/dist/cdn/{IYA7HQMS.js → A45T4SGW.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{3MKY6UCO.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/ASQ2GJVW.js +2 -0
- package/dist/cdn/{ZW4PF3UK.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → B2QGEILG.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BG65SP3R.js +2 -0
- package/dist/cdn/BIUADXHB.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → BXBWUGTG.js} +1 -1
- package/dist/cdn/BYRJMIXU.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/C22JKC32.js +2 -0
- package/dist/cdn/{QNT6HTFC.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/CZGKNCIX.js +2 -0
- package/dist/cdn/D5DOFLCS.js +2 -0
- package/dist/cdn/{L47EGLUH.js → DEWO6MFE.js} +1 -1
- package/dist/cdn/{GHLJNZ27.js → DPICOEXC.js} +1 -1
- package/dist/cdn/EAQZOXHL.js +2 -0
- package/dist/cdn/EB5Z3G6D.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → EJZ6NU2N.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → ELQS5MAK.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/FC6VMJIM.js +2 -0
- package/dist/cdn/FF547HMW.js +2 -0
- package/dist/cdn/FNDN7EW7.js +2 -0
- package/dist/cdn/FTTD7LG7.js +2 -0
- package/dist/cdn/FVYM4LYH.js +2 -0
- package/dist/cdn/HBNL5LOO.js +2 -0
- package/dist/cdn/HI7Z5QTR.js +2 -0
- package/dist/cdn/{3TZEMBXR.js → HJKWGAQO.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → HMQZNQ5T.js} +1 -1
- package/dist/cdn/HPJM5ZOD.js +2 -0
- package/dist/cdn/{2XXW3WF3.js → HQN32N6X.js} +1 -1
- package/dist/cdn/HQX6SMWC.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → HT7GYDUR.js} +1 -1
- package/dist/cdn/HXB7PSCG.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{RSNZMJ6I.js → I4GFM5GU.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → ICT3SVPI.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → IEX5F3HF.js} +1 -1
- package/dist/cdn/{LU5S2VRK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{WAINRCCJ.js → J6I76WI5.js} +1 -1
- package/dist/cdn/J6RFRXEU.js +2 -0
- package/dist/cdn/{5SIAOUPO.js → JEK42B7A.js} +1 -1
- package/dist/cdn/JPCSR3D6.js +2 -0
- package/dist/cdn/JQ7S563J.js +2 -0
- package/dist/cdn/JTO6MPTF.js +2 -0
- package/dist/cdn/{SERX6V5M.js → KEL7OP2I.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → KLIDPT5L.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{ULWJ57VT.js → KQVS655Z.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LE4F6FBR.js +2 -0
- package/dist/cdn/LGS2QMGB.js +2 -0
- package/dist/cdn/LQKGTJZ6.js +2 -0
- package/dist/cdn/{S7Z4HRW7.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/N7E2X5IX.js +2 -0
- package/dist/cdn/NI5E2OS4.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/NNCCPCL2.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O5QM6RFL.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OKH3U3GN.js +2 -0
- package/dist/cdn/OMLLMMVS.js +2 -0
- package/dist/cdn/OQEUNYYG.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/P3VQFUQZ.js +2 -0
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{KL33ETQG.js → PENUTMVD.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{XDMGH7YU.js → PN4ODOZS.js} +1 -1
- package/dist/cdn/{OEOAL6JO.js → PO2ZDNTQ.js} +1 -1
- package/dist/cdn/POB26WCE.js +2 -0
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → QFNEF7QI.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QJL354WC.js +4 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{LROW4Y6O.js → RKBKWWDI.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/RWAKKYLM.js +2 -0
- package/dist/cdn/S2G75NCQ.js +2 -0
- package/dist/cdn/S5QSKGOD.js +2 -0
- package/dist/cdn/SDDU5POB.js +104 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/STJ2HTKL.js +2 -0
- package/dist/cdn/{TFPQDMER.js → SXSCCW3M.js} +1 -1
- package/dist/cdn/SZHJZL2A.js +2 -0
- package/dist/cdn/{JHANH4UG.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/T3VRQEKN.js +2 -0
- package/dist/cdn/{I6UPUSLQ.js → T6WRXCXQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/TOMROR3N.js +2 -0
- package/dist/cdn/{AASL4RKT.js → TOVGPC7A.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/U3W5ZPMZ.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UGJ6ZOQG.js +2 -0
- package/dist/cdn/UGLK7BBG.js +2 -0
- package/dist/cdn/UQP6Q7H2.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UVKFQG23.js +2 -0
- package/dist/cdn/{MK5ZYSOD.js → UWACYGOL.js} +1 -1
- package/dist/cdn/V6MI3KKW.js +2 -0
- package/dist/cdn/V7JCHSX7.js +2 -0
- package/dist/cdn/VIQEFX6O.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{A636YSNA.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/VVWD3AMY.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → W474T3B6.js} +1 -1
- package/dist/cdn/WFMMHYSH.js +2 -0
- package/dist/cdn/WGGNHZDW.js +2 -0
- package/dist/cdn/WI4ABUKJ.js +2 -0
- package/dist/cdn/WIIKUAWF.js +3 -0
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/WQ5MRC4U.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTMEWLUJ.js +2 -0
- package/dist/cdn/WVOXFKFO.js +2 -0
- package/dist/cdn/{OFWEHJDH.js → WWLSUSF5.js} +1 -1
- package/dist/cdn/{LJDGLKFL.js → X2R5WPB4.js} +1 -1
- package/dist/cdn/XA4KE5YW.js +2 -0
- package/dist/cdn/{N5ZUO6F3.js → XCDLEIMO.js} +1 -1
- package/dist/cdn/{S3ZSZXYG.js → XHHOY7RB.js} +1 -1
- package/dist/cdn/XNGFPEGT.js +2 -0
- package/dist/cdn/XZ37Y4W5.js +2 -0
- package/dist/cdn/{N4L5KE23.js → Y6HBSZ2J.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{2OHFSVV5.js → YJDCSA4D.js} +1 -1
- package/dist/cdn/YM3BNPLM.js +2 -0
- package/dist/cdn/ZAW4TN54.js +2 -0
- package/dist/cdn/ZDQWQTZE.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → ZISYLA7O.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/ZOOL6KEW.js +2 -0
- package/dist/cdn/ZTVR6KBG.js +2 -0
- package/dist/cdn/ZXW6JPMX.js +2 -0
- package/dist/cdn/ZYWOR5AX.js +2 -0
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +105 -68
- package/dist/chunks/action-bar-utils.js +165 -0
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +65 -56
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +270 -238
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +41 -41
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +19 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +9483 -1079
- package/dist/chunks/index2.js +852 -8759
- package/dist/chunks/index3.js +1169 -849
- package/dist/chunks/index4.js +412 -251
- package/dist/chunks/index5.js +66 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +251 -271
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +169 -193
- package/dist/chunks/pie-chart-model.js +374 -319
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +22 -22
- package/dist/chunks/serial-chart-data.js +930 -814
- package/dist/chunks/serial-chart-model.js +147 -125
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +110 -87
- package/dist/chunks/utils2.js +54 -37
- package/dist/chunks/web-component-utils.js +414 -384
- package/dist/chunks/x-bounds.js +106 -101
- package/dist/components/arcgis-chart/customElement.d.ts +729 -257
- package/dist/components/arcgis-chart/customElement.js +11045 -10739
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +206 -13
- package/dist/components/arcgis-charts-action-bar/customElement.js +79 -64
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +25 -26
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +55 -55
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -49
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +61 -29
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +487 -463
- package/dist/interfaces.d.ts +72 -14
- package/dist/json-schema/index.d.ts +155 -6
- package/dist/loader.js +5 -5
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +59 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +10 -2
- package/dist/spec/web-chart.d.ts +34 -4
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +4 -4
- package/dist/utils/chart-config/converter/index.d.ts +2 -3
- package/dist/utils/chart-config/converter/index.js +399 -379
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +32 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +24 -7
- package/dist/utils/layer/interfaces.d.ts +2 -15
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/layer/utils/index.d.ts +26 -9
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/interfaces.d.ts +8 -7
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/package.json +8 -9
- package/dist/cdn/26ESJ72L.js +0 -2
- package/dist/cdn/2PFDGKA5.js +0 -2
- package/dist/cdn/3SBYV6BW.js +0 -2
- package/dist/cdn/3T4NYRGX.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/3UFVHYX5.js +0 -2
- package/dist/cdn/4LQHAOMY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5BADQJ64.js +0 -2
- package/dist/cdn/5F5N7ZZ6.js +0 -2
- package/dist/cdn/5PKMZMGG.js +0 -2
- package/dist/cdn/624WBDC3.js +0 -2
- package/dist/cdn/66GCPNDR.js +0 -2
- package/dist/cdn/6VVUN6AX.js +0 -2
- package/dist/cdn/73JQ2I2Q.js +0 -3
- package/dist/cdn/7HUD5SQI.js +0 -2
- package/dist/cdn/AIFWLINL.js +0 -2
- package/dist/cdn/AZY72Q7D.js +0 -2
- package/dist/cdn/BJYCLLJL.js +0 -2
- package/dist/cdn/BXJZ4YYQ.js +0 -2
- package/dist/cdn/CRCAJAFA.js +0 -2
- package/dist/cdn/CTE365PT.js +0 -2
- package/dist/cdn/CVF3NLTS.js +0 -2
- package/dist/cdn/DKRPN24O.js +0 -2
- package/dist/cdn/DL6PRHZT.js +0 -2
- package/dist/cdn/DOVGECFB.js +0 -2
- package/dist/cdn/DYNPQ2KT.js +0 -2
- package/dist/cdn/ECICE4SU.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EEFS6HU7.js +0 -2
- package/dist/cdn/EYF75TH5.js +0 -2
- package/dist/cdn/EYYQKOXI.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/HQONJQEW.js +0 -2
- package/dist/cdn/IBKS2NZ3.js +0 -2
- package/dist/cdn/IDHDU3DJ.js +0 -2
- package/dist/cdn/IHHPUKGG.js +0 -2
- package/dist/cdn/IM5PHXV3.js +0 -2
- package/dist/cdn/ISSVKLHV.js +0 -2
- package/dist/cdn/IYP3GZSC.js +0 -2
- package/dist/cdn/J2HYDDIW.js +0 -2
- package/dist/cdn/J47CNZCT.js +0 -2
- package/dist/cdn/JKTF2L3L.js +0 -58
- package/dist/cdn/JLWDVTJW.js +0 -2
- package/dist/cdn/JQX5EJZV.js +0 -2
- package/dist/cdn/K2P5RSE5.js +0 -2
- package/dist/cdn/KJPXY6NE.js +0 -2
- package/dist/cdn/KUUBYC33.js +0 -2
- package/dist/cdn/KZTGYTHS.js +0 -2
- package/dist/cdn/LA7COTN7.js +0 -2
- package/dist/cdn/LL757OZ7.js +0 -2
- package/dist/cdn/MGMUUWSP.js +0 -2
- package/dist/cdn/MPSRB65O.js +0 -2
- package/dist/cdn/N5ZIF7M4.js +0 -2
- package/dist/cdn/NVEIMJJ7.js +0 -2
- package/dist/cdn/O363DXQ4.js +0 -102
- package/dist/cdn/O533LNDP.js +0 -2
- package/dist/cdn/ODWDODUY.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PGHVUDMJ.js +0 -2
- package/dist/cdn/PGWOWXHQ.js +0 -2
- package/dist/cdn/PIONRTCB.js +0 -2
- package/dist/cdn/QSBAOCG4.js +0 -2
- package/dist/cdn/QT3VTHUJ.js +0 -2
- package/dist/cdn/RJSCJBFO.js +0 -2
- package/dist/cdn/RMBD6ZSC.js +0 -2
- package/dist/cdn/RMHGA6AU.js +0 -2
- package/dist/cdn/S5EYODWJ.js +0 -2
- package/dist/cdn/SMCXHMTP.js +0 -2
- package/dist/cdn/SN2GPX3I.js +0 -2
- package/dist/cdn/SNMFJ4CN.js +0 -2
- package/dist/cdn/SOOQD5FC.js +0 -2
- package/dist/cdn/T2SFRF7I.js +0 -2
- package/dist/cdn/TCS4HOSG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/U7TKKTUC.js +0 -2
- package/dist/cdn/V2UF2WVE.js +0 -2
- package/dist/cdn/VFUFK3UT.js +0 -2
- package/dist/cdn/VP42WLDX.js +0 -2
- package/dist/cdn/W4XQNHSD.js +0 -4
- package/dist/cdn/W55GZOYQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WMXNQ5XH.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WVV5DAII.js +0 -2
- package/dist/cdn/X5PNAE7T.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XRLVJJBT.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YCJIOFQR.js +0 -2
- package/dist/cdn/Z2UG6CUL.js +0 -2
- package/dist/cdn/ZFK3D55V.js +0 -2
- package/dist/cdn/ZP22BN3G.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/chunks/type-guards3.js +0 -173
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as s, html as c } from "lit";
|
|
4
|
+
import { LitElement as a, safeClassMap as e } from "@arcgis/lumina";
|
|
5
|
+
const i = {
|
|
6
|
+
fieldPickerButtonSection: "field-picker-btn-section",
|
|
7
|
+
fieldPickerButton: "field-picker-btn",
|
|
8
|
+
fieldPickerButtonText: "field-picker-btn-text",
|
|
9
|
+
fieldPickerButtonIcon: "field-picker-btn-icon",
|
|
10
|
+
fieldPickerButtonInvalid: "field-picker-btn-invalid"
|
|
11
|
+
}, n = s`.field-picker-btn-section{background-color:var(--arcgis-charts-input-background);min-width:100%}.field-picker-btn{background:var(--arcgis-charts-background-clear);border:1px solid;border-radius:var(--arcgis-charts-border-radius);display:flex;align-items:center;justify-content:space-between;padding:var(--arcgis-charts-side-spacing-half) var(--arcgis-charts-side-spacing-quarter);cursor:pointer;width:100%;text-align:unset}.field-picker-btn:not(.field-picker-btn-invalid){border-color:var(--arcgis-charts-border)}.field-picker-btn.field-picker-btn-invalid{border-color:var(--arcgis-charts-border-invalid)}.field-picker-btn-exp{width:calc(100% - 32px)}.field-picker-btn-exp .field-picker-btn{border:none;border-radius:0;border-right:1px solid var(--arcgis-charts-border)}.field-picker-btn-text{flex:0 1 auto;overflow:hidden;padding:0 var(--arcgis-charts-side-spacing-eighth);text-overflow:ellipsis;white-space:nowrap}.field-picker-btn-icon{flex:0 0 0%;padding:0 var(--arcgis-charts-side-spacing-half)}.field-picker-btn:disabled{cursor:default}`;
|
|
12
|
+
class d extends a {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments), this.disabled = !1, this.invalid = !1;
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.properties = { label: 1, disabled: 5, invalid: 5 };
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.styles = n;
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const r = `${i.fieldPickerButton} ${this.invalid ? i.fieldPickerButtonInvalid : ""}`;
|
|
24
|
+
return c`<div class=${e(i.fieldPickerButtonSection)}><button class=${e(r)} .disabled=${this.disabled}><span class=${e(i.fieldPickerButtonText)}>${this.label}</span><slot name=fieldPickerSlot></slot><span class=${e(i.fieldPickerButtonIcon)}><calcite-icon scale=s icon=chevron-down></calcite-icon></span></button></div>`;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
t("arcgis-charts-config-field-picker", d);
|
|
28
|
+
export {
|
|
29
|
+
d as ArcgisChartsConfigFieldPicker
|
|
30
|
+
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { c as h } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as m, html as o } from "lit";
|
|
4
4
|
import { merge as i } from "lodash-es";
|
|
5
|
-
import { i as p, m as c,
|
|
5
|
+
import { i as p, m as c, U as r, s as y } from "../../chunks/chart-ui-utils.js";
|
|
6
6
|
import { u } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as S, ref as d } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { N as b } from "../../chunks/index3.js";
|
|
10
|
+
import { b as v } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const C = {
|
|
12
12
|
arial: "Arial",
|
|
13
13
|
arialBlack: "Arial Black",
|
|
@@ -28,7 +28,7 @@ const C = {
|
|
|
28
28
|
font: "font",
|
|
29
29
|
numberInput: "number-input",
|
|
30
30
|
inputLabel: "input-label"
|
|
31
|
-
}, $ = m`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto}:host calcite-panel .font-style-container
|
|
31
|
+
}, $ = m`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto}:host calcite-panel .font-style-container .input-label{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important}:host calcite-panel .font-style-container .number-input{margin-bottom:.5rem;display:flex}:host calcite-panel .font-style-container .number-input>div{width:100%}:host calcite-panel .font-style-container{display:flex}:host calcite-panel .font-style-container calcite-action,:host calcite-panel .font-style-container calcite-label{flex:1 1 0px;display:flex;flex-grow:inherit;width:80px}:host calcite-panel .font-style-container calcite-label{flex-grow:2}:host calcite-panel .font-style-container{padding:0 1rem}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
32
32
|
class E extends g {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments), this._messages = u(), this.fontSizeInputElement = S(), this.fontStyle = {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { ref as
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import { i as
|
|
7
|
-
import {
|
|
8
|
-
import { h as
|
|
9
|
-
import {
|
|
2
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as M } from "lit/directives/ref.js";
|
|
4
|
+
import { l as y, j as d, g as h, m as S, a as V, h as w } from "../../chunks/type-guards2.js";
|
|
5
|
+
import { i as T } from "../../chunks/data-labels-symbol.js";
|
|
6
|
+
import { i as C, a as L, b as P } from "../../chunks/axis-lines-symbol.js";
|
|
7
|
+
import { cloneDeep as n, isArray as F, isObject as A, mergeWith as D, isEmpty as E } from "lodash-es";
|
|
8
|
+
import { h as G } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { R as W, b } from "../../chunks/rest-js-object-literals.js";
|
|
10
10
|
import { u as N } from "../../chunks/useT9n.js";
|
|
11
|
-
import { css as z, html as
|
|
12
|
-
import { LitElement as H, renderElement as
|
|
13
|
-
import { C as
|
|
14
|
-
import {
|
|
11
|
+
import { css as z, html as f } from "lit";
|
|
12
|
+
import { LitElement as H, renderElement as R, safeClassMap as p } from "@arcgis/lumina";
|
|
13
|
+
import { C as j, F as i, L as m } from "../../chunks/common.js";
|
|
14
|
+
import { b as u, bK as r } from "../../chunks/index.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import {
|
|
16
|
+
import { C as I } from "../../chunks/index2.js";
|
|
17
|
+
import { a } from "../../chunks/chart-object-literals.js";
|
|
17
18
|
const v = {
|
|
18
19
|
type: b.TS,
|
|
19
20
|
color: [1, 1, 1, 255],
|
|
@@ -27,14 +28,14 @@ const v = {
|
|
|
27
28
|
}, k = {
|
|
28
29
|
type: b.SLS,
|
|
29
30
|
color: [1, 1, 1, 255],
|
|
30
|
-
style:
|
|
31
|
+
style: W.Solid,
|
|
31
32
|
width: 2
|
|
32
33
|
}, g = {
|
|
33
34
|
element: "chart-element",
|
|
34
35
|
elementList: "element-list",
|
|
35
36
|
sectionLabel: "section-label"
|
|
36
37
|
}, O = z`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
|
|
37
|
-
class
|
|
38
|
+
class X extends H {
|
|
38
39
|
constructor() {
|
|
39
40
|
super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
|
|
40
41
|
const e = t;
|
|
@@ -44,7 +45,7 @@ class R extends H {
|
|
|
44
45
|
this.selectedSymbols = [], this.updateSelectedElement(this.selectedSymbols);
|
|
45
46
|
else {
|
|
46
47
|
const o = this.getFormatValue(s);
|
|
47
|
-
this.selectedSymbols = [s], this.initSelectedSymbols(
|
|
48
|
+
this.selectedSymbols = [s], this.initSelectedSymbols(u(o) ? o : k);
|
|
48
49
|
}
|
|
49
50
|
this.setupFormatPopover();
|
|
50
51
|
}, this.textPropertyChange = (t) => {
|
|
@@ -53,9 +54,9 @@ class R extends H {
|
|
|
53
54
|
let s;
|
|
54
55
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
55
56
|
this.selectedTexts = [];
|
|
56
|
-
const o = this.textProperties.indexOf(this.lastSelectedText ?? s),
|
|
57
|
-
this.textProperties.forEach((
|
|
58
|
-
|
|
57
|
+
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), l = this.textProperties.indexOf(s);
|
|
58
|
+
this.textProperties.forEach((c, x) => {
|
|
59
|
+
x >= Math.min(o, l) && x <= Math.max(o, l) && this.selectedTexts.push(c);
|
|
59
60
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
60
61
|
} else if (e.ctrlKey)
|
|
61
62
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -63,32 +64,38 @@ class R extends H {
|
|
|
63
64
|
this.selectedTexts = [], this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
64
65
|
else {
|
|
65
66
|
const o = this.getFormatValue(s);
|
|
66
|
-
this.selectedTexts = [s], this.initSelectedTexts(
|
|
67
|
+
this.selectedTexts = [s], this.initSelectedTexts(r(o) ? o : v), this.setupFormatPopover();
|
|
67
68
|
}
|
|
68
69
|
this.lastSelectedText = s;
|
|
69
70
|
}, this.backgroundChange = (t) => {
|
|
70
71
|
const e = t;
|
|
71
72
|
e.stopImmediatePropagation();
|
|
72
73
|
let s;
|
|
73
|
-
e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s)
|
|
74
|
+
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s))
|
|
75
|
+
this.selectedBackground = [], this.selectedElement = void 0;
|
|
76
|
+
else {
|
|
77
|
+
const o = this.getFormatValue(s), l = [...I.backgroundColor];
|
|
78
|
+
this.selectedBackground = [s], this.selectedElement = o ?? l;
|
|
79
|
+
}
|
|
80
|
+
this.setupFormatPopover();
|
|
74
81
|
}, this.updateSymbolProps = (t) => {
|
|
75
82
|
const e = t.detail;
|
|
76
83
|
this.selectedSymbols.forEach((s) => {
|
|
77
84
|
this.setFormatValue(s, e);
|
|
78
|
-
}), this.selectedElement =
|
|
85
|
+
}), this.selectedElement = n(t.target.selectedElement);
|
|
79
86
|
}, this.updateBackground = (t) => {
|
|
80
|
-
this.setFormatValue(
|
|
87
|
+
this.setFormatValue(j.Background, t.detail), this.selectedElement = t.detail;
|
|
81
88
|
}, this.updateTextProps = (t) => {
|
|
82
89
|
const { font: e, color: s } = t.detail;
|
|
83
90
|
this.selectedTexts.forEach((o) => {
|
|
84
|
-
const
|
|
91
|
+
const l = this.getFormatValue(o), c = r(l) ? l : void 0;
|
|
85
92
|
this.setFormatValue(o, {
|
|
86
|
-
...
|
|
93
|
+
...c,
|
|
87
94
|
type: b.TS,
|
|
88
|
-
font: { ...
|
|
89
|
-
color: s ??
|
|
95
|
+
font: { ...c?.font, ...e },
|
|
96
|
+
color: s ?? c?.color
|
|
90
97
|
});
|
|
91
|
-
}), this.selectedElement =
|
|
98
|
+
}), this.selectedElement = n(t.target.selectedElement);
|
|
92
99
|
}, this.onModelConfigChange = () => {
|
|
93
100
|
this.requestUpdate();
|
|
94
101
|
}, this.formatPopoverClose = (t) => {
|
|
@@ -128,29 +135,29 @@ class R extends H {
|
|
|
128
135
|
}
|
|
129
136
|
updateSelectedElement(t, e) {
|
|
130
137
|
if (this.selectedElement = void 0, e === void 0) {
|
|
131
|
-
const s =
|
|
132
|
-
this.selectedElement = t?.reduce((o,
|
|
133
|
-
const
|
|
134
|
-
return
|
|
138
|
+
const s = n(this.getFormatValue(t[0]));
|
|
139
|
+
this.selectedElement = t?.reduce((o, l) => {
|
|
140
|
+
const c = this.getFormatValue(l);
|
|
141
|
+
return D(o, c, this.mergeFormatValues);
|
|
135
142
|
}, s);
|
|
136
143
|
} else {
|
|
137
|
-
let s =
|
|
138
|
-
|
|
144
|
+
let s = n(e);
|
|
145
|
+
E(e) && (this.selectedSymbols?.length > 0 && (s = n(k)), this.selectedTexts?.length > 0 && (s = n(v))), this.selectedElement = s;
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
148
|
initSelectedTexts(t) {
|
|
142
|
-
let e =
|
|
143
|
-
|
|
149
|
+
let e = n(t);
|
|
150
|
+
E(t) && (e = n(v)), this.selectedElement = e;
|
|
144
151
|
}
|
|
145
152
|
initSelectedSymbols(t) {
|
|
146
|
-
let e =
|
|
147
|
-
|
|
153
|
+
let e = n(t);
|
|
154
|
+
E(t) && (e = n(k)), this.selectedElement = e;
|
|
148
155
|
}
|
|
149
156
|
setupFormatPopover() {
|
|
150
157
|
this.formatPopover = $(this.formatPopover);
|
|
151
158
|
const t = this.selectedElement;
|
|
152
159
|
t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
|
|
153
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover =
|
|
160
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = R(f`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
|
|
154
161
|
}
|
|
155
162
|
removeFormatPopover() {
|
|
156
163
|
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
|
|
@@ -162,25 +169,25 @@ class R extends H {
|
|
|
162
169
|
case i.Description:
|
|
163
170
|
return this.model.descriptionSymbol;
|
|
164
171
|
case i.XAxisTitle:
|
|
165
|
-
return
|
|
172
|
+
return P(this.model) ? this.model.xAxisTitleSymbol : void 0;
|
|
166
173
|
case i.YAxisTitle:
|
|
167
174
|
return d(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
|
|
168
175
|
case i.AxisLabels:
|
|
169
|
-
return
|
|
176
|
+
return L(this.model) ? this.model.axisLabelsSymbol : void 0;
|
|
170
177
|
case i.GuideLabels:
|
|
171
|
-
return
|
|
178
|
+
return S(this.model) ? this.model.guideLabelsSymbol : void 0;
|
|
172
179
|
case i.LegendText:
|
|
173
180
|
return h(this.model) ? this.model.legendTextSymbol : void 0;
|
|
174
181
|
case i.LegendTitle:
|
|
175
182
|
return h(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
176
183
|
case i.DataLabels:
|
|
177
|
-
return
|
|
178
|
-
case
|
|
179
|
-
return
|
|
180
|
-
case
|
|
184
|
+
return T(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
185
|
+
case m.AxisLines:
|
|
186
|
+
return C(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
187
|
+
case m.GridLines:
|
|
181
188
|
return d(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
182
|
-
case
|
|
183
|
-
return
|
|
189
|
+
case m.LeaderLines:
|
|
190
|
+
return y(this.model) ? this.model.ticksSymbol : void 0;
|
|
184
191
|
case i.Background:
|
|
185
192
|
return this.model.backgroundColor;
|
|
186
193
|
default:
|
|
@@ -190,37 +197,37 @@ class R extends H {
|
|
|
190
197
|
setFormatValue(t, e) {
|
|
191
198
|
switch (t) {
|
|
192
199
|
case i.Title:
|
|
193
|
-
|
|
200
|
+
r(e) && (this.model.titleSymbol = e);
|
|
194
201
|
break;
|
|
195
202
|
case i.Description:
|
|
196
|
-
|
|
203
|
+
r(e) && (this.model.descriptionSymbol = e);
|
|
197
204
|
break;
|
|
198
205
|
case i.XAxisTitle:
|
|
199
|
-
|
|
206
|
+
P(this.model) && r(e) && (this.model.xAxisTitleSymbol = e);
|
|
200
207
|
break;
|
|
201
208
|
case i.YAxisTitle:
|
|
202
|
-
d(this.model) &&
|
|
209
|
+
d(this.model) && r(e) && this.model.setAxisTitleSymbol(e, 1);
|
|
203
210
|
break;
|
|
204
211
|
case i.AxisLabels:
|
|
205
|
-
|
|
212
|
+
L(this.model) && r(e) && (this.model.axisLabelsSymbol = e);
|
|
206
213
|
break;
|
|
207
214
|
case i.GuideLabels:
|
|
208
|
-
|
|
215
|
+
S(this.model) && r(e) && (this.model.guideLabelsSymbol = e);
|
|
209
216
|
break;
|
|
210
217
|
case i.LegendText:
|
|
211
|
-
h(this.model) &&
|
|
218
|
+
h(this.model) && r(e) && (this.model.legendTextSymbol = e);
|
|
212
219
|
break;
|
|
213
220
|
case i.LegendTitle:
|
|
214
|
-
h(this.model) &&
|
|
221
|
+
h(this.model) && r(e) && (this.model.legendTitleSymbol = e);
|
|
215
222
|
break;
|
|
216
223
|
case i.DataLabels:
|
|
217
|
-
|
|
224
|
+
T(this.model) && r(e) && (this.model.dataLabelsSymbol = e);
|
|
218
225
|
break;
|
|
219
|
-
case
|
|
220
|
-
|
|
226
|
+
case m.AxisLines:
|
|
227
|
+
C(this.model) && u(e) && (this.model.axisLinesSymbol = e);
|
|
221
228
|
break;
|
|
222
|
-
case
|
|
223
|
-
if (
|
|
229
|
+
case m.GridLines:
|
|
230
|
+
if (u(e)) {
|
|
224
231
|
if (V(this.model))
|
|
225
232
|
this.model.setGridLinesSymbol(e);
|
|
226
233
|
else if (d(this.model)) {
|
|
@@ -228,17 +235,17 @@ class R extends H {
|
|
|
228
235
|
let o = [];
|
|
229
236
|
switch (s) {
|
|
230
237
|
// set y-axis grid line for charts -Bar chart/Line chart, Histogram and Box plot
|
|
231
|
-
case
|
|
232
|
-
case
|
|
233
|
-
case
|
|
234
|
-
case
|
|
235
|
-
case
|
|
236
|
-
case
|
|
238
|
+
case a.BarSeries:
|
|
239
|
+
case a.LineSeries:
|
|
240
|
+
case a.ComboLineAndBarSeries:
|
|
241
|
+
case a.HistogramSeries:
|
|
242
|
+
case a.BoxPlotSeries:
|
|
243
|
+
case a.RadarSeries: {
|
|
237
244
|
o = [1];
|
|
238
245
|
break;
|
|
239
246
|
}
|
|
240
247
|
// set both x and y-axis grid lines for charts - Scatter chart
|
|
241
|
-
case
|
|
248
|
+
case a.ScatterSeries: {
|
|
242
249
|
o = [0, 1];
|
|
243
250
|
break;
|
|
244
251
|
}
|
|
@@ -247,8 +254,8 @@ class R extends H {
|
|
|
247
254
|
}
|
|
248
255
|
}
|
|
249
256
|
break;
|
|
250
|
-
case
|
|
251
|
-
|
|
257
|
+
case m.LeaderLines:
|
|
258
|
+
y(this.model) && u(e) && (this.model.ticksSymbol = e);
|
|
252
259
|
break;
|
|
253
260
|
case i.Background:
|
|
254
261
|
Array.isArray(e) && (this.model.backgroundColor = e);
|
|
@@ -258,33 +265,33 @@ class R extends H {
|
|
|
258
265
|
renderFormatElements() {
|
|
259
266
|
this.textProperties = [
|
|
260
267
|
i.Title,
|
|
261
|
-
...
|
|
268
|
+
...P(this.model) ? [i.XAxisTitle] : [],
|
|
262
269
|
...d(this.model) ? [i.YAxisTitle] : [],
|
|
263
270
|
...h(this.model) ? [i.LegendTitle] : [],
|
|
264
271
|
i.Description,
|
|
265
272
|
...h(this.model) ? [i.LegendText] : [],
|
|
266
|
-
...
|
|
267
|
-
...
|
|
268
|
-
...
|
|
273
|
+
...L(this.model) ? [i.AxisLabels] : [],
|
|
274
|
+
...S(this.model) && this.model.chartType !== a.HeatSeries ? [i.GuideLabels] : [],
|
|
275
|
+
...T(this.model) && this.model.chartType !== a.HeatSeries && this.model.chartType !== a.BoxPlotSeries ? [i.DataLabels] : []
|
|
269
276
|
], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
270
277
|
i.Background,
|
|
271
|
-
...
|
|
272
|
-
...d(this.model) ? [
|
|
273
|
-
...
|
|
278
|
+
...C(this.model) && this.model.chartType !== a.HeatSeries ? [m.AxisLines] : [],
|
|
279
|
+
...d(this.model) ? [m.GridLines] : [],
|
|
280
|
+
...y(this.model) ? [m.LeaderLines] : []
|
|
274
281
|
];
|
|
275
282
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
276
283
|
return { textElements: t, symbolElements: e };
|
|
277
284
|
}
|
|
278
285
|
renderTextElement(t, e) {
|
|
279
|
-
const s =
|
|
280
|
-
return
|
|
286
|
+
const s = G(t), o = this.getFormatValue(t), l = typeof o == "string" ? o : "", c = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
287
|
+
return f`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${l} .value=${t} .selected=${c} @click=${e} ${M(this.updateSelectableElements)}>${s !== void 0 ? f`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
281
288
|
}
|
|
282
289
|
render() {
|
|
283
290
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
284
|
-
return
|
|
291
|
+
return f`<div class=${p(g.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${p(g.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
|
|
285
292
|
}
|
|
286
293
|
}
|
|
287
|
-
|
|
294
|
+
B("arcgis-charts-config-format", X);
|
|
288
295
|
export {
|
|
289
|
-
|
|
296
|
+
X as ArcgisChartsConfigFormat
|
|
290
297
|
};
|
|
@@ -5,7 +5,7 @@ import { u as a } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as l, ref as n } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
7
7
|
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
8
|
+
import { b as r } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
class h extends c {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._messages = a(), this.popoverElement = l(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
@@ -33,7 +33,7 @@ class h extends c {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const e = this.selectedElement, t = this.selectedElement;
|
|
36
|
-
return o`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
|
|
36
|
+
return o`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close use-panel .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
i("arcgis-charts-config-format-popover", h);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
-
import {
|
|
3
|
+
import { j as n, n as r, g as c } from "../../chunks/type-guards2.js";
|
|
4
4
|
import { i as h, a as m, b as g } from "../../chunks/generate-x-axis-title.js";
|
|
5
5
|
import { isEmpty as x } from "lodash-es";
|
|
6
|
-
import { m as u, U as b } from "../../chunks/chart-ui-
|
|
6
|
+
import { m as u, U as b } from "../../chunks/chart-ui-utils.js";
|
|
7
7
|
import { u as p } from "../../chunks/useT9n.js";
|
|
8
8
|
import { css as C, html as l } from "lit";
|
|
9
9
|
import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
10
10
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
11
|
-
import {
|
|
11
|
+
import { f as a } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { i as y } from "../../chunks/index4.js";
|
|
13
13
|
const s = {
|
|
14
14
|
textInput: "text-input",
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
4
|
import { cloneDeep as E } from "lodash-es";
|
|
5
|
-
import { m as G, a as N, j as Z, k
|
|
5
|
+
import { m as G, U as S, a as N, j as Z, k } from "../../chunks/chart-ui-utils.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
|
-
import { g as
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
7
|
+
import { g as z } from "../../chunks/resource.js";
|
|
8
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as V, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { q as m, p as K } from "../../chunks/index5.js";
|
|
11
|
+
import { LitElement as j, createEvent as q, renderElement as L, safeStyleMap as M, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
+
import { j as U, o as W, p as Y } from "../../chunks/type-guards2.js";
|
|
13
|
+
import { bL as p, b as m, bj as H, bM as A, bN as _, i as J } from "../../chunks/index.js";
|
|
14
|
+
import { t as K } from "../../chunks/index3.js";
|
|
16
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { b as g, R as ee } from "../../chunks/rest-js-object-literals.js";
|
|
17
|
+
import { a as te } from "../../chunks/chart-object-literals.js";
|
|
19
18
|
import { G as b } from "../../chunks/common.js";
|
|
20
19
|
const n = {
|
|
21
20
|
row: "row",
|
|
22
21
|
column: "column",
|
|
23
22
|
colorPicker: "color-picker"
|
|
24
|
-
}, ie =
|
|
25
|
-
class se extends
|
|
23
|
+
}, ie = V`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
24
|
+
class se extends j {
|
|
26
25
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages =
|
|
26
|
+
super(...arguments), this._messages = O(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
28
27
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
29
28
|
if (p(i, a) === g.SLS) {
|
|
30
29
|
const l = E(F.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
@@ -47,7 +46,7 @@ class se extends V {
|
|
|
47
46
|
} else t?.color !== void 0 && this.setColor(t.color);
|
|
48
47
|
}, this.onModelConfigChange = () => {
|
|
49
48
|
this.requestUpdate();
|
|
50
|
-
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange =
|
|
49
|
+
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange = q();
|
|
51
50
|
}
|
|
52
51
|
static {
|
|
53
52
|
this.properties = { guidePopover: 16, messageOverrides: 0, model: 0, timeZone: 1, calculatedMinMaxBounds: 0, index: 9, orientation: 1, latestGuidePosition: 9 };
|
|
@@ -56,7 +55,7 @@ class se extends V {
|
|
|
56
55
|
this.styles = ie;
|
|
57
56
|
}
|
|
58
57
|
get isXAxisDateField() {
|
|
59
|
-
return this.orientation === b.X &&
|
|
58
|
+
return this.orientation === b.X && U(this.model) && this.model.getAxisValueFormat(0)?.type === te.DateAxisFormat;
|
|
60
59
|
}
|
|
61
60
|
load() {
|
|
62
61
|
this.modelChange(this.model);
|
|
@@ -102,7 +101,7 @@ class se extends V {
|
|
|
102
101
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
103
102
|
}
|
|
104
103
|
setGuideDateTimeRange() {
|
|
105
|
-
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s),
|
|
104
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), R = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", P = w === "" ? R : w;
|
|
106
105
|
let $ = !1;
|
|
107
106
|
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
108
107
|
const d = `${C}T${I}`;
|
|
@@ -159,14 +158,14 @@ class se extends V {
|
|
|
159
158
|
let l;
|
|
160
159
|
p(i, a) === g.SLS ? l = m(t) ? t : void 0 : l = t?.color;
|
|
161
160
|
const s = this.colorElement.value;
|
|
162
|
-
Array.isArray(t?.color) ? (this.guidePopover =
|
|
161
|
+
Array.isArray(t?.color) ? (this.guidePopover = L(c`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
163
162
|
}
|
|
164
163
|
removeGuidePopover() {
|
|
165
164
|
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = Q(this.guidePopover));
|
|
166
165
|
}
|
|
167
166
|
setColor(e) {
|
|
168
|
-
const t =
|
|
169
|
-
...
|
|
167
|
+
const t = K({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
168
|
+
...J(i) ? i : {},
|
|
170
169
|
type: g.SFS,
|
|
171
170
|
color: e,
|
|
172
171
|
outline: t
|
|
@@ -197,7 +196,7 @@ class se extends V {
|
|
|
197
196
|
i = this._messages.deleteGuide ?? "";
|
|
198
197
|
break;
|
|
199
198
|
}
|
|
200
|
-
this.tooltip =
|
|
199
|
+
this.tooltip = L(c`<calcite-tooltip style=${M({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
201
200
|
}
|
|
202
201
|
toggleGuide() {
|
|
203
202
|
const e = this.model.getGuideVisibility(this.index, this.orientation);
|
|
@@ -207,7 +206,7 @@ class se extends V {
|
|
|
207
206
|
N(this.tooltip);
|
|
208
207
|
}
|
|
209
208
|
deleteGuide() {
|
|
210
|
-
this.destroyTooltip(), this.orientation === b.X &&
|
|
209
|
+
this.destroyTooltip(), this.orientation === b.X && W(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === b.Y && Y(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
211
210
|
index: this.index,
|
|
212
211
|
orientation: this.orientation,
|
|
213
212
|
isDelete: !0
|
|
@@ -215,17 +214,17 @@ class se extends V {
|
|
|
215
214
|
}
|
|
216
215
|
renderColorElement() {
|
|
217
216
|
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ? Z(e.style) : ee.Solid, f = p(s, r) === g.SLS ? `line-${v}` : "square-f";
|
|
218
|
-
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${u(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${
|
|
217
|
+
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${u(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${M({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
219
218
|
}
|
|
220
219
|
render() {
|
|
221
220
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
222
|
-
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
221
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === z(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
223
222
|
expand: this._messages.expand,
|
|
224
223
|
collapse: this._messages.collapse
|
|
225
224
|
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${k} number-button-type=none .value=${e?.toString()} ${u(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${k} number-button-type=none .value=${t?.toString()} ${u(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
226
225
|
}
|
|
227
226
|
}
|
|
228
|
-
|
|
227
|
+
B("arcgis-charts-config-guide", se);
|
|
229
228
|
export {
|
|
230
229
|
se as ArcgisChartsConfigGuide
|
|
231
230
|
};
|
|
@@ -3,13 +3,13 @@ import { c as r } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { html as t } from "lit";
|
|
4
4
|
import { g as i } from "../../chunks/default.js";
|
|
5
5
|
import { u as l } from "../../chunks/useT9n.js";
|
|
6
|
-
import { createRef as
|
|
6
|
+
import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { b as p } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
import { e as h } from "../../chunks/popover-ui-utils.js";
|
|
10
10
|
class m extends c {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._messages = l(), this.popoverElement =
|
|
12
|
+
super(...arguments), this._messages = l(), this.popoverElement = n(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
@@ -33,7 +33,7 @@ class m extends c {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const o = this.selectedElement, e = this.selectedElement;
|
|
36
|
-
return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${
|
|
36
|
+
return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${a(this.popoverElement)}>${Array.isArray(o) ? t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${e?.type === p.SLS ? t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close use-panel .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}</calcite-popover></div>`;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
r("arcgis-charts-config-guide-popover", m);
|
|
@@ -7,7 +7,7 @@ import { u as f } from "../../chunks/useT9n.js";
|
|
|
7
7
|
import { css as A, html as a } from "lit";
|
|
8
8
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, renderElement as v, safeClassMap as c } from "@arcgis/lumina";
|
|
10
|
-
import {
|
|
10
|
+
import { o as h, p as u } from "../../chunks/type-guards2.js";
|
|
11
11
|
import { G as s } from "../../chunks/common.js";
|
|
12
12
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
13
13
|
class $ extends b {
|