@arcgis/charts-components 4.34.2 → 4.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{JMOIZ75S.js → 2AXTUVGQ.js} +2 -2
- package/dist/cdn/{2NLVAESY.js → 2CBQ2BDH.js} +2 -2
- package/dist/cdn/{YOHNGM5E.js → 2DPFPXBI.js} +2 -2
- package/dist/cdn/{4IMQPCCS.js → 2MIBYJZZ.js} +2 -2
- package/dist/cdn/{RIQY4YWB.js → 2RJDIK3S.js} +2 -2
- package/dist/cdn/{OJHOYTJF.js → 2SIU3YVE.js} +2 -2
- package/dist/cdn/{3MW3VA62.js → 2TKHYLKU.js} +2 -2
- package/dist/cdn/{D2ZKKLWY.js → 2XAIPOIW.js} +2 -2
- package/dist/cdn/{CT22SXWN.js → 2YIVYDK5.js} +1 -1
- package/dist/cdn/{YQ4VGNGE.js → 32TL42LA.js} +2 -2
- package/dist/cdn/{G642AXXO.js → 3G4TXUPM.js} +2 -2
- package/dist/cdn/{MTKJ3PYN.js → 3MWGUGJY.js} +2 -2
- package/dist/cdn/{ZJBT5AS3.js → 3U3YWDXX.js} +2 -2
- package/dist/cdn/{ACJVQ7M7.js → 3U7IGGPS.js} +2 -2
- package/dist/cdn/{JE2D5K3J.js → 3XKIEH4L.js} +2 -2
- package/dist/cdn/{TSOPQWX4.js → 4FF7GY35.js} +2 -2
- package/dist/cdn/{XURUWIMU.js → 4NSG3AC4.js} +2 -2
- package/dist/cdn/{V3Y2LQOK.js → 4VINPV22.js} +1 -1
- package/dist/cdn/{OF7C5BR2.js → 4ZAJ5JQ4.js} +2 -2
- package/dist/cdn/{PP6PSZD2.js → 53H3OG32.js} +2 -2
- package/dist/cdn/{HCI7MFET.js → 53PX5JAQ.js} +2 -2
- package/dist/cdn/{HZ2VWBBW.js → 544IHJQO.js} +2 -2
- package/dist/cdn/{PMIMCZHX.js → 5BG7WW2E.js} +1 -1
- package/dist/cdn/{V4UWNQG5.js → 5BPAAPAU.js} +2 -2
- package/dist/cdn/{DRVHRCBJ.js → 5PMU3TDY.js} +2 -2
- package/dist/cdn/{VZRY4URF.js → 5QDL2OMY.js} +2 -2
- package/dist/cdn/{BK3FTAK5.js → 5R43YMOV.js} +2 -2
- package/dist/cdn/{UCHMR7NP.js → 5WTR2W2O.js} +2 -2
- package/dist/cdn/{LARCFGKF.js → 6I2YZXXK.js} +2 -2
- package/dist/cdn/{RXPV6FUO.js → 6KL5YQAS.js} +2 -2
- package/dist/cdn/{H7RFTWTE.js → 6WI62LDG.js} +2 -2
- package/dist/cdn/{N35E4OZC.js → 7A7Z6OHA.js} +2 -2
- package/dist/cdn/{N4CLN7F3.js → 7DQ6A2RD.js} +2 -2
- package/dist/cdn/{W2D7KZKQ.js → 7DWSED2R.js} +2 -2
- package/dist/cdn/{LSC7FQRN.js → 7XLNQGRV.js} +2 -2
- package/dist/cdn/{Z2KEKK6A.js → AB5MZYDE.js} +2 -2
- package/dist/cdn/{TJ36NOEI.js → AR74UASC.js} +2 -2
- package/dist/cdn/{KG5TFF46.js → ASV5MR5B.js} +2 -2
- package/dist/cdn/{G73FEQON.js → AXJAEKAM.js} +2 -2
- package/dist/cdn/{TI3Q4C6E.js → BAXDZ7LP.js} +2 -2
- package/dist/cdn/{XYHDOGIU.js → BEZ5N7N7.js} +2 -2
- package/dist/cdn/{342OZV7P.js → BGNSPNQ5.js} +2 -2
- package/dist/cdn/{PW25AHL3.js → BLFBSKL3.js} +2 -2
- package/dist/cdn/{RDMCR27J.js → BMZ5OG4J.js} +2 -2
- package/dist/cdn/{AV6NSO3J.js → C65POYHB.js} +2 -2
- package/dist/cdn/{KWRCW5SW.js → CCEKOWPM.js} +2 -2
- package/dist/cdn/CDJV5WUJ.js +4 -0
- package/dist/cdn/{WVFGDJFE.js → DOXUK2OA.js} +2 -2
- package/dist/cdn/DTXCVFDU.js +4 -0
- package/dist/cdn/{FL33B63P.js → DXCHSVBP.js} +1 -1
- package/dist/cdn/{4EXFJ27I.js → DYAD663L.js} +2 -2
- package/dist/cdn/{TGGRQ5T2.js → DZ3SLLYL.js} +2 -2
- package/dist/cdn/{4EYNP7G6.js → ECVV75FN.js} +2 -2
- package/dist/cdn/{SQAD6IJ7.js → EJPLNNGL.js} +2 -2
- package/dist/cdn/{337XFLTU.js → EPMG2YJU.js} +2 -2
- package/dist/cdn/{ALIQKEQF.js → EYSBPEOE.js} +2 -2
- package/dist/cdn/{666MS5V5.js → F47TPQPI.js} +2 -2
- package/dist/cdn/{7SK6DZIQ.js → FC6S424Q.js} +2 -2
- package/dist/cdn/{TD7OZCVF.js → FDKY4UG4.js} +2 -2
- package/dist/cdn/{GBZL5OYS.js → FE2EOQSY.js} +2 -2
- package/dist/cdn/{CLF5NQ6A.js → FE6CYU2N.js} +2 -2
- package/dist/cdn/{KXMKG724.js → FRQ2TKI3.js} +2 -2
- package/dist/cdn/{A26K4G3C.js → FXTWFKEJ.js} +2 -2
- package/dist/cdn/{6G4BZOK3.js → GAPFVH4O.js} +2 -2
- package/dist/cdn/{W3HNTVZX.js → GBCMZCYP.js} +2 -2
- package/dist/cdn/{MX2XKSLN.js → GEREEP4F.js} +2 -2
- package/dist/cdn/{6GQSA75B.js → GJSARAXV.js} +2 -2
- package/dist/cdn/{7AAKQTMZ.js → GKFYBCF4.js} +2 -2
- package/dist/cdn/{WRYSKY3U.js → GLOHBONH.js} +2 -2
- package/dist/cdn/{GPKVFGSU.js → GLT2GIWL.js} +2 -2
- package/dist/cdn/{XU2LVWGL.js → GRWAOK3Y.js} +1 -1
- package/dist/cdn/{7P42C3XG.js → GUWCFIQ4.js} +2 -2
- package/dist/cdn/{ZOTDYEJT.js → GWZAE2PB.js} +2 -2
- package/dist/cdn/{BTQTSKNV.js → HHKR4TO6.js} +2 -2
- package/dist/cdn/{U6HXGQPS.js → HIXHG6XZ.js} +2 -2
- package/dist/cdn/{O3I3CF5Q.js → HYZZSSBR.js} +2 -2
- package/dist/cdn/{ZR4EISFL.js → I4TAZ5MT.js} +2 -2
- package/dist/cdn/{RMAIZGPR.js → IFQ55A6M.js} +2 -2
- package/dist/cdn/{VVXRSZNV.js → IY5KZHMC.js} +2 -2
- package/dist/cdn/{QSK7DFUB.js → JFD7LK5L.js} +2 -2
- package/dist/cdn/{22UIMCPX.js → JFZEAM5D.js} +2 -2
- package/dist/cdn/{FBYES62I.js → JHAJCFXL.js} +2 -2
- package/dist/cdn/{RRECOZFB.js → JNYYMRHO.js} +2 -2
- package/dist/cdn/{6D2IY7TT.js → JQSIPEYW.js} +2 -2
- package/dist/cdn/{BTQV3XKP.js → JR67RFHQ.js} +2 -2
- package/dist/cdn/{V6UMDCSO.js → K22MD3IH.js} +2 -2
- package/dist/cdn/{PN6IQHFE.js → K3CSQBAB.js} +2 -2
- package/dist/cdn/{PFS27OCN.js → K7XT5NVC.js} +2 -2
- package/dist/cdn/{WILSGKHI.js → KAX4EYKW.js} +2 -2
- package/dist/cdn/{3KXUPGFC.js → KEHZCTB6.js} +2 -2
- package/dist/cdn/{GST253GL.js → KFBXT7X2.js} +2 -2
- package/dist/cdn/{D2T75CBF.js → KFDH64OO.js} +2 -2
- package/dist/cdn/{MEWK6ZM4.js → KOHX5BIZ.js} +2 -2
- package/dist/cdn/{Q6CRLAAB.js → KUNDTQGK.js} +2 -2
- package/dist/cdn/{HBJC2NGO.js → L53VUKJU.js} +2 -2
- package/dist/cdn/{MBMKDWEN.js → LURXKBA4.js} +2 -2
- package/dist/cdn/{B6AKI47T.js → LVCNOCEH.js} +2 -2
- package/dist/cdn/{LPNIWHW5.js → MHMLEVRX.js} +1 -1
- package/dist/cdn/{MVSPUZXK.js → MJVNOHMT.js} +2 -2
- package/dist/cdn/{JKUZPFSS.js → MLOXSRQH.js} +2 -2
- package/dist/cdn/{OMK7ACQP.js → MSRS6EXP.js} +2 -2
- package/dist/cdn/{RUPQ2IQL.js → MWPCQM2X.js} +2 -2
- package/dist/cdn/{F62U5CBT.js → N5HWFUD7.js} +2 -2
- package/dist/cdn/{GWACDH63.js → N6KT32QW.js} +2 -2
- package/dist/cdn/{R7I4MGSD.js → NCNGL4ZO.js} +2 -2
- package/dist/cdn/{ALURDMWF.js → NFRLRRRB.js} +2 -2
- package/dist/cdn/{TT4MGJID.js → NGK3IDTN.js} +2 -2
- package/dist/cdn/{H7IR2A5N.js → NHT6JDVV.js} +2 -2
- package/dist/cdn/{BGIV2AOJ.js → NLLJQAIP.js} +2 -2
- package/dist/cdn/{DMVNKWP2.js → NQ2FR6A4.js} +2 -2
- package/dist/cdn/{HPG3CSBY.js → NWTSIC7V.js} +2 -2
- package/dist/cdn/{ZXGUTPW7.js → OADENMXG.js} +2 -2
- package/dist/cdn/{MHEHCY2Q.js → ODGNMPCN.js} +2 -2
- package/dist/cdn/{BSZVWSHW.js → OGDUZ3MY.js} +2 -2
- package/dist/cdn/OHGFZUOL.js +4 -0
- package/dist/cdn/{QF7VOGCI.js → OR7VDBNZ.js} +2 -2
- package/dist/cdn/{75LHFX54.js → P2CFS2Y7.js} +2 -2
- package/dist/cdn/{PFWXWYTY.js → P2QUA32P.js} +13 -13
- package/dist/cdn/{R64FMPDZ.js → PI2NXF2Q.js} +1 -1
- package/dist/cdn/{6SKC3IPW.js → PT6N46UF.js} +2 -2
- package/dist/cdn/{RHVCKAPF.js → PWLWBP33.js} +2 -2
- package/dist/cdn/{RO6HQ7LE.js → QJSSGXEK.js} +2 -2
- package/dist/cdn/{REJH5FZK.js → QNHNWFT7.js} +2 -2
- package/dist/cdn/{ZGJXA3PW.js → QWQWJO3H.js} +2 -2
- package/dist/cdn/{7EGFRU7P.js → R5IHBXPB.js} +2 -2
- package/dist/cdn/{3UVQUPQI.js → R7TF2W5C.js} +2 -2
- package/dist/cdn/{3ZWDELQ7.js → RHPUTTSM.js} +1 -1
- package/dist/cdn/{VR63PQZG.js → RJHL4W6B.js} +2 -2
- package/dist/cdn/{M2TG4Q22.js → RLOOJUUS.js} +2 -2
- package/dist/cdn/{R7ZYGOMZ.js → RPX6FDUW.js} +2 -2
- package/dist/cdn/{GZHMUNZR.js → S5LRHHGN.js} +2 -2
- package/dist/cdn/{FGV64DHY.js → SBQ7ITVN.js} +2 -2
- package/dist/cdn/{3VDQQE5W.js → SVW7CJ64.js} +2 -2
- package/dist/cdn/{P7T7WP66.js → SWLTAC35.js} +2 -2
- package/dist/cdn/{D7VD5RHH.js → SYEV7CRF.js} +2 -2
- package/dist/cdn/{RHXQ6MOT.js → T3EAQQFU.js} +2 -2
- package/dist/cdn/{LZIS7TRO.js → TCXSBNMJ.js} +2 -2
- package/dist/cdn/{MYQGQBLO.js → TEK4Q6HL.js} +2 -2
- package/dist/cdn/{B3YTOUGI.js → TGJJDIKJ.js} +2 -2
- package/dist/cdn/{QIOQTFFR.js → THR6V5L2.js} +2 -2
- package/dist/cdn/{ZC7HND45.js → TIHW2JRG.js} +2 -2
- package/dist/cdn/{4XVS7XQQ.js → TIJMLP3I.js} +2 -2
- package/dist/cdn/{J7L5SS2J.js → TJF35EBS.js} +2 -2
- package/dist/cdn/{G33DAOVS.js → TLMHEFBH.js} +2 -2
- package/dist/cdn/{G2LMYV6A.js → TNMDYW24.js} +2 -2
- package/dist/cdn/{D3CS5RJ6.js → TQKZFEUU.js} +2 -2
- package/dist/cdn/{ZB3XKSUD.js → TY2B2WYK.js} +2 -2
- package/dist/cdn/{IIQDEVRP.js → U2CUNCNL.js} +2 -2
- package/dist/cdn/U6BL4GEL.js +4 -0
- package/dist/cdn/{VOIC4BYU.js → UCBDQFFF.js} +2 -2
- package/dist/cdn/{QJL24ZC4.js → ULXFXWYX.js} +2 -2
- package/dist/cdn/{RBIIT4NM.js → UM26TKF2.js} +2 -2
- package/dist/cdn/{5VW4XYIM.js → UMPKJXUU.js} +2 -2
- package/dist/cdn/{XJ6ZVNOU.js → UUKEABSL.js} +2 -2
- package/dist/cdn/{AJDRWIUZ.js → UUMP6K6L.js} +1 -1
- package/dist/cdn/{4RSPKIKL.js → UW36CXM3.js} +2 -2
- package/dist/cdn/{VDNK4N7A.js → VCAE7QOT.js} +2 -2
- package/dist/cdn/{APUUHYMF.js → VJ423WD4.js} +2 -2
- package/dist/cdn/{NPSY245D.js → VP6AVQUX.js} +2 -2
- package/dist/cdn/{THF5PUXM.js → VWFJEDQX.js} +2 -2
- package/dist/cdn/{4DQOSQY4.js → VZXOTDOW.js} +1 -1
- package/dist/cdn/{KLAQETZ4.js → W6P6K3CA.js} +2 -2
- package/dist/cdn/{Q5U3QDWS.js → WDKYEJWY.js} +2 -2
- package/dist/cdn/{BPTVLURO.js → WHEJSHSR.js} +2 -2
- package/dist/cdn/{57ZZTF27.js → X2CW7XU4.js} +2 -2
- package/dist/cdn/{EBXM6U74.js → X4VD7UYA.js} +2 -2
- package/dist/cdn/{YPYTXN3F.js → XAM6H4ZQ.js} +2 -2
- package/dist/cdn/{RSAQM7TD.js → XB6OSIIQ.js} +2 -2
- package/dist/cdn/{4OBG2JE4.js → XCUGMEPO.js} +2 -2
- package/dist/cdn/{F6NYZCMT.js → XIZLMN6F.js} +2 -2
- package/dist/cdn/{LGXJX2XP.js → XSDWDGAO.js} +2 -2
- package/dist/cdn/{YBJ37EUZ.js → XWFCGUDT.js} +2 -2
- package/dist/cdn/{R2VSQVVC.js → YIW4SPCE.js} +2 -2
- package/dist/cdn/{JFCMUE6Z.js → YMIRNF6H.js} +2 -2
- package/dist/cdn/{2FRNIAAG.js → YMRJGPNZ.js} +2 -2
- package/dist/cdn/{LRQBZUBW.js → YU7RQO3D.js} +2 -2
- package/dist/cdn/{E4GBVLWW.js → YWKTOMWW.js} +2 -2
- package/dist/cdn/{B3JXHZHT.js → Z7ONPSJ6.js} +2 -2
- package/dist/cdn/{VMUM4SA6.js → ZEVSMXKO.js} +2 -2
- package/dist/cdn/{OWDFTAX5.js → ZIIH7OXL.js} +2 -2
- package/dist/cdn/{YZYEXPYH.js → ZVDNQG6E.js} +2 -2
- package/dist/cdn/{X3VMEDIB.js → ZVWILUTO.js} +2 -2
- package/dist/cdn/{5URPOWX4.js → ZWKNAQJC.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +17 -13
- package/dist/chunks/data.js +42 -37
- package/dist/chunks/data2.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +438 -436
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- 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.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/shared/data.d.ts +21 -3
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/A6JZHUAT.js +0 -4
- package/dist/cdn/FXG5LDG6.js +0 -4
- package/dist/cdn/NP5MUM5A.js +0 -4
- package/dist/cdn/XWGGAPGD.js +0 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c as Bm } from "../../chunks/runtime.js";
|
|
2
|
-
import { LitElement as Mm, createEvent as St, safeClassMap as
|
|
2
|
+
import { LitElement as Mm, createEvent as St, safeClassMap as cl } from "@arcgis/lumina";
|
|
3
3
|
import Nm from "html2canvas";
|
|
4
4
|
import Pm from "jszip";
|
|
5
5
|
import { html as _o, css as Vm } from "lit";
|
|
6
|
-
import { createRef as Em, ref as
|
|
6
|
+
import { createRef as Em, ref as dl } from "lit/directives/ref.js";
|
|
7
7
|
import { cloneDeep as Ge, debounce as Ye, isEqual as fo, isEmpty as ka } from "lodash-es";
|
|
8
|
-
import { d as Y, W as b, u as z, g as Ln, e as Ie, S as
|
|
8
|
+
import { d as Y, W as b, u as z, g as Ln, e as Ie, S as kc, a as Wt, j as Ht, i as xe, r as Ui, v as zm, o as ke, s as ul, l as Wm, m as Ic, h as fl, q as Ia, p as Hm } from "../../chunks/series-types.js";
|
|
9
9
|
import { substitute as Ra } from "@arcgis/core/intl.js";
|
|
10
|
-
import
|
|
11
|
-
import { color as mo, percent as gt, LinePattern as
|
|
10
|
+
import ml from "@arcgis/core/layers/FeatureLayer.js";
|
|
11
|
+
import { color as mo, percent as gt, LinePattern as wc, RectanglePattern as Gm, p50 as Ae, p0 as Ke, p100 as Te, Label as yi, Rectangle as zs, DateFormatter as Xm, NumberFormatter as $c, Series as Ws, HeatLegend as Dc, Container as Gi, Legend as Fn, Scrollbar as Fs, SerialChart as Ba, Tooltip as za, Template as Wa, Graphics as ui, Bullet as Ti, RoundedRectangle as go, Slice as Ma, Timezone as Ym, DataItem as Um, Color as jm, Modal as qm, addLicense as _m, registry as Zm, Root as Km } from "@amcharts/amcharts5";
|
|
12
12
|
import { PieChart as ti, PieSeries as ht } from "@amcharts/amcharts5/percent.js";
|
|
13
|
-
import { AxisRendererCircular as fi, RadarCursor as
|
|
14
|
-
import { XYChart as Se, AxisRendererX as $t, LineSeries as ge, XYCursor as
|
|
13
|
+
import { AxisRendererCircular as fi, RadarCursor as Oc, ClockHand as As, RadarChart as ji, AxisRendererRadial as Qm, RadarLineSeries as Hs } from "@amcharts/amcharts5/radar.js";
|
|
14
|
+
import { XYChart as Se, AxisRendererX as $t, LineSeries as ge, XYCursor as Rc, ColumnSeries as Ee, StepLineSeries as An, CandlestickSeries as ua, DateAxis as tt, ValueAxis as we, XYSeries as Gs, CategoryAxis as Ct, AxisRendererY as qi, AxisBullet as Jm } from "@amcharts/amcharts5/xy.js";
|
|
15
15
|
import { unsafeGetElementDirection as Xs } from "@arcgis/toolkit/dom";
|
|
16
16
|
import { getElementLocale as Tn } from "@arcgis/toolkit/intl";
|
|
17
17
|
import { c as an } from "../../chunks/index.js";
|
|
18
|
-
import { p as U, cC as P, d as ii, a2 as ei, ci as De, aF as on, X as Io, a6 as ai, Y as kn, cm as ye, m as eg, l as Ki, k as ki, U as Na, P as J, G as be, a4 as Me, ck as
|
|
18
|
+
import { p as U, cC as P, d as ii, a2 as ei, ci as De, aF as on, X as Io, a6 as ai, Y as kn, cm as ye, m as eg, l as Ki, k as ki, U as Na, P as J, G as be, a4 as Me, ck as Bc, K as Ys, O as $e, cc as jt, ce as zt, cs as He, c7 as pt, cg as Mc, q as Ha, ag as Us, ai as Nc, bd as tg, be as ig, ar as js, as as Pc, ah as In, cb as Ii, cD as Ne, cG as ho, cq as nn, aS as Vc, bE as Ec, I as wi, c0 as qs, ba as qt, bW as Si, bX as _s, b6 as wn, bj as Zs, a3 as Ks, E as $i, N as $n, M as ag, B as Qs, ad as wo, aB as zc, ao as Js, F as po, aq as Wc, ap as Hc, a as wa, $ as Gc, bi as Xc, L as Yc, D as bi, c9 as sn, b9 as bo, x as er, b7 as ro, b$ as rn, i as Uc, aZ as jc, a5 as og, H as ng, bH as sg, cd as gl, ch as rg, r as lg, c6 as Ho, y as oo, s as cg, g as dg, cr as ug, C as fg, bt as hl, cu as mg, h as gg } from "../../chunks/interfaces.js";
|
|
19
19
|
import { A as K, C as fs } from "../../chunks/interfaces2.js";
|
|
20
20
|
import "@arcgis/core/core/promiseUtils.js";
|
|
21
21
|
import "@arcgis/core/request.js";
|
|
@@ -26,38 +26,38 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
26
26
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
27
|
import { h as qc, l as _c, d as Dn, g as Zc, c as hg } from "../../chunks/index3.js";
|
|
28
28
|
import { b as ln, d as $a, c as Kc, q as Qc, s as ms, t as pg, r as bg, h as hi, u as On } from "../../chunks/index4.js";
|
|
29
|
-
import { i as Di, s as Ga, C as A, a as ft, e as Rn, m as Jc, g as oi, b as yg, c as ni, d as bt, f as qe, n as ed, h as si, j as
|
|
29
|
+
import { i as Di, s as Ga, C as A, a as ft, e as Rn, m as Jc, g as oi, b as yg, c as ni, d as bt, f as qe, n as ed, h as si, j as tr, k as yo, l as mi, o as Lt, p as Ft, q as Bt, t as Xa, u as td, v as $o, w as Qi, x as id, R as cn, y as ad, z as Oi, A as od, B as nd, D as sd, E as rd, F as ld, G as dn, H as cd, I as fa, J as Do, K as dd, L as ir, M as Sg, N as pl, O as Ya, P as Ji, Q as Oo, S as Ua, T as xg, U as ar, V as or, W as ud, X as Bn, Y as fd, Z as md, _ as Mn, $ as ja, a0 as qa, a1 as xi, a2 as ea, a3 as gd, a4 as hd, a5 as Nn, a6 as Cg, a7 as pd, a8 as bd, a9 as nr, aa as vg, ab as yd, ac as sr, ad as Lg, ae as Fg, af as Sd, ag as xd, ah as Ts, ai as Pn, aj as rr, ak as Ag, al as Cd, am as Tg, an as kg, ao as Ig, ap as wg, aq as $g, ar as Dg, as as Og, at as Rg, au as Bg, av as bl, aw as yl, ax as Mg, ay as Ng, r as Pg } from "../../chunks/config-update.js";
|
|
30
30
|
import { range as Vg } from "d3-array";
|
|
31
31
|
import { C as G } from "../../chunks/interfaces4.js";
|
|
32
32
|
import { c as at, b as dt, d as xt, R as te, i as gs, e as se, f as ee, a as Eg, j as hs } from "../../chunks/rest-js-object-literals.js";
|
|
33
33
|
import { v5 as un } from "uuid";
|
|
34
34
|
import zg from "@amcharts/amcharts5/themes/Animated.js";
|
|
35
35
|
import Wg from "@amcharts/amcharts5/themes/Responsive.js";
|
|
36
|
-
import { LineSeriesDataItem as ta, DateAxis as ze, ValueAxis as ve, CategoryAxis as lt, CategoryAxisDataItem as Pa, DateAxisDataItem as Vn, XYChart as ne, PieChart as Le, AxisFill as Hg, AxisFillCircular as Gg, LineSeries as ue, ColumnSeries as Xe, PieSeries as Nt, GaugeChart as yt, XYCursor as vd, XYSeries as Ci, SerialChart as Ld, Cursor as Xg, AxisLabel as
|
|
36
|
+
import { LineSeriesDataItem as ta, DateAxis as ze, ValueAxis as ve, CategoryAxis as lt, CategoryAxisDataItem as Pa, DateAxisDataItem as Vn, XYChart as ne, PieChart as Le, AxisFill as Hg, AxisFillCircular as Gg, LineSeries as ue, ColumnSeries as Xe, PieSeries as Nt, GaugeChart as yt, XYCursor as vd, XYSeries as Ci, SerialChart as Ld, Cursor as Xg, AxisLabel as lr, ColumnSeriesDataItem as Ro, CandlestickSeries as _e, StepLineSeries as vt, LegendDataItem as ia, CandlestickSeriesDataItem as Yg, PieSeriesDataItem as ri, Legend as Ug, Series as jg, AxisRendererX as wt, AxisRendererCircular as En, AxisLabelCircular as cr, ValueAxisDataItem as dr, AxisRendererY as Va, ClockHand as qg } from "@amcharts/amcharts4/charts.js";
|
|
37
37
|
import { Exporting as _g } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
38
38
|
import { isLight as Zg } from "@amcharts/amcharts5/.internal/core/util/Utils.js";
|
|
39
39
|
import { curveLinearClosed as Kg, curveLinear as Qg, curveCardinal as Jg, curveBumpY as eh, curveBumpX as th } from "d3-shape";
|
|
40
|
-
import { DateFormatter as Fd, NumberFormatter as Ad, Group as ih, Color as fn, percent as ot, LinePattern as Td, RectPattern as kd, color as zn, MouseCursorStyle as Gt, Label as So, DropShadowFilter as ah, Sprite as
|
|
41
|
-
import
|
|
40
|
+
import { DateFormatter as Fd, NumberFormatter as Ad, Group as ih, Color as fn, percent as ot, LinePattern as Td, RectPattern as kd, color as zn, MouseCursorStyle as Gt, Label as So, DropShadowFilter as ah, Sprite as ur, utils as Id, Polygon as wd, Container as fr, Tooltip as $d, RoundedRectangle as oh, Percent as mn, Slice as Dd, options as lo, useTheme as nh, unuseTheme as sh, create as mr } from "@amcharts/amcharts4/core.js";
|
|
41
|
+
import Sl from "@amcharts/amcharts4/themes/animated.js";
|
|
42
42
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
43
43
|
import { isLight as rh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
44
|
-
import { Scrollbar as
|
|
45
|
-
import { u as
|
|
44
|
+
import { Scrollbar as xl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
45
|
+
import { u as Cl } from "../../chunks/useT9n.js";
|
|
46
46
|
import { f as lh } from "../../chunks/interfaces3.js";
|
|
47
47
|
import { i as xo, a as ch, b as dh } from "../../chunks/type-guards.js";
|
|
48
48
|
import { createModel as uh } from "../../model.js";
|
|
49
|
-
import { L as Zo, b as Ko, c as Qo, S as Jo, V as no, A as
|
|
49
|
+
import { L as Zo, b as Ko, c as Qo, S as Jo, V as no, A as vl, E as Go, C as fh } from "../../chunks/index5.js";
|
|
50
50
|
import { u as mh, o as gh } from "../../chunks/action-bar-utils.js";
|
|
51
|
-
import { n as
|
|
52
|
-
import { t as
|
|
51
|
+
import { n as Ll } from "../../chunks/chart-ui-utils2.js";
|
|
52
|
+
import { t as Fl, b as Al, D as hh, m as ph } from "../../chunks/web-component-utils.js";
|
|
53
53
|
import * as pi from "@arcgis/core/core/reactiveUtils.js";
|
|
54
54
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
55
55
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
56
|
-
v4.34.
|
|
57
|
-
var Xo = { exports: {} }, ps,
|
|
56
|
+
v4.34.3 */
|
|
57
|
+
var Xo = { exports: {} }, ps, Tl;
|
|
58
58
|
function bh() {
|
|
59
|
-
if (
|
|
60
|
-
|
|
59
|
+
if (Tl) return ps;
|
|
60
|
+
Tl = 1;
|
|
61
61
|
function t(e) {
|
|
62
62
|
var i = new e(), a = i;
|
|
63
63
|
function o() {
|
|
@@ -74,10 +74,10 @@ function bh() {
|
|
|
74
74
|
}
|
|
75
75
|
return ps = t, ps;
|
|
76
76
|
}
|
|
77
|
-
var
|
|
77
|
+
var kl;
|
|
78
78
|
function yh() {
|
|
79
|
-
if (
|
|
80
|
-
|
|
79
|
+
if (kl) return Xo.exports;
|
|
80
|
+
kl = 1;
|
|
81
81
|
var t = bh();
|
|
82
82
|
function e(n, s, r) {
|
|
83
83
|
if (typeof n == "function" && (r = s, s = n, n = null), r < 1)
|
|
@@ -296,7 +296,7 @@ function Bo(t) {
|
|
|
296
296
|
const { groupOfSlicesDataContext: e, chartData: i } = t;
|
|
297
297
|
return (e ?? i?.find((n) => n[ei.defaultGroupOfSlicesId] === !0))?.[G.pieChart.technicalFieldGroupedSlices];
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function gr(t) {
|
|
300
300
|
const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
301
301
|
let o = a.fillSymbol ? { ...a.fillSymbol } : on();
|
|
302
302
|
if (Di(e))
|
|
@@ -369,7 +369,7 @@ function kh(t, e) {
|
|
|
369
369
|
function At(t, e) {
|
|
370
370
|
return ga(t, e);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function hr(t, e) {
|
|
373
373
|
ma(t, e);
|
|
374
374
|
}
|
|
375
375
|
function Ih(t, e) {
|
|
@@ -411,7 +411,7 @@ function Xt(t, e) {
|
|
|
411
411
|
function Za(t, e = 100) {
|
|
412
412
|
return setTimeout(() => t(), e);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Il(t) {
|
|
415
415
|
let e = Number.NaN;
|
|
416
416
|
if (typeof t == "number")
|
|
417
417
|
e = t;
|
|
@@ -438,7 +438,7 @@ function Rh(t, e) {
|
|
|
438
438
|
function Bh(t) {
|
|
439
439
|
const { root: e, fill: i, rotation: a, isLinePattern: o } = t;
|
|
440
440
|
let n;
|
|
441
|
-
return o !== !1 ? n =
|
|
441
|
+
return o !== !1 ? n = wc.new(e, {
|
|
442
442
|
width: A.patternLineProperties.width ?? Number.NaN,
|
|
443
443
|
height: A.patternLineProperties.height ?? Number.NaN,
|
|
444
444
|
strokeWidth: A.patternLineProperties.strokeWidth ?? Number.NaN,
|
|
@@ -603,7 +603,7 @@ function Wh(t) {
|
|
|
603
603
|
const l = a;
|
|
604
604
|
return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Ke ? n = Te : l === Te ? n = Ke : l === Ae && (n = Ae)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function pr(t) {
|
|
607
607
|
const { root: e, symbol: i, defaultToColorFromRamp: a, colorRampIndex: o, isChartFillSymbol: n = !1 } = t;
|
|
608
608
|
let s;
|
|
609
609
|
if (a === !0) {
|
|
@@ -661,7 +661,7 @@ function Co(t) {
|
|
|
661
661
|
});
|
|
662
662
|
return n !== void 0 && s.set("id", n), Wd(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function wl(t) {
|
|
665
665
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
666
666
|
e.adapters.remove(a), (e instanceof yi ? [e] : e.entities).forEach((n) => {
|
|
667
667
|
if (typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
@@ -688,11 +688,11 @@ function Pt(t) {
|
|
|
688
688
|
oversizedBehavior: l.wrap,
|
|
689
689
|
maxWidth: l.maxWidth
|
|
690
690
|
// TODO: double check whether issue #6942 happens here too
|
|
691
|
-
}), o || e.setAll({ text: l.text }), n || (
|
|
691
|
+
}), o || e.setAll({ text: l.text }), n || (wl({
|
|
692
692
|
label: e,
|
|
693
693
|
offset: l.xOffset,
|
|
694
694
|
offsetProperty: "dx"
|
|
695
|
-
}),
|
|
695
|
+
}), wl({
|
|
696
696
|
label: e,
|
|
697
697
|
offset: l.yOffset,
|
|
698
698
|
offsetProperty: "dy"
|
|
@@ -869,7 +869,7 @@ function Gh(t) {
|
|
|
869
869
|
function Xh(t) {
|
|
870
870
|
const { guide: e, axis: i, guideLabelConfig: a } = t, o = e.get("label");
|
|
871
871
|
if (o !== void 0) {
|
|
872
|
-
Wd(o),
|
|
872
|
+
Wd(o), hr(o.uid, { isGuide: !0, guideLabelConfig: a });
|
|
873
873
|
const { chart: n } = i;
|
|
874
874
|
n !== void 0 && vo({
|
|
875
875
|
chart: n,
|
|
@@ -884,7 +884,7 @@ function Yh(t) {
|
|
|
884
884
|
if (a.label !== void 0) {
|
|
885
885
|
const s = e.get("renderer") instanceof $t;
|
|
886
886
|
let r;
|
|
887
|
-
e instanceof fi || (s ? o === te.SFS ? r = A.verticalSurfaceGuideLabels : r = A.verticalLineGuideLabels : o === te.SFS ? r = A.horizontalSurfaceGuideLabels : r = A.horizontalLineGuideLabels),
|
|
887
|
+
e instanceof fi || (s ? o === te.SFS ? r = A.verticalSurfaceGuideLabels : r = A.verticalLineGuideLabels : o === te.SFS ? r = A.horizontalSurfaceGuideLabels : r = A.horizontalLineGuideLabels), hr(n.uid, { guideLabelConfig: a.label });
|
|
888
888
|
const l = {
|
|
889
889
|
type: b.Text,
|
|
890
890
|
visible: a.visible,
|
|
@@ -922,7 +922,7 @@ function pn(t, e) {
|
|
|
922
922
|
function Ud(t) {
|
|
923
923
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
924
924
|
let s;
|
|
925
|
-
return e !== void 0 && i !== void 0 && (s =
|
|
925
|
+
return e !== void 0 && i !== void 0 && (s = pr({
|
|
926
926
|
symbol: i,
|
|
927
927
|
defaultToColorFromRamp: o,
|
|
928
928
|
colorRampIndex: n
|
|
@@ -949,7 +949,7 @@ function na(t) {
|
|
|
949
949
|
keepCurrentVisibility: l
|
|
950
950
|
} = t;
|
|
951
951
|
let c;
|
|
952
|
-
return i !== void 0 && !i.isDisposed() && (a !== void 0 && (c =
|
|
952
|
+
return i !== void 0 && !i.isDisposed() && (a !== void 0 && (c = pr({
|
|
953
953
|
root: e,
|
|
954
954
|
symbol: a,
|
|
955
955
|
defaultToColorFromRamp: n,
|
|
@@ -965,7 +965,7 @@ function na(t) {
|
|
|
965
965
|
function Yt(t) {
|
|
966
966
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
967
967
|
let s;
|
|
968
|
-
return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s =
|
|
968
|
+
return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = pr({
|
|
969
969
|
symbol: i,
|
|
970
970
|
defaultToColorFromRamp: o,
|
|
971
971
|
colorRampIndex: n
|
|
@@ -1018,7 +1018,7 @@ function mt(t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
return { symbolWithColorInfo: m, stylingInfo: u };
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function $l(t, e) {
|
|
1022
1022
|
if (e !== void 0) {
|
|
1023
1023
|
const { elementColor: i, elementOutlineColor: a, elementOutlineWidth: o, rotation: n, transformation: s } = e, { opacity: r, scale: l } = s ?? {};
|
|
1024
1024
|
if (i !== void 0 && t.setAll({ fill: re(i).color, fillOpacity: 1 }), a !== void 0 && t.setAll({ stroke: re(a).color, strokeOpacity: 1 }), o !== void 0 && t.setAll({ strokeWidth: o }), n !== void 0 && t.setAll({ rotation: n }), l !== void 0 && t.setAll({ scale: l }), r !== void 0) {
|
|
@@ -1155,7 +1155,7 @@ function Dt(t) {
|
|
|
1155
1155
|
let n;
|
|
1156
1156
|
switch (i) {
|
|
1157
1157
|
case b.NumberAxisFormat: {
|
|
1158
|
-
n =
|
|
1158
|
+
n = $c.new(e, {}), n.set("intlLocales", o), n.set("numberFormat", a);
|
|
1159
1159
|
break;
|
|
1160
1160
|
}
|
|
1161
1161
|
case b.DateAxisFormat: {
|
|
@@ -1316,7 +1316,7 @@ function ep(t) {
|
|
|
1316
1316
|
});
|
|
1317
1317
|
return c;
|
|
1318
1318
|
}
|
|
1319
|
-
function
|
|
1319
|
+
function br(t) {
|
|
1320
1320
|
const { layerOidField: e, sliceDataContext: i, selectionDataContext: a, xAxisField: o } = t;
|
|
1321
1321
|
let n = !1;
|
|
1322
1322
|
if (e !== void 0 && e in i && e in a)
|
|
@@ -1409,7 +1409,7 @@ function Hn(t) {
|
|
|
1409
1409
|
n !== void 0 && (u = (h) => {
|
|
1410
1410
|
const y = i, p = Di(y), S = [y];
|
|
1411
1411
|
return p && S.push(...Bo({ groupOfSlicesDataContext: y }) ?? []), S.some(
|
|
1412
|
-
(C) =>
|
|
1412
|
+
(C) => br({
|
|
1413
1413
|
sliceDataContext: C,
|
|
1414
1414
|
selectionDataContext: h,
|
|
1415
1415
|
layerOidField: o,
|
|
@@ -1495,7 +1495,7 @@ const st = {
|
|
|
1495
1495
|
};
|
|
1496
1496
|
function Zd(t) {
|
|
1497
1497
|
let e = !1, i;
|
|
1498
|
-
if (t.target.dataItem?.component instanceof Ws ? { chart: i } = t.target.dataItem.component : (t.target instanceof
|
|
1498
|
+
if (t.target.dataItem?.component instanceof Ws ? { chart: i } = t.target.dataItem.component : (t.target instanceof Rc || t.target instanceof Oc) && ({ chart: i } = t.target), i instanceof Se || i instanceof ti) {
|
|
1499
1499
|
const a = w(i.uid, "actionMode");
|
|
1500
1500
|
if (a !== void 0) {
|
|
1501
1501
|
const { originalEvent: o } = t;
|
|
@@ -1521,7 +1521,7 @@ function tp(t, e) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
function _t(t, e) {
|
|
1523
1523
|
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? A.selectionTheme ?? {}, o = t.states.create(st.CustomActive, {}), n = t.states.create(st.CustomInactive, {});
|
|
1524
|
-
|
|
1524
|
+
$l(o, i), $l(n, a);
|
|
1525
1525
|
}
|
|
1526
1526
|
function ip(t) {
|
|
1527
1527
|
return !!/^data:[a-z]+\/[a-z+.-]+;base64/u.test(t);
|
|
@@ -1573,7 +1573,7 @@ function co(t, e) {
|
|
|
1573
1573
|
});
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
|
-
function
|
|
1576
|
+
function yr(t) {
|
|
1577
1577
|
const {
|
|
1578
1578
|
pieChart: e,
|
|
1579
1579
|
valueIntlOptions: i,
|
|
@@ -1622,7 +1622,7 @@ function np(t) {
|
|
|
1622
1622
|
)), e;
|
|
1623
1623
|
}
|
|
1624
1624
|
function sp(t) {
|
|
1625
|
-
|
|
1625
|
+
hr(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("text", (e, i) => {
|
|
1626
1626
|
let a = e ?? "";
|
|
1627
1627
|
const o = Ah(
|
|
1628
1628
|
t.uid,
|
|
@@ -1645,7 +1645,7 @@ function Qd(t) {
|
|
|
1645
1645
|
const { numericValueFormat: d, percentValueFormat: m, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = l ?? A.pieChart.displayNumericValueOnLegend, x = c ?? A.pieChart.displayPercentageOnLegend;
|
|
1646
1646
|
let C = o;
|
|
1647
1647
|
if (o === void 0) {
|
|
1648
|
-
const O =
|
|
1648
|
+
const O = yr({
|
|
1649
1649
|
pieChart: n,
|
|
1650
1650
|
valueIntlOptions: d?.intlOptions,
|
|
1651
1651
|
percentageIntlOptions: m?.intlOptions,
|
|
@@ -1955,10 +1955,10 @@ const f = {
|
|
|
1955
1955
|
`${f.NonRotated}-${f.RTL}-${f.Stacked100}-${f.LegendRight}-${f.ValueAxis}-${f.OrderByFieldsDESC}`,
|
|
1956
1956
|
`${f.Rotated}-${f.RTL}-${f.Stacked100}-${f.LegendTop}-${f.ValueAxis}-${f.OrderByFieldsDESC}`,
|
|
1957
1957
|
`${f.Rotated}-${f.RTL}-${f.Stacked100}-${f.LegendBottom}-${f.ValueAxis}-${f.OrderByFieldsDESC}`
|
|
1958
|
-
]), Gn = "arcgis_charts_title_container",
|
|
1958
|
+
]), Gn = "arcgis_charts_title_container", Sr = "arcgis_charts_subtitle_container", Xn = "arcgis_charts_footer_container", iu = "arcgis_charts_title", au = "arcgis_charts_subtitle", ou = "arcgis_charts_footer", Bi = "arcgis_charts_legend_container", ha = "arcgis_charts_legend_title", Dl = "arcgis_charts_axis_title_id", nu = "arcgis_charts_loader_container", su = "arcgis_charts_loader_spinner";
|
|
1959
1959
|
function ru(t) {
|
|
1960
1960
|
const { root: e } = t, i = w(t.uid, "rtl") ?? !1, a = w(t.uid, "config"), o = a?.series[0], { start: n, end: s } = lu(i, o), r = a?.legend?.position ?? A.heatChart.legend.position, l = r === Y.Top || r === Y.Bottom;
|
|
1961
|
-
return
|
|
1961
|
+
return Dc.new(e, {
|
|
1962
1962
|
orientation: l ? "horizontal" : "vertical",
|
|
1963
1963
|
startColor: n.color,
|
|
1964
1964
|
endColor: s.color,
|
|
@@ -2090,7 +2090,7 @@ function fp(t, e) {
|
|
|
2090
2090
|
function fu(t) {
|
|
2091
2091
|
[t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t].forEach(
|
|
2092
2092
|
(e) => {
|
|
2093
|
-
e.children.values.filter((a) => a instanceof
|
|
2093
|
+
e.children.values.filter((a) => a instanceof Dc).forEach((a) => {
|
|
2094
2094
|
e.children.removeValue(a), a.dispose();
|
|
2095
2095
|
}), e.markDirty();
|
|
2096
2096
|
}
|
|
@@ -2213,7 +2213,7 @@ function gu(t) {
|
|
|
2213
2213
|
i.data.setAll(s);
|
|
2214
2214
|
}
|
|
2215
2215
|
}
|
|
2216
|
-
function
|
|
2216
|
+
function Ol(t) {
|
|
2217
2217
|
let e = 0;
|
|
2218
2218
|
return t.dataItems.forEach((i) => {
|
|
2219
2219
|
const a = i.get("itemContainer").width();
|
|
@@ -2223,7 +2223,7 @@ function Dl(t) {
|
|
|
2223
2223
|
function so(t, e) {
|
|
2224
2224
|
const { root: i } = t, a = Ce({ childId: Bi, parent: t });
|
|
2225
2225
|
if (a !== void 0) {
|
|
2226
|
-
const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = Ce({ childId: Gn, parent: t }), m = d instanceof Gi && s ? d.height() : 0, g = Ce({ childId:
|
|
2226
|
+
const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = Ce({ childId: Gn, parent: t }), m = d instanceof Gi && s ? d.height() : 0, g = Ce({ childId: Sr, parent: t }), h = g instanceof Gi && r ? g.height() : 0, y = Ce({ childId: Xn, parent: t }), p = y instanceof Gi && l ? y.height() : 0, S = Ce({ childId: ha, parent: a }), x = S instanceof yi && c && u ? S?.height() : 0, C = o?.legend?.position ?? A.legendProperties.position;
|
|
2227
2227
|
let v;
|
|
2228
2228
|
const F = e.get("verticalScrollbar");
|
|
2229
2229
|
let T = Ae, k = Ae, $ = i.verticalLayout, O = Ae, D = Ae, R = Ae, M = Ae, N = 0, E;
|
|
@@ -2231,10 +2231,10 @@ function so(t, e) {
|
|
|
2231
2231
|
let H = 0, Z = 0, oe = 0, ie = 0, X, q;
|
|
2232
2232
|
switch (C) {
|
|
2233
2233
|
case Y.Left:
|
|
2234
|
-
$ = i.verticalLayout, O = Ke, R = Ke, D = Ke, M = Ke, E = void 0, T = Ke, k = Ke, H = a.width(), N = m + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v =
|
|
2234
|
+
$ = i.verticalLayout, O = Ke, R = Ke, D = Ke, M = Ke, E = void 0, T = Ke, k = Ke, H = a.width(), N = m + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Ol(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + A.scrollbarPadding), n && (X = Te, q = v);
|
|
2235
2235
|
break;
|
|
2236
2236
|
case Y.Right:
|
|
2237
|
-
$ = i.verticalLayout, O = Te, R = Te, D = Ke, M = Ke, E = void 0, T = Ke, k = Ke, Z = a.width(), N = m + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v =
|
|
2237
|
+
$ = i.verticalLayout, O = Te, R = Te, D = Ke, M = Ke, E = void 0, T = Ke, k = Ke, Z = a.width(), N = m + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Ol(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + A.scrollbarPadding), n && (X = Te, q = v);
|
|
2238
2238
|
break;
|
|
2239
2239
|
case Y.Top:
|
|
2240
2240
|
$ = i.gridLayout, O = Ae, R = Ae, D = Ke, M = Ke, E = Te, T = Ae, k = Ae, oe += W, N += m + h, v = void 0, n && (X = void 0);
|
|
@@ -2436,7 +2436,7 @@ function Ip(t, e) {
|
|
|
2436
2436
|
i.events.disableType(le.Click);
|
|
2437
2437
|
});
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2439
|
+
function Rl(t) {
|
|
2440
2440
|
const { chart: e, seriesConfig: i, isHeatChart: a } = t, { root: o } = e;
|
|
2441
2441
|
let n;
|
|
2442
2442
|
if (a)
|
|
@@ -2472,7 +2472,7 @@ function bu(t) {
|
|
|
2472
2472
|
chartConfig: i
|
|
2473
2473
|
});
|
|
2474
2474
|
else if (a instanceof Fn && a !== void 0 && Ce({ childId: Bi, parent: e }) !== void 0) {
|
|
2475
|
-
const d =
|
|
2475
|
+
const d = Bc(c) && l !== void 0 && l.visible !== !1;
|
|
2476
2476
|
if (wp({ chart: e, legend: a, showLegend: d }), $p({ chart: e, showLegend: d, legendConfig: l }), d) {
|
|
2477
2477
|
Tp(a, l?.roundMarkers), kp({
|
|
2478
2478
|
legend: a,
|
|
@@ -2560,8 +2560,8 @@ function Su(t, e) {
|
|
|
2560
2560
|
}
|
|
2561
2561
|
return i;
|
|
2562
2562
|
}
|
|
2563
|
-
function
|
|
2564
|
-
const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ??
|
|
2563
|
+
function xr(t) {
|
|
2564
|
+
const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ?? kc.statisticType, n = Su(o, a);
|
|
2565
2565
|
return Ra(a.statistics.aggregation, {
|
|
2566
2566
|
statistics: n,
|
|
2567
2567
|
fieldName: i
|
|
@@ -2570,7 +2570,7 @@ function Sr(t) {
|
|
|
2570
2570
|
function xu(t) {
|
|
2571
2571
|
const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
|
|
2572
2572
|
let r = "";
|
|
2573
|
-
const l = e.series[o].name, c = e.series[o], u = [c.y].flat()[0], d = e.axes, m = U(e.series), g = a ?? Na.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, y = De(i, h), p = c.query?.outStatistics?.[0].statisticType ??
|
|
2573
|
+
const l = e.series[o].name, c = e.series[o], u = [c.y].flat()[0], d = e.axes, m = U(e.series), g = a ?? Na.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, y = De(i, h), p = c.query?.outStatistics?.[0].statisticType ?? kc.statisticType, S = Su(p, s);
|
|
2574
2574
|
return m === P.BarAndLineNoAggregation ? r = l ?? De(i, u) : m === P.BarAndLineSplitByNoAggregation ? r = De(i, u) : (r = p === Wt.Count && h === g ? s.statistics.count : Ra(s.statistics.aggregation, {
|
|
2575
2575
|
statistics: S,
|
|
2576
2576
|
fieldName: y ?? l
|
|
@@ -2669,7 +2669,7 @@ function Mp(t, e) {
|
|
|
2669
2669
|
let S = "";
|
|
2670
2670
|
const { chart: x } = t;
|
|
2671
2671
|
if (x) {
|
|
2672
|
-
const v =
|
|
2672
|
+
const v = yr({
|
|
2673
2673
|
pieChart: x,
|
|
2674
2674
|
valueIntlOptions: (n ?? a)?.intlOptions,
|
|
2675
2675
|
percentageIntlOptions: (s ?? o)?.intlOptions,
|
|
@@ -2681,7 +2681,7 @@ function Mp(t, e) {
|
|
|
2681
2681
|
percentageSuffix: g
|
|
2682
2682
|
})("", y, p), F = !ye(h) && (r ?? A.pieChart.displayCategoryOnTooltip);
|
|
2683
2683
|
if (F && (S = `[bold]${h}[/]`), !ye(v)) {
|
|
2684
|
-
const T =
|
|
2684
|
+
const T = tr(v);
|
|
2685
2685
|
S = F ? `${S}
|
|
2686
2686
|
${T}` : T;
|
|
2687
2687
|
}
|
|
@@ -2693,7 +2693,7 @@ function Np(t) {
|
|
|
2693
2693
|
const e = t.get("tooltip");
|
|
2694
2694
|
if (e !== void 0) {
|
|
2695
2695
|
let i = t.get("fill");
|
|
2696
|
-
i instanceof
|
|
2696
|
+
i instanceof wc && (i = i.get("fill")), e.get("background")?.set("fill", i);
|
|
2697
2697
|
}
|
|
2698
2698
|
}
|
|
2699
2699
|
function Pp(t) {
|
|
@@ -2744,7 +2744,7 @@ function Vp(t) {
|
|
|
2744
2744
|
pieChartTooltipFormatter: a ?? Mp(e, i)
|
|
2745
2745
|
});
|
|
2746
2746
|
}
|
|
2747
|
-
function
|
|
2747
|
+
function Bl(t) {
|
|
2748
2748
|
const { value: e, formatLocale: i, unit: a, config: o, utilsStrings: n } = t;
|
|
2749
2749
|
let s = { label: "", value: e.toString() };
|
|
2750
2750
|
switch (a) {
|
|
@@ -2825,14 +2825,14 @@ function Ep(t) {
|
|
|
2825
2825
|
}
|
|
2826
2826
|
} else
|
|
2827
2827
|
c = d?.series[0].emptyCells?.text ?? A.heatChart.emptyCells?.text ?? "";
|
|
2828
|
-
const m = w(e.chart?.uid ?? 0, "config"), g = bt(u ?? !1), h =
|
|
2828
|
+
const m = w(e.chart?.uid ?? 0, "config"), g = bt(u ?? !1), h = xr({
|
|
2829
2829
|
config: m,
|
|
2830
2830
|
fieldName: De(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
|
|
2831
2831
|
utilsStrings: a
|
|
2832
2832
|
}), y = w(e.chart?.uid ?? 0, "formatLocale");
|
|
2833
2833
|
let p = { label: i.x, value: s }, S = { label: i.y, value: r };
|
|
2834
2834
|
if (i.xTemporalBinning !== void 0) {
|
|
2835
|
-
const { label: x, value: C } =
|
|
2835
|
+
const { label: x, value: C } = Bl({
|
|
2836
2836
|
value: Number(s),
|
|
2837
2837
|
config: m,
|
|
2838
2838
|
formatLocale: y,
|
|
@@ -2842,7 +2842,7 @@ function Ep(t) {
|
|
|
2842
2842
|
!ye(x) && !ye(C) && (p = { label: x, value: C });
|
|
2843
2843
|
}
|
|
2844
2844
|
if (i.yTemporalBinning !== void 0) {
|
|
2845
|
-
const { label: x, value: C } =
|
|
2845
|
+
const { label: x, value: C } = Bl({
|
|
2846
2846
|
value: Number(r),
|
|
2847
2847
|
config: m,
|
|
2848
2848
|
formatLocale: y,
|
|
@@ -2898,7 +2898,7 @@ function Wp(t) {
|
|
|
2898
2898
|
heatChartTooltipFormatter: a ?? Ep({ columnSeries: e, seriesConfig: i, utilsStrings: o, fieldList: n })
|
|
2899
2899
|
});
|
|
2900
2900
|
}
|
|
2901
|
-
function
|
|
2901
|
+
function Ml(t, e) {
|
|
2902
2902
|
if (e !== void 0) {
|
|
2903
2903
|
const i = Dp(e);
|
|
2904
2904
|
i !== void 0 && t.label.setAll({
|
|
@@ -2916,18 +2916,18 @@ function ku(t, e) {
|
|
|
2916
2916
|
const { dataTooltipStyleReversed: i, dataTooltipStyle: a } = A;
|
|
2917
2917
|
if (e === !0) {
|
|
2918
2918
|
const o = t.get("background")?.get("fill");
|
|
2919
|
-
o !== void 0 && (
|
|
2919
|
+
o !== void 0 && (Ml(t, t.get("background")?.get("fill")?.toCSS()), i?.color !== void 0 && o.toCSSHex() !== re(i.color).color.toCSSHex() && t.get("background")?.setAll({
|
|
2920
2920
|
fill: re(i.color).color,
|
|
2921
2921
|
stroke: o,
|
|
2922
2922
|
strokeWidth: i.outline?.width ?? Number.NaN
|
|
2923
2923
|
}));
|
|
2924
2924
|
} else
|
|
2925
|
-
|
|
2925
|
+
Ml(t, t.get("background")?.get("fill")?.toCSS()), t.setAll({ getStrokeFromSprite: !0, getFillFromSprite: !0 }), t.get("background")?.setAll({
|
|
2926
2926
|
strokeWidth: a?.outline?.width ?? Number.NaN,
|
|
2927
2927
|
stroke: re(a?.outline?.color).color
|
|
2928
2928
|
});
|
|
2929
2929
|
}
|
|
2930
|
-
function
|
|
2930
|
+
function Nl(t, e) {
|
|
2931
2931
|
if (t.get("tooltip") === void 0) {
|
|
2932
2932
|
const i = Ka(e);
|
|
2933
2933
|
t.set("tooltip", i), t.setAll({
|
|
@@ -2943,7 +2943,7 @@ function Ka(t) {
|
|
|
2943
2943
|
maxWidth: A.tooltipWidth
|
|
2944
2944
|
}), a.adapters.add("visible", (o, n) => (o && wu(n, t), o)), Iu(a, i), a;
|
|
2945
2945
|
}
|
|
2946
|
-
function
|
|
2946
|
+
function Cr(t, e) {
|
|
2947
2947
|
const { chart: i } = e, a = za.new(t, {});
|
|
2948
2948
|
return a.label.setAll({
|
|
2949
2949
|
oversizedBehavior: "wrap",
|
|
@@ -3003,7 +3003,7 @@ function Hp(t) {
|
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
3005
|
}
|
|
3006
|
-
function
|
|
3006
|
+
function Pl(t, e) {
|
|
3007
3007
|
if (t instanceof za)
|
|
3008
3008
|
t.set("forceHidden", e);
|
|
3009
3009
|
else {
|
|
@@ -3017,9 +3017,9 @@ function pa(t, e) {
|
|
|
3017
3017
|
if (a !== void 0) {
|
|
3018
3018
|
const o = w(a.uid, "config"), { seriesConfig: n } = jn(e, o), { dataTooltipVisible: s } = o?.series[0] ?? {};
|
|
3019
3019
|
if (s === !1 || !n)
|
|
3020
|
-
i = "",
|
|
3020
|
+
i = "", Pl(t, !0);
|
|
3021
3021
|
else
|
|
3022
|
-
switch (
|
|
3022
|
+
switch (Pl(t, !1), n.type) {
|
|
3023
3023
|
case b.ScatterSeries:
|
|
3024
3024
|
e instanceof ge && (i = _p({
|
|
3025
3025
|
seriesConfig: n,
|
|
@@ -3180,7 +3180,7 @@ function Yp(t) {
|
|
|
3180
3180
|
let g = "";
|
|
3181
3181
|
if (e && o !== void 0 && c !== void 0) {
|
|
3182
3182
|
let h = r;
|
|
3183
|
-
h === void 0 && (h =
|
|
3183
|
+
h === void 0 && (h = Nc(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Ea({
|
|
3184
3184
|
root: c,
|
|
3185
3185
|
value: o,
|
|
3186
3186
|
valueFormat: h,
|
|
@@ -3227,7 +3227,7 @@ function Up(t) {
|
|
|
3227
3227
|
switch (C) {
|
|
3228
3228
|
case P.BarAndLineFromFields: {
|
|
3229
3229
|
ie.pop();
|
|
3230
|
-
const X =
|
|
3230
|
+
const X = xr({
|
|
3231
3231
|
config: g,
|
|
3232
3232
|
fieldName: De(i, H ?? ""),
|
|
3233
3233
|
utilsStrings: e
|
|
@@ -3243,7 +3243,7 @@ function Up(t) {
|
|
|
3243
3243
|
case P.BarAndLineSplitByNoAggregation:
|
|
3244
3244
|
case P.BarAndLineSplitBy:
|
|
3245
3245
|
{
|
|
3246
|
-
const X = ki(n.query?.where, !1), q =
|
|
3246
|
+
const X = ki(n.query?.where, !1), q = Mc({
|
|
3247
3247
|
value: De(i, X)
|
|
3248
3248
|
});
|
|
3249
3249
|
ie.push(
|
|
@@ -3261,7 +3261,7 @@ function Up(t) {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
return m;
|
|
3263
3263
|
}
|
|
3264
|
-
function
|
|
3264
|
+
function vr(t) {
|
|
3265
3265
|
const { series: e, tooltipFormatter: i } = t;
|
|
3266
3266
|
Pe(e.uid, {
|
|
3267
3267
|
barAndLineTooltipFormatter: i ?? Up(t)
|
|
@@ -3292,7 +3292,7 @@ function jp(t, e) {
|
|
|
3292
3292
|
}
|
|
3293
3293
|
case ((t === b.ComboLineAndBarSeries || t === b.LineSeries) && e instanceof ge): {
|
|
3294
3294
|
const i = he(e.uid, "bulletTemplate");
|
|
3295
|
-
i &&
|
|
3295
|
+
i && Nl(i, e);
|
|
3296
3296
|
break;
|
|
3297
3297
|
}
|
|
3298
3298
|
case (t === b.ScatterSeries && e instanceof ge): {
|
|
@@ -3302,7 +3302,7 @@ function jp(t, e) {
|
|
|
3302
3302
|
}
|
|
3303
3303
|
case (t === b.RadarSeries && e instanceof ge): {
|
|
3304
3304
|
const i = he(e.uid, "bulletTemplate");
|
|
3305
|
-
i &&
|
|
3305
|
+
i && Nl(i, e);
|
|
3306
3306
|
break;
|
|
3307
3307
|
}
|
|
3308
3308
|
}
|
|
@@ -3391,7 +3391,7 @@ function Jp(t, e) {
|
|
|
3391
3391
|
const { sizePolicy: i } = t, a = e.get("heatRules")?.[0], o = he(e.uid, "bulletTemplate");
|
|
3392
3392
|
if (o !== void 0)
|
|
3393
3393
|
if (i !== void 0) {
|
|
3394
|
-
const { scaleType: n, field: s, minSize: r, maxSize: l } = i, c =
|
|
3394
|
+
const { scaleType: n, field: s, minSize: r, maxSize: l } = i, c = Pc(), u = t.markerSymbol?.size ?? js().size ?? 1, d = (r ?? c.minSize) / u, m = (l ?? c.maxSize) / u;
|
|
3395
3395
|
a !== void 0 ? Qp({ series: e, seriesConfig: t, newMin: d, newMax: m }) && (a.min = d, a.max = m, a.logarithmic = n === Ui.Logarithmic, e.set("valueField", s)) : e.setAll({
|
|
3396
3396
|
valueField: s,
|
|
3397
3397
|
calculateAggregates: !0,
|
|
@@ -3442,7 +3442,7 @@ function tb(t, e) {
|
|
|
3442
3442
|
{
|
|
3443
3443
|
nonScalingStroke: !0,
|
|
3444
3444
|
// this avoids the border to scale with the marker when using heat rules (bubble plot), which was leading to an opacity glitch (see https://help.amcharts.com/hc/en-us/requests/99558)
|
|
3445
|
-
tooltip:
|
|
3445
|
+
tooltip: Cr(a, t),
|
|
3446
3446
|
tooltipText: " "
|
|
3447
3447
|
},
|
|
3448
3448
|
i
|
|
@@ -3659,13 +3659,13 @@ function Zt(t, e) {
|
|
|
3659
3659
|
}) : c instanceof ht && c.slices.each((u) => {
|
|
3660
3660
|
u !== r && ut({ element: u, selected: !1 });
|
|
3661
3661
|
});
|
|
3662
|
-
}), await
|
|
3662
|
+
}), await Fr(a, Ne.SelectionByClick);
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
}
|
|
3666
3666
|
});
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function Vl(t, e) {
|
|
3669
3669
|
let i = Number.NaN, a = Number.NaN;
|
|
3670
3670
|
const o = e.get("renderer") instanceof $t, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
|
|
3671
3671
|
return n !== void 0 && s !== void 0 && (i = n * (o ? e.width() : e.height()), a = s * (o ? e.width() : e.height())), { coord1: i, coord2: a };
|
|
@@ -3711,7 +3711,7 @@ function db(t) {
|
|
|
3711
3711
|
});
|
|
3712
3712
|
}
|
|
3713
3713
|
function ub(t) {
|
|
3714
|
-
const { cursor: e, xAxis: i, yAxis: a } = t, o = e.get("behavior"), { coord1: n, coord2: s } =
|
|
3714
|
+
const { cursor: e, xAxis: i, yAxis: a } = t, o = e.get("behavior"), { coord1: n, coord2: s } = Vl(e, i), { coord1: r, coord2: l } = Vl(e, a), c = {
|
|
3715
3715
|
left: n > s ? s : n,
|
|
3716
3716
|
right: n > s ? n : s,
|
|
3717
3717
|
top: r < l ? r : l,
|
|
@@ -3728,7 +3728,7 @@ function fb(t) {
|
|
|
3728
3728
|
const s = t.get("cursor"), r = ub({ cursor: s, xAxis: o, yAxis: n }), l = Zd(i);
|
|
3729
3729
|
t.series.each((c) => {
|
|
3730
3730
|
!Mi(c) && !Mo(c) && (c instanceof Ee || c instanceof ge) && (c instanceof Ee ? cb({ series: c, cursorBounds: r, multiSelect: l }) : c instanceof ge && db({ series: c, cursorBounds: r, multiSelect: l }));
|
|
3731
|
-
}), Re(s.selection, !1), await
|
|
3731
|
+
}), Re(s.selection, !1), await Fr(t, Ne.SelectionByRange);
|
|
3732
3732
|
}
|
|
3733
3733
|
}
|
|
3734
3734
|
});
|
|
@@ -3846,7 +3846,7 @@ function hb(t) {
|
|
|
3846
3846
|
return s;
|
|
3847
3847
|
});
|
|
3848
3848
|
}
|
|
3849
|
-
function
|
|
3849
|
+
function Lr(t, e = 1) {
|
|
3850
3850
|
t.bullets.removeIndex(e);
|
|
3851
3851
|
}
|
|
3852
3852
|
function Mu(t) {
|
|
@@ -4016,7 +4016,7 @@ function Nu(t) {
|
|
|
4016
4016
|
}
|
|
4017
4017
|
function Pu(t) {
|
|
4018
4018
|
const { series: e, dataLabelsConfig: i } = t, a = i?.visible, o = e.bullets.hasIndex(1);
|
|
4019
|
-
a !== !0 ? o &&
|
|
4019
|
+
a !== !0 ? o && Lr(e) : (o || hb(t), yb(t));
|
|
4020
4020
|
}
|
|
4021
4021
|
function Sb(t) {
|
|
4022
4022
|
const { series: e, dataLabelsConfig: i, labelDefaults: a, externalDataLabelFormatter: o, seriesType: n } = t;
|
|
@@ -4093,7 +4093,7 @@ function Cb(t) {
|
|
|
4093
4093
|
}
|
|
4094
4094
|
function Eu(t) {
|
|
4095
4095
|
const { series: e, dataLabelsConfig: i } = t, a = i?.visible, o = e.bullets.hasIndex(0);
|
|
4096
|
-
a !== !0 ? o &&
|
|
4096
|
+
a !== !0 ? o && Lr(e, 0) : (o || Sb(t), Cb(t));
|
|
4097
4097
|
}
|
|
4098
4098
|
function Mo(t) {
|
|
4099
4099
|
return [
|
|
@@ -4124,7 +4124,7 @@ function vb(t) {
|
|
|
4124
4124
|
function Lb(t) {
|
|
4125
4125
|
const { series: e, seriesConfig: i, colorMatch: a, rendererSymbol: o } = t, { root: n } = e, s = e.chart;
|
|
4126
4126
|
if (s) {
|
|
4127
|
-
const r = i.fillSymbol ??
|
|
4127
|
+
const r = i.fillSymbol ?? Vc(), c = mt({
|
|
4128
4128
|
root: e.root,
|
|
4129
4129
|
element: e.columns.template,
|
|
4130
4130
|
seriesSymbol: r,
|
|
@@ -4434,7 +4434,7 @@ function No(t) {
|
|
|
4434
4434
|
return i !== void 0 && (e = w(i.uid, "isRotated") === !0 ? Db(t) : Ob(t)), e;
|
|
4435
4435
|
}
|
|
4436
4436
|
function Rb(t) {
|
|
4437
|
-
|
|
4437
|
+
Ec(), ad(t.root.dom), Zi({ chart: t });
|
|
4438
4438
|
}
|
|
4439
4439
|
function Bb(t) {
|
|
4440
4440
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
@@ -4555,7 +4555,7 @@ function Vb(t) {
|
|
|
4555
4555
|
groupOfSlicesDataContext: F
|
|
4556
4556
|
}) ?? []).forEach((O) => {
|
|
4557
4557
|
n.forEach((D) => {
|
|
4558
|
-
|
|
4558
|
+
br({
|
|
4559
4559
|
layerOidField: s,
|
|
4560
4560
|
sliceDataContext: O,
|
|
4561
4561
|
selectionDataContext: D,
|
|
@@ -4730,10 +4730,10 @@ async function zb(t) {
|
|
|
4730
4730
|
});
|
|
4731
4731
|
}
|
|
4732
4732
|
}
|
|
4733
|
-
async function
|
|
4733
|
+
async function Fr(t, e) {
|
|
4734
4734
|
const i = w(t.uid, "config"), a = w(t.uid, "queryObject");
|
|
4735
4735
|
if (i) {
|
|
4736
|
-
const o = w(t.uid, "options"), n = z(i.series), s = U(i.series), r = Oi(i), l = wi(i.series), c = i.series[0].x, u =
|
|
4736
|
+
const o = w(t.uid, "options"), n = z(i.series), s = U(i.series), r = Oi(i), l = wi(i.series), c = i.series[0].x, u = _s(a), d = pt(a), g = qs(d).dateFieldsTimeZone, h = i.series[0].type === b.HeatSeries ? i.outTimeZone : void 0;
|
|
4737
4737
|
let y;
|
|
4738
4738
|
a !== void 0 && (y = (await qt(a)).find((S) => S.name === c)?.type);
|
|
4739
4739
|
try {
|
|
@@ -4916,7 +4916,7 @@ function Hb(t) {
|
|
|
4916
4916
|
let e;
|
|
4917
4917
|
return t && t.series.length > 0 && (e = t.series.values.map((i) => i.get("visible") !== !1 ? `${i.get("id")}` : "").filter((i) => i !== "")), e;
|
|
4918
4918
|
}
|
|
4919
|
-
function
|
|
4919
|
+
function Ar(t) {
|
|
4920
4920
|
const { series: e, chartConfig: i, isRotated: a } = t, o = zt(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === Ie.Stacked || o === Ie.Stacked100) ? r : s;
|
|
4921
4921
|
switch (o) {
|
|
4922
4922
|
case Ie.Stacked: {
|
|
@@ -4994,14 +4994,14 @@ function Yb(t) {
|
|
|
4994
4994
|
}
|
|
4995
4995
|
return n;
|
|
4996
4996
|
}
|
|
4997
|
-
function
|
|
4997
|
+
function Tr(t) {
|
|
4998
4998
|
const { chartConfig: e, series: i, seriesIndex: a, subtypeInfo: o, fieldList: n } = t, s = e.series[a];
|
|
4999
4999
|
if (s) {
|
|
5000
5000
|
const r = U(e.series);
|
|
5001
5001
|
let l = s.name;
|
|
5002
5002
|
if (r === P.BarAndLineSplitBy || r === P.BarAndLineSplitByNoAggregation) {
|
|
5003
5003
|
const c = ki(s.query?.where);
|
|
5004
|
-
l =
|
|
5004
|
+
l = Zs({
|
|
5005
5005
|
subtypeInfo: o,
|
|
5006
5006
|
fieldList: n,
|
|
5007
5007
|
fieldName: c,
|
|
@@ -5173,8 +5173,8 @@ function Kb(t, e) {
|
|
|
5173
5173
|
}
|
|
5174
5174
|
Object.keys(o).length > 0 && t.set("dateFormats", o), Object.keys(n).length > 0 && t.set("periodChangeDateFormats", n);
|
|
5175
5175
|
}
|
|
5176
|
-
function
|
|
5177
|
-
const { axis: e, valueFormat: i, chartType: a } = t, o =
|
|
5176
|
+
function El(t) {
|
|
5177
|
+
const { axis: e, valueFormat: i, chartType: a } = t, o = wr({
|
|
5178
5178
|
isXAxis: !0,
|
|
5179
5179
|
chartType: a,
|
|
5180
5180
|
valueFormat: i
|
|
@@ -5186,7 +5186,7 @@ function Xu(t) {
|
|
|
5186
5186
|
let o = si(e);
|
|
5187
5187
|
const n = w(a, "config"), s = w(a, "rendererFieldNames"), r = z(n?.series), l = U(n?.series);
|
|
5188
5188
|
if (r === b.BoxPlotSeries && (l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy))
|
|
5189
|
-
o = e?.[
|
|
5189
|
+
o = e?.[Ks];
|
|
5190
5190
|
else if (r === b.HistogramSeries)
|
|
5191
5191
|
o = e?.[ho.Start];
|
|
5192
5192
|
else if (r === b.BarSeries && n !== void 0) {
|
|
@@ -5278,7 +5278,7 @@ async function ey(t) {
|
|
|
5278
5278
|
errorStrings: l
|
|
5279
5279
|
} = t, { chart: c } = e;
|
|
5280
5280
|
if (c !== void 0) {
|
|
5281
|
-
const u =
|
|
5281
|
+
const u = wr({
|
|
5282
5282
|
isXAxis: i,
|
|
5283
5283
|
chartType: a,
|
|
5284
5284
|
valueFormat: o
|
|
@@ -5312,11 +5312,11 @@ function ty(t) {
|
|
|
5312
5312
|
rotationChanged: n,
|
|
5313
5313
|
axisLabelsBehaviorChanged: s,
|
|
5314
5314
|
timeIntervalInfoWasReset: r
|
|
5315
|
-
} = t, l = z(o), c = a === !0 ? 1 : 0, u = a === !0 ? 0 : 1, d = i?.[c]?.valueFormat, m = i?.[u]?.valueFormat, g = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), y = g === void 0 || n || d !== void 0 &&
|
|
5315
|
+
} = t, l = z(o), c = a === !0 ? 1 : 0, u = a === !0 ? 0 : 1, d = i?.[c]?.valueFormat, m = i?.[u]?.valueFormat, g = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), y = g === void 0 || n || d !== void 0 && El({
|
|
5316
5316
|
axis: g,
|
|
5317
5317
|
valueFormat: d,
|
|
5318
5318
|
chartType: l
|
|
5319
|
-
}), p = h === void 0 || n || m !== void 0 &&
|
|
5319
|
+
}), p = h === void 0 || n || m !== void 0 && El({ axis: h, valueFormat: m, chartType: l });
|
|
5320
5320
|
return r || s?.[0] || s?.[1] || y || p;
|
|
5321
5321
|
}
|
|
5322
5322
|
function Fi(t, e) {
|
|
@@ -5445,7 +5445,7 @@ function cy(t, e) {
|
|
|
5445
5445
|
let i = !1;
|
|
5446
5446
|
return t instanceof we && !(t instanceof tt) && (i = ly(t, e), t.set("strictMinMax", i)), i;
|
|
5447
5447
|
}
|
|
5448
|
-
function
|
|
5448
|
+
function zl(t, e) {
|
|
5449
5449
|
let i;
|
|
5450
5450
|
if (!t || t <= 0)
|
|
5451
5451
|
i = 1;
|
|
@@ -5491,7 +5491,7 @@ function uy(t) {
|
|
|
5491
5491
|
maximumFromConfig: d,
|
|
5492
5492
|
isSecondValueAxis: l
|
|
5493
5493
|
});
|
|
5494
|
-
u = !n || Number.isFinite(a) ? m.min :
|
|
5494
|
+
u = !n || Number.isFinite(a) ? m.min : zl(m.min, !1) ?? Number.NaN, d = !n || Number.isFinite(o) ? m.max : zl(m.max, !0) ?? Number.NaN;
|
|
5495
5495
|
}
|
|
5496
5496
|
u = u ?? Number.NaN, d = d ?? Number.NaN, Number.isNaN(u) || Number.isNaN(d) || u < d ? e.setAll({ min: u, max: d }) : e.setAll({ min: Number.NaN, max: Number.NaN }), s === b.GaugeSeries && e.markDirty();
|
|
5497
5497
|
} else
|
|
@@ -5553,7 +5553,7 @@ function fy(t) {
|
|
|
5553
5553
|
return i.get("themeTags")?.includes("base") && o && (n = 1), n;
|
|
5554
5554
|
});
|
|
5555
5555
|
}
|
|
5556
|
-
function
|
|
5556
|
+
function kr(t) {
|
|
5557
5557
|
t.on("visible", () => {
|
|
5558
5558
|
t.chart instanceof Se && bn(t.chart);
|
|
5559
5559
|
}), t.events.on(le.DataValidated, () => {
|
|
@@ -5567,7 +5567,7 @@ function my(t) {
|
|
|
5567
5567
|
a !== void 0 && At(a.uid, "isGuide") !== !0 && a.getText() !== void 0 && a.height() > e && a.isVisible() && (e = a.height());
|
|
5568
5568
|
}), e;
|
|
5569
5569
|
}
|
|
5570
|
-
function
|
|
5570
|
+
function Wl(t, e) {
|
|
5571
5571
|
if (e) {
|
|
5572
5572
|
const { chart: i } = e;
|
|
5573
5573
|
if (i) {
|
|
@@ -5590,15 +5590,15 @@ function zl(t, e) {
|
|
|
5590
5590
|
function ju(t) {
|
|
5591
5591
|
t.ghostLabel?.set("forceHidden", !0);
|
|
5592
5592
|
}
|
|
5593
|
-
function
|
|
5593
|
+
function Hl(t) {
|
|
5594
5594
|
const { axis: e, start: i, end: a } = t;
|
|
5595
5595
|
e.zoom(i ?? 0, a ?? 1);
|
|
5596
5596
|
}
|
|
5597
|
-
function
|
|
5597
|
+
function Gl(t) {
|
|
5598
5598
|
t !== void 0 && t.setAll({ start: 0, end: 1 });
|
|
5599
5599
|
}
|
|
5600
5600
|
function gy(t) {
|
|
5601
|
-
t instanceof Se && (t.xAxes.each((e) =>
|
|
5601
|
+
t instanceof Se && (t.xAxes.each((e) => Hl({ axis: e })), t.yAxes.each((e) => Hl({ axis: e })), Gl(t.get("scrollbarX")), Gl(t.get("scrollbarY")));
|
|
5602
5602
|
}
|
|
5603
5603
|
function hy(t) {
|
|
5604
5604
|
const { axis: e, guide: i, guideIndex: a } = t, { root: o, chart: n } = e, s = i.get("axisFill");
|
|
@@ -5686,7 +5686,7 @@ function py(t, e) {
|
|
|
5686
5686
|
} else if (t instanceof we && !(o instanceof Date) && !(n instanceof Date)) {
|
|
5687
5687
|
const F = h?.find((O) => O.name === a), { start: T, end: k } = qu(t, F);
|
|
5688
5688
|
Number.isFinite(T) && (y = T), Number.isFinite(k) && (p = k);
|
|
5689
|
-
const $ = _i(t.uid, "numberFormatter") ?? ((O) =>
|
|
5689
|
+
const $ = _i(t.uid, "numberFormatter") ?? ((O) => $c.new(r, {}).format(O));
|
|
5690
5690
|
y = $(y), p !== void 0 && (p = $(p));
|
|
5691
5691
|
} else t instanceof Ct && (y = o, p = n);
|
|
5692
5692
|
const S = y.toString(), x = p?.toString() ?? "";
|
|
@@ -5706,7 +5706,7 @@ function by(t) {
|
|
|
5706
5706
|
guideTooltipFormatter: i ?? py(e, a)
|
|
5707
5707
|
});
|
|
5708
5708
|
}
|
|
5709
|
-
function
|
|
5709
|
+
function Xl(t) {
|
|
5710
5710
|
const { inputValue: e, axis: i, axisMin: a, axisMax: o } = t;
|
|
5711
5711
|
let n = e;
|
|
5712
5712
|
if (e != null)
|
|
@@ -5726,7 +5726,7 @@ function Gl(t) {
|
|
|
5726
5726
|
}
|
|
5727
5727
|
return n;
|
|
5728
5728
|
}
|
|
5729
|
-
function
|
|
5729
|
+
function Ir(t, e) {
|
|
5730
5730
|
return t.axisRanges?.values?.filter((a) => {
|
|
5731
5731
|
const o = a.get("label"), n = At(o?.uid ?? Number.NaN, "isGuide") ?? !1, s = At(o?.uid ?? Number.NaN, "isGaugeAxisLabel") ?? !1;
|
|
5732
5732
|
let r = !1;
|
|
@@ -5759,7 +5759,7 @@ function Sy(t) {
|
|
|
5759
5759
|
n !== void 0 && n.set("disabled", !0), s !== void 0 && s.set("inside", !0), r !== void 0 && r.set("disabled", !0);
|
|
5760
5760
|
}
|
|
5761
5761
|
function xy(t, e) {
|
|
5762
|
-
const a =
|
|
5762
|
+
const a = Ir(t, ce.Guides).length, n = (e?.length ?? a) - a;
|
|
5763
5763
|
for (let s = 0; s < n; s += 1)
|
|
5764
5764
|
Sy({ axis: t, guideIndex: s, guideConfig: e?.[s] });
|
|
5765
5765
|
}
|
|
@@ -5768,7 +5768,7 @@ function Cy(t, e) {
|
|
|
5768
5768
|
let o = i !== null ? i : void 0, n = a !== null ? a : void 0;
|
|
5769
5769
|
const { chart: s } = t, r = w(s?.uid ?? Number.NaN, "config");
|
|
5770
5770
|
if (r !== void 0) {
|
|
5771
|
-
const l =
|
|
5771
|
+
const l = ir(r), c = t.data.values, d = c.find(
|
|
5772
5772
|
(m) => m[A.originalCategoryValue] === i
|
|
5773
5773
|
)?.[l];
|
|
5774
5774
|
if ((typeof d == "string" || typeof d == "number" || d instanceof Date) && (o = d), n !== void 0)
|
|
@@ -5786,7 +5786,7 @@ function qu(t, e) {
|
|
|
5786
5786
|
const { start: i, end: a } = e ?? {};
|
|
5787
5787
|
let o;
|
|
5788
5788
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
5789
|
-
const n = t instanceof we ? t.get("min") : void 0, s = t instanceof we ? t.get("max") : void 0, r =
|
|
5789
|
+
const n = t instanceof we ? t.get("min") : void 0, s = t instanceof we ? t.get("max") : void 0, r = Xl({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === te.SFS && a !== null && a !== void 0 ? Xl({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
|
|
5790
5790
|
o = {
|
|
5791
5791
|
isValidGuide: r != null && (a === void 0 || l != null),
|
|
5792
5792
|
start: r,
|
|
@@ -5839,7 +5839,7 @@ function Ly(t) {
|
|
|
5839
5839
|
function Fy(t) {
|
|
5840
5840
|
const { axis: e, guideConfigs: i, guideTooltipFormatter: a, utilsStrings: o } = t;
|
|
5841
5841
|
if (i !== void 0) {
|
|
5842
|
-
const n =
|
|
5842
|
+
const n = Ir(e, ce.Guides);
|
|
5843
5843
|
i.forEach((s, r) => {
|
|
5844
5844
|
Ly({ axis: e, guide: n[r], guideConfig: s });
|
|
5845
5845
|
}), by({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
@@ -5855,8 +5855,8 @@ function Ay(t) {
|
|
|
5855
5855
|
for (let r = 0; r < o.length; r += 1)
|
|
5856
5856
|
e.axisRanges.removeValue(o[r]);
|
|
5857
5857
|
}
|
|
5858
|
-
function
|
|
5859
|
-
const a =
|
|
5858
|
+
function Yl(t, e) {
|
|
5859
|
+
const a = Ir(t, ce.Guides).length, o = e?.length ?? 0, n = a - o;
|
|
5860
5860
|
Ay({
|
|
5861
5861
|
axis: t,
|
|
5862
5862
|
numberOfElementsToBeDeleted: n,
|
|
@@ -5865,7 +5865,7 @@ function Xl(t, e) {
|
|
|
5865
5865
|
}
|
|
5866
5866
|
function Ty(t) {
|
|
5867
5867
|
const { axis: e, guideConfigs: i, anyGuideAboveChanged: a } = t;
|
|
5868
|
-
a &&
|
|
5868
|
+
a && Yl(e), xy(e, i), Fy(t), Yl(e, i);
|
|
5869
5869
|
}
|
|
5870
5870
|
function _u(t) {
|
|
5871
5871
|
return t.getCellWidthPosition() * t.width();
|
|
@@ -5928,16 +5928,16 @@ function Iy(t) {
|
|
|
5928
5928
|
l = e instanceof Ct ? A.yCategoryAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
5929
5929
|
r.set("minGridDistance", l);
|
|
5930
5930
|
}
|
|
5931
|
-
function
|
|
5931
|
+
function Ul(t = 1, e) {
|
|
5932
5932
|
e.get("renderer").labels.template.set("maxWidth", _u(e) * t);
|
|
5933
5933
|
}
|
|
5934
|
-
function
|
|
5934
|
+
function jl(t, e = 1) {
|
|
5935
5935
|
t.get("renderer").labels.template.setAll({
|
|
5936
5936
|
oversizedBehavior: "wrap",
|
|
5937
5937
|
paddingLeft: 0.5,
|
|
5938
5938
|
paddingRight: 0.5,
|
|
5939
5939
|
textAlign: "center"
|
|
5940
|
-
}), t.events.on(le.BoundsChanged, () =>
|
|
5940
|
+
}), t.events.on(le.BoundsChanged, () => Ul(e, t)), Ul(e, t);
|
|
5941
5941
|
}
|
|
5942
5942
|
function wy(t) {
|
|
5943
5943
|
const e = t.get("renderer").labels.template;
|
|
@@ -5946,7 +5946,7 @@ function wy(t) {
|
|
|
5946
5946
|
return e.set("centerX", o === 0 ? Ae : Te), o;
|
|
5947
5947
|
});
|
|
5948
5948
|
}
|
|
5949
|
-
function
|
|
5949
|
+
function ql(t) {
|
|
5950
5950
|
if (t?.chart !== void 0) {
|
|
5951
5951
|
const e = t.get("renderer");
|
|
5952
5952
|
if (w(t.chart.uid, "config")?.axes?.[0].labels !== void 0 && e.labels.length > 1) {
|
|
@@ -5973,11 +5973,11 @@ function jl(t) {
|
|
|
5973
5973
|
}
|
|
5974
5974
|
}
|
|
5975
5975
|
}
|
|
5976
|
-
function
|
|
5976
|
+
function _l(t) {
|
|
5977
5977
|
const e = t.get("renderer");
|
|
5978
|
-
wy(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t.events.on(le.BoundsChanged, () =>
|
|
5978
|
+
wy(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t.events.on(le.BoundsChanged, () => ql(t)), ql();
|
|
5979
5979
|
}
|
|
5980
|
-
function
|
|
5980
|
+
function Zl(t) {
|
|
5981
5981
|
if (t && w(t.chart?.uid ?? Number.NaN, "config")?.axes?.[0].labels?.visible !== !1) {
|
|
5982
5982
|
let a = 0;
|
|
5983
5983
|
t.dataItems.forEach((o, n) => {
|
|
@@ -5993,7 +5993,7 @@ function _l(t) {
|
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
5995
|
function $y(t) {
|
|
5996
|
-
t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(le.BoundsChanged, () =>
|
|
5996
|
+
t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(le.BoundsChanged, () => Zl(t)), Zl(t);
|
|
5997
5997
|
}
|
|
5998
5998
|
function Dy(t) {
|
|
5999
5999
|
t.get("renderer").labels.template.setAll({
|
|
@@ -6017,16 +6017,16 @@ function Oy(t) {
|
|
|
6017
6017
|
case ke.Hide:
|
|
6018
6018
|
break;
|
|
6019
6019
|
case ke.Stagger:
|
|
6020
|
-
$y(e),
|
|
6020
|
+
$y(e), jl(e, 2);
|
|
6021
6021
|
break;
|
|
6022
6022
|
case ke.Wrap:
|
|
6023
|
-
|
|
6023
|
+
jl(e);
|
|
6024
6024
|
break;
|
|
6025
6025
|
case ke.Rotate:
|
|
6026
|
-
|
|
6026
|
+
_l(e);
|
|
6027
6027
|
break;
|
|
6028
6028
|
default:
|
|
6029
|
-
n.content.angle !== null && n.content.angle === void 0 &&
|
|
6029
|
+
n.content.angle !== null && n.content.angle === void 0 && _l(e);
|
|
6030
6030
|
break;
|
|
6031
6031
|
}
|
|
6032
6032
|
else iy(r) && a !== ke.Hide && Dy(e);
|
|
@@ -6034,10 +6034,10 @@ function Oy(t) {
|
|
|
6034
6034
|
function Ry(t) {
|
|
6035
6035
|
const { renderer: e, axisConfig: i, labelConfig: a } = t;
|
|
6036
6036
|
switch (i.labelsOrientation) {
|
|
6037
|
-
case
|
|
6037
|
+
case ul.Horizontal:
|
|
6038
6038
|
e.labels.template.setAll({ textType: "adjusted" }), e.labels.template.remove("radius");
|
|
6039
6039
|
break;
|
|
6040
|
-
case
|
|
6040
|
+
case ul.Radial:
|
|
6041
6041
|
e.labels.template.setAll({ textType: "radial", radius: 35 }), a.content.verticalAlignment = ee.Middle;
|
|
6042
6042
|
break;
|
|
6043
6043
|
default:
|
|
@@ -6093,7 +6093,7 @@ function Zu(t) {
|
|
|
6093
6093
|
maximumValueConversion: n
|
|
6094
6094
|
} = t;
|
|
6095
6095
|
let s = e ?? G.gauge.axisMinimum, r = i ?? G.gauge.axisMaximum;
|
|
6096
|
-
s =
|
|
6096
|
+
s = pl(s, o), r = pl(r, n);
|
|
6097
6097
|
const l = Is(a);
|
|
6098
6098
|
let c = Is(a) ? a : Math.abs(r - s) / G.gauge.numberOfLabelIntervals, u = l ? Math.round(Math.abs(r - s) / c) : G.gauge.numberOfLabelIntervals;
|
|
6099
6099
|
if (l)
|
|
@@ -6136,7 +6136,7 @@ function Py(t) {
|
|
|
6136
6136
|
return o;
|
|
6137
6137
|
}
|
|
6138
6138
|
async function Qu(t) {
|
|
6139
|
-
const { featureIndex: e = 0, chartData: i, queryConfig: a, chartConfig: o, queryObject: n } = t, { axes: s, series: r } = o, l =
|
|
6139
|
+
const { featureIndex: e = 0, chartData: i, queryConfig: a, chartConfig: o, queryObject: n } = t, { axes: s, series: r } = o, l = Qs(o), { minimum: c, maximum: u } = s?.[0] ?? {}, { x: d } = r?.[0] ?? {}, m = G.gauge;
|
|
6140
6140
|
let g, h;
|
|
6141
6141
|
l ? { minimumFromData: g, maximumFromData: h } = Ny({
|
|
6142
6142
|
featureIndex: e,
|
|
@@ -6222,7 +6222,7 @@ function Xy(t, e) {
|
|
|
6222
6222
|
typeof i == "number" && Number.isFinite(i) && t.set("startAngle", i), typeof a == "number" && Number.isFinite(a) && t.set("endAngle", a);
|
|
6223
6223
|
}
|
|
6224
6224
|
async function Yy(t) {
|
|
6225
|
-
const { chart: e, chartConfig: i, data: a, queryObject: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l, series: c } = i, u =
|
|
6225
|
+
const { chart: e, chartConfig: i, data: a, queryObject: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l, series: c } = i, u = Qs(i), { featureIndex: d, x: m } = c[0], g = l?.[0], h = e.xAxes.getIndex(0), y = { ...g };
|
|
6226
6226
|
if (h instanceof we && h.get("renderer") instanceof fi && y !== void 0 && a && "dataItems" in a) {
|
|
6227
6227
|
const { valueFormat: p, needle: S } = y;
|
|
6228
6228
|
Gy(e, i), Xy(e, i);
|
|
@@ -6239,7 +6239,7 @@ async function Yy(t) {
|
|
|
6239
6239
|
axisConfig: F,
|
|
6240
6240
|
axisMin: y.minimum,
|
|
6241
6241
|
axisMax: y.maximum
|
|
6242
|
-
})) : (F.minimum = C, F.maximum = v), await
|
|
6242
|
+
})) : (F.minimum = C, F.maximum = v), await $r({
|
|
6243
6243
|
chartConfig: i,
|
|
6244
6244
|
axis: h,
|
|
6245
6245
|
axisConfig: F,
|
|
@@ -6295,7 +6295,7 @@ async function jy(t) {
|
|
|
6295
6295
|
{ axis: h, axisConfig: d?.[1] }
|
|
6296
6296
|
].forEach(async (y) => {
|
|
6297
6297
|
const { axis: p, axisConfig: S } = y;
|
|
6298
|
-
p !== void 0 && S !== void 0 && await
|
|
6298
|
+
p !== void 0 && S !== void 0 && await $r({
|
|
6299
6299
|
axis: p,
|
|
6300
6300
|
data: o,
|
|
6301
6301
|
axisConfig: S,
|
|
@@ -6341,12 +6341,12 @@ async function qy(t) {
|
|
|
6341
6341
|
}), u && (u.get("renderer").grid.template.set("location", 0), u.get("renderer").ticks.template.set("location", 0), u.get("renderer").labels.template.set("location", 0)), d && (d.set("visible", !1), d.get("renderer").grid.template.set("visible", !1), d.get("renderer").ticks.template.set("visible", !1), d.get("renderer").labels.template.set("visible", !1));
|
|
6342
6342
|
}
|
|
6343
6343
|
}
|
|
6344
|
-
function
|
|
6344
|
+
function wr(t) {
|
|
6345
6345
|
const { isXAxis: e, chartType: i, valueFormat: a, isAxisForHistogramOverlaySeries: o } = t;
|
|
6346
6346
|
return i === b.HeatSeries || e && (Oo(a) || i === b.HistogramSeries && !o || i === b.BarSeries && Lt(a));
|
|
6347
6347
|
}
|
|
6348
6348
|
function Ju(t, e) {
|
|
6349
|
-
return e ? `${
|
|
6349
|
+
return e ? `${Dl}_x_${t.uid}` : `${Dl}_y_${t.uid}`;
|
|
6350
6350
|
}
|
|
6351
6351
|
function ef(t, e) {
|
|
6352
6352
|
const i = w(t.chart?.uid ?? Number.NaN, "config"), a = jt(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = my(t);
|
|
@@ -6364,7 +6364,7 @@ function ef(t, e) {
|
|
|
6364
6364
|
e?.set("dy", s);
|
|
6365
6365
|
}
|
|
6366
6366
|
function _y(t) {
|
|
6367
|
-
t instanceof we && (t.onPrivate("min",
|
|
6367
|
+
t instanceof we && (t.onPrivate("min", Wl), t.onPrivate("max", Wl));
|
|
6368
6368
|
}
|
|
6369
6369
|
function Zy(t) {
|
|
6370
6370
|
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: ee.Top } : A.yAxisTitleLabel, s = Co({ root: o, id: Ju(e, i), defaults: n });
|
|
@@ -6388,7 +6388,7 @@ function Xi(t) {
|
|
|
6388
6388
|
isAxisForHistogramOverlaySeries: c
|
|
6389
6389
|
} = t;
|
|
6390
6390
|
let u;
|
|
6391
|
-
if (
|
|
6391
|
+
if (wr({ isXAxis: a, chartType: r, valueFormat: o, isAxisForHistogramOverlaySeries: c }) && !s) {
|
|
6392
6392
|
let d;
|
|
6393
6393
|
switch (r) {
|
|
6394
6394
|
case b.HeatSeries:
|
|
@@ -6451,7 +6451,7 @@ function Qy(t) {
|
|
|
6451
6451
|
}
|
|
6452
6452
|
}
|
|
6453
6453
|
}
|
|
6454
|
-
async function
|
|
6454
|
+
async function $r(t) {
|
|
6455
6455
|
const {
|
|
6456
6456
|
axis: e,
|
|
6457
6457
|
data: i,
|
|
@@ -6631,7 +6631,7 @@ async function tS(t) {
|
|
|
6631
6631
|
}
|
|
6632
6632
|
].forEach(async ($) => {
|
|
6633
6633
|
const { axis: O, axisConfig: D, externalAxisLabelFormatter: R, isSecondValueAxis: M } = $;
|
|
6634
|
-
O !== void 0 && !O.isDisposed() && D !== void 0 && await
|
|
6634
|
+
O !== void 0 && !O.isDisposed() && D !== void 0 && await $r({
|
|
6635
6635
|
axis: O,
|
|
6636
6636
|
data: n,
|
|
6637
6637
|
timeIntervalInfo: s,
|
|
@@ -6710,7 +6710,7 @@ function rf(t) {
|
|
|
6710
6710
|
const { root: e, chart: i, config: a } = t;
|
|
6711
6711
|
let o;
|
|
6712
6712
|
if (sf(i, a)) {
|
|
6713
|
-
const n = i instanceof ji ?
|
|
6713
|
+
const n = i instanceof ji ? Oc : Rc;
|
|
6714
6714
|
o = i.set("cursor", n.new(e, {})), fb(i);
|
|
6715
6715
|
}
|
|
6716
6716
|
return o;
|
|
@@ -6772,7 +6772,7 @@ function nS(t) {
|
|
|
6772
6772
|
e instanceof Se && e.get("cursor") !== void 0 && d !== void 0 && e.get("cursor")?.set("behavior", d), oS({ chart: e, enabled: m });
|
|
6773
6773
|
}
|
|
6774
6774
|
function sS(t, e) {
|
|
6775
|
-
e !== void 0 && (e.width !== void 0 && t.set("width",
|
|
6775
|
+
e !== void 0 && (e.width !== void 0 && t.set("width", Il(e.width)), e.height !== void 0 && t.set("height", Il(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
|
|
6776
6776
|
}
|
|
6777
6777
|
function ws(t) {
|
|
6778
6778
|
const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = Gi.new(e, {});
|
|
@@ -6792,7 +6792,7 @@ function rS(t, e) {
|
|
|
6792
6792
|
root: t,
|
|
6793
6793
|
defaults: A.headerContainer,
|
|
6794
6794
|
parent: e,
|
|
6795
|
-
id: Xt(
|
|
6795
|
+
id: Xt(Sr, e.uid),
|
|
6796
6796
|
index: 1
|
|
6797
6797
|
}), o = Co({
|
|
6798
6798
|
root: t,
|
|
@@ -6829,7 +6829,7 @@ function cf(t, e) {
|
|
|
6829
6829
|
labelType: ae.ChartTitle
|
|
6830
6830
|
}), $s(o, s.get("disabled") === !0 || (i?.content.text ?? "") === ""));
|
|
6831
6831
|
}
|
|
6832
|
-
const n = Ce({ childId:
|
|
6832
|
+
const n = Ce({ childId: Sr, parent: t });
|
|
6833
6833
|
if (n !== void 0) {
|
|
6834
6834
|
const s = Ce({ childId: au, parent: n });
|
|
6835
6835
|
s !== void 0 && (Pt({
|
|
@@ -7018,7 +7018,7 @@ function yS(t, e) {
|
|
|
7018
7018
|
t.startGrip.set("scale", a), t.endGrip.set("scale", a);
|
|
7019
7019
|
}
|
|
7020
7020
|
}
|
|
7021
|
-
function
|
|
7021
|
+
function Kl(t, e) {
|
|
7022
7022
|
typeof e == "number" && Number.isFinite(e) && (t.get("orientation") === "horizontal" ? t.set("marginBottom", e) : t.set("marginLeft", e), t.markDirtyBounds());
|
|
7023
7023
|
}
|
|
7024
7024
|
function mf(t) {
|
|
@@ -7032,9 +7032,9 @@ function mf(t) {
|
|
|
7032
7032
|
const l = r.get("orientation") === "horizontal" && o !== !0 || r.get("orientation") === "vertical" && o === !0 ? i : a, c = l?.visible !== !0;
|
|
7033
7033
|
if (Re(r, !c), l !== void 0 && !c) {
|
|
7034
7034
|
const { width: u, color: d, gripSize: m, margin: g } = l;
|
|
7035
|
-
|
|
7035
|
+
Kl(r, g ?? u ?? A.scrollbarPadding), pS(r, d), yS(r, m), bS(r, u);
|
|
7036
7036
|
} else
|
|
7037
|
-
|
|
7037
|
+
Kl(r, 0);
|
|
7038
7038
|
}
|
|
7039
7039
|
});
|
|
7040
7040
|
}
|
|
@@ -7042,7 +7042,7 @@ function mf(t) {
|
|
|
7042
7042
|
function SS(t) {
|
|
7043
7043
|
Pu(t);
|
|
7044
7044
|
}
|
|
7045
|
-
function
|
|
7045
|
+
function Ql(t) {
|
|
7046
7046
|
return t.get("legendDataItem")?.get("marker").children.getIndex(0);
|
|
7047
7047
|
}
|
|
7048
7048
|
function xS(t, e) {
|
|
@@ -7068,7 +7068,7 @@ function CS(t) {
|
|
|
7068
7068
|
return Ti.new(p, {
|
|
7069
7069
|
sprite: S
|
|
7070
7070
|
});
|
|
7071
|
-
}), h.columns.template.set("width", gt(100)),
|
|
7071
|
+
}), h.columns.template.set("width", gt(100)), kr(h), vu(h), mu(h), eo(h, i), h.appear(), h;
|
|
7072
7072
|
}
|
|
7073
7073
|
function vS(t) {
|
|
7074
7074
|
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = No(e), u = /* @__PURE__ */ new Set();
|
|
@@ -7109,7 +7109,7 @@ function vS(t) {
|
|
|
7109
7109
|
}), co(S, y.stylingInfo), u.add(JSON.stringify(y.symbolWithColorInfo));
|
|
7110
7110
|
}
|
|
7111
7111
|
}), o > 1) {
|
|
7112
|
-
const S =
|
|
7112
|
+
const S = Ql(e);
|
|
7113
7113
|
if (S !== void 0)
|
|
7114
7114
|
mt({
|
|
7115
7115
|
...h,
|
|
@@ -7121,7 +7121,7 @@ function vS(t) {
|
|
|
7121
7121
|
else if (e.chart instanceof Se) {
|
|
7122
7122
|
const x = e.chart.children.values.find((C) => C instanceof Fn);
|
|
7123
7123
|
x !== void 0 && x.events.once(le.BoundsChanged, () => {
|
|
7124
|
-
co(
|
|
7124
|
+
co(Ql(e), y.stylingInfo);
|
|
7125
7125
|
});
|
|
7126
7126
|
}
|
|
7127
7127
|
mt({
|
|
@@ -7205,7 +7205,7 @@ function AS(t) {
|
|
|
7205
7205
|
loaderHandle: p
|
|
7206
7206
|
} = t, S = a.series[n], x = a.rotated, C = a.axes;
|
|
7207
7207
|
let v;
|
|
7208
|
-
C?.[1] && (v = C[1]), e.set("id", S.id),
|
|
7208
|
+
C?.[1] && (v = C[1]), e.set("id", S.id), Ar({
|
|
7209
7209
|
series: e,
|
|
7210
7210
|
chartConfig: a,
|
|
7211
7211
|
isRotated: x
|
|
@@ -7229,7 +7229,7 @@ function AS(t) {
|
|
|
7229
7229
|
rotationChanged: r,
|
|
7230
7230
|
sortChanged: y,
|
|
7231
7231
|
loaderHandle: p
|
|
7232
|
-
}),
|
|
7232
|
+
}), vr({
|
|
7233
7233
|
series: e,
|
|
7234
7234
|
seriesConfig: S,
|
|
7235
7235
|
fieldList: h,
|
|
@@ -7243,7 +7243,7 @@ function AS(t) {
|
|
|
7243
7243
|
callbackProps: t,
|
|
7244
7244
|
series: e,
|
|
7245
7245
|
seriesConfig: S
|
|
7246
|
-
}),
|
|
7246
|
+
}), Tr({
|
|
7247
7247
|
chartConfig: a,
|
|
7248
7248
|
series: e,
|
|
7249
7249
|
seriesIndex: n,
|
|
@@ -7252,7 +7252,7 @@ function AS(t) {
|
|
|
7252
7252
|
});
|
|
7253
7253
|
}
|
|
7254
7254
|
function TS(t) {
|
|
7255
|
-
const { chartConfig: e, seriesConfig: i } = t, a = jt(e), o = e.showOutliers, n = e.standardizeValues, s = qe(e), { y: r } = i, l =
|
|
7255
|
+
const { chartConfig: e, seriesConfig: i } = t, a = jt(e), o = e.showOutliers, n = e.standardizeValues, s = qe(e), { y: r } = i, l = ar(e), c = U(l.series), u = s ? void 0 : i?.query?.where, d = {
|
|
7256
7256
|
y: c === P.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
|
|
7257
7257
|
chartSubType: c,
|
|
7258
7258
|
splitBy: u,
|
|
@@ -7302,7 +7302,7 @@ function kS(t) {
|
|
|
7302
7302
|
}), e.data.setAll(i?.dataItems ?? []));
|
|
7303
7303
|
}
|
|
7304
7304
|
function IS(t) {
|
|
7305
|
-
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r } = t, { root: l } = e, c = i.fillSymbol ??
|
|
7305
|
+
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r } = t, { root: l } = e, c = i.fillSymbol ?? Js(a);
|
|
7306
7306
|
let u = {};
|
|
7307
7307
|
const d = {
|
|
7308
7308
|
root: l,
|
|
@@ -7364,7 +7364,7 @@ function $S(t) {
|
|
|
7364
7364
|
return l;
|
|
7365
7365
|
}
|
|
7366
7366
|
function DS(t) {
|
|
7367
|
-
const { chartConfig: e, seriesConfig: i } = t, a = U(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l =
|
|
7367
|
+
const { chartConfig: e, seriesConfig: i } = t, a = U(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = ar(e), c = _n({
|
|
7368
7368
|
chartConfig: l,
|
|
7369
7369
|
seriesConfig: i,
|
|
7370
7370
|
key: J.Average
|
|
@@ -7559,7 +7559,7 @@ function XS(t) {
|
|
|
7559
7559
|
colorMatch: n,
|
|
7560
7560
|
chartSubType: s,
|
|
7561
7561
|
rendererType: r
|
|
7562
|
-
}), u = (a.fillSymbol ??
|
|
7562
|
+
}), u = (a.fillSymbol ?? Js(o)).color, d = {
|
|
7563
7563
|
type: te.SLS,
|
|
7564
7564
|
width: A.boxPlot.boxPlotLineWidth,
|
|
7565
7565
|
color: c ? A.boxPlot.boxPlotWhiskersColor : u
|
|
@@ -7613,7 +7613,7 @@ function _n(t) {
|
|
|
7613
7613
|
splitBy: d,
|
|
7614
7614
|
showOutliers: n,
|
|
7615
7615
|
standardizeValues: po(l) ? s : !1
|
|
7616
|
-
}, g = l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy ?
|
|
7616
|
+
}, g = l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy ? Ks : c;
|
|
7617
7617
|
return {
|
|
7618
7618
|
dataFields: {
|
|
7619
7619
|
value: o ? "valueXField" : "valueYField",
|
|
@@ -7839,7 +7839,7 @@ function JS(t) {
|
|
|
7839
7839
|
}
|
|
7840
7840
|
function ex(t) {
|
|
7841
7841
|
const { series: e, dataLabelsConfig: i } = t, a = i?.visible;
|
|
7842
|
-
e.bullets.hasIndex(0) &&
|
|
7842
|
+
e.bullets.hasIndex(0) && Lr(e, 0), a === !0 && JS(t);
|
|
7843
7843
|
}
|
|
7844
7844
|
function tx(t) {
|
|
7845
7845
|
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s = Ee.new(e, {
|
|
@@ -7926,7 +7926,7 @@ function nx(t) {
|
|
|
7926
7926
|
function sx(t) {
|
|
7927
7927
|
Pu(t);
|
|
7928
7928
|
}
|
|
7929
|
-
function
|
|
7929
|
+
function Dr(t) {
|
|
7930
7930
|
const { isLineSmoothed: e, isRadarLineSeries: i, isRotated: a } = t;
|
|
7931
7931
|
let o = i ? Kg : Qg;
|
|
7932
7932
|
return e && (o = i ? Jg : a ? eh : th), o;
|
|
@@ -8035,7 +8035,7 @@ function Sf(t) {
|
|
|
8035
8035
|
if (m) {
|
|
8036
8036
|
const g = e instanceof Hs;
|
|
8037
8037
|
Re(e, i.visible);
|
|
8038
|
-
const h =
|
|
8038
|
+
const h = Dr({
|
|
8039
8039
|
isRadarLineSeries: g,
|
|
8040
8040
|
isLineSmoothed: i.lineSmoothed,
|
|
8041
8041
|
isRotated: u
|
|
@@ -8076,7 +8076,7 @@ function ux(t) {
|
|
|
8076
8076
|
[d]: c,
|
|
8077
8077
|
[m]: u,
|
|
8078
8078
|
maskBullets: !1,
|
|
8079
|
-
curveFactory:
|
|
8079
|
+
curveFactory: Dr({
|
|
8080
8080
|
isRadarLineSeries: !1,
|
|
8081
8081
|
isLineSmoothed: n.lineSmoothed,
|
|
8082
8082
|
isRotated: i.rotated
|
|
@@ -8096,7 +8096,7 @@ function ux(t) {
|
|
|
8096
8096
|
// adding aria label to bullets
|
|
8097
8097
|
hoverOnFocus: !0,
|
|
8098
8098
|
// necessary for tooltip to show on focus
|
|
8099
|
-
tooltip:
|
|
8099
|
+
tooltip: Cr(y, g),
|
|
8100
8100
|
tooltipText: " ",
|
|
8101
8101
|
// necessary to trigger the adapter
|
|
8102
8102
|
layer: A.zIndexes.bulletMarkers
|
|
@@ -8104,7 +8104,7 @@ function ux(t) {
|
|
|
8104
8104
|
h
|
|
8105
8105
|
);
|
|
8106
8106
|
return _t(p, s?.selectionTheme), Zt(p, g), Hu(p, g), Ti.new(y, { sprite: p });
|
|
8107
|
-
}),
|
|
8107
|
+
}), kr(g), eo(g, i), g;
|
|
8108
8108
|
}
|
|
8109
8109
|
function fx(t) {
|
|
8110
8110
|
const {
|
|
@@ -8155,7 +8155,7 @@ function mx(t) {
|
|
|
8155
8155
|
}
|
|
8156
8156
|
function gx(t, e) {
|
|
8157
8157
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
8158
|
-
t.set("connect", i !== !1 && o !==
|
|
8158
|
+
t.set("connect", i !== !1 && o !== Ic.Null);
|
|
8159
8159
|
}
|
|
8160
8160
|
function hx(t) {
|
|
8161
8161
|
const {
|
|
@@ -8184,7 +8184,7 @@ function hx(t) {
|
|
|
8184
8184
|
dataLabelsConfig: p.dataLabels,
|
|
8185
8185
|
yAxisValueFormat: C?.valueFormat,
|
|
8186
8186
|
externalDataLabelFormatter: o?.dataLabelFormatter
|
|
8187
|
-
}),
|
|
8187
|
+
}), Ar({ series: e, chartConfig: a, isRotated: S }), gx(e, p), fx({
|
|
8188
8188
|
lineSeries: e,
|
|
8189
8189
|
seriesIndex: n,
|
|
8190
8190
|
data: i,
|
|
@@ -8195,7 +8195,7 @@ function hx(t) {
|
|
|
8195
8195
|
timeZoneChanged: g,
|
|
8196
8196
|
sortChanged: h,
|
|
8197
8197
|
loaderHandle: y
|
|
8198
|
-
}),
|
|
8198
|
+
}), vr({
|
|
8199
8199
|
series: e,
|
|
8200
8200
|
seriesConfig: p,
|
|
8201
8201
|
fieldList: c,
|
|
@@ -8209,7 +8209,7 @@ function hx(t) {
|
|
|
8209
8209
|
callbackProps: t,
|
|
8210
8210
|
series: e,
|
|
8211
8211
|
seriesConfig: p
|
|
8212
|
-
}),
|
|
8212
|
+
}), Tr({ chartConfig: a, series: e, seriesIndex: n, subtypeInfo: l, fieldList: c });
|
|
8213
8213
|
}
|
|
8214
8214
|
function px(t) {
|
|
8215
8215
|
t.labels.template.adapters.add("text", (e, i) => {
|
|
@@ -8270,7 +8270,7 @@ function Sx(t, e) {
|
|
|
8270
8270
|
} = e, { chart: m } = t;
|
|
8271
8271
|
let g;
|
|
8272
8272
|
if (m) {
|
|
8273
|
-
const h =
|
|
8273
|
+
const h = yr({
|
|
8274
8274
|
pieChart: m,
|
|
8275
8275
|
valueIntlOptions: i?.intlOptions,
|
|
8276
8276
|
percentageIntlOptions: a?.intlOptions,
|
|
@@ -8280,7 +8280,7 @@ function Sx(t, e) {
|
|
|
8280
8280
|
valueSuffix: l,
|
|
8281
8281
|
percentagePrefix: c,
|
|
8282
8282
|
percentageSuffix: u
|
|
8283
|
-
}), y =
|
|
8283
|
+
}), y = or(d), p = bt(
|
|
8284
8284
|
w(t.chart?.uid ?? Number.NaN, "rtl") ?? !1,
|
|
8285
8285
|
" "
|
|
8286
8286
|
);
|
|
@@ -8346,7 +8346,7 @@ function Cx(t) {
|
|
|
8346
8346
|
});
|
|
8347
8347
|
return g;
|
|
8348
8348
|
}
|
|
8349
|
-
function
|
|
8349
|
+
function Jl(t, e) {
|
|
8350
8350
|
const {
|
|
8351
8351
|
root: i,
|
|
8352
8352
|
x: a,
|
|
@@ -8414,10 +8414,10 @@ async function xf(t) {
|
|
|
8414
8414
|
labelUpdateNeeded: r,
|
|
8415
8415
|
colorMatch: Ii(o),
|
|
8416
8416
|
utilsStrings: l
|
|
8417
|
-
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } =
|
|
8417
|
+
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = Jl(
|
|
8418
8418
|
i,
|
|
8419
8419
|
S
|
|
8420
|
-
), { slices: F } =
|
|
8420
|
+
), { slices: F } = Jl(v ?? [], S);
|
|
8421
8421
|
return {
|
|
8422
8422
|
slices: x,
|
|
8423
8423
|
groupedSlices: F,
|
|
@@ -8442,7 +8442,7 @@ function vx(t, e) {
|
|
|
8442
8442
|
function Lx(t) {
|
|
8443
8443
|
const { series: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
8444
8444
|
e.slices.each((o, n) => {
|
|
8445
|
-
const s = o.dataItem?.dataContext, r =
|
|
8445
|
+
const s = o.dataItem?.dataContext, r = gr({
|
|
8446
8446
|
dataContext: s,
|
|
8447
8447
|
pieSlicesSymbols: i,
|
|
8448
8448
|
seriesConfig: a
|
|
@@ -8619,7 +8619,7 @@ function Ox(t) {
|
|
|
8619
8619
|
yAxis: o,
|
|
8620
8620
|
[d]: c,
|
|
8621
8621
|
[m]: u,
|
|
8622
|
-
curveFactory:
|
|
8622
|
+
curveFactory: Dr({
|
|
8623
8623
|
isRadarLineSeries: !0,
|
|
8624
8624
|
isLineSmoothed: n.lineSmoothed,
|
|
8625
8625
|
isRotated: i.rotated
|
|
@@ -8631,11 +8631,11 @@ function Ox(t) {
|
|
|
8631
8631
|
return Pe(g.uid, { bulletTemplate: h }), g.bullets.push((y) => {
|
|
8632
8632
|
const p = ui.new(
|
|
8633
8633
|
y,
|
|
8634
|
-
{ tooltip:
|
|
8634
|
+
{ tooltip: Cr(y, g), tooltipText: " " },
|
|
8635
8635
|
h
|
|
8636
8636
|
);
|
|
8637
8637
|
return _t(p, s?.selectionTheme), Zt(p, g), Ti.new(y, { sprite: p });
|
|
8638
|
-
}),
|
|
8638
|
+
}), kr(g), eo(g, i), g;
|
|
8639
8639
|
}
|
|
8640
8640
|
function Rx(t) {
|
|
8641
8641
|
const {
|
|
@@ -8698,7 +8698,7 @@ function Mx(t) {
|
|
|
8698
8698
|
loaderHandle: m,
|
|
8699
8699
|
utilsStrings: g
|
|
8700
8700
|
} = t, h = o.series[s];
|
|
8701
|
-
e.set("id", h.id),
|
|
8701
|
+
e.set("id", h.id), Ar({ series: e, chartConfig: o, isRotated: !1 }), vr({
|
|
8702
8702
|
series: e,
|
|
8703
8703
|
seriesConfig: h,
|
|
8704
8704
|
fieldList: c,
|
|
@@ -8712,7 +8712,7 @@ function Mx(t) {
|
|
|
8712
8712
|
callbackProps: t,
|
|
8713
8713
|
series: e,
|
|
8714
8714
|
seriesConfig: h
|
|
8715
|
-
}),
|
|
8715
|
+
}), Tr({ chartConfig: o, series: e, seriesIndex: s, subtypeInfo: d, fieldList: c }), Rx({
|
|
8716
8716
|
radarLineSeries: e,
|
|
8717
8717
|
data: i,
|
|
8718
8718
|
seriesIndex: s,
|
|
@@ -8723,7 +8723,7 @@ function Mx(t) {
|
|
|
8723
8723
|
loaderHandle: m
|
|
8724
8724
|
});
|
|
8725
8725
|
}
|
|
8726
|
-
async function
|
|
8726
|
+
async function Or(t) {
|
|
8727
8727
|
const { chart: e, chartConfig: i, options: a, utilsStrings: o } = t, { rotated: n } = i, { root: s } = e, r = z(i.series);
|
|
8728
8728
|
e.series.clear();
|
|
8729
8729
|
const l = [], c = { root: s, chartConfig: i, options: a, chart: e, utilsStrings: o };
|
|
@@ -8976,7 +8976,7 @@ async function Zn(t) {
|
|
|
8976
8976
|
errorStrings: S
|
|
8977
8977
|
});
|
|
8978
8978
|
}
|
|
8979
|
-
function
|
|
8979
|
+
function Rr(t) {
|
|
8980
8980
|
const { data: e, seriesConfig: i, utilsStrings: a } = t, o = i[0], n = e?.reduce((g, h) => {
|
|
8981
8981
|
let y = h[wa] ?? h[o.y];
|
|
8982
8982
|
return Number.isFinite(y) || (y = 0), y + g;
|
|
@@ -9007,12 +9007,12 @@ function Or(t) {
|
|
|
9007
9007
|
function Nx(t) {
|
|
9008
9008
|
const { chart: e, seriesConfig: i, utilsStrings: a, data: o } = t, n = e.series.getIndex(0);
|
|
9009
9009
|
let s;
|
|
9010
|
-
return n && (s =
|
|
9010
|
+
return n && (s = Rr({ data: o, seriesConfig: i, utilsStrings: a }), n?.data.setAll(s)), s;
|
|
9011
9011
|
}
|
|
9012
9012
|
function Px(t) {
|
|
9013
9013
|
const { chart: e, data: i, seriesConfig: a, utilsStrings: o } = t, n = e.series.getIndex(0);
|
|
9014
9014
|
let s;
|
|
9015
|
-
return n && i && "dataItems" in i && (s =
|
|
9015
|
+
return n && i && "dataItems" in i && (s = Rr({
|
|
9016
9016
|
data: i.dataItems,
|
|
9017
9017
|
seriesConfig: a,
|
|
9018
9018
|
utilsStrings: o
|
|
@@ -9054,14 +9054,14 @@ async function Wx(t) {
|
|
|
9054
9054
|
zx(i);
|
|
9055
9055
|
break;
|
|
9056
9056
|
}
|
|
9057
|
-
}), await
|
|
9057
|
+
}), await Fr(t, Ne.ProgrammaticSelection));
|
|
9058
9058
|
}
|
|
9059
9059
|
}
|
|
9060
9060
|
function Hx(t) {
|
|
9061
9061
|
const e = qm.new(t, {});
|
|
9062
9062
|
return e.getPrivate("content").classList.add("arcgis-charts-modal"), e;
|
|
9063
9063
|
}
|
|
9064
|
-
function
|
|
9064
|
+
function ec(t) {
|
|
9065
9065
|
let e = "";
|
|
9066
9066
|
for (let i = 0; i < t.length; i += 1) {
|
|
9067
9067
|
const a = t[i];
|
|
@@ -9072,7 +9072,7 @@ function Jl(t) {
|
|
|
9072
9072
|
function Cf(t) {
|
|
9073
9073
|
t.set("content", void 0), t.cancel();
|
|
9074
9074
|
}
|
|
9075
|
-
function
|
|
9075
|
+
function Br(t) {
|
|
9076
9076
|
const { chartModal: e, message: i, title: a, closable: o } = t;
|
|
9077
9077
|
e.set(
|
|
9078
9078
|
"content",
|
|
@@ -9088,7 +9088,7 @@ async function vf(t) {
|
|
|
9088
9088
|
const { chartModal: e, chartConfig: i, createMessage: a, status: o, errorStrings: n } = t, { schemaErrors: s, customErrors: r, warnings: l } = o;
|
|
9089
9089
|
if (e !== void 0) {
|
|
9090
9090
|
let c, u;
|
|
9091
|
-
i === void 0 ? (u = a === void 0 ? n.modalHeaders.newChart : void 0, c = a ?? n.errors.newChartRequest) : s.length > 0 ? (u = n.modalHeaders.error, c = n.errors.simpleError) : r.length > 0 ? (u = n.modalHeaders.error, c =
|
|
9091
|
+
i === void 0 ? (u = a === void 0 ? n.modalHeaders.newChart : void 0, c = a ?? n.errors.newChartRequest) : s.length > 0 ? (u = n.modalHeaders.error, c = n.errors.simpleError) : r.length > 0 ? (u = n.modalHeaders.error, c = ec(r)) : l.length > 0 && (u = n.modalHeaders.warning, c = `<p>${n.errors.warningRequest}</p>${ec(l)}`), (c !== void 0 || u !== void 0) && Br({ chartModal: e, message: c, title: u, closable: !1 });
|
|
9092
9092
|
}
|
|
9093
9093
|
}
|
|
9094
9094
|
async function Kn(t) {
|
|
@@ -9106,7 +9106,7 @@ async function Kn(t) {
|
|
|
9106
9106
|
isTemporalLineChart: d,
|
|
9107
9107
|
errorStrings: r
|
|
9108
9108
|
});
|
|
9109
|
-
md(m, e.root.dom), i && c?.showUIMessages !== !1 && Yn(e) &&
|
|
9109
|
+
md(m, e.root.dom), i && c?.showUIMessages !== !1 && Yn(e) && Br({
|
|
9110
9110
|
chartModal: i,
|
|
9111
9111
|
title: m.header,
|
|
9112
9112
|
message: m.message,
|
|
@@ -9154,7 +9154,7 @@ async function Ff(t) {
|
|
|
9154
9154
|
}
|
|
9155
9155
|
function Gx(t) {
|
|
9156
9156
|
const { chart: e, chartModal: i, message: a, heading: o, options: n } = t;
|
|
9157
|
-
i !== void 0 && !e.isDisposed() && (a !== void 0 ?
|
|
9157
|
+
i !== void 0 && !e.isDisposed() && (a !== void 0 ? Br({
|
|
9158
9158
|
chartModal: i,
|
|
9159
9159
|
message: a,
|
|
9160
9160
|
title: o,
|
|
@@ -9389,7 +9389,7 @@ async function Qx(t) {
|
|
|
9389
9389
|
axisLabelsBehaviorChanged: v,
|
|
9390
9390
|
timeIntervalInfoWasReset: p
|
|
9391
9391
|
}), T = F || Yb({ chart: e, chartConfig: i, updateNeededDetails: s, seriesFilteredOut: l });
|
|
9392
|
-
F && (await tf({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), T && (e.series.clear(), await
|
|
9392
|
+
F && (await tf({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), T && (e.series.clear(), await Or({ chart: e, chartConfig: i, options: u, utilsStrings: x })), await af({
|
|
9393
9393
|
chart: e,
|
|
9394
9394
|
chartConfig: i,
|
|
9395
9395
|
queryObject: d,
|
|
@@ -9446,7 +9446,7 @@ async function Jx(t) {
|
|
|
9446
9446
|
})), S = await an(S, h);
|
|
9447
9447
|
const v = x === void 0;
|
|
9448
9448
|
x ??= S;
|
|
9449
|
-
const F = await
|
|
9449
|
+
const F = await er({
|
|
9450
9450
|
input: S,
|
|
9451
9451
|
queryObject: h,
|
|
9452
9452
|
allowUsingObjectIdStat: l?.allowUsingObjectIdStat
|
|
@@ -9479,7 +9479,7 @@ async function Jx(t) {
|
|
|
9479
9479
|
});
|
|
9480
9480
|
const H = rn(O);
|
|
9481
9481
|
V = V || $ !== H;
|
|
9482
|
-
const Z = Cg(x, S), oe = pd(x, S), ie = bd(x, S), X = Xx(x, S), q =
|
|
9482
|
+
const Z = Cg(x, S), oe = pd(x, S), ie = bd(x, S), X = Xx(x, S), q = nr(x, S), Fe = vg(x, S), Jt = yd(x, S), gi = sr({
|
|
9483
9483
|
oldConfig: M ? N : x,
|
|
9484
9484
|
newConfig: S,
|
|
9485
9485
|
dataUpdateNeeded: V
|
|
@@ -9502,18 +9502,18 @@ async function Jx(t) {
|
|
|
9502
9502
|
errorStrings: d,
|
|
9503
9503
|
abortKey: Cu(e)
|
|
9504
9504
|
});
|
|
9505
|
-
const { data: ct, queryConfig: us, valid: Om, count:
|
|
9505
|
+
const { data: ct, queryConfig: us, valid: Om, count: ll, invalidType: Rm } = Ve;
|
|
9506
9506
|
de(e.uid, {
|
|
9507
9507
|
queryConfig: us,
|
|
9508
9508
|
initialized: !0,
|
|
9509
|
-
elementCount:
|
|
9509
|
+
elementCount: ll,
|
|
9510
9510
|
boxPlotMeanLinesData: ct !== void 0 && "meanLines" in ct ? ct.meanLines : void 0,
|
|
9511
9511
|
timeIntervalInfo: ct !== void 0 && "timeIntervalInfo" in ct ? ct.timeIntervalInfo : void 0
|
|
9512
9512
|
}), Om ? (xi({ data: ct, seriesConfig: S.series, htmlContainer: m.dom }), Cf(o)) : (await Kn({
|
|
9513
9513
|
chart: e,
|
|
9514
9514
|
chartModal: o,
|
|
9515
9515
|
invalidType: Rm,
|
|
9516
|
-
elementCount:
|
|
9516
|
+
elementCount: ll,
|
|
9517
9517
|
seriesCount: S.series.length,
|
|
9518
9518
|
chartConfig: S,
|
|
9519
9519
|
errorStrings: d
|
|
@@ -9550,15 +9550,15 @@ async function Jx(t) {
|
|
|
9550
9550
|
S.series.forEach((ct, us) => {
|
|
9551
9551
|
Aa.set(ct.id, us);
|
|
9552
9552
|
});
|
|
9553
|
-
const Dm = Qi({ chartConfig: S, queryObject: O }),
|
|
9553
|
+
const Dm = Qi({ chartConfig: S, queryObject: O }), nl = qe(S), sl = Af({
|
|
9554
9554
|
chart: e,
|
|
9555
|
-
data:
|
|
9555
|
+
data: nl ? pe : it,
|
|
9556
9556
|
config: S,
|
|
9557
9557
|
hideEmptySeries: l?.hideEmptySeries ?? A.options.hideEmptySeries
|
|
9558
9558
|
});
|
|
9559
|
-
if (S =
|
|
9559
|
+
if (S = sl.updatedConfig, pe && "dataItems" in pe && (V || q)) {
|
|
9560
9560
|
const ct = await qa({
|
|
9561
|
-
data:
|
|
9561
|
+
data: nl && "meanLines" in pe && pe.meanLines !== void 0 ? pe.meanLines : pe.dataItems,
|
|
9562
9562
|
chartConfig: S,
|
|
9563
9563
|
queryObject: O,
|
|
9564
9564
|
allowColorMatch: Dm
|
|
@@ -9574,8 +9574,8 @@ async function Jx(t) {
|
|
|
9574
9574
|
cursorCrosshair: S.cursorCrosshair,
|
|
9575
9575
|
config: S
|
|
9576
9576
|
});
|
|
9577
|
-
const
|
|
9578
|
-
switch (
|
|
9577
|
+
const rl = z(S.series);
|
|
9578
|
+
switch (rl) {
|
|
9579
9579
|
case b.PieSeries: {
|
|
9580
9580
|
e instanceof ti && await Kx({
|
|
9581
9581
|
chart: e,
|
|
@@ -9615,7 +9615,7 @@ async function Jx(t) {
|
|
|
9615
9615
|
dataWasUpdated: V,
|
|
9616
9616
|
seriesIndexMapper: Aa,
|
|
9617
9617
|
updateNeededDetails: W,
|
|
9618
|
-
seriesFilteredOut:
|
|
9618
|
+
seriesFilteredOut: sl.seriesFilteredOut,
|
|
9619
9619
|
sortChanged: gi,
|
|
9620
9620
|
axisLabelsBehaviorChanged: La,
|
|
9621
9621
|
anyGuideAboveChanged: Z,
|
|
@@ -9637,7 +9637,7 @@ async function Jx(t) {
|
|
|
9637
9637
|
legend: a,
|
|
9638
9638
|
hideEmptySeries: l?.hideEmptySeries,
|
|
9639
9639
|
seriesConfig: S.series,
|
|
9640
|
-
isHeatChart:
|
|
9640
|
+
isHeatChart: rl === b.HeatSeries,
|
|
9641
9641
|
heatChartLegendUpdatedNeeded: Ue
|
|
9642
9642
|
}), Ds({ chart: e, actionMode: l?.actionMode, cursorRange: l?.cursorRange }), V || n.hideLoader(), await Ff({ chart: e, chartModal: o, chartConfig: S, data: pe, errorStrings: d }), await Lf({ chart: e, chartModal: o, data: pe, errorStrings: d });
|
|
9643
9643
|
} else s.updateOptions?.showUIMessages !== !1 && await vf({
|
|
@@ -9651,7 +9651,7 @@ async function Jx(t) {
|
|
|
9651
9651
|
}
|
|
9652
9652
|
async function eC(t) {
|
|
9653
9653
|
const { chart: e, data: i, chartConfig: a, options: o, queryObject: n, loaderHandle: s, utilsStrings: r, errorStrings: l } = t;
|
|
9654
|
-
await
|
|
9654
|
+
await Or({ chart: e, chartConfig: a, options: o, utilsStrings: r });
|
|
9655
9655
|
let c = i, u = !1;
|
|
9656
9656
|
const d = a.series;
|
|
9657
9657
|
if (e) {
|
|
@@ -9724,7 +9724,7 @@ async function tC(t) {
|
|
|
9724
9724
|
gaugeInnerLabelFormatter: o?.gaugeInnerLabelFormatter,
|
|
9725
9725
|
utilsStrings: l,
|
|
9726
9726
|
errorStrings: c
|
|
9727
|
-
}), await
|
|
9727
|
+
}), await Or({ chart: e, chartConfig: a, options: o, utilsStrings: l }), await Zn({
|
|
9728
9728
|
chart: e,
|
|
9729
9729
|
chartConfig: a,
|
|
9730
9730
|
seriesIndexMapper: r,
|
|
@@ -9752,7 +9752,7 @@ async function iC(t) {
|
|
|
9752
9752
|
let y;
|
|
9753
9753
|
const p = mS({ root: g, chart: h, options: a }), S = Hx(g);
|
|
9754
9754
|
Dh(g, o?.useAnimatedCharts);
|
|
9755
|
-
const x = await
|
|
9755
|
+
const x = await er({
|
|
9756
9756
|
input: d,
|
|
9757
9757
|
queryObject: m,
|
|
9758
9758
|
allowUsingObjectIdStat: a?.allowUsingObjectIdStat
|
|
@@ -9861,7 +9861,7 @@ async function iC(t) {
|
|
|
9861
9861
|
loaderHandle: p,
|
|
9862
9862
|
utilsStrings: r,
|
|
9863
9863
|
errorStrings: s
|
|
9864
|
-
}), h instanceof Ba && (y =
|
|
9864
|
+
}), h instanceof Ba && (y = Rl({
|
|
9865
9865
|
chart: h,
|
|
9866
9866
|
seriesConfig: d.series,
|
|
9867
9867
|
isHeatChart: z(d.series) === b.HeatSeries
|
|
@@ -9888,7 +9888,7 @@ async function iC(t) {
|
|
|
9888
9888
|
}
|
|
9889
9889
|
return {
|
|
9890
9890
|
update: async (v) => {
|
|
9891
|
-
y === void 0 && (y =
|
|
9891
|
+
y === void 0 && (y = Rl({ chart: h, seriesConfig: v.newChartConfig.series })), await Jx({ chart: h, queryObject: m, legend: y, chartModal: S, loaderHandle: p, updateProps: v });
|
|
9892
9892
|
},
|
|
9893
9893
|
dispose: () => jx(g),
|
|
9894
9894
|
notify: (v, F, T) => Gx({ chartModal: S, chart: h, message: v, heading: F, options: T }),
|
|
@@ -10092,14 +10092,14 @@ function Ot(t) {
|
|
|
10092
10092
|
return o;
|
|
10093
10093
|
}
|
|
10094
10094
|
function Os(t) {
|
|
10095
|
-
const { axis: e, valueFormat: i, chartType: a } = t, o =
|
|
10095
|
+
const { axis: e, valueFormat: i, chartType: a } = t, o = rr({
|
|
10096
10096
|
isXAxis: !0,
|
|
10097
10097
|
chartType: a,
|
|
10098
10098
|
valueFormat: i
|
|
10099
10099
|
}), n = mi(i) && e instanceof ze, s = Lt(i) && e instanceof ve && !(e instanceof ze), r = o && e instanceof lt;
|
|
10100
10100
|
return !n && !s && !r;
|
|
10101
10101
|
}
|
|
10102
|
-
function
|
|
10102
|
+
function Mr(t, e) {
|
|
10103
10103
|
let i = typeof e == "number" ? `${e}` : e;
|
|
10104
10104
|
const a = nt(t.uid, "numberFormatter");
|
|
10105
10105
|
return a !== void 0 && (i = a(e)), ye(i) && (i = L.htmlEmptyContent), He(i);
|
|
@@ -10107,7 +10107,7 @@ function Br(t, e) {
|
|
|
10107
10107
|
function dC(t) {
|
|
10108
10108
|
t.renderer.labels.template.html = L.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
10109
10109
|
"htmlOutput",
|
|
10110
|
-
(i, a) =>
|
|
10110
|
+
(i, a) => Mr(t, a?.dataItem?.value ?? i),
|
|
10111
10111
|
0
|
|
10112
10112
|
);
|
|
10113
10113
|
}
|
|
@@ -10222,7 +10222,7 @@ function bC(t, e, i, a) {
|
|
|
10222
10222
|
return n instanceof Date ? n.toLocaleString(void 0, t) : (s = typeof n != "string" ? n ?? 0 : _c(n, o.intlLocales), a === !0 && t.style === "percent" && (s /= 100), o.format(s));
|
|
10223
10223
|
};
|
|
10224
10224
|
}
|
|
10225
|
-
function
|
|
10225
|
+
function tc(t) {
|
|
10226
10226
|
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = ni(i), s = I(e.chart.uid, "formatLocale");
|
|
10227
10227
|
et(e.uid, {
|
|
10228
10228
|
numberFormatter: o ?? bC(
|
|
@@ -10234,7 +10234,7 @@ function ec(t) {
|
|
|
10234
10234
|
});
|
|
10235
10235
|
}
|
|
10236
10236
|
function yC(t) {
|
|
10237
|
-
const { axis: e, formatOptions: i, categoryAxisFormatter: a } = t, o = a !== void 0 ? a :
|
|
10237
|
+
const { axis: e, formatOptions: i, categoryAxisFormatter: a } = t, o = a !== void 0 ? a : or(i.characterLimit);
|
|
10238
10238
|
et(e.uid, { categoryFormatter: o });
|
|
10239
10239
|
}
|
|
10240
10240
|
function SC(t) {
|
|
@@ -10265,13 +10265,13 @@ async function xC(t) {
|
|
|
10265
10265
|
chartType: s,
|
|
10266
10266
|
axisValueFormatter: r,
|
|
10267
10267
|
errorStrings: l
|
|
10268
|
-
} = t, c =
|
|
10268
|
+
} = t, c = rr({
|
|
10269
10269
|
isXAxis: i,
|
|
10270
10270
|
chartType: s,
|
|
10271
10271
|
valueFormat: a
|
|
10272
10272
|
});
|
|
10273
10273
|
let u = !1;
|
|
10274
|
-
!(e instanceof ze) && Lt(a) ?
|
|
10274
|
+
!(e instanceof ze) && Lt(a) ? tc({
|
|
10275
10275
|
axis: e,
|
|
10276
10276
|
formatOptions: a,
|
|
10277
10277
|
overridePercentMultiplication: n,
|
|
@@ -10284,7 +10284,7 @@ async function xC(t) {
|
|
|
10284
10284
|
axis: e,
|
|
10285
10285
|
formatOptions: a,
|
|
10286
10286
|
categoryAxisFormatter: r
|
|
10287
|
-
}), et(e.uid, { numberFormatter: void 0 })) : Lt(a) ? (
|
|
10287
|
+
}), et(e.uid, { numberFormatter: void 0 })) : Lt(a) ? (tc({
|
|
10288
10288
|
axis: e,
|
|
10289
10289
|
formatOptions: a,
|
|
10290
10290
|
overridePercentMultiplication: n,
|
|
@@ -10371,7 +10371,7 @@ function FC(t) {
|
|
|
10371
10371
|
let n;
|
|
10372
10372
|
return a !== !1 ? (n = new Td(), n.width = L.patternLineProperties.width ?? Number.NaN, n.height = L.patternLineProperties.height ?? Number.NaN, n.strokeWidth = L.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new kd(), n.rectWidth = L.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = L.patternRectProperties.rectHeight ?? Number.NaN, n.width = L.patternRectProperties.width ?? Number.NaN, n.height = L.patternRectProperties.height ?? Number.NaN, n.fillOpacity = L.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = L.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = sa(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
|
|
10373
10373
|
}
|
|
10374
|
-
function
|
|
10374
|
+
function ic(t) {
|
|
10375
10375
|
let e = Number.NaN;
|
|
10376
10376
|
if (typeof t == "number")
|
|
10377
10377
|
e = t;
|
|
@@ -10467,7 +10467,7 @@ function $f(t, e) {
|
|
|
10467
10467
|
}
|
|
10468
10468
|
return i;
|
|
10469
10469
|
}
|
|
10470
|
-
function
|
|
10470
|
+
function Nr(t, e) {
|
|
10471
10471
|
let i = "middle";
|
|
10472
10472
|
switch (t ?? e) {
|
|
10473
10473
|
case se.Right:
|
|
@@ -10559,7 +10559,7 @@ function DC(t) {
|
|
|
10559
10559
|
angle: c
|
|
10560
10560
|
};
|
|
10561
10561
|
}
|
|
10562
|
-
function
|
|
10562
|
+
function Pr(t) {
|
|
10563
10563
|
const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
|
|
10564
10564
|
let s;
|
|
10565
10565
|
if (i === !0) {
|
|
@@ -10572,7 +10572,7 @@ function Nr(t) {
|
|
|
10572
10572
|
return $a(e) && (e.style ??= L.lineMarker.markerStyle, e.size ??= L.lineMarker.markerSize), Kc(e) ? s = Of(e, !0) : $a(e) ? s = DC(e) : ln(e) && (s = $C(e, n)), s;
|
|
10573
10573
|
}
|
|
10574
10574
|
function Sn(t, e, i) {
|
|
10575
|
-
const a =
|
|
10575
|
+
const a = Nr(t.horizontalAlignment, i?.horizontalCenter), o = $f(t.horizontalAlignment, i?.align), n = Df(t.verticalAlignment, i?.verticalCenter), s = IC(t.verticalAlignment, i?.valign);
|
|
10576
10576
|
return {
|
|
10577
10577
|
fill: rt(t.color, L.color),
|
|
10578
10578
|
fontFamily: t.font?.family ?? "Arial, Helvetica, sans-serif",
|
|
@@ -10603,10 +10603,10 @@ function Bf(t, e, i) {
|
|
|
10603
10603
|
function Da(t, e) {
|
|
10604
10604
|
t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
|
|
10605
10605
|
}
|
|
10606
|
-
function
|
|
10606
|
+
function Vr(t) {
|
|
10607
10607
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
10608
10608
|
let s;
|
|
10609
|
-
return i !== void 0 ? (s =
|
|
10609
|
+
return i !== void 0 ? (s = Pr({
|
|
10610
10610
|
symbol: { ...i, size: e.minWidth ?? i.size },
|
|
10611
10611
|
defaultToColorFromRamp: o,
|
|
10612
10612
|
colorRampIndex: n
|
|
@@ -10615,7 +10615,7 @@ function Pr(t) {
|
|
|
10615
10615
|
function Ut(t) {
|
|
10616
10616
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
10617
10617
|
let s;
|
|
10618
|
-
return i !== void 0 ? (s =
|
|
10618
|
+
return i !== void 0 ? (s = Pr({
|
|
10619
10619
|
symbol: i,
|
|
10620
10620
|
defaultToColorFromRamp: o,
|
|
10621
10621
|
colorRampIndex: n
|
|
@@ -10629,7 +10629,7 @@ function Ao(t) {
|
|
|
10629
10629
|
const c = vC(e);
|
|
10630
10630
|
c !== void 0 && (l = LC(c));
|
|
10631
10631
|
}
|
|
10632
|
-
r =
|
|
10632
|
+
r = Pr({
|
|
10633
10633
|
symbol: i,
|
|
10634
10634
|
defaultToColorFromRamp: o,
|
|
10635
10635
|
colorRampIndex: n,
|
|
@@ -10669,7 +10669,7 @@ function Ai(t) {
|
|
|
10669
10669
|
});
|
|
10670
10670
|
break;
|
|
10671
10671
|
case te.SMS:
|
|
10672
|
-
c =
|
|
10672
|
+
c = Vr({
|
|
10673
10673
|
...u,
|
|
10674
10674
|
markerSymbol: d
|
|
10675
10675
|
});
|
|
@@ -10677,7 +10677,7 @@ function Ai(t) {
|
|
|
10677
10677
|
}
|
|
10678
10678
|
return { symbolWithColorInfo: d, stylingInfo: c };
|
|
10679
10679
|
}
|
|
10680
|
-
function
|
|
10680
|
+
function ac(t, e) {
|
|
10681
10681
|
if (e !== void 0) {
|
|
10682
10682
|
const i = t.properties, { elementColor: a, elementOutlineColor: o, elementOutlineWidth: n, rotation: s, transformation: r } = e, { opacity: l, scale: c } = r ?? {};
|
|
10683
10683
|
a !== void 0 && (i.fill = sa(a), i.fillOpacity = zn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = sa(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
|
|
@@ -10838,7 +10838,7 @@ async function PC(t) {
|
|
|
10838
10838
|
return new File([l], `chart.${a}`, { type: c });
|
|
10839
10839
|
}
|
|
10840
10840
|
function Jn(t, e) {
|
|
10841
|
-
e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Df(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter =
|
|
10841
|
+
e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Df(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Nr(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
|
|
10842
10842
|
}
|
|
10843
10843
|
function Vt(t, e) {
|
|
10844
10844
|
const i = e?.createChild(So) ?? new So();
|
|
@@ -10859,9 +10859,9 @@ function EC(t, e, i) {
|
|
|
10859
10859
|
function zC(t, e) {
|
|
10860
10860
|
const i = je(t.uid, "isGuide");
|
|
10861
10861
|
let a = e.visible === !1;
|
|
10862
|
-
return !a && (i === !0 || !(t instanceof
|
|
10862
|
+
return !a && (i === !0 || !(t instanceof lr)) && e.content.text === "" && (a = !0), a;
|
|
10863
10863
|
}
|
|
10864
|
-
function
|
|
10864
|
+
function oc(t) {
|
|
10865
10865
|
const { label: e, offset: i, offsetProperty: a } = t, o = 99;
|
|
10866
10866
|
if (e.adapter.remove(a, o), typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
10867
10867
|
let n = Rn(i);
|
|
@@ -10877,13 +10877,13 @@ function Tt(t) {
|
|
|
10877
10877
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
|
|
10878
10878
|
if (i !== void 0) {
|
|
10879
10879
|
const n = Sn(i.content, e.rtl, a);
|
|
10880
|
-
e.fill = n.fill, e.fontFamily = n.fontFamily, e.fontWeight = n.fontWeight, e.fontSize = n.fontSize, e.textDecoration = n.textDecoration, e.align = n.align, e.valign = n.valign, e.verticalCenter = n.verticalCenter, e.horizontalCenter = n.horizontalCenter, e.background.fill = n.backgroundFill, e.background.stroke = n.borderFill, e.background.strokeWidth = n.borderWidth, e.rotation = n.angle,
|
|
10880
|
+
e.fill = n.fill, e.fontFamily = n.fontFamily, e.fontWeight = n.fontWeight, e.fontSize = n.fontSize, e.textDecoration = n.textDecoration, e.align = n.align, e.valign = n.valign, e.verticalCenter = n.verticalCenter, e.horizontalCenter = n.horizontalCenter, e.background.fill = n.backgroundFill, e.background.stroke = n.borderFill, e.background.strokeWidth = n.borderWidth, e.rotation = n.angle, oc({ label: e, offset: n.xOffset, offsetProperty: "dx" }), oc({ label: e, offset: n.yOffset, offsetProperty: "dy" }), e.rtl = n.rtl, e.wrap = n.wrap, e instanceof lr || (e.maxWidth = n.maxWidth), o || (e.text = n.text), EC(e.filters, n.haloSize, n.haloColor);
|
|
10881
10881
|
const s = zC(e, i);
|
|
10882
10882
|
e.disabled = s, Q(e, i.visible !== !1 && !s);
|
|
10883
10883
|
} else
|
|
10884
10884
|
e.disabled = !0;
|
|
10885
10885
|
}
|
|
10886
|
-
function
|
|
10886
|
+
function Er(t, e) {
|
|
10887
10887
|
e !== void 0 && (t === b.BarSeries || t === b.LineSeries || t === b.HistogramSeries) && e.adapter.add("dy", (i, a) => {
|
|
10888
10888
|
const o = a.dataItem, { chart: n } = o?.component ?? {};
|
|
10889
10889
|
return n instanceof ne && (a.visible = !If(a, n)), i ?? 0;
|
|
@@ -10954,7 +10954,7 @@ function Wf(t) {
|
|
|
10954
10954
|
});
|
|
10955
10955
|
};
|
|
10956
10956
|
}
|
|
10957
|
-
function
|
|
10957
|
+
function zr(t) {
|
|
10958
10958
|
t.tabindex = -1;
|
|
10959
10959
|
}
|
|
10960
10960
|
function es(t) {
|
|
@@ -11046,10 +11046,10 @@ function Gf(t) {
|
|
|
11046
11046
|
}
|
|
11047
11047
|
}
|
|
11048
11048
|
function ts(t) {
|
|
11049
|
-
const { chart: e, lineSeries: i, applyPropertiesToClones: a } = t, o = i.bullets.push(new
|
|
11049
|
+
const { chart: e, lineSeries: i, applyPropertiesToClones: a } = t, o = i.bullets.push(new ur());
|
|
11050
11050
|
return lC(o.uid, { isBulletMarker: !0 }), a !== !1 && (o.applyOnClones = !0), i.bulletsContainer.parent = e.seriesContainer, o;
|
|
11051
11051
|
}
|
|
11052
|
-
function
|
|
11052
|
+
function Wr(t) {
|
|
11053
11053
|
const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
|
|
11054
11054
|
switch (o) {
|
|
11055
11055
|
case Ie.Stacked: {
|
|
@@ -11135,7 +11135,7 @@ function XC(t, e) {
|
|
|
11135
11135
|
}
|
|
11136
11136
|
return i;
|
|
11137
11137
|
}
|
|
11138
|
-
function
|
|
11138
|
+
function nc() {
|
|
11139
11139
|
return (t) => {
|
|
11140
11140
|
const e = I(t.chart.uid, "config");
|
|
11141
11141
|
let i = !1;
|
|
@@ -11190,7 +11190,7 @@ function YC(t, e) {
|
|
|
11190
11190
|
};
|
|
11191
11191
|
break;
|
|
11192
11192
|
case b.LineSeries:
|
|
11193
|
-
e === !0 ? i =
|
|
11193
|
+
e === !0 ? i = nc() : i = (a, o) => {
|
|
11194
11194
|
if (a instanceof ue) {
|
|
11195
11195
|
const n = Rt({ chart: a.chart }), s = Oe(a);
|
|
11196
11196
|
let r = 0;
|
|
@@ -11218,7 +11218,7 @@ function YC(t, e) {
|
|
|
11218
11218
|
i = (a) => a instanceof Xe && a.columns.length > 0;
|
|
11219
11219
|
break;
|
|
11220
11220
|
case b.BoxPlotSeries:
|
|
11221
|
-
i =
|
|
11221
|
+
i = nc();
|
|
11222
11222
|
break;
|
|
11223
11223
|
}
|
|
11224
11224
|
return i;
|
|
@@ -11284,7 +11284,7 @@ function qC(t, e) {
|
|
|
11284
11284
|
}
|
|
11285
11285
|
function Ei(t) {
|
|
11286
11286
|
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? st.Active : st.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(st.CustomInactive) ?? e.states.create(st.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? L.selectionTheme ?? {};
|
|
11287
|
-
|
|
11287
|
+
ac(n, r), ac(s, l);
|
|
11288
11288
|
}
|
|
11289
11289
|
function Et(t) {
|
|
11290
11290
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, useNativeState: n, backToDefaultState: s } = t;
|
|
@@ -11313,7 +11313,7 @@ function jf(t) {
|
|
|
11313
11313
|
(c) => c.renderer.labels.template.events.has(B.Hit) && c.renderer.isHover
|
|
11314
11314
|
), r = n || s, i && (l = t.series.values.find((u) => u instanceof _e)?.isHover ?? !1)), !a && !o && !r && !l;
|
|
11315
11315
|
}
|
|
11316
|
-
function
|
|
11316
|
+
function Hr(t, e) {
|
|
11317
11317
|
return t.values.filter((i) => {
|
|
11318
11318
|
let a = !1;
|
|
11319
11319
|
const o = !i.isActive;
|
|
@@ -11325,7 +11325,7 @@ function Wr(t, e) {
|
|
|
11325
11325
|
return a;
|
|
11326
11326
|
});
|
|
11327
11327
|
}
|
|
11328
|
-
function
|
|
11328
|
+
function sc(t, e) {
|
|
11329
11329
|
let i = [];
|
|
11330
11330
|
const { columns: a, chart: o } = t, n = I(o.uid, "config");
|
|
11331
11331
|
if (n && a !== void 0 && t.visible) {
|
|
@@ -11337,7 +11337,7 @@ function nc(t, e) {
|
|
|
11337
11337
|
seriesIndex: e,
|
|
11338
11338
|
chartConfig: n
|
|
11339
11339
|
};
|
|
11340
|
-
l === b.HistogramSeries && e === 0 && (d.xAxisField = r), i =
|
|
11340
|
+
l === b.HistogramSeries && e === 0 && (d.xAxisField = r), i = Hr(a, o).map(
|
|
11341
11341
|
(m) => ({
|
|
11342
11342
|
...d,
|
|
11343
11343
|
element: m,
|
|
@@ -11348,7 +11348,7 @@ function nc(t, e) {
|
|
|
11348
11348
|
}
|
|
11349
11349
|
return i;
|
|
11350
11350
|
}
|
|
11351
|
-
function
|
|
11351
|
+
function rc(t, e) {
|
|
11352
11352
|
let i = [];
|
|
11353
11353
|
if (t.visible) {
|
|
11354
11354
|
const a = Oe(t)?.clones;
|
|
@@ -11365,7 +11365,7 @@ function sc(t, e) {
|
|
|
11365
11365
|
seriesIndex: e,
|
|
11366
11366
|
chartConfig: n
|
|
11367
11367
|
};
|
|
11368
|
-
i =
|
|
11368
|
+
i = Hr(a, o).map(
|
|
11369
11369
|
(d) => ({
|
|
11370
11370
|
...u,
|
|
11371
11371
|
element: d,
|
|
@@ -11391,7 +11391,7 @@ function _C(t) {
|
|
|
11391
11391
|
chartConfig: a
|
|
11392
11392
|
};
|
|
11393
11393
|
let r;
|
|
11394
|
-
e =
|
|
11394
|
+
e = Hr(t.slices, i).map(
|
|
11395
11395
|
(l) => {
|
|
11396
11396
|
const c = l.dataItem?.dataContext ?? {};
|
|
11397
11397
|
return Di(c) && (r = Bo({
|
|
@@ -11536,7 +11536,7 @@ async function JC(t) {
|
|
|
11536
11536
|
let r = [];
|
|
11537
11537
|
if (n.visible && _(n.uid, "isOverlay") !== !0) {
|
|
11538
11538
|
const l = z(i?.series, s);
|
|
11539
|
-
l === b.BarSeries || l === b.HistogramSeries ? r =
|
|
11539
|
+
l === b.BarSeries || l === b.HistogramSeries ? r = sc(n, s) : l === b.LineSeries || l === b.ScatterSeries && _(n.uid, "isOverlay") !== !0 ? r = rc(n, s) : l === b.PieSeries ? r = _C(n) : l === b.BoxPlotSeries && (n instanceof _e ? r = sc(n, s) : n instanceof ue && !(n instanceof vt) && (r = rc(n, s)));
|
|
11540
11540
|
}
|
|
11541
11541
|
return r;
|
|
11542
11542
|
}
|
|
@@ -11573,7 +11573,7 @@ function di(t) {
|
|
|
11573
11573
|
}
|
|
11574
11574
|
}
|
|
11575
11575
|
function tv(t, e) {
|
|
11576
|
-
const i = new
|
|
11576
|
+
const i = new fr();
|
|
11577
11577
|
return i.width = ot(100), i.height = ot(100), i.background.fill = rt(e ?? L.loaderBackground), i.parent = t, i;
|
|
11578
11578
|
}
|
|
11579
11579
|
function iv(t) {
|
|
@@ -11607,7 +11607,7 @@ function sv(t, e) {
|
|
|
11607
11607
|
c && (o === void 0 && a !== void 0 && (o = ov(a)), i !== void 0 && (Q(i), t instanceof ne && (t.zoomOutButton.disabled = !0)));
|
|
11608
11608
|
}
|
|
11609
11609
|
return n(), { loaderElements: {
|
|
11610
|
-
loaderContainer: i ?? new
|
|
11610
|
+
loaderContainer: i ?? new fr(),
|
|
11611
11611
|
loaderPolygon: a ?? new wd()
|
|
11612
11612
|
}, loaderHandle: {
|
|
11613
11613
|
hideLoader: n,
|
|
@@ -11729,7 +11729,7 @@ function dv(t) {
|
|
|
11729
11729
|
let d = "";
|
|
11730
11730
|
if (e && o !== void 0) {
|
|
11731
11731
|
let m = r;
|
|
11732
|
-
m === void 0 && (m =
|
|
11732
|
+
m === void 0 && (m = Nc(), m.intlOptions.minimumFractionDigits = 2, m.intlOptions.maximumFractionDigits = 2), d = ra({
|
|
11733
11733
|
value: o,
|
|
11734
11734
|
valueFormat: m,
|
|
11735
11735
|
iLocale: i.chart.language.locale,
|
|
@@ -11874,7 +11874,7 @@ function fv(t) {
|
|
|
11874
11874
|
switch (C) {
|
|
11875
11875
|
case P.BarAndLineFromFields: {
|
|
11876
11876
|
Z.pop();
|
|
11877
|
-
const oe =
|
|
11877
|
+
const oe = xr({
|
|
11878
11878
|
config: g,
|
|
11879
11879
|
fieldName: De(i, V ?? ""),
|
|
11880
11880
|
utilsStrings: r
|
|
@@ -11890,7 +11890,7 @@ function fv(t) {
|
|
|
11890
11890
|
case P.BarAndLineSplitByNoAggregation:
|
|
11891
11891
|
case P.BarAndLineSplitBy:
|
|
11892
11892
|
{
|
|
11893
|
-
const oe = ki(s.query?.where, !1), ie =
|
|
11893
|
+
const oe = ki(s.query?.where, !1), ie = Mc({
|
|
11894
11894
|
value: De(i, oe)
|
|
11895
11895
|
});
|
|
11896
11896
|
Z.push(
|
|
@@ -11912,7 +11912,7 @@ function Qf(t) {
|
|
|
11912
11912
|
barAndLineTooltipFormatter: i ?? fv(t)
|
|
11913
11913
|
});
|
|
11914
11914
|
}
|
|
11915
|
-
function
|
|
11915
|
+
function Gr(t) {
|
|
11916
11916
|
const { target: e, defaultTooltipHTML: i, candleStickSeries: a, meanLineSeries: o, outliersSeries: n, tooltipCallback: s } = t;
|
|
11917
11917
|
let r = i;
|
|
11918
11918
|
const l = a ?? o;
|
|
@@ -12031,7 +12031,7 @@ function hv(t) {
|
|
|
12031
12031
|
function pv(t) {
|
|
12032
12032
|
t.cursorTooltipEnabled = !1, t.tooltipPosition = L.columnTooltipPosition, t.columns.template.tooltipHTML = L.htmlEmptyContent, t.columns.template.adapter.add(
|
|
12033
12033
|
"tooltipHTML",
|
|
12034
|
-
(e, i) =>
|
|
12034
|
+
(e, i) => Gr({
|
|
12035
12035
|
target: i,
|
|
12036
12036
|
defaultTooltipHTML: e ?? "",
|
|
12037
12037
|
candleStickSeries: t,
|
|
@@ -12043,7 +12043,7 @@ function bv(t, e) {
|
|
|
12043
12043
|
const i = Oe(t);
|
|
12044
12044
|
i !== void 0 && (i.tooltipPosition = L.markerTooltipPosition, i.tooltipHTML = L.htmlEmptyContent, t.cursorTooltipEnabled = !1, i.adapter.add(
|
|
12045
12045
|
"tooltipHTML",
|
|
12046
|
-
(a, o) =>
|
|
12046
|
+
(a, o) => Gr({
|
|
12047
12047
|
target: o,
|
|
12048
12048
|
defaultTooltipHTML: a ?? "",
|
|
12049
12049
|
candleStickSeries: e,
|
|
@@ -12056,7 +12056,7 @@ function yv(t) {
|
|
|
12056
12056
|
const e = Oe(t);
|
|
12057
12057
|
e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition = L.markerTooltipPosition, e.tooltipHTML = L.htmlEmptyContent, e.adapter.add(
|
|
12058
12058
|
"tooltipHTML",
|
|
12059
|
-
(i, a) =>
|
|
12059
|
+
(i, a) => Gr({
|
|
12060
12060
|
target: a,
|
|
12061
12061
|
defaultTooltipHTML: i ?? "",
|
|
12062
12062
|
meanLineSeries: t,
|
|
@@ -12127,7 +12127,7 @@ function xv(t) {
|
|
|
12127
12127
|
escape: !1
|
|
12128
12128
|
}), p = De(i, a.x);
|
|
12129
12129
|
let S;
|
|
12130
|
-
a.x !==
|
|
12130
|
+
a.x !== Ks && (S = li(p, c?.[0].title?.content.text));
|
|
12131
12131
|
const x = bt(r.rtl);
|
|
12132
12132
|
s = (C) => {
|
|
12133
12133
|
const { dataContext: v, xValue: F } = C, T = Kf({
|
|
@@ -12222,7 +12222,7 @@ function Cv(t) {
|
|
|
12222
12222
|
}
|
|
12223
12223
|
function vv(t) {
|
|
12224
12224
|
const e = Vt(L.dataLabelInitialize);
|
|
12225
|
-
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e),
|
|
12225
|
+
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), zr(e), Er(b.LineSeries, e), zf(b.LineSeries, e), Ns(e, t), e.html = "{valueX}", e;
|
|
12226
12226
|
}
|
|
12227
12227
|
function Lv(t) {
|
|
12228
12228
|
const { series: e } = t, i = To(e, "bullets");
|
|
@@ -12234,7 +12234,7 @@ function Lv(t) {
|
|
|
12234
12234
|
});
|
|
12235
12235
|
}
|
|
12236
12236
|
function Fv(t, e) {
|
|
12237
|
-
e !== void 0 && (e.layout !== void 0 && (t.layout = e.layout), e.width !== void 0 && (t.width =
|
|
12237
|
+
e !== void 0 && (e.layout !== void 0 && (t.layout = e.layout), e.width !== void 0 && (t.width = ic(e.width)), e.height !== void 0 && (t.height = ic(e.height)), e.paddingTop !== void 0 && (t.paddingTop = e.paddingTop), e.paddingBottom !== void 0 && (t.paddingBottom = e.paddingBottom));
|
|
12238
12238
|
}
|
|
12239
12239
|
function Av(t) {
|
|
12240
12240
|
let e = !1;
|
|
@@ -12242,7 +12242,7 @@ function Av(t) {
|
|
|
12242
12242
|
return e = i !== !1 && o !== !1 && a !== void 0 && a.length > 0, e;
|
|
12243
12243
|
}
|
|
12244
12244
|
function Jf(t, e) {
|
|
12245
|
-
const i = new
|
|
12245
|
+
const i = new fr();
|
|
12246
12246
|
return Fv(i, t), i.parent = e, i;
|
|
12247
12247
|
}
|
|
12248
12248
|
function em(t, e) {
|
|
@@ -12285,7 +12285,7 @@ function Iv(t, e) {
|
|
|
12285
12285
|
i(t, e);
|
|
12286
12286
|
});
|
|
12287
12287
|
}
|
|
12288
|
-
function
|
|
12288
|
+
function Xr(t) {
|
|
12289
12289
|
const {
|
|
12290
12290
|
iLocale: e,
|
|
12291
12291
|
pieChart: i,
|
|
@@ -12335,7 +12335,7 @@ function wv(t) {
|
|
|
12335
12335
|
function $v(t) {
|
|
12336
12336
|
t.events.on(B.LayoutValidated, () => {
|
|
12337
12337
|
const e = tm(t), i = wv(t), a = e || !i ? se.Right : se.Center;
|
|
12338
|
-
t.valueLabels.template.horizontalCenter =
|
|
12338
|
+
t.valueLabels.template.horizontalCenter = Nr(a), t.valueLabels.template.align = $f(a);
|
|
12339
12339
|
});
|
|
12340
12340
|
}
|
|
12341
12341
|
function Dv(t) {
|
|
@@ -12375,7 +12375,7 @@ function Ov(t) {
|
|
|
12375
12375
|
const { numericValueFormat: d, percentValueFormat: m, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = c ?? L.pieChart.displayCategoryOnLegend, x = r ?? L.pieChart.displayNumericValueOnLegend, C = l ?? L.pieChart.displayPercentageOnLegend;
|
|
12376
12376
|
let v = o;
|
|
12377
12377
|
if (o === void 0) {
|
|
12378
|
-
const k =
|
|
12378
|
+
const k = Xr({
|
|
12379
12379
|
iLocale: e.language.locale,
|
|
12380
12380
|
pieChart: e.baseSprite,
|
|
12381
12381
|
valueIntlOptions: d?.intlOptions,
|
|
@@ -12435,14 +12435,14 @@ function Bv(t) {
|
|
|
12435
12435
|
};
|
|
12436
12436
|
t.events.on(B.Validated, e), e();
|
|
12437
12437
|
}
|
|
12438
|
-
function
|
|
12438
|
+
function lc(t, e) {
|
|
12439
12439
|
const { legendLabelReducedOpacity: i } = L.legendProperties;
|
|
12440
12440
|
t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
|
|
12441
12441
|
}
|
|
12442
12442
|
function Ta(t) {
|
|
12443
12443
|
const { labels: e, seriesId: i, sliceCategory: a } = t;
|
|
12444
12444
|
e.each((o) => {
|
|
12445
|
-
a !== void 0 ? a === o.dataItem.category &&
|
|
12445
|
+
a !== void 0 ? a === o.dataItem.category && lc(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && lc(o, o.dataItem?.component?.visible ?? !0);
|
|
12446
12446
|
});
|
|
12447
12447
|
}
|
|
12448
12448
|
function Eo(t) {
|
|
@@ -12567,7 +12567,7 @@ function zv(t, e) {
|
|
|
12567
12567
|
else if (o instanceof _e) {
|
|
12568
12568
|
const r = o.id, l = zo(e, r);
|
|
12569
12569
|
if (l !== void 0) {
|
|
12570
|
-
const m = I(e.uid, "config"), g =
|
|
12570
|
+
const m = I(e.uid, "config"), g = Ur(m?.showOutliers, a), h = Oe(l);
|
|
12571
12571
|
h !== void 0 && (h.disabled = !g), Q(l, g);
|
|
12572
12572
|
}
|
|
12573
12573
|
const { topStepLineSeries: c, medianStepLineSeries: u, bottomStepLineSeries: d } = os(
|
|
@@ -12672,7 +12672,7 @@ function Yv(t) {
|
|
|
12672
12672
|
typeof d == "string" ? n = d : d && typeof d != "object" && (n = d.toString());
|
|
12673
12673
|
} else a.dataItem?.component instanceof jg && (n = a.dataItem.component.name);
|
|
12674
12674
|
}
|
|
12675
|
-
return (n !== void 0 && !ye(n) ?
|
|
12675
|
+
return (n !== void 0 && !ye(n) ? tr(n) : n) ?? o;
|
|
12676
12676
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
12677
12677
|
let a = i, o;
|
|
12678
12678
|
return t.baseSprite instanceof Le && (o = I(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === Y.Right || t.position === Y.Left ? a = o ?? L.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
@@ -12698,7 +12698,7 @@ function jo(t, e) {
|
|
|
12698
12698
|
return a;
|
|
12699
12699
|
});
|
|
12700
12700
|
}
|
|
12701
|
-
function
|
|
12701
|
+
function cc(t) {
|
|
12702
12702
|
t.markers.each((e) => {
|
|
12703
12703
|
const i = e.children.getIndex(0);
|
|
12704
12704
|
i instanceof oh && (jo(i, "cornerRadiusBottomLeft"), jo(i, "cornerRadiusBottomRight"), jo(i, "cornerRadiusTopLeft"), jo(i, "cornerRadiusTopRight"), i.validate());
|
|
@@ -12706,9 +12706,9 @@ function lc(t) {
|
|
|
12706
12706
|
}
|
|
12707
12707
|
function qv(t) {
|
|
12708
12708
|
t.markers.template.events.on(B.Inited, () => {
|
|
12709
|
-
|
|
12709
|
+
cc(t);
|
|
12710
12710
|
}), t.events.once(B.Validated, () => {
|
|
12711
|
-
|
|
12711
|
+
cc(t);
|
|
12712
12712
|
});
|
|
12713
12713
|
}
|
|
12714
12714
|
function _v(t) {
|
|
@@ -12766,8 +12766,8 @@ function eL(t, e) {
|
|
|
12766
12766
|
om(i, o?.disableTogglingLegendItems);
|
|
12767
12767
|
}), { legend: i, legendTitle: a };
|
|
12768
12768
|
}
|
|
12769
|
-
function
|
|
12770
|
-
const { legendElements: e, seriesConfig: i, webChartLegend: a } = t, { legend: o, legendTitle: n } = e, s = o.baseSprite, l = (s === void 0 ? !0 :
|
|
12769
|
+
function Yr(t) {
|
|
12770
|
+
const { legendElements: e, seriesConfig: i, webChartLegend: a } = t, { legend: o, legendTitle: n } = e, s = o.baseSprite, l = (s === void 0 ? !0 : Bc(i)) && a?.visible !== !1;
|
|
12771
12771
|
if (s !== void 0 && a !== void 0 && l) {
|
|
12772
12772
|
const { position: c = L.legendProperties.position } = a;
|
|
12773
12773
|
Q(o, !0), Xv({
|
|
@@ -12832,7 +12832,7 @@ function iL(t) {
|
|
|
12832
12832
|
d === void 0 && (d = m, d.color = s), n ? d.color = s : d.color ??= s;
|
|
12833
12833
|
const g = /* @__PURE__ */ new Set();
|
|
12834
12834
|
let h;
|
|
12835
|
-
|
|
12835
|
+
Vr({ element: l, markerSymbol: d }), l.clones.each((y) => {
|
|
12836
12836
|
if (y.dataItem instanceof ia)
|
|
12837
12837
|
y.states.getKey(st.CustomActive)?.reset(), y.states.getKey(st.CustomInactive)?.reset();
|
|
12838
12838
|
else {
|
|
@@ -12922,11 +12922,11 @@ function rm(t) {
|
|
|
12922
12922
|
}
|
|
12923
12923
|
function oL(t) {
|
|
12924
12924
|
const { seriesConfig: e, lineSeries: i, isRotated: a } = t;
|
|
12925
|
-
e.lineSmoothed === !0 ? i.smoothing = a ?
|
|
12925
|
+
e.lineSmoothed === !0 ? i.smoothing = a ? fl.MonotoneY : fl.MonotoneX : i.smoothing = L.lineSeries.lineSmoothedKind;
|
|
12926
12926
|
}
|
|
12927
|
-
function
|
|
12927
|
+
function dc(t, e) {
|
|
12928
12928
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
12929
|
-
t.connect = i !== !1 && o !==
|
|
12929
|
+
t.connect = i !== !1 && o !== Ic.Null;
|
|
12930
12930
|
}
|
|
12931
12931
|
function nL(t) {
|
|
12932
12932
|
const {
|
|
@@ -12945,12 +12945,12 @@ function nL(t) {
|
|
|
12945
12945
|
i.id = e.id, Q(i, m);
|
|
12946
12946
|
let x = g;
|
|
12947
12947
|
const C = i.dataFields?.customValue ?? "";
|
|
12948
|
-
(S === P.BarAndLineSplitBy || S === P.BarAndLineSplitByNoAggregation) && (x =
|
|
12948
|
+
(S === P.BarAndLineSplitBy || S === P.BarAndLineSplitByNoAggregation) && (x = Zs({
|
|
12949
12949
|
subtypeInfo: s,
|
|
12950
12950
|
fieldList: r,
|
|
12951
12951
|
fieldName: ki(C),
|
|
12952
12952
|
fieldValueToMatch: x
|
|
12953
|
-
}) ?? x), Kt(i, x),
|
|
12953
|
+
}) ?? x), Kt(i, x), dc(i, e), Wr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: p }), dc(i, e), la({
|
|
12954
12954
|
// TODO: Remove the type assertion and correct the typings
|
|
12955
12955
|
styleCallback: rm,
|
|
12956
12956
|
callbackProps: t,
|
|
@@ -12988,7 +12988,7 @@ function os(t, e) {
|
|
|
12988
12988
|
function zo(t, e) {
|
|
12989
12989
|
return t.series.values.find((i) => i.id === `${e}_${me.Outliers}`);
|
|
12990
12990
|
}
|
|
12991
|
-
function
|
|
12991
|
+
function Ur(t, e) {
|
|
12992
12992
|
return (t ?? L.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
12993
12993
|
}
|
|
12994
12994
|
function sL(t) {
|
|
@@ -13042,7 +13042,7 @@ function io(t) {
|
|
|
13042
13042
|
});
|
|
13043
13043
|
T ? (a.dataFields.valueX = E, a.dataFields.categoryY = g) : (a.dataFields.valueY = E, a.dataFields.categoryX = g), a.dataFields.customValue = N;
|
|
13044
13044
|
}
|
|
13045
|
-
const k =
|
|
13045
|
+
const k = ar(e), $ = U(k.series), O = F === !0 ? void 0 : i?.query?.where, D = {
|
|
13046
13046
|
y: $ === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
13047
13047
|
chartSubType: $,
|
|
13048
13048
|
splitBy: O,
|
|
@@ -13181,7 +13181,7 @@ function uL(t) {
|
|
|
13181
13181
|
if (n !== void 0) {
|
|
13182
13182
|
const s = Oe(n);
|
|
13183
13183
|
if (s !== void 0) {
|
|
13184
|
-
const r =
|
|
13184
|
+
const r = Ur(a, i.visible), l = {
|
|
13185
13185
|
type: te.SMS,
|
|
13186
13186
|
style: xt.Circle,
|
|
13187
13187
|
color: o.color,
|
|
@@ -13191,7 +13191,7 @@ function uL(t) {
|
|
|
13191
13191
|
const u = e.dataItems.values.find(
|
|
13192
13192
|
(d) => (d.categories.categoryX ?? d.categories.categoryY) === (c.dataItem?.categories.categoryX ?? c.dataItem?.categories.categoryY)
|
|
13193
13193
|
)?.column.fill;
|
|
13194
|
-
|
|
13194
|
+
Vr({
|
|
13195
13195
|
element: c,
|
|
13196
13196
|
markerSymbol: {
|
|
13197
13197
|
...l,
|
|
@@ -13209,12 +13209,12 @@ function fL(t) {
|
|
|
13209
13209
|
let c, u, d;
|
|
13210
13210
|
const m = /* @__PURE__ */ new Set();
|
|
13211
13211
|
let g = !1;
|
|
13212
|
-
const h = i.fillSymbol ??
|
|
13212
|
+
const h = i.fillSymbol ?? Js(a);
|
|
13213
13213
|
if (e.columns.length === 0 ? (d = Ai({
|
|
13214
13214
|
seriesConfig: i,
|
|
13215
13215
|
seriesIndex: a,
|
|
13216
13216
|
seriesSymbol: h,
|
|
13217
|
-
element: new
|
|
13217
|
+
element: new ur(),
|
|
13218
13218
|
colorMatch: s,
|
|
13219
13219
|
isChartFillSymbol: !0
|
|
13220
13220
|
}), c = d.symbolWithColorInfo, u = d.stylingInfo) : e.columns.each((y) => {
|
|
@@ -13346,7 +13346,7 @@ function bL(t) {
|
|
|
13346
13346
|
if (m !== void 0) {
|
|
13347
13347
|
const g = Oe(m);
|
|
13348
13348
|
if (g !== void 0) {
|
|
13349
|
-
const h =
|
|
13349
|
+
const h = Ur(s, a.visible);
|
|
13350
13350
|
g.disabled = !h, hL({
|
|
13351
13351
|
outliersSeries: m,
|
|
13352
13352
|
chartData: o,
|
|
@@ -13579,7 +13579,7 @@ function ao(t) {
|
|
|
13579
13579
|
});
|
|
13580
13580
|
}
|
|
13581
13581
|
function FL(t) {
|
|
13582
|
-
|
|
13582
|
+
Ec(), ad(t.htmlContainer), ao({ chart: t });
|
|
13583
13583
|
}
|
|
13584
13584
|
function AL(t) {
|
|
13585
13585
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
@@ -13650,7 +13650,7 @@ function kL(t) {
|
|
|
13650
13650
|
groupOfSlicesDataContext: v
|
|
13651
13651
|
}) ?? []).forEach(($) => {
|
|
13652
13652
|
s.forEach((O) => {
|
|
13653
|
-
|
|
13653
|
+
br({
|
|
13654
13654
|
layerOidField: r,
|
|
13655
13655
|
sliceDataContext: $,
|
|
13656
13656
|
selectionDataContext: O,
|
|
@@ -14148,13 +14148,13 @@ function ML(t, e) {
|
|
|
14148
14148
|
}), e.padding(0, 10, 0, 10));
|
|
14149
14149
|
}
|
|
14150
14150
|
function NL(t, e) {
|
|
14151
|
-
const i = t.renderer instanceof En ? new
|
|
14151
|
+
const i = t.renderer instanceof En ? new cr() : new lr();
|
|
14152
14152
|
return i.disabled = !0, i.axis = t, Jn(i), ci(i.uid, { isGuide: e }), ko({ chart: t.chart, label: i, labelType: ae.GuideLabel }), e && ML(t, i), i;
|
|
14153
14153
|
}
|
|
14154
14154
|
function PL(t) {
|
|
14155
14155
|
const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof wt;
|
|
14156
14156
|
let n;
|
|
14157
|
-
e instanceof
|
|
14157
|
+
e instanceof cr || (o ? a === te.SFS ? n = L.verticalSurfaceGuideLabels : n = L.verticalLineGuideLabels : a === te.SFS ? n = L.horizontalSurfaceGuideLabels : n = L.horizontalLineGuideLabels);
|
|
14158
14158
|
const s = { ...i };
|
|
14159
14159
|
s.content.rightToLeft = e.axis.rtl, Tt({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
|
|
14160
14160
|
}
|
|
@@ -14173,7 +14173,7 @@ function VL(t, e, i) {
|
|
|
14173
14173
|
);
|
|
14174
14174
|
if (c !== void 0) {
|
|
14175
14175
|
let u = "", d;
|
|
14176
|
-
r instanceof
|
|
14176
|
+
r instanceof dr ? (u = r.value, d = r.endValue) : r instanceof Pa ? (u = r.category, d = r.endCategory) : r instanceof Vn && (u = r.date, d = r.endDate), s = c({
|
|
14177
14177
|
guideName: r.id ?? "",
|
|
14178
14178
|
start: u,
|
|
14179
14179
|
end: d,
|
|
@@ -14209,7 +14209,7 @@ function EL(t, e) {
|
|
|
14209
14209
|
}
|
|
14210
14210
|
y = v.format(o, F), n !== void 0 && (p = v.format(n, F));
|
|
14211
14211
|
} else if (t instanceof ve && !(o instanceof Date) && !(n instanceof Date)) {
|
|
14212
|
-
const { start: v, end: F } =
|
|
14212
|
+
const { start: v, end: F } = jr(t, h?.[s]);
|
|
14213
14213
|
Number.isFinite(v) && (y = v), Number.isFinite(F) && (p = F);
|
|
14214
14214
|
const T = nt(t.uid, "numberFormatter") ?? ((k) => new Ad().format(k));
|
|
14215
14215
|
y = T(y), p !== void 0 && (p = T(p));
|
|
@@ -14235,7 +14235,7 @@ function WL(t) {
|
|
|
14235
14235
|
let e = Ia.Value;
|
|
14236
14236
|
return t instanceof ze ? e = Ia.Date : t instanceof lt && (e = Ia.Category), e;
|
|
14237
14237
|
}
|
|
14238
|
-
function
|
|
14238
|
+
function uc(t) {
|
|
14239
14239
|
const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
|
|
14240
14240
|
let n = e;
|
|
14241
14241
|
if (e != null)
|
|
@@ -14255,16 +14255,16 @@ function dc(t) {
|
|
|
14255
14255
|
}
|
|
14256
14256
|
return n;
|
|
14257
14257
|
}
|
|
14258
|
-
function
|
|
14258
|
+
function jr(t, e) {
|
|
14259
14259
|
const { start: i, end: a } = e ?? {};
|
|
14260
14260
|
let o;
|
|
14261
14261
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
14262
|
-
const n = WL(t), s = t instanceof ve ? t.min : void 0, r = t instanceof ve ? t.max : void 0, l =
|
|
14262
|
+
const n = WL(t), s = t instanceof ve ? t.min : void 0, r = t instanceof ve ? t.max : void 0, l = uc({
|
|
14263
14263
|
inputValue: i,
|
|
14264
14264
|
axisType: n,
|
|
14265
14265
|
axisMin: s,
|
|
14266
14266
|
axisMax: r
|
|
14267
|
-
}), c = e.style?.type === te.SFS && a !== null && a !== void 0 ?
|
|
14267
|
+
}), c = e.style?.type === te.SFS && a !== null && a !== void 0 ? uc({
|
|
14268
14268
|
inputValue: a,
|
|
14269
14269
|
axisType: n,
|
|
14270
14270
|
axisMin: s,
|
|
@@ -14323,14 +14323,14 @@ function um(t, e) {
|
|
|
14323
14323
|
o !== -1 && (i = o);
|
|
14324
14324
|
}
|
|
14325
14325
|
let a;
|
|
14326
|
-
return t instanceof lt ? a = new Pa() : t instanceof ze ? a = new Vn() : a = new
|
|
14326
|
+
return t instanceof lt ? a = new Pa() : t instanceof ze ? a = new Vn() : a = new dr(), t.axisRanges.insertIndex(i, a), a.label = NL(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
14327
14327
|
}
|
|
14328
14328
|
function HL(t, e) {
|
|
14329
14329
|
const i = um(t, !0);
|
|
14330
14330
|
VL(i, e, t), i.tick !== void 0 && (i.tick.disabled = !0), i.label !== void 0 && (i.label.inside = !0), i.grid !== void 0 && (i.grid.disabled = !0);
|
|
14331
14331
|
}
|
|
14332
14332
|
function GL(t, e) {
|
|
14333
|
-
const { start: i, end: a } = e, o = I(t.uid, "config"), n =
|
|
14333
|
+
const { start: i, end: a } = e, o = I(t.uid, "config"), n = ir(o);
|
|
14334
14334
|
let s = i !== null ? i : void 0;
|
|
14335
14335
|
s = t.data.find((c) => c[L.originalCategoryValue] === i)?.[n] ?? s;
|
|
14336
14336
|
let l = a !== null ? a : void 0;
|
|
@@ -14357,7 +14357,7 @@ function XL(t, e) {
|
|
|
14357
14357
|
end: r ?? a
|
|
14358
14358
|
};
|
|
14359
14359
|
} else
|
|
14360
|
-
n =
|
|
14360
|
+
n = jr(t.axisFill.axis, e);
|
|
14361
14361
|
n.isValidGuide && (t instanceof Pa ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof Vn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
|
|
14362
14362
|
}
|
|
14363
14363
|
}
|
|
@@ -14431,7 +14431,7 @@ function KL(t) {
|
|
|
14431
14431
|
const e = um(t, !1);
|
|
14432
14432
|
e.label.inside = !1, e.grid.disabled = !0, e.label.html = L.htmlEmptyContent, e.label.adapter.add(
|
|
14433
14433
|
"htmlOutput",
|
|
14434
|
-
(i, a) =>
|
|
14434
|
+
(i, a) => Mr(t, a?.dataItem?.value ?? i)
|
|
14435
14435
|
);
|
|
14436
14436
|
}
|
|
14437
14437
|
function QL(t) {
|
|
@@ -14640,14 +14640,14 @@ function f0(t) {
|
|
|
14640
14640
|
function m0(t) {
|
|
14641
14641
|
c0(t), d0(t), f0(t);
|
|
14642
14642
|
}
|
|
14643
|
-
function
|
|
14643
|
+
function fc(t) {
|
|
14644
14644
|
n0(t), t.renderer.labels.template.paddingLeft = 0, t.renderer.labels.template.paddingRight = 0, t.renderer.labels.template.maxWidth = Number.NaN;
|
|
14645
14645
|
const e = Ye(s0, L.debounceTime, {
|
|
14646
14646
|
leading: !0
|
|
14647
14647
|
});
|
|
14648
14648
|
et(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(B.Validated, e), t.dispatchImmediately(B.Validated);
|
|
14649
14649
|
}
|
|
14650
|
-
function
|
|
14650
|
+
function mc(t, e = 1) {
|
|
14651
14651
|
t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
|
|
14652
14652
|
const i = Ye((a) => r0(a, e), L.debounceTime);
|
|
14653
14653
|
et(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(B.DataRangeChanged, i);
|
|
@@ -14674,16 +14674,16 @@ function p0(t) {
|
|
|
14674
14674
|
case ke.Hide:
|
|
14675
14675
|
break;
|
|
14676
14676
|
case ke.Stagger:
|
|
14677
|
-
h0(e),
|
|
14677
|
+
h0(e), mc(e, 1.5);
|
|
14678
14678
|
break;
|
|
14679
14679
|
case ke.Wrap:
|
|
14680
|
-
|
|
14680
|
+
mc(e);
|
|
14681
14681
|
break;
|
|
14682
14682
|
case ke.Rotate:
|
|
14683
|
-
|
|
14683
|
+
fc(e);
|
|
14684
14684
|
break;
|
|
14685
14685
|
default:
|
|
14686
|
-
o.content.angle !== null && o.content.angle === void 0 &&
|
|
14686
|
+
o.content.angle !== null && o.content.angle === void 0 && fc(e);
|
|
14687
14687
|
break;
|
|
14688
14688
|
}
|
|
14689
14689
|
} else e.renderer instanceof Va && (a !== ke.Hide ? g0(e) : u0(e));
|
|
@@ -14713,12 +14713,12 @@ function b0(t) {
|
|
|
14713
14713
|
}), l.axis.invalidateLabels();
|
|
14714
14714
|
}
|
|
14715
14715
|
}
|
|
14716
|
-
function
|
|
14716
|
+
function qr(t) {
|
|
14717
14717
|
return (t ?? jc()) === Ie.Side;
|
|
14718
14718
|
}
|
|
14719
14719
|
function hm(t, e) {
|
|
14720
14720
|
let i, a;
|
|
14721
|
-
const o = To(t, "bullets"), n = To(t, "columns"), s =
|
|
14721
|
+
const o = To(t, "bullets"), n = To(t, "columns"), s = qr(e);
|
|
14722
14722
|
return s && o !== void 0 ? (i = o, a = n) : s || (i = n, a = o), { labelToRender: i, labelToHide: a };
|
|
14723
14723
|
}
|
|
14724
14724
|
function y0(t, e = !0) {
|
|
@@ -14736,7 +14736,7 @@ function S0(t, e) {
|
|
|
14736
14736
|
Fo(s) && s.validate();
|
|
14737
14737
|
});
|
|
14738
14738
|
}, L.debounceTime)
|
|
14739
|
-
), n.html = "{valueX}", o.html = "{valueX}",
|
|
14739
|
+
), n.html = "{valueX}", o.html = "{valueX}", zr(o), qr(e) ? (i = o, a = n) : (i = n, a = o), Er(b.BarSeries, o), zf(b.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
|
|
14740
14740
|
}
|
|
14741
14741
|
function x0(t) {
|
|
14742
14742
|
const { series: e, stackedType: i, isRotated: a, hideOversizedStackedLabels: o, hideOversizedSideBySideLabels: n } = t;
|
|
@@ -14746,7 +14746,7 @@ function x0(t) {
|
|
|
14746
14746
|
s = u, r = d;
|
|
14747
14747
|
}
|
|
14748
14748
|
let l = L.dataLabel, c = !0;
|
|
14749
|
-
|
|
14749
|
+
qr(i) ? (l = a === !0 ? L.dataLabelRotated : L.dataLabel, c = n === !0) : (l = a === !0 ? L.dataLabelStackedRotated : L.dataLabelStackedNonRotated, c = o !== !1), y0(s, c), r !== void 0 && (r.visible = !1, r.disabled = !0), s.html = "{valueX}", es({
|
|
14750
14750
|
...t,
|
|
14751
14751
|
dataLabel: s,
|
|
14752
14752
|
labelDefaults: l,
|
|
@@ -14758,7 +14758,7 @@ function C0(t) {
|
|
|
14758
14758
|
const e = t.tooltip;
|
|
14759
14759
|
e !== void 0 && !(t instanceof ze) && (e.label.adapter.add("html", (i, a) => {
|
|
14760
14760
|
let o = i ?? "";
|
|
14761
|
-
return t instanceof ve ? o =
|
|
14761
|
+
return t instanceof ve ? o = Mr(t, a.properties?.text ?? i ?? "") : t instanceof lt && (o = Tf({
|
|
14762
14762
|
axis: t,
|
|
14763
14763
|
defaultOutput: i ?? "",
|
|
14764
14764
|
dataItem: e.dataItem
|
|
@@ -14769,11 +14769,11 @@ function Ps(t) {
|
|
|
14769
14769
|
const { axis: e, start: i, end: a } = t;
|
|
14770
14770
|
e.zoom({ start: i ?? 0, end: a ?? 1 });
|
|
14771
14771
|
}
|
|
14772
|
-
function
|
|
14772
|
+
function gc(t) {
|
|
14773
14773
|
t !== void 0 && (t.start = 0, t.end = 1);
|
|
14774
14774
|
}
|
|
14775
|
-
function
|
|
14776
|
-
t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => Ps({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => Ps({ axis: e })),
|
|
14775
|
+
function _r(t) {
|
|
14776
|
+
t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => Ps({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => Ps({ axis: e })), gc(t.scrollbarX), gc(t.scrollbarY), Q(t.zoomOutButton, !1));
|
|
14777
14777
|
}
|
|
14778
14778
|
function Ca(t, e) {
|
|
14779
14779
|
return t instanceof wt && e !== !0 || t instanceof Va && e === !0;
|
|
@@ -14856,7 +14856,7 @@ function T0(t) {
|
|
|
14856
14856
|
o && n && (a = !0), Q(m, a), Q(g, a), Q(h, a);
|
|
14857
14857
|
}
|
|
14858
14858
|
}
|
|
14859
|
-
function
|
|
14859
|
+
function hc(t) {
|
|
14860
14860
|
const { axis: e, axisMinimum: i, axisMaximum: a } = t;
|
|
14861
14861
|
let o;
|
|
14862
14862
|
if (e instanceof ve && a !== void 0 && i !== void 0) {
|
|
@@ -14864,8 +14864,8 @@ function gc(t) {
|
|
|
14864
14864
|
for (let m = 0; m < n.length; m += 1) {
|
|
14865
14865
|
const g = n[m], { value: h, endValue: y, axisFill: p, grid: S, label: x } = g;
|
|
14866
14866
|
if (je(x?.uid, "isGuide") === !0) {
|
|
14867
|
-
if (o = g.visible, o && g instanceof
|
|
14868
|
-
const { start: v, end: F } =
|
|
14867
|
+
if (o = g.visible, o && g instanceof dr) {
|
|
14868
|
+
const { start: v, end: F } = jr(e, d?.[m]), T = Math.min(h, y, v ?? h, F ?? y), k = Math.max(h, y, v ?? h, F ?? y);
|
|
14869
14869
|
T < i && k < i || T > a && k > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = k > a ? a : k);
|
|
14870
14870
|
}
|
|
14871
14871
|
Q(p, o), Q(S, o), Q(x, o);
|
|
@@ -14874,11 +14874,11 @@ function gc(t) {
|
|
|
14874
14874
|
}
|
|
14875
14875
|
}
|
|
14876
14876
|
function k0(t) {
|
|
14877
|
-
t instanceof ve ? (t.adapter.add("min", (e) => (
|
|
14877
|
+
t instanceof ve ? (t.adapter.add("min", (e) => (hc({
|
|
14878
14878
|
axis: t,
|
|
14879
14879
|
axisMinimum: e,
|
|
14880
14880
|
axisMaximum: t.max
|
|
14881
|
-
}), e)), t.adapter.add("max", (e) => (
|
|
14881
|
+
}), e)), t.adapter.add("max", (e) => (hc({
|
|
14882
14882
|
axis: t,
|
|
14883
14883
|
axisMinimum: t.min,
|
|
14884
14884
|
axisMaximum: e
|
|
@@ -14890,7 +14890,7 @@ function k0(t) {
|
|
|
14890
14890
|
function uo(t) {
|
|
14891
14891
|
const { axes: e, isSecondValueAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n } = t;
|
|
14892
14892
|
let s;
|
|
14893
|
-
if (
|
|
14893
|
+
if (rr({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
14894
14894
|
s = e.push(new lt());
|
|
14895
14895
|
else if (mi(o))
|
|
14896
14896
|
s = e.push(new ze());
|
|
@@ -15197,7 +15197,7 @@ async function tn(t) {
|
|
|
15197
15197
|
isSecondValueAxis: d
|
|
15198
15198
|
}), I0({ axis: e, isLogarithmic: p, isSecondValueAxis: d }), N0(e, S), M0(e, $), d !== !0 && (ZL({ axis: e, guides: F, guideTooltipFormatter: l, utilsStrings: g }), B0(e, k));
|
|
15199
15199
|
}
|
|
15200
|
-
async function
|
|
15200
|
+
async function Zr(t) {
|
|
15201
15201
|
const {
|
|
15202
15202
|
chart: e,
|
|
15203
15203
|
axesConfig: i,
|
|
@@ -15299,7 +15299,7 @@ async function z0(t) {
|
|
|
15299
15299
|
utilsStrings: g,
|
|
15300
15300
|
errorStrings: h
|
|
15301
15301
|
} = t, y = i.axes, p = zt(i);
|
|
15302
|
-
await
|
|
15302
|
+
await Zr({
|
|
15303
15303
|
chart: e,
|
|
15304
15304
|
axesConfig: y,
|
|
15305
15305
|
rotationChanged: a,
|
|
@@ -15317,7 +15317,7 @@ async function z0(t) {
|
|
|
15317
15317
|
});
|
|
15318
15318
|
const S = n === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
15319
15319
|
if (S !== void 0) {
|
|
15320
|
-
S instanceof lt && (S.dataFields.category =
|
|
15320
|
+
S instanceof lt && (S.dataFields.category = ir(i));
|
|
15321
15321
|
const v = S.renderer, F = v.grid.template;
|
|
15322
15322
|
F.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
15323
15323
|
const T = i.orderOptions?.data?.orderBy === Ln.Descending;
|
|
@@ -15378,7 +15378,7 @@ function W0(t) {
|
|
|
15378
15378
|
const u = o * c;
|
|
15379
15379
|
return u < r ? c *= r / u : u > l && (c *= l / u), c;
|
|
15380
15380
|
}
|
|
15381
|
-
function
|
|
15381
|
+
function Kr(t) {
|
|
15382
15382
|
const { chart: e, type: i, labelList: a, currentScale: o, currentFontSize: n, axisConfig: s } = t;
|
|
15383
15383
|
let r = Number.NaN, l = Number.NaN;
|
|
15384
15384
|
if (i === Je.InnerLabel) {
|
|
@@ -15416,7 +15416,7 @@ function H0(t) {
|
|
|
15416
15416
|
a.events.once(B.Validated, () => {
|
|
15417
15417
|
const s = Ze(a, ce.GaugeTicksWithLabels);
|
|
15418
15418
|
if (ss(s)) {
|
|
15419
|
-
const r = s.map((m) => m.label), l = r[0].scale, c = r[0].fontSize, u =
|
|
15419
|
+
const r = s.map((m) => m.label), l = r[0].scale, c = r[0].fontSize, u = Kr({
|
|
15420
15420
|
chart: e,
|
|
15421
15421
|
type: Je.AxisLabels,
|
|
15422
15422
|
labelList: r,
|
|
@@ -15448,7 +15448,7 @@ function G0(t, e) {
|
|
|
15448
15448
|
if (s?.innerLabel?.visible !== !1 && s?.innerLabel?.content?.font?.size === void 0) {
|
|
15449
15449
|
const r = t.xAxes.getIndex(0)?.measuredWidth;
|
|
15450
15450
|
if (r !== void 0 && r > 0) {
|
|
15451
|
-
const l =
|
|
15451
|
+
const l = Kr({
|
|
15452
15452
|
chart: t,
|
|
15453
15453
|
type: Je.InnerLabel,
|
|
15454
15454
|
labelList: [e],
|
|
@@ -15473,7 +15473,7 @@ function X0(t) {
|
|
|
15473
15473
|
const o = () => {
|
|
15474
15474
|
const s = Ze(a, ce.GaugeFirstAndLastGuides);
|
|
15475
15475
|
if (ss(s)) {
|
|
15476
|
-
const r = s.map((m) => m.label), l = r[0].scale, c = r[0].fontSize, u =
|
|
15476
|
+
const r = s.map((m) => m.label), l = r[0].scale, c = r[0].fontSize, u = Kr({
|
|
15477
15477
|
chart: e,
|
|
15478
15478
|
type: Je.FirstAndLastLabels,
|
|
15479
15479
|
labelList: r,
|
|
@@ -15618,7 +15618,7 @@ function K0(t) {
|
|
|
15618
15618
|
return e.axisFill.fillOpacity = 1, e.axisFill.disabled = !0, e.grid.strokeOpacity = 1, e.grid.disabled = !1, e.tick.length = L.gaugeTicksLength, e;
|
|
15619
15619
|
}
|
|
15620
15620
|
function Q0(t) {
|
|
15621
|
-
const e = new
|
|
15621
|
+
const e = new cr();
|
|
15622
15622
|
return e.disabled = !0, e.axis = t, Jn(e), e.padding(10, 10, 10, 10), ci(e.uid, { isGaugeAxisLabel: !0 }), e;
|
|
15623
15623
|
}
|
|
15624
15624
|
function J0(t) {
|
|
@@ -15790,7 +15790,7 @@ async function lF(t) {
|
|
|
15790
15790
|
gaugeInnerLabelFormatter: s,
|
|
15791
15791
|
utilsStrings: r,
|
|
15792
15792
|
errorStrings: l
|
|
15793
|
-
} = t, { axes: c, series: u } = i, d =
|
|
15793
|
+
} = t, { axes: c, series: u } = i, d = Qs(i), m = z(i.series), { featureIndex: g, x: h } = u[0], y = c?.[0], p = e.xAxes.getIndex(0), S = { ...y };
|
|
15794
15794
|
if (p !== void 0 && S !== void 0) {
|
|
15795
15795
|
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels: F } = S;
|
|
15796
15796
|
Os({ axis: p, valueFormat: x, chartType: m }) && uo({ isXAxis: !0, axes: e.xAxes, valueFormat: x });
|
|
@@ -15956,7 +15956,7 @@ async function gF(t) {
|
|
|
15956
15956
|
utilsStrings: r,
|
|
15957
15957
|
errorStrings: l
|
|
15958
15958
|
} = t, c = cF(a), u = i?.[0];
|
|
15959
|
-
await
|
|
15959
|
+
await Zr({
|
|
15960
15960
|
chart: e,
|
|
15961
15961
|
axesConfig: i,
|
|
15962
15962
|
guideTooltipFormatter: o,
|
|
@@ -15979,7 +15979,7 @@ function hF(t, e) {
|
|
|
15979
15979
|
ns({ chart: t, axesConfig: e });
|
|
15980
15980
|
}
|
|
15981
15981
|
async function pF(t) {
|
|
15982
|
-
await
|
|
15982
|
+
await Zr(t);
|
|
15983
15983
|
}
|
|
15984
15984
|
function bF(t) {
|
|
15985
15985
|
t.background.fill = rt(L.backgroundColor);
|
|
@@ -16017,7 +16017,7 @@ function cs(t, e) {
|
|
|
16017
16017
|
}
|
|
16018
16018
|
function vm(t) {
|
|
16019
16019
|
if (t instanceof ne) {
|
|
16020
|
-
const e = new
|
|
16020
|
+
const e = new xl(), i = new xl();
|
|
16021
16021
|
e.disabled = !0, i.disabled = !0, e.marginTop = -10, i.marginRight = 0, t.scrollbarX = e, t.scrollbarY = i;
|
|
16022
16022
|
}
|
|
16023
16023
|
}
|
|
@@ -16108,7 +16108,7 @@ function kF(t) {
|
|
|
16108
16108
|
seriesConfig: i,
|
|
16109
16109
|
seriesIndex: a,
|
|
16110
16110
|
seriesSymbol: m ?? y,
|
|
16111
|
-
element: new
|
|
16111
|
+
element: new ur(),
|
|
16112
16112
|
colorMatch: s,
|
|
16113
16113
|
isChartFillSymbol: !0
|
|
16114
16114
|
}) : e.columns.each((p) => {
|
|
@@ -16176,12 +16176,12 @@ function Fm(t) {
|
|
|
16176
16176
|
Q(i, e.visible);
|
|
16177
16177
|
let p = m;
|
|
16178
16178
|
const S = i.dataFields?.customValue ?? "";
|
|
16179
|
-
(y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) && (p =
|
|
16179
|
+
(y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) && (p = Zs({
|
|
16180
16180
|
subtypeInfo: n,
|
|
16181
16181
|
fieldList: c,
|
|
16182
16182
|
fieldName: ki(S),
|
|
16183
16183
|
fieldValueToMatch: p
|
|
16184
|
-
}) ?? p), Kt(i, p),
|
|
16184
|
+
}) ?? p), Kt(i, p), Wr({
|
|
16185
16185
|
series: i,
|
|
16186
16186
|
seriesConfig: e,
|
|
16187
16187
|
rotationChanged: o,
|
|
@@ -16226,7 +16226,7 @@ function $F(t) {
|
|
|
16226
16226
|
const x = Hf(S, h);
|
|
16227
16227
|
d.dataFields[x] = L.xAxisField, d.baseAxis = S;
|
|
16228
16228
|
}
|
|
16229
|
-
return
|
|
16229
|
+
return Wr({
|
|
16230
16230
|
series: d,
|
|
16231
16231
|
seriesConfig: l,
|
|
16232
16232
|
rotationChanged: !1,
|
|
@@ -16289,7 +16289,7 @@ function OF(t, e) {
|
|
|
16289
16289
|
}
|
|
16290
16290
|
function RF(t) {
|
|
16291
16291
|
const e = Vt(L.dataLabelInitialize);
|
|
16292
|
-
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e),
|
|
16292
|
+
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), zr(e), Er(b.HistogramSeries, e), OF(e, t), e.html = "{valueX}", e;
|
|
16293
16293
|
}
|
|
16294
16294
|
function BF(t) {
|
|
16295
16295
|
const { numberFormatter: e, dataLabelsConfigContent: i } = t;
|
|
@@ -16520,7 +16520,7 @@ async function HF(t) {
|
|
|
16520
16520
|
function GF(t) {
|
|
16521
16521
|
const { series: e, seriesConfig: i, colorMatch: a, rendererSymbol: o } = t;
|
|
16522
16522
|
let n;
|
|
16523
|
-
const s = i.fillSymbol ??
|
|
16523
|
+
const s = i.fillSymbol ?? Vc();
|
|
16524
16524
|
if (e.columns.each((r) => {
|
|
16525
16525
|
const l = Ai({
|
|
16526
16526
|
element: r,
|
|
@@ -16704,7 +16704,7 @@ function jF(t, e) {
|
|
|
16704
16704
|
percentagePrefix: c,
|
|
16705
16705
|
percentageSuffix: u,
|
|
16706
16706
|
dataLabelsCharacterLimit: d
|
|
16707
|
-
} = e, m =
|
|
16707
|
+
} = e, m = Xr({
|
|
16708
16708
|
iLocale: t.chart.language.locale,
|
|
16709
16709
|
pieChart: t.chart,
|
|
16710
16710
|
valueIntlOptions: i?.intlOptions,
|
|
@@ -16715,7 +16715,7 @@ function jF(t, e) {
|
|
|
16715
16715
|
valueSuffix: l,
|
|
16716
16716
|
percentagePrefix: c,
|
|
16717
16717
|
percentageSuffix: u
|
|
16718
|
-
}), g =
|
|
16718
|
+
}), g = or(d), h = bt(t.rtl, " ");
|
|
16719
16719
|
return (y, p, S) => {
|
|
16720
16720
|
const x = m(y, p, S), v = o ?? L.pieChart.displayCategoryOnDataLabel ? g(y) : "";
|
|
16721
16721
|
let F = ye(v) ? "" : `${v}${h}`;
|
|
@@ -16762,7 +16762,7 @@ function _F(t, e) {
|
|
|
16762
16762
|
} = e;
|
|
16763
16763
|
return i = (h, y, p) => {
|
|
16764
16764
|
let S = L.htmlEmptyContent;
|
|
16765
|
-
const C =
|
|
16765
|
+
const C = Xr({
|
|
16766
16766
|
iLocale: t.chart.language.locale,
|
|
16767
16767
|
pieChart: t.chart,
|
|
16768
16768
|
valueIntlOptions: (n ?? a)?.intlOptions,
|
|
@@ -16775,7 +16775,7 @@ function _F(t, e) {
|
|
|
16775
16775
|
percentageSuffix: g
|
|
16776
16776
|
})("", y, p), v = !ye(h) && (r ?? L.pieChart.displayCategoryOnTooltip);
|
|
16777
16777
|
if (v && (S = `<b>${h}</b>`), !ye(C)) {
|
|
16778
|
-
const F =
|
|
16778
|
+
const F = tr(C);
|
|
16779
16779
|
S = v ? `${S}<br />${F}` : F;
|
|
16780
16780
|
}
|
|
16781
16781
|
return S;
|
|
@@ -16830,7 +16830,7 @@ function eA(t) {
|
|
|
16830
16830
|
if (i.slices.length === 0) {
|
|
16831
16831
|
const n = [];
|
|
16832
16832
|
e?.forEach((s) => {
|
|
16833
|
-
const r =
|
|
16833
|
+
const r = gr({
|
|
16834
16834
|
dataContext: s,
|
|
16835
16835
|
pieSlicesSymbols: a,
|
|
16836
16836
|
seriesConfig: o
|
|
@@ -16863,7 +16863,7 @@ function tA(t) {
|
|
|
16863
16863
|
function iA(t) {
|
|
16864
16864
|
const { series: e, pieSlicesSymbols: i, seriesConfig: a, selectionTheme: o } = t;
|
|
16865
16865
|
e.defaultState.reset(), e.slices.each((n, s) => {
|
|
16866
|
-
const r = n.dataItem?.dataContext, l =
|
|
16866
|
+
const r = n.dataItem?.dataContext, l = gr({
|
|
16867
16867
|
dataContext: r,
|
|
16868
16868
|
pieSlicesSymbols: i,
|
|
16869
16869
|
seriesConfig: a
|
|
@@ -16896,11 +16896,11 @@ async function aA(t) {
|
|
|
16896
16896
|
utilsStrings: n
|
|
16897
16897
|
};
|
|
16898
16898
|
}
|
|
16899
|
-
function
|
|
16899
|
+
function pc(t) {
|
|
16900
16900
|
return `${t[0]},${t[1]},${t[2]}`;
|
|
16901
16901
|
}
|
|
16902
16902
|
function oA(t, e, i) {
|
|
16903
|
-
const a = new Set(Array.from(e).map(
|
|
16903
|
+
const a = new Set(Array.from(e).map(pc)), o = t.findIndex((n) => !a.has(pc(n)));
|
|
16904
16904
|
return o !== -1 ? o : i;
|
|
16905
16905
|
}
|
|
16906
16906
|
function nA(t) {
|
|
@@ -16940,7 +16940,7 @@ function nA(t) {
|
|
|
16940
16940
|
});
|
|
16941
16941
|
return g;
|
|
16942
16942
|
}
|
|
16943
|
-
function
|
|
16943
|
+
function bc(t, e) {
|
|
16944
16944
|
const {
|
|
16945
16945
|
x: i,
|
|
16946
16946
|
isNonAggregatedChart: a,
|
|
@@ -17003,11 +17003,11 @@ function pc(t, e) {
|
|
|
17003
17003
|
})) : m.push(k);
|
|
17004
17004
|
}), { slices: m, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
17005
17005
|
}
|
|
17006
|
-
async function
|
|
17007
|
-
const { chart: e } = t, i = await aA(t), { slices: a, groupOfSlicesSymbols: o, groupOfSlices: n } =
|
|
17006
|
+
async function Qr(t) {
|
|
17007
|
+
const { chart: e } = t, i = await aA(t), { slices: a, groupOfSlicesSymbols: o, groupOfSlices: n } = bc(
|
|
17008
17008
|
e.data,
|
|
17009
17009
|
i
|
|
17010
|
-
), { slices: s } =
|
|
17010
|
+
), { slices: s } = bc(n ?? [], i);
|
|
17011
17011
|
return {
|
|
17012
17012
|
slices: a,
|
|
17013
17013
|
groupedSlices: s,
|
|
@@ -17052,7 +17052,7 @@ function rA(t) {
|
|
|
17052
17052
|
});
|
|
17053
17053
|
}
|
|
17054
17054
|
function Am(t) {
|
|
17055
|
-
const { chart: e, seriesConfig: i, utilsStrings: a } = t, o = e.data, n =
|
|
17055
|
+
const { chart: e, seriesConfig: i, utilsStrings: a } = t, o = e.data, n = Rr({ data: o, seriesConfig: i, utilsStrings: a });
|
|
17056
17056
|
e.data = n;
|
|
17057
17057
|
}
|
|
17058
17058
|
function lA(t, e) {
|
|
@@ -17179,7 +17179,7 @@ function pA(t, e) {
|
|
|
17179
17179
|
if (i !== void 0) {
|
|
17180
17180
|
const { scaleType: n, field: s, minSize: r, maxSize: l } = i, c = Oe(e);
|
|
17181
17181
|
if (c !== void 0) {
|
|
17182
|
-
const u =
|
|
17182
|
+
const u = Pc(), d = r ?? u.minSize, m = l ?? u.maxSize;
|
|
17183
17183
|
a !== void 0 ? hA({ series: e, seriesConfig: t, newMin: d, newMax: m }) && (o = !0, a.min = d, a.max = m, a.logarithmic = n === Ui.Logarithmic) : (o = !0, e.heatRules.push({
|
|
17184
17184
|
target: c,
|
|
17185
17185
|
property: "minWidth",
|
|
@@ -17332,7 +17332,7 @@ function LA(t) {
|
|
|
17332
17332
|
async function FA(t) {
|
|
17333
17333
|
t.series.getIndex(0)?.slices.values.some((i) => LA(i)) || await Wo({ chart: t, listSelectedElements: [], selectionSource: Ne.SelectionByClick });
|
|
17334
17334
|
}
|
|
17335
|
-
async function
|
|
17335
|
+
async function yc(t) {
|
|
17336
17336
|
const { chart: e, hitSlice: i, multiSelect: a = !1 } = t, o = [], n = I(e.uid, "config"), s = e.series.getIndex(0);
|
|
17337
17337
|
if (n && s !== void 0) {
|
|
17338
17338
|
if (!s.slices.values.every((l) => (l.isHover || l.isFocused) !== l.isActive)) {
|
|
@@ -17381,12 +17381,12 @@ function AA(t) {
|
|
|
17381
17381
|
if (jf(t) && t.series.getIndex(0)?.slices.template.togglable) {
|
|
17382
17382
|
const s = as(o, t);
|
|
17383
17383
|
if (n instanceof Dd)
|
|
17384
|
-
await
|
|
17384
|
+
await yc({ chart: t, multiSelect: s, hitSlice: n });
|
|
17385
17385
|
else if (n instanceof So) {
|
|
17386
17386
|
const r = n.dataItem;
|
|
17387
17387
|
if (r instanceof ri) {
|
|
17388
17388
|
const { slice: l } = r;
|
|
17389
|
-
l.isActive = !l.isActive, await
|
|
17389
|
+
l.isActive = !l.isActive, await yc({ chart: t, multiSelect: s, hitSlice: l });
|
|
17390
17390
|
}
|
|
17391
17391
|
} else
|
|
17392
17392
|
await FA(t);
|
|
@@ -17396,7 +17396,7 @@ function AA(t) {
|
|
|
17396
17396
|
const a = t.series.getIndex(0)?.labels.template;
|
|
17397
17397
|
a !== void 0 && a.events.on(B.Hit, e), t.events.on(B.Hit, e), t.events.on(B.DoubleHit, e);
|
|
17398
17398
|
}
|
|
17399
|
-
function
|
|
17399
|
+
function Sc(t) {
|
|
17400
17400
|
return t?.offsetParent !== null;
|
|
17401
17401
|
}
|
|
17402
17402
|
function TA(t, e) {
|
|
@@ -17543,10 +17543,10 @@ function DA(t) {
|
|
|
17543
17543
|
Ls(t, "static");
|
|
17544
17544
|
}));
|
|
17545
17545
|
}
|
|
17546
|
-
function
|
|
17546
|
+
function Jr(t) {
|
|
17547
17547
|
DA(t);
|
|
17548
17548
|
}
|
|
17549
|
-
function
|
|
17549
|
+
function xc(t) {
|
|
17550
17550
|
let e = "";
|
|
17551
17551
|
for (let i = 0; i < t.length; i += 1) {
|
|
17552
17552
|
const a = t[i];
|
|
@@ -17558,7 +17558,7 @@ function vn(t) {
|
|
|
17558
17558
|
t.modal !== void 0 && (t.modal.closable = !0, t.modal.content = "", t.closeModal());
|
|
17559
17559
|
}
|
|
17560
17560
|
async function va(t) {
|
|
17561
|
-
const { chart: e, chartConfig: i, queryObject: a, createMessage: o, allowUsingObjectIdStat: n, errorStrings: s } = t, r = I(e.uid, "options"), l = await
|
|
17561
|
+
const { chart: e, chartConfig: i, queryObject: a, createMessage: o, allowUsingObjectIdStat: n, errorStrings: s } = t, r = I(e.uid, "options"), l = await er({
|
|
17562
17562
|
input: i,
|
|
17563
17563
|
queryObject: a,
|
|
17564
17564
|
allowUsingObjectIdStat: n
|
|
@@ -17575,9 +17575,9 @@ async function va(t) {
|
|
|
17575
17575
|
else if (c.length > 0)
|
|
17576
17576
|
m = s.errors.simpleError, g = s.modalHeaders.error;
|
|
17577
17577
|
else if (u.length > 0)
|
|
17578
|
-
m =
|
|
17578
|
+
m = xc(u), g = s.modalHeaders.error;
|
|
17579
17579
|
else if (d.length > 0) {
|
|
17580
|
-
const h =
|
|
17580
|
+
const h = xc(d);
|
|
17581
17581
|
m = `<p>${s.errors.warningRequest}</p>${h}`, g = s.modalHeaders.warning;
|
|
17582
17582
|
}
|
|
17583
17583
|
m !== void 0 && r?.showUIMessages !== !1 && kt(e) && e.openModal(m, g);
|
|
@@ -17601,7 +17601,7 @@ async function da(t) {
|
|
|
17601
17601
|
});
|
|
17602
17602
|
md(d, e.htmlContainer), e.modal !== void 0 && l?.showUIMessages !== !1 && kt(e) && (e.modal.closable = !1, e.openModal(d.message, d.header));
|
|
17603
17603
|
}
|
|
17604
|
-
async function
|
|
17604
|
+
async function Cc(t) {
|
|
17605
17605
|
const { chart: e, chartConfig: i, errorStrings: a } = t, o = I(e.uid, "options");
|
|
17606
17606
|
(e.modal?.content === void 0 || e.modal?.content === "") && Yc({
|
|
17607
17607
|
chartConfig: i,
|
|
@@ -17614,7 +17614,7 @@ async function xc(t) {
|
|
|
17614
17614
|
errorStrings: a
|
|
17615
17615
|
});
|
|
17616
17616
|
}
|
|
17617
|
-
async function
|
|
17617
|
+
async function vc(t, e) {
|
|
17618
17618
|
if (t instanceof ne) {
|
|
17619
17619
|
const i = I(t.uid, "isRotated"), a = [];
|
|
17620
17620
|
[
|
|
@@ -17637,7 +17637,7 @@ async function Cc(t, e) {
|
|
|
17637
17637
|
}), await Promise.all(a);
|
|
17638
17638
|
}
|
|
17639
17639
|
}
|
|
17640
|
-
async function
|
|
17640
|
+
async function el(t) {
|
|
17641
17641
|
const {
|
|
17642
17642
|
chart: e,
|
|
17643
17643
|
data: i,
|
|
@@ -17677,7 +17677,7 @@ async function Jr(t) {
|
|
|
17677
17677
|
});
|
|
17678
17678
|
j(e.uid, { colorMatchApplied: S, rendererFieldNames: x });
|
|
17679
17679
|
}
|
|
17680
|
-
y = await
|
|
17680
|
+
y = await Qr({
|
|
17681
17681
|
chart: e,
|
|
17682
17682
|
chartConfig: h,
|
|
17683
17683
|
queryObject: n,
|
|
@@ -17735,7 +17735,7 @@ function Im(t) {
|
|
|
17735
17735
|
return j(e.uid, { seriesFilteredOut: r }), { seriesFilteredOut: r, updatedConfig: s };
|
|
17736
17736
|
}
|
|
17737
17737
|
lo.classNamePrefix = "arcgis-charts-";
|
|
17738
|
-
async function
|
|
17738
|
+
async function tl(t, e) {
|
|
17739
17739
|
const i = await cC(e.locale);
|
|
17740
17740
|
lo.defaultLocale = i, t.language.locale = i, j(t.uid, { formatLocale: e.formatLocale }), t.rtl = e.rtl;
|
|
17741
17741
|
}
|
|
@@ -17793,7 +17793,7 @@ async function RA(t) {
|
|
|
17793
17793
|
}
|
|
17794
17794
|
}
|
|
17795
17795
|
}
|
|
17796
|
-
async function
|
|
17796
|
+
async function il(t) {
|
|
17797
17797
|
const {
|
|
17798
17798
|
chart: e,
|
|
17799
17799
|
chartConfig: i,
|
|
@@ -17948,7 +17948,7 @@ async function wm(t) {
|
|
|
17948
17948
|
} else g.length > 0 && e.series.pushAll(g);
|
|
17949
17949
|
cv(e);
|
|
17950
17950
|
}
|
|
17951
|
-
async function
|
|
17951
|
+
async function al(t) {
|
|
17952
17952
|
const {
|
|
17953
17953
|
chart: e,
|
|
17954
17954
|
chartConfig: i,
|
|
@@ -18066,7 +18066,7 @@ async function il(t) {
|
|
|
18066
18066
|
errorStrings: C
|
|
18067
18067
|
});
|
|
18068
18068
|
}
|
|
18069
|
-
async function
|
|
18069
|
+
async function ol(t) {
|
|
18070
18070
|
let { chartConfig: e } = t;
|
|
18071
18071
|
const { chart: i, options: a, globalOptions: o, queryObject: n, utilsStrings: s, errorStrings: r } = t, {
|
|
18072
18072
|
hideLoaderAnimation: l,
|
|
@@ -18154,7 +18154,7 @@ async function al(t) {
|
|
|
18154
18154
|
chart: i,
|
|
18155
18155
|
seriesConfig: e.series,
|
|
18156
18156
|
utilsStrings: s
|
|
18157
|
-
}), Fe = await
|
|
18157
|
+
}), Fe = await Qr({
|
|
18158
18158
|
chart: i,
|
|
18159
18159
|
chartConfig: e,
|
|
18160
18160
|
queryObject: n,
|
|
@@ -18174,7 +18174,7 @@ async function al(t) {
|
|
|
18174
18174
|
seriesConfig: e.series,
|
|
18175
18175
|
htmlContainer: i.htmlContainer
|
|
18176
18176
|
});
|
|
18177
|
-
const gi = await
|
|
18177
|
+
const gi = await el({
|
|
18178
18178
|
chart: i,
|
|
18179
18179
|
data: N,
|
|
18180
18180
|
chartConfig: e,
|
|
@@ -18204,7 +18204,7 @@ async function al(t) {
|
|
|
18204
18204
|
config: Ue,
|
|
18205
18205
|
isRotated: It,
|
|
18206
18206
|
isNonAggregatedChart: !Pn(oa)
|
|
18207
|
-
}), Ue.axes !== void 0 && (await RA({ chart: i, axesConfig: Ue.axes, chartType: O, isRotated: It, errorStrings: r }), await
|
|
18207
|
+
}), Ue.axes !== void 0 && (await RA({ chart: i, axesConfig: Ue.axes, chartType: O, isRotated: It, errorStrings: r }), await il({
|
|
18208
18208
|
chart: i,
|
|
18209
18209
|
chartConfig: Ue,
|
|
18210
18210
|
chartType: O,
|
|
@@ -18225,7 +18225,7 @@ async function al(t) {
|
|
|
18225
18225
|
utilsStrings: s,
|
|
18226
18226
|
options: a,
|
|
18227
18227
|
queryObject: n
|
|
18228
|
-
}), await
|
|
18228
|
+
}), await al({
|
|
18229
18229
|
chart: i,
|
|
18230
18230
|
chartConfig: Ue,
|
|
18231
18231
|
seriesIndexMapper: H,
|
|
@@ -18238,7 +18238,7 @@ async function al(t) {
|
|
|
18238
18238
|
options: a,
|
|
18239
18239
|
utilsStrings: s,
|
|
18240
18240
|
errorStrings: r
|
|
18241
|
-
}),
|
|
18241
|
+
}), Yr({
|
|
18242
18242
|
legendElements: F,
|
|
18243
18243
|
seriesConfig: pe,
|
|
18244
18244
|
webChartLegend: Ue.legend,
|
|
@@ -18257,17 +18257,17 @@ async function al(t) {
|
|
|
18257
18257
|
function $m(t) {
|
|
18258
18258
|
t.series.each((e) => {
|
|
18259
18259
|
e.events.on(B.Ready, () => {
|
|
18260
|
-
Vo(t.series) &&
|
|
18260
|
+
Vo(t.series) && _r(t);
|
|
18261
18261
|
});
|
|
18262
18262
|
});
|
|
18263
18263
|
}
|
|
18264
18264
|
async function BA(t) {
|
|
18265
18265
|
const { chartContainer: e, chartConfig: i, queryObject: a, t9nStrings: o, options: n, globalOptions: s } = t, { errorStrings: r, utilsStrings: l } = o, { createMessage: c } = n ?? {};
|
|
18266
18266
|
e == null && await fa("divNode", o.errorStrings);
|
|
18267
|
-
const u =
|
|
18267
|
+
const u = mr(e, ne);
|
|
18268
18268
|
u.id = i?.id ?? u.uid, j(u.uid, { queryObject: a });
|
|
18269
18269
|
const { t9nLocale: d } = Tn(u.htmlContainer ?? document.documentElement), m = Dn(u.htmlContainer ?? document.documentElement), g = Xs(u.htmlContainer ?? document.documentElement) === "rtl";
|
|
18270
|
-
await
|
|
18270
|
+
await tl(u, { locale: d, formatLocale: m, rtl: g }), Jr(u), u.events.on(B.Inited, () => u.zoomOutButton.deepInvalidate());
|
|
18271
18271
|
const y = await va({
|
|
18272
18272
|
chart: u,
|
|
18273
18273
|
chartConfig: i,
|
|
@@ -18277,7 +18277,7 @@ async function BA(t) {
|
|
|
18277
18277
|
errorStrings: r
|
|
18278
18278
|
}), p = Mn(i, u.htmlContainer), S = z(p?.series);
|
|
18279
18279
|
let x;
|
|
18280
|
-
return y.valid && (u instanceof ne && S !== b.BoxPlotSeries && (u.maskBullets = !1), x = (await
|
|
18280
|
+
return y.valid && (u instanceof ne && S !== b.BoxPlotSeries && (u.maskBullets = !1), x = (await ol({
|
|
18281
18281
|
chartConfig: p,
|
|
18282
18282
|
chart: u,
|
|
18283
18283
|
queryObject: a,
|
|
@@ -18290,10 +18290,10 @@ async function BA(t) {
|
|
|
18290
18290
|
async function MA(t) {
|
|
18291
18291
|
const { chartContainer: e, chartConfig: i, queryObject: a, errorStrings: o, utilsStrings: n, options: s, globalOptions: r } = t;
|
|
18292
18292
|
e == null && await fa("divNode", o);
|
|
18293
|
-
const l =
|
|
18293
|
+
const l = mr(e, Le);
|
|
18294
18294
|
l.id = i?.id ?? l.uid;
|
|
18295
18295
|
const c = Zc(l.htmlContainer);
|
|
18296
|
-
await
|
|
18296
|
+
await tl(l, c), l.radius = ot(L.pieChart.chartRadius), Jr(l);
|
|
18297
18297
|
const u = await va({
|
|
18298
18298
|
chart: l,
|
|
18299
18299
|
chartConfig: i,
|
|
@@ -18303,7 +18303,7 @@ async function MA(t) {
|
|
|
18303
18303
|
errorStrings: o
|
|
18304
18304
|
});
|
|
18305
18305
|
let d;
|
|
18306
|
-
return u.valid && (d = (await
|
|
18306
|
+
return u.valid && (d = (await ol({
|
|
18307
18307
|
chartConfig: i,
|
|
18308
18308
|
chart: l,
|
|
18309
18309
|
queryObject: a,
|
|
@@ -18316,10 +18316,10 @@ async function MA(t) {
|
|
|
18316
18316
|
async function NA(t) {
|
|
18317
18317
|
const { chartContainer: e, chartConfig: i, queryObject: a, errorStrings: o, utilsStrings: n, options: s, globalOptions: r } = t;
|
|
18318
18318
|
e == null && await fa("divNode", o);
|
|
18319
|
-
const l =
|
|
18319
|
+
const l = mr(e, yt);
|
|
18320
18320
|
l.id = i?.id ?? l.uid;
|
|
18321
18321
|
const c = Zc(l.htmlContainer);
|
|
18322
|
-
await
|
|
18322
|
+
await tl(l, c), Jr(l), l.maskBullets = !1;
|
|
18323
18323
|
let u = await va({
|
|
18324
18324
|
chart: l,
|
|
18325
18325
|
chartConfig: i,
|
|
@@ -18331,7 +18331,7 @@ async function NA(t) {
|
|
|
18331
18331
|
if (u.valid) {
|
|
18332
18332
|
const m = L.gauge, g = Number.isFinite(i?.innerRadius) ? i?.innerRadius : m.innerRadius, h = Number.isFinite(i?.startAngle) ? i?.startAngle : m.startAngle, y = Number.isFinite(i?.endAngle) ? i?.endAngle : m.endAngle;
|
|
18333
18333
|
l.radius = ot(m.radius), typeof g == "number" && (l.innerRadius = ot(g)), typeof h == "number" && (l.startAngle = h), typeof y == "number" && (l.endAngle = y);
|
|
18334
|
-
const p = await
|
|
18334
|
+
const p = await ol({
|
|
18335
18335
|
chartConfig: i,
|
|
18336
18336
|
chart: l,
|
|
18337
18337
|
queryObject: a,
|
|
@@ -18375,7 +18375,7 @@ async function PA(t) {
|
|
|
18375
18375
|
j(i.uid, { filterBySelection: o?.filterBySelection }), ds({ chart: i, actionMode: o?.actionMode, cursorRange: o?.cursorRange });
|
|
18376
18376
|
const { xOrYChanged: k } = T.common;
|
|
18377
18377
|
let { numberOfSeriesChanged: $ } = T.common;
|
|
18378
|
-
const O = yd(p, e), D = pd(p, e), R = kg(p, e), M = Ig(p, e), N = JSON.stringify(
|
|
18378
|
+
const O = yd(p, e), D = pd(p, e), R = kg(p, e), M = Ig(p, e), N = JSON.stringify(gl(S)) !== JSON.stringify(gl(x)), E = wg(p, e), V = $g(p, e), W = nr(p, e), H = sr({
|
|
18379
18379
|
oldConfig: h ? y : p,
|
|
18380
18380
|
newConfig: e,
|
|
18381
18381
|
dataUpdateNeeded: F
|
|
@@ -18516,7 +18516,7 @@ async function PA(t) {
|
|
|
18516
18516
|
});
|
|
18517
18517
|
j(i.uid, { colorMatchApplied: oa, rendererFieldNames: Aa });
|
|
18518
18518
|
}
|
|
18519
|
-
q !== void 0 && (i.data = q), e.axes !== void 0 && await
|
|
18519
|
+
q !== void 0 && (i.data = q), e.axes !== void 0 && await il({
|
|
18520
18520
|
chart: i,
|
|
18521
18521
|
chartConfig: e,
|
|
18522
18522
|
rotationChanged: D,
|
|
@@ -18542,7 +18542,7 @@ async function PA(t) {
|
|
|
18542
18542
|
utilsStrings: r,
|
|
18543
18543
|
queryObject: n,
|
|
18544
18544
|
options: o
|
|
18545
|
-
})), await
|
|
18545
|
+
})), await al({
|
|
18546
18546
|
chart: i,
|
|
18547
18547
|
chartConfig: e,
|
|
18548
18548
|
seriesIndexMapper: La,
|
|
@@ -18557,7 +18557,7 @@ async function PA(t) {
|
|
|
18557
18557
|
sortChanged: H,
|
|
18558
18558
|
utilsStrings: r,
|
|
18559
18559
|
errorStrings: l
|
|
18560
|
-
}), ls(a.headerElements, { title: e.title, subtitle: e.subtitle }), cs(a.footerElements, e.footer),
|
|
18560
|
+
}), ls(a.headerElements, { title: e.title, subtitle: e.subtitle }), cs(a.footerElements, e.footer), Yr({
|
|
18561
18561
|
legendElements: a.legendElements,
|
|
18562
18562
|
seriesConfig: e.series,
|
|
18563
18563
|
webChartLegend: e.legend,
|
|
@@ -18572,7 +18572,7 @@ async function PA(t) {
|
|
|
18572
18572
|
}
|
|
18573
18573
|
ea(m, i.htmlContainer), Nf(i, e?.cursorCrosshair);
|
|
18574
18574
|
const g = RC(i);
|
|
18575
|
-
(g.behavior === fe.SelectX || g.behavior === fe.SelectXY || g.behavior === fe.SelectY || g.behavior === fe.None) && i.scrollbarX.start === 0 && i.scrollbarX.end === 1 && i.scrollbarY.start === 0 && i.scrollbarY.end === 1 &&
|
|
18575
|
+
(g.behavior === fe.SelectX || g.behavior === fe.SelectXY || g.behavior === fe.SelectY || g.behavior === fe.None) && i.scrollbarX.start === 0 && i.scrollbarX.end === 1 && i.scrollbarY.start === 0 && i.scrollbarY.end === 1 && _r(i), km(i), ym(i.series.values[0]);
|
|
18576
18576
|
}
|
|
18577
18577
|
async function VA(t) {
|
|
18578
18578
|
const { chart: e, chartElements: i, newConfig: a, queryObject: o, forceDataUpdate: n, options: s, utilsStrings: r, errorStrings: l } = t;
|
|
@@ -18596,7 +18596,7 @@ async function VA(t) {
|
|
|
18596
18596
|
currentSelectionDataItems: I(e.uid, "currentSelectionDataItems"),
|
|
18597
18597
|
currentSelectionOIDs: I(e.uid, "currentSelectionOIDs"),
|
|
18598
18598
|
currentSelectionIndexes: I(e.uid, "currentSelectionIndexes")
|
|
18599
|
-
}), h =
|
|
18599
|
+
}), h = nr(u, a), y = sr({ oldConfig: u, newConfig: a, dataUpdateNeeded: g });
|
|
18600
18600
|
j(e.uid, { filterBySelection: s?.filterBySelection, config: Ge(a) });
|
|
18601
18601
|
let p = !0, S, x, C = !1;
|
|
18602
18602
|
if (g) {
|
|
@@ -18643,7 +18643,7 @@ async function VA(t) {
|
|
|
18643
18643
|
fieldList: I(e.uid, "fieldList")
|
|
18644
18644
|
}), e.validateData());
|
|
18645
18645
|
const F = Ts({ oldConfig: u, newConfig: a }), T = bd(u, a);
|
|
18646
|
-
let k = await
|
|
18646
|
+
let k = await Qr({
|
|
18647
18647
|
chart: e,
|
|
18648
18648
|
chartConfig: a,
|
|
18649
18649
|
queryObject: o,
|
|
@@ -18656,7 +18656,7 @@ async function VA(t) {
|
|
|
18656
18656
|
seriesConfig: a.series,
|
|
18657
18657
|
htmlContainer: e.htmlContainer
|
|
18658
18658
|
}), Cd({ data: e.data, chartConfig: a, htmlContainer: e.htmlContainer }));
|
|
18659
|
-
const $ = await
|
|
18659
|
+
const $ = await el({
|
|
18660
18660
|
chart: e,
|
|
18661
18661
|
data: { dataItems: e.data },
|
|
18662
18662
|
chartConfig: a,
|
|
@@ -18684,7 +18684,7 @@ async function VA(t) {
|
|
|
18684
18684
|
htmlContainer: e.htmlContainer,
|
|
18685
18685
|
chartId: e.id,
|
|
18686
18686
|
colorMatchApplied: Sa(e, D)
|
|
18687
|
-
}), await
|
|
18687
|
+
}), await al({
|
|
18688
18688
|
chart: e,
|
|
18689
18689
|
queryObject: o,
|
|
18690
18690
|
chartConfig: D,
|
|
@@ -18701,7 +18701,7 @@ async function VA(t) {
|
|
|
18701
18701
|
}), ls(i.headerElements, {
|
|
18702
18702
|
title: D.title,
|
|
18703
18703
|
subtitle: D.subtitle
|
|
18704
|
-
}), cs(i.footerElements, D.footer),
|
|
18704
|
+
}), cs(i.footerElements, D.footer), Yr({
|
|
18705
18705
|
legendElements: i.legendElements,
|
|
18706
18706
|
seriesConfig: D.series,
|
|
18707
18707
|
webChartLegend: D.legend,
|
|
@@ -18754,7 +18754,7 @@ async function EA(t) {
|
|
|
18754
18754
|
errorStrings: l
|
|
18755
18755
|
}), i.loaderHandle.hideLoader());
|
|
18756
18756
|
}
|
|
18757
|
-
const v = await
|
|
18757
|
+
const v = await el({
|
|
18758
18758
|
chart: e,
|
|
18759
18759
|
data: { dataItems: e.data },
|
|
18760
18760
|
chartConfig: a,
|
|
@@ -18767,7 +18767,7 @@ async function EA(t) {
|
|
|
18767
18767
|
h = v.newValidationStatus ?? h;
|
|
18768
18768
|
const F = v.alteredConfig;
|
|
18769
18769
|
if (h.valid) {
|
|
18770
|
-
F.axes !== void 0 && await
|
|
18770
|
+
F.axes !== void 0 && await il({
|
|
18771
18771
|
chart: e,
|
|
18772
18772
|
chartConfig: F,
|
|
18773
18773
|
chartType: S,
|
|
@@ -18790,7 +18790,7 @@ async function EA(t) {
|
|
|
18790
18790
|
}
|
|
18791
18791
|
async function zA(t) {
|
|
18792
18792
|
const { chartContainer: e, chartConfig: i, queryObject: a, t9nStrings: o, options: n, globalOptions: s } = t, { errorStrings: r, utilsStrings: l } = o;
|
|
18793
|
-
lo.commercialLicense = s?.hideLicenseWatermark !== !1, lo.queue = s?.queueChartCreation !== !1, lo.autoDispose = s?.autoDisposeChart === !0, s?.useAnimatedCharts === !0 ? nh(
|
|
18793
|
+
lo.commercialLicense = s?.hideLicenseWatermark !== !1, lo.queue = s?.queueChartCreation !== !1, lo.autoDispose = s?.autoDisposeChart === !0, s?.useAnimatedCharts === !0 ? nh(Sl) : sh(Sl);
|
|
18794
18794
|
let c;
|
|
18795
18795
|
switch (z(i?.series)) {
|
|
18796
18796
|
case b.PieSeries:
|
|
@@ -18829,7 +18829,7 @@ async function zA(t) {
|
|
|
18829
18829
|
return c;
|
|
18830
18830
|
}
|
|
18831
18831
|
async function WA(t) {
|
|
18832
|
-
const { chartContainer: e, chartConfig: i, t9nStrings: a, options: o, globalOptions: n } = t, { errorStrings: s } = a, { layer: r, view: l } = o ?? {}, c = !
|
|
18832
|
+
const { chartContainer: e, chartConfig: i, t9nStrings: a, options: o, globalOptions: n } = t, { errorStrings: s } = a, { layer: r, view: l } = o ?? {}, c = !Sc(e);
|
|
18833
18833
|
let u;
|
|
18834
18834
|
i !== void 0 && (hi(i) ? u = i : u = sn({ chartConfig: i, queryObject: r })), u = await an(u, r);
|
|
18835
18835
|
let d;
|
|
@@ -18847,7 +18847,7 @@ async function WA(t) {
|
|
|
18847
18847
|
queryObject: d,
|
|
18848
18848
|
filterBySelection: o?.filterBySelection,
|
|
18849
18849
|
options: o
|
|
18850
|
-
}), TA(g, e), await
|
|
18850
|
+
}), TA(g, e), await Cc({ chart: g, chartConfig: u, errorStrings: s }), await vc(g, s);
|
|
18851
18851
|
function y() {
|
|
18852
18852
|
sg.delete(Po(g)), g.isDisposed() || (NC(g), h !== void 0 && (h.loaderHandle.hideLoader(), m.chartElements = void 0), g.dispose());
|
|
18853
18853
|
}
|
|
@@ -18906,7 +18906,7 @@ async function WA(t) {
|
|
|
18906
18906
|
async function x(T) {
|
|
18907
18907
|
const { newChartConfig: k, updateOptions: $, updateGlobalOptions: O, t9nStrings: D } = T, { errorStrings: R, utilsStrings: M } = D;
|
|
18908
18908
|
e == null && await fa("divNode", R);
|
|
18909
|
-
const { layer: N, view: E, dataUpdated: V } = $ ?? {}, W = !
|
|
18909
|
+
const { layer: N, view: E, dataUpdated: V } = $ ?? {}, W = !Sc(e), H = await qt(d, o?.usePopupTemplateFieldsInfo);
|
|
18910
18910
|
j(g.uid, { chartWasUpdatedWhileHidden: W, options: $, fieldList: H });
|
|
18911
18911
|
let Z;
|
|
18912
18912
|
hi(k) ? Z = k : k !== void 0 && (Z = sn({ chartConfig: k, queryObject: N })), Z = await an(Z, N);
|
|
@@ -18920,7 +18920,7 @@ async function WA(t) {
|
|
|
18920
18920
|
updateOptions: $,
|
|
18921
18921
|
forceDataUpdate: V === !0 || oe !== X,
|
|
18922
18922
|
utilsStrings: M
|
|
18923
|
-
}), await
|
|
18923
|
+
}), await Cc({ chart: g, chartConfig: Z, errorStrings: R }), await vc(g, R);
|
|
18924
18924
|
}
|
|
18925
18925
|
async function C() {
|
|
18926
18926
|
if (kt(g) && (g instanceof ne || g instanceof Le)) {
|
|
@@ -18935,7 +18935,7 @@ async function WA(t) {
|
|
|
18935
18935
|
}), g.openModal(T, k)) : g.closeModal());
|
|
18936
18936
|
}
|
|
18937
18937
|
function F() {
|
|
18938
|
-
|
|
18938
|
+
_r(g);
|
|
18939
18939
|
}
|
|
18940
18940
|
return {
|
|
18941
18941
|
update: x,
|
|
@@ -18975,7 +18975,7 @@ function HA(t, e) {
|
|
|
18975
18975
|
function GA() {
|
|
18976
18976
|
return !0;
|
|
18977
18977
|
}
|
|
18978
|
-
async function
|
|
18978
|
+
async function Lc(t) {
|
|
18979
18979
|
const { layer: e } = t;
|
|
18980
18980
|
let i;
|
|
18981
18981
|
if (e !== void 0 && t.layerFilterChangePolicy === Zo.Refresh) {
|
|
@@ -18989,7 +18989,7 @@ async function vc(t) {
|
|
|
18989
18989
|
}
|
|
18990
18990
|
return i;
|
|
18991
18991
|
}
|
|
18992
|
-
async function
|
|
18992
|
+
async function Fc(t) {
|
|
18993
18993
|
const { layer: e, model: i } = t, a = xo(i) ? i.config : i;
|
|
18994
18994
|
let o;
|
|
18995
18995
|
if (e !== void 0 && t.layerRendererChangePolicy === Ko.Refresh) {
|
|
@@ -19011,11 +19011,13 @@ async function XA(t) {
|
|
|
19011
19011
|
let n;
|
|
19012
19012
|
if (e !== void 0 && o !== void 0) {
|
|
19013
19013
|
const s = await bo({ chartConfig: o, view: e, layer: i });
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
19014
|
+
if (_s(s)) {
|
|
19015
|
+
await pi.whenOnce(() => !s.updating);
|
|
19016
|
+
const r = async () => {
|
|
19017
|
+
e.stationary && (s.updating && await pi.whenOnce(() => !s.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
|
|
19018
|
+
};
|
|
19019
|
+
n = [], n.push(pi.when(() => e.stationary, r)), n.push(pi.when(() => !s.dataUpdating, r)), await r();
|
|
19020
|
+
}
|
|
19019
19021
|
}
|
|
19020
19022
|
return n;
|
|
19021
19023
|
}
|
|
@@ -19029,7 +19031,7 @@ async function YA(t) {
|
|
|
19029
19031
|
}
|
|
19030
19032
|
)), n;
|
|
19031
19033
|
}
|
|
19032
|
-
async function
|
|
19034
|
+
async function Ac(t) {
|
|
19033
19035
|
const { layer: e } = t;
|
|
19034
19036
|
let i;
|
|
19035
19037
|
if (e !== void 0 && t.layerFieldsChangePolicy === Qo.Refresh) {
|
|
@@ -19047,7 +19049,7 @@ async function Fc(t) {
|
|
|
19047
19049
|
}
|
|
19048
19050
|
return i;
|
|
19049
19051
|
}
|
|
19050
|
-
async function
|
|
19052
|
+
async function Tc(t) {
|
|
19051
19053
|
const { view: e } = t;
|
|
19052
19054
|
let i;
|
|
19053
19055
|
return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i = pi.watch(
|
|
@@ -19061,7 +19063,7 @@ async function Ac(t) {
|
|
|
19061
19063
|
const UA = ({ message: t, heading: e, options: i }) => _o`<calcite-alert .icon=${i?.icon ?? "exclamationMarkTriangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? _o`<div slot=title>${e}</div>` : null}${t !== void 0 ? _o`<div slot=message>${t}</div>` : null}</calcite-alert>`, jA = Vm`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1;overflow-y:hidden}.chart>div{justify-content:center;align-items:center}.chart .arcgis-charts-modal-inside{padding:1em 1em 1em 0}.chart .arcgis-charts-modal-inside ol{padding-left:2em}.chart .arcgis-charts-modal-curtain{width:100%;height:100%;position:absolute;top:0;left:0;z-index:2001;background-color:#fff;opacity:.5;opacity:1}.chart .arcgis-charts-modal-content{background:#fffc;color:#000;display:inline-block;top:0;left:0;overflow:visible;z-index:2002;position:absolute;max-width:90%;max-height:90%;width:auto!important;height:auto!important;margin:auto!important;inset:auto!important}.chart .arcgis-charts-modal-header{display:block;width:100%;min-height:1.8em;background:#0000000d}.chart .arcgis-charts-modal-close{display:block;position:absolute;top:.3em;right:.3em;background:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) center center/80% no-repeat #6464641a;width:1.2em;height:1.2em;cursor:pointer}.chart .arcgis-charts-modal-title{font-weight:700;font-size:110%;padding:.5em 1.2em .5em 1em}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row}`;
|
|
19062
19064
|
class qA extends Mm {
|
|
19063
19065
|
constructor() {
|
|
19064
|
-
super(), this._messages =
|
|
19066
|
+
super(), this._messages = Cl(), this.chartRef = Em(), this.commonStrings = Cl({ name: "common", blocking: !0 }), this.dataUpdateNeededProps = [
|
|
19065
19067
|
"forceDataUpdate",
|
|
19066
19068
|
"runtimeDataFilters",
|
|
19067
19069
|
"returnFeaturesExtent",
|
|
@@ -19074,7 +19076,7 @@ class qA extends Mm {
|
|
|
19074
19076
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
19075
19077
|
}, this.configPanelNumberChange = (e) => {
|
|
19076
19078
|
const i = e, { panelNumber: a, modelList: o } = i.detail;
|
|
19077
|
-
this.actionBarElement && this.enableConfiguration && this.ourModelExistsIn(o) && (this.actionBarElement.editChartToggle = a === 1 ?
|
|
19079
|
+
this.actionBarElement && this.enableConfiguration && this.ourModelExistsIn(o) && (this.actionBarElement.editChartToggle = a === 1 ? vl.Active : vl.Inactive);
|
|
19078
19080
|
}, this.configDataChangeError = (e) => {
|
|
19079
19081
|
const i = e, { error: a, model: o } = i.detail;
|
|
19080
19082
|
this.enableConfiguration && o?.isSameChartAs(this._model) && this.errorAlert(a.message);
|
|
@@ -19180,12 +19182,12 @@ class qA extends Mm {
|
|
|
19180
19182
|
const l = new Pm();
|
|
19181
19183
|
Object.entries(this.chartData).forEach(([u, d]) => {
|
|
19182
19184
|
if (Array.isArray(d) && d.length > 0) {
|
|
19183
|
-
const m =
|
|
19185
|
+
const m = Fl({
|
|
19184
19186
|
rawData: d,
|
|
19185
19187
|
config: this._model?.config ?? this.config,
|
|
19186
19188
|
layer: o,
|
|
19187
19189
|
fieldList: n
|
|
19188
|
-
}), g =
|
|
19190
|
+
}), g = Al(m, e), h = `${s}-${u}.csv`;
|
|
19189
19191
|
l.file(h, g);
|
|
19190
19192
|
}
|
|
19191
19193
|
});
|
|
@@ -19194,16 +19196,16 @@ class qA extends Mm {
|
|
|
19194
19196
|
} else {
|
|
19195
19197
|
let l;
|
|
19196
19198
|
if ("bins" in this.chartData ? l = this.chartData.bins : "dataItems" in this.chartData && (l = this.chartData.dataItems), l) {
|
|
19197
|
-
const c =
|
|
19199
|
+
const c = Fl({
|
|
19198
19200
|
rawData: l,
|
|
19199
19201
|
config: this._model?.config ?? this.config,
|
|
19200
19202
|
layer: o,
|
|
19201
19203
|
fieldList: n
|
|
19202
|
-
}), u =
|
|
19204
|
+
}), u = Al(c, e);
|
|
19203
19205
|
i = URL.createObjectURL(new Blob([u], { type: "text/csv;charset=utf-8;" })), a = `${s}.csv`;
|
|
19204
19206
|
}
|
|
19205
19207
|
}
|
|
19206
|
-
i !== void 0 && a !== void 0 &&
|
|
19208
|
+
i !== void 0 && a !== void 0 && Ll(i, a);
|
|
19207
19209
|
}
|
|
19208
19210
|
}
|
|
19209
19211
|
async exportAsImage(e = hh.PNG) {
|
|
@@ -19214,7 +19216,7 @@ class qA extends Mm {
|
|
|
19214
19216
|
})).toBlob((o) => {
|
|
19215
19217
|
if (o) {
|
|
19216
19218
|
const n = URL.createObjectURL(o), s = `${this.model.titleText ?? "chart"}.${e}`;
|
|
19217
|
-
|
|
19219
|
+
Ll(n, s);
|
|
19218
19220
|
}
|
|
19219
19221
|
}, e) : this.errorAlert(this.commonStrings?.errorStrings.errors.exportImageChartNotReady);
|
|
19220
19222
|
}
|
|
@@ -19249,7 +19251,7 @@ class qA extends Mm {
|
|
|
19249
19251
|
const i = e.some((o) => this.dataUpdateNeededProps.includes(o));
|
|
19250
19252
|
this.updatedProps.clear();
|
|
19251
19253
|
const a = this.gatherComponentOptions(i);
|
|
19252
|
-
this.updateSplitBySeries?.addMissingSeries === !0 && (i || e.includes("model") || e.includes("layer") || e.includes("filterByExtent")) && await
|
|
19254
|
+
this.updateSplitBySeries?.addMissingSeries === !0 && (i || e.includes("model") || e.includes("layer") || e.includes("filterByExtent")) && await bl(this, this.config, a), this.chart && await this.chart.update({
|
|
19253
19255
|
newChartConfig: this.config,
|
|
19254
19256
|
updateOptions: a,
|
|
19255
19257
|
updateGlobalOptions: {
|
|
@@ -19277,7 +19279,7 @@ class qA extends Mm {
|
|
|
19277
19279
|
async updated() {
|
|
19278
19280
|
if (this.chart === void 0 && this.chartCreationProcessing !== void 0 && (await this.chartCreationProcessing, this.chartCreationProcessing = void 0), this.config !== void 0 && this.chart !== void 0 && !this.showNotifyPanel)
|
|
19279
19281
|
try {
|
|
19280
|
-
(!this.config && !this.layer ||
|
|
19282
|
+
(!this.config && !this.layer || yl(this.config, this.layer) && !oo(this.config)) && await this.debouncedChartUpdate?.push();
|
|
19281
19283
|
} catch (e) {
|
|
19282
19284
|
this.chartRef.value !== void 0 && (e.name === ro.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e.name === ro.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : this.arcgisRuntimeError.emit(e.details ?? e), this.errorAlert(e?.message)));
|
|
19283
19285
|
}
|
|
@@ -19383,10 +19385,10 @@ class qA extends Mm {
|
|
|
19383
19385
|
this.layer !== void 0 && this.syncSelectionsBetweenChartAndLayerViewPolicy === Jo.Enabled && this.view !== void 0 && this.setSelectionInLayerView();
|
|
19384
19386
|
}
|
|
19385
19387
|
async viewChange(e, i) {
|
|
19386
|
-
this.layerItemId && this.layerItemId?.trim() !== "" && (this.layer =
|
|
19388
|
+
this.layerItemId && this.layerItemId?.trim() !== "" && (this.layer = hl({
|
|
19387
19389
|
view: this.view,
|
|
19388
19390
|
portalItemId: this.layerItemId
|
|
19389
|
-
}) ?? new
|
|
19391
|
+
}) ?? new ml({
|
|
19390
19392
|
portalItem: {
|
|
19391
19393
|
id: this.layerItemId
|
|
19392
19394
|
}
|
|
@@ -19396,10 +19398,10 @@ class qA extends Mm {
|
|
|
19396
19398
|
await this.addLayerListeners(), this.layer && (await Ho(this.layer).load(), await this.setExtentChangeListener(), await this.setViewTimeExtentChangeListener());
|
|
19397
19399
|
}
|
|
19398
19400
|
layerItemIdChange() {
|
|
19399
|
-
this.layerItemId && this.layerItemId?.trim() !== "" ? this.layer =
|
|
19401
|
+
this.layerItemId && this.layerItemId?.trim() !== "" ? this.layer = hl({
|
|
19400
19402
|
view: this.view,
|
|
19401
19403
|
portalItemId: this.layerItemId
|
|
19402
|
-
}) ?? new
|
|
19404
|
+
}) ?? new ml({
|
|
19403
19405
|
portalItem: {
|
|
19404
19406
|
id: this.layerItemId
|
|
19405
19407
|
}
|
|
@@ -19475,16 +19477,16 @@ class qA extends Mm {
|
|
|
19475
19477
|
this._model?.removeEventListener("arcgisChartsModelConfigChange", this.modelConfigChange);
|
|
19476
19478
|
}
|
|
19477
19479
|
async addLayerListeners() {
|
|
19478
|
-
this.removeLayerListeners(), this.layerFilterListener = await
|
|
19480
|
+
this.removeLayerListeners(), this.layerFilterListener = await Lc(this), this.layerRendererListener = await Fc(this), this.layerFieldsListener = await Ac(this), this.viewSelectionsChangeListener = await Tc(this);
|
|
19479
19481
|
}
|
|
19480
19482
|
async setLayerFilterListener() {
|
|
19481
|
-
this.removeLayerFilterListener(), this.layerFilterListener = await
|
|
19483
|
+
this.removeLayerFilterListener(), this.layerFilterListener = await Lc(this);
|
|
19482
19484
|
}
|
|
19483
19485
|
async setLayerRendererListener() {
|
|
19484
|
-
this.removeLayerRendererListener(), this.layerRendererListener = await
|
|
19486
|
+
this.removeLayerRendererListener(), this.layerRendererListener = await Fc(this);
|
|
19485
19487
|
}
|
|
19486
19488
|
async setLayerFieldsListener() {
|
|
19487
|
-
this.removeLayerFieldsListener(), this.layerFieldsListener = await
|
|
19489
|
+
this.removeLayerFieldsListener(), this.layerFieldsListener = await Ac(this);
|
|
19488
19490
|
}
|
|
19489
19491
|
async setExtentChangeListener() {
|
|
19490
19492
|
this.filterByExtent && (this.removeExtentChangeListeners(), this.extentChangeListeners = await XA(this));
|
|
@@ -19493,7 +19495,7 @@ class qA extends Mm {
|
|
|
19493
19495
|
this.removeViewTimeExtentChangeListener(), this.viewTimeExtentChangeListener = await YA(this);
|
|
19494
19496
|
}
|
|
19495
19497
|
async setViewSelectionsChangeListener() {
|
|
19496
|
-
this.removeViewSelectionsChangeListener(), this.viewSelectionsChangeListener = await
|
|
19498
|
+
this.removeViewSelectionsChangeListener(), this.viewSelectionsChangeListener = await Tc(this);
|
|
19497
19499
|
}
|
|
19498
19500
|
removeLayerListeners() {
|
|
19499
19501
|
this.removeLayerFilterListener(), this.removeLayerRendererListener(), this.removeLayerFieldsListener();
|
|
@@ -19564,7 +19566,7 @@ class qA extends Mm {
|
|
|
19564
19566
|
dataUpdated: e,
|
|
19565
19567
|
layer: this.layer,
|
|
19566
19568
|
view: this.filterByExtent ? this.view : void 0,
|
|
19567
|
-
viewExtentUpdated: e && this.filterByExtent === !0 && (this.view !== void 0 ||
|
|
19569
|
+
viewExtentUpdated: e && this.filterByExtent === !0 && (this.view !== void 0 || _s(this.layer)),
|
|
19568
19570
|
allowUsingObjectIdStat: this.allowUsingObjectIdStat,
|
|
19569
19571
|
nullAsValid: this.nullAsValid,
|
|
19570
19572
|
showUIMessages: this.showUIMessages,
|
|
@@ -19603,9 +19605,9 @@ class qA extends Mm {
|
|
|
19603
19605
|
async createChartInstance(e = !0) {
|
|
19604
19606
|
this.chartCreationProcessing !== void 0 && (await this.chartCreationProcessing, this.chartCreationProcessing = void 0), this.updateConfigTimeZone(), this.checkForIncompatibleChartVersion(), this.updatedProps.clear();
|
|
19605
19607
|
try {
|
|
19606
|
-
if (!this.config && !this.layer ||
|
|
19608
|
+
if (!this.config && !this.layer || yl(this.config, this.layer)) {
|
|
19607
19609
|
const i = this.gatherComponentOptions();
|
|
19608
|
-
await
|
|
19610
|
+
await bl(this, this.config, i);
|
|
19609
19611
|
const a = this.useBetaChart() ? iC : WA;
|
|
19610
19612
|
this.chartCreationProcessing = a({
|
|
19611
19613
|
chartContainer: this.chartRef.value,
|
|
@@ -19632,7 +19634,7 @@ class qA extends Mm {
|
|
|
19632
19634
|
const e = this.showNotifyPanel ? UA({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ? zi.Hide : `${zi.Chart} ${zi.Show}`, a = this.showNotifyPanel ? `${zi.Show} ${zi.NotifyPanel}` : zi.Hide;
|
|
19633
19635
|
return _o`<slot name=${lh.actionBar} @slotchange=${(o) => {
|
|
19634
19636
|
this.actionBarElement = gh(o, this.el, this.config);
|
|
19635
|
-
}} ${
|
|
19637
|
+
}} ${dl(this.actionBarSlotRef)}></slot><div class=${cl(i)} ${dl(this.chartRef)}></div><div class=${cl(a)}>${e}</div>`;
|
|
19636
19638
|
}
|
|
19637
19639
|
}
|
|
19638
19640
|
Bm("arcgis-chart", qA);
|