@arcgis/charts-components 5.1.0-next.98 → 5.2.0-next.0
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 -2
- package/dist/cdn/{RKXV44WI.js → 244ZX2UP.js} +2 -2
- package/dist/cdn/2CKPKXNB.js +2 -0
- package/dist/cdn/{3OGKV4KZ.js → 2HGBRW4I.js} +2 -2
- package/dist/cdn/2RU466XY.js +2 -0
- package/dist/cdn/{WRNEDEFZ.js → 2X75KJPF.js} +2 -2
- package/dist/cdn/35COV7CA.js +2 -0
- package/dist/cdn/3EOJXLYW.js +2 -0
- package/dist/cdn/3HDCBEWA.js +102 -0
- package/dist/cdn/{MS6EYP4R.js → 3V4HRXIT.js} +2 -2
- package/dist/cdn/{QVD6LHQ2.js → 3VMHKSYP.js} +1 -1
- package/dist/cdn/{YZTAP3PR.js → 4C6KWLWN.js} +2 -2
- package/dist/cdn/4DN22Z2T.js +2 -0
- package/dist/cdn/{YQJLA77R.js → 4E7C5QPS.js} +2 -2
- package/dist/cdn/{KCILWIMQ.js → 4JQ2RRLY.js} +2 -2
- package/dist/cdn/4MT26NON.js +2 -0
- package/dist/cdn/4ONG3Z7W.js +2 -0
- package/dist/cdn/{BY77PBZ2.js → 4QQVKRJ5.js} +2 -2
- package/dist/cdn/{LZNL4CV3.js → 4USHOYLT.js} +2 -2
- package/dist/cdn/4WLT4SF2.js +2 -0
- package/dist/cdn/{2JPFAFHJ.js → 4Z23HWDH.js} +2 -2
- package/dist/cdn/{UJ7GGLFA.js → 4ZIZEJXS.js} +2 -2
- package/dist/cdn/{FSNQ3YXX.js → 53FG76LL.js} +2 -2
- package/dist/cdn/547RDEMV.js +2 -0
- package/dist/cdn/{FLSUJTUZ.js → 5AOYADA3.js} +2 -2
- package/dist/cdn/5MMDKA25.js +2 -0
- package/dist/cdn/5PBHJCIL.js +2 -0
- package/dist/cdn/{2MVU33EQ.js → 5ZGALYWZ.js} +2 -2
- package/dist/cdn/{3VMIFF7C.js → 66KSEDOR.js} +2 -2
- package/dist/cdn/{NXRLNLM4.js → 6B7JCDQC.js} +2 -2
- package/dist/cdn/6BUS62PQ.js +2 -0
- package/dist/cdn/6LTWEPUM.js +2 -0
- package/dist/cdn/74GWGGKE.js +2 -0
- package/dist/cdn/74JAZF7U.js +2 -0
- package/dist/cdn/{RHGKKMJG.js → 75P3QRL4.js} +2 -2
- package/dist/cdn/76ZTJWGM.js +2 -0
- package/dist/cdn/{I3BNBZ4D.js → 7ILH7ZG2.js} +2 -2
- package/dist/cdn/7JNA22OU.js +2 -0
- package/dist/cdn/{4VMTBYLY.js → 7LYAWWOE.js} +2 -2
- package/dist/cdn/{WQRZ7LGV.js → 7UQHB6KY.js} +2 -2
- package/dist/cdn/{FKZETVX5.js → A5GIBV5W.js} +2 -2
- package/dist/cdn/{GR4BZF3L.js → ABIVSH72.js} +2 -2
- package/dist/cdn/AHXJHLWG.js +2 -0
- package/dist/cdn/{X7ENJ4HH.js → AJBEE7WE.js} +2 -2
- package/dist/cdn/{FPDW4F45.js → AK7X7SGI.js} +2 -2
- package/dist/cdn/AUFCZ2VI.js +2 -0
- package/dist/cdn/{RRDNOR24.js → AY6IOQ3H.js} +2 -2
- package/dist/cdn/{B3HEXSCX.js → AZOBLYAP.js} +2 -2
- package/dist/cdn/{EVHJVY4I.js → B4KT2HUE.js} +2 -2
- package/dist/cdn/BAIMTE2A.js +2 -0
- package/dist/cdn/{HX4RTI3G.js → BBURKBKE.js} +2 -2
- package/dist/cdn/BI4UYGSS.js +2 -0
- package/dist/cdn/{Z5L2GNFQ.js → BJ7Q7LCT.js} +2 -2
- package/dist/cdn/BXXLVGNQ.js +2 -0
- package/dist/cdn/{DF2JGSK4.js → BXYNEUQY.js} +2 -2
- package/dist/cdn/C3ZSWQ3I.js +2 -0
- package/dist/cdn/{XTWWNXCJ.js → C5K6XOCR.js} +2 -2
- package/dist/cdn/{ANEY3G3T.js → CHLE2QGU.js} +2 -2
- package/dist/cdn/{GDFOZNYR.js → CHQDKVVQ.js} +3 -3
- package/dist/cdn/{INFEECC2.js → CNFBNAPJ.js} +2 -2
- package/dist/cdn/{JM6E3U5J.js → CODAXMWM.js} +2 -2
- package/dist/cdn/CXQOEN77.js +2 -0
- package/dist/cdn/{ZGRLFOVN.js → D3CFPMAR.js} +2 -2
- package/dist/cdn/DA7U5FLY.js +2 -0
- package/dist/cdn/{ALRIN5E5.js → DD4QUBOF.js} +2 -2
- package/dist/cdn/{NGLXQHZ2.js → DIKQ7BPQ.js} +2 -2
- package/dist/cdn/{C32DLPO2.js → DNTLH5RT.js} +2 -2
- package/dist/cdn/DPSPWVA2.js +2 -0
- package/dist/cdn/{SXJYUHC3.js → DSIFL2DF.js} +2 -2
- package/dist/cdn/DYC3Q36R.js +2 -0
- package/dist/cdn/E4SQHQBK.js +2 -0
- package/dist/cdn/ERSFBFQP.js +2 -0
- package/dist/cdn/{4F4XNNGS.js → ETLXX7MH.js} +43 -43
- package/dist/cdn/{WMSU5OWP.js → ETOGNYFU.js} +2 -2
- package/dist/cdn/EXTKNE2L.js +2 -0
- package/dist/cdn/EZV7JSQJ.js +2 -0
- package/dist/cdn/F22N7RZE.js +2 -0
- package/dist/cdn/FJFVM6MK.js +2 -0
- package/dist/cdn/FKH3OVSJ.js +2 -0
- package/dist/cdn/{COQ55XOW.js → FLO3N6JD.js} +2 -2
- package/dist/cdn/G2RDPRW6.js +2 -0
- package/dist/cdn/GGQP5JYM.js +2 -0
- package/dist/cdn/GJNWHFFY.js +2 -0
- package/dist/cdn/GKCSV5KX.js +2 -0
- package/dist/cdn/{X5TUHBXH.js → H2A5GZ55.js} +2 -2
- package/dist/cdn/H3VQJF7X.js +2 -0
- package/dist/cdn/H6NH46AS.js +2 -0
- package/dist/cdn/HOX7NZNG.js +2 -0
- package/dist/cdn/I2AGE5R2.js +2 -0
- package/dist/cdn/{GWPFABGL.js → I36OAVW3.js} +2 -2
- package/dist/cdn/{AVU2CHAB.js → I5VHQW7B.js} +2 -2
- package/dist/cdn/I6ILHZ4V.js +2 -0
- package/dist/cdn/I6ZAHATO.js +2 -0
- package/dist/cdn/IFUSMYSL.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → IHO3OLL3.js} +2 -2
- package/dist/cdn/{577EV2JF.js → II2ZPEUZ.js} +2 -2
- package/dist/cdn/IMK7WGD3.js +2 -0
- package/dist/cdn/IU3JHT4C.js +4 -0
- package/dist/cdn/{43SJZXD3.js → J5NHXQLA.js} +2 -2
- package/dist/cdn/JJ2M4U57.js +2 -0
- package/dist/cdn/JN2ZWL6Y.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JNNB2DIA.js} +2 -2
- package/dist/cdn/JOI6WL3P.js +2 -0
- package/dist/cdn/{K7M5S6GY.js → JQKRGUBU.js} +2 -2
- package/dist/cdn/KDJ5RVHA.js +2 -0
- package/dist/cdn/KX7KGXKQ.js +2 -0
- package/dist/cdn/L4RUPWN7.js +2 -0
- package/dist/cdn/{3TPTF5I7.js → L7CMLBHB.js} +1 -1
- package/dist/cdn/LDLY2SF3.js +2 -0
- package/dist/cdn/LEK5TYY2.js +2 -0
- package/dist/cdn/LKLXYXQS.js +2 -0
- package/dist/cdn/LKY2A3U6.js +2 -0
- package/dist/cdn/{EIIQ2CSC.js → LNF44ZGQ.js} +2 -2
- package/dist/cdn/{BHNYXBUZ.js → LUSFGRHV.js} +2 -2
- package/dist/cdn/{47EOUNYO.js → M4AQLWZU.js} +2 -2
- package/dist/cdn/M7DJDXCP.js +2 -0
- package/dist/cdn/MHG42BA5.js +2 -0
- package/dist/cdn/MJCXQCOV.js +2 -0
- package/dist/cdn/MRSWVYMY.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → MRTKZZTF.js} +2 -2
- package/dist/cdn/{HLSO5KDC.js → N3VOUI25.js} +2 -2
- package/dist/cdn/{HJW6UNEH.js → N6OT5IBC.js} +2 -2
- package/dist/cdn/{SWQ7K4X5.js → NAXNRCMZ.js} +2 -2
- package/dist/cdn/{THJTENN5.js → NFDXH5B3.js} +2 -2
- package/dist/cdn/{6HUDF5Q2.js → NG2IHVZ4.js} +2 -2
- package/dist/cdn/{BUCYRXMT.js → NHDVOYQ2.js} +2 -2
- package/dist/cdn/NI5ICKEY.js +2 -0
- package/dist/cdn/NS3THLCD.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → NZR4L5AA.js} +2 -2
- package/dist/cdn/{ZL5EGDOW.js → O2ERVMSN.js} +2 -2
- package/dist/cdn/O3YTMAQX.js +2 -0
- package/dist/cdn/{NPVXLEZW.js → O6SNP6QE.js} +2 -2
- package/dist/cdn/{SOIF6AMX.js → OA7FHTCA.js} +2 -2
- package/dist/cdn/{7BDNLABD.js → OBPAQN4H.js} +1 -1
- package/dist/cdn/OBPXCFUE.js +2 -0
- package/dist/cdn/{VHOYFIGY.js → OJ5X6I3H.js} +2 -2
- package/dist/cdn/{NSRIVIOH.js → OYHKUGS6.js} +2 -2
- package/dist/cdn/P4HSSZRL.js +2 -0
- package/dist/cdn/P4T5TI3T.js +2 -0
- package/dist/cdn/{OLBJGP5C.js → P5AO3V3M.js} +2 -2
- package/dist/cdn/PAIRUVLU.js +2 -0
- package/dist/cdn/PD433VW7.js +2 -0
- package/dist/cdn/{S5EI7T2D.js → PH6UOHRS.js} +2 -2
- package/dist/cdn/Q3AILKYR.js +2 -0
- package/dist/cdn/{YAVQSNZ6.js → Q7J7EKQW.js} +2 -2
- package/dist/cdn/{EZM4ZDQI.js → QP5UAIC6.js} +1 -1
- package/dist/cdn/QPZNCW73.js +2 -0
- package/dist/cdn/QR5JSPMD.js +2 -0
- package/dist/cdn/{DNSUOJXJ.js → RDTBZUT7.js} +2 -2
- package/dist/cdn/RJN2Y6QR.js +2 -0
- package/dist/cdn/ROIT25TY.js +2 -0
- package/dist/cdn/{5TOYNVTW.js → SGOYJFLO.js} +2 -2
- package/dist/cdn/SOQJHUX7.js +2 -0
- package/dist/cdn/SOSPMFB6.js +2 -0
- package/dist/cdn/SP2IPHWF.js +2 -0
- package/dist/cdn/SSIG3VVL.js +2 -0
- package/dist/cdn/{MIVV22F3.js → TACQVUBU.js} +2 -2
- package/dist/cdn/THTYR6IL.js +2 -0
- package/dist/cdn/{F57IRWBF.js → TSI3C3OV.js} +2 -2
- package/dist/cdn/{PI6HSSQL.js → TXB2I2U5.js} +2 -2
- package/dist/cdn/TXSWWAOF.js +2 -0
- package/dist/cdn/{GBCL3LR7.js → TYUVXRBO.js} +2 -2
- package/dist/cdn/{QPIMTXPL.js → U67P6YAZ.js} +1 -1
- package/dist/cdn/{TX2SYGTH.js → UAZ34KDJ.js} +2 -2
- package/dist/cdn/UQN6IMJJ.js +2 -0
- package/dist/cdn/{MRTH2CHN.js → UT4TYXFO.js} +2 -2
- package/dist/cdn/UUBMII4X.js +2 -0
- package/dist/cdn/UUO3C7JX.js +2 -0
- package/dist/cdn/V7HFHWME.js +2 -0
- package/dist/cdn/V7TM2WGV.js +2 -0
- package/dist/cdn/{KSNCOD3U.js → VE3GFNNM.js} +2 -2
- package/dist/cdn/{LOX7MXL4.js → VFM2EV3M.js} +2 -2
- package/dist/cdn/VM7TU42Q.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → VOTZAPI3.js} +2 -2
- package/dist/cdn/{H6G4K2SI.js → VT4WJZN6.js} +2 -2
- package/dist/cdn/VY3KBD6N.js +2 -0
- package/dist/cdn/{XZO7WNPU.js → W7X6L2OB.js} +2 -2
- package/dist/cdn/WASEMNYV.js +2 -0
- package/dist/cdn/WBH5XG4U.js +2 -0
- package/dist/cdn/{AGJRXDBI.js → WMPWOPRZ.js} +2 -2
- package/dist/cdn/{S5OM65RV.js → WVRBLV5L.js} +1 -1
- package/dist/cdn/XCBRFRLO.js +2 -0
- package/dist/cdn/{W5WI6CWC.js → XG2KN6YJ.js} +2 -2
- package/dist/cdn/{G2L5FYWK.js → XIJ5VLER.js} +2 -2
- package/dist/cdn/XJFVSX2E.js +2 -0
- package/dist/cdn/XMMHYOKG.js +2 -0
- package/dist/cdn/{PF6HSS3J.js → XMPLEHTW.js} +2 -2
- package/dist/cdn/XQN3IPCF.js +2 -0
- package/dist/cdn/{BQOMKKBK.js → XUERYUEG.js} +2 -2
- package/dist/cdn/{B4ULOSFG.js → XWKBJDZT.js} +2 -2
- package/dist/cdn/Y3CXVO2M.js +2 -0
- package/dist/cdn/Y7HBWU3M.js +2 -0
- package/dist/cdn/{DXMV5YU3.js → YIIPYKTL.js} +2 -2
- package/dist/cdn/{A2SOXYD7.js → YJ6TRXMU.js} +2 -2
- package/dist/cdn/YYK7SPXC.js +2 -0
- package/dist/cdn/Z7EBST4A.js +3 -0
- package/dist/cdn/ZCIQS5VL.js +2 -0
- package/dist/cdn/{FW27X6ZH.js → ZFJFTDJF.js} +2 -2
- package/dist/cdn/{KBDOBMB5.js → ZFM5RGWD.js} +2 -2
- package/dist/cdn/ZIF2SLZ7.js +3 -0
- package/dist/cdn/ZPMBL64I.js +2 -0
- package/dist/cdn/{5WSLX3X6.js → ZQDADGLQ.js} +2 -2
- package/dist/cdn/ZSNIMQ53.js +2 -0
- package/dist/cdn/ZVZ2XDVU.js +2 -0
- package/dist/cdn/{U7L3L6IV.js → ZYOWZCR7.js} +2 -2
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +3 -2
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +24 -51
- package/dist/chunks/bar-chart-series.js +11 -41
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +150 -171
- package/dist/chunks/box-plot-model.js +117 -109
- package/dist/chunks/chart-model.js +77 -104
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +18 -17
- package/dist/chunks/chart-ui-utils2.js +92 -118
- package/dist/chunks/class-breaks.js +376 -197
- package/dist/chunks/combo-bar-line-chart-model.js +11 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +2 -2
- package/dist/chunks/data-labels-visibility.js +57 -85
- package/dist/chunks/data.js +81 -104
- package/dist/chunks/default.js +7 -8
- package/dist/chunks/gauge-model.js +209 -194
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +188 -188
- package/dist/chunks/histogram-data.js +57 -81
- package/dist/chunks/histogram-model.js +25 -25
- package/dist/chunks/index.js +569 -20528
- package/dist/chunks/index2.js +8719 -597
- package/dist/chunks/index3.js +874 -161
- package/dist/chunks/index4.js +702 -77
- package/dist/chunks/index5.js +10795 -63
- package/dist/chunks/index6.js +103 -0
- package/dist/chunks/index7.js +66 -0
- package/dist/chunks/interfaces.js +32 -33
- package/dist/chunks/line-chart-model.js +26 -25
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-line-marker-styling.js +1 -1
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +51 -80
- package/dist/chunks/pie-chart-data.js +89 -111
- package/dist/chunks/pie-chart-model.js +64 -87
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +37 -64
- package/dist/chunks/resource.js +9 -11
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +32 -47
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/scatterplot-model.js +57 -79
- package/dist/chunks/serial-chart-data.js +761 -687
- package/dist/chunks/serial-chart-model.js +202 -218
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +22 -206
- package/dist/chunks/series.js +10 -39
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/time-zone.js +23 -24
- package/dist/chunks/type-guards.js +24 -133
- package/dist/chunks/type-guards2.js +101 -192
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +106 -125
- package/dist/chunks/utils2.js +35 -64
- package/dist/chunks/web-component-utils.js +519 -365
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +57 -21
- package/dist/components/arcgis-chart/customElement.js +7346 -7275
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +14 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +48 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -55
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +38 -65
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +16 -44
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +13 -40
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +88 -112
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +42 -66
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +23 -50
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -46
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +48 -68
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -45
- package/dist/components/arcgis-charts-config-general/customElement.js +30 -56
- package/dist/components/arcgis-charts-config-guide/customElement.js +45 -69
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +23 -55
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +11 -40
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +30 -57
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -76
- package/dist/components/arcgis-charts-config-histogram/customElement.js +35 -62
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +25 -49
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +24 -47
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +47 -70
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +34 -62
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-line-style/customElement.js +10 -12
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +25 -50
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -44
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +35 -62
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +33 -56
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -43
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -39
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -51
- package/dist/components/arcgis-charts-info-modal/customElement.js +25 -50
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +57 -3
- package/dist/index.js +471 -461
- package/dist/json-schema/index.d.ts +4757 -4709
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -2
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/time-zone.d.ts +1 -11
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model.js +78 -40
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/web-chart.d.ts +48 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +2 -1
- package/dist/utils/chart-config/utils/index.d.ts +13 -9
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -1
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +16 -8
- package/dist/utils/defaults/index.d.ts +22 -2
- package/dist/utils/layer/index.d.ts +27 -8
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +4 -2
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +14 -0
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/package.json +8 -7
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/4MGAAHBF.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BDROQPZY.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/FXXKMSX7.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GOCPXSNF.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HAPHXGDG.js +0 -2
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/IYAA5JNA.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JUTIXOZ7.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OSLQS2GQ.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PHSAVE6E.js +0 -2
- package/dist/cdn/PMSMMLY4.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/PZAAA62R.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/RK3BAJOA.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/URBTZGXF.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VFULMUE5.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
|
@@ -1,260 +1,406 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import {
|
|
4
|
-
import { b as
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { g as
|
|
10
|
-
import {
|
|
11
|
-
import { g as
|
|
12
|
-
import {
|
|
13
|
-
import { g as
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { isEqual as re, capitalize as F, isNumber as j, zip as J } from "lodash-es";
|
|
3
|
+
import { b as E } from "./interfaces.js";
|
|
4
|
+
import { g as ne, a as W, b as ee, c as _ } from "./box-plot-data.js";
|
|
5
|
+
import { g as le } from "./histogram-data.js";
|
|
6
|
+
import { g as se, a as ue, b as ce } from "./pie-chart-data.js";
|
|
7
|
+
import { g as te } from "./series-length.js";
|
|
8
|
+
import { g as ae, a as oe, b as fe } from "./serial-chart-data.js";
|
|
9
|
+
import { g as H, a as me } from "./data.js";
|
|
10
|
+
import { Y as I, an as de, af as ye, aK as N, B as v, ba as ge } from "./index2.js";
|
|
11
|
+
import { j as U, av as O, g as k, ap as be, b as xe, a as z } from "./index.js";
|
|
12
|
+
import { q as w, C as m, F as L } from "./index3.js";
|
|
13
|
+
import { g as pe } from "./series-types.js";
|
|
14
|
+
import { V as Fe } from "./index7.js";
|
|
15
|
+
import { P as Q } from "./common.js";
|
|
16
|
+
import { R as Se } from "./rest-js-object-literals.js";
|
|
17
|
+
import { u as V, d as B } from "./chart-object-literals.js";
|
|
18
|
+
function De(n) {
|
|
19
|
+
const { hour: e, minute: t = 0, format: i, locale: r = "en-US" } = n, o = i && Object.keys(i).length > 0 ? i : {
|
|
20
|
+
hour: "numeric",
|
|
21
|
+
minute: "2-digit",
|
|
22
|
+
hour12: !1
|
|
23
|
+
};
|
|
24
|
+
let a = e.toString();
|
|
25
|
+
if (Number.isInteger(e) && e >= 0 && e <= 23 && Number.isInteger(t) && t >= 0 && t <= 59) {
|
|
26
|
+
const u = new Date(2e3, 0, 1, e, t);
|
|
27
|
+
a = new Intl.DateTimeFormat(r, o).format(u), a.includes(":") || a.startsWith("0") && (a = a.slice(1));
|
|
28
|
+
}
|
|
29
|
+
return a;
|
|
30
|
+
}
|
|
31
|
+
function he(n) {
|
|
32
|
+
const { weekdayNumber: e, format: t, locale: i = "en-US", firstDayOfWeek: r = 7 } = n, o = t && Object.keys(t).length > 0 ? t : { weekday: "long" };
|
|
33
|
+
let a = e.toString();
|
|
34
|
+
if (Number.isInteger(e) && e > 0 && e <= 7 && Number.isInteger(r) && r > 0 && r <= 7) {
|
|
35
|
+
const u = (e + r - 1) % 7, c = new Date(2e3, 0, 2 + u);
|
|
36
|
+
a = new Intl.DateTimeFormat(i, o).format(c);
|
|
37
|
+
}
|
|
38
|
+
return a;
|
|
39
|
+
}
|
|
40
|
+
function Pe(n) {
|
|
41
|
+
const { monthNumber: e, format: t, locale: i = "en-US" } = n, r = t && Object.keys(t).length > 0 ? t : { month: "long" };
|
|
42
|
+
let o = e.toString();
|
|
43
|
+
if (Number.isInteger(e) && e > 0 && e <= 12) {
|
|
44
|
+
const a = new Date(2e3, e - 1);
|
|
45
|
+
o = new Intl.DateTimeFormat(i, r).format(a);
|
|
46
|
+
}
|
|
47
|
+
return o;
|
|
48
|
+
}
|
|
49
|
+
function Z(n) {
|
|
50
|
+
const { value: e, formatLocale: t, unit: i, config: r, utilsStrings: o } = n;
|
|
51
|
+
let a = { label: "", value: e.toString() };
|
|
52
|
+
switch (i) {
|
|
53
|
+
case B.DayOfWeek:
|
|
54
|
+
a = {
|
|
55
|
+
label: o.heatChartCalendarDatePartsUnits.dayOfWeek,
|
|
56
|
+
value: he({
|
|
57
|
+
weekdayNumber: e,
|
|
58
|
+
firstDayOfWeek: "firstDayOfWeek" in r ? r.firstDayOfWeek : be,
|
|
59
|
+
locale: t
|
|
60
|
+
})
|
|
61
|
+
};
|
|
62
|
+
break;
|
|
63
|
+
case B.MonthOfYear:
|
|
64
|
+
a = {
|
|
65
|
+
label: o.heatChartCalendarDatePartsUnits.monthOfYear,
|
|
66
|
+
value: Pe({
|
|
67
|
+
monthNumber: e,
|
|
68
|
+
locale: t
|
|
69
|
+
})
|
|
70
|
+
};
|
|
71
|
+
break;
|
|
72
|
+
case B.HourOfDay:
|
|
73
|
+
a = {
|
|
74
|
+
label: o.heatChartCalendarDatePartsUnits.hourOfDay,
|
|
75
|
+
value: De({
|
|
76
|
+
hour: e,
|
|
77
|
+
format: { hour: "numeric", hour12: !1 },
|
|
78
|
+
locale: t
|
|
79
|
+
})
|
|
80
|
+
};
|
|
81
|
+
break;
|
|
82
|
+
case B.DayOfMonth:
|
|
83
|
+
a = {
|
|
84
|
+
label: o.heatChartCalendarDatePartsUnits.dayOfMonth,
|
|
85
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
86
|
+
};
|
|
87
|
+
break;
|
|
88
|
+
case B.DayOfYear:
|
|
89
|
+
a = {
|
|
90
|
+
label: o.heatChartCalendarDatePartsUnits.dayOfYear,
|
|
91
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
92
|
+
};
|
|
93
|
+
break;
|
|
94
|
+
case B.MinuteOfDay:
|
|
95
|
+
a = {
|
|
96
|
+
label: o.heatChartCalendarDatePartsUnits.minuteOfDay,
|
|
97
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
98
|
+
};
|
|
99
|
+
break;
|
|
100
|
+
case B.WeekOfYear:
|
|
101
|
+
a = {
|
|
102
|
+
label: o.heatChartCalendarDatePartsUnits.weekOfYear,
|
|
103
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
104
|
+
};
|
|
105
|
+
break;
|
|
106
|
+
case B.QuarterOfYear:
|
|
107
|
+
a = {
|
|
108
|
+
label: o.heatChartCalendarDatePartsUnits.quarterOfYear,
|
|
109
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
110
|
+
};
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
return a;
|
|
114
|
+
}
|
|
115
|
+
function ve(n, e) {
|
|
116
|
+
return !re(n, e);
|
|
17
117
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
118
|
+
function Ge(n, e) {
|
|
119
|
+
return ve(n, e) || n !== e;
|
|
20
120
|
}
|
|
21
|
-
function
|
|
22
|
-
return (new Intl.NumberFormat(
|
|
121
|
+
function Ae(n) {
|
|
122
|
+
return (new Intl.NumberFormat(n, {
|
|
23
123
|
minimumFractionDigits: 1,
|
|
24
124
|
maximumFractionDigits: 1
|
|
25
|
-
}).formatToParts(1.1).find((
|
|
125
|
+
}).formatToParts(1.1).find((i) => i.type === "decimal")?.value ?? ".") === "." ? "," : ";";
|
|
26
126
|
}
|
|
27
|
-
function
|
|
28
|
-
return new Intl.NumberFormat(
|
|
127
|
+
function Be(n) {
|
|
128
|
+
return new Intl.NumberFormat(n, {
|
|
29
129
|
minimumFractionDigits: 1,
|
|
30
130
|
maximumFractionDigits: 1
|
|
31
131
|
}).formatToParts(1.1).find((t) => t.type === "decimal")?.value ?? ".";
|
|
32
132
|
}
|
|
33
|
-
const
|
|
34
|
-
const { value: e, quoteAll: t = !1, locale:
|
|
35
|
-
let
|
|
133
|
+
const X = (n) => {
|
|
134
|
+
const { value: e, quoteAll: t = !1, locale: i, roundDecimals: r } = n;
|
|
135
|
+
let o = e == null ? "" : String(e);
|
|
36
136
|
if (e === null)
|
|
37
|
-
|
|
137
|
+
o = "null";
|
|
38
138
|
else if (e === void 0)
|
|
39
|
-
|
|
40
|
-
else if (typeof e == "number" && Number.isFinite(e) &&
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
maximumFractionDigits:
|
|
139
|
+
o = "";
|
|
140
|
+
else if (typeof e == "number" && Number.isFinite(e) && i !== void 0) {
|
|
141
|
+
const u = Be(i), c = r ?? o.split(u)[1]?.length ?? 2;
|
|
142
|
+
o = new Intl.NumberFormat(i, {
|
|
143
|
+
maximumFractionDigits: c
|
|
44
144
|
}).format(e).replace(/\u202F/gu, " ");
|
|
45
145
|
}
|
|
46
|
-
return (t || /[",\r\n]/u.test(
|
|
146
|
+
return (t || /[",\r\n]/u.test(o)) && (o = `"${o.replace(/"/gu, '""')}"`), o;
|
|
47
147
|
};
|
|
48
|
-
function
|
|
49
|
-
const { columns: t, delimiter:
|
|
50
|
-
let
|
|
51
|
-
if (!
|
|
52
|
-
const
|
|
53
|
-
if (
|
|
54
|
-
`),
|
|
55
|
-
const
|
|
56
|
-
|
|
148
|
+
function Je(n, e = {}) {
|
|
149
|
+
const { columns: t, delimiter: i, includeHeader: r = !0, quoteAll: o = !1, locale: a, roundDecimals: u } = e, c = n.length === 0;
|
|
150
|
+
let l = "";
|
|
151
|
+
if (!c) {
|
|
152
|
+
const S = t ?? Object.keys(n[0]), p = [], x = i ?? Ae(a ?? "en");
|
|
153
|
+
if (a !== void 0 && x !== "," && (l += `sep=${x}\r
|
|
154
|
+
`), r) {
|
|
155
|
+
const y = S.map((s) => X({ value: s, quoteAll: o, locale: a, roundDecimals: u }));
|
|
156
|
+
p.push(y.join(x));
|
|
57
157
|
}
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
}),
|
|
158
|
+
n.forEach((y) => {
|
|
159
|
+
const s = S.map((f) => X({ value: y[f], quoteAll: o, locale: a, roundDecimals: u }));
|
|
160
|
+
p.push(s.join(x));
|
|
161
|
+
}), l += p.join(`\r
|
|
62
162
|
`);
|
|
63
163
|
}
|
|
64
|
-
return
|
|
164
|
+
return l;
|
|
65
165
|
}
|
|
66
|
-
function
|
|
67
|
-
const { rawData: e, config: t, layer:
|
|
68
|
-
let
|
|
166
|
+
function et(n) {
|
|
167
|
+
const { rawData: e, config: t, layer: i, fieldList: r, formatters: o, formatLocale: a, utilsStrings: u } = n;
|
|
168
|
+
let c = [];
|
|
69
169
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
70
|
-
const
|
|
71
|
-
|
|
170
|
+
const l = pe(t?.series);
|
|
171
|
+
l === V.HistogramSeries ? c = Ve(
|
|
72
172
|
t,
|
|
73
173
|
e,
|
|
74
|
-
|
|
75
|
-
) :
|
|
174
|
+
o
|
|
175
|
+
) : l === V.HeatSeries ? c = Le({
|
|
176
|
+
config: t,
|
|
177
|
+
rows: e,
|
|
178
|
+
layer: i,
|
|
179
|
+
fieldList: r,
|
|
180
|
+
formatLocale: a,
|
|
181
|
+
utilsStrings: u
|
|
182
|
+
}) : l === V.BarSeries || l === V.LineSeries || l === V.ComboLineAndBarSeries ? c = Me({
|
|
76
183
|
config: t,
|
|
77
184
|
rows: e,
|
|
78
|
-
layer:
|
|
79
|
-
fieldList:
|
|
80
|
-
formatters:
|
|
81
|
-
}) :
|
|
185
|
+
layer: i,
|
|
186
|
+
fieldList: r,
|
|
187
|
+
formatters: o
|
|
188
|
+
}) : l === V.PieSeries ? c = $e({
|
|
82
189
|
config: t,
|
|
83
190
|
rows: e,
|
|
84
|
-
layer:
|
|
85
|
-
fieldList:
|
|
86
|
-
formatters:
|
|
87
|
-
}) :
|
|
191
|
+
layer: i,
|
|
192
|
+
fieldList: r,
|
|
193
|
+
formatters: o
|
|
194
|
+
}) : l === V.BoxPlotSeries && (c = Te({
|
|
88
195
|
config: t,
|
|
89
196
|
rows: e,
|
|
90
|
-
fieldList:
|
|
91
|
-
formatters:
|
|
197
|
+
fieldList: r,
|
|
198
|
+
formatters: o
|
|
92
199
|
}));
|
|
93
200
|
}
|
|
94
|
-
return
|
|
201
|
+
return c;
|
|
95
202
|
}
|
|
96
|
-
function
|
|
97
|
-
const { value: e, originalValue: t, formatter:
|
|
98
|
-
let
|
|
99
|
-
return
|
|
203
|
+
function P(n) {
|
|
204
|
+
const { value: e, originalValue: t, formatter: i } = n;
|
|
205
|
+
let r = e;
|
|
206
|
+
return i !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (r = i(e, t)), r;
|
|
100
207
|
}
|
|
101
|
-
function
|
|
102
|
-
const { field: e, row: t, fieldList:
|
|
103
|
-
let
|
|
104
|
-
return
|
|
208
|
+
function C(n) {
|
|
209
|
+
const { field: e, row: t, fieldList: i, formatter: r } = n, o = Object.keys(t).find((c) => c.toLocaleLowerCase() === e.toLocaleLowerCase()), a = t[o ?? e];
|
|
210
|
+
let u;
|
|
211
|
+
return a == null || typeof a == "boolean" || Array.isArray(a) ? u = a : typeof a == "string" || typeof a == "number" || a instanceof Date ? u = ie({
|
|
105
212
|
field: e,
|
|
106
|
-
value:
|
|
107
|
-
fieldList:
|
|
108
|
-
}) :
|
|
109
|
-
value:
|
|
110
|
-
originalValue:
|
|
111
|
-
formatter:
|
|
213
|
+
value: a,
|
|
214
|
+
fieldList: i
|
|
215
|
+
}) : u = a, P({
|
|
216
|
+
value: u,
|
|
217
|
+
originalValue: a,
|
|
218
|
+
formatter: r
|
|
112
219
|
});
|
|
113
220
|
}
|
|
114
|
-
function
|
|
115
|
-
const { config: e, seriesIndex: t, formatters:
|
|
116
|
-
return e.series?.[t]?.assignToSecondValueAxis === !0 ?
|
|
221
|
+
function Y(n) {
|
|
222
|
+
const { config: e, seriesIndex: t, formatters: i } = n;
|
|
223
|
+
return e.series?.[t]?.assignToSecondValueAxis === !0 ? i?.secondaryYAxisLabelFormatter : i?.yAxisLabelFormatter;
|
|
117
224
|
}
|
|
118
|
-
function
|
|
119
|
-
const { config: e, splitValueIndex: t, formatters:
|
|
120
|
-
return e?.series?.[t]?.assignToSecondValueAxis === !0 ?
|
|
225
|
+
function Ce(n) {
|
|
226
|
+
const { config: e, splitValueIndex: t, formatters: i } = n;
|
|
227
|
+
return e?.series?.[t]?.assignToSecondValueAxis === !0 ? i?.secondaryYAxisLabelFormatter : i?.yAxisLabelFormatter;
|
|
228
|
+
}
|
|
229
|
+
function Le(n) {
|
|
230
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatLocale: o, utilsStrings: a } = n, [u] = e.series, c = u.x, l = ae(e), S = oe(e), p = H({
|
|
231
|
+
config: e,
|
|
232
|
+
xAxisField: c,
|
|
233
|
+
numericFields: S,
|
|
234
|
+
aggregationType: l,
|
|
235
|
+
layer: i,
|
|
236
|
+
fieldList: r
|
|
237
|
+
});
|
|
238
|
+
return t.map((x) => {
|
|
239
|
+
const y = x[U.xField], s = x[U.yField], f = x[U.valueField], d = typeof f == "number" && Number.isFinite(f) ? f.toFixed(2) : f;
|
|
240
|
+
let g = { label: u.x, value: y }, b = { label: u.y, value: s };
|
|
241
|
+
if (u.xTemporalBinning !== void 0) {
|
|
242
|
+
const { label: D, value: h } = Z({
|
|
243
|
+
value: Number(y),
|
|
244
|
+
config: e,
|
|
245
|
+
formatLocale: o,
|
|
246
|
+
unit: u.xTemporalBinning.unit,
|
|
247
|
+
utilsStrings: a
|
|
248
|
+
});
|
|
249
|
+
!w(D) && !w(h) && (g = { label: D, value: h });
|
|
250
|
+
}
|
|
251
|
+
if (u.yTemporalBinning !== void 0) {
|
|
252
|
+
const { label: D, value: h } = Z({
|
|
253
|
+
value: Number(s),
|
|
254
|
+
config: e,
|
|
255
|
+
formatLocale: o,
|
|
256
|
+
unit: u.yTemporalBinning.unit,
|
|
257
|
+
utilsStrings: a
|
|
258
|
+
});
|
|
259
|
+
!w(D) && !w(h) && (b = { label: D, value: h });
|
|
260
|
+
}
|
|
261
|
+
return {
|
|
262
|
+
[g.label]: g.value,
|
|
263
|
+
[b.label]: b.value,
|
|
264
|
+
[p.description]: d
|
|
265
|
+
};
|
|
266
|
+
});
|
|
121
267
|
}
|
|
122
|
-
function
|
|
123
|
-
const
|
|
124
|
-
return e.map((
|
|
125
|
-
const { minValue:
|
|
126
|
-
if (
|
|
127
|
-
value:
|
|
128
|
-
originalValue:
|
|
268
|
+
function Ve(n, e, t) {
|
|
269
|
+
const i = le(n), r = `${F(E.Min)} of ${i}`, o = `${F(E.Max)} of ${i}`, a = `${F(E.Count)} of ${i}`;
|
|
270
|
+
return e.map((u) => {
|
|
271
|
+
const { minValue: c, maxValue: l, count: S } = u, p = j(c), x = j(l), y = j(S), s = {};
|
|
272
|
+
if (p && (s[r] = P({
|
|
273
|
+
value: c,
|
|
274
|
+
originalValue: c,
|
|
129
275
|
formatter: t?.xAxisLabelFormatter
|
|
130
|
-
})),
|
|
131
|
-
value:
|
|
132
|
-
originalValue:
|
|
276
|
+
})), x && (s[o] = P({
|
|
277
|
+
value: l,
|
|
278
|
+
originalValue: l,
|
|
133
279
|
formatter: t?.xAxisLabelFormatter
|
|
134
|
-
})),
|
|
135
|
-
const
|
|
136
|
-
value:
|
|
137
|
-
originalValue:
|
|
280
|
+
})), p && x) {
|
|
281
|
+
const f = P({
|
|
282
|
+
value: c,
|
|
283
|
+
originalValue: c,
|
|
138
284
|
formatter: t?.xAxisLabelFormatter
|
|
139
|
-
}), d =
|
|
140
|
-
value:
|
|
141
|
-
originalValue:
|
|
285
|
+
}), d = P({
|
|
286
|
+
value: l,
|
|
287
|
+
originalValue: l,
|
|
142
288
|
formatter: t?.xAxisLabelFormatter
|
|
143
289
|
});
|
|
144
|
-
|
|
290
|
+
s.Label = `${String(f ?? "")} - ${String(d ?? "")}`;
|
|
145
291
|
}
|
|
146
|
-
return
|
|
147
|
-
value:
|
|
148
|
-
originalValue:
|
|
292
|
+
return y && (s[a] = P({
|
|
293
|
+
value: S,
|
|
294
|
+
originalValue: S,
|
|
149
295
|
formatter: t?.yAxisLabelFormatter
|
|
150
|
-
})),
|
|
296
|
+
})), s;
|
|
151
297
|
});
|
|
152
298
|
}
|
|
153
|
-
function
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
return t ?
|
|
299
|
+
function Oe(n, e, t) {
|
|
300
|
+
const i = Object.keys(n);
|
|
301
|
+
let r = [];
|
|
302
|
+
return t ? r = t.map((o) => i.find((a) => a.toLowerCase().includes(o.toLowerCase())) || "") : r = i.filter((a) => a.toLowerCase().includes(e.toLowerCase())), r.filter((o) => o.trim() !== "");
|
|
157
303
|
}
|
|
158
|
-
function
|
|
159
|
-
const { config: e, rows: t, layer:
|
|
304
|
+
function Me(n) {
|
|
305
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = me(e), u = ae(e), c = F(u), l = oe(e), S = I(e.series), p = te(e), x = fe(e), { idField: y, isTraditionalTypeOID: s } = de(ye(i)), f = s && l.length === 1 && l[0] === y;
|
|
160
306
|
let d;
|
|
161
|
-
switch (
|
|
307
|
+
switch (S) {
|
|
162
308
|
case m.BarAndLineNoAggregation:
|
|
163
|
-
d = t.map((
|
|
164
|
-
const
|
|
165
|
-
field:
|
|
166
|
-
row:
|
|
167
|
-
fieldList:
|
|
168
|
-
formatter:
|
|
169
|
-
}),
|
|
309
|
+
d = t.map((g) => {
|
|
310
|
+
const b = C({
|
|
311
|
+
field: a,
|
|
312
|
+
row: g,
|
|
313
|
+
fieldList: r,
|
|
314
|
+
formatter: o?.xAxisLabelFormatter
|
|
315
|
+
}), D = { [a]: b };
|
|
170
316
|
return Object.assign(
|
|
171
|
-
|
|
172
|
-
...
|
|
173
|
-
[
|
|
174
|
-
value:
|
|
175
|
-
originalValue:
|
|
176
|
-
formatter:
|
|
317
|
+
D,
|
|
318
|
+
...l.map((h, A) => ({
|
|
319
|
+
[h]: P({
|
|
320
|
+
value: g[h],
|
|
321
|
+
originalValue: g[h],
|
|
322
|
+
formatter: Y({ config: e, seriesIndex: A, formatters: o })
|
|
177
323
|
})
|
|
178
324
|
}))
|
|
179
|
-
),
|
|
325
|
+
), D;
|
|
180
326
|
});
|
|
181
327
|
break;
|
|
182
328
|
case m.BarAndLineFromFields:
|
|
183
|
-
d =
|
|
184
|
-
const
|
|
185
|
-
return
|
|
186
|
-
value:
|
|
187
|
-
originalValue:
|
|
188
|
-
formatter:
|
|
189
|
-
}),
|
|
190
|
-
value:
|
|
191
|
-
originalValue:
|
|
192
|
-
formatter:
|
|
193
|
-
})),
|
|
329
|
+
d = J(l, t).map(([g, b]) => {
|
|
330
|
+
const D = N(e.series)[0], h = {};
|
|
331
|
+
return b !== void 0 && g !== void 0 && (h.Field = P({
|
|
332
|
+
value: b[a],
|
|
333
|
+
originalValue: b[a],
|
|
334
|
+
formatter: o?.xAxisLabelFormatter
|
|
335
|
+
}), h.Value = P({
|
|
336
|
+
value: b[D],
|
|
337
|
+
originalValue: b[D],
|
|
338
|
+
formatter: Y({ config: e, seriesIndex: 0, formatters: o })
|
|
339
|
+
})), h;
|
|
194
340
|
});
|
|
195
341
|
break;
|
|
196
342
|
case m.BarAndLineMonoField:
|
|
197
343
|
case m.BarAndLineMultiFields:
|
|
198
|
-
d = t.map((
|
|
199
|
-
const
|
|
200
|
-
field:
|
|
201
|
-
row:
|
|
202
|
-
fieldList:
|
|
203
|
-
formatter:
|
|
204
|
-
}),
|
|
205
|
-
return
|
|
206
|
-
const
|
|
344
|
+
d = t.map((g) => {
|
|
345
|
+
const b = C({
|
|
346
|
+
field: a,
|
|
347
|
+
row: g,
|
|
348
|
+
fieldList: r,
|
|
349
|
+
formatter: o?.xAxisLabelFormatter
|
|
350
|
+
}), D = { [a]: b };
|
|
351
|
+
return l.forEach((h, A) => {
|
|
352
|
+
const $ = H({
|
|
207
353
|
config: e,
|
|
208
|
-
xAxisField:
|
|
209
|
-
numericFields:
|
|
210
|
-
aggregationType:
|
|
211
|
-
layer:
|
|
212
|
-
numericFieldIndex:
|
|
213
|
-
fieldList:
|
|
214
|
-
}),
|
|
215
|
-
let
|
|
216
|
-
|
|
217
|
-
value:
|
|
218
|
-
originalValue:
|
|
219
|
-
formatter:
|
|
354
|
+
xAxisField: a,
|
|
355
|
+
numericFields: l,
|
|
356
|
+
aggregationType: u,
|
|
357
|
+
layer: i,
|
|
358
|
+
numericFieldIndex: A,
|
|
359
|
+
fieldList: r
|
|
360
|
+
}), R = N(e.series)[A];
|
|
361
|
+
let q = R, K = R;
|
|
362
|
+
R.toLowerCase() === $.name.toLowerCase() && (q = $.description, K = $.name), D[q] = P({
|
|
363
|
+
value: g[K],
|
|
364
|
+
originalValue: g[K],
|
|
365
|
+
formatter: Y({ config: e, seriesIndex: A, formatters: o })
|
|
220
366
|
});
|
|
221
|
-
}),
|
|
367
|
+
}), D;
|
|
222
368
|
});
|
|
223
369
|
break;
|
|
224
370
|
case m.BarAndLineSplitBy:
|
|
225
|
-
d = t.flatMap((
|
|
226
|
-
const
|
|
227
|
-
field:
|
|
228
|
-
row:
|
|
229
|
-
fieldList:
|
|
230
|
-
formatter:
|
|
371
|
+
d = t.flatMap((g) => {
|
|
372
|
+
const b = N(e.series), D = C({
|
|
373
|
+
field: a,
|
|
374
|
+
row: g,
|
|
375
|
+
fieldList: r,
|
|
376
|
+
formatter: o?.xAxisLabelFormatter
|
|
231
377
|
});
|
|
232
|
-
return
|
|
233
|
-
[
|
|
234
|
-
[
|
|
235
|
-
[
|
|
236
|
-
value:
|
|
237
|
-
originalValue:
|
|
238
|
-
formatter:
|
|
378
|
+
return p.map((h, A) => ({
|
|
379
|
+
[a]: D,
|
|
380
|
+
[x]: h,
|
|
381
|
+
[f ? c : `${c} of ${l[0]}`]: P({
|
|
382
|
+
value: g[b[A]],
|
|
383
|
+
originalValue: g[b[A]],
|
|
384
|
+
formatter: Ce({ config: e, splitValueIndex: A, formatters: o })
|
|
239
385
|
})
|
|
240
386
|
}));
|
|
241
387
|
});
|
|
242
388
|
break;
|
|
243
389
|
case m.BarAndLineSplitByNoAggregation:
|
|
244
|
-
d = t.map((
|
|
245
|
-
const
|
|
246
|
-
field:
|
|
247
|
-
row:
|
|
248
|
-
fieldList:
|
|
249
|
-
formatter:
|
|
250
|
-
}),
|
|
390
|
+
d = t.map((g) => {
|
|
391
|
+
const b = C({
|
|
392
|
+
field: a,
|
|
393
|
+
row: g,
|
|
394
|
+
fieldList: r,
|
|
395
|
+
formatter: o?.xAxisLabelFormatter
|
|
396
|
+
}), D = Oe(g, l[0], p);
|
|
251
397
|
return {
|
|
252
|
-
[
|
|
253
|
-
[
|
|
254
|
-
[
|
|
255
|
-
value:
|
|
256
|
-
originalValue:
|
|
257
|
-
formatter:
|
|
398
|
+
[a]: b,
|
|
399
|
+
[x]: g[x],
|
|
400
|
+
[l[0]]: P({
|
|
401
|
+
value: g[D[0]],
|
|
402
|
+
originalValue: g[D[0]],
|
|
403
|
+
formatter: o?.yAxisLabelFormatter
|
|
258
404
|
})
|
|
259
405
|
};
|
|
260
406
|
});
|
|
@@ -264,208 +410,208 @@ function Be(i) {
|
|
|
264
410
|
}
|
|
265
411
|
return d;
|
|
266
412
|
}
|
|
267
|
-
function
|
|
268
|
-
if (
|
|
413
|
+
function ke(n) {
|
|
414
|
+
if (n.length === 0)
|
|
269
415
|
return [];
|
|
270
|
-
const e =
|
|
271
|
-
for (const [
|
|
272
|
-
typeof
|
|
416
|
+
const e = n.reduce((t, i) => {
|
|
417
|
+
for (const [r, o] of Object.entries(i))
|
|
418
|
+
typeof o == "number" && Number.isFinite(o) && (t[r] = (t[r] ?? 0) + o);
|
|
273
419
|
return t;
|
|
274
420
|
}, {});
|
|
275
|
-
return
|
|
276
|
-
const
|
|
277
|
-
for (const [
|
|
278
|
-
if (typeof
|
|
279
|
-
const
|
|
280
|
-
|
|
421
|
+
return n.map((t) => {
|
|
422
|
+
const i = { ...t };
|
|
423
|
+
for (const [r, o] of Object.entries(t))
|
|
424
|
+
if (typeof o == "number" && e[r] > 0) {
|
|
425
|
+
const a = o / e[r];
|
|
426
|
+
i[`${r}${O}`] = a.toPrecision(2);
|
|
281
427
|
}
|
|
282
|
-
return
|
|
428
|
+
return i;
|
|
283
429
|
});
|
|
284
430
|
}
|
|
285
|
-
function
|
|
286
|
-
const { config: e, rows: t, layer:
|
|
287
|
-
let
|
|
288
|
-
const
|
|
431
|
+
function $e(n) {
|
|
432
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = se(e), u = I(e.series);
|
|
433
|
+
let c = ke(t);
|
|
434
|
+
const l = ue(e), S = u !== m.PieFromFields ? Q.Category : Q.Fields, p = ce(e, S), x = H({
|
|
289
435
|
config: e,
|
|
290
|
-
xAxisField:
|
|
291
|
-
numericFields:
|
|
292
|
-
aggregationType:
|
|
293
|
-
mode:
|
|
294
|
-
layer:
|
|
295
|
-
fieldList:
|
|
296
|
-
}),
|
|
297
|
-
return
|
|
298
|
-
const
|
|
299
|
-
field:
|
|
300
|
-
row:
|
|
301
|
-
fieldList:
|
|
302
|
-
formatter:
|
|
303
|
-
}), d = { [
|
|
304
|
-
let
|
|
305
|
-
return
|
|
306
|
-
value:
|
|
307
|
-
originalValue:
|
|
308
|
-
formatter:
|
|
309
|
-
}), d[
|
|
310
|
-
value:
|
|
311
|
-
originalValue:
|
|
312
|
-
formatter:
|
|
436
|
+
xAxisField: a,
|
|
437
|
+
numericFields: l,
|
|
438
|
+
aggregationType: p,
|
|
439
|
+
mode: S,
|
|
440
|
+
layer: i,
|
|
441
|
+
fieldList: r
|
|
442
|
+
}), y = N(e.series)[0];
|
|
443
|
+
return u === m.PieFromCategory || u === m.PieNoAggregation ? c = c.map((s) => {
|
|
444
|
+
const f = C({
|
|
445
|
+
field: a,
|
|
446
|
+
row: s,
|
|
447
|
+
fieldList: r,
|
|
448
|
+
formatter: o?.xAxisLabelFormatter
|
|
449
|
+
}), d = { [a]: f };
|
|
450
|
+
let g = y, b = y;
|
|
451
|
+
return u === m.PieFromCategory && y.toLowerCase() === x.name.toLowerCase() && (g = x.description, b = x.name), d[g] = P({
|
|
452
|
+
value: s[b],
|
|
453
|
+
originalValue: s[b],
|
|
454
|
+
formatter: o?.yAxisLabelFormatter
|
|
455
|
+
}), d[F(O.trim())] = P({
|
|
456
|
+
value: s[`${b}${O}`],
|
|
457
|
+
originalValue: s[`${b}${O}`],
|
|
458
|
+
formatter: o?.yAxisLabelFormatter
|
|
313
459
|
}), d;
|
|
314
|
-
}) :
|
|
460
|
+
}) : u === m.PieFromFields && (c = J(l, c).map(([s, f]) => {
|
|
315
461
|
const d = {};
|
|
316
|
-
return
|
|
317
|
-
value:
|
|
318
|
-
originalValue:
|
|
319
|
-
formatter:
|
|
320
|
-
}), d.Value =
|
|
321
|
-
value:
|
|
322
|
-
originalValue:
|
|
323
|
-
formatter:
|
|
324
|
-
}), d[
|
|
325
|
-
value:
|
|
326
|
-
originalValue:
|
|
327
|
-
formatter:
|
|
462
|
+
return f !== void 0 && s !== void 0 && (d.Field = P({
|
|
463
|
+
value: f[a],
|
|
464
|
+
originalValue: f[a],
|
|
465
|
+
formatter: o?.xAxisLabelFormatter
|
|
466
|
+
}), d.Value = P({
|
|
467
|
+
value: f[y],
|
|
468
|
+
originalValue: f[y],
|
|
469
|
+
formatter: o?.yAxisLabelFormatter
|
|
470
|
+
}), d[F(O.trim())] = P({
|
|
471
|
+
value: f[`${y}${O}`],
|
|
472
|
+
originalValue: f[`${y}${O}`],
|
|
473
|
+
formatter: o?.yAxisLabelFormatter
|
|
328
474
|
})), d;
|
|
329
|
-
})),
|
|
475
|
+
})), c;
|
|
330
476
|
}
|
|
331
|
-
function
|
|
332
|
-
const { rawData: e, keyBase: t = "", outRow:
|
|
333
|
-
for (const [
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
const
|
|
337
|
-
|
|
338
|
-
const
|
|
339
|
-
|
|
477
|
+
function T(n) {
|
|
478
|
+
const { rawData: e, keyBase: t = "", outRow: i } = n;
|
|
479
|
+
for (const [r, o] of Object.entries(v)) {
|
|
480
|
+
const a = e[t + o];
|
|
481
|
+
a !== void 0 && (i[r] = a);
|
|
482
|
+
const u = e[t + o + xe];
|
|
483
|
+
u !== void 0 && (i[`${r} Outlier`] = u);
|
|
484
|
+
const c = e[t + o + z];
|
|
485
|
+
c !== void 0 && (i[`${r} Z-Score`] = c);
|
|
340
486
|
}
|
|
341
487
|
}
|
|
342
|
-
function M(
|
|
343
|
-
const { rawData: e, outRow: t, config:
|
|
344
|
-
let
|
|
345
|
-
const
|
|
346
|
-
switch (
|
|
488
|
+
function M(n) {
|
|
489
|
+
const { rawData: e, outRow: t, config: i, boxPlotSubType: r, fieldList: o } = n, a = W(i), u = ee(i), c = _(i);
|
|
490
|
+
let l = v.Outlier;
|
|
491
|
+
const S = k;
|
|
492
|
+
switch (r) {
|
|
347
493
|
case m.BoxPlotMonoFieldAndCategory: {
|
|
348
|
-
const
|
|
349
|
-
field:
|
|
350
|
-
value: e[
|
|
351
|
-
fieldList:
|
|
494
|
+
const y = ie({
|
|
495
|
+
field: a,
|
|
496
|
+
value: e[a],
|
|
497
|
+
fieldList: o
|
|
352
498
|
});
|
|
353
|
-
t[
|
|
499
|
+
t[a] = y, t[F(v.Outlier)] = e[l];
|
|
354
500
|
break;
|
|
355
501
|
}
|
|
356
502
|
case m.BoxPlotMultiFieldsAndCategory: {
|
|
357
|
-
t[
|
|
358
|
-
(
|
|
359
|
-
) ?? ""}_${
|
|
503
|
+
t[F(a)] = e[a], l = `${u.find(
|
|
504
|
+
(s) => Object.keys(e).some((f) => f.toLowerCase().includes(s.toLowerCase()))
|
|
505
|
+
) ?? ""}_${l}`, t[F(v.Outlier)] = e[l];
|
|
360
506
|
break;
|
|
361
507
|
}
|
|
362
508
|
case m.BoxPlotMonoFieldAndSplitBy:
|
|
363
509
|
case m.BoxPlotMultiFieldsAndSplitBy: {
|
|
364
|
-
const
|
|
365
|
-
|
|
510
|
+
const y = String(e[c]);
|
|
511
|
+
l = `${y}_${l}`, t.Field = e[S], t[F(c)] = y, t[F(v.Outlier)] = e[l];
|
|
366
512
|
break;
|
|
367
513
|
}
|
|
368
514
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
369
|
-
const
|
|
370
|
-
|
|
515
|
+
const y = String(e[c]);
|
|
516
|
+
l = `${y}_${l}`, t[F(a)] = e[a], t[F(c)] = y, t[F(v.Outlier)] = e[l];
|
|
371
517
|
break;
|
|
372
518
|
}
|
|
373
519
|
case m.BoxPlotMonoField:
|
|
374
520
|
case m.BoxPlotMultiFields:
|
|
375
521
|
default: {
|
|
376
|
-
t.Field = e[
|
|
522
|
+
t.Field = e[S], t[F(v.Outlier)] = e[l];
|
|
377
523
|
break;
|
|
378
524
|
}
|
|
379
525
|
}
|
|
380
|
-
const
|
|
381
|
-
|
|
526
|
+
const p = `${l}${z}`, x = e[p];
|
|
527
|
+
x !== void 0 && (t[`${F(v.Outlier)} Z-Score`] = x);
|
|
382
528
|
}
|
|
383
|
-
function
|
|
384
|
-
const { rawData: e, outRow: t, config:
|
|
385
|
-
let
|
|
386
|
-
switch (
|
|
529
|
+
function we(n) {
|
|
530
|
+
const { rawData: e, outRow: t, config: i, splitByValue: r } = n, o = I(i.series), a = e[`${r}_${v.Average}`], u = _(i), c = W(i);
|
|
531
|
+
let l = "";
|
|
532
|
+
switch (o) {
|
|
387
533
|
case m.BoxPlotMonoFieldAndSplitBy: {
|
|
388
|
-
|
|
534
|
+
l = `${r}_${u}`, t.Field = e[k], t[F(u)] = e[l];
|
|
389
535
|
break;
|
|
390
536
|
}
|
|
391
537
|
case m.BoxPlotMultiFieldsAndSplitBy: {
|
|
392
|
-
|
|
538
|
+
l = `${r}_${v.Average}`, t.Field = e[k], t[F(u)] = e[l];
|
|
393
539
|
break;
|
|
394
540
|
}
|
|
395
541
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
396
|
-
|
|
542
|
+
l = `${r}_${v.Average}`, t[c] = e[c], t[F(u)] = r;
|
|
397
543
|
break;
|
|
398
544
|
}
|
|
399
545
|
}
|
|
400
|
-
t[
|
|
401
|
-
const
|
|
402
|
-
|
|
546
|
+
t[F(v.Average)] = a;
|
|
547
|
+
const S = `${String(a)}${z}`, p = e[S];
|
|
548
|
+
p !== void 0 && (t[`${F(v.Average)} Z-Score`] = p);
|
|
403
549
|
}
|
|
404
|
-
function
|
|
405
|
-
const { config: e, rows: t, fieldList:
|
|
406
|
-
let
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
-
const
|
|
410
|
-
let
|
|
411
|
-
switch (
|
|
550
|
+
function Te(n) {
|
|
551
|
+
const { config: e, rows: t, fieldList: i, formatters: r } = n, o = I(e.series);
|
|
552
|
+
let a = o;
|
|
553
|
+
const u = ne(e), c = Array.isArray(t) && t.length > 0 && t.every((s) => s[L.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
554
|
+
u && !c && (o === m.BoxPlotMonoFieldAndSplitBy ? a = m.BoxPlotMonoField : o === m.BoxPlotMultiFieldsAndSplitBy ? a = m.BoxPlotMultiFields : o === m.BoxPlotMonoFieldAndCategoryAndSplitBy && (a = m.BoxPlotMonoFieldAndCategory));
|
|
555
|
+
const l = W(e), S = ee(e), p = te(e), x = _(e);
|
|
556
|
+
let y;
|
|
557
|
+
switch (a) {
|
|
412
558
|
case m.BoxPlotMonoField:
|
|
413
559
|
case m.BoxPlotMonoFieldAndCategory: {
|
|
414
|
-
|
|
415
|
-
const
|
|
416
|
-
if (
|
|
417
|
-
M({ rawData:
|
|
560
|
+
y = t.map((s) => {
|
|
561
|
+
const f = {};
|
|
562
|
+
if (s[L.boxPlot.boxPlotOutlierId])
|
|
563
|
+
M({ rawData: s, outRow: f, config: e, boxPlotSubType: a });
|
|
418
564
|
else {
|
|
419
|
-
if (
|
|
420
|
-
const d =
|
|
421
|
-
field:
|
|
422
|
-
row:
|
|
423
|
-
fieldList:
|
|
424
|
-
formatter:
|
|
565
|
+
if (a === m.BoxPlotMonoFieldAndCategory) {
|
|
566
|
+
const d = C({
|
|
567
|
+
field: l,
|
|
568
|
+
row: s,
|
|
569
|
+
fieldList: i,
|
|
570
|
+
formatter: r?.xAxisLabelFormatter
|
|
425
571
|
});
|
|
426
|
-
|
|
427
|
-
} else
|
|
428
|
-
|
|
572
|
+
f[l] = d;
|
|
573
|
+
} else a === m.BoxPlotMonoField && (f.Field = s[k]);
|
|
574
|
+
T({ rawData: s, outRow: f });
|
|
429
575
|
}
|
|
430
|
-
return
|
|
576
|
+
return f;
|
|
431
577
|
});
|
|
432
578
|
break;
|
|
433
579
|
}
|
|
434
580
|
case m.BoxPlotMultiFields: {
|
|
435
|
-
|
|
436
|
-
const
|
|
437
|
-
return
|
|
438
|
-
rawData:
|
|
439
|
-
outRow:
|
|
581
|
+
y = t.flatMap((s) => {
|
|
582
|
+
const f = {};
|
|
583
|
+
return s[L.boxPlot.boxPlotOutlierId] ? M({
|
|
584
|
+
rawData: s,
|
|
585
|
+
outRow: f,
|
|
440
586
|
config: e,
|
|
441
|
-
boxPlotSubType:
|
|
442
|
-
}) : (
|
|
587
|
+
boxPlotSubType: a
|
|
588
|
+
}) : (f.Field = s[k], T({ rawData: s, outRow: f })), [f];
|
|
443
589
|
});
|
|
444
590
|
break;
|
|
445
591
|
}
|
|
446
592
|
case m.BoxPlotMultiFieldsAndCategory: {
|
|
447
|
-
|
|
448
|
-
(
|
|
593
|
+
y = t.flatMap(
|
|
594
|
+
(s) => S.map((f) => {
|
|
449
595
|
const d = {};
|
|
450
|
-
let
|
|
451
|
-
if (d.Field =
|
|
596
|
+
let g = "";
|
|
597
|
+
if (d.Field = f, s[L.boxPlot.boxPlotOutlierId])
|
|
452
598
|
M({
|
|
453
|
-
rawData:
|
|
599
|
+
rawData: s,
|
|
454
600
|
outRow: d,
|
|
455
601
|
config: e,
|
|
456
|
-
boxPlotSubType:
|
|
602
|
+
boxPlotSubType: a
|
|
457
603
|
});
|
|
458
604
|
else {
|
|
459
|
-
if (
|
|
460
|
-
const
|
|
461
|
-
field:
|
|
462
|
-
row:
|
|
463
|
-
fieldList:
|
|
464
|
-
formatter:
|
|
605
|
+
if (a === m.BoxPlotMultiFieldsAndCategory) {
|
|
606
|
+
const b = C({
|
|
607
|
+
field: l,
|
|
608
|
+
row: s,
|
|
609
|
+
fieldList: i,
|
|
610
|
+
formatter: r?.xAxisLabelFormatter
|
|
465
611
|
});
|
|
466
|
-
d[
|
|
612
|
+
d[l] = b, g = `${f}_`;
|
|
467
613
|
}
|
|
468
|
-
|
|
614
|
+
T({ rawData: s, outRow: d, keyBase: g });
|
|
469
615
|
}
|
|
470
616
|
return d;
|
|
471
617
|
})
|
|
@@ -475,70 +621,78 @@ function $e(i) {
|
|
|
475
621
|
case m.BoxPlotMonoFieldAndSplitBy:
|
|
476
622
|
case m.BoxPlotMultiFieldsAndSplitBy:
|
|
477
623
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
478
|
-
|
|
479
|
-
if (
|
|
480
|
-
const
|
|
624
|
+
y = t.flatMap((s) => {
|
|
625
|
+
if (s[L.boxPlot.boxPlotOutlierId]) {
|
|
626
|
+
const f = {};
|
|
481
627
|
return M({
|
|
482
|
-
rawData:
|
|
483
|
-
outRow:
|
|
628
|
+
rawData: s,
|
|
629
|
+
outRow: f,
|
|
484
630
|
config: e,
|
|
485
|
-
boxPlotSubType:
|
|
486
|
-
}), [
|
|
487
|
-
} else return
|
|
631
|
+
boxPlotSubType: a
|
|
632
|
+
}), [f];
|
|
633
|
+
} else return s[L.boxPlot.boxPlotMeanLineMarkerId] ? p?.map((f) => {
|
|
488
634
|
const d = {};
|
|
489
|
-
return
|
|
490
|
-
rawData:
|
|
635
|
+
return we({
|
|
636
|
+
rawData: s,
|
|
491
637
|
outRow: d,
|
|
492
|
-
splitByValue:
|
|
638
|
+
splitByValue: f,
|
|
493
639
|
config: e
|
|
494
640
|
}), d;
|
|
495
|
-
}) :
|
|
641
|
+
}) : p.map((f) => {
|
|
496
642
|
const d = {};
|
|
497
|
-
if (
|
|
498
|
-
const
|
|
499
|
-
field:
|
|
500
|
-
row:
|
|
501
|
-
fieldList:
|
|
502
|
-
formatter:
|
|
643
|
+
if (a === m.BoxPlotMonoFieldAndCategoryAndSplitBy) {
|
|
644
|
+
const g = C({
|
|
645
|
+
field: l,
|
|
646
|
+
row: s,
|
|
647
|
+
fieldList: i,
|
|
648
|
+
formatter: r?.xAxisLabelFormatter
|
|
503
649
|
});
|
|
504
|
-
d[
|
|
650
|
+
d[l] = g;
|
|
505
651
|
}
|
|
506
|
-
return
|
|
507
|
-
rawData:
|
|
652
|
+
return s[L.boxPlot.boxPlotOutlierId] ? M({
|
|
653
|
+
rawData: s,
|
|
508
654
|
outRow: d,
|
|
509
655
|
config: e,
|
|
510
|
-
boxPlotSubType:
|
|
511
|
-
}) : (d[
|
|
656
|
+
boxPlotSubType: a
|
|
657
|
+
}) : (d[x] = f, T({ rawData: s, outRow: d, keyBase: `${f}_` })), d;
|
|
512
658
|
});
|
|
513
659
|
});
|
|
514
660
|
break;
|
|
515
661
|
}
|
|
516
662
|
default:
|
|
517
|
-
|
|
663
|
+
y = t;
|
|
518
664
|
}
|
|
519
|
-
return
|
|
665
|
+
return y;
|
|
520
666
|
}
|
|
521
|
-
const
|
|
667
|
+
const G = (n) => {
|
|
522
668
|
let e = !1;
|
|
523
|
-
return (typeof
|
|
524
|
-
},
|
|
525
|
-
const { field: e, value: t, fieldList:
|
|
526
|
-
let
|
|
527
|
-
const
|
|
528
|
-
if (
|
|
529
|
-
const
|
|
530
|
-
|
|
669
|
+
return (typeof n == "string" || typeof n == "number") && (e = !Number.isNaN(new Date(n).getTime())), e;
|
|
670
|
+
}, ie = (n) => {
|
|
671
|
+
const { field: e, value: t, fieldList: i } = n;
|
|
672
|
+
let r = t;
|
|
673
|
+
const o = i?.find((a) => a.name === e);
|
|
674
|
+
if (o) {
|
|
675
|
+
const a = o.type === Se.DateOnly;
|
|
676
|
+
ge(o) && !a ? r = G(t) ? new Date(t).toISOString() : t : a && typeof t != "string" && (r = G(t) ? new Date(t).toISOString().split("T")[0] : t);
|
|
531
677
|
}
|
|
532
|
-
return
|
|
678
|
+
return r;
|
|
533
679
|
};
|
|
534
|
-
function
|
|
535
|
-
const
|
|
536
|
-
|
|
680
|
+
function tt(n) {
|
|
681
|
+
const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: i, syncViewTimeExtent: r } = n;
|
|
682
|
+
let o = e;
|
|
683
|
+
return t && (i === Fe.Refresh || r) && t.timeExtent?.start != null && t.timeExtent?.end != null && (o = {
|
|
684
|
+
...e,
|
|
685
|
+
timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
|
|
686
|
+
}), o;
|
|
537
687
|
}
|
|
538
688
|
export {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
689
|
+
ve as a,
|
|
690
|
+
De as b,
|
|
691
|
+
Pe as c,
|
|
692
|
+
he as d,
|
|
693
|
+
tt as e,
|
|
694
|
+
Je as f,
|
|
695
|
+
Z as g,
|
|
696
|
+
Ge as h,
|
|
697
|
+
et as t
|
|
544
698
|
};
|