@arcgis/charts-components 4.34.0-next.142 → 4.34.0-next.144
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/README.md +2 -4
- package/dist/cdn/{2ITCGPIY.js → 26T2FPTR.js} +2 -2
- package/dist/cdn/{4CPCHUKN.js → 2DZFSDBN.js} +2 -2
- package/dist/cdn/2HQVR6SZ.js +4 -0
- package/dist/cdn/{EOS32NLK.js → 2J4AFSSU.js} +2 -2
- package/dist/cdn/{ZZPTMSTP.js → 2J4UJYZT.js} +2 -2
- package/dist/cdn/{IECIRQ6O.js → 2VI6QT44.js} +2 -2
- package/dist/cdn/{32WTDHJV.js → 2ZSQMPK2.js} +2 -2
- package/dist/cdn/{HDUUEU5A.js → 324WBHNZ.js} +2 -2
- package/dist/cdn/{BKHZOZUN.js → 3DH2WQCY.js} +2 -2
- package/dist/cdn/{7UM2QM5C.js → 3EQGJ46N.js} +2 -2
- package/dist/cdn/{BKY6HJ2A.js → 3LVFJPNB.js} +2 -2
- package/dist/cdn/{F67J6QGU.js → 3O63ZEAS.js} +2 -2
- package/dist/cdn/3S5BN4GW.js +42 -0
- package/dist/cdn/3UQIPQ6U.js +4 -0
- package/dist/cdn/{T4K26RPW.js → 3VLXQDI7.js} +2 -2
- package/dist/cdn/3XVJSKYV.js +4 -0
- package/dist/cdn/452LBU4V.js +4 -0
- package/dist/cdn/{3V3P3WDO.js → 47AOTDB3.js} +2 -2
- package/dist/cdn/{KY7RUQ64.js → 4BC4VABF.js} +2 -2
- package/dist/cdn/{BUSHRUK5.js → 4GA7RI44.js} +2 -2
- package/dist/cdn/4VYULJJW.js +4 -0
- package/dist/cdn/{OTNJTF2I.js → 5GYKLEQM.js} +2 -2
- package/dist/cdn/{ISDSAFJS.js → 5OERBFEV.js} +2 -2
- package/dist/cdn/5SHBQMVW.js +4 -0
- package/dist/cdn/{S2FI3DXC.js → 5VJ42MLL.js} +2 -2
- package/dist/cdn/{Z44G5QWL.js → 5WMWKB7J.js} +2 -2
- package/dist/cdn/{ZNSS2AZV.js → 64HSDV7Y.js} +2 -2
- package/dist/cdn/{PLNR6RYO.js → 66G4VCA2.js} +2 -2
- package/dist/cdn/{Y4K3CSNK.js → 6M6NDQL6.js} +2 -2
- package/dist/cdn/{YFMHX76Y.js → 6PKWE2PB.js} +2 -2
- package/dist/cdn/{XSLZJPOC.js → 6RJ3EKY6.js} +2 -2
- package/dist/cdn/6SLJ2XOA.js +4 -0
- package/dist/cdn/6VOROOAO.js +4 -0
- package/dist/cdn/{YFBKDK6E.js → 7DOQLCKT.js} +2 -2
- package/dist/cdn/{LFUDSJMK.js → 7O3QYHLA.js} +2 -2
- package/dist/cdn/{BDQVET3Y.js → 7U3RNTZB.js} +2 -2
- package/dist/cdn/A7LSUGPI.js +4 -0
- package/dist/cdn/AFDFEA7M.js +4 -0
- package/dist/cdn/AFEYBTJC.js +4 -0
- package/dist/cdn/{GEF364YZ.js → AFHYC374.js} +2 -2
- package/dist/cdn/{LX54RJ62.js → ANRJWG4F.js} +2 -2
- package/dist/cdn/B35VGUTH.js +4 -0
- package/dist/cdn/{FXJPNW2X.js → BQOMTSTB.js} +2 -2
- package/dist/cdn/{M3YVRGJ4.js → C2SCAZ57.js} +2 -2
- package/dist/cdn/C6LCXOTC.js +4 -0
- package/dist/cdn/CA7YIB7J.js +4 -0
- package/dist/cdn/{FYPHTJDG.js → CKC6B2DW.js} +2 -2
- package/dist/cdn/COLTV55S.js +4 -0
- package/dist/cdn/{JF3EDWHN.js → CXO6JCQV.js} +2 -2
- package/dist/cdn/{C72ZXTKO.js → D7XYADY6.js} +2 -2
- package/dist/cdn/{SOFZLGIF.js → DAVXOLUV.js} +2 -2
- package/dist/cdn/{RY7UIBTO.js → EHCGN2NF.js} +2 -2
- package/dist/cdn/ENFIPPSJ.js +4 -0
- package/dist/cdn/EOYAAN5E.js +4 -0
- package/dist/cdn/{Q3UU6TPH.js → ESUQO7J5.js} +2 -2
- package/dist/cdn/{QV5GZWKW.js → EU437XMK.js} +2 -2
- package/dist/cdn/EXR5RQLP.js +4 -0
- package/dist/cdn/FKU45S4A.js +6 -0
- package/dist/cdn/{RALLQ5TP.js → FMZL75OL.js} +2 -2
- package/dist/cdn/FN5KCLZU.js +4 -0
- package/dist/cdn/FNSZJRYO.js +4 -0
- package/dist/cdn/FZ6XXAI7.js +4 -0
- package/dist/cdn/GKMSHJIH.js +4 -0
- package/dist/cdn/{C2RQCDZI.js → GKUFSUNB.js} +2 -2
- package/dist/cdn/{DOKRNRNV.js → GTQ3T45E.js} +2 -2
- package/dist/cdn/{ICFNCHVX.js → H73SF3NZ.js} +2 -2
- package/dist/cdn/HMDP6YQB.js +4 -0
- package/dist/cdn/{LYOUJX3G.js → HTBKBCF3.js} +2 -2
- package/dist/cdn/{IUDJVWHQ.js → HXBO345N.js} +2 -2
- package/dist/cdn/{XIMHJK6E.js → I3FF3ITK.js} +1 -1
- package/dist/cdn/IE5CIF3O.js +4 -0
- package/dist/cdn/ILBPUKJK.js +4 -0
- package/dist/cdn/IM3FJOHF.js +4 -0
- package/dist/cdn/{PGWJFVFS.js → IMXOWATK.js} +2 -2
- package/dist/cdn/{OMDALIWB.js → IOB5KVZO.js} +2 -2
- package/dist/cdn/IXVKNKW3.js +4 -0
- package/dist/cdn/{BIVUYEQS.js → IY2KY4AZ.js} +2 -2
- package/dist/cdn/IZKXPUQX.js +4 -0
- package/dist/cdn/{K3OJHBYP.js → JBE4H2O2.js} +2 -2
- package/dist/cdn/JEVESPWP.js +4 -0
- package/dist/cdn/{QGAWAYOO.js → JFYW4T4Q.js} +2 -2
- package/dist/cdn/{2ANVMV6D.js → JINHIAI2.js} +2 -2
- package/dist/cdn/{IA6QL63S.js → JTPSBTFO.js} +2 -2
- package/dist/cdn/{6VBYFOB3.js → JZTHURAB.js} +2 -2
- package/dist/cdn/{TLQPERBZ.js → KBR526EG.js} +2 -2
- package/dist/cdn/{5IQP3K3O.js → KGRVWUYS.js} +2 -2
- package/dist/cdn/{DU6B4YFO.js → KKJOXTSR.js} +2 -2
- package/dist/cdn/KO6HL5WN.js +4 -0
- package/dist/cdn/{IZIIQRYW.js → KYKSOV37.js} +2 -2
- package/dist/cdn/{UWGKEJY2.js → L2BAYKOL.js} +2 -2
- package/dist/cdn/{T6OCVJ2S.js → LHT7AL35.js} +2 -2
- package/dist/cdn/{WEJ4N7K4.js → LJXSCSVX.js} +2 -2
- package/dist/cdn/{2IM2HTSE.js → LK4UCIKB.js} +2 -2
- package/dist/cdn/{HEY72GFW.js → LKQ2XH6L.js} +1 -1
- package/dist/cdn/{5X62346I.js → LKQAEQZ4.js} +2 -2
- package/dist/cdn/{SD3RGLHI.js → LXROLJPG.js} +2 -2
- package/dist/cdn/{LR25PBXF.js → LYM4PVSU.js} +2 -2
- package/dist/cdn/MEZYLQ45.js +4 -0
- package/dist/cdn/{P66NRJ4E.js → MSXPH4IW.js} +2 -2
- package/dist/cdn/{RFZUXU4W.js → MUBP4D6K.js} +1 -1
- package/dist/cdn/{5AEK7BD7.js → NGOQVF7W.js} +2 -2
- package/dist/cdn/NJVTIVJO.js +4 -0
- package/dist/cdn/NK325K6C.js +4 -0
- package/dist/cdn/{CK2ST5HA.js → NZKJX6ED.js} +2 -2
- package/dist/cdn/{NMOMSPHP.js → O44Y3FT3.js} +2 -2
- package/dist/cdn/{UYGW4DEM.js → O64LL5JP.js} +2 -2
- package/dist/cdn/O7ABFKF6.js +4 -0
- package/dist/cdn/{BNCPYPO4.js → O7PUN6ZV.js} +2 -2
- package/dist/cdn/{ZHHABKJS.js → ODBKODK2.js} +2 -2
- package/dist/cdn/{L7NEHANE.js → OOALXYFO.js} +2 -2
- package/dist/cdn/{TGBR4CIO.js → OPBAP7ZZ.js} +2 -2
- package/dist/cdn/{XX7RCQWQ.js → OQMEHUIV.js} +2 -2
- package/dist/cdn/{SZYALN76.js → OTDS6EZI.js} +1 -1
- package/dist/cdn/OTQYWZXU.js +4 -0
- package/dist/cdn/OTZBMQH6.js +4 -0
- package/dist/cdn/{WV4BV5C5.js → OZXWBKPW.js} +1 -1
- package/dist/cdn/{ONERQRVY.js → P5GLJFDO.js} +2 -2
- package/dist/cdn/{PUJWL5ZS.js → QBWY6DPH.js} +2 -2
- package/dist/cdn/QIS3JY7M.js +4 -0
- package/dist/cdn/QQ35LHQ5.js +4 -0
- package/dist/cdn/QSHXM4K4.js +4 -0
- package/dist/cdn/{JQECSEAU.js → QYCK6SCJ.js} +33 -33
- package/dist/cdn/{QM34HTYR.js → R6GAXB4J.js} +2 -2
- package/dist/cdn/{I3JCQUVZ.js → RDWNQEK3.js} +2 -2
- package/dist/cdn/RNVTPVVG.js +4 -0
- package/dist/cdn/RPYIRMJI.js +4 -0
- package/dist/cdn/{FFKFBICZ.js → RQ2ZKKIA.js} +2 -2
- package/dist/cdn/{R2BT4X5U.js → RSLPD74V.js} +2 -2
- package/dist/cdn/{FQWZZW7B.js → RXFAANT4.js} +2 -2
- package/dist/cdn/{ITYHMXBD.js → RZAKBIOP.js} +2 -2
- package/dist/cdn/S4VVEI76.js +4 -0
- package/dist/cdn/{S6FSW5BY.js → SB4ENFB3.js} +2 -2
- package/dist/cdn/{IRO3ZG66.js → SDWGJR2S.js} +2 -2
- package/dist/cdn/{OFXR4HCP.js → SII7V63Y.js} +2 -2
- package/dist/cdn/{4AVQKAIL.js → SKJD5NC2.js} +2 -2
- package/dist/cdn/SME6FTK3.js +4 -0
- package/dist/cdn/{OQKREWR6.js → SS6K4KIU.js} +2 -2
- package/dist/cdn/{D6KUZQDE.js → SSHVHR3U.js} +2 -2
- package/dist/cdn/{U2NNEZ7L.js → SWMOL4WC.js} +2 -2
- package/dist/cdn/{JQE62N64.js → SYLYSYJM.js} +1 -1
- package/dist/cdn/{TBBKIV5V.js → T2SQNU52.js} +2 -2
- package/dist/cdn/{RJDHGWZF.js → T4V2RWLD.js} +2 -2
- package/dist/cdn/{EMMBGTXG.js → TA3LA3EO.js} +2 -2
- package/dist/cdn/{FYJBWI3W.js → TK7EIFKF.js} +2 -2
- package/dist/cdn/UOXIKDZ3.js +4 -0
- package/dist/cdn/V54C7QR7.js +4 -0
- package/dist/cdn/{HTQR2XNZ.js → VD7464WE.js} +2 -2
- package/dist/cdn/{X2WO4BRB.js → VF3BUMUL.js} +2 -2
- package/dist/cdn/{4JNZ6PXG.js → VNQJMRIR.js} +2 -2
- package/dist/cdn/{PL5PWWIA.js → VR5C5DQV.js} +2 -2
- package/dist/cdn/{5KHI2IV3.js → VT4TGCUW.js} +2 -2
- package/dist/cdn/{6QM47ABB.js → VWXK72J2.js} +2 -2
- package/dist/cdn/W4N6GP7X.js +4 -0
- package/dist/cdn/{UHZ3QVOM.js → W5Q3Y3N4.js} +2 -2
- package/dist/cdn/{FXOAIE77.js → WFLWRMBB.js} +2 -2
- package/dist/cdn/{6G6CZXJT.js → WHYKP7IA.js} +2 -2
- package/dist/cdn/{R6IOVFXZ.js → WKZBZW57.js} +2 -2
- package/dist/cdn/{JLKM3HUU.js → WNPMDSIC.js} +2 -2
- package/dist/cdn/{MRFM24KT.js → WQLQYEUT.js} +2 -2
- package/dist/cdn/{FKIB464H.js → WSYMOSDL.js} +2 -2
- package/dist/cdn/XDSEA2AW.js +4 -0
- package/dist/cdn/{Y7MJCEGF.js → XE5PWURJ.js} +2 -2
- package/dist/cdn/{2G25A3QA.js → XGJQE7ML.js} +2 -2
- package/dist/cdn/{A3AS74X2.js → XJJJZ6HK.js} +1 -1
- package/dist/cdn/{TIR7SJCN.js → XKJAM2RL.js} +2 -2
- package/dist/cdn/{CCGL4BTR.js → XNXEABAK.js} +2 -2
- package/dist/cdn/{FXBN362H.js → XU5NNLEE.js} +2 -2
- package/dist/cdn/{WHTHFRGI.js → YAZ7WAIQ.js} +2 -2
- package/dist/cdn/{NJEKREZ7.js → YJAFVJ5U.js} +2 -2
- package/dist/cdn/{AJ3VGUC7.js → YOL4HGR7.js} +2 -2
- package/dist/cdn/{QPKBEQ6E.js → YRTJBFQX.js} +2 -2
- package/dist/cdn/YTYT3OZE.js +4 -0
- package/dist/cdn/{45VOMRAM.js → Z7HN543Y.js} +2 -2
- package/dist/cdn/ZEXUMO6C.js +4 -0
- package/dist/cdn/{UD6X7PZM.js → ZK4Z2WFD.js} +2 -2
- package/dist/cdn/ZRRL7AJ4.js +4 -0
- package/dist/cdn/{BDSIRWPW.js → ZSWJPEGA.js} +2 -2
- package/dist/cdn/{SPTEILAX.js → ZU5OZ232.js} +2 -2
- package/dist/cdn/{SV22W6AC.js → ZXQV2IGL.js} +2 -2
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +2 -1
- package/dist/chunks/action-bar-utils.js +8 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +53 -53
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +306 -348
- package/dist/chunks/box-plot-model.js +239 -203
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +77 -122
- package/dist/chunks/combo-bar-line-chart-model.js +129 -99
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +703 -772
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +194 -231
- package/dist/chunks/histogram-data.js +64 -68
- package/dist/chunks/histogram-model.js +106 -141
- package/dist/chunks/index.js +6163 -69
- package/dist/chunks/index2.js +38 -52
- package/dist/chunks/index3.js +50 -6113
- package/dist/chunks/index4.js +95 -0
- package/dist/chunks/index5.js +66 -0
- package/dist/chunks/interfaces.js +16206 -90
- package/dist/chunks/interfaces2.js +13 -16121
- package/dist/chunks/interfaces3.js +91 -486
- package/dist/chunks/interfaces4.js +486 -13
- package/dist/chunks/line-chart-model.js +51 -54
- package/dist/chunks/model-with-baseline-stacking.js +77 -57
- package/dist/chunks/model-with-data-labels.js +112 -168
- package/dist/chunks/model-with-multi-axes.js +675 -769
- package/dist/chunks/model-with-rotation.js +8 -11
- package/dist/chunks/pie-chart-data.js +163 -162
- package/dist/chunks/pie-chart-model.js +363 -448
- package/dist/chunks/popover-ui-utils.js +7 -7
- package/dist/chunks/radar-chart-model.js +51 -54
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +138 -168
- package/dist/chunks/serial-chart-model.js +281 -272
- package/dist/chunks/series-types.js +21 -16
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -49
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +28 -26
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +3733 -3715
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +29 -28
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +60 -60
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +95 -97
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +51 -51
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-guide/customElement.js +22 -21
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +52 -52
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +20 -0
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +70 -71
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +32 -32
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +38 -39
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +41 -41
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +1 -0
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +13 -9
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +543 -90
- package/dist/json-schema/index.d.ts +3 -0
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +1 -6
- package/dist/model/box-plot-model/box-plot-model.d.ts +70 -93
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +33 -27
- package/dist/model/chart-model/chart-model.d.ts +81 -189
- package/dist/model/chart-model/utils/types.d.ts +2 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -4
- package/dist/model/gauge-model/gauge-model.d.ts +61 -153
- package/dist/model/gauge-model/utils/gauge-data.d.ts +24 -10
- package/dist/model/gauge-model/utils/gauge-series.d.ts +12 -6
- package/dist/model/histogram-model/histogram-model.d.ts +41 -106
- package/dist/model/histogram-model/utils/histogram-data.d.ts +11 -4
- package/dist/model/line-chart-model/line-chart-model.d.ts +2 -7
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +23 -68
- package/dist/model/mixins/model-with-color-match.d.ts +3 -14
- package/dist/model/mixins/model-with-data-labels.d.ts +7 -26
- package/dist/model/mixins/model-with-guides.d.ts +3 -7
- package/dist/model/mixins/model-with-legend.d.ts +24 -76
- package/dist/model/mixins/model-with-multi-axes.d.ts +14 -40
- package/dist/model/mixins/model-with-rotation.d.ts +3 -8
- package/dist/model/mixins/model-with-temporal-binning.d.ts +15 -48
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +88 -248
- package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +10 -5
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +10 -10
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -7
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +26 -70
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +17 -5
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +75 -85
- package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +32 -36
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +14 -6
- package/dist/model/shared/axes.d.ts +9 -6
- package/dist/model/shared/data.d.ts +6 -0
- package/dist/model/shared/utils.d.ts +0 -1
- package/dist/model.js +5 -5
- package/dist/spec/data-source.d.ts +1 -0
- package/dist/spec/events.d.ts +1 -1
- package/dist/utils/defaults/index.d.ts +24 -23
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/localization/interfaces.d.ts +1 -1
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/25GEW6NE.js +0 -4
- package/dist/cdn/2HPRLYWX.js +0 -4
- package/dist/cdn/2K3K5MH5.js +0 -4
- package/dist/cdn/2SESEFCH.js +0 -4
- package/dist/cdn/4E2Y2BIG.js +0 -4
- package/dist/cdn/4ZGTWTZN.js +0 -4
- package/dist/cdn/6HRX7ISE.js +0 -4
- package/dist/cdn/6UVBQF2N.js +0 -4
- package/dist/cdn/6UVVRH2Q.js +0 -4
- package/dist/cdn/7BV4UPBJ.js +0 -4
- package/dist/cdn/7V5BAGW6.js +0 -4
- package/dist/cdn/A27LIBVO.js +0 -4
- package/dist/cdn/AXBERCQX.js +0 -4
- package/dist/cdn/B3WCL2RF.js +0 -4
- package/dist/cdn/BUXHF7JZ.js +0 -4
- package/dist/cdn/BWVYUXHU.js +0 -4
- package/dist/cdn/CWGPLHBO.js +0 -4
- package/dist/cdn/GGQORSJO.js +0 -4
- package/dist/cdn/H2XTFWDF.js +0 -4
- package/dist/cdn/HUID3T4Q.js +0 -4
- package/dist/cdn/IWGGUORQ.js +0 -4
- package/dist/cdn/IXZTLHMK.js +0 -4
- package/dist/cdn/K3PAHXMA.js +0 -4
- package/dist/cdn/K5M7QNES.js +0 -4
- package/dist/cdn/KYI6IVTD.js +0 -4
- package/dist/cdn/L44BSTBV.js +0 -4
- package/dist/cdn/LD3EFKD2.js +0 -4
- package/dist/cdn/LEXHRATX.js +0 -4
- package/dist/cdn/LJIUOK56.js +0 -4
- package/dist/cdn/N2OEM76I.js +0 -4
- package/dist/cdn/NX5JPPZY.js +0 -4
- package/dist/cdn/OQBDZQXQ.js +0 -4
- package/dist/cdn/OSLZCSUP.js +0 -4
- package/dist/cdn/PNZEAROD.js +0 -4
- package/dist/cdn/PW2UIMX7.js +0 -4
- package/dist/cdn/RDKIDYXY.js +0 -4
- package/dist/cdn/RF6WSBHG.js +0 -4
- package/dist/cdn/RH2JK5VB.js +0 -4
- package/dist/cdn/RMVF2EB7.js +0 -4
- package/dist/cdn/RNCBXUCQ.js +0 -4
- package/dist/cdn/SQHK5QIZ.js +0 -4
- package/dist/cdn/TU5ZGCNX.js +0 -42
- package/dist/cdn/UMKC7ISM.js +0 -4
- package/dist/cdn/UPSO7Y5L.js +0 -4
- package/dist/cdn/VZKZKSXL.js +0 -4
- package/dist/cdn/W5TAEYXR.js +0 -4
- package/dist/cdn/XNHQVDR6.js +0 -4
- package/dist/cdn/XXCIZ3KV.js +0 -4
- package/dist/cdn/YC2RL6CV.js +0 -4
- package/dist/cdn/YJ6P4MDL.js +0 -6
- package/dist/cdn/ZG3BCJ7P.js +0 -4
- package/dist/cdn/ZS5EATJF.js +0 -4
- package/dist/chunks/events.js +0 -18
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import { e as
|
|
2
|
+
import { isEqual as x } from "lodash-es";
|
|
3
|
+
import { e as A, W as v, a as l } from "./series-types.js";
|
|
4
|
+
import { az as I, ap as B, au as O, ah as b, af as U, b as m, x as M, cd as L } from "./interfaces.js";
|
|
4
5
|
import "d3-array";
|
|
5
|
-
import { au as F, s as x, av as v, aw as B, ax as b, m as d, C as h, i as O, c as M } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,197 +12,186 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { C as T, M as
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import { M as
|
|
15
|
+
import { C as T, M as w, b as D, a as N } from "./model-with-multi-axes.js";
|
|
16
|
+
import { l as n, j as a, k as g } from "./index4.js";
|
|
17
|
+
import { t as P, v as V, w as W, x as k, y as E, z as R, A as z, B as K, C as j, D as G, E as X, b as _, j as h, k as c, u as Y, s as f, f as q, i as H, F as y, G as u, H as p, I as S, J as C, K as J, L as Q, h as Z, m as $, M as F, N as ee, e as te } from "./data.js";
|
|
18
|
+
import { S as ie } from "./common.js";
|
|
19
|
+
import { M as se, a as re, b as oe, c as ne } from "./model-with-data-labels.js";
|
|
20
|
+
import { M as ae } from "./model-with-rotation.js";
|
|
20
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
class
|
|
23
|
+
v4.34.0-next.144 */
|
|
24
|
+
class le extends T {
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @returns {number | undefined}
|
|
26
|
+
* Time interval size for a temporal bar/line chart.
|
|
27
27
|
*/
|
|
28
|
-
|
|
29
|
-
return
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Sets the time interval size for a temporal bar/line chart.
|
|
33
|
-
* @param {number | undefined} newSize The new time interval size.
|
|
34
|
-
*/
|
|
35
|
-
setTemporalBinningSize(e) {
|
|
36
|
-
D(e, this._config), this.emitConfigUpdate("setTemporalBinningSize");
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Gets the time interval units for a temporal bar/line chart.
|
|
40
|
-
* @returns {WebChartTemporalBinningUnits | undefined}
|
|
41
|
-
*/
|
|
42
|
-
getTemporalBinningUnit() {
|
|
43
|
-
return E(this._config);
|
|
28
|
+
get temporalBinningSize() {
|
|
29
|
+
return P(this._config);
|
|
44
30
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
setTemporalBinningUnit(e) {
|
|
50
|
-
V(e, this._config), this.emitConfigUpdate("setTemporalBinningUnit");
|
|
31
|
+
set temporalBinningSize(e) {
|
|
32
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
33
|
+
V(e, this._config), this.emitConfigUpdate("temporalBinningSize");
|
|
34
|
+
});
|
|
51
35
|
}
|
|
52
36
|
/**
|
|
53
|
-
*
|
|
54
|
-
* @returns {WebChartTimeAggregationTypes | undefined}
|
|
37
|
+
* Time interval units for a temporal bar/line chart.
|
|
55
38
|
*/
|
|
56
|
-
|
|
39
|
+
get temporalBinningUnit() {
|
|
57
40
|
return W(this._config);
|
|
58
41
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
setTimeAggregationType(e) {
|
|
64
|
-
k(e, this._config), this.emitConfigUpdate("setTimeAggregationType");
|
|
42
|
+
set temporalBinningUnit(e) {
|
|
43
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
44
|
+
k(e, this._config), this.emitConfigUpdate("temporalBinningUnit");
|
|
45
|
+
});
|
|
65
46
|
}
|
|
66
47
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @returns {boolean | undefined}
|
|
48
|
+
* Time aggregation type for a temporal bar/line chart.
|
|
69
49
|
*/
|
|
70
|
-
|
|
71
|
-
return
|
|
50
|
+
get timeAggregationType() {
|
|
51
|
+
return E(this._config);
|
|
72
52
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
setTrimIncompleteTimeInterval(e) {
|
|
78
|
-
X(e, this._config), this.emitConfigUpdate("setTrimIncompleteTimeInterval");
|
|
53
|
+
set timeAggregationType(e) {
|
|
54
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
55
|
+
R(e, this._config), this.emitConfigUpdate("timeAggregationType");
|
|
56
|
+
});
|
|
79
57
|
}
|
|
80
58
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* `null`: Break the bar where null values are present.
|
|
84
|
-
*
|
|
85
|
-
* `zero`: Treats null values as zero.
|
|
86
|
-
*
|
|
87
|
-
* `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
|
|
88
|
-
*
|
|
89
|
-
* @return {WebChartNullPolicyTypes | undefined}
|
|
59
|
+
* Whether to trim incomplete time intervals for a temporal bar/line chart.
|
|
90
60
|
*/
|
|
91
|
-
|
|
61
|
+
get trimIncompleteTimeInterval() {
|
|
92
62
|
return z(this._config);
|
|
93
63
|
}
|
|
64
|
+
set trimIncompleteTimeInterval(e) {
|
|
65
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
66
|
+
K(e, this._config), this.emitConfigUpdate("trimIncompleteTimeInterval");
|
|
67
|
+
});
|
|
68
|
+
}
|
|
94
69
|
/**
|
|
95
|
-
*
|
|
70
|
+
* Policy which tells the chart how to handle null values.
|
|
96
71
|
*
|
|
97
72
|
* `null`: Break the bar where null values are present.
|
|
98
73
|
*
|
|
99
74
|
* `zero`: Treats null values as zero.
|
|
100
75
|
*
|
|
101
76
|
* `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
|
|
102
|
-
*
|
|
103
|
-
* @param {WebChartNullPolicyTypes | undefined} newNullPolicy The new null policy.
|
|
104
77
|
*/
|
|
105
|
-
|
|
106
|
-
j(
|
|
78
|
+
get nullPolicy() {
|
|
79
|
+
return j(this._config);
|
|
80
|
+
}
|
|
81
|
+
set nullPolicy(e) {
|
|
82
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
83
|
+
G(e, this._config), this.emitConfigUpdate("nullPolicy");
|
|
84
|
+
});
|
|
107
85
|
}
|
|
108
86
|
/**
|
|
109
87
|
* Resets the time interval to default for a temporal line chart.
|
|
110
88
|
*/
|
|
111
89
|
resetTimeInterval() {
|
|
112
|
-
|
|
90
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
91
|
+
X(this._config), this.emitConfigUpdate("resetTimeInterval");
|
|
92
|
+
});
|
|
113
93
|
}
|
|
114
94
|
}
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
...
|
|
95
|
+
const ge = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, he = (s) => {
|
|
96
|
+
const { assign: e, seriesIndex: t, config: i, commonStrings: r } = s;
|
|
97
|
+
e && i.axes !== void 0 && !i.axes?.[2] && (i.axes[2] = O(r, v.BarSeries)[1]), i.series && i.series.forEach((o, d) => {
|
|
98
|
+
d === t ? o.assignToSecondValueAxis = e : d !== t && o?.assignToSecondValueAxis !== !0 && (o.assignToSecondValueAxis = !1);
|
|
99
|
+
}), i.axes?.[2] && !i.series.some((o) => o.assignToSecondValueAxis) && i.axes.splice(2, 1);
|
|
100
|
+
}, ce = (s, e) => e.series?.[s]?.name, de = (s, e, t) => {
|
|
101
|
+
t.series?.[e] && (t.series[e].name = s);
|
|
102
|
+
}, me = (s, e) => {
|
|
103
|
+
const t = e.series?.[s];
|
|
104
|
+
let i;
|
|
105
|
+
return n(t) ? i = t.fillSymbol?.color : a(t) && (i = t.lineSymbol?.color), i;
|
|
106
|
+
}, fe = (s, e, t) => {
|
|
107
|
+
const i = t.series?.[e];
|
|
108
|
+
i && (n(i) ? i.fillSymbol = {
|
|
109
|
+
...I(e),
|
|
110
|
+
...i.fillSymbol,
|
|
130
111
|
color: s
|
|
131
|
-
} :
|
|
132
|
-
...
|
|
133
|
-
...
|
|
112
|
+
} : a(i) && (i.lineSymbol = {
|
|
113
|
+
...B(e),
|
|
114
|
+
...i.lineSymbol,
|
|
134
115
|
color: s
|
|
135
116
|
}));
|
|
136
|
-
},
|
|
117
|
+
}, ye = (s) => s.series.map((e) => e.id), ue = (s, e) => {
|
|
137
118
|
e.series?.sort(
|
|
138
|
-
(
|
|
119
|
+
(t, i) => s.findIndex((r) => t.id === r) - s.findIndex((r) => i.id === r)
|
|
139
120
|
);
|
|
140
|
-
},
|
|
141
|
-
const { newStackedType: e, config:
|
|
142
|
-
if (
|
|
143
|
-
const
|
|
144
|
-
config:
|
|
145
|
-
layerInfo:
|
|
146
|
-
|
|
147
|
-
|
|
121
|
+
}, pe = (s) => s.stackedType ?? A.Side, Se = (s) => {
|
|
122
|
+
const { newStackedType: e, config: t, layerInfo: i, commonStrings: r } = s;
|
|
123
|
+
if (t.stackedType = e, i !== void 0) {
|
|
124
|
+
const o = _({
|
|
125
|
+
config: t,
|
|
126
|
+
layerInfo: i,
|
|
127
|
+
commonStrings: r,
|
|
128
|
+
numericFields: c(t),
|
|
129
|
+
aggregationType: h(t)
|
|
148
130
|
});
|
|
149
|
-
|
|
131
|
+
Y(t, 1, o);
|
|
150
132
|
}
|
|
151
|
-
|
|
152
|
-
},
|
|
133
|
+
t.axes?.[1] && (e === A.Stacked100 ? t.axes[1].valueFormat = b() : t.axes[1].valueFormat = U()), f({ config: t, value: null, axisIndex: 1, isMax: !1 }), f({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
134
|
+
}, Ce = (s) => {
|
|
153
135
|
let e;
|
|
154
|
-
const
|
|
155
|
-
(
|
|
136
|
+
const t = s.series.find(
|
|
137
|
+
(i) => (n(i) || a(i) || g(i)) && i.nullCategory !== void 0
|
|
156
138
|
);
|
|
157
|
-
return (n(
|
|
139
|
+
return (n(t) || a(t) || g(t)) && (e = t?.nullCategory), e;
|
|
158
140
|
}, Fe = (s, e) => {
|
|
159
|
-
s.series.forEach((
|
|
160
|
-
(n(
|
|
141
|
+
s.series.forEach((t) => {
|
|
142
|
+
(n(t) || a(t) || g(t)) && (t.nullCategory = e);
|
|
161
143
|
});
|
|
162
144
|
};
|
|
163
|
-
class
|
|
164
|
-
|
|
165
|
-
this.
|
|
145
|
+
class Ae extends T {
|
|
146
|
+
constructor() {
|
|
147
|
+
super(...arguments), this._xAxisField = "", this._aggregationType = l.Count, this._splitByField = "", this._numericFields = [];
|
|
166
148
|
}
|
|
149
|
+
// #endregion
|
|
167
150
|
// ---------------------------------------------------------------------------------------------
|
|
168
151
|
// #region Data Props
|
|
169
152
|
// ---------------------------------------------------------------------------------------------
|
|
170
153
|
/**
|
|
171
|
-
*
|
|
172
|
-
* @returns {string}
|
|
154
|
+
* The x-axis field for the chart.
|
|
173
155
|
*/
|
|
174
|
-
|
|
175
|
-
return
|
|
156
|
+
get xAxisField() {
|
|
157
|
+
return this._xAxisField;
|
|
158
|
+
}
|
|
159
|
+
set xAxisField(e) {
|
|
160
|
+
if (this._xAxisField = e, this.dirtyAsyncSetters.push("xAxisField"), e.trim() === "" || e === m) {
|
|
161
|
+
const r = this.numericFields;
|
|
162
|
+
this.resetConfig(), this.numericFields = r;
|
|
163
|
+
}
|
|
164
|
+
this.processSeriesRebuild();
|
|
176
165
|
}
|
|
177
166
|
/**
|
|
178
|
-
*
|
|
179
|
-
* @param {string} newXAxisField The new x-axis field.
|
|
167
|
+
* The aggregation type for the bar chart. Must be one of the values allowed by `WebChartStatisticType`.
|
|
180
168
|
*/
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
await this.resetConfig();
|
|
187
|
-
const I = t.length === 1 && t[0] === this.layerInfo?.objectIdField;
|
|
188
|
-
this.layerInfo && t.length > 0 && !I && await p(t, this._config, this.layerInfo);
|
|
189
|
-
}
|
|
190
|
-
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setXAxisField");
|
|
169
|
+
get aggregationType() {
|
|
170
|
+
return this._aggregationType;
|
|
171
|
+
}
|
|
172
|
+
set aggregationType(e) {
|
|
173
|
+
this._aggregationType = e, this.dirtyAsyncSetters.push("aggregationType"), this.processSeriesRebuild();
|
|
191
174
|
}
|
|
192
175
|
/**
|
|
193
|
-
*
|
|
194
|
-
* @returns {WebChartStatisticType}
|
|
176
|
+
* The split-by field for the chart.
|
|
195
177
|
*/
|
|
196
|
-
|
|
197
|
-
return
|
|
178
|
+
get splitByField() {
|
|
179
|
+
return this._splitByField;
|
|
180
|
+
}
|
|
181
|
+
set splitByField(e) {
|
|
182
|
+
this.layerInfo?.layerFieldsInfo && q(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild());
|
|
198
183
|
}
|
|
199
184
|
/**
|
|
200
|
-
*
|
|
201
|
-
* @param {WebChartStatisticType} newAggregationType The new aggregation type. Must be one of the values allowed by `WebChartStatisticType`.
|
|
202
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
185
|
+
* The numeric fields array for the chart.
|
|
203
186
|
*/
|
|
204
|
-
|
|
205
|
-
|
|
187
|
+
get numericFields() {
|
|
188
|
+
return this._numericFields;
|
|
189
|
+
}
|
|
190
|
+
set numericFields(e) {
|
|
191
|
+
if (typeof e == "string" && (e = [e]), H(this.layerInfo?.layerFieldsInfo ?? [], e)) {
|
|
192
|
+
const i = this.layerInfo?.objectIdField ?? "";
|
|
193
|
+
e.length === 0 ? (e.push(i), this._aggregationType = l.Count) : this._aggregationType === l.Count && e.length >= 1 && !e.includes(i) && (this._aggregationType = l.Sum), this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), this.numericFields.length > 1 && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), (this.xAxisField === "" || this.xAxisField === m) && this.numericFields.length === 0 && this.resetConfig(), this.processSeriesRebuild();
|
|
194
|
+
}
|
|
206
195
|
}
|
|
207
196
|
/**
|
|
208
197
|
* Gets whether the series should be assigned to the second value axis.
|
|
@@ -210,114 +199,85 @@ class xe extends T {
|
|
|
210
199
|
* @returns {boolean}
|
|
211
200
|
*/
|
|
212
201
|
getAssignToSecondValueAxis(e) {
|
|
213
|
-
return
|
|
202
|
+
return ge(e, this._config);
|
|
214
203
|
}
|
|
215
204
|
/**
|
|
216
205
|
* Sets whether the series should be assigned to the second value axis.
|
|
217
206
|
* @param assign - The value for the setting.
|
|
218
207
|
* @param seriesIndex - The index of the series.
|
|
219
208
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
* Gets the split-by field for the chart.
|
|
225
|
-
* @returns {string}
|
|
226
|
-
*/
|
|
227
|
-
getSplitByField() {
|
|
228
|
-
return H(this._config);
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Sets the split-by field for the chart.
|
|
232
|
-
* @param {string} newSplitByField The new split-by field.
|
|
233
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
234
|
-
*/
|
|
235
|
-
async setSplitByField(e) {
|
|
236
|
-
this.layerInfo?.layerFieldsInfo && J(this.layerInfo?.layerFieldsInfo, e) && (await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setSplitByField"));
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* Gets the numeric fields array for the chart.
|
|
240
|
-
* @returns {string[]}
|
|
241
|
-
*/
|
|
242
|
-
getNumericFields() {
|
|
243
|
-
return o(this._config);
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Sets the numeric field or numeric fields array for the chart.
|
|
247
|
-
* @param {string | string[]} newNumericFields The new numeric field string or numeric fields array.
|
|
248
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
249
|
-
*/
|
|
250
|
-
async setNumericFields(e) {
|
|
251
|
-
if (typeof e == "string" && (e = [e]), Z(this.layerInfo?.layerFieldsInfo ?? [], e) && this.layerInfo) {
|
|
252
|
-
await p(e, this._config, this.layerInfo);
|
|
253
|
-
const t = o(this._config);
|
|
254
|
-
d(this._config.series) === h.BarAndLineFromFields && t.some((l) => l === this.layerInfo?.objectIdField) && await this.resetConfig(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setNumericFields");
|
|
255
|
-
}
|
|
209
|
+
setAssignToSecondValueAxis(e, t) {
|
|
210
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
211
|
+
he({ assign: e, seriesIndex: t, config: this._config, commonStrings: this.commonStrings }), this.emitConfigUpdate("setAssignToSecondValueAxis");
|
|
212
|
+
});
|
|
256
213
|
}
|
|
257
214
|
/**
|
|
258
215
|
* Gets the sort order for the bar chart.
|
|
259
216
|
* @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
|
|
260
217
|
*/
|
|
261
218
|
getSortOrder() {
|
|
262
|
-
return
|
|
219
|
+
return y(this._config);
|
|
263
220
|
}
|
|
264
221
|
/**
|
|
265
222
|
* Sets the sort order for the bar chart.
|
|
266
223
|
* @param {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc"} newSortOrder The new sort order.
|
|
267
224
|
* @param {string[]} orderByList The list of category's values to order by.
|
|
268
225
|
*/
|
|
269
|
-
setSortOrder(e,
|
|
270
|
-
|
|
226
|
+
setSortOrder(e, t) {
|
|
227
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
228
|
+
u(e, this._config, t), this.emitConfigUpdate("setSortOrder");
|
|
229
|
+
});
|
|
271
230
|
}
|
|
272
231
|
/**
|
|
273
232
|
* Gets the list of the category values for the chart.
|
|
274
233
|
* @returns {string[]}
|
|
275
234
|
*/
|
|
276
235
|
async getCustomSortValues() {
|
|
277
|
-
return await
|
|
236
|
+
return await p(this._config, this.layerInfo);
|
|
278
237
|
}
|
|
279
238
|
/**
|
|
280
|
-
*
|
|
281
|
-
* @
|
|
239
|
+
* Sets the data filter for the bar chart.
|
|
240
|
+
* @param {WebChartDataFilters | undefined} newDataFilter The new data filter.
|
|
282
241
|
*/
|
|
283
|
-
|
|
284
|
-
|
|
242
|
+
async setDataFilters(e) {
|
|
243
|
+
super.setDataFilters(e);
|
|
244
|
+
const t = y(this._config);
|
|
245
|
+
if (t === ie.customSort) {
|
|
246
|
+
const i = await p(this._config, this.layerInfo);
|
|
247
|
+
u(t, this._config, i);
|
|
248
|
+
}
|
|
249
|
+
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilter");
|
|
285
250
|
}
|
|
286
251
|
/**
|
|
287
|
-
*
|
|
288
|
-
* @param {string[]} newOrderByList The new list of custom sort values
|
|
252
|
+
* The list of custom sort values for custom sort
|
|
289
253
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
254
|
+
get orderByList() {
|
|
255
|
+
return S(this._config);
|
|
256
|
+
}
|
|
257
|
+
set orderByList(e) {
|
|
258
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
259
|
+
!M(this._config) && (C(e, this._config), this.emitConfigUpdate("orderByList"));
|
|
260
|
+
});
|
|
292
261
|
}
|
|
293
262
|
/**
|
|
294
263
|
* Updates the series based on the layer filter.
|
|
295
264
|
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
296
265
|
*/
|
|
297
266
|
async updateSeriesFromLayerFilter() {
|
|
298
|
-
this.layerInfo !== void 0 && (await
|
|
299
|
-
splitByField: this.getSplitByField(),
|
|
300
|
-
numericFields: this.getNumericFields(),
|
|
301
|
-
aggregationType: this.getAggregationType(),
|
|
302
|
-
config: this._config,
|
|
303
|
-
layerInfo: this.layerInfo
|
|
304
|
-
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("updateSeriesFromLayerFilter"));
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* Gets whether temporal binning is enabled for all series in the config.
|
|
308
|
-
* @returns {boolean} - Whether temporal binning is enabled.
|
|
309
|
-
*/
|
|
310
|
-
getBinTemporalData() {
|
|
311
|
-
return se(this._config);
|
|
267
|
+
this.layerInfo !== void 0 && (this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"), await this.processSeriesRebuild());
|
|
312
268
|
}
|
|
313
269
|
/**
|
|
314
|
-
*
|
|
315
|
-
* @param {boolean} value - Whether to enable or disable temporal binning.
|
|
270
|
+
* Whether temporal binning is enabled for all series in the config.
|
|
316
271
|
*
|
|
317
|
-
* **NOTE**
|
|
272
|
+
* **NOTE** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
318
273
|
*/
|
|
319
|
-
|
|
320
|
-
|
|
274
|
+
get binTemporalData() {
|
|
275
|
+
return J(this._config);
|
|
276
|
+
}
|
|
277
|
+
set binTemporalData(e) {
|
|
278
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
279
|
+
Q(e, this._config), this.emitConfigUpdate("enableTemporalBinning");
|
|
280
|
+
});
|
|
321
281
|
}
|
|
322
282
|
// #endregion
|
|
323
283
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -330,15 +290,17 @@ class xe extends T {
|
|
|
330
290
|
* @returns {string | undefined}
|
|
331
291
|
*/
|
|
332
292
|
getSeriesName(e) {
|
|
333
|
-
return
|
|
293
|
+
return ce(e, this._config);
|
|
334
294
|
}
|
|
335
295
|
/**
|
|
336
296
|
* Sets name of the series based on the series index.
|
|
337
297
|
* @param {string} name The name for the series.
|
|
338
298
|
* @param {number} seriesIndex The index of the series.
|
|
339
299
|
*/
|
|
340
|
-
setSeriesName(e,
|
|
341
|
-
|
|
300
|
+
setSeriesName(e, t) {
|
|
301
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
302
|
+
de(e, t, this._config), this.emitConfigUpdate("setSeriesName");
|
|
303
|
+
});
|
|
342
304
|
}
|
|
343
305
|
/**
|
|
344
306
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -346,32 +308,36 @@ class xe extends T {
|
|
|
346
308
|
* @returns {Color | undefined}
|
|
347
309
|
*/
|
|
348
310
|
getSeriesColor(e) {
|
|
349
|
-
return
|
|
311
|
+
return me(e, this._config);
|
|
350
312
|
}
|
|
351
313
|
/**
|
|
352
314
|
* Sets the color of the series based on the series index.
|
|
353
315
|
* @param {Color | undefined} newColor The new color for the series.
|
|
354
316
|
* @param {number} seriesIndex The index of the series.
|
|
355
317
|
*/
|
|
356
|
-
setSeriesColor(e,
|
|
357
|
-
|
|
318
|
+
setSeriesColor(e, t) {
|
|
319
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
320
|
+
fe(e, t, this._config), this.emitConfigUpdate("setSeriesColor");
|
|
321
|
+
});
|
|
358
322
|
}
|
|
359
323
|
/**
|
|
360
324
|
* Gets the order of the series array by returning an array of series ids.
|
|
361
325
|
* @returns {string[]}
|
|
362
326
|
*/
|
|
363
327
|
getOrderOfSeries() {
|
|
364
|
-
return
|
|
328
|
+
return ye(this._config);
|
|
365
329
|
}
|
|
366
330
|
/**
|
|
367
331
|
* Sets the order of the series array by providing an array of series ids.
|
|
368
332
|
* @param {string[]} newOrder The new order of the series array.
|
|
369
333
|
*/
|
|
370
334
|
setOrderOfSeries(e) {
|
|
371
|
-
|
|
335
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
336
|
+
ue(e, this._config), this.emitConfigUpdate("setOrderOfSeries");
|
|
337
|
+
});
|
|
372
338
|
}
|
|
373
339
|
/**
|
|
374
|
-
*
|
|
340
|
+
* How the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
|
|
375
341
|
* when multiple attributes/fields corresponding to the same set of classes are to be visualized.
|
|
376
342
|
*
|
|
377
343
|
* Currently this property is only used for bar and line series.
|
|
@@ -380,34 +346,29 @@ class xe extends T {
|
|
|
380
346
|
*
|
|
381
347
|
* @returns {WebChartStackedKinds | undefined}
|
|
382
348
|
*/
|
|
383
|
-
|
|
384
|
-
return
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
*/
|
|
396
|
-
async setStackedType(e) {
|
|
397
|
-
await _e({
|
|
398
|
-
newStackedType: e,
|
|
399
|
-
config: this._config,
|
|
400
|
-
layerInfo: this.layerInfo
|
|
401
|
-
}), this.emitConfigUpdate("setStackedType");
|
|
349
|
+
get stackedType() {
|
|
350
|
+
return pe(this._config);
|
|
351
|
+
}
|
|
352
|
+
set stackedType(e) {
|
|
353
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
354
|
+
Se({
|
|
355
|
+
newStackedType: e,
|
|
356
|
+
config: this._config,
|
|
357
|
+
layerInfo: this.layerInfo,
|
|
358
|
+
commonStrings: this.commonStrings
|
|
359
|
+
}), this.emitConfigUpdate("stackedType");
|
|
360
|
+
});
|
|
402
361
|
}
|
|
403
362
|
/**
|
|
404
363
|
* Moves a series from one index in the series array to another.
|
|
405
364
|
* @param {number} fromIndex Index to move the series from.
|
|
406
365
|
* @param {number} toIndex Index to move the series to.
|
|
407
366
|
*/
|
|
408
|
-
moveSeries(e,
|
|
409
|
-
|
|
410
|
-
|
|
367
|
+
moveSeries(e, t) {
|
|
368
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
369
|
+
const i = this.getOrderOfSeries(), [r] = i.splice(e, 1);
|
|
370
|
+
i.splice(t, 0, r), this.setOrderOfSeries(i), this.emitConfigUpdate("moveSeries");
|
|
371
|
+
});
|
|
411
372
|
}
|
|
412
373
|
/**
|
|
413
374
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
@@ -416,81 +377,129 @@ class xe extends T {
|
|
|
416
377
|
* @param {number} fromIndex The index to move the custom sort value from.
|
|
417
378
|
* @param {number} toIndex The index to move the custom sort value to.
|
|
418
379
|
*/
|
|
419
|
-
moveCustomSortValuesInOrderByList(e,
|
|
420
|
-
|
|
421
|
-
|
|
380
|
+
moveCustomSortValuesInOrderByList(e, t) {
|
|
381
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
382
|
+
const i = S(this._config), [r] = i.splice(e, 1);
|
|
383
|
+
i.splice(t, 0, r), C(i, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
|
|
384
|
+
});
|
|
422
385
|
}
|
|
423
386
|
/**
|
|
424
|
-
*
|
|
425
|
-
* @returns {WebChartNullCategory | undefined}
|
|
387
|
+
* The null category configuration of the bar chart.
|
|
426
388
|
*/
|
|
427
|
-
|
|
428
|
-
return
|
|
389
|
+
get nullCategory() {
|
|
390
|
+
return Ce(this._config);
|
|
391
|
+
}
|
|
392
|
+
set nullCategory(e) {
|
|
393
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
394
|
+
const t = this.nullCategory;
|
|
395
|
+
x(t, e) || (Fe(this._config, e), this.emitConfigUpdate("setNullCategory"));
|
|
396
|
+
});
|
|
429
397
|
}
|
|
430
398
|
/**
|
|
431
|
-
* Sets the
|
|
432
|
-
* @
|
|
399
|
+
* Sets up the local props based on the current config.
|
|
400
|
+
* @category Protected
|
|
433
401
|
*/
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
_(i, e) || (Fe(this._config, e), this.emitConfigUpdate("setNullCategory"));
|
|
402
|
+
setupLocalProps() {
|
|
403
|
+
this._xAxisField = Z(this._config), this._aggregationType = h(this._config), this._splitByField = $(this._config), this._numericFields = c(this._config);
|
|
437
404
|
}
|
|
438
405
|
/**
|
|
439
406
|
* Resets the config to the default config
|
|
407
|
+
* @category Protected
|
|
440
408
|
*/
|
|
441
|
-
|
|
409
|
+
resetConfig() {
|
|
442
410
|
const e = this._config.id;
|
|
443
|
-
this._config =
|
|
411
|
+
this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("resetConfig");
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Determines if we can rebuild the series synchronously.
|
|
415
|
+
* We can call the build new series function synchronously when either is true:
|
|
416
|
+
* - there is no split-by field
|
|
417
|
+
* - there are multiple numeric fields
|
|
418
|
+
* @category Protected
|
|
419
|
+
*/
|
|
420
|
+
canUseSynchronousSeriesRebuild() {
|
|
421
|
+
return this.splitByField === "" || this.numericFields.length > 1;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Processes the series rebuild.
|
|
425
|
+
* If multiple async setters are called in succession, this function will only rebuild the series once after all setters have been called.
|
|
426
|
+
* @category Protected
|
|
427
|
+
* @async
|
|
428
|
+
*/
|
|
429
|
+
async processSeriesRebuild() {
|
|
430
|
+
if (this.layerInfo !== void 0) {
|
|
431
|
+
const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
|
|
432
|
+
if (this.canUseSynchronousSeriesRebuild())
|
|
433
|
+
this.dirtyAsyncSetters = [], F(this.getBuildNewSeriesProps());
|
|
434
|
+
else if (!this.asyncConfigUpdateInProgress) {
|
|
435
|
+
for (this.asyncConfigUpdateInProgress = !0, this.setupFinished = new Promise((t) => {
|
|
436
|
+
this.resolveSetup = t;
|
|
437
|
+
}); this.dirtyAsyncSetters.length > 0; )
|
|
438
|
+
this.dirtyAsyncSetters = [], await F(this.getBuildNewSeriesProps());
|
|
439
|
+
this.asyncConfigUpdateInProgress = !1, this.resolveSetup?.();
|
|
440
|
+
}
|
|
441
|
+
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
// #endregion
|
|
445
|
+
// #region Private Methods
|
|
446
|
+
/**
|
|
447
|
+
* Gets the properties needed to build a new series array.
|
|
448
|
+
*/
|
|
449
|
+
getBuildNewSeriesProps() {
|
|
450
|
+
return {
|
|
451
|
+
xAxisField: this.xAxisField,
|
|
452
|
+
splitByField: this.splitByField,
|
|
453
|
+
numericFields: this.numericFields,
|
|
454
|
+
aggregationType: this.aggregationType,
|
|
455
|
+
config: this._config,
|
|
456
|
+
layerInfo: this.layerInfo,
|
|
457
|
+
commonStrings: this.commonStrings
|
|
458
|
+
};
|
|
444
459
|
}
|
|
445
460
|
// #endregion
|
|
446
461
|
// ---------------------------------------------------------------------------------------------
|
|
447
|
-
// #region
|
|
462
|
+
// #region Public Methods
|
|
448
463
|
// ---------------------------------------------------------------------------------------------
|
|
449
464
|
/**
|
|
450
465
|
* Generate the proper chart title given the current config.
|
|
451
|
-
*
|
|
452
|
-
* @returns {string}
|
|
453
466
|
*/
|
|
454
|
-
|
|
455
|
-
return this.layerInfo !== void 0 ?
|
|
467
|
+
generateChartTitle() {
|
|
468
|
+
return this.layerInfo !== void 0 ? ee(this._config, this.layerInfo, this.commonStrings) : "";
|
|
456
469
|
}
|
|
457
470
|
/**
|
|
458
471
|
* Generate the proper x-axis title given the current config.
|
|
459
|
-
*
|
|
460
|
-
* @returns {string}
|
|
461
472
|
*/
|
|
462
473
|
generateXAxisTitle() {
|
|
463
|
-
|
|
464
|
-
return this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : "";
|
|
474
|
+
return this.layerInfo !== void 0 ? L(this.layerInfo.layerFieldsInfo, this._xAxisField) : "";
|
|
465
475
|
}
|
|
466
476
|
/**
|
|
467
477
|
* Generate the proper y-axis title given the current config.
|
|
468
|
-
*
|
|
469
|
-
* @returns {string}
|
|
470
478
|
*/
|
|
471
|
-
|
|
472
|
-
return this.layerInfo !== void 0 ?
|
|
479
|
+
generateYAxisTitle() {
|
|
480
|
+
return this.layerInfo !== void 0 ? _({
|
|
473
481
|
config: this._config,
|
|
474
482
|
layerInfo: this.layerInfo,
|
|
475
|
-
|
|
476
|
-
|
|
483
|
+
commonStrings: this.commonStrings,
|
|
484
|
+
numericFields: c(this._config),
|
|
485
|
+
aggregationType: h(this._config)
|
|
477
486
|
}) : "";
|
|
478
487
|
}
|
|
479
488
|
// #endregion
|
|
480
489
|
}
|
|
481
|
-
|
|
482
|
-
|
|
490
|
+
te(Ae, [
|
|
491
|
+
w,
|
|
492
|
+
se,
|
|
483
493
|
re,
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
494
|
+
oe,
|
|
495
|
+
ae,
|
|
496
|
+
ne,
|
|
497
|
+
D,
|
|
488
498
|
N,
|
|
489
|
-
|
|
490
|
-
de
|
|
499
|
+
le
|
|
491
500
|
]);
|
|
492
501
|
export {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
502
|
+
Ae as S,
|
|
503
|
+
de as a,
|
|
504
|
+
fe as s
|
|
496
505
|
};
|