@arcgis/charts-components 4.34.0-next.142 → 4.34.0-next.143
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/{FYPHTJDG.js → 27DPRRIO.js} +2 -2
- package/dist/cdn/{EOS32NLK.js → 2GXMFXNQ.js} +2 -2
- package/dist/cdn/{RMVF2EB7.js → 2I45E4HX.js} +2 -2
- package/dist/cdn/{PW2UIMX7.js → 2KA57ESL.js} +2 -2
- package/dist/cdn/{A27LIBVO.js → 2KJ6DUBU.js} +2 -2
- package/dist/cdn/{HEY72GFW.js → 2MSHYKLY.js} +1 -1
- package/dist/cdn/{P66NRJ4E.js → 2T3TZHDL.js} +2 -2
- package/dist/cdn/{4CPCHUKN.js → 2Y3VDB4A.js} +2 -2
- package/dist/cdn/{RF6WSBHG.js → 33MZG54V.js} +2 -2
- package/dist/cdn/{QGAWAYOO.js → 3OUS7FTI.js} +2 -2
- package/dist/cdn/{R6IOVFXZ.js → 3VOZA7FO.js} +2 -2
- package/dist/cdn/{25GEW6NE.js → 3YPORNCM.js} +2 -2
- package/dist/cdn/{WEJ4N7K4.js → 423V5C4B.js} +2 -2
- package/dist/cdn/{BNCPYPO4.js → 47UT4ZJL.js} +2 -2
- package/dist/cdn/{GEF364YZ.js → 4EDWTAFI.js} +2 -2
- package/dist/cdn/{TBBKIV5V.js → 4HULC2CI.js} +2 -2
- package/dist/cdn/{SPTEILAX.js → 4TMOYJA4.js} +2 -2
- package/dist/cdn/{LEXHRATX.js → 4VI6KX2G.js} +2 -2
- package/dist/cdn/{RNCBXUCQ.js → 5ELXT6PR.js} +2 -2
- package/dist/cdn/{IRO3ZG66.js → 5I5TZFA5.js} +2 -2
- package/dist/cdn/{BDSIRWPW.js → 5MDT56DS.js} +2 -2
- package/dist/cdn/{YFBKDK6E.js → 5N7T7RYN.js} +2 -2
- package/dist/cdn/{L44BSTBV.js → 5SG67GSY.js} +2 -2
- package/dist/cdn/{RH2JK5VB.js → 5SJLW2TE.js} +2 -2
- package/dist/cdn/{2ANVMV6D.js → 664ABRXE.js} +2 -2
- package/dist/cdn/{TLQPERBZ.js → 6A7Q3TQQ.js} +2 -2
- package/dist/cdn/{T4K26RPW.js → 6BUORERH.js} +2 -2
- package/dist/cdn/{2SESEFCH.js → 6F46JHJD.js} +2 -2
- package/dist/cdn/{K3OJHBYP.js → 6HZURVW6.js} +2 -2
- package/dist/cdn/{3V3P3WDO.js → 6NO3CTQ7.js} +2 -2
- package/dist/cdn/{Q3UU6TPH.js → 6RBT7U7F.js} +2 -2
- package/dist/cdn/{PGWJFVFS.js → 7EOCM732.js} +2 -2
- package/dist/cdn/{BWVYUXHU.js → 7HZIBDBN.js} +2 -2
- package/dist/cdn/{FKIB464H.js → 7LXUT7LH.js} +2 -2
- package/dist/cdn/{LFUDSJMK.js → 7PGKNQGM.js} +2 -2
- package/dist/cdn/{CWGPLHBO.js → 7UNGWO45.js} +2 -2
- package/dist/cdn/{D6KUZQDE.js → 7Y37RVXF.js} +2 -2
- package/dist/cdn/{IXZTLHMK.js → A7F4LHVM.js} +2 -2
- package/dist/cdn/{UWGKEJY2.js → AC564Y7N.js} +2 -2
- package/dist/cdn/{4ZGTWTZN.js → AIHQHM4V.js} +2 -2
- package/dist/cdn/{S2FI3DXC.js → ARSMTOVV.js} +2 -2
- package/dist/cdn/{UHZ3QVOM.js → B2PRCF3G.js} +2 -2
- package/dist/cdn/{LR25PBXF.js → BHCBPBD5.js} +2 -2
- package/dist/cdn/{L7NEHANE.js → BHLQIXDL.js} +2 -2
- package/dist/cdn/{IZIIQRYW.js → BPU7FXWG.js} +2 -2
- package/dist/cdn/{YJ6P4MDL.js → BRFPPI6O.js} +3 -3
- package/dist/cdn/{ITYHMXBD.js → BYR7CBJJ.js} +2 -2
- package/dist/cdn/{FXOAIE77.js → C722DGNP.js} +2 -2
- package/dist/cdn/{XIMHJK6E.js → CCOKMCJT.js} +1 -1
- package/dist/cdn/CDCPDQP7.js +4 -0
- package/dist/cdn/{QM34HTYR.js → CLKJKT6J.js} +2 -2
- package/dist/cdn/{ICFNCHVX.js → CS2LS2C4.js} +2 -2
- package/dist/cdn/{4JNZ6PXG.js → CTVURQ42.js} +2 -2
- package/dist/cdn/{F67J6QGU.js → CZJLDAUL.js} +2 -2
- package/dist/cdn/{LD3EFKD2.js → D5534GMU.js} +2 -2
- package/dist/cdn/{7UM2QM5C.js → DBFWRZDJ.js} +2 -2
- package/dist/cdn/{OFXR4HCP.js → DDN6BJZK.js} +2 -2
- package/dist/cdn/{R2BT4X5U.js → DZ2QWGES.js} +2 -2
- package/dist/cdn/{BUSHRUK5.js → E2NEJIIA.js} +2 -2
- package/dist/cdn/{HTQR2XNZ.js → ECPH3ETO.js} +2 -2
- package/dist/cdn/{KYI6IVTD.js → EJUGL4QY.js} +2 -2
- package/dist/cdn/{NMOMSPHP.js → ENJOMNYR.js} +2 -2
- package/dist/cdn/F4PNSY5G.js +4 -0
- package/dist/cdn/{JQE62N64.js → FB7DN3DT.js} +1 -1
- package/dist/cdn/{XXCIZ3KV.js → FDGLYVMO.js} +2 -2
- package/dist/cdn/{NX5JPPZY.js → FFOLYKDF.js} +2 -2
- package/dist/cdn/{2G25A3QA.js → FJRBRN6U.js} +2 -2
- package/dist/cdn/{UMKC7ISM.js → FOOSRTYP.js} +2 -2
- package/dist/cdn/{NJEKREZ7.js → FTSITU6D.js} +2 -2
- package/dist/cdn/{OTNJTF2I.js → FXJ6IIU7.js} +2 -2
- package/dist/cdn/{ONERQRVY.js → FZ2FCD6T.js} +2 -2
- package/dist/cdn/{RFZUXU4W.js → GGJMORSZ.js} +1 -1
- package/dist/cdn/{RJDHGWZF.js → GNVGY7HC.js} +2 -2
- package/dist/cdn/GRIZMI32.js +4 -0
- package/dist/cdn/{KY7RUQ64.js → GTOLCUY3.js} +2 -2
- package/dist/cdn/GVWQ2O6V.js +4 -0
- package/dist/cdn/{TU5ZGCNX.js → GWOE3PWJ.js} +4 -4
- package/dist/cdn/{QV5GZWKW.js → H65DVXBA.js} +2 -2
- package/dist/cdn/{MRFM24KT.js → HBSUFJH5.js} +2 -2
- package/dist/cdn/{JLKM3HUU.js → HHVXGICB.js} +2 -2
- package/dist/cdn/{IA6QL63S.js → HR444NEK.js} +2 -2
- package/dist/cdn/{6G6CZXJT.js → HVU3PQF7.js} +2 -2
- package/dist/cdn/{OQKREWR6.js → HXX354OX.js} +2 -2
- package/dist/cdn/{SD3RGLHI.js → HYJWUK62.js} +2 -2
- package/dist/cdn/{XNHQVDR6.js → JLWIFYPQ.js} +2 -2
- package/dist/cdn/{6HRX7ISE.js → JTBNI6SM.js} +2 -2
- package/dist/cdn/{TIR7SJCN.js → KGGAJF4P.js} +2 -2
- package/dist/cdn/{2IM2HTSE.js → KK6BQ2CP.js} +2 -2
- package/dist/cdn/{ZG3BCJ7P.js → KOMDBSMS.js} +2 -2
- package/dist/cdn/{IWGGUORQ.js → KQQ7FWII.js} +2 -2
- package/dist/cdn/{BKHZOZUN.js → KTN3MTLN.js} +2 -2
- package/dist/cdn/{PLNR6RYO.js → L46ACBCL.js} +2 -2
- package/dist/cdn/{LYOUJX3G.js → L4NKYMCI.js} +2 -2
- package/dist/cdn/{LX54RJ62.js → L6QNURLG.js} +2 -2
- package/dist/cdn/{6VBYFOB3.js → LA3WXX6S.js} +2 -2
- package/dist/cdn/{7BV4UPBJ.js → LDLGWCT5.js} +2 -2
- package/dist/cdn/{ZZPTMSTP.js → LDV74QGM.js} +2 -2
- package/dist/cdn/LK353QED.js +4 -0
- package/dist/cdn/{T6OCVJ2S.js → LLP5LLYH.js} +2 -2
- package/dist/cdn/{AJ3VGUC7.js → M2NBNGYI.js} +2 -2
- package/dist/cdn/{ZHHABKJS.js → M7SQOAZH.js} +2 -2
- package/dist/cdn/{XX7RCQWQ.js → MDE477I7.js} +2 -2
- package/dist/cdn/{PNZEAROD.js → MLCW5RKR.js} +2 -2
- package/dist/cdn/{SQHK5QIZ.js → N4MLKZVD.js} +2 -2
- package/dist/cdn/{OQBDZQXQ.js → N6TQQBVF.js} +2 -2
- package/dist/cdn/NHEJYFBE.js +4 -0
- package/dist/cdn/{I3JCQUVZ.js → NMNYQLQR.js} +2 -2
- package/dist/cdn/{UPSO7Y5L.js → NOKTLBNB.js} +2 -2
- package/dist/cdn/{FXBN362H.js → NX27XK5S.js} +2 -2
- package/dist/cdn/{45VOMRAM.js → NX4QKBZH.js} +2 -2
- package/dist/cdn/{U2NNEZ7L.js → O27CE2NW.js} +2 -2
- package/dist/cdn/{FFKFBICZ.js → OKMUSD5P.js} +2 -2
- package/dist/cdn/{UYGW4DEM.js → OXIM4H35.js} +2 -2
- package/dist/cdn/{32WTDHJV.js → OXK2XXFX.js} +2 -2
- package/dist/cdn/OYNA3N5F.js +4 -0
- package/dist/cdn/{2ITCGPIY.js → P4XTDT5I.js} +2 -2
- package/dist/cdn/{RDKIDYXY.js → P6VORUPJ.js} +2 -2
- package/dist/cdn/{CCGL4BTR.js → PRV2MZWR.js} +2 -2
- package/dist/cdn/{ZNSS2AZV.js → PWHN33GS.js} +2 -2
- package/dist/cdn/{CK2ST5HA.js → Q4MJCFNM.js} +2 -2
- package/dist/cdn/{6QM47ABB.js → QH3YQHCO.js} +2 -2
- package/dist/cdn/{BUXHF7JZ.js → QUW3APXX.js} +2 -2
- package/dist/cdn/{C72ZXTKO.js → QWT35GC3.js} +2 -2
- package/dist/cdn/{YC2RL6CV.js → QYBP46E3.js} +2 -2
- package/dist/cdn/{6UVVRH2Q.js → RDDHCGUT.js} +2 -2
- package/dist/cdn/{N2OEM76I.js → RFTRBMMB.js} +2 -2
- package/dist/cdn/{2HPRLYWX.js → RKIFKKFA.js} +2 -2
- package/dist/cdn/{QPKBEQ6E.js → RL3UM6MF.js} +2 -2
- package/dist/cdn/S3STODPH.js +4 -0
- package/dist/cdn/{SV22W6AC.js → S7PS3LSG.js} +2 -2
- package/dist/cdn/{PL5PWWIA.js → SA44ZUJK.js} +2 -2
- package/dist/cdn/{DOKRNRNV.js → SDTEUWGA.js} +2 -2
- package/dist/cdn/{FXJPNW2X.js → SIC5XWJJ.js} +2 -2
- package/dist/cdn/{5AEK7BD7.js → SMDXISGW.js} +2 -2
- package/dist/cdn/{ISDSAFJS.js → SRARQZI7.js} +2 -2
- package/dist/cdn/{FQWZZW7B.js → SYX4WHDL.js} +1 -1
- package/dist/cdn/{YFMHX76Y.js → T4ODWNN3.js} +2 -2
- package/dist/cdn/{TGBR4CIO.js → TE3X665C.js} +2 -2
- package/dist/cdn/{X2WO4BRB.js → TEXZSQQM.js} +2 -2
- package/dist/cdn/{4AVQKAIL.js → TX73U2FV.js} +2 -2
- package/dist/cdn/{SOFZLGIF.js → U4KW5WEC.js} +2 -2
- package/dist/cdn/{A3AS74X2.js → U4NFJDZB.js} +1 -1
- package/dist/cdn/{UD6X7PZM.js → U65RDXQB.js} +2 -2
- package/dist/cdn/{K5M7QNES.js → UDDG2EO4.js} +2 -2
- package/dist/cdn/{RY7UIBTO.js → UEDILFWW.js} +2 -2
- package/dist/cdn/{SZYALN76.js → UGS4NW57.js} +1 -1
- package/dist/cdn/{BKY6HJ2A.js → UR5SKTGT.js} +2 -2
- package/dist/cdn/{IUDJVWHQ.js → UTYZK53H.js} +2 -2
- package/dist/cdn/{M3YVRGJ4.js → UVEEOGJE.js} +2 -2
- package/dist/cdn/{5IQP3K3O.js → V2HKJ2XS.js} +2 -2
- package/dist/cdn/{Y4K3CSNK.js → V2QONJ63.js} +2 -2
- package/dist/cdn/{C2RQCDZI.js → V3MBA5JM.js} +2 -2
- package/dist/cdn/{Z44G5QWL.js → VBHUU653.js} +2 -2
- package/dist/cdn/{RALLQ5TP.js → VDH7KNTF.js} +2 -2
- package/dist/cdn/{HUID3T4Q.js → VOY4SECC.js} +2 -2
- package/dist/cdn/{XSLZJPOC.js → VSWXAAOC.js} +2 -2
- package/dist/cdn/{ZS5EATJF.js → VUORQAFM.js} +2 -2
- package/dist/cdn/{BDQVET3Y.js → VXSFM4K2.js} +2 -2
- package/dist/cdn/{DU6B4YFO.js → WCN5BTZK.js} +2 -2
- package/dist/cdn/{IECIRQ6O.js → WRQILX2B.js} +2 -2
- package/dist/cdn/{H2XTFWDF.js → WU4NBI26.js} +2 -2
- package/dist/cdn/{HDUUEU5A.js → WZWKVPCZ.js} +2 -2
- package/dist/cdn/{4E2Y2BIG.js → X25LJUWS.js} +2 -2
- package/dist/cdn/{5X62346I.js → Y3F4QRXD.js} +2 -2
- package/dist/cdn/{5KHI2IV3.js → YATDLDWB.js} +2 -2
- package/dist/cdn/{GGQORSJO.js → YCIOSELY.js} +2 -2
- package/dist/cdn/{6UVBQF2N.js → YG76ZVWF.js} +2 -2
- package/dist/cdn/{LJIUOK56.js → YHX5XN4Y.js} +2 -2
- package/dist/cdn/{FYJBWI3W.js → YJDUWPXE.js} +2 -2
- package/dist/cdn/{BIVUYEQS.js → YMTBJTUG.js} +2 -2
- package/dist/cdn/{PUJWL5ZS.js → YPP3POBW.js} +2 -2
- package/dist/cdn/{JF3EDWHN.js → YZL2UVIR.js} +2 -2
- package/dist/cdn/{WHTHFRGI.js → Z3J5IOTX.js} +2 -2
- package/dist/cdn/{Y7MJCEGF.js → Z6WUUF2T.js} +2 -2
- package/dist/cdn/{OMDALIWB.js → ZEL3FQZS.js} +2 -2
- package/dist/cdn/{WV4BV5C5.js → ZEVGYTNS.js} +1 -1
- package/dist/cdn/{JQECSEAU.js → ZK4WKR7K.js} +33 -33
- package/dist/cdn/{S6FSW5BY.js → ZS3AU56P.js} +2 -2
- package/dist/cdn/{EMMBGTXG.js → ZTOG5M7S.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 +5 -5
- 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 +34 -34
- package/dist/chunks/box-plot-model.js +23 -23
- 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 +10 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +383 -418
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- 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 +16245 -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 +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +11 -11
- package/dist/chunks/model-with-multi-axes.js +50 -50
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +28 -29
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- 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 +4 -4
- package/dist/chunks/serial-chart-model.js +5 -5
- 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 +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +40 -40
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +3168 -3150
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -10
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- 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 +6 -6
- 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 +5 -5
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- 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 +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- 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 +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- 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 +2 -2
- 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/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/localization/interfaces.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/2K3K5MH5.js +0 -4
- package/dist/cdn/7V5BAGW6.js +0 -4
- package/dist/cdn/AXBERCQX.js +0 -4
- package/dist/cdn/B3WCL2RF.js +0 -4
- package/dist/cdn/K3PAHXMA.js +0 -4
- package/dist/cdn/OSLZCSUP.js +0 -4
- package/dist/cdn/VZKZKSXL.js +0 -4
- package/dist/cdn/W5TAEYXR.js +0 -4
- package/dist/chunks/events.js +0 -18
package/dist/chunks/data.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { substitute as k } from "@arcgis/core/intl.js";
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { b as
|
|
6
|
-
import { fetchT9nStringsBundle as
|
|
2
|
+
import { cloneDeep as G, capitalize as U, memoize as fe, isEmpty as we } from "lodash-es";
|
|
3
|
+
import { e as Ne, a as b, u as Q, W as h, g as O, t as w, m as te, n as Ve, i as se } from "./series-types.js";
|
|
4
|
+
import { a as Se, R as De } from "./rest-js-object-literals.js";
|
|
5
|
+
import { ad as ie, c9 as Oe, aU as be, cd as j, au as qe, ab as V, a9 as D, b2 as L, ac as Me, p as W, c2 as $e, b as R, cx as P, c as ke, a as je, r as M, be as Ee, bF as Fe, bf as ae, bg as re, ch as Pe, l as le, cv as Ue, m as Re, bd as Ke, x as oe, ax as We, ay as ze, aA as Xe, bc as ge, ae as _e, af as Ye } from "./interfaces.js";
|
|
6
|
+
import { fetchT9nStringsBundle as ne, getElementLocale as ce } from "@arcgis/toolkit/intl";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import { N as Fe, aI as $e, A as ke, a0 as ie, aJ as je, h as be, c as j, av as Pe, aA as V, aH as D, aG as L, b as Ee, m as W, C as E, at as M, aK as Ue, ar as Te, Y as le, Z as oe, ap as Ke, an as ne, ac as Re, X as We, Q as Xe, i as ce, o as ze, G as _e, w as Ye, a3 as ge, $ as Ge, ax as Ze } from "./interfaces2.js";
|
|
9
8
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
9
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
10
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -14,47 +13,14 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
14
13
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
14
|
import "@arcgis/core/request.js";
|
|
16
15
|
import { g as de } from "./runtime.js";
|
|
17
|
-
import {
|
|
16
|
+
import { q as Ze, l as I, n as Ge, o as Qe, j as B, k as C } from "./index4.js";
|
|
18
17
|
import "@arcgis/toolkit/dom";
|
|
19
|
-
import { a as
|
|
18
|
+
import { a as He, S } from "./common.js";
|
|
19
|
+
import { u as Te } from "./index2.js";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
|
|
24
|
-
const { queryObject: e, queryConfig: s, category: i, splitByField: a, chartLimits: r, abortKey: c } = t, n = a !== void 0, y = i !== ke ? [i] : [];
|
|
25
|
-
n && y.push(a);
|
|
26
|
-
const l = Fe(e), x = {
|
|
27
|
-
...s,
|
|
28
|
-
groupByFieldsForStatistics: Array.from(new Set(y)),
|
|
29
|
-
outStatistics: [
|
|
30
|
-
{
|
|
31
|
-
statisticType: S.Count,
|
|
32
|
-
onStatisticField: l.objectIdField,
|
|
33
|
-
// Generating an out stat field name. Letting it to COUNT only can fail the query on arcObject layers
|
|
34
|
-
outStatisticFieldName: `${S.Count}_OBJECTID`
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
orderByFields: void 0,
|
|
38
|
-
// Adding num (resultRecordCount) to match the query fetching the results (build by `buildUniqueQuery()). We pick an arbitrary limit (maxBarThreePlusSeriesCountTotal)
|
|
39
|
-
// as we don't know in advance how many results we will get.
|
|
40
|
-
// TODO: once the servers are able to make a distinction between values with a different number of trailing spaces we'll be able to revert that function to its previous
|
|
41
|
-
// state, using the `returnDistinctValues` on a specific field.
|
|
42
|
-
// Refer to: https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8208
|
|
43
|
-
num: r?.maxBarThreePlusSeriesCountTotal
|
|
44
|
-
}, d = await $e({
|
|
45
|
-
queryObject: e,
|
|
46
|
-
featureCount: 1,
|
|
47
|
-
// skipping the count
|
|
48
|
-
queryConfig: x,
|
|
49
|
-
abortKey: c
|
|
50
|
-
});
|
|
51
|
-
return Array.from(
|
|
52
|
-
new Set(
|
|
53
|
-
d.map((o) => o.attributes[n ? a : i])
|
|
54
|
-
)
|
|
55
|
-
).sort((o, u) => typeof o == "string" && typeof u == "string" ? o.localeCompare(u) : Number(o) - Number(u));
|
|
56
|
-
}
|
|
57
|
-
function z(t, e, s) {
|
|
22
|
+
v4.34.0-next.143 */
|
|
23
|
+
function X(t, e, s) {
|
|
58
24
|
const i = t?.axes?.[e];
|
|
59
25
|
i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title = V({
|
|
60
26
|
text: s,
|
|
@@ -66,124 +32,124 @@ async function Y(t) {
|
|
|
66
32
|
const { config: e, layerInfo: s, numericFields: i, aggregationType: a } = t;
|
|
67
33
|
let r = "";
|
|
68
34
|
if (e) {
|
|
69
|
-
const c =
|
|
70
|
-
|
|
35
|
+
const c = Oe(e) === Ne.Stacked100, o = await ne(
|
|
36
|
+
ce(document.documentElement).t9nLocale,
|
|
71
37
|
de("./assets/common/t9n"),
|
|
72
38
|
"messages."
|
|
73
39
|
);
|
|
74
40
|
if (c)
|
|
75
|
-
r =
|
|
41
|
+
r = o.utilsStrings.statistics.percent;
|
|
76
42
|
else {
|
|
77
43
|
const y = await be(a);
|
|
78
44
|
if (i.length === 1) {
|
|
79
45
|
const l = j(s.layerFieldsInfo, i[0]);
|
|
80
|
-
a ===
|
|
46
|
+
a === b.NoAggregation ? r = l : a === b.Count && i[0] === s.objectIdField ? r = o.utilsStrings.statistics.count : r = k(o.axisLabels.aggregationOfFieldName, {
|
|
81
47
|
aggregation: y,
|
|
82
48
|
fieldName: l
|
|
83
49
|
});
|
|
84
|
-
} else i.length > 1 && (a ===
|
|
50
|
+
} else i.length > 1 && (a === b.NoAggregation ? r = o.axisLabels.values : r = k(o.axisLabels.aggregationOfValues, {
|
|
85
51
|
aggregation: y
|
|
86
52
|
}));
|
|
87
53
|
}
|
|
88
54
|
}
|
|
89
55
|
return r;
|
|
90
56
|
}
|
|
91
|
-
const
|
|
57
|
+
const Ae = async (t, e) => t.axes?.[e] ?? (await qe(t.type))[e], he = (t) => {
|
|
92
58
|
const { config: e, axis: s, axisIndex: i } = t;
|
|
93
59
|
e.axes !== void 0 && (e.axes[i] = s);
|
|
94
|
-
},
|
|
60
|
+
}, Pt = (t) => {
|
|
95
61
|
const { config: e, axisIndex: s, isMax: i } = t;
|
|
96
62
|
let a = Number.NaN;
|
|
97
63
|
return i ? a = e.axes?.[s]?.maximum : a = e.axes?.[s]?.minimum, a ?? Number.NaN;
|
|
98
64
|
}, f = (t) => {
|
|
99
65
|
const { config: e, value: s, axisIndex: i, isMax: a } = t, r = e?.axes?.[i];
|
|
100
66
|
r !== void 0 && (a ? r.maximum = s : r.minimum = s);
|
|
101
|
-
},
|
|
67
|
+
}, Ut = (t, e) => {
|
|
102
68
|
f({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
103
|
-
},
|
|
104
|
-
const s = await
|
|
69
|
+
}, Je = (t) => t.axes?.[0]?.valueFormat ?? ie(), et = async (t, e) => {
|
|
70
|
+
const s = await Ae(t, 0);
|
|
105
71
|
if (s !== void 0 && e !== void 0) {
|
|
106
72
|
const i = {
|
|
107
73
|
...s,
|
|
108
74
|
valueFormat: e
|
|
109
75
|
};
|
|
110
|
-
|
|
76
|
+
he({ config: t, axis: i, axisIndex: 0 });
|
|
111
77
|
}
|
|
112
78
|
}, pe = (t, e, s) => {
|
|
113
79
|
const i = t.axes?.[e];
|
|
114
80
|
i !== void 0 && (i.integerOnlyValues = s);
|
|
115
|
-
},
|
|
81
|
+
}, tt = (t) => {
|
|
116
82
|
const e = Q(t.series);
|
|
117
83
|
return e === h.BarSeries || e === h.ComboLineAndBarSeries || e === h.LineSeries;
|
|
118
|
-
},
|
|
84
|
+
}, st = (t) => {
|
|
119
85
|
const { axisIndex: e, config: s, isMultiAxis: i } = t;
|
|
120
86
|
let a = !1;
|
|
121
|
-
return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a =
|
|
122
|
-
},
|
|
87
|
+
return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a = tt(s)), a;
|
|
88
|
+
}, Rt = (t) => {
|
|
123
89
|
const { axisIndex: e, func: s, config: i } = t;
|
|
124
|
-
return
|
|
125
|
-
},
|
|
90
|
+
return st({ axisIndex: e, config: i, isMultiAxis: !0 }) ? s(e) : void 0;
|
|
91
|
+
}, Kt = (t, e) => {
|
|
126
92
|
let s;
|
|
127
93
|
const i = e.axes?.[t]?.valueFormat;
|
|
128
|
-
return (t === 0 || t >= 1 &&
|
|
129
|
-
},
|
|
130
|
-
const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await
|
|
94
|
+
return (t === 0 || t >= 1 && Ze(i)) && (s = i), s;
|
|
95
|
+
}, Wt = async (t) => {
|
|
96
|
+
const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await Ae(e, i);
|
|
131
97
|
if (a !== void 0 && s !== void 0) {
|
|
132
98
|
const r = {
|
|
133
99
|
...a,
|
|
134
100
|
valueFormat: s
|
|
135
101
|
};
|
|
136
|
-
|
|
102
|
+
he({
|
|
137
103
|
config: e,
|
|
138
104
|
axis: r,
|
|
139
105
|
axisIndex: i
|
|
140
106
|
});
|
|
141
107
|
}
|
|
142
|
-
},
|
|
108
|
+
}, zt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Xt = (t) => {
|
|
143
109
|
const { config: e, isLogarithmic: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
144
110
|
a && (a.isLogarithmic = s, f({ config: e, value: null, axisIndex: i, isMax: !0 }), f({ config: e, value: null, axisIndex: i, isMax: !1 }));
|
|
145
|
-
},
|
|
111
|
+
}, _t = (t) => {
|
|
146
112
|
const { config: e, scrollbar: s, axisIndex: i } = t;
|
|
147
113
|
e.axes?.[i] !== void 0 && (e.axes[i].scrollbar = s);
|
|
148
|
-
},
|
|
114
|
+
}, it = (t) => t.title?.content.text ?? "", Yt = (t, e) => {
|
|
149
115
|
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = V({
|
|
150
116
|
text: t,
|
|
151
117
|
visible: !0,
|
|
152
118
|
font: D(L.ChartTitle)
|
|
153
119
|
}));
|
|
154
|
-
},
|
|
120
|
+
}, Zt = (t) => t.subtitle?.content.text ?? "", Gt = (t, e) => {
|
|
155
121
|
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = V({
|
|
156
122
|
text: t,
|
|
157
123
|
visible: !0,
|
|
158
124
|
font: D(L.ChartSubtitle)
|
|
159
125
|
}));
|
|
160
|
-
},
|
|
126
|
+
}, Qt = (t) => t.footer?.content.text ?? "", Ht = (t, e) => {
|
|
161
127
|
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = V({
|
|
162
128
|
text: t,
|
|
163
129
|
visible: !0,
|
|
164
130
|
font: D(L.DescriptionText)
|
|
165
131
|
}));
|
|
166
|
-
},
|
|
132
|
+
}, Jt = (t) => t.title ? t.title.visible ?? !0 : !1, es = (t, e) => {
|
|
167
133
|
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = V({
|
|
168
134
|
text: "",
|
|
169
135
|
visible: t,
|
|
170
136
|
font: D(L.ChartTitle)
|
|
171
137
|
}));
|
|
172
|
-
},
|
|
138
|
+
}, ts = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, ss = (t, e) => {
|
|
173
139
|
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = V({
|
|
174
140
|
text: "",
|
|
175
141
|
visible: t,
|
|
176
142
|
font: D(L.ChartSubtitle)
|
|
177
143
|
}));
|
|
178
|
-
},
|
|
179
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !==
|
|
144
|
+
}, at = (t) => t.footer?.visible ?? !1, is = (t, e) => {
|
|
145
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== at(e) && (e.footer = V({
|
|
180
146
|
text: "",
|
|
181
147
|
visible: !0,
|
|
182
148
|
font: D(L.DescriptionText)
|
|
183
149
|
}));
|
|
184
|
-
},
|
|
150
|
+
}, as = (t) => t.chartRenderer, rs = (t, e) => {
|
|
185
151
|
e.chartRenderer = t;
|
|
186
|
-
},
|
|
152
|
+
}, ls = (t, e) => t.axes?.[e]?.title?.content, os = (t) => {
|
|
187
153
|
const { config: e, axisIndex: s, symbol: i } = t, a = e.axes?.[s];
|
|
188
154
|
if (a !== void 0) {
|
|
189
155
|
const r = a.title?.content.text;
|
|
@@ -194,11 +160,11 @@ const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
|
194
160
|
type: L.AxisTitle
|
|
195
161
|
})), i !== void 0 && (a.title.content = i), a.title.content.text = r;
|
|
196
162
|
}
|
|
197
|
-
},
|
|
163
|
+
}, ns = (t) => {
|
|
198
164
|
for (const e of t.axes ?? [])
|
|
199
165
|
if (e?.labels !== void 0)
|
|
200
166
|
return e.labels.content;
|
|
201
|
-
},
|
|
167
|
+
}, cs = (t, e) => {
|
|
202
168
|
for (const s of e.axes ?? [])
|
|
203
169
|
if (s !== void 0) {
|
|
204
170
|
const i = s.labels?.content.text;
|
|
@@ -207,75 +173,75 @@ const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
|
207
173
|
visible: !0,
|
|
208
174
|
font: D(L.AxisLabels),
|
|
209
175
|
type: L.AxisLabels
|
|
210
|
-
}) : s.labels.content =
|
|
176
|
+
}) : s.labels.content = G(t), s.labels.content.text = i;
|
|
211
177
|
}
|
|
212
|
-
},
|
|
178
|
+
}, ds = (t) => {
|
|
213
179
|
for (const e of t.axes ?? [])
|
|
214
180
|
if (e?.lineSymbol !== void 0)
|
|
215
181
|
return e.lineSymbol;
|
|
216
|
-
},
|
|
182
|
+
}, us = (t, e) => {
|
|
217
183
|
for (const s of e.axes ?? [])
|
|
218
|
-
s !== void 0 && (s.lineSymbol =
|
|
219
|
-
},
|
|
184
|
+
s !== void 0 && (s.lineSymbol = G(t) ?? Me());
|
|
185
|
+
}, ys = (t) => {
|
|
220
186
|
for (const e of t.axes ?? [])
|
|
221
187
|
if (e?.grid !== void 0)
|
|
222
188
|
return e.grid;
|
|
223
|
-
},
|
|
189
|
+
}, ms = (t, e, s) => {
|
|
224
190
|
const i = e.axes;
|
|
225
191
|
s.forEach((a) => {
|
|
226
|
-
i?.[a] !== void 0 && (i[a].grid =
|
|
192
|
+
i?.[a] !== void 0 && (i[a].grid = G(t));
|
|
227
193
|
});
|
|
228
|
-
}, ue = (t, e) => e.axes?.[t]?.title?.content.text ?? "",
|
|
194
|
+
}, ue = (t, e) => e.axes?.[t]?.title?.content.text ?? "", xs = (t, e, s) => {
|
|
229
195
|
const i = s.axes?.[e];
|
|
230
196
|
i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
231
197
|
text: t,
|
|
232
198
|
visible: !0,
|
|
233
199
|
font: D(L.AxisTitle)
|
|
234
200
|
}));
|
|
235
|
-
},
|
|
201
|
+
}, gs = (t, e) => e.axes?.[t]?.title?.visible ?? !1, ps = (t, e, s) => {
|
|
236
202
|
const i = s.axes?.[e];
|
|
237
203
|
i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = V({
|
|
238
204
|
text: ue(e, s),
|
|
239
205
|
visible: t,
|
|
240
206
|
font: D(L.AxisTitle)
|
|
241
207
|
}));
|
|
242
|
-
},
|
|
208
|
+
}, fs = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, Ss = (t, e, s) => {
|
|
243
209
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
|
|
244
|
-
},
|
|
210
|
+
}, bs = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Fs = (t) => {
|
|
245
211
|
const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
|
|
246
212
|
e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
|
|
247
|
-
},
|
|
213
|
+
}, Ts = (t, e) => t.axes?.[e]?.buffer ?? !1, As = (t) => {
|
|
248
214
|
const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
249
215
|
a !== void 0 && (a.buffer = s);
|
|
250
|
-
},
|
|
216
|
+
}, hs = (t, e) => t.axes?.[e]?.tickSpacing, vs = (t) => {
|
|
251
217
|
const { config: e, tickSpacing: s, axisIndex: i } = t;
|
|
252
218
|
e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
|
|
253
|
-
},
|
|
219
|
+
}, Bs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Cs = (t) => {
|
|
254
220
|
const { config: e, integerOnlyValues: s, axisIndex: i } = t;
|
|
255
221
|
e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
|
|
256
|
-
},
|
|
257
|
-
let e =
|
|
222
|
+
}, rt = (t) => {
|
|
223
|
+
let e = S.xAxisAsc;
|
|
258
224
|
const s = t.orderOptions?.data?.orderType ?? w.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
|
|
259
|
-
return s === w.Category && Array.isArray(i) ? e =
|
|
260
|
-
},
|
|
225
|
+
return s === w.Category && Array.isArray(i) ? e = S.customSort : s === w.Category ? i === O.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === O.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
|
|
226
|
+
}, lt = (t) => {
|
|
261
227
|
const e = Q(t.series);
|
|
262
228
|
let s = !1;
|
|
263
|
-
return (e === h.BarSeries || e === h.LineSeries) && (s =
|
|
264
|
-
},
|
|
229
|
+
return (e === h.BarSeries || e === h.LineSeries) && (s = rt(t) === S.customSort), s;
|
|
230
|
+
}, Ls = (t) => {
|
|
265
231
|
let e = [];
|
|
266
232
|
const s = t.orderOptions?.data?.orderType;
|
|
267
|
-
return
|
|
268
|
-
},
|
|
233
|
+
return lt(t) && s === w.Category && (e = t.orderOptions?.data?.orderBy), e;
|
|
234
|
+
}, Is = (t, e, s) => {
|
|
269
235
|
let i = w.Category, a = O.Ascending;
|
|
270
236
|
const r = Q(e.series);
|
|
271
|
-
e.orderOptions ??= {}, t ===
|
|
237
|
+
e.orderOptions ??= {}, t === S.customSort && s !== void 0 ? (a = [...s], e.orderOptions.data = {
|
|
272
238
|
orderType: i,
|
|
273
239
|
orderBy: a
|
|
274
|
-
}) : (r === h.BarSeries || r === h.LineSeries) && (i = t ===
|
|
240
|
+
}) : (r === h.BarSeries || r === h.LineSeries) && (i = t === S.xAxisAsc || t === S.xAxisDesc ? w.Category : w.YValue, a = t === S.xAxisAsc || t === S.yAxisAsc ? O.Ascending : O.Descending, e.orderOptions.data = {
|
|
275
241
|
orderType: i,
|
|
276
242
|
orderBy: a
|
|
277
243
|
});
|
|
278
|
-
},
|
|
244
|
+
}, E = (t) => t?.series?.[0]?.x ?? "", ye = (t) => {
|
|
279
245
|
const {
|
|
280
246
|
config: e,
|
|
281
247
|
numericFields: s,
|
|
@@ -283,13 +249,13 @@ const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
|
283
249
|
mode: a,
|
|
284
250
|
layer: r,
|
|
285
251
|
numericFieldIndex: c,
|
|
286
|
-
seriesIndex:
|
|
252
|
+
seriesIndex: o,
|
|
287
253
|
splitByField: y = ""
|
|
288
|
-
} = t, l = Q(e.series),
|
|
254
|
+
} = t, l = Q(e.series), p = W(e.series), d = r ? $e(r).objectIdField : "FID", x = E(e), n = s.length === 1 && s[0] === d;
|
|
289
255
|
let u = "y", m = "y";
|
|
290
256
|
switch (l) {
|
|
291
257
|
case h.PieSeries: {
|
|
292
|
-
i !==
|
|
258
|
+
i !== b.NoAggregation ? a === He.Category ? (u = `${i}_${s[0]}_0`.toUpperCase(), m = n ? U(b.Count) : U(`${i} of ${s[0]}`)) : u = je : u = s[0];
|
|
293
259
|
break;
|
|
294
260
|
}
|
|
295
261
|
case h.BarSeries:
|
|
@@ -297,10 +263,10 @@ const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
|
297
263
|
case h.ComboLineAndBarSeries:
|
|
298
264
|
case h.RadarSeries: {
|
|
299
265
|
if (y === "" || s.length > 1)
|
|
300
|
-
|
|
266
|
+
x === R || x === void 0 || x.trim() === "" || p === P.BarAndLineFromFields ? u = ke : (u = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), m = n ? U(b.Count) : U(`${i} of ${s[c ?? 0]}`));
|
|
301
267
|
else {
|
|
302
|
-
const
|
|
303
|
-
u = `${i}_${
|
|
268
|
+
const g = s[0];
|
|
269
|
+
u = `${i}_${g}_${o ?? 0}`.toUpperCase(), m = n ? U(b.Count) : U(`${i} of ${g}`);
|
|
304
270
|
}
|
|
305
271
|
break;
|
|
306
272
|
}
|
|
@@ -309,76 +275,76 @@ const he = async (t, e) => t.axes?.[e] ?? (await Pe(t.type))[e], ve = (t) => {
|
|
|
309
275
|
name: u,
|
|
310
276
|
description: m
|
|
311
277
|
};
|
|
312
|
-
},
|
|
278
|
+
}, ot = (t) => {
|
|
313
279
|
let e;
|
|
314
280
|
const s = t.series[0];
|
|
315
281
|
return M(s) && (e = s.temporalBinning?.size), e;
|
|
316
|
-
},
|
|
282
|
+
}, nt = (t) => {
|
|
317
283
|
let e;
|
|
318
284
|
const s = t.series[0];
|
|
319
285
|
return M(s) && (e = s.temporalBinning?.unit), e;
|
|
320
|
-
},
|
|
286
|
+
}, ct = (t) => {
|
|
321
287
|
let e;
|
|
322
288
|
const s = t.series[0];
|
|
323
289
|
return M(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
324
|
-
},
|
|
290
|
+
}, dt = (t) => {
|
|
325
291
|
let e;
|
|
326
292
|
const s = t.series[0];
|
|
327
293
|
return M(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
328
|
-
},
|
|
294
|
+
}, ut = (t) => {
|
|
329
295
|
let e;
|
|
330
296
|
const s = t.series[0];
|
|
331
297
|
return M(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
332
|
-
},
|
|
298
|
+
}, ve = (t, e) => {
|
|
333
299
|
e?.series?.forEach((s) => {
|
|
334
300
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
335
301
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
336
|
-
},
|
|
302
|
+
}, yt = (t, e) => {
|
|
337
303
|
e?.series?.forEach((s) => {
|
|
338
304
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
339
305
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
340
|
-
},
|
|
306
|
+
}, ws = (t, e) => {
|
|
341
307
|
e.series?.forEach((s) => {
|
|
342
308
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
343
309
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
344
|
-
},
|
|
310
|
+
}, Ns = (t, e) => {
|
|
345
311
|
e.series?.forEach((s) => {
|
|
346
312
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
347
313
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
348
|
-
},
|
|
314
|
+
}, Vs = (t, e) => {
|
|
349
315
|
e.series?.forEach((s) => {
|
|
350
316
|
M(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
351
317
|
}), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
352
|
-
},
|
|
353
|
-
|
|
318
|
+
}, Ds = (t) => {
|
|
319
|
+
ve(0, t);
|
|
354
320
|
};
|
|
355
|
-
async function
|
|
356
|
-
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues:
|
|
357
|
-
where:
|
|
321
|
+
async function mt(t) {
|
|
322
|
+
const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: o } = t, l = r.filter((F) => F.name === a)[0]?.type, p = o !== !0 ? `${a} IS NOT NULL` : "", d = i && o !== !0 ? `${i} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, n = {
|
|
323
|
+
where: Fe([x, p, d]),
|
|
358
324
|
// excluding the null values from the list
|
|
359
|
-
orderByFields:
|
|
325
|
+
orderByFields: Pe(a) ? [] : [`${a} ${O.Ascending}`],
|
|
360
326
|
// default sorting ascending for split-by field
|
|
361
327
|
geometry: e?.dataFilters?.geometry
|
|
362
328
|
}, u = s;
|
|
363
329
|
let m = "";
|
|
364
330
|
c.length === 0 ? m = u?.objectIdField ?? "" : [m] = c;
|
|
365
|
-
let
|
|
331
|
+
let g = await Te({
|
|
366
332
|
queryObject: u,
|
|
367
333
|
category: e?.series[0].x ?? "",
|
|
368
334
|
splitByField: a,
|
|
369
|
-
queryConfig:
|
|
335
|
+
queryConfig: n
|
|
370
336
|
});
|
|
371
337
|
if (e) {
|
|
372
|
-
const
|
|
373
|
-
|
|
374
|
-
arrayA:
|
|
375
|
-
arrayB:
|
|
338
|
+
const F = e?.series.map((T) => le({ where: T.query?.where })?.toString() ?? "").filter((T) => T !== void 0 && T !== "");
|
|
339
|
+
g = Ue({
|
|
340
|
+
arrayA: g,
|
|
341
|
+
arrayB: F,
|
|
376
342
|
getKey: (T) => T === null ? null : T?.toString()
|
|
377
343
|
});
|
|
378
344
|
}
|
|
379
|
-
return { categoriesArray:
|
|
345
|
+
return { categoriesArray: g, splitByFieldType: l, numericalField: m };
|
|
380
346
|
}
|
|
381
|
-
function
|
|
347
|
+
function Os(t, e) {
|
|
382
348
|
let s = e === "";
|
|
383
349
|
for (const i of t)
|
|
384
350
|
if (e === i.name) {
|
|
@@ -387,8 +353,8 @@ function Ms(t, e) {
|
|
|
387
353
|
}
|
|
388
354
|
return s;
|
|
389
355
|
}
|
|
390
|
-
function
|
|
391
|
-
const s =
|
|
356
|
+
function qs(t, e) {
|
|
357
|
+
const s = Ee(t);
|
|
392
358
|
let i = e.length === 0, a = 0;
|
|
393
359
|
for (const r of e) {
|
|
394
360
|
for (const c of s)
|
|
@@ -401,7 +367,7 @@ function $s(t, e) {
|
|
|
401
367
|
}
|
|
402
368
|
return i;
|
|
403
369
|
}
|
|
404
|
-
function
|
|
370
|
+
function Ms(t, e) {
|
|
405
371
|
e.forEach((s) => {
|
|
406
372
|
Object.getOwnPropertyNames(s.prototype).forEach((i) => {
|
|
407
373
|
Object.defineProperty(
|
|
@@ -412,25 +378,25 @@ function ks(t, e) {
|
|
|
412
378
|
});
|
|
413
379
|
});
|
|
414
380
|
}
|
|
415
|
-
async function
|
|
416
|
-
const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {},
|
|
417
|
-
where:
|
|
381
|
+
async function xt(t) {
|
|
382
|
+
const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {}, o = c !== !0 ? `${i} IS NOT NULL` : "", y = {
|
|
383
|
+
where: Fe([r, o]),
|
|
418
384
|
// excluding the null values from the list
|
|
419
385
|
orderByFields: [],
|
|
420
386
|
geometry: s?.dataFilters?.geometry
|
|
421
|
-
}, l =
|
|
387
|
+
}, l = ae(a);
|
|
422
388
|
return (
|
|
423
389
|
// fetch unique category values asynchronously
|
|
424
|
-
(await
|
|
425
|
-
const
|
|
426
|
-
return
|
|
390
|
+
(await Te({ queryObject: a, category: i, queryConfig: y })).map((d) => {
|
|
391
|
+
const x = String(d);
|
|
392
|
+
return re({
|
|
427
393
|
fieldName: i,
|
|
428
|
-
fieldValueToMatch:
|
|
394
|
+
fieldValueToMatch: x,
|
|
429
395
|
subtypeInfo: l,
|
|
430
396
|
// use the retrieved subtype information
|
|
431
397
|
fieldList: e.layerFieldsInfo
|
|
432
398
|
// list of field information from the layer
|
|
433
|
-
}) ??
|
|
399
|
+
}) ?? x;
|
|
434
400
|
})
|
|
435
401
|
);
|
|
436
402
|
}
|
|
@@ -438,128 +404,128 @@ async function _(t) {
|
|
|
438
404
|
const { seriesIndex: e, config: s, layerInfo: i } = t, { objectIdField: a } = i ?? {};
|
|
439
405
|
let r;
|
|
440
406
|
const c = s.series[e ?? 0];
|
|
441
|
-
let
|
|
407
|
+
let o = !1, y = !1;
|
|
442
408
|
if (c === void 0) {
|
|
443
|
-
const
|
|
444
|
-
|
|
409
|
+
const n = s.series;
|
|
410
|
+
o = n.slice(0, e).every((u) => B(u)), y = n.slice(0, e).every((u) => C(u));
|
|
445
411
|
} else
|
|
446
|
-
|
|
447
|
-
|
|
412
|
+
o = B(c), y = C(c);
|
|
413
|
+
o ? r = await We({
|
|
448
414
|
seriesIndex: e,
|
|
449
415
|
objectIDField: a
|
|
450
|
-
}) : y ? r = await
|
|
416
|
+
}) : y ? r = await ze({
|
|
451
417
|
seriesIndex: e,
|
|
452
418
|
objectIDField: a
|
|
453
|
-
}) : r = await
|
|
419
|
+
}) : r = await Xe({
|
|
454
420
|
seriesIndex: e,
|
|
455
421
|
objectIDField: a
|
|
456
422
|
});
|
|
457
|
-
const l =
|
|
423
|
+
const l = E(s), p = s.series[0]?.dataLabels?.visible ?? !1, d = {
|
|
458
424
|
...r,
|
|
459
425
|
x: l,
|
|
460
426
|
y: "",
|
|
461
427
|
dataLabels: {
|
|
462
428
|
...r.dataLabels,
|
|
463
429
|
type: r.dataLabels?.type ?? h.Text,
|
|
464
|
-
content: r.dataLabels?.content ?? { type:
|
|
465
|
-
visible:
|
|
430
|
+
content: r.dataLabels?.content ?? { type: De.TS },
|
|
431
|
+
visible: p
|
|
466
432
|
}
|
|
467
|
-
},
|
|
433
|
+
}, x = q(s);
|
|
468
434
|
if (d.query = {
|
|
469
435
|
groupByFieldsForStatistics: [l]
|
|
470
|
-
},
|
|
471
|
-
const
|
|
472
|
-
d.y =
|
|
436
|
+
}, x !== b.NoAggregation && a !== void 0) {
|
|
437
|
+
const n = `${x}_${a}_0`.toUpperCase();
|
|
438
|
+
d.y = n, d.query.outStatistics = [
|
|
473
439
|
{
|
|
474
|
-
statisticType:
|
|
440
|
+
statisticType: x,
|
|
475
441
|
onStatisticField: a,
|
|
476
|
-
outStatisticFieldName:
|
|
442
|
+
outStatisticFieldName: n
|
|
477
443
|
}
|
|
478
444
|
];
|
|
479
445
|
}
|
|
480
446
|
if (B(d) || C(d) || I(d) && s.series[0]?.binTemporalData) {
|
|
481
|
-
let
|
|
482
|
-
if (s?.series?.[0] !== void 0 && (
|
|
483
|
-
let u =
|
|
447
|
+
let n;
|
|
448
|
+
if (s?.series?.[0] !== void 0 && (n = W(s.series)), n !== P.BarAndLineNoAggregation && n !== P.BarAndLineSplitByNoAggregation) {
|
|
449
|
+
let u = nt(s);
|
|
484
450
|
u === se.Quarter && (u = se.Month), d.temporalBinning = {
|
|
485
|
-
size:
|
|
451
|
+
size: ot(s),
|
|
486
452
|
unit: u,
|
|
487
|
-
timeAggregationType:
|
|
488
|
-
trimIncompleteTimeInterval:
|
|
489
|
-
nullPolicy:
|
|
453
|
+
timeAggregationType: ct(s),
|
|
454
|
+
trimIncompleteTimeInterval: dt(s),
|
|
455
|
+
nullPolicy: ut(s)
|
|
490
456
|
};
|
|
491
457
|
}
|
|
492
458
|
}
|
|
493
|
-
return
|
|
459
|
+
return G(d);
|
|
494
460
|
}
|
|
495
|
-
async function
|
|
496
|
-
const { layerFieldsInfo: s, objectIdField: i } = e, a =
|
|
497
|
-
let
|
|
498
|
-
const T = await
|
|
499
|
-
|
|
461
|
+
async function Z(t, e) {
|
|
462
|
+
const { layerFieldsInfo: s, objectIdField: i } = e, a = E(t), r = W(t.series), c = N(t), o = q(t), y = K(t), l = c.length === 0 || c.includes(i), p = await be(o), d = l ? "" : c.map((A) => j(s ?? [], A)).join(", "), x = j(s ?? [], a), n = j(s ?? [], y), u = t.series.some((A) => I(A)), m = u ? "category" : "xAxisField", g = x;
|
|
463
|
+
let F = "";
|
|
464
|
+
const T = await ne(
|
|
465
|
+
ce(document.documentElement).t9nLocale,
|
|
500
466
|
de("./assets/common/t9n"),
|
|
501
467
|
"messages."
|
|
502
468
|
);
|
|
503
|
-
if (r ===
|
|
504
|
-
|
|
505
|
-
aggregationType:
|
|
469
|
+
if (r === P.BarAndLineFromFields)
|
|
470
|
+
F = k(T.titleLabels.aggrTypeOfAggrFields, {
|
|
471
|
+
aggregationType: p,
|
|
506
472
|
aggregationFields: d
|
|
507
473
|
});
|
|
508
|
-
else if (
|
|
474
|
+
else if (o === b.NoAggregation) {
|
|
509
475
|
const A = l ? i : d;
|
|
510
476
|
if (y === "") {
|
|
511
|
-
const
|
|
512
|
-
|
|
477
|
+
const z = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
478
|
+
F = k(T.titleLabels[z], {
|
|
513
479
|
aggregationType: A,
|
|
514
|
-
[m]:
|
|
480
|
+
[m]: g
|
|
515
481
|
});
|
|
516
482
|
} else {
|
|
517
|
-
const
|
|
518
|
-
|
|
483
|
+
const z = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
484
|
+
F = k(T.titleLabels[z], {
|
|
519
485
|
aggregationType: A,
|
|
520
|
-
[m]:
|
|
521
|
-
splitByField:
|
|
486
|
+
[m]: g,
|
|
487
|
+
splitByField: n
|
|
522
488
|
});
|
|
523
489
|
}
|
|
524
|
-
} else if (
|
|
490
|
+
} else if (o === b.Count)
|
|
525
491
|
if (y === "") {
|
|
526
492
|
const A = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
527
|
-
|
|
528
|
-
aggregationType:
|
|
529
|
-
[m]:
|
|
493
|
+
F = k(T.titleLabels[A], {
|
|
494
|
+
aggregationType: p,
|
|
495
|
+
[m]: g
|
|
530
496
|
});
|
|
531
497
|
} else {
|
|
532
498
|
const A = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
533
|
-
|
|
534
|
-
aggregationType:
|
|
535
|
-
[m]:
|
|
536
|
-
splitByField:
|
|
499
|
+
F = k(T.titleLabels[A], {
|
|
500
|
+
aggregationType: p,
|
|
501
|
+
[m]: g,
|
|
502
|
+
splitByField: n
|
|
537
503
|
});
|
|
538
504
|
}
|
|
539
505
|
else if (y !== "") {
|
|
540
506
|
const A = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
541
|
-
|
|
542
|
-
aggregationType:
|
|
507
|
+
F = k(T.titleLabels[A], {
|
|
508
|
+
aggregationType: p,
|
|
543
509
|
aggregationField: d,
|
|
544
|
-
[m]:
|
|
545
|
-
splitByField:
|
|
510
|
+
[m]: g,
|
|
511
|
+
splitByField: n
|
|
546
512
|
});
|
|
547
513
|
} else if (c.length > 0) {
|
|
548
514
|
const A = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
549
|
-
|
|
550
|
-
aggregationType:
|
|
515
|
+
F = k(T.titleLabels[A], {
|
|
516
|
+
aggregationType: p,
|
|
551
517
|
aggregationFields: d,
|
|
552
|
-
[m]:
|
|
518
|
+
[m]: g
|
|
553
519
|
});
|
|
554
520
|
}
|
|
555
|
-
return
|
|
521
|
+
return F;
|
|
556
522
|
}
|
|
557
|
-
const
|
|
523
|
+
const Be = (t) => le({
|
|
558
524
|
where: t.query?.where,
|
|
559
525
|
normalize: !1,
|
|
560
526
|
escape: !1
|
|
561
|
-
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
562
|
-
const i = N(e), a =
|
|
527
|
+
}) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? b.NoAggregation, $s = async (t, e, s) => {
|
|
528
|
+
const i = N(e), a = K(e), r = await H(e, s), c = await J(e, s);
|
|
563
529
|
if (await xe({
|
|
564
530
|
splitByField: a,
|
|
565
531
|
numericFields: i,
|
|
@@ -567,23 +533,23 @@ const Ce = (t) => ne({
|
|
|
567
533
|
config: e,
|
|
568
534
|
layerInfo: s
|
|
569
535
|
}), c) {
|
|
570
|
-
const
|
|
536
|
+
const o = await Y({
|
|
571
537
|
config: e,
|
|
572
538
|
layerInfo: s,
|
|
573
539
|
numericFields: N(e),
|
|
574
540
|
aggregationType: q(e)
|
|
575
541
|
});
|
|
576
|
-
|
|
542
|
+
X(e, 1, o);
|
|
577
543
|
}
|
|
578
|
-
e.title && r && (e.title.content.text = await
|
|
579
|
-
},
|
|
544
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), me(e, s);
|
|
545
|
+
}, K = fe(
|
|
580
546
|
(t) => {
|
|
581
547
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
582
|
-
return
|
|
548
|
+
return Re(t?.series?.[0]?.query?.where) ? "" : e;
|
|
583
549
|
},
|
|
584
550
|
(t) => t?.series?.[0]?.query?.where
|
|
585
|
-
),
|
|
586
|
-
const i = N(e), a = q(e), r = await
|
|
551
|
+
), ks = async (t, e, s) => {
|
|
552
|
+
const i = N(e), a = q(e), r = await H(e, s), c = await J(e, s);
|
|
587
553
|
if (await xe({
|
|
588
554
|
splitByField: t,
|
|
589
555
|
numericFields: i,
|
|
@@ -591,21 +557,21 @@ const Ce = (t) => ne({
|
|
|
591
557
|
config: e,
|
|
592
558
|
layerInfo: s
|
|
593
559
|
}), c) {
|
|
594
|
-
const
|
|
560
|
+
const o = await Y({
|
|
595
561
|
config: e,
|
|
596
562
|
layerInfo: s,
|
|
597
563
|
numericFields: N(e),
|
|
598
564
|
aggregationType: q(e)
|
|
599
565
|
});
|
|
600
|
-
|
|
566
|
+
X(e, 1, o);
|
|
601
567
|
}
|
|
602
|
-
e.title && r && (e.title.content.text = await
|
|
568
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
603
569
|
}, N = fe(
|
|
604
570
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
605
571
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
606
572
|
(t) => {
|
|
607
573
|
let e = [];
|
|
608
|
-
if (
|
|
574
|
+
if (K(t) === "")
|
|
609
575
|
e = t?.series.map((s) => {
|
|
610
576
|
const i = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
611
577
|
return i?.length > 0 ? i : s.y;
|
|
@@ -618,14 +584,14 @@ const Ce = (t) => ne({
|
|
|
618
584
|
},
|
|
619
585
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
620
586
|
(t) => t?.series
|
|
621
|
-
),
|
|
587
|
+
), gt = async (t, e, s) => {
|
|
622
588
|
const { objectIdField: i } = s;
|
|
623
589
|
let a = q(e);
|
|
624
|
-
const r = await
|
|
625
|
-
t.length === 0 ? (t.push(i), a =
|
|
626
|
-
const
|
|
590
|
+
const r = await H(e, s), c = await J(e, s);
|
|
591
|
+
t.length === 0 ? (t.push(i), a = b.Count) : a === b.Count && t.length >= 1 && !t.includes(i) && (a = b.Sum);
|
|
592
|
+
const o = K(e);
|
|
627
593
|
if (await xe({
|
|
628
|
-
splitByField:
|
|
594
|
+
splitByField: o,
|
|
629
595
|
numericFields: t,
|
|
630
596
|
aggregationType: a,
|
|
631
597
|
config: e,
|
|
@@ -637,70 +603,70 @@ const Ce = (t) => ne({
|
|
|
637
603
|
numericFields: N(e),
|
|
638
604
|
aggregationType: q(e)
|
|
639
605
|
});
|
|
640
|
-
|
|
606
|
+
X(e, 1, y);
|
|
641
607
|
}
|
|
642
|
-
e.title && r && (e.title.content.text = await
|
|
643
|
-
},
|
|
644
|
-
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r =
|
|
608
|
+
e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), me(e, s);
|
|
609
|
+
}, js = async (t, e, s) => {
|
|
610
|
+
const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = E(e), c = await H(e, s), o = await J(e, s), y = await bt(e, s);
|
|
645
611
|
let l;
|
|
646
|
-
const
|
|
612
|
+
const p = e.series.some((n) => I(n)), d = Ge(e.series), x = Qe(e.series);
|
|
647
613
|
if (i !== void 0) {
|
|
648
|
-
const
|
|
649
|
-
!
|
|
614
|
+
const n = Ke(i);
|
|
615
|
+
!n.includes(r) && n.includes(t) ? l = _e() : n.includes(r) && !n.includes(t) && (p ? l = ie() : l = Ye()), i.find((m) => m.name === t)?.type === Se.String && (l = ie()), l !== void 0 && await et(e, l);
|
|
650
616
|
}
|
|
651
|
-
if (a === 0 && (e.series = [await _({ config: e, layerInfo: s })]), e.series.forEach((
|
|
652
|
-
|
|
617
|
+
if (a === 0 && (e.series = [await _({ config: e, layerInfo: s })]), e.series.forEach((n) => {
|
|
618
|
+
n.x = t, n.query !== void 0 && (n.query.groupByFieldsForStatistics = [t]);
|
|
653
619
|
}), y) {
|
|
654
|
-
const
|
|
655
|
-
|
|
620
|
+
const n = j(i, t);
|
|
621
|
+
X(e, 0, n);
|
|
656
622
|
}
|
|
657
623
|
if (s !== void 0) {
|
|
658
|
-
if (
|
|
624
|
+
if (o) {
|
|
659
625
|
const u = await Y({
|
|
660
626
|
config: e,
|
|
661
627
|
layerInfo: s,
|
|
662
628
|
numericFields: N(e),
|
|
663
629
|
aggregationType: q(e)
|
|
664
630
|
});
|
|
665
|
-
|
|
631
|
+
X(e, 1, u);
|
|
666
632
|
}
|
|
667
|
-
e.title && c && (e.title.content.text = await
|
|
668
|
-
const
|
|
669
|
-
await
|
|
633
|
+
e.title && c && (e.title.content.text = await Z(e, s)), me(e, s);
|
|
634
|
+
const n = N(e);
|
|
635
|
+
await gt(n, e, s);
|
|
670
636
|
}
|
|
671
|
-
if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d ||
|
|
672
|
-
f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }),
|
|
673
|
-
const
|
|
674
|
-
|
|
637
|
+
if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d || x) {
|
|
638
|
+
f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }), ve(0, e);
|
|
639
|
+
const n = l?.type === h.DateAxisFormat ? te.Null : te.Interpolate;
|
|
640
|
+
yt(n, e);
|
|
675
641
|
}
|
|
676
642
|
};
|
|
677
643
|
function me(t, e) {
|
|
678
644
|
let s = !1;
|
|
679
645
|
const i = q(t), a = N(t);
|
|
680
|
-
i ===
|
|
681
|
-
const y = e.layerFieldsInfo.find((l) => l.name ===
|
|
646
|
+
i === b.Count ? s = !0 : i === b.NoAggregation && (s = a.every((o) => {
|
|
647
|
+
const y = e.layerFieldsInfo.find((l) => l.name === o);
|
|
682
648
|
return y !== void 0 ? ge(y) : !1;
|
|
683
649
|
})), pe(t, 1, s);
|
|
684
|
-
const r = t.series.some((
|
|
650
|
+
const r = t.series.some((o) => B(o)), c = t.series.some((o) => C(o));
|
|
685
651
|
if (r || c) {
|
|
686
|
-
const
|
|
652
|
+
const o = E(t), y = e.layerFieldsInfo.find((p) => p.name === o), l = y !== void 0 && ge(y);
|
|
687
653
|
pe(t, 0, l);
|
|
688
654
|
}
|
|
689
655
|
}
|
|
690
|
-
const
|
|
691
|
-
let e =
|
|
656
|
+
const pt = (t) => {
|
|
657
|
+
let e = S.xAxisAsc;
|
|
692
658
|
const s = t.orderOptions?.data?.orderType ?? w.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
|
|
693
|
-
return s === w.Category && Array.isArray(i) ? e =
|
|
659
|
+
return s === w.Category && Array.isArray(i) ? e = S.customSort : s === w.Category ? i === O.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === O.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
|
|
694
660
|
};
|
|
695
|
-
async function
|
|
661
|
+
async function ft(t) {
|
|
696
662
|
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t;
|
|
697
663
|
let r = !1;
|
|
698
664
|
const c = await _({
|
|
699
665
|
config: i,
|
|
700
666
|
layerInfo: a,
|
|
701
667
|
seriesIndex: 0
|
|
702
|
-
}),
|
|
703
|
-
|
|
668
|
+
}), o = await ne(
|
|
669
|
+
ce(document.documentElement).t9nLocale,
|
|
704
670
|
de("./assets/common/t9n"),
|
|
705
671
|
"messages."
|
|
706
672
|
), y = ye({
|
|
@@ -711,25 +677,25 @@ async function Ft(t) {
|
|
|
711
677
|
}).name, l = {
|
|
712
678
|
...c,
|
|
713
679
|
id: `series_${Date.now()}`,
|
|
714
|
-
name:
|
|
715
|
-
x:
|
|
680
|
+
name: o.axisLabels.values,
|
|
681
|
+
x: R,
|
|
716
682
|
y
|
|
717
|
-
},
|
|
718
|
-
for (const
|
|
719
|
-
|
|
720
|
-
onStatisticField:
|
|
721
|
-
outStatisticFieldName: `${
|
|
683
|
+
}, p = [];
|
|
684
|
+
for (const x of e)
|
|
685
|
+
p.push({
|
|
686
|
+
onStatisticField: x,
|
|
687
|
+
outStatisticFieldName: `${x}_0`.toUpperCase(),
|
|
722
688
|
statisticType: s
|
|
723
689
|
});
|
|
724
|
-
l.query = { outStatistics:
|
|
690
|
+
l.query = { outStatistics: p };
|
|
725
691
|
const d = i.series[0];
|
|
726
692
|
return d !== void 0 && (l.id = d.id, i.colorMatch || (I(d) && I(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) || C(l) && C(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), r = !0), l.id = d.id, d.name !== c.name && (l.name = d.name)), i.series.length === 1 && !i.colorMatch && (I(l) ? l.fillSymbol = i.series[0].fillSymbol : (B(l) || C(l)) && (l.lineSymbol = i.series[0].lineSymbol, l.markerSymbol = i.series[0].markerSymbol), r = !0), i.colorMatch = !r, [l];
|
|
727
693
|
}
|
|
728
|
-
async function
|
|
729
|
-
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a,
|
|
694
|
+
async function Ce(t) {
|
|
695
|
+
const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a, o = [];
|
|
730
696
|
let y = !1;
|
|
731
697
|
for (let l = 0; l < e.length; l += 1) {
|
|
732
|
-
const
|
|
698
|
+
const p = await _({
|
|
733
699
|
config: i,
|
|
734
700
|
layerInfo: a,
|
|
735
701
|
seriesIndex: l
|
|
@@ -739,291 +705,290 @@ async function Le(t) {
|
|
|
739
705
|
aggregationType: s,
|
|
740
706
|
layer: a.layer,
|
|
741
707
|
numericFieldIndex: l
|
|
742
|
-
}).name,
|
|
743
|
-
let
|
|
744
|
-
...
|
|
708
|
+
}).name, x = e[l];
|
|
709
|
+
let n = {
|
|
710
|
+
...p,
|
|
745
711
|
query: {
|
|
746
|
-
...
|
|
712
|
+
...p.query
|
|
747
713
|
}
|
|
748
714
|
};
|
|
749
|
-
|
|
750
|
-
...
|
|
751
|
-
id:
|
|
752
|
-
name: j(r,
|
|
715
|
+
x !== c && (n = {
|
|
716
|
+
...n,
|
|
717
|
+
id: x,
|
|
718
|
+
name: j(r, x)
|
|
753
719
|
});
|
|
754
|
-
let u =
|
|
755
|
-
|
|
720
|
+
let u = x;
|
|
721
|
+
n.query !== void 0 && (s !== b.NoAggregation ? (u = d, n.query.outStatistics = [
|
|
756
722
|
{
|
|
757
|
-
...
|
|
758
|
-
onStatisticField:
|
|
723
|
+
...p.query?.outStatistics?.[0] ?? {},
|
|
724
|
+
onStatisticField: x,
|
|
759
725
|
outStatisticFieldName: d,
|
|
760
726
|
statisticType: s
|
|
761
727
|
}
|
|
762
|
-
]) : delete
|
|
728
|
+
]) : delete n.query.outStatistics), n.y = u;
|
|
763
729
|
const m = i.series.find(
|
|
764
|
-
(
|
|
730
|
+
(g) => g.query?.outStatistics?.[0]?.onStatisticField === x && g.query.where === void 0
|
|
765
731
|
);
|
|
766
732
|
if (m !== void 0 && typeof m.y == "string" && m.y.trim() !== "") {
|
|
767
|
-
i.colorMatch || (I(
|
|
768
|
-
const
|
|
733
|
+
i.colorMatch || (I(n) && I(m) ? n.fillSymbol = m.fillSymbol : (B(n) && B(m) || C(n) && C(m)) && (n.lineSymbol = m.lineSymbol, n.markerSymbol = m.markerSymbol), y = !0);
|
|
734
|
+
const g = await _({
|
|
769
735
|
config: i,
|
|
770
736
|
layerInfo: a,
|
|
771
737
|
seriesIndex: l
|
|
772
738
|
});
|
|
773
|
-
|
|
739
|
+
n.id = m.id, m.id !== g.id && m.name !== g.name && (n.id = m.id, n.name = m.name);
|
|
774
740
|
}
|
|
775
|
-
|
|
741
|
+
o.push(n);
|
|
776
742
|
}
|
|
777
|
-
return i.series.length === 1 &&
|
|
743
|
+
return i.series.length === 1 && o.length === 1 && !i.colorMatch && (I(i.series[0]) && I(o[0]) ? o[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(o[0]) || C(i.series[0]) && C(o[0])) && (o[0].lineSymbol = i.series[0].lineSymbol, o[0].markerSymbol = i.series[0].markerSymbol), y = !0), i.colorMatch = !y, o;
|
|
778
744
|
}
|
|
779
|
-
async function
|
|
780
|
-
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo:
|
|
745
|
+
async function St(t) {
|
|
746
|
+
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: o } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = E(a), p = l !== R ? l : void 0, { categoriesArray: d, splitByFieldType: x, numericalField: n } = await mt({
|
|
781
747
|
config: a,
|
|
782
748
|
layer: c,
|
|
783
|
-
layerFieldsInfo:
|
|
784
|
-
xAxisField:
|
|
749
|
+
layerFieldsInfo: o,
|
|
750
|
+
xAxisField: p,
|
|
785
751
|
aggregationFields: s,
|
|
786
752
|
splitByField: e,
|
|
787
753
|
fetchNullValues: y
|
|
788
754
|
});
|
|
789
755
|
let u = [], m = !1;
|
|
790
756
|
if (d.length === 0) {
|
|
791
|
-
u = await
|
|
757
|
+
u = await Ce({
|
|
792
758
|
numericFields: s,
|
|
793
759
|
aggregationType: i,
|
|
794
760
|
config: a,
|
|
795
761
|
layerInfo: r
|
|
796
762
|
});
|
|
797
|
-
for (const
|
|
798
|
-
|
|
763
|
+
for (const g of u)
|
|
764
|
+
g.query && (g.query.where = `${e}=''`);
|
|
799
765
|
} else
|
|
800
|
-
for (let
|
|
801
|
-
const
|
|
766
|
+
for (let g = 0; g < d.length; g += 1) {
|
|
767
|
+
const F = d[g], T = ye({
|
|
802
768
|
config: a,
|
|
803
769
|
numericFields: s,
|
|
804
770
|
aggregationType: i,
|
|
805
771
|
layer: r.layer,
|
|
806
|
-
seriesIndex:
|
|
772
|
+
seriesIndex: g,
|
|
807
773
|
splitByField: e
|
|
808
774
|
}).name, A = await _({
|
|
809
775
|
config: a,
|
|
810
776
|
layerInfo: r,
|
|
811
|
-
seriesIndex:
|
|
812
|
-
}),
|
|
777
|
+
seriesIndex: g
|
|
778
|
+
}), z = {
|
|
813
779
|
fieldName: e,
|
|
814
|
-
fieldValueToMatch:
|
|
815
|
-
subtypeInfo:
|
|
780
|
+
fieldValueToMatch: F ?? "",
|
|
781
|
+
subtypeInfo: ae(r.layer),
|
|
816
782
|
fieldList: r.layerFieldsInfo
|
|
817
|
-
},
|
|
783
|
+
}, Le = re(z), ee = `${F}`, v = {
|
|
818
784
|
...A,
|
|
819
785
|
id: ee,
|
|
820
|
-
name:
|
|
786
|
+
name: Le ?? ee,
|
|
821
787
|
y: T,
|
|
822
788
|
query: {
|
|
823
789
|
...A.query,
|
|
824
|
-
where: `${e}=${
|
|
825
|
-
outStatistics: i !==
|
|
790
|
+
where: `${e}=${x === Se.String && F !== null ? `'${F}'` : F}`,
|
|
791
|
+
outStatistics: i !== b.NoAggregation ? [
|
|
826
792
|
{
|
|
827
793
|
...A.query?.outStatistics?.[0] ?? {},
|
|
828
|
-
onStatisticField:
|
|
794
|
+
onStatisticField: n,
|
|
829
795
|
outStatisticFieldName: T,
|
|
830
796
|
statisticType: i
|
|
831
797
|
}
|
|
832
798
|
] : void 0
|
|
833
799
|
}
|
|
834
800
|
};
|
|
835
|
-
i ===
|
|
801
|
+
i === b.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = n);
|
|
836
802
|
const $ = a.series.find(
|
|
837
|
-
(
|
|
803
|
+
(Ie) => String(Be(Ie)).trim().replace(/'/gu, "") === ee
|
|
838
804
|
);
|
|
839
805
|
$ !== void 0 && (a.colorMatch || (I(v) && I($) ? v.fillSymbol = $.fillSymbol : (B(v) && B($) || C(v) && C($)) && (v.lineSymbol = $.lineSymbol, v.markerSymbol = $.markerSymbol), m = !0), v.id = $.id, v.name = $.name), u.push(v);
|
|
840
806
|
}
|
|
841
807
|
return a.colorMatch = !m, u;
|
|
842
808
|
}
|
|
843
809
|
const xe = async (t) => {
|
|
844
|
-
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0],
|
|
845
|
-
e === "" || s.length > 1 ? c ===
|
|
810
|
+
const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0], o = W(a.series);
|
|
811
|
+
e === "" || s.length > 1 ? c === R || c === void 0 || c.trim() === "" || o === P.BarAndLineFromFields ? a.series = await ft({
|
|
846
812
|
config: a,
|
|
847
813
|
layerInfo: r,
|
|
848
814
|
numericFields: s,
|
|
849
815
|
aggregationType: i
|
|
850
|
-
}) : a.series = await
|
|
816
|
+
}) : a.series = await Ce({
|
|
851
817
|
config: a,
|
|
852
818
|
layerInfo: r,
|
|
853
819
|
numericFields: s,
|
|
854
820
|
aggregationType: i
|
|
855
|
-
}) : a.series = await
|
|
821
|
+
}) : a.series = await St({
|
|
856
822
|
config: a,
|
|
857
823
|
layerInfo: r,
|
|
858
824
|
splitByField: e,
|
|
859
825
|
numericFields: s,
|
|
860
826
|
aggregationType: i
|
|
861
827
|
});
|
|
862
|
-
},
|
|
863
|
-
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c =
|
|
864
|
-
let
|
|
865
|
-
if (W(e.series) ===
|
|
866
|
-
|
|
867
|
-
else if (
|
|
828
|
+
}, Es = (t) => {
|
|
829
|
+
const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c = K(e);
|
|
830
|
+
let o;
|
|
831
|
+
if (W(e.series) === P.BarAndLineFromFields)
|
|
832
|
+
o = a.axisLabels.values;
|
|
833
|
+
else if (we(c)) {
|
|
868
834
|
const l = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
869
|
-
l !== void 0 && l !== i.objectIdField && (
|
|
835
|
+
l !== void 0 && l !== i.objectIdField && (o = j(i.layerFieldsInfo, l));
|
|
870
836
|
} else {
|
|
871
|
-
const l = String(
|
|
872
|
-
fieldName:
|
|
837
|
+
const l = String(Be(r)).trim().replace(/'/gu, ""), p = {
|
|
838
|
+
fieldName: K(e),
|
|
873
839
|
fieldValueToMatch: l ?? "",
|
|
874
|
-
subtypeInfo:
|
|
840
|
+
subtypeInfo: ae(i.layer),
|
|
875
841
|
fieldList: i.layerFieldsInfo
|
|
876
842
|
};
|
|
877
|
-
|
|
843
|
+
o = re(p) ?? l;
|
|
878
844
|
}
|
|
879
|
-
return
|
|
880
|
-
},
|
|
845
|
+
return o ?? r.id;
|
|
846
|
+
}, Ps = (t, e) => {
|
|
881
847
|
e.orderOptions ??= {};
|
|
882
848
|
const s = e.orderOptions?.data?.orderType;
|
|
883
|
-
|
|
849
|
+
pt(e) === S.customSort && s === w.Category && (e.orderOptions.data = {
|
|
884
850
|
orderType: w.Category,
|
|
885
851
|
orderBy: [...t]
|
|
886
852
|
});
|
|
887
|
-
},
|
|
888
|
-
const s =
|
|
853
|
+
}, Us = async (t, e) => {
|
|
854
|
+
const s = E(t), i = Je(t)?.type, a = N(t), r = W(t.series);
|
|
889
855
|
let c = [];
|
|
890
|
-
return i === h.CategoryAxisFormat && (r ===
|
|
856
|
+
return i === h.CategoryAxisFormat && (r === P.BarAndLineFromFields || s === R ? c = a.map((o) => j(e?.layerFieldsInfo, o)) : s.trim() !== "" && s !== R && e !== void 0 && (c = await xt({
|
|
891
857
|
layerInfo: e,
|
|
892
858
|
config: t,
|
|
893
859
|
category: s
|
|
894
860
|
}))), c;
|
|
895
861
|
};
|
|
896
|
-
async function
|
|
897
|
-
const s = await
|
|
862
|
+
async function H(t, e) {
|
|
863
|
+
const s = await Z(t, e), i = it(t), a = oe(t);
|
|
898
864
|
return s === i || a;
|
|
899
865
|
}
|
|
900
|
-
async function
|
|
866
|
+
async function J(t, e) {
|
|
901
867
|
const s = await Y({
|
|
902
868
|
config: t,
|
|
903
869
|
layerInfo: e,
|
|
904
870
|
numericFields: N(t),
|
|
905
871
|
aggregationType: q(t)
|
|
906
|
-
}), i = ue(1, t), a =
|
|
872
|
+
}), i = ue(1, t), a = oe(t);
|
|
907
873
|
return s === i || a;
|
|
908
874
|
}
|
|
909
|
-
async function
|
|
910
|
-
const s = j(e.layerFieldsInfo,
|
|
875
|
+
async function bt(t, e) {
|
|
876
|
+
const s = j(e.layerFieldsInfo, E(t)), i = ue(0, t), a = oe(t);
|
|
911
877
|
return s === i || a;
|
|
912
878
|
}
|
|
913
|
-
function
|
|
879
|
+
function Rs(t) {
|
|
914
880
|
return t?.series?.[0]?.binTemporalData ?? !1;
|
|
915
881
|
}
|
|
916
|
-
function
|
|
882
|
+
function Ks(t, e) {
|
|
917
883
|
e?.series.forEach((s) => {
|
|
918
884
|
s.binTemporalData = t, t ? s.temporalBinning = {
|
|
919
885
|
unit: se.Day,
|
|
920
886
|
size: 0,
|
|
921
|
-
timeAggregationType:
|
|
887
|
+
timeAggregationType: Ve.Start,
|
|
922
888
|
trimIncompleteTimeInterval: !0,
|
|
923
889
|
nullPolicy: te.Null
|
|
924
890
|
} : delete s.temporalBinning;
|
|
925
891
|
});
|
|
926
892
|
}
|
|
927
|
-
const
|
|
893
|
+
const Ws = (t, e) => {
|
|
928
894
|
e.series.forEach((s) => {
|
|
929
895
|
s.query && (s.query.fetchNullValues = t);
|
|
930
896
|
});
|
|
931
|
-
},
|
|
897
|
+
}, zs = (t) => t.series.some((e) => e.query?.fetchNullValues), Xs = (t) => (
|
|
932
898
|
// TODO: Look into split-by values gotchas cases once done
|
|
933
|
-
t.series.map((e) => String(
|
|
934
|
-
),
|
|
899
|
+
t.series.map((e) => String(le({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
900
|
+
), _s = (t) => t.dataFilters, Ys = (t, e) => {
|
|
935
901
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
936
902
|
};
|
|
937
903
|
export {
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
904
|
+
at as $,
|
|
905
|
+
dt as A,
|
|
906
|
+
Vs as B,
|
|
907
|
+
ut as C,
|
|
908
|
+
yt as D,
|
|
909
|
+
Ds as E,
|
|
910
|
+
js as F,
|
|
911
|
+
gt as G,
|
|
912
|
+
$s as H,
|
|
913
|
+
ks as I,
|
|
914
|
+
pt as J,
|
|
915
|
+
Is as K,
|
|
916
|
+
Us as L,
|
|
917
|
+
Ls as M,
|
|
918
|
+
Ps as N,
|
|
953
919
|
xe as O,
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
920
|
+
Rs as P,
|
|
921
|
+
Ks as Q,
|
|
922
|
+
Z as R,
|
|
923
|
+
Qt as S,
|
|
924
|
+
Yt as T,
|
|
925
|
+
Zt as U,
|
|
926
|
+
Gt as V,
|
|
927
|
+
Ht as W,
|
|
928
|
+
Jt as X,
|
|
929
|
+
es as Y,
|
|
930
|
+
ts as Z,
|
|
931
|
+
ss as _,
|
|
966
932
|
ue as a,
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
zt as
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
bs as
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
vs as
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
Is as az,
|
|
933
|
+
is as a0,
|
|
934
|
+
as as a1,
|
|
935
|
+
rs as a2,
|
|
936
|
+
Ws as a3,
|
|
937
|
+
zs as a4,
|
|
938
|
+
_s as a5,
|
|
939
|
+
Ys as a6,
|
|
940
|
+
xs as a7,
|
|
941
|
+
gs as a8,
|
|
942
|
+
ps as a9,
|
|
943
|
+
Pt as aa,
|
|
944
|
+
Ut as ab,
|
|
945
|
+
ls as ac,
|
|
946
|
+
os as ad,
|
|
947
|
+
ns as ae,
|
|
948
|
+
cs as af,
|
|
949
|
+
ds as ag,
|
|
950
|
+
us as ah,
|
|
951
|
+
Rt as ai,
|
|
952
|
+
ys as aj,
|
|
953
|
+
ms as ak,
|
|
954
|
+
hs as al,
|
|
955
|
+
Kt as am,
|
|
956
|
+
Wt as an,
|
|
957
|
+
zt as ao,
|
|
958
|
+
Xt as ap,
|
|
959
|
+
_t as aq,
|
|
960
|
+
fs as ar,
|
|
961
|
+
Ss as as,
|
|
962
|
+
bs as at,
|
|
963
|
+
Fs as au,
|
|
964
|
+
Ts as av,
|
|
965
|
+
As as aw,
|
|
966
|
+
vs as ax,
|
|
967
|
+
Bs as ay,
|
|
968
|
+
Cs as az,
|
|
1004
969
|
Y as b,
|
|
1005
970
|
ye as c,
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
971
|
+
Es as d,
|
|
972
|
+
Ms as e,
|
|
973
|
+
Os as f,
|
|
974
|
+
it as g,
|
|
975
|
+
E as h,
|
|
976
|
+
qs as i,
|
|
1012
977
|
q as j,
|
|
1013
978
|
N as k,
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
979
|
+
Xs as l,
|
|
980
|
+
K as m,
|
|
981
|
+
et as n,
|
|
982
|
+
Je as o,
|
|
983
|
+
xt as p,
|
|
984
|
+
mt as q,
|
|
1020
985
|
pe as r,
|
|
1021
986
|
f as s,
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
987
|
+
ot as t,
|
|
988
|
+
X as u,
|
|
989
|
+
ve as v,
|
|
990
|
+
nt as w,
|
|
991
|
+
ws as x,
|
|
992
|
+
ct as y,
|
|
993
|
+
Ns as z
|
|
1029
994
|
};
|