@arcgis/charts-components 5.0.0-next.3 → 5.0.0-next.5
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/{H2R6XIP5.js → 2CQCJUK3.js} +2 -2
- package/dist/cdn/{7OSCKW4Y.js → 2NTY7DVX.js} +2 -2
- package/dist/cdn/{YEHAINHB.js → 2YMGZECH.js} +2 -2
- package/dist/cdn/{5UV5N2TK.js → 2YQYGHQO.js} +2 -2
- package/dist/cdn/{67VULDXU.js → 3H5R54P6.js} +1 -1
- package/dist/cdn/3RZX4TOQ.js +6 -0
- package/dist/cdn/{SY4VJMTC.js → 3T5QJ3UH.js} +2 -2
- package/dist/cdn/{SMOUDLKB.js → 3YDBKBBR.js} +1 -1
- package/dist/cdn/{6ZLEAYZT.js → 4D4W6UVF.js} +2 -2
- package/dist/cdn/{JY6JRVUS.js → 4IJR7EHI.js} +2 -2
- package/dist/cdn/{HPNKRUZ6.js → 4JOT7RYS.js} +2 -2
- package/dist/cdn/{KATVWRAY.js → 4MEZ4HKS.js} +2 -2
- package/dist/cdn/{KFSAESHE.js → 4T53OXS6.js} +2 -2
- package/dist/cdn/52ZJWBJT.js +4 -0
- package/dist/cdn/{SBQC3UFK.js → 573TNYY5.js} +2 -2
- package/dist/cdn/{5OH5FY3S.js → 5AALQ6RZ.js} +2 -2
- package/dist/cdn/{ZNOZZ66V.js → 5GCX3ASK.js} +2 -2
- package/dist/cdn/{3KX2KDPK.js → 5HRJVYD3.js} +2 -2
- package/dist/cdn/{HDLWIIDD.js → 5KMNAURG.js} +2 -2
- package/dist/cdn/{4V4R4Q5E.js → 5VTYZVJH.js} +2 -2
- package/dist/cdn/{RNOS6DRH.js → 62ZVQ3ZH.js} +2 -2
- package/dist/cdn/{X3CEHOFP.js → 635XSSNH.js} +2 -2
- package/dist/cdn/6CQPTE3E.js +4 -0
- package/dist/cdn/6HWUT7L4.js +4 -0
- package/dist/cdn/6NZ5234Z.js +4 -0
- package/dist/cdn/{27EF6N3A.js → 6OJCTSQD.js} +2 -2
- package/dist/cdn/{MNSV3CBG.js → 6RJ54FTE.js} +2 -2
- package/dist/cdn/6SVM5HRB.js +4 -0
- package/dist/cdn/{TCC42J3C.js → 6XICP4O2.js} +2 -2
- package/dist/cdn/{N2JCIWHL.js → 73AZHLP7.js} +2 -2
- package/dist/cdn/{IB6NLFIT.js → 7DM5FB6A.js} +2 -2
- package/dist/cdn/{Q7JQTDHE.js → 7LJXG2EB.js} +2 -2
- package/dist/cdn/{VLELOOYM.js → 7XE7ZIHN.js} +2 -2
- package/dist/cdn/{U7NW4Q4W.js → 7XU3S5AU.js} +2 -2
- package/dist/cdn/{YGR3N454.js → A2XWPGD2.js} +2 -2
- package/dist/cdn/{OEBLB46A.js → AD3SQBUO.js} +2 -2
- package/dist/cdn/AIGJFWPO.js +4 -0
- package/dist/cdn/{ATYOPM4D.js → AS4BM6KR.js} +2 -2
- package/dist/cdn/{3IAXPJL5.js → AXYMSHID.js} +2 -2
- package/dist/cdn/{3DOQYO3X.js → B22PSOMV.js} +2 -2
- package/dist/cdn/{47W26EK2.js → BR5RSKQJ.js} +2 -2
- package/dist/cdn/{BDYQWUFQ.js → BRYCQYEF.js} +2 -2
- package/dist/cdn/BUZQFX4X.js +4 -0
- package/dist/cdn/{CE3AUUHL.js → CB7O2PE3.js} +2 -2
- package/dist/cdn/{MDMUQ4YV.js → CFJM4T24.js} +2 -2
- package/dist/cdn/{5XKWLEPC.js → CFTAWZ77.js} +2 -2
- package/dist/cdn/{72RUYYT3.js → CV6THL4H.js} +2 -2
- package/dist/cdn/{4224IFJV.js → D6KEJTTL.js} +2 -2
- package/dist/cdn/DCPP2A6R.js +4 -0
- package/dist/cdn/{VUDGVNLT.js → DDGMIWZC.js} +2 -2
- package/dist/cdn/{BLKWW4SZ.js → DI74HOSV.js} +2 -2
- package/dist/cdn/DIQKH37P.js +4 -0
- package/dist/cdn/{4KGRWKFB.js → DONAR2FZ.js} +2 -2
- package/dist/cdn/{5MSCIR45.js → DRJ4SKBY.js} +2 -2
- package/dist/cdn/{PKGUQ23W.js → DW3KTB7W.js} +2 -2
- package/dist/cdn/{6P4DSMHF.js → EHWOH3AS.js} +2 -2
- package/dist/cdn/{LNOZZKFS.js → EQIVGIV5.js} +2 -2
- package/dist/cdn/{GCRHEM6P.js → EQRBT4RS.js} +2 -2
- package/dist/cdn/{VKDBGM6I.js → ESYIBBDW.js} +2 -2
- package/dist/cdn/{UI5DAXMY.js → ETWCEC6I.js} +2 -2
- package/dist/cdn/{NKS54LJY.js → EV7NZIDI.js} +2 -2
- package/dist/cdn/{JXNCGTY2.js → FSB6NTEU.js} +2 -2
- package/dist/cdn/{47IDSE6H.js → FSLY4LNC.js} +2 -2
- package/dist/cdn/{UM6PSQXH.js → G2METNMC.js} +2 -2
- package/dist/cdn/{OS5QUU3S.js → G34MOD6Z.js} +2 -2
- package/dist/cdn/{74E7OAPH.js → G6IPNEE3.js} +2 -2
- package/dist/cdn/{J3XRJF2H.js → GCWYVEAM.js} +2 -2
- package/dist/cdn/{2YJK7EQQ.js → H355OUXG.js} +2 -2
- package/dist/cdn/{DNMGOUQA.js → H4QOQNQX.js} +2 -2
- package/dist/cdn/H7YSSKNX.js +4 -0
- package/dist/cdn/{R3RJV4I3.js → HDBIXSWC.js} +2 -2
- package/dist/cdn/{R4ZFFKNL.js → HO66RCKA.js} +15 -15
- package/dist/cdn/{T4NBUXZU.js → HREWUP6X.js} +1 -1
- package/dist/cdn/HTCGNGWS.js +4 -0
- package/dist/cdn/{3KG5A43A.js → I4W5SN2C.js} +2 -2
- package/dist/cdn/{AOBF52MJ.js → I5HVQQ3Q.js} +2 -2
- package/dist/cdn/{ECM2WXF6.js → IAH4FEMB.js} +2 -2
- package/dist/cdn/{QR3HNIZ3.js → IDYONL6G.js} +2 -2
- package/dist/cdn/{QRLC6XDT.js → IMF6T5KA.js} +2 -2
- package/dist/cdn/{3SRVZLPD.js → IXZG7BYH.js} +2 -2
- package/dist/cdn/{IGYM6NDV.js → IYCGVT6M.js} +2 -2
- package/dist/cdn/{LNW5PGHC.js → JBINPRLV.js} +2 -2
- package/dist/cdn/{6BK6COJC.js → JCJDTWWY.js} +2 -2
- package/dist/cdn/{GAUP6JKI.js → JFBDHWTH.js} +2 -2
- package/dist/cdn/{NBHFVCH6.js → JUDN6TYO.js} +2 -2
- package/dist/cdn/{RJP2TSH4.js → K4VUPLRS.js} +1 -1
- package/dist/cdn/{XYEC52QZ.js → KBDI5BIF.js} +2 -2
- package/dist/cdn/{Y6H36UEQ.js → KOZIVKMW.js} +1 -1
- package/dist/cdn/{SZRPK5U3.js → KREPFU54.js} +2 -2
- package/dist/cdn/{KJBLUE23.js → KSO4FH7T.js} +2 -2
- package/dist/cdn/{GRNT45TO.js → KV7MQRID.js} +2 -2
- package/dist/cdn/KVQGRGTX.js +4 -0
- package/dist/cdn/KZ2PASIL.js +4 -0
- package/dist/cdn/L7XBIHO4.js +4 -0
- package/dist/cdn/{XH3AFWLS.js → LAGE62S7.js} +1 -1
- package/dist/cdn/{PJCM66NR.js → LHKTIOAS.js} +2 -2
- package/dist/cdn/LKQSJH6O.js +4 -0
- package/dist/cdn/LO3BV66U.js +4 -0
- package/dist/cdn/{3ASW6VHE.js → LU4QMMFH.js} +2 -2
- package/dist/cdn/MFCXPRPK.js +4 -0
- package/dist/cdn/MG2HFVH3.js +4 -0
- package/dist/cdn/{Z36QJLTB.js → MJMLISNQ.js} +2 -2
- package/dist/cdn/{AUWRC6HX.js → MUTK62YG.js} +2 -2
- package/dist/cdn/{CZYGOYBD.js → NFFCP5DA.js} +2 -2
- package/dist/cdn/{KJI5SYLT.js → NFFRB4BR.js} +2 -2
- package/dist/cdn/{SUATHXUW.js → NFXRX2K2.js} +2 -2
- package/dist/cdn/{4W5AM6VF.js → NG4OYKF4.js} +2 -2
- package/dist/cdn/{6CYT2CG7.js → NGDMHV44.js} +2 -2
- package/dist/cdn/{7TUZWUHM.js → NMZIP2MC.js} +2 -2
- package/dist/cdn/{K6OYX7KH.js → O3HVGYZS.js} +2 -2
- package/dist/cdn/OI5MJGAM.js +4 -0
- package/dist/cdn/{KWTG54IG.js → OIQ4EV4L.js} +2 -2
- package/dist/cdn/{FMG243GX.js → OMKUZSPX.js} +2 -2
- package/dist/cdn/{OLQNVZUH.js → OSGGRDHY.js} +2 -2
- package/dist/cdn/OX37U5FL.js +4 -0
- package/dist/cdn/{LWF27VN7.js → P2L45OHX.js} +2 -2
- package/dist/cdn/{X67IOWPB.js → PCGSJWVC.js} +2 -2
- package/dist/cdn/{OL7VEBIC.js → PRUOLLXX.js} +2 -2
- package/dist/cdn/{ONBZGUIX.js → PUVURJEA.js} +2 -2
- package/dist/cdn/{GQCG24NO.js → PX4P6EVU.js} +2 -2
- package/dist/cdn/{H5453ZH3.js → PYJJGJD5.js} +2 -2
- package/dist/cdn/{WJU2LTQQ.js → Q2IJF3UD.js} +2 -2
- package/dist/cdn/{OBNIZH6K.js → Q6LEDMBZ.js} +1 -1
- package/dist/cdn/{USUR66FF.js → QGB6IYXA.js} +2 -2
- package/dist/cdn/{VIWBALQD.js → QUP7LRZB.js} +2 -2
- package/dist/cdn/{TBSKAY6R.js → QVM2XZGE.js} +2 -2
- package/dist/cdn/{NGJ7X3ND.js → RFHU6X2B.js} +2 -2
- package/dist/cdn/{GAM7Z7SI.js → RIATOUFB.js} +2 -2
- package/dist/cdn/{TGG4RKZV.js → RKVGZGMT.js} +2 -2
- package/dist/cdn/{EIBL7X7C.js → RR2GRLN4.js} +2 -2
- package/dist/cdn/{J7SETKH4.js → RYGSUHPL.js} +2 -2
- package/dist/cdn/{CHDX2KGL.js → S26GJIZW.js} +2 -2
- package/dist/cdn/{U34VLHNL.js → S57HESNZ.js} +2 -2
- package/dist/cdn/{RNP6GU2K.js → SUSSWOBP.js} +2 -2
- package/dist/cdn/{LNCY7PJY.js → T3HLSENK.js} +2 -2
- package/dist/cdn/{S72WP6XQ.js → T4OLCB57.js} +2 -2
- package/dist/cdn/TC4K2IBN.js +4 -0
- package/dist/cdn/{MECZKLGM.js → TEKM44UI.js} +2 -2
- package/dist/cdn/{NXB4BNRO.js → TETZB6TG.js} +2 -2
- package/dist/cdn/{U5YB3SOI.js → TFR2XJOG.js} +2 -2
- package/dist/cdn/{KFVBD66X.js → THFW5BGS.js} +2 -2
- package/dist/cdn/{F5VOSM5J.js → TP24LJTV.js} +2 -2
- package/dist/cdn/TQ6TYM53.js +4 -0
- package/dist/cdn/{CUYCVVE6.js → TROAL5VH.js} +2 -2
- package/dist/cdn/{TR4LETNB.js → TUSAPA3B.js} +2 -2
- package/dist/cdn/{BZIXOEMI.js → TXAGJJ7V.js} +2 -2
- package/dist/cdn/TZOUXYMP.js +4 -0
- package/dist/cdn/{BMSUXI6D.js → ULD7JICH.js} +2 -2
- package/dist/cdn/{QARHCJGU.js → UP5YHRAT.js} +2 -2
- package/dist/cdn/{NHUAA7U3.js → USDDCXSD.js} +2 -2
- package/dist/cdn/{F57OHZWT.js → UUFUCAD3.js} +1 -1
- package/dist/cdn/{REXKJ4UY.js → VANVPL7B.js} +2 -2
- package/dist/cdn/{O765AJUV.js → VE7L4QD3.js} +2 -2
- package/dist/cdn/{5EPM3ZL4.js → VEUR3MYM.js} +2 -2
- package/dist/cdn/{EAGMXFWB.js → VIGBYFUK.js} +2 -2
- package/dist/cdn/{7KMT45K5.js → VLY5ZFJB.js} +2 -2
- package/dist/cdn/{WUUJKPQK.js → VTWEX57C.js} +2 -2
- package/dist/cdn/VUG3AMJW.js +4 -0
- package/dist/cdn/{T7NDQ5N4.js → VZHZP3WS.js} +2 -2
- package/dist/cdn/{OQDFVWR5.js → VZOYYSMT.js} +2 -2
- package/dist/cdn/W3PPNJUI.js +4 -0
- package/dist/cdn/W5D44LNY.js +4 -0
- package/dist/cdn/{PGPLW4WV.js → W6JDJ6CI.js} +2 -2
- package/dist/cdn/{4IIG7WSE.js → WB3AED73.js} +2 -2
- package/dist/cdn/WFODK6LM.js +4 -0
- package/dist/cdn/{ZFIF77K3.js → WTH425VI.js} +1 -1
- package/dist/cdn/{TG4TGFSQ.js → WZO6BPV2.js} +2 -2
- package/dist/cdn/{3YBKKGMI.js → XATS2GRO.js} +2 -2
- package/dist/cdn/{VTJACGF7.js → XIBVZCXM.js} +2 -2
- package/dist/cdn/{YU3EMYVD.js → XLRLWYNY.js} +2 -2
- package/dist/cdn/{UNKXWRU2.js → XQ7LOQ6A.js} +2 -2
- package/dist/cdn/{XUTAJJHD.js → XREL2EGV.js} +2 -2
- package/dist/cdn/{OOMLNN4O.js → XTYW4JSU.js} +2 -2
- package/dist/cdn/{QK6YFOPV.js → XWMI6JSB.js} +2 -2
- package/dist/cdn/{2VSQK6CQ.js → Y4BOOI43.js} +2 -2
- package/dist/cdn/{O2GMCLWM.js → Y54PXKNX.js} +1 -1
- package/dist/cdn/{WGCDX65Z.js → YRXQVP63.js} +2 -2
- package/dist/cdn/{SL6KBBNT.js → Z6IXB3E5.js} +2 -2
- package/dist/cdn/{PZLOX4VN.js → ZIRCERSI.js} +2 -2
- package/dist/cdn/{3T2GPST3.js → ZM7CB4BA.js} +2 -2
- package/dist/cdn/{SQPVQZF4.js → ZTCVGEDC.js} +2 -2
- package/dist/cdn/{I5CJDKBJ.js → ZV2FCWVF.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- 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 +164 -162
- package/dist/chunks/box-plot-model.js +37 -39
- 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 +1 -1
- package/dist/chunks/data.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 +24 -60
- 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 +2 -3
- 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 +3 -5
- 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 +77 -77
- package/dist/components/arcgis-chart/customElement.d.ts +0 -1
- package/dist/components/arcgis-chart/customElement.js +342 -309
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
- 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 +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +34 -34
- 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 +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- 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 +6 -6
- 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 +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -17
- 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 +5 -5
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- 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 -6
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- 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 +5 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- 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 +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +3 -3
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +4 -14
- package/dist/model/mixins/model-with-multi-axes.d.ts +20 -47
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +1 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/2QC6ZPJH.js +0 -4
- package/dist/cdn/32RUS2M3.js +0 -4
- package/dist/cdn/35M57QGE.js +0 -4
- package/dist/cdn/4XATG67T.js +0 -4
- package/dist/cdn/5EM7WR57.js +0 -4
- package/dist/cdn/6UQPZK5B.js +0 -4
- package/dist/cdn/C5UYMNHI.js +0 -4
- package/dist/cdn/CZQ2SVIF.js +0 -4
- package/dist/cdn/D4QM6QWW.js +0 -4
- package/dist/cdn/DBJBYN2H.js +0 -4
- package/dist/cdn/DGBWGDSW.js +0 -4
- package/dist/cdn/EG2DGV7Q.js +0 -4
- package/dist/cdn/F6TCCYVD.js +0 -4
- package/dist/cdn/FYRFUCYK.js +0 -4
- package/dist/cdn/FZMYU3XO.js +0 -4
- package/dist/cdn/HBXDHTDL.js +0 -4
- package/dist/cdn/IRXKOLXP.js +0 -4
- package/dist/cdn/LW7ZXMGB.js +0 -4
- package/dist/cdn/NUXT2AWM.js +0 -4
- package/dist/cdn/NXQHRIVH.js +0 -6
- package/dist/cdn/RZ7AFMIW.js +0 -4
- package/dist/cdn/SVXJYPGP.js +0 -4
- package/dist/cdn/TC2AUGPM.js +0 -4
- package/dist/cdn/U7XYGWTM.js +0 -4
- package/dist/cdn/XETTJLZA.js +0 -4
- package/dist/cdn/XH5LQBGS.js +0 -4
- package/dist/cdn/YRVVNU7B.js +0 -4
- package/dist/cdn/ZRZXM6A2.js +0 -4
|
@@ -11,11 +11,11 @@ import zm from "@arcgis/core/layers/FeatureLayer.js";
|
|
|
11
11
|
import { color as go, percent as gt, LinePattern as Ac, RectanglePattern as Wm, p50 as Ae, p0 as Ke, p100 as Te, Label as yi, Rectangle as zs, DateFormatter as Hm, NumberFormatter as Tc, Series as Ws, HeatLegend as kc, 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 ho, Slice as Ma, Timezone as Gm, DataItem as Xm, Color as Ym, Modal as Um, addLicense as jm, registry as qm, Root as _m } from "@amcharts/amcharts5";
|
|
12
12
|
import { PieChart as ti, PieSeries as ht } from "@amcharts/amcharts5/percent.js";
|
|
13
13
|
import { AxisRendererCircular as fi, RadarCursor as Ic, ClockHand as As, RadarChart as ji, AxisRendererRadial as Zm, RadarLineSeries as Hs } from "@amcharts/amcharts5/radar.js";
|
|
14
|
-
import { XYChart as Se, AxisRendererX as $t, LineSeries as ge, XYCursor as wc, ColumnSeries as
|
|
14
|
+
import { XYChart as Se, AxisRendererX as $t, LineSeries as ge, XYCursor as wc, ColumnSeries as ze, StepLineSeries as An, CandlestickSeries as ua, DateAxis as tt, ValueAxis as we, XYSeries as Gs, CategoryAxis as xt, AxisRendererY as qi, AxisBullet as Km } 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, cz as P, d as ii, a1 as ei, cf as De, aE as on, V as wo, a5 as ai, X as kn, cj as ye, m as Qm, l as Ki, k as ki, T as Na, N as J, F as be, a3 as
|
|
18
|
+
import { p as U, cz as P, d as ii, a1 as ei, cf as De, aE as on, V as wo, a5 as ai, X as kn, cj as ye, m as Qm, l as Ki, k as ki, T as Na, N as J, F as be, a3 as Ne, ch as $c, J as Ys, O as $e, c9 as jt, cb as zt, cp as Be, c4 as Tt, cd as Dc, q as Ha, af as Us, ah as Oc, bc as Jm, bd as eg, aq as js, ar as Rc, ag as In, c8 as Ii, cA as Pe, cB as po, cn as nn, aR as Bc, bB as Mc, H as wi, b9 as qt, bT as Si, b5 as wn, bi as qs, a2 as _s, B as $i, M as $n, L as tg, A as Zs, ac as $o, aA as Nc, an as Ks, E as bo, ap as Pc, ao as Vc, a as wa, _ as Ec, bh as zc, K as Wc, D as bi, c6 as sn, b8 as yo, v as Qs, b6 as ro, bY as rn, i as Hc, aY as Gc, a4 as ig, G as ag, bE as og, ca as ul, ce as ng, r as sg, bZ as Xc, c3 as Go, x as oo, g as rg, co as lg, C as cg, cr as dg, h as ug } 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";
|
|
@@ -33,7 +33,7 @@ import { c as it, b as dt, d as St, R as te, i as gs, e as re, f as ee, a as Ng,
|
|
|
33
33
|
import { v5 as un } from "uuid";
|
|
34
34
|
import Pg from "@amcharts/amcharts5/themes/Animated.js";
|
|
35
35
|
import Vg from "@amcharts/amcharts5/themes/Responsive.js";
|
|
36
|
-
import { LineSeriesDataItem as ta, DateAxis as
|
|
36
|
+
import { LineSeriesDataItem as ta, DateAxis as We, ValueAxis as ve, CategoryAxis as lt, CategoryAxisDataItem as Pa, DateAxisDataItem as Vn, XYChart as se, PieChart as Le, AxisFill as Eg, AxisFillCircular as zg, LineSeries as ue, ColumnSeries as Xe, PieSeries as Nt, GaugeChart as bt, XYCursor as Sd, XYSeries as Ci, SerialChart as xd, Cursor as Wg, AxisLabel as sr, ColumnSeriesDataItem as Bo, CandlestickSeries as _e, StepLineSeries as Ct, LegendDataItem as ia, CandlestickSeriesDataItem as Hg, PieSeriesDataItem as ri, Legend as Gg, Series as Xg, AxisRendererX as wt, AxisRendererCircular as En, AxisLabelCircular as rr, ValueAxisDataItem as lr, AxisRendererY as Va, ClockHand as Yg } from "@amcharts/amcharts4/charts.js";
|
|
37
37
|
import { Exporting as Ug } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
38
38
|
import { isLight as lo } from "@amcharts/amcharts5/.internal/core/util/Utils.js";
|
|
39
39
|
import { curveLinearClosed as jg, curveLinear as qg, curveCardinal as _g, curveBumpY as Zg, curveBumpX as Kg } from "d3-shape";
|
|
@@ -53,7 +53,7 @@ import { t as xl, b as Cl, D as uh, m as fh } from "../../chunks/web-component-u
|
|
|
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/5.0/esri/copyright.txt for details.
|
|
56
|
-
v5.0.0-next.
|
|
56
|
+
v5.0.0-next.5 */
|
|
57
57
|
var Yo = { exports: {} }, ps, vl;
|
|
58
58
|
function mh() {
|
|
59
59
|
if (vl) return ps;
|
|
@@ -351,7 +351,7 @@ function de(t, e) {
|
|
|
351
351
|
function he(t, e) {
|
|
352
352
|
return ga(t, e);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Ve(t, e) {
|
|
355
355
|
ma(t, e);
|
|
356
356
|
}
|
|
357
357
|
function _i(t, e) {
|
|
@@ -1337,9 +1337,9 @@ function Hn(t) {
|
|
|
1337
1337
|
if (i !== void 0 && a !== void 0)
|
|
1338
1338
|
switch (r) {
|
|
1339
1339
|
case b.HeatSeries:
|
|
1340
|
-
const d = i, m = n && d[n] !== void 0 ? d[n] : d[
|
|
1340
|
+
const d = i, m = n && d[n] !== void 0 ? d[n] : d[Ne.xField], g = s && d[s] !== void 0 ? d[s] : d[Ne.yField];
|
|
1341
1341
|
u = (h) => {
|
|
1342
|
-
const y = n && h[n] !== void 0 ? h[n] : h[
|
|
1342
|
+
const y = n && h[n] !== void 0 ? h[n] : h[Ne.xField], p = s && h[s] !== void 0 ? h[s] : h[Ne.yField];
|
|
1343
1343
|
return m === y && g === p;
|
|
1344
1344
|
};
|
|
1345
1345
|
break;
|
|
@@ -2095,7 +2095,7 @@ function dp(t) {
|
|
|
2095
2095
|
const { chart: e, chartConfig: i } = t, { legend: a } = i, o = a !== void 0 && a.visible !== !1;
|
|
2096
2096
|
cu(e);
|
|
2097
2097
|
const n = e.series.values[0], s = i?.legend?.position ?? A.heatChart.legend.position;
|
|
2098
|
-
o && n !== void 0 && n instanceof
|
|
2098
|
+
o && n !== void 0 && n instanceof ze && s === X.Bottom && Za(() => {
|
|
2099
2099
|
const r = ou(e);
|
|
2100
2100
|
rp(e, r), su(e, r), lu({ series: n, legend: r, chart: e });
|
|
2101
2101
|
});
|
|
@@ -2486,7 +2486,7 @@ function hu(t) {
|
|
|
2486
2486
|
formatLocale: l,
|
|
2487
2487
|
intlOptions: s.intlOptions
|
|
2488
2488
|
});
|
|
2489
|
-
|
|
2489
|
+
Ve(i.uid, {
|
|
2490
2490
|
tooltipValueYNumberFormatCallback: (u) => c.format(u, a?.intlOptions ?? s.intlOptions)
|
|
2491
2491
|
});
|
|
2492
2492
|
}
|
|
@@ -2497,7 +2497,7 @@ function hu(t) {
|
|
|
2497
2497
|
formatLocale: l,
|
|
2498
2498
|
intlOptions: r.intlOptions
|
|
2499
2499
|
});
|
|
2500
|
-
|
|
2500
|
+
Ve(i.uid, {
|
|
2501
2501
|
tooltipValueXNumberFormatCallback: (u) => c.format(u, a?.intlOptions ?? r.intlOptions)
|
|
2502
2502
|
});
|
|
2503
2503
|
}
|
|
@@ -2575,14 +2575,15 @@ function kp(t) {
|
|
|
2575
2575
|
const e = go(t), { r: i, g: a, b: o } = e;
|
|
2576
2576
|
return { r: i, g: a, b: o };
|
|
2577
2577
|
}
|
|
2578
|
-
function Su(t) {
|
|
2579
|
-
const
|
|
2580
|
-
t.columns.template.set("tooltip",
|
|
2581
|
-
|
|
2578
|
+
function Su(t, e) {
|
|
2579
|
+
const i = Ka(t);
|
|
2580
|
+
t.columns.template.set("tooltip", i);
|
|
2581
|
+
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2582
|
+
t.columns.template.setAll({
|
|
2582
2583
|
tooltipPosition: "fixed"
|
|
2583
|
-
}), t.columns.template.adapters.remove(
|
|
2584
|
-
|
|
2585
|
-
(
|
|
2584
|
+
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
2585
|
+
a,
|
|
2586
|
+
(o, n) => pa({ element: n, series: t, isHTML: e !== void 0 })
|
|
2586
2587
|
);
|
|
2587
2588
|
}
|
|
2588
2589
|
function Ip(t) {
|
|
@@ -2618,12 +2619,16 @@ function wp(t) {
|
|
|
2618
2619
|
}
|
|
2619
2620
|
return "";
|
|
2620
2621
|
}
|
|
2621
|
-
function xu(t) {
|
|
2622
|
-
const
|
|
2623
|
-
t.columns.template.set("tooltip",
|
|
2624
|
-
|
|
2622
|
+
function xu(t, e) {
|
|
2623
|
+
const i = Ka(t);
|
|
2624
|
+
t.columns.template.set("tooltip", i);
|
|
2625
|
+
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2626
|
+
t.columns.template.setAll({
|
|
2625
2627
|
tooltipPosition: "fixed"
|
|
2626
|
-
}), t.columns.template.adapters.
|
|
2628
|
+
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
2629
|
+
a,
|
|
2630
|
+
(o, n) => pa({ element: n, series: t, isHTML: e !== void 0 })
|
|
2631
|
+
);
|
|
2627
2632
|
}
|
|
2628
2633
|
function $p(t) {
|
|
2629
2634
|
const { series: e, tooltipFormatter: i, axesConfig: a, seriesConfig: o } = t;
|
|
@@ -2631,7 +2636,7 @@ function $p(t) {
|
|
|
2631
2636
|
axesConfig: a,
|
|
2632
2637
|
currentSeries: e,
|
|
2633
2638
|
tooltipValueFormat: o.dataTooltipValueFormat
|
|
2634
|
-
}),
|
|
2639
|
+
}), Ve(e.uid, {
|
|
2635
2640
|
histogramTooltipFormatter: i ?? Ip(t)
|
|
2636
2641
|
});
|
|
2637
2642
|
}
|
|
@@ -2707,25 +2712,29 @@ function Rp(t) {
|
|
|
2707
2712
|
}
|
|
2708
2713
|
return a;
|
|
2709
2714
|
}
|
|
2710
|
-
function Cu(t) {
|
|
2711
|
-
const
|
|
2712
|
-
|
|
2713
|
-
tooltip:
|
|
2715
|
+
function Cu(t, e) {
|
|
2716
|
+
const i = t.slices.template, a = Ka(t), o = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2717
|
+
i.setAll({
|
|
2718
|
+
tooltip: a,
|
|
2714
2719
|
tooltipText: " ",
|
|
2715
2720
|
tooltipPosition: "fixed"
|
|
2716
|
-
}),
|
|
2717
|
-
let
|
|
2721
|
+
}), i.adapters.remove(o), i.adapters.add(o, (n, s) => {
|
|
2722
|
+
let r = " ";
|
|
2718
2723
|
try {
|
|
2719
|
-
const
|
|
2720
|
-
|
|
2724
|
+
const l = s.get("tooltip");
|
|
2725
|
+
l && (l.dataItem = s.dataItem, r = pa({
|
|
2726
|
+
element: s,
|
|
2727
|
+
series: t,
|
|
2728
|
+
isHTML: e !== void 0
|
|
2729
|
+
}));
|
|
2721
2730
|
} catch {
|
|
2722
2731
|
}
|
|
2723
|
-
return
|
|
2724
|
-
}),
|
|
2732
|
+
return r;
|
|
2733
|
+
}), i.set(o, " ");
|
|
2725
2734
|
}
|
|
2726
2735
|
function Bp(t) {
|
|
2727
2736
|
const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
|
|
2728
|
-
|
|
2737
|
+
Ve(e.uid, {
|
|
2729
2738
|
pieChartTooltipFormatter: a ?? Dp(e, i)
|
|
2730
2739
|
});
|
|
2731
2740
|
}
|
|
@@ -2857,7 +2866,7 @@ function Np(t) {
|
|
|
2857
2866
|
if (l !== void 0) {
|
|
2858
2867
|
const c = l.dataContext;
|
|
2859
2868
|
if (n?.series?.[0]?.dataTooltipVisible !== !1) {
|
|
2860
|
-
const u = c?.[
|
|
2869
|
+
const u = c?.[Ne.valueField] ?? null, d = c?.[Ne.xField], m = c?.[Ne.yField];
|
|
2861
2870
|
a = r(u, d, m);
|
|
2862
2871
|
}
|
|
2863
2872
|
}
|
|
@@ -2865,22 +2874,23 @@ function Np(t) {
|
|
|
2865
2874
|
} else
|
|
2866
2875
|
return;
|
|
2867
2876
|
}
|
|
2868
|
-
return
|
|
2877
|
+
return Be(a);
|
|
2869
2878
|
}
|
|
2870
|
-
function vu(t) {
|
|
2871
|
-
const
|
|
2872
|
-
t.columns.template.set("tooltip",
|
|
2873
|
-
|
|
2879
|
+
function vu(t, e) {
|
|
2880
|
+
const i = Ka(t);
|
|
2881
|
+
t.columns.template.set("tooltip", i);
|
|
2882
|
+
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2883
|
+
t.columns.template.setAll({
|
|
2874
2884
|
tooltipPosition: "fixed"
|
|
2875
|
-
}), t.columns.template.adapters.remove(
|
|
2876
|
-
|
|
2877
|
-
(
|
|
2885
|
+
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
2886
|
+
a,
|
|
2887
|
+
(o, n) => pa({ element: n, series: t, isHTML: e !== void 0 })
|
|
2878
2888
|
);
|
|
2879
2889
|
}
|
|
2880
2890
|
function Pp(t) {
|
|
2881
|
-
const { series: e, seriesConfig: i,
|
|
2882
|
-
|
|
2883
|
-
heatChartTooltipFormatter:
|
|
2891
|
+
const { series: e, seriesConfig: i, utilsStrings: a, fieldList: o, options: n } = t;
|
|
2892
|
+
Ve(e.uid, {
|
|
2893
|
+
heatChartTooltipFormatter: n?.tooltipFormatter ?? Mp({ columnSeries: e, seriesConfig: i, utilsStrings: a, fieldList: o })
|
|
2884
2894
|
});
|
|
2885
2895
|
}
|
|
2886
2896
|
function Dl(t, e) {
|
|
@@ -2912,13 +2922,18 @@ function Fu(t, e) {
|
|
|
2912
2922
|
stroke: ae(a?.outline?.color).color
|
|
2913
2923
|
});
|
|
2914
2924
|
}
|
|
2915
|
-
function Ol(t
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2925
|
+
function Ol(t) {
|
|
2926
|
+
const { element: e, series: i, tooltipFormatter: a } = t;
|
|
2927
|
+
if (e.get("tooltip") === void 0) {
|
|
2928
|
+
const o = Ka(i);
|
|
2929
|
+
e.set("tooltip", o);
|
|
2930
|
+
const n = a !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2931
|
+
e.setAll({
|
|
2920
2932
|
tooltipPosition: "fixed"
|
|
2921
|
-
}),
|
|
2933
|
+
}), e.adapters.remove(n), e.adapters.add(
|
|
2934
|
+
n,
|
|
2935
|
+
(s, r) => pa({ element: r, series: i, isHTML: a !== void 0 })
|
|
2936
|
+
);
|
|
2922
2937
|
}
|
|
2923
2938
|
}
|
|
2924
2939
|
function Ka(t) {
|
|
@@ -2928,12 +2943,17 @@ function Ka(t) {
|
|
|
2928
2943
|
maxWidth: A.tooltipWidth
|
|
2929
2944
|
}), a.adapters.add("visible", (o, n) => (o && Tu(n, t), o)), Au(a, i), a;
|
|
2930
2945
|
}
|
|
2931
|
-
function Sr(t
|
|
2932
|
-
const {
|
|
2933
|
-
|
|
2946
|
+
function Sr(t) {
|
|
2947
|
+
const { root: e, series: i, tooltipFormatter: a } = t, { chart: o } = i, n = za.new(e, {});
|
|
2948
|
+
n.label.setAll({
|
|
2934
2949
|
oversizedBehavior: "wrap",
|
|
2935
2950
|
maxWidth: A.tooltipWidth
|
|
2936
|
-
}),
|
|
2951
|
+
}), n.adapters.add("visible", (r, l) => (r && Tu(l, i), r)), Au(n, o);
|
|
2952
|
+
const s = a !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2953
|
+
return n.adapters.remove(s), n.adapters.add(
|
|
2954
|
+
s,
|
|
2955
|
+
(r, l) => pa({ element: l, series: i, isHTML: a !== void 0 })
|
|
2956
|
+
), n;
|
|
2937
2957
|
}
|
|
2938
2958
|
function Au(t, e) {
|
|
2939
2959
|
if (t) {
|
|
@@ -2996,54 +3016,56 @@ function Rl(t, e) {
|
|
|
2996
3016
|
i && i.set("forceHidden", e);
|
|
2997
3017
|
}
|
|
2998
3018
|
}
|
|
2999
|
-
function pa(t
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3019
|
+
function pa(t) {
|
|
3020
|
+
const { element: e, series: i, isHTML: a } = t;
|
|
3021
|
+
let o;
|
|
3022
|
+
const { chart: n } = i;
|
|
3023
|
+
if (n !== void 0) {
|
|
3024
|
+
const r = w(n.uid, "config"), { seriesConfig: l } = jn(i, r), { dataTooltipVisible: c } = r?.series[0] ?? {};
|
|
3025
|
+
if (c === !1 || !l)
|
|
3026
|
+
o = "", Rl(e, !0);
|
|
3006
3027
|
else
|
|
3007
|
-
switch (Rl(
|
|
3028
|
+
switch (Rl(e, !1), l.type) {
|
|
3008
3029
|
case b.ScatterSeries:
|
|
3009
|
-
|
|
3010
|
-
seriesConfig:
|
|
3011
|
-
markerSeries:
|
|
3012
|
-
tooltip:
|
|
3030
|
+
i instanceof ge && (o = Yp({
|
|
3031
|
+
seriesConfig: l,
|
|
3032
|
+
markerSeries: i,
|
|
3033
|
+
tooltip: e
|
|
3013
3034
|
}));
|
|
3014
3035
|
break;
|
|
3015
3036
|
case b.BarSeries:
|
|
3016
3037
|
case b.LineSeries:
|
|
3017
3038
|
case b.RadarSeries:
|
|
3018
|
-
|
|
3019
|
-
seriesConfig:
|
|
3020
|
-
series:
|
|
3021
|
-
tooltip:
|
|
3022
|
-
isRotated:
|
|
3039
|
+
o = Vp({
|
|
3040
|
+
seriesConfig: l,
|
|
3041
|
+
series: i,
|
|
3042
|
+
tooltip: e,
|
|
3043
|
+
isRotated: r?.rotated ?? !1
|
|
3023
3044
|
});
|
|
3024
3045
|
break;
|
|
3025
3046
|
case b.HistogramSeries:
|
|
3026
|
-
|
|
3027
|
-
seriesConfig:
|
|
3028
|
-
series:
|
|
3029
|
-
tooltip:
|
|
3047
|
+
o = wp({
|
|
3048
|
+
seriesConfig: l,
|
|
3049
|
+
series: i,
|
|
3050
|
+
tooltip: e
|
|
3030
3051
|
});
|
|
3031
3052
|
break;
|
|
3032
3053
|
case b.HeatSeries:
|
|
3033
|
-
|
|
3034
|
-
heatSeries:
|
|
3035
|
-
tooltip:
|
|
3054
|
+
o = Np({
|
|
3055
|
+
heatSeries: i,
|
|
3056
|
+
tooltip: e
|
|
3036
3057
|
});
|
|
3037
3058
|
break;
|
|
3038
3059
|
case b.PieSeries:
|
|
3039
|
-
|
|
3040
|
-
pieSeries:
|
|
3041
|
-
tooltip:
|
|
3060
|
+
i instanceof ht && e instanceof za && (o = Rp({
|
|
3061
|
+
pieSeries: i,
|
|
3062
|
+
tooltip: e
|
|
3042
3063
|
}));
|
|
3043
3064
|
break;
|
|
3044
3065
|
}
|
|
3045
3066
|
}
|
|
3046
|
-
|
|
3067
|
+
const s = o ?? "";
|
|
3068
|
+
return a ? Be(s) : s;
|
|
3047
3069
|
}
|
|
3048
3070
|
function Ep(t) {
|
|
3049
3071
|
const { series: e, dateRange: i, xAxisValueFormat: a } = t;
|
|
@@ -3248,46 +3270,51 @@ function Hp(t) {
|
|
|
3248
3270
|
}
|
|
3249
3271
|
function xr(t) {
|
|
3250
3272
|
const { series: e, tooltipFormatter: i } = t;
|
|
3251
|
-
|
|
3273
|
+
Ve(e.uid, {
|
|
3252
3274
|
barAndLineTooltipFormatter: i ?? Hp(t)
|
|
3253
3275
|
});
|
|
3254
3276
|
}
|
|
3255
|
-
function Gp(t
|
|
3277
|
+
function Gp(t) {
|
|
3278
|
+
const { chartType: e, series: i, tooltipFormatter: a } = t;
|
|
3256
3279
|
switch (!0) {
|
|
3257
|
-
case (
|
|
3258
|
-
xu(
|
|
3280
|
+
case (e === b.HistogramSeries && i instanceof ze): {
|
|
3281
|
+
xu(i, a);
|
|
3259
3282
|
break;
|
|
3260
3283
|
}
|
|
3261
|
-
case (
|
|
3262
|
-
const
|
|
3263
|
-
|
|
3264
|
-
const
|
|
3265
|
-
Cu(
|
|
3284
|
+
case (e === b.PieSeries && i instanceof ht): {
|
|
3285
|
+
const o = he(i.uid, "tooltipCallback");
|
|
3286
|
+
o && o.dispose();
|
|
3287
|
+
const n = i.events.on(le.DataValidated, () => {
|
|
3288
|
+
Cu(i, a);
|
|
3266
3289
|
});
|
|
3267
|
-
|
|
3290
|
+
Ve(i.uid, { tooltipCallback: n });
|
|
3268
3291
|
break;
|
|
3269
3292
|
}
|
|
3270
|
-
case (
|
|
3271
|
-
vu(
|
|
3293
|
+
case (e === b.HeatSeries && i instanceof ze): {
|
|
3294
|
+
vu(i, a);
|
|
3272
3295
|
break;
|
|
3273
3296
|
}
|
|
3274
|
-
case ((
|
|
3275
|
-
Su(
|
|
3297
|
+
case ((e === b.ComboLineAndBarSeries || e === b.BarSeries) && i instanceof ze): {
|
|
3298
|
+
Su(i, a);
|
|
3276
3299
|
break;
|
|
3277
3300
|
}
|
|
3278
|
-
case ((
|
|
3279
|
-
const
|
|
3280
|
-
|
|
3301
|
+
case ((e === b.ComboLineAndBarSeries || e === b.LineSeries) && i instanceof ge): {
|
|
3302
|
+
const o = he(i.uid, "bulletTemplate");
|
|
3303
|
+
o && Ol({ element: o, series: i, tooltipFormatter: a });
|
|
3281
3304
|
break;
|
|
3282
3305
|
}
|
|
3283
|
-
case (
|
|
3284
|
-
const
|
|
3285
|
-
|
|
3306
|
+
case (e === b.ScatterSeries && i instanceof ge): {
|
|
3307
|
+
const o = he(i.uid, "bulletTemplate");
|
|
3308
|
+
o && Up({
|
|
3309
|
+
element: o,
|
|
3310
|
+
markerSeries: i,
|
|
3311
|
+
tooltipFormatter: a
|
|
3312
|
+
});
|
|
3286
3313
|
break;
|
|
3287
3314
|
}
|
|
3288
|
-
case (
|
|
3289
|
-
const
|
|
3290
|
-
|
|
3315
|
+
case (e === b.RadarSeries && i instanceof ge): {
|
|
3316
|
+
const o = he(i.uid, "bulletTemplate");
|
|
3317
|
+
o && Ol({ element: o, series: i, tooltipFormatter: a });
|
|
3291
3318
|
break;
|
|
3292
3319
|
}
|
|
3293
3320
|
}
|
|
@@ -3346,12 +3373,16 @@ function Yp(t) {
|
|
|
3346
3373
|
}
|
|
3347
3374
|
}
|
|
3348
3375
|
}
|
|
3349
|
-
function Up(t
|
|
3350
|
-
const i = Ka(
|
|
3351
|
-
|
|
3352
|
-
|
|
3376
|
+
function Up(t) {
|
|
3377
|
+
const { element: e, markerSeries: i, tooltipFormatter: a } = t, o = Ka(i);
|
|
3378
|
+
e.set("tooltip", o);
|
|
3379
|
+
const n = a !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
3380
|
+
e.setAll({
|
|
3353
3381
|
tooltipPosition: "fixed"
|
|
3354
|
-
}),
|
|
3382
|
+
}), e.adapters.remove(n), e.adapters.add(
|
|
3383
|
+
n,
|
|
3384
|
+
(s, r) => pa({ element: r, series: i, isHTML: a !== void 0 })
|
|
3385
|
+
);
|
|
3355
3386
|
}
|
|
3356
3387
|
function jp(t) {
|
|
3357
3388
|
const { axesConfig: e, series: i, seriesConfig: a, tooltipFormatter: o } = t;
|
|
@@ -3359,7 +3390,7 @@ function jp(t) {
|
|
|
3359
3390
|
axesConfig: e,
|
|
3360
3391
|
currentSeries: i,
|
|
3361
3392
|
tooltipValueFormat: a.dataTooltipValueFormat
|
|
3362
|
-
}),
|
|
3393
|
+
}), Ve(i.uid, {
|
|
3363
3394
|
scatterplotTooltipFormatter: o ?? Xp(t)
|
|
3364
3395
|
});
|
|
3365
3396
|
}
|
|
@@ -3415,20 +3446,19 @@ function Zp(t) {
|
|
|
3415
3446
|
valueYField: s,
|
|
3416
3447
|
layer: A.zIndexes.scatterplotTrendLine
|
|
3417
3448
|
});
|
|
3418
|
-
return r.set("id", A.overlayId.scatterplotTrendLine),
|
|
3449
|
+
return r.set("id", A.overlayId.scatterplotTrendLine), Ve(r.uid, {
|
|
3419
3450
|
type: $e.Trendline
|
|
3420
3451
|
}), r;
|
|
3421
3452
|
}
|
|
3422
3453
|
function Kp(t, e) {
|
|
3423
3454
|
const i = Wa.new({});
|
|
3424
|
-
|
|
3455
|
+
Ve(t.uid, { bulletTemplate: i }), t.bullets.push((a) => {
|
|
3425
3456
|
const o = ui.new(
|
|
3426
3457
|
a,
|
|
3427
3458
|
{
|
|
3428
3459
|
nonScalingStroke: !0,
|
|
3429
3460
|
// 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)
|
|
3430
|
-
tooltip: Sr(a, t)
|
|
3431
|
-
tooltipText: " "
|
|
3461
|
+
tooltip: Sr({ root: a, series: t, tooltipFormatter: e?.tooltipFormatter })
|
|
3432
3462
|
},
|
|
3433
3463
|
i
|
|
3434
3464
|
);
|
|
@@ -3581,7 +3611,7 @@ function ab(t) {
|
|
|
3581
3611
|
selected: !1,
|
|
3582
3612
|
backToDefaultState: !0
|
|
3583
3613
|
});
|
|
3584
|
-
}) : e instanceof
|
|
3614
|
+
}) : e instanceof ze ? e.columns.each((i) => {
|
|
3585
3615
|
ut({
|
|
3586
3616
|
element: i,
|
|
3587
3617
|
selected: !1,
|
|
@@ -3610,7 +3640,7 @@ function Zi(t) {
|
|
|
3610
3640
|
pendingSelectionQueries: !1
|
|
3611
3641
|
}), Yn(e) && ab(e), a && Xa({
|
|
3612
3642
|
data: {
|
|
3613
|
-
selectionSource: i ??
|
|
3643
|
+
selectionSource: i ?? Pe.ClearSelection
|
|
3614
3644
|
},
|
|
3615
3645
|
htmlContainer: e.root.dom
|
|
3616
3646
|
});
|
|
@@ -3639,12 +3669,12 @@ function Zt(t, e) {
|
|
|
3639
3669
|
c instanceof ge ? c.dataItems.forEach((u) => {
|
|
3640
3670
|
const d = u.bullets?.[0]?.get("sprite");
|
|
3641
3671
|
d !== r && ut({ element: d, selected: !1 });
|
|
3642
|
-
}) : c instanceof
|
|
3672
|
+
}) : c instanceof ze ? c.columns.each((u) => {
|
|
3643
3673
|
u !== r && ut({ element: u, selected: !1 });
|
|
3644
3674
|
}) : c instanceof ht && c.slices.each((u) => {
|
|
3645
3675
|
u !== r && ut({ element: u, selected: !1 });
|
|
3646
3676
|
});
|
|
3647
|
-
}), await vr(a,
|
|
3677
|
+
}), await vr(a, Pe.SelectionByClick);
|
|
3648
3678
|
}
|
|
3649
3679
|
}
|
|
3650
3680
|
}
|
|
@@ -3712,8 +3742,8 @@ function lb(t) {
|
|
|
3712
3742
|
if (o && n) {
|
|
3713
3743
|
const s = t.get("cursor"), r = rb({ cursor: s, xAxis: o, yAxis: n }), l = jd(i);
|
|
3714
3744
|
t.series.each((c) => {
|
|
3715
|
-
!Mi(c) && !No(c) && (c instanceof
|
|
3716
|
-
}), Re(s.selection, !1), await vr(t,
|
|
3745
|
+
!Mi(c) && !No(c) && (c instanceof ze || c instanceof ge) && (c instanceof ze ? nb({ series: c, cursorBounds: r, multiSelect: l }) : c instanceof ge && sb({ series: c, cursorBounds: r, multiSelect: l }));
|
|
3746
|
+
}), Re(s.selection, !1), await vr(t, Pe.SelectionByRange);
|
|
3717
3747
|
}
|
|
3718
3748
|
}
|
|
3719
3749
|
});
|
|
@@ -3857,13 +3887,13 @@ function mb(t) {
|
|
|
3857
3887
|
let r = n ?? "";
|
|
3858
3888
|
const l = s.dataItem, c = he(
|
|
3859
3889
|
i.uid,
|
|
3860
|
-
i instanceof
|
|
3890
|
+
i instanceof ze ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
3861
3891
|
);
|
|
3862
3892
|
if (c !== void 0 && i.chart && l) {
|
|
3863
3893
|
const u = w(i.chart.uid, "isRotated"), d = u === !0 ? l.get("valueX") : l.get("valueY"), m = u === !0 ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), g = i.get("valueYShow") === "valueYTotalPercent" || i.get("valueXShow") === "valueXTotalPercent";
|
|
3864
3894
|
r = c(g ? m : d);
|
|
3865
3895
|
}
|
|
3866
|
-
return o === "html" ?
|
|
3896
|
+
return o === "html" ? Be(r) : r;
|
|
3867
3897
|
});
|
|
3868
3898
|
}
|
|
3869
3899
|
function Un(t) {
|
|
@@ -3915,7 +3945,7 @@ function Un(t) {
|
|
|
3915
3945
|
y = "heatChartDataLabelFormatter";
|
|
3916
3946
|
break;
|
|
3917
3947
|
}
|
|
3918
|
-
y !== void 0 &&
|
|
3948
|
+
y !== void 0 && Ve(e.uid, {
|
|
3919
3949
|
[y]: g
|
|
3920
3950
|
}), n !== void 0 && (c === b.HeatSeries ? n.content.text = "{value}" : n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Pt({
|
|
3921
3951
|
label: a,
|
|
@@ -4031,7 +4061,7 @@ function pb(t) {
|
|
|
4031
4061
|
const { count: u, minValue: d, maxValue: m } = c.dataContext;
|
|
4032
4062
|
r = l(u, d, m);
|
|
4033
4063
|
}
|
|
4034
|
-
return o === "html" ?
|
|
4064
|
+
return o === "html" ? Be(r) : r;
|
|
4035
4065
|
});
|
|
4036
4066
|
}
|
|
4037
4067
|
function Mu(t) {
|
|
@@ -4127,10 +4157,10 @@ function Uo(t) {
|
|
|
4127
4157
|
yAxis: a,
|
|
4128
4158
|
visible: !1
|
|
4129
4159
|
});
|
|
4130
|
-
return o === $e.Normal && Ja(s, n.overlays.normal),
|
|
4160
|
+
return o === $e.Normal && Ja(s, n.overlays.normal), Ve(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
|
|
4131
4161
|
}
|
|
4132
4162
|
function Cb(t) {
|
|
4133
|
-
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, c =
|
|
4163
|
+
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, c = ze.new(e, {
|
|
4134
4164
|
id: r,
|
|
4135
4165
|
name: l,
|
|
4136
4166
|
xAxis: a,
|
|
@@ -4152,7 +4182,7 @@ function Cb(t) {
|
|
|
4152
4182
|
}
|
|
4153
4183
|
function vb(t) {
|
|
4154
4184
|
const { root: e, seriesConfig: i, xAxis: a, xAxisForOverlaySeries: o, yAxis: n, utilsStrings: s, options: r, chartConfig: l } = t, c = [], u = Cb({ root: e, seriesConfig: i, xAxis: a, yAxis: n, options: r, chartConfig: l });
|
|
4155
|
-
return c.push(u), xu(u), o && (c.push(
|
|
4185
|
+
return c.push(u), xu(u, r?.tooltipFormatter), o && (c.push(
|
|
4156
4186
|
Uo({
|
|
4157
4187
|
root: e,
|
|
4158
4188
|
xAxis: o,
|
|
@@ -4229,7 +4259,7 @@ function Lb(t) {
|
|
|
4229
4259
|
e.data.setAll(C);
|
|
4230
4260
|
}
|
|
4231
4261
|
let d = e.data.getIndex(0)?.x;
|
|
4232
|
-
if (l === $e.StdDev && (d = a?.stddev ?? he(e.uid, "stddev"),
|
|
4262
|
+
if (l === $e.StdDev && (d = a?.stddev ?? he(e.uid, "stddev"), Ve(e.uid, { stddev: d })), typeof d == "number") {
|
|
4233
4263
|
let m = l;
|
|
4234
4264
|
switch (l) {
|
|
4235
4265
|
case $e.Mean:
|
|
@@ -4371,7 +4401,7 @@ async function Tb(t) {
|
|
|
4371
4401
|
utilsStrings: o
|
|
4372
4402
|
});
|
|
4373
4403
|
}
|
|
4374
|
-
} else m instanceof
|
|
4404
|
+
} else m instanceof ze && (m.set("id", i.id), await Ab({ ...t, series: m }), Nu({
|
|
4375
4405
|
series: m,
|
|
4376
4406
|
yAxisValueFormat: c.axes?.[1]?.valueFormat,
|
|
4377
4407
|
seriesConfig: i,
|
|
@@ -4412,7 +4442,7 @@ function $b(t) {
|
|
|
4412
4442
|
).every((n) => he(n.uid, "isSelectionApplied") === !0);
|
|
4413
4443
|
}
|
|
4414
4444
|
function Db(t) {
|
|
4415
|
-
t.series.each((e) =>
|
|
4445
|
+
t.series.each((e) => Ve(e.uid, { isSelectionApplied: void 0 }));
|
|
4416
4446
|
}
|
|
4417
4447
|
function Ob(t) {
|
|
4418
4448
|
let e = [];
|
|
@@ -4421,14 +4451,14 @@ function Ob(t) {
|
|
|
4421
4451
|
case t instanceof ht:
|
|
4422
4452
|
e = t.slices.values;
|
|
4423
4453
|
break;
|
|
4424
|
-
case t instanceof
|
|
4454
|
+
case t instanceof ze:
|
|
4425
4455
|
const { chart: i } = t;
|
|
4426
4456
|
if (i) {
|
|
4427
4457
|
const a = w(i.uid, "config");
|
|
4428
4458
|
if (a) {
|
|
4429
4459
|
const o = z(a?.series);
|
|
4430
4460
|
let n = [];
|
|
4431
|
-
o === b.HistogramSeries ? n = [po.Count] : o === b.HeatSeries ? n = [
|
|
4461
|
+
o === b.HistogramSeries ? n = [po.Count] : o === b.HeatSeries ? n = [Ne.valueField] : n = wi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
4432
4462
|
let r = !1;
|
|
4433
4463
|
const l = s.dataItem?.dataContext;
|
|
4434
4464
|
return l && (r = n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -4649,18 +4679,18 @@ function Mb(t) {
|
|
|
4649
4679
|
});
|
|
4650
4680
|
}
|
|
4651
4681
|
}
|
|
4652
|
-
if (
|
|
4682
|
+
if (Ve(e.uid, { isSelectionApplied: !0 }), $b({ chart: d, chartType: v, showMean: C }) && (Db(d), M || $)) {
|
|
4653
4683
|
let N = w(d.uid, "computedSelectionDataItems") ?? R;
|
|
4654
4684
|
N = Array.from(
|
|
4655
4685
|
new Set(N?.map((V) => JSON.stringify(V)))
|
|
4656
4686
|
).map((V) => JSON.parse(V)), R !== void 0 && de(d.uid, { currentSelectionDataItems: N }), h?.selectionOIDs !== void 0 && de(d.uid, { currentSelectionOIDs: h.selectionOIDs });
|
|
4657
4687
|
let E;
|
|
4658
4688
|
if (y === !0 && (E = w(d.uid, "computedSelectionIndexes") ?? S, E !== void 0 && de(d.uid, { currentSelectionIndexes: E })), N === void 0 || N.length === 0)
|
|
4659
|
-
Zi({ chart: d, selectionSource:
|
|
4689
|
+
Zi({ chart: d, selectionSource: Pe.ProgrammaticSelection });
|
|
4660
4690
|
else {
|
|
4661
4691
|
const V = {
|
|
4662
4692
|
selectionItems: N,
|
|
4663
|
-
selectionSource:
|
|
4693
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
4664
4694
|
};
|
|
4665
4695
|
y === !0 && (V.selectionIndexes = E), p !== !1 && (V.selectionOIDs = h?.selectionOIDs ?? w(d.uid, "currentSelectionOIDs")), Xa({
|
|
4666
4696
|
data: V,
|
|
@@ -4711,7 +4741,7 @@ async function vr(t, e) {
|
|
|
4711
4741
|
if (t.series.each(async (S, x) => {
|
|
4712
4742
|
const { seriesConfig: C } = jn(S, i), v = C?.query?.where ?? "", F = C?.type === b.BoxPlotSeries ? C.y.toString() : Po(S);
|
|
4713
4743
|
let T;
|
|
4714
|
-
S instanceof ge ? T = S.dataItems : S instanceof
|
|
4744
|
+
S instanceof ge ? T = S.dataItems : S instanceof ze ? T = S.columns.values : S instanceof ht && (T = S.slices.values), T?.forEach((k, D) => {
|
|
4715
4745
|
const O = k instanceof ho || k instanceof Ma ? k : k.bullets?.[0]?.get("sprite");
|
|
4716
4746
|
if (O !== void 0 && Ri(O.uid, "selected") === !0) {
|
|
4717
4747
|
p += 1;
|
|
@@ -4828,7 +4858,7 @@ function Vu(t) {
|
|
|
4828
4858
|
case e instanceof An:
|
|
4829
4859
|
e.events.once(le.DataValidated, () => o(i));
|
|
4830
4860
|
break;
|
|
4831
|
-
case e instanceof
|
|
4861
|
+
case e instanceof ze:
|
|
4832
4862
|
{
|
|
4833
4863
|
const s = e.root.events.on(le.FrameEnded, () => {
|
|
4834
4864
|
e.columns.length === e.dataItems.length && (s.dispose(), o(i));
|
|
@@ -4929,7 +4959,7 @@ function Eb(t) {
|
|
|
4929
4959
|
function eo(t, e) {
|
|
4930
4960
|
const { series: i } = e, a = z(i);
|
|
4931
4961
|
switch (!0) {
|
|
4932
|
-
case t instanceof
|
|
4962
|
+
case t instanceof ze:
|
|
4933
4963
|
t.columns.template.setAll({ focusable: !0, hoverOnFocus: !0 }), a === b.HeatSeries ? t.columns.template.set("ariaLabel", Gb()) : t.columns.template.set("ariaLabel", dn());
|
|
4934
4964
|
break;
|
|
4935
4965
|
}
|
|
@@ -5008,7 +5038,7 @@ function to(t, e) {
|
|
|
5008
5038
|
return (i?.colorMatch ?? !1) && a;
|
|
5009
5039
|
}
|
|
5010
5040
|
function Gb() {
|
|
5011
|
-
return `{${
|
|
5041
|
+
return `{${Ne.xField}} {${Ne.yField}} {${Ne.valueField}}`;
|
|
5012
5042
|
}
|
|
5013
5043
|
function zu(t) {
|
|
5014
5044
|
const { root: e, intlOptions: i, formatLocale: a, overridePercentMultiplication: o } = t, n = Dt({
|
|
@@ -5191,7 +5221,7 @@ function qb(t, e) {
|
|
|
5191
5221
|
let m = n;
|
|
5192
5222
|
const g = s.dataItem?.dataContext, h = w(t.chart?.uid ?? NaN, "config");
|
|
5193
5223
|
if (z(h?.series) === b.HeatSeries) {
|
|
5194
|
-
const x = Fi(t.get("renderer")) ? g?.[
|
|
5224
|
+
const x = Fi(t.get("renderer")) ? g?.[Ne.xField] : g?.[Ne.yField];
|
|
5195
5225
|
typeof x == "string" && (m = x);
|
|
5196
5226
|
}
|
|
5197
5227
|
const p = Wu({
|
|
@@ -5203,7 +5233,7 @@ function qb(t, e) {
|
|
|
5203
5233
|
}
|
|
5204
5234
|
break;
|
|
5205
5235
|
}
|
|
5206
|
-
u !== void 0 && (r = l(u, d), o === "html" && (r =
|
|
5236
|
+
u !== void 0 && (r = l(u, d), o === "html" && (r = Be(r)));
|
|
5207
5237
|
}
|
|
5208
5238
|
return r;
|
|
5209
5239
|
}), a.adapters.add(o, (n, s) => {
|
|
@@ -6358,7 +6388,7 @@ function Xi(t) {
|
|
|
6358
6388
|
let d;
|
|
6359
6389
|
switch (r) {
|
|
6360
6390
|
case b.HeatSeries:
|
|
6361
|
-
d = a ?
|
|
6391
|
+
d = a ? Ne.xField : Ne.yField;
|
|
6362
6392
|
break;
|
|
6363
6393
|
case b.HistogramSeries:
|
|
6364
6394
|
d = po.Start;
|
|
@@ -6402,7 +6432,7 @@ function jy(t) {
|
|
|
6402
6432
|
(d) => l in d ? d[l] : void 0
|
|
6403
6433
|
);
|
|
6404
6434
|
return Array.from(new Set(u)).map((d) => ({ [l]: d }));
|
|
6405
|
-
}, s = e.get("renderer") instanceof qi ?
|
|
6435
|
+
}, s = e.get("renderer") instanceof qi ? Ne.yField : Ne.xField, r = n(s, o);
|
|
6406
6436
|
e.data.setAll(r);
|
|
6407
6437
|
}
|
|
6408
6438
|
}
|
|
@@ -6698,7 +6728,7 @@ function eS(t) {
|
|
|
6698
6728
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
6699
6729
|
e instanceof Ba && e.series.each((o) => {
|
|
6700
6730
|
switch (!0) {
|
|
6701
|
-
case o instanceof
|
|
6731
|
+
case o instanceof ze:
|
|
6702
6732
|
o.columns.template.set("cursorOverStyle", a);
|
|
6703
6733
|
break;
|
|
6704
6734
|
case o instanceof ge:
|
|
@@ -7017,7 +7047,7 @@ function pS(t, e) {
|
|
|
7017
7047
|
});
|
|
7018
7048
|
}
|
|
7019
7049
|
function bS(t) {
|
|
7020
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: c, yField: u, xAxisField: d, yAxisField: m } = Qa(i, a), g = bg(i), h =
|
|
7050
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: c, yField: u, xAxisField: d, yAxisField: m } = Qa(i, a), g = bg(i), h = ze.new(e, {
|
|
7021
7051
|
id: r,
|
|
7022
7052
|
name: l,
|
|
7023
7053
|
stacked: g,
|
|
@@ -7029,12 +7059,12 @@ function bS(t) {
|
|
|
7029
7059
|
});
|
|
7030
7060
|
_t(h.columns.template, s?.selectionTheme);
|
|
7031
7061
|
const y = Wa.new({});
|
|
7032
|
-
return
|
|
7062
|
+
return Ve(h.uid, { bulletTemplate: y }), Zt(h.columns.template, h), h.bullets.push((p) => {
|
|
7033
7063
|
const S = ui.new(p, {}, y);
|
|
7034
7064
|
return Ti.new(p, {
|
|
7035
7065
|
sprite: S
|
|
7036
7066
|
});
|
|
7037
|
-
}), h.columns.template.set("width", gt(100)), Ar(h), Su(h), du(h), eo(h, i), h.appear(), h;
|
|
7067
|
+
}), h.columns.template.set("width", gt(100)), Ar(h), Su(h, s?.tooltipFormatter), du(h), eo(h, i), h.appear(), h;
|
|
7038
7068
|
}
|
|
7039
7069
|
function yS(t) {
|
|
7040
7070
|
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = Po(e), u = /* @__PURE__ */ new Set();
|
|
@@ -7373,12 +7403,10 @@ function $S(t) {
|
|
|
7373
7403
|
[c.dataFields.category]: c.properties.category
|
|
7374
7404
|
}), l.appear();
|
|
7375
7405
|
const u = Wa.new({});
|
|
7376
|
-
|
|
7406
|
+
Ve(l.uid, { bulletTemplate: u }), l.bullets.push((d) => {
|
|
7377
7407
|
const m = ui.new(
|
|
7378
7408
|
d,
|
|
7379
7409
|
{
|
|
7380
|
-
tooltipText: " ",
|
|
7381
|
-
// necessary to trigger the adapter
|
|
7382
7410
|
focusable: !0
|
|
7383
7411
|
// necessary for accessibility on bullets
|
|
7384
7412
|
},
|
|
@@ -7387,7 +7415,7 @@ function $S(t) {
|
|
|
7387
7415
|
sprite: m
|
|
7388
7416
|
});
|
|
7389
7417
|
return _t(m, s?.selectionTheme), l && Zt(m, l), g;
|
|
7390
|
-
}),
|
|
7418
|
+
}), Ve(l.uid, { isBoxPlotMeanLineSeries: !0 });
|
|
7391
7419
|
}
|
|
7392
7420
|
return l;
|
|
7393
7421
|
}
|
|
@@ -7470,12 +7498,10 @@ function PS(t) {
|
|
|
7470
7498
|
[c.dataFields.category]: c.properties.category
|
|
7471
7499
|
}), l.strokes.template.set("forceHidden", !0);
|
|
7472
7500
|
const u = Wa.new({});
|
|
7473
|
-
|
|
7501
|
+
Ve(l.uid, { bulletTemplate: u }), l.bullets.push((d) => {
|
|
7474
7502
|
const m = ui.new(
|
|
7475
7503
|
d,
|
|
7476
7504
|
{
|
|
7477
|
-
tooltipText: " ",
|
|
7478
|
-
// necessary to trigger the adapter
|
|
7479
7505
|
focusable: !0
|
|
7480
7506
|
// necessary for accessibility on bullets
|
|
7481
7507
|
},
|
|
@@ -7484,7 +7510,7 @@ function PS(t) {
|
|
|
7484
7510
|
sprite: m
|
|
7485
7511
|
});
|
|
7486
7512
|
return _t(m, s?.selectionTheme), l && Zt(m, l), GS({ outlierSeries: l, bullet: g, seriesConfigId: r.id }), g;
|
|
7487
|
-
}),
|
|
7513
|
+
}), Ve(l.uid, { isBoxPlotOutliersSeries: !0 }), l.appear();
|
|
7488
7514
|
}
|
|
7489
7515
|
return l;
|
|
7490
7516
|
}
|
|
@@ -7756,7 +7782,7 @@ function jS(t) {
|
|
|
7756
7782
|
const d = l.get("value"), m = l.get("categoryX"), g = l.get("categoryY");
|
|
7757
7783
|
d === null ? r = u?.series[0].emptyCells?.text ?? A.heatChart.emptyCells?.text ?? "" : d !== void 0 && (r = c(d, m, g));
|
|
7758
7784
|
}
|
|
7759
|
-
return o === "html" ?
|
|
7785
|
+
return o === "html" ? Be(r) : r;
|
|
7760
7786
|
});
|
|
7761
7787
|
}
|
|
7762
7788
|
function qS(t) {
|
|
@@ -7809,25 +7835,25 @@ function ZS(t) {
|
|
|
7809
7835
|
e.bullets.hasIndex(0) && Cr(e, 0), a === !0 && _S(t);
|
|
7810
7836
|
}
|
|
7811
7837
|
function KS(t) {
|
|
7812
|
-
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s =
|
|
7838
|
+
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s = ze.new(e, {
|
|
7813
7839
|
calculateAggregates: !0,
|
|
7814
7840
|
stroke: ae(A.backgroundColor).color,
|
|
7815
7841
|
clustered: !1,
|
|
7816
7842
|
xAxis: i,
|
|
7817
7843
|
yAxis: a,
|
|
7818
|
-
categoryXField:
|
|
7844
|
+
categoryXField: Ne.xField,
|
|
7819
7845
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
7820
|
-
categoryYField:
|
|
7846
|
+
categoryYField: Ne.yField,
|
|
7821
7847
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
7822
|
-
valueField:
|
|
7848
|
+
valueField: Ne.valueField
|
|
7823
7849
|
});
|
|
7824
7850
|
return s.columns.template.setAll({
|
|
7825
|
-
tooltipText: `x: {${
|
|
7826
|
-
y: {${
|
|
7827
|
-
Value: {${
|
|
7851
|
+
tooltipText: `x: {${Ne.xField}}
|
|
7852
|
+
y: {${Ne.yField}}
|
|
7853
|
+
Value: {${Ne.valueField}}`,
|
|
7828
7854
|
width: Te,
|
|
7829
7855
|
height: Te
|
|
7830
|
-
}), vu(s), eo(s, n), _t(s.columns.template, o?.selectionTheme), Zt(s.columns.template, s), s;
|
|
7856
|
+
}), vu(s, o?.tooltipFormatter), eo(s, n), _t(s.columns.template, o?.selectionTheme), Zt(s.columns.template, s), s;
|
|
7831
7857
|
}
|
|
7832
7858
|
function QS(t) {
|
|
7833
7859
|
const { columnSeries: e, data: i, loaderHandle: a } = t;
|
|
@@ -8051,7 +8077,7 @@ function rx(t) {
|
|
|
8051
8077
|
});
|
|
8052
8078
|
g.appear();
|
|
8053
8079
|
const h = Wa.new({});
|
|
8054
|
-
return
|
|
8080
|
+
return Ve(g.uid, { bulletTemplate: h }), g.bullets.push((y) => {
|
|
8055
8081
|
const p = ui.new(
|
|
8056
8082
|
y,
|
|
8057
8083
|
{
|
|
@@ -8063,9 +8089,7 @@ function rx(t) {
|
|
|
8063
8089
|
// adding aria label to bullets
|
|
8064
8090
|
hoverOnFocus: !0,
|
|
8065
8091
|
// necessary for tooltip to show on focus
|
|
8066
|
-
tooltip: Sr(y, g),
|
|
8067
|
-
tooltipText: " ",
|
|
8068
|
-
// necessary to trigger the adapter
|
|
8092
|
+
tooltip: Sr({ root: y, series: g, tooltipFormatter: s?.tooltipFormatter }),
|
|
8069
8093
|
layer: A.zIndexes.bulletMarkers
|
|
8070
8094
|
},
|
|
8071
8095
|
h
|
|
@@ -8178,21 +8202,24 @@ function ux(t) {
|
|
|
8178
8202
|
seriesConfig: p
|
|
8179
8203
|
}), Fr({ chartConfig: a, series: e, seriesIndex: n, subtypeInfo: l, fieldList: c });
|
|
8180
8204
|
}
|
|
8181
|
-
function fx(t) {
|
|
8182
|
-
t.labels.template
|
|
8183
|
-
|
|
8184
|
-
|
|
8205
|
+
function fx(t, e) {
|
|
8206
|
+
const i = t.labels.template;
|
|
8207
|
+
i.adapters.remove("text"), i.adapters.remove("html");
|
|
8208
|
+
const a = e !== void 0 ? "html" : "text";
|
|
8209
|
+
i.adapters.add(a, (o, n) => {
|
|
8210
|
+
let s = o ?? "";
|
|
8211
|
+
const r = he(
|
|
8185
8212
|
t.uid,
|
|
8186
8213
|
"pieChartDataLabelFormatter"
|
|
8187
8214
|
);
|
|
8188
|
-
if (
|
|
8189
|
-
const
|
|
8190
|
-
if (
|
|
8191
|
-
const
|
|
8192
|
-
|
|
8215
|
+
if (r) {
|
|
8216
|
+
const l = n.dataItem;
|
|
8217
|
+
if (l) {
|
|
8218
|
+
const c = l?.get("valuePercentTotal"), u = l?.get("value"), d = l?.get("category") ?? o ?? "";
|
|
8219
|
+
s = r(d, u, c);
|
|
8193
8220
|
}
|
|
8194
8221
|
}
|
|
8195
|
-
return a;
|
|
8222
|
+
return a === "html" ? Be(s) : s;
|
|
8196
8223
|
});
|
|
8197
8224
|
}
|
|
8198
8225
|
function mx(t) {
|
|
@@ -8209,17 +8236,17 @@ function mx(t) {
|
|
|
8209
8236
|
}
|
|
8210
8237
|
return i;
|
|
8211
8238
|
}
|
|
8212
|
-
function gx(t) {
|
|
8213
|
-
const
|
|
8214
|
-
|
|
8239
|
+
function gx(t, e) {
|
|
8240
|
+
const i = t.labels.template;
|
|
8241
|
+
i.set("cursorOverStyle", "pointer"), i.setAll({
|
|
8215
8242
|
cursorOverStyle: "pointer",
|
|
8216
8243
|
maxWidth: A.pieChart.dataLabels.maxWidth ?? Number.NaN,
|
|
8217
8244
|
oversizedBehavior: A.pieChart.dataLabels.wrap ?? !0 ? "wrap" : "none",
|
|
8218
8245
|
centerX: Ae,
|
|
8219
8246
|
centerY: Ae
|
|
8220
|
-
}), fx(t),
|
|
8247
|
+
}), fx(t, e), i.adapters.add(
|
|
8221
8248
|
"fill",
|
|
8222
|
-
(
|
|
8249
|
+
(a, o, n) => mx(o)
|
|
8223
8250
|
);
|
|
8224
8251
|
}
|
|
8225
8252
|
function hx(t, e) {
|
|
@@ -8268,7 +8295,7 @@ function hx(t, e) {
|
|
|
8268
8295
|
}
|
|
8269
8296
|
function px(t) {
|
|
8270
8297
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? A.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? A.pieChart.dataLabelsInside;
|
|
8271
|
-
|
|
8298
|
+
Ve(e.uid, {
|
|
8272
8299
|
pieChartDataLabelFormatter: a ?? hx(e, i)
|
|
8273
8300
|
}), Pt({
|
|
8274
8301
|
label: e.labels.template,
|
|
@@ -8467,7 +8494,7 @@ function Lx(t) {
|
|
|
8467
8494
|
categoryField: c === P.PieFromFields ? ii : r,
|
|
8468
8495
|
valueField: c === P.PieFromFields ? wa : l
|
|
8469
8496
|
});
|
|
8470
|
-
return gx(u), Cu(u), u.slices.template.states.create("hover", {
|
|
8497
|
+
return gx(u, a?.dataLabelFormatter), Cu(u, a?.tooltipFormatter), u.slices.template.states.create("hover", {
|
|
8471
8498
|
scale: 1,
|
|
8472
8499
|
// Prevent scaling on hover
|
|
8473
8500
|
stateAnimationDuration: 0
|
|
@@ -8595,10 +8622,16 @@ function Ix(t) {
|
|
|
8595
8622
|
});
|
|
8596
8623
|
g.appear();
|
|
8597
8624
|
const h = Wa.new({});
|
|
8598
|
-
return
|
|
8625
|
+
return Ve(g.uid, { bulletTemplate: h }), g.bullets.push((y) => {
|
|
8599
8626
|
const p = ui.new(
|
|
8600
8627
|
y,
|
|
8601
|
-
{
|
|
8628
|
+
{
|
|
8629
|
+
tooltip: Sr({
|
|
8630
|
+
root: y,
|
|
8631
|
+
series: g,
|
|
8632
|
+
tooltipFormatter: s?.tooltipFormatter
|
|
8633
|
+
})
|
|
8634
|
+
},
|
|
8602
8635
|
h
|
|
8603
8636
|
);
|
|
8604
8637
|
return _t(p, s?.selectionTheme), Zt(p, g), Ti.new(y, { sprite: p });
|
|
@@ -8843,7 +8876,7 @@ async function Zn(t) {
|
|
|
8843
8876
|
const Fe = H.type;
|
|
8844
8877
|
switch (!0) {
|
|
8845
8878
|
case k === b.HeatSeries: {
|
|
8846
|
-
q instanceof
|
|
8879
|
+
q instanceof ze && e instanceof Se && H.type === b.HeatSeries && tx({
|
|
8847
8880
|
...ne,
|
|
8848
8881
|
series: q,
|
|
8849
8882
|
data: o,
|
|
@@ -8866,7 +8899,7 @@ async function Zn(t) {
|
|
|
8866
8899
|
break;
|
|
8867
8900
|
}
|
|
8868
8901
|
case Fe === b.HistogramSeries: {
|
|
8869
|
-
q instanceof
|
|
8902
|
+
q instanceof ze && e instanceof Se && gg(o) && await Tb({
|
|
8870
8903
|
...ne,
|
|
8871
8904
|
series: q,
|
|
8872
8905
|
allChartSeries: O,
|
|
@@ -8893,7 +8926,7 @@ async function Zn(t) {
|
|
|
8893
8926
|
break;
|
|
8894
8927
|
}
|
|
8895
8928
|
case (k === b.ComboLineAndBarSeries || k === b.BarSeries || k === b.LineSeries):
|
|
8896
|
-
e instanceof Se && ms(o) && (Fe === b.BarSeries && q instanceof
|
|
8929
|
+
e instanceof Se && ms(o) && (Fe === b.BarSeries && q instanceof ze ? CS({
|
|
8897
8930
|
...ne,
|
|
8898
8931
|
series: q,
|
|
8899
8932
|
data: o,
|
|
@@ -8931,7 +8964,7 @@ async function Zn(t) {
|
|
|
8931
8964
|
break;
|
|
8932
8965
|
}
|
|
8933
8966
|
}
|
|
8934
|
-
j && k && q && Gp(k, q);
|
|
8967
|
+
j && k && q && Gp({ chartType: k, series: q, tooltipFormatter: a?.tooltipFormatter });
|
|
8935
8968
|
}
|
|
8936
8969
|
await Nb({
|
|
8937
8970
|
chart: e,
|
|
@@ -9011,7 +9044,7 @@ async function Px(t) {
|
|
|
9011
9044
|
const e = w(t.uid, "actionMode");
|
|
9012
9045
|
e !== K.MonoSelection && e !== K.None && (t.series.each((i) => {
|
|
9013
9046
|
switch (!0) {
|
|
9014
|
-
case i instanceof
|
|
9047
|
+
case i instanceof ze:
|
|
9015
9048
|
Mx(i);
|
|
9016
9049
|
break;
|
|
9017
9050
|
case i instanceof ge:
|
|
@@ -9021,7 +9054,7 @@ async function Px(t) {
|
|
|
9021
9054
|
Nx(i);
|
|
9022
9055
|
break;
|
|
9023
9056
|
}
|
|
9024
|
-
}), await vr(t,
|
|
9057
|
+
}), await vr(t, Pe.ProgrammaticSelection));
|
|
9025
9058
|
}
|
|
9026
9059
|
}
|
|
9027
9060
|
function Vx(t) {
|
|
@@ -9228,7 +9261,7 @@ function Ds(t) {
|
|
|
9228
9261
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
9229
9262
|
if (Yn(e)) {
|
|
9230
9263
|
const o = i ?? w(e.uid, "actionMode") ?? A.actionMode;
|
|
9231
|
-
de(e.uid, { actionMode: o }), o === K.None && Zi({ chart: e, selectionSource:
|
|
9264
|
+
de(e.uid, { actionMode: o }), o === K.None && Zi({ chart: e, selectionSource: Pe.ClearSelection }), tS({ chart: e, actionMode: o, cursorRange: a });
|
|
9232
9265
|
}
|
|
9233
9266
|
}
|
|
9234
9267
|
function Yx(t) {
|
|
@@ -9454,10 +9487,10 @@ async function _x(t) {
|
|
|
9454
9487
|
oldConfig: x,
|
|
9455
9488
|
newConfig: S,
|
|
9456
9489
|
rotationChanged: ne
|
|
9457
|
-
}), Fa = x.series,
|
|
9458
|
-
let
|
|
9490
|
+
}), Fa = x.series, Me = S.series;
|
|
9491
|
+
let Ee;
|
|
9459
9492
|
if (V) {
|
|
9460
|
-
n.showLoader(l?.hideLoaderAnimation !== !0),
|
|
9493
|
+
n.showLoader(l?.hideLoaderAnimation !== !0), Ee = await ja({
|
|
9461
9494
|
chartConfig: S,
|
|
9462
9495
|
queryObject: O,
|
|
9463
9496
|
options: l,
|
|
@@ -9469,7 +9502,7 @@ async function _x(t) {
|
|
|
9469
9502
|
errorStrings: d,
|
|
9470
9503
|
abortKey: yu(e)
|
|
9471
9504
|
});
|
|
9472
|
-
const { data: ct, queryConfig: us, valid: wm, count: sl, invalidType: $m } =
|
|
9505
|
+
const { data: ct, queryConfig: us, valid: wm, count: sl, invalidType: $m } = Ee;
|
|
9473
9506
|
de(e.uid, {
|
|
9474
9507
|
queryConfig: us,
|
|
9475
9508
|
initialized: !0,
|
|
@@ -9487,7 +9520,7 @@ async function _x(t) {
|
|
|
9487
9520
|
}), n.hideLoader());
|
|
9488
9521
|
}
|
|
9489
9522
|
if (e instanceof Ba) {
|
|
9490
|
-
const ct = bd(Fa,
|
|
9523
|
+
const ct = bd(Fa, Me);
|
|
9491
9524
|
ct.length > 0 && (Wx(e.series, ct), a instanceof Fn && uu({
|
|
9492
9525
|
chart: e,
|
|
9493
9526
|
legend: a,
|
|
@@ -9495,9 +9528,9 @@ async function _x(t) {
|
|
|
9495
9528
|
hideEmptySeries: l?.hideEmptySeries
|
|
9496
9529
|
}));
|
|
9497
9530
|
}
|
|
9498
|
-
const pe =
|
|
9531
|
+
const pe = Ee?.data ?? w(e.uid, "data"), nt = $i(pe), It = e instanceof ti ? Dd(
|
|
9499
9532
|
Fa,
|
|
9500
|
-
|
|
9533
|
+
Me
|
|
9501
9534
|
) : !1;
|
|
9502
9535
|
(gi || It) && (Ga({
|
|
9503
9536
|
arrayToSort: nt,
|
|
@@ -9898,7 +9931,7 @@ function Y(t, e) {
|
|
|
9898
9931
|
function _(t, e) {
|
|
9899
9932
|
return ya(t, e);
|
|
9900
9933
|
}
|
|
9901
|
-
function
|
|
9934
|
+
function He(t, e) {
|
|
9902
9935
|
ba(t, e);
|
|
9903
9936
|
}
|
|
9904
9937
|
function ot(t, e) {
|
|
@@ -10063,13 +10096,13 @@ function Os(t) {
|
|
|
10063
10096
|
isXAxis: !0,
|
|
10064
10097
|
chartType: a,
|
|
10065
10098
|
valueFormat: i
|
|
10066
|
-
}), n = mi(i) && e instanceof
|
|
10099
|
+
}), n = mi(i) && e instanceof We, s = vt(i) && e instanceof ve && !(e instanceof We), r = o && e instanceof lt;
|
|
10067
10100
|
return !n && !s && !r;
|
|
10068
10101
|
}
|
|
10069
10102
|
function Rr(t, e) {
|
|
10070
10103
|
let i = typeof e == "number" ? `${e}` : e;
|
|
10071
10104
|
const a = ot(t.uid, "numberFormatter");
|
|
10072
|
-
return a !== void 0 && (i = a(e)), ye(i) && (i = L.htmlEmptyContent),
|
|
10105
|
+
return a !== void 0 && (i = a(e)), ye(i) && (i = L.htmlEmptyContent), Be(i);
|
|
10073
10106
|
}
|
|
10074
10107
|
function sC(t) {
|
|
10075
10108
|
t.renderer.labels.template.html = L.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
@@ -10108,7 +10141,7 @@ function Lf(t) {
|
|
|
10108
10141
|
m === void 0 && (m = c), o = n(c, m);
|
|
10109
10142
|
}
|
|
10110
10143
|
}
|
|
10111
|
-
return ye(o) && (o = L.htmlEmptyContent),
|
|
10144
|
+
return ye(o) && (o = L.htmlEmptyContent), Be(o);
|
|
10112
10145
|
}
|
|
10113
10146
|
function rC(t) {
|
|
10114
10147
|
t.renderer.labels.template.html = L.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
@@ -10125,7 +10158,7 @@ function lC(t) {
|
|
|
10125
10158
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
10126
10159
|
let o = i;
|
|
10127
10160
|
const n = ot(e.uid, "dateFormatter");
|
|
10128
|
-
return n !== void 0 && a instanceof Vn && (o = n(a.value ?? i)), ye(o) && (o = L.htmlEmptyContent),
|
|
10161
|
+
return n !== void 0 && a instanceof Vn && (o = n(a.value ?? i)), ye(o) && (o = L.htmlEmptyContent), Be(o);
|
|
10129
10162
|
}
|
|
10130
10163
|
function cC(t) {
|
|
10131
10164
|
t.renderer.labels.template.adapter.add(
|
|
@@ -10144,13 +10177,13 @@ function dC(t) {
|
|
|
10144
10177
|
(i) => {
|
|
10145
10178
|
let a = i;
|
|
10146
10179
|
const o = ot(t.uid, "fontStyleCallback");
|
|
10147
|
-
return o !== void 0 && (a = o(a)),
|
|
10180
|
+
return o !== void 0 && (a = o(a)), Be(a);
|
|
10148
10181
|
},
|
|
10149
10182
|
1
|
|
10150
10183
|
);
|
|
10151
10184
|
}
|
|
10152
10185
|
function uC(t) {
|
|
10153
|
-
t instanceof ve && !(t instanceof
|
|
10186
|
+
t instanceof ve && !(t instanceof We) ? sC(t) : t instanceof lt ? rC(t) : t instanceof We && cC(t), dC(t);
|
|
10154
10187
|
}
|
|
10155
10188
|
function fC(t) {
|
|
10156
10189
|
const { axis: e, formatOptions: i, dateAxisFormatter: a } = t;
|
|
@@ -10238,12 +10271,12 @@ async function pC(t) {
|
|
|
10238
10271
|
valueFormat: a
|
|
10239
10272
|
});
|
|
10240
10273
|
let u = !1;
|
|
10241
|
-
!(e instanceof
|
|
10274
|
+
!(e instanceof We) && vt(a) ? Kl({
|
|
10242
10275
|
axis: e,
|
|
10243
10276
|
formatOptions: a,
|
|
10244
10277
|
overridePercentMultiplication: n,
|
|
10245
10278
|
valueAxisFormatter: r
|
|
10246
|
-
}) : e instanceof
|
|
10279
|
+
}) : e instanceof We && mi(a) ? fC({
|
|
10247
10280
|
axis: e,
|
|
10248
10281
|
formatOptions: a,
|
|
10249
10282
|
dateAxisFormatter: r
|
|
@@ -10912,7 +10945,7 @@ function Ns(t, e) {
|
|
|
10912
10945
|
}) ? "" : s(c, u);
|
|
10913
10946
|
}
|
|
10914
10947
|
}
|
|
10915
|
-
return
|
|
10948
|
+
return Be(o);
|
|
10916
10949
|
},
|
|
10917
10950
|
0
|
|
10918
10951
|
// 0 = high priority
|
|
@@ -10977,7 +11010,7 @@ function es(t) {
|
|
|
10977
11010
|
g = "scatterplotDataLabelFormatter";
|
|
10978
11011
|
break;
|
|
10979
11012
|
}
|
|
10980
|
-
g !== void 0 &&
|
|
11013
|
+
g !== void 0 && He(e.uid, {
|
|
10981
11014
|
[g]: d
|
|
10982
11015
|
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), At({
|
|
10983
11016
|
label: a,
|
|
@@ -10994,7 +11027,7 @@ function Sa(t, e) {
|
|
|
10994
11027
|
}
|
|
10995
11028
|
function Ef(t, e) {
|
|
10996
11029
|
let i;
|
|
10997
|
-
return t instanceof
|
|
11030
|
+
return t instanceof We ? i = e === !0 ? "dateY" : "dateX" : t instanceof lt ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
10998
11031
|
}
|
|
10999
11032
|
function Kt(t, e) {
|
|
11000
11033
|
t.name = e;
|
|
@@ -11007,7 +11040,7 @@ function zf(t) {
|
|
|
11007
11040
|
iLocale: i.chart.language.locale,
|
|
11008
11041
|
formatLocale: s
|
|
11009
11042
|
});
|
|
11010
|
-
r.numberFormat = o.intlOptions,
|
|
11043
|
+
r.numberFormat = o.intlOptions, He(i.uid, {
|
|
11011
11044
|
tooltipValueYNumberFormatCallback: (l) => r.format(l, a?.intlOptions)
|
|
11012
11045
|
});
|
|
11013
11046
|
}
|
|
@@ -11017,7 +11050,7 @@ function zf(t) {
|
|
|
11017
11050
|
iLocale: i.chart.language.locale,
|
|
11018
11051
|
formatLocale: s
|
|
11019
11052
|
});
|
|
11020
|
-
r.numberFormat = n.intlOptions,
|
|
11053
|
+
r.numberFormat = n.intlOptions, He(i.uid, {
|
|
11021
11054
|
tooltipValueXNumberFormatCallback: (l) => r.format(l, a?.intlOptions)
|
|
11022
11055
|
});
|
|
11023
11056
|
}
|
|
@@ -11211,7 +11244,7 @@ function Gf(t) {
|
|
|
11211
11244
|
const d = WC(s, r);
|
|
11212
11245
|
u = (s === b.PieSeries ? e.chart : e).events.on(B.Validated, async () => {
|
|
11213
11246
|
d !== void 0 && d(e, a) && (u !== void 0 && u.dispose(), await c(i));
|
|
11214
|
-
}), e.dispatchImmediately(B.Validated),
|
|
11247
|
+
}), e.dispatchImmediately(B.Validated), He(e.uid, { [l]: u });
|
|
11215
11248
|
}
|
|
11216
11249
|
function la(t) {
|
|
11217
11250
|
const { series: e, styleCallback: i, callbackProps: a, onReadyEvent: o, seriesConfig: n } = t;
|
|
@@ -11395,7 +11428,7 @@ function UC(t) {
|
|
|
11395
11428
|
const { chart: e, selectionSource: i, chartConfig: a } = t, o = qe(a);
|
|
11396
11429
|
let n = [];
|
|
11397
11430
|
if (z(a?.series) === b.BoxPlotSeries) {
|
|
11398
|
-
if (n = e.series.values.filter((s) => !(s instanceof Ct)), i ===
|
|
11431
|
+
if (n = e.series.values.filter((s) => !(s instanceof Ct)), i === Pe.SelectionByClick) {
|
|
11399
11432
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
11400
11433
|
(l) => l instanceof _e && l.isHover
|
|
11401
11434
|
);
|
|
@@ -11435,7 +11468,7 @@ async function Yf(t) {
|
|
|
11435
11468
|
const T = v.isActive, k = v === n || XC(v, i);
|
|
11436
11469
|
k && (u = !1);
|
|
11437
11470
|
let D = !1;
|
|
11438
|
-
T ? k ? D = o !==
|
|
11471
|
+
T ? k ? D = o !== Pe.SelectionByClick : D = a === !0 : D = k, D && l.push({
|
|
11439
11472
|
...x,
|
|
11440
11473
|
element: v,
|
|
11441
11474
|
elementDataContext: v.dataItem?.dataContext,
|
|
@@ -11465,7 +11498,7 @@ function jC(t) {
|
|
|
11465
11498
|
chart: t,
|
|
11466
11499
|
cursorSelectionRectangle: o,
|
|
11467
11500
|
multiSelect: n,
|
|
11468
|
-
selectionSource:
|
|
11501
|
+
selectionSource: Pe.SelectionByRange
|
|
11469
11502
|
});
|
|
11470
11503
|
}
|
|
11471
11504
|
}
|
|
@@ -11493,7 +11526,7 @@ async function xn(t, e) {
|
|
|
11493
11526
|
chart: e,
|
|
11494
11527
|
cursorSelectionRectangle: o,
|
|
11495
11528
|
multiSelect: n,
|
|
11496
|
-
selectionSource:
|
|
11529
|
+
selectionSource: Pe.SelectionByClick,
|
|
11497
11530
|
hitElement: i
|
|
11498
11531
|
});
|
|
11499
11532
|
}
|
|
@@ -11521,7 +11554,7 @@ async function _C(t) {
|
|
|
11521
11554
|
await Ho({
|
|
11522
11555
|
chart: t,
|
|
11523
11556
|
listSelectedElements: o,
|
|
11524
|
-
selectionSource:
|
|
11557
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
11525
11558
|
}), t instanceof Le && t.feedLegend();
|
|
11526
11559
|
}
|
|
11527
11560
|
}
|
|
@@ -11682,7 +11715,7 @@ function jf(t, e) {
|
|
|
11682
11715
|
}
|
|
11683
11716
|
}
|
|
11684
11717
|
}
|
|
11685
|
-
return
|
|
11718
|
+
return Be(o);
|
|
11686
11719
|
}), t.tooltipPosition = e instanceof ue ? L.markerTooltipPosition : L.columnTooltipPosition, e.cursorTooltipEnabled = !1;
|
|
11687
11720
|
}
|
|
11688
11721
|
function sv(t) {
|
|
@@ -11885,7 +11918,7 @@ function lv(t) {
|
|
|
11885
11918
|
}
|
|
11886
11919
|
function _f(t) {
|
|
11887
11920
|
const { series: e, tooltipFormatter: i } = t;
|
|
11888
|
-
|
|
11921
|
+
He(e.uid, {
|
|
11889
11922
|
barAndLineTooltipFormatter: i ?? lv(t)
|
|
11890
11923
|
});
|
|
11891
11924
|
}
|
|
@@ -11916,7 +11949,7 @@ function Wr(t) {
|
|
|
11916
11949
|
}
|
|
11917
11950
|
}
|
|
11918
11951
|
}
|
|
11919
|
-
return
|
|
11952
|
+
return Be(r);
|
|
11920
11953
|
}
|
|
11921
11954
|
function cv(t) {
|
|
11922
11955
|
const { target: e, defaultTooltipHTML: i, config: a, candleStickSeries: o, outliersSeries: n, boxPlotTooltipFormatter: s } = t;
|
|
@@ -12193,7 +12226,7 @@ function pv(t) {
|
|
|
12193
12226
|
}
|
|
12194
12227
|
function bv(t) {
|
|
12195
12228
|
const { series: e, tooltipFormatter: i } = t;
|
|
12196
|
-
|
|
12229
|
+
He(e.uid, {
|
|
12197
12230
|
boxPlotTooltipFormatter: i ?? pv(t)
|
|
12198
12231
|
});
|
|
12199
12232
|
}
|
|
@@ -12332,7 +12365,7 @@ function kv(t) {
|
|
|
12332
12365
|
format: "html"
|
|
12333
12366
|
}));
|
|
12334
12367
|
}
|
|
12335
|
-
return
|
|
12368
|
+
return Be(a);
|
|
12336
12369
|
}), t.valueLabels.template.html = L.htmlEmptyContent, Tv(t);
|
|
12337
12370
|
}
|
|
12338
12371
|
function Iv(t) {
|
|
@@ -12496,7 +12529,7 @@ function Rv(t) {
|
|
|
12496
12529
|
}
|
|
12497
12530
|
const u = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
12498
12531
|
let d;
|
|
12499
|
-
u instanceof
|
|
12532
|
+
u instanceof We ? d = f.DateAxis : u instanceof ve ? d = f.ValueAxis : d = f.CategoryAxis;
|
|
12500
12533
|
const g = a?.orderOptions?.data?.orderBy === Ln.Descending ? f.OrderByFieldsDESC : f.OrderByFieldsASC;
|
|
12501
12534
|
i = `${n}-${l}-${r}-${c}-${d}-${g}`;
|
|
12502
12535
|
}
|
|
@@ -12984,7 +13017,7 @@ function Cs(t) {
|
|
|
12984
13017
|
}
|
|
12985
13018
|
function aL(t) {
|
|
12986
13019
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], l = qe(a), [c, u] = i, d = new ue();
|
|
12987
|
-
|
|
13020
|
+
He(d.uid, { isBoxPlotOutliersSeries: !0 }), Qt(d, o), d.id = `${r.id}_${me.Outliers}`, c !== void 0 && (d.xAxis = c), u !== void 0 && (d.yAxis = u), d.simplifiedProcessing = !0, d.hiddenInLegend = !0, d.strokeOpacity = 0;
|
|
12988
13021
|
const m = ts({ chart: e, lineSeries: d });
|
|
12989
13022
|
return l || (Ei({
|
|
12990
13023
|
element: m,
|
|
@@ -13070,7 +13103,7 @@ function io(t) {
|
|
|
13070
13103
|
}
|
|
13071
13104
|
function oL(t) {
|
|
13072
13105
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], [l, c] = i, u = new ue();
|
|
13073
|
-
|
|
13106
|
+
He(u.uid, { isBoxPlotMeanLineSeries: !0 }), Qt(u, o), u.id = r.id, l !== void 0 && (u.xAxis = l), c !== void 0 && (u.yAxis = c), u.simplifiedProcessing = !0;
|
|
13074
13107
|
const d = ts({ chart: e, lineSeries: u });
|
|
13075
13108
|
return Ei({ element: d, customSelectionTheme: s }), xa(e, d), Vi(u), gv(u), io({
|
|
13076
13109
|
chartConfig: a,
|
|
@@ -13550,7 +13583,7 @@ function ao(t) {
|
|
|
13550
13583
|
pendingSelectionQueries: !1
|
|
13551
13584
|
}), kt(e) && (e instanceof se ? SL(e, a ?? !0) : e instanceof Le && yL(e)), n && Xa({
|
|
13552
13585
|
data: {
|
|
13553
|
-
selectionSource: i ??
|
|
13586
|
+
selectionSource: i ?? Pe.ClearSelection
|
|
13554
13587
|
},
|
|
13555
13588
|
htmlContainer: e.htmlContainer
|
|
13556
13589
|
});
|
|
@@ -13565,7 +13598,7 @@ function CL(t) {
|
|
|
13565
13598
|
).every((n) => _(n.uid, "isSelectionApplied") === !0);
|
|
13566
13599
|
}
|
|
13567
13600
|
function vL(t) {
|
|
13568
|
-
t.series.each((e) =>
|
|
13601
|
+
t.series.each((e) => He(e.uid, { isSelectionApplied: void 0 }));
|
|
13569
13602
|
}
|
|
13570
13603
|
function sm(t, e) {
|
|
13571
13604
|
const i = I(t.uid, "actionMode");
|
|
@@ -13850,7 +13883,7 @@ function TL(t) {
|
|
|
13850
13883
|
});
|
|
13851
13884
|
}
|
|
13852
13885
|
}
|
|
13853
|
-
if (
|
|
13886
|
+
if (He(e.uid, { isSelectionApplied: !0 }), CL({ chart: p, chartType: v, showMean: C }) && (vL(p), M || $)) {
|
|
13854
13887
|
let N = I(p.uid, "computedSelectionDataItems") ?? R;
|
|
13855
13888
|
N = Array.from(
|
|
13856
13889
|
new Set(N?.map((V) => JSON.stringify(V)))
|
|
@@ -13865,12 +13898,12 @@ function TL(t) {
|
|
|
13865
13898
|
})), N === void 0 || N.length === 0)
|
|
13866
13899
|
ao({
|
|
13867
13900
|
chart: p,
|
|
13868
|
-
selectionSource:
|
|
13901
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
13869
13902
|
});
|
|
13870
13903
|
else {
|
|
13871
13904
|
const V = {
|
|
13872
13905
|
selectionItems: N,
|
|
13873
|
-
selectionSource:
|
|
13906
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
13874
13907
|
};
|
|
13875
13908
|
g === !0 && (V.selectionIndexes = E), h !== !1 && (V.selectionOIDs = m?.selectionOIDs ?? I(p.uid, "currentSelectionOIDs")), Xa({
|
|
13876
13909
|
data: V,
|
|
@@ -14035,7 +14068,7 @@ async function wL(t) {
|
|
|
14035
14068
|
}
|
|
14036
14069
|
}
|
|
14037
14070
|
});
|
|
14038
|
-
const s = as(t, a), r = i instanceof
|
|
14071
|
+
const s = as(t, a), r = i instanceof We || i instanceof lt, l = [], c = I(a.uid, "config");
|
|
14039
14072
|
if (c) {
|
|
14040
14073
|
const u = c.series[0].x ?? "";
|
|
14041
14074
|
a.series.each((d, m) => {
|
|
@@ -14064,7 +14097,7 @@ async function wL(t) {
|
|
|
14064
14097
|
}), await Ho({
|
|
14065
14098
|
chart: a,
|
|
14066
14099
|
listSelectedElements: l,
|
|
14067
|
-
selectionSource:
|
|
14100
|
+
selectionSource: Pe.SelectionByClick
|
|
14068
14101
|
});
|
|
14069
14102
|
}
|
|
14070
14103
|
}
|
|
@@ -14078,7 +14111,7 @@ function $L(t) {
|
|
|
14078
14111
|
}
|
|
14079
14112
|
}
|
|
14080
14113
|
function Cn(t, e) {
|
|
14081
|
-
if (kt(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof
|
|
14114
|
+
if (kt(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof We))
|
|
14082
14115
|
if (e)
|
|
14083
14116
|
t.renderer.labels.template.events.disableType(B.Hit), Rs(t, Gt.default);
|
|
14084
14117
|
else {
|
|
@@ -14174,7 +14207,7 @@ function ML(t, e) {
|
|
|
14174
14207
|
if (r !== void 0) {
|
|
14175
14208
|
const c = I(r.uid, "config"), u = I(r.uid, "isRotated"), m = !Ca(t.renderer, u) ? 1 : 0, h = c?.axes?.[m]?.guides;
|
|
14176
14209
|
let y = o, p = n;
|
|
14177
|
-
if (t instanceof
|
|
14210
|
+
if (t instanceof We) {
|
|
14178
14211
|
let v = new Cd(), F;
|
|
14179
14212
|
if (r !== void 0) {
|
|
14180
14213
|
const T = I(t.chart.uid, "formatLocale");
|
|
@@ -14210,7 +14243,7 @@ function NL(t) {
|
|
|
14210
14243
|
}
|
|
14211
14244
|
function PL(t) {
|
|
14212
14245
|
let e = Ia.Value;
|
|
14213
|
-
return t instanceof
|
|
14246
|
+
return t instanceof We ? e = Ia.Date : t instanceof lt && (e = Ia.Category), e;
|
|
14214
14247
|
}
|
|
14215
14248
|
function rc(t) {
|
|
14216
14249
|
const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
|
|
@@ -14300,7 +14333,7 @@ function lm(t, e) {
|
|
|
14300
14333
|
o !== -1 && (i = o);
|
|
14301
14334
|
}
|
|
14302
14335
|
let a;
|
|
14303
|
-
return t instanceof lt ? a = new Pa() : t instanceof
|
|
14336
|
+
return t instanceof lt ? a = new Pa() : t instanceof We ? a = new Vn() : a = new lr(), t.axisRanges.insertIndex(i, a), a.label = OL(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
14304
14337
|
}
|
|
14305
14338
|
function VL(t, e) {
|
|
14306
14339
|
const i = lm(t, !0);
|
|
@@ -14483,7 +14516,7 @@ function JL(t) {
|
|
|
14483
14516
|
s.bbox.width
|
|
14484
14517
|
));
|
|
14485
14518
|
});
|
|
14486
|
-
const n = e instanceof
|
|
14519
|
+
const n = e instanceof We ? e.pixelWidth / L.maxNumberOfXAxisLabelsInWrapModeForDateAxis : e.pixelWidth / L.maxNumberOfXAxisLabelsInWrapMode;
|
|
14487
14520
|
e.renderer.minGridDistance = Math.max(o + 1, n);
|
|
14488
14521
|
}
|
|
14489
14522
|
}
|
|
@@ -14733,13 +14766,13 @@ function p0(t) {
|
|
|
14733
14766
|
}
|
|
14734
14767
|
function b0(t) {
|
|
14735
14768
|
const e = t.tooltip;
|
|
14736
|
-
e !== void 0 && !(t instanceof
|
|
14769
|
+
e !== void 0 && !(t instanceof We) && (e.label.adapter.add("html", (i, a) => {
|
|
14737
14770
|
let o = i ?? "";
|
|
14738
14771
|
return t instanceof ve ? o = Rr(t, a.properties?.text ?? i ?? "") : t instanceof lt && (o = Lf({
|
|
14739
14772
|
axis: t,
|
|
14740
14773
|
defaultOutput: i ?? "",
|
|
14741
14774
|
dataItem: e.dataItem
|
|
14742
|
-
})),
|
|
14775
|
+
})), Be(o);
|
|
14743
14776
|
}), e.label.html = L.htmlEmptyContent);
|
|
14744
14777
|
}
|
|
14745
14778
|
function Ps(t) {
|
|
@@ -14870,7 +14903,7 @@ function fo(t) {
|
|
|
14870
14903
|
if (nr({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
14871
14904
|
s = e.push(new lt());
|
|
14872
14905
|
else if (mi(o))
|
|
14873
|
-
s = e.push(new
|
|
14906
|
+
s = e.push(new We());
|
|
14874
14907
|
else if (vt(o)) {
|
|
14875
14908
|
s = e.push(new ve());
|
|
14876
14909
|
const r = I(s.chart.uid, "formatLocale");
|
|
@@ -14936,16 +14969,16 @@ function mm(t, e) {
|
|
|
14936
14969
|
}
|
|
14937
14970
|
function F0(t) {
|
|
14938
14971
|
const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t;
|
|
14939
|
-
(e instanceof
|
|
14972
|
+
(e instanceof We || e instanceof ve) && (e.logarithmic = i === !0 && mm(e, a));
|
|
14940
14973
|
}
|
|
14941
14974
|
function A0(t, e) {
|
|
14942
14975
|
const { minimum: i, maximum: a, isLogarithmic: o } = e ?? {};
|
|
14943
14976
|
let { buffer: n } = e ?? {};
|
|
14944
|
-
return n ??= L.buffer, t instanceof ve && !(t instanceof
|
|
14977
|
+
return n ??= L.buffer, t instanceof ve && !(t instanceof We) && !n && (o !== !0 || a != null || i != null);
|
|
14945
14978
|
}
|
|
14946
14979
|
function T0(t, e) {
|
|
14947
14980
|
let i = !1;
|
|
14948
|
-
return t instanceof ve && !(t instanceof
|
|
14981
|
+
return t instanceof ve && !(t instanceof We) && (i = A0(t, e), t.strictMinMax = i), i;
|
|
14949
14982
|
}
|
|
14950
14983
|
function k0(t) {
|
|
14951
14984
|
let e;
|
|
@@ -14972,7 +15005,7 @@ function I0(t) {
|
|
|
14972
15005
|
}
|
|
14973
15006
|
function gm(t) {
|
|
14974
15007
|
const { axis: e, axisConfig: i, chartType: a, isSecondValueAxis: o } = t, { minimum: n, maximum: s, isLogarithmic: r } = i ?? {};
|
|
14975
|
-
if (e instanceof ve || e instanceof
|
|
15008
|
+
if (e instanceof ve || e instanceof We)
|
|
14976
15009
|
if (T0(e, i)) {
|
|
14977
15010
|
let c = n, u = s;
|
|
14978
15011
|
if (
|
|
@@ -14994,7 +15027,7 @@ function gm(t) {
|
|
|
14994
15027
|
}
|
|
14995
15028
|
function w0(t) {
|
|
14996
15029
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a } = t;
|
|
14997
|
-
if (e instanceof
|
|
15030
|
+
if (e instanceof We) {
|
|
14998
15031
|
let { size: o, unit: n } = i ?? {};
|
|
14999
15032
|
if (n || ({ size: o, unit: n } = a ?? {}), o !== void 0 && n !== void 0) {
|
|
15000
15033
|
let s;
|
|
@@ -15299,7 +15332,7 @@ async function N0(t) {
|
|
|
15299
15332
|
F.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
15300
15333
|
const T = i.orderOptions?.data?.orderBy === Ln.Descending;
|
|
15301
15334
|
let k = n === !0;
|
|
15302
|
-
T && S instanceof
|
|
15335
|
+
T && S instanceof We && (k = !k), v.inversed = k;
|
|
15303
15336
|
}
|
|
15304
15337
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), C = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
15305
15338
|
p === Ie.Stacked100 ? (x instanceof ve && (x.calculateTotals = !0), C instanceof ve && (C.calculateTotals = !0)) : (x instanceof ve && (x.calculateTotals = !1), C instanceof ve && (C.calculateTotals = !1));
|
|
@@ -15730,7 +15763,7 @@ function aF(t) {
|
|
|
15730
15763
|
text: r
|
|
15731
15764
|
},
|
|
15732
15765
|
format: "html"
|
|
15733
|
-
}), r =
|
|
15766
|
+
}), r = Be(r);
|
|
15734
15767
|
}
|
|
15735
15768
|
return r;
|
|
15736
15769
|
}
|
|
@@ -15753,7 +15786,7 @@ function ym(t) {
|
|
|
15753
15786
|
text: r
|
|
15754
15787
|
},
|
|
15755
15788
|
format: "html"
|
|
15756
|
-
}), r =
|
|
15789
|
+
}), r = Be(r);
|
|
15757
15790
|
}
|
|
15758
15791
|
return r;
|
|
15759
15792
|
}
|
|
@@ -16173,7 +16206,7 @@ function Cm(t) {
|
|
|
16173
16206
|
colorMatch: s,
|
|
16174
16207
|
rendererType: l,
|
|
16175
16208
|
seriesSymbolMapForEvent: d
|
|
16176
|
-
}),
|
|
16209
|
+
}), He(i.uid, {
|
|
16177
16210
|
barSeriesLastUpdate: {
|
|
16178
16211
|
numberOfColumnsUpdated: i.columns.length,
|
|
16179
16212
|
updateProps: t
|
|
@@ -16259,7 +16292,7 @@ function IF(t, e) {
|
|
|
16259
16292
|
const { valueY: r, openValueX: l, valueX: c } = s;
|
|
16260
16293
|
o = n(r, l, c);
|
|
16261
16294
|
}
|
|
16262
|
-
return
|
|
16295
|
+
return Be(o);
|
|
16263
16296
|
},
|
|
16264
16297
|
0
|
|
16265
16298
|
// 0 = high priority
|
|
@@ -16332,12 +16365,12 @@ function RF(t) {
|
|
|
16332
16365
|
}
|
|
16333
16366
|
}
|
|
16334
16367
|
}
|
|
16335
|
-
return
|
|
16368
|
+
return Be(o);
|
|
16336
16369
|
});
|
|
16337
16370
|
}
|
|
16338
16371
|
function BF(t) {
|
|
16339
16372
|
const { series: e, tooltipFormatter: i } = t;
|
|
16340
|
-
|
|
16373
|
+
He(e.uid, {
|
|
16341
16374
|
histogramTooltipFormatter: i ?? OF(t)
|
|
16342
16375
|
});
|
|
16343
16376
|
}
|
|
@@ -16354,7 +16387,7 @@ const vs = {
|
|
|
16354
16387
|
};
|
|
16355
16388
|
async function _o(t) {
|
|
16356
16389
|
const { xAxis: e, yAxis: i, type: a, hideLoaderHandle: o } = t, n = new ue();
|
|
16357
|
-
return n.id = a, Qt(n, o),
|
|
16390
|
+
return n.id = a, Qt(n, o), He(n.uid, { isOverlay: !0, type: a }), n.dataFields.valueX = "x", n.dataFields.valueY = "y", e !== void 0 && (n.xAxis = e), i !== void 0 && (n.yAxis = i), n.hidden = !0, n;
|
|
16358
16391
|
}
|
|
16359
16392
|
function MF(t) {
|
|
16360
16393
|
const { lineSeries: e, valueFormat: i, overlay: a, chartData: o, utilsStrings: n } = t;
|
|
@@ -16386,7 +16419,7 @@ function MF(t) {
|
|
|
16386
16419
|
e.data = T.data;
|
|
16387
16420
|
}
|
|
16388
16421
|
let m = e.data[0]?.x;
|
|
16389
|
-
if (u === Qe.StdDev && (m = o?.stddev ?? _(e.uid, "stddev"),
|
|
16422
|
+
if (u === Qe.StdDev && (m = o?.stddev ?? _(e.uid, "stddev"), He(e.uid, { stddev: m })), m !== void 0) {
|
|
16390
16423
|
let g = u;
|
|
16391
16424
|
switch (u) {
|
|
16392
16425
|
case Qe.Mean:
|
|
@@ -16417,7 +16450,7 @@ function MF(t) {
|
|
|
16417
16450
|
}
|
|
16418
16451
|
async function NF(t, e, i) {
|
|
16419
16452
|
const a = new ue();
|
|
16420
|
-
return
|
|
16453
|
+
return He(a.uid, {
|
|
16421
16454
|
isOverlay: !0,
|
|
16422
16455
|
type: Qe.Normal
|
|
16423
16456
|
}), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", Kt(a, i.overlays.normal), a.hidden = !0, a.id = Qe.Normal, a;
|
|
@@ -16477,14 +16510,14 @@ async function VF(t) {
|
|
|
16477
16510
|
type: Qe.StdDev,
|
|
16478
16511
|
hideLoaderHandle: o
|
|
16479
16512
|
});
|
|
16480
|
-
|
|
16513
|
+
He(d.uid, { upper: !1 });
|
|
16481
16514
|
const m = await _o({
|
|
16482
16515
|
xAxis: c,
|
|
16483
16516
|
yAxis: u,
|
|
16484
16517
|
type: Qe.StdDev,
|
|
16485
16518
|
hideLoaderHandle: o
|
|
16486
16519
|
});
|
|
16487
|
-
|
|
16520
|
+
He(m.uid, { upper: !0 }), d.events.on(B.Hidden, () => {
|
|
16488
16521
|
Q(m, !1);
|
|
16489
16522
|
}), d.events.on(B.Shown, () => {
|
|
16490
16523
|
Q(m);
|
|
@@ -16660,7 +16693,7 @@ function WF(t) {
|
|
|
16660
16693
|
}
|
|
16661
16694
|
}
|
|
16662
16695
|
}
|
|
16663
|
-
return ye(o) && (o = L.htmlEmptyContent),
|
|
16696
|
+
return ye(o) && (o = L.htmlEmptyContent), Be(o);
|
|
16664
16697
|
});
|
|
16665
16698
|
}
|
|
16666
16699
|
function HF(t) {
|
|
@@ -16709,7 +16742,7 @@ function GF(t, e) {
|
|
|
16709
16742
|
}
|
|
16710
16743
|
function XF(t) {
|
|
16711
16744
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? L.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? L.pieChart.dataLabelsInside;
|
|
16712
|
-
|
|
16745
|
+
He(e.uid, {
|
|
16713
16746
|
pieChartDataLabelFormatter: a ?? GF(e, i)
|
|
16714
16747
|
}), At({
|
|
16715
16748
|
label: e.labels.template,
|
|
@@ -16791,12 +16824,12 @@ function jF(t) {
|
|
|
16791
16824
|
}
|
|
16792
16825
|
}
|
|
16793
16826
|
}
|
|
16794
|
-
return
|
|
16827
|
+
return Be(o);
|
|
16795
16828
|
});
|
|
16796
16829
|
}
|
|
16797
16830
|
function qF(t) {
|
|
16798
16831
|
const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
|
|
16799
|
-
|
|
16832
|
+
He(e.uid, {
|
|
16800
16833
|
pieChartTooltipFormatter: a ?? YF(e, i)
|
|
16801
16834
|
});
|
|
16802
16835
|
}
|
|
@@ -17056,7 +17089,7 @@ function oA(t, e) {
|
|
|
17056
17089
|
axisMin: d
|
|
17057
17090
|
}) ? "" : n(r, l, c);
|
|
17058
17091
|
}
|
|
17059
|
-
return
|
|
17092
|
+
return Be(o);
|
|
17060
17093
|
},
|
|
17061
17094
|
0
|
|
17062
17095
|
// 0 = high priority
|
|
@@ -17133,12 +17166,12 @@ function cA(t, e) {
|
|
|
17133
17166
|
}
|
|
17134
17167
|
}
|
|
17135
17168
|
}
|
|
17136
|
-
return
|
|
17169
|
+
return Be(o);
|
|
17137
17170
|
});
|
|
17138
17171
|
}
|
|
17139
17172
|
function dA(t) {
|
|
17140
17173
|
const { series: e, tooltipFormatter: i } = t;
|
|
17141
|
-
|
|
17174
|
+
He(e.uid, {
|
|
17142
17175
|
scatterplotTooltipFormatter: i ?? lA(t)
|
|
17143
17176
|
});
|
|
17144
17177
|
}
|
|
@@ -17178,7 +17211,7 @@ function mA(t) {
|
|
|
17178
17211
|
}
|
|
17179
17212
|
async function gA(t) {
|
|
17180
17213
|
const { xAxis: e, yAxis: i, x: a, y: o, name: n, hideLoaderHandle: s } = t, r = new ue();
|
|
17181
|
-
return Kt(r, n), Qt(r, s), r.ignoreMinMax = !0,
|
|
17214
|
+
return Kt(r, n), Qt(r, s), r.ignoreMinMax = !0, He(r.uid, {
|
|
17182
17215
|
isOverlay: !0,
|
|
17183
17216
|
type: Qe.Trendline
|
|
17184
17217
|
}), r.dataFields.valueX = a, r.dataFields.valueY = o, r.xAxis = e, r.yAxis = i, r.hidden = !0, r;
|
|
@@ -17207,7 +17240,7 @@ function hA(t) {
|
|
|
17207
17240
|
}
|
|
17208
17241
|
async function pA(t) {
|
|
17209
17242
|
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, selectionTheme: n, ignoreSmoothRenderingLimit: s } = t, r = L.scatterplotSeries, [l, c] = a, { x: u, y: d, overlays: m, name: g, id: h } = i, y = [], p = new ue();
|
|
17210
|
-
|
|
17243
|
+
He(p.uid, { type: b.ScatterSeries }), p.id = h, Qt(p, o), p.hiddenInLegend = !0, p.dataFields.valueX = u, p.dataFields.valueY = d, l !== void 0 && (p.xAxis = l), c !== void 0 && (p.yAxis = c);
|
|
17211
17244
|
const S = ts({ chart: e, lineSeries: p });
|
|
17212
17245
|
cA(S, p), nA(p), p.strokeOpacity = r.strokeOpacity, p.minDistance *= Math.ceil(p.data.length / 1e4), p.hidden = !0, Ei({ element: S, customSelectionTheme: n }), xa(e, S), Wf({
|
|
17213
17246
|
chart: e,
|
|
@@ -17308,7 +17341,7 @@ function SA(t) {
|
|
|
17308
17341
|
return e || i;
|
|
17309
17342
|
}
|
|
17310
17343
|
async function xA(t) {
|
|
17311
|
-
t.series.getIndex(0)?.slices.values.some((i) => SA(i)) || await Ho({ chart: t, listSelectedElements: [], selectionSource:
|
|
17344
|
+
t.series.getIndex(0)?.slices.values.some((i) => SA(i)) || await Ho({ chart: t, listSelectedElements: [], selectionSource: Pe.SelectionByClick });
|
|
17312
17345
|
}
|
|
17313
17346
|
async function gc(t) {
|
|
17314
17347
|
const { chart: e, hitSlice: i, multiSelect: a = !1 } = t, o = [], n = I(e.uid, "config"), s = e.series.getIndex(0);
|
|
@@ -17349,7 +17382,7 @@ async function gc(t) {
|
|
|
17349
17382
|
});
|
|
17350
17383
|
});
|
|
17351
17384
|
}
|
|
17352
|
-
await Ho({ chart: e, listSelectedElements: o, selectionSource:
|
|
17385
|
+
await Ho({ chart: e, listSelectedElements: o, selectionSource: Pe.SelectionByClick });
|
|
17353
17386
|
}
|
|
17354
17387
|
e.feedLegend();
|
|
17355
17388
|
}
|
|
@@ -17733,7 +17766,7 @@ function ds(t) {
|
|
|
17733
17766
|
case K.None:
|
|
17734
17767
|
ao({
|
|
17735
17768
|
chart: e,
|
|
17736
|
-
selectionSource:
|
|
17769
|
+
selectionSource: Pe.ClearSelection,
|
|
17737
17770
|
clearOnlyVisibleSeries: !1,
|
|
17738
17771
|
disposeStyleAndSelection: !1
|
|
17739
17772
|
}), xs(e);
|
|
@@ -18171,8 +18204,8 @@ async function il(t) {
|
|
|
18171
18204
|
chartId: i.id,
|
|
18172
18205
|
colorMatchApplied: Sa(i, Ue)
|
|
18173
18206
|
}), yd({ data: i.data, chartConfig: Ue, htmlContainer: i.htmlContainer })), T?.valid !== !1) {
|
|
18174
|
-
const { title: Fa, subtitle:
|
|
18175
|
-
C = gF(i), ls(C, { title: Fa, subtitle:
|
|
18207
|
+
const { title: Fa, subtitle: Me, footer: Ee, series: pe, background: nt } = Ue;
|
|
18208
|
+
C = gF(i), ls(C, { title: Fa, subtitle: Me }), v = hF(i), cs(v, Ee), F = Zv(i, pe), Lv(i);
|
|
18176
18209
|
const It = Rt({ config: Ue }), oa = U(pe);
|
|
18177
18210
|
Y(i.uid, {
|
|
18178
18211
|
config: Ue,
|
|
@@ -18369,8 +18402,8 @@ async function RA(t) {
|
|
|
18369
18402
|
if (Y(i.uid, { isNonAggregatedChart: !Pn(Jt) }), F) {
|
|
18370
18403
|
(s === !0 || Ig(T)) && Y(i.uid, { binnedServerData: void 0 });
|
|
18371
18404
|
const {
|
|
18372
|
-
count:
|
|
18373
|
-
valid:
|
|
18405
|
+
count: Me,
|
|
18406
|
+
valid: Ee,
|
|
18374
18407
|
invalidType: pe,
|
|
18375
18408
|
data: nt,
|
|
18376
18409
|
binnedServerData: It,
|
|
@@ -18386,8 +18419,8 @@ async function RA(t) {
|
|
|
18386
18419
|
errorStrings: l
|
|
18387
18420
|
});
|
|
18388
18421
|
Y(i.uid, {
|
|
18389
|
-
elementCount:
|
|
18390
|
-
initialized:
|
|
18422
|
+
elementCount: Me,
|
|
18423
|
+
initialized: Ee,
|
|
18391
18424
|
binnedServerData: It,
|
|
18392
18425
|
queryConfig: oa,
|
|
18393
18426
|
boxPlotMeanLinesData: nt?.meanLines,
|
|
@@ -18396,45 +18429,45 @@ async function RA(t) {
|
|
|
18396
18429
|
r2: nt?.r2,
|
|
18397
18430
|
trendLinePoints: nt?.trendLinePoints
|
|
18398
18431
|
}
|
|
18399
|
-
}), Fe =
|
|
18432
|
+
}), Fe = Ee, Fe ? (vn(i), H = nt, q = $i(H)) : (await da({
|
|
18400
18433
|
chart: i,
|
|
18401
18434
|
invalidType: pe,
|
|
18402
|
-
elementCount:
|
|
18435
|
+
elementCount: Me,
|
|
18403
18436
|
seriesCount: x.length,
|
|
18404
18437
|
chartConfig: e,
|
|
18405
18438
|
errorStrings: l
|
|
18406
18439
|
}), a.loaderHandle.hideLoader());
|
|
18407
18440
|
} else if (C === b.BarSeries || C === b.LineSeries || C === b.RadarSeries || C === b.ComboLineAndBarSeries || C === b.BoxPlotSeries) {
|
|
18408
|
-
const
|
|
18409
|
-
if (
|
|
18410
|
-
count:
|
|
18441
|
+
const Me = I(i.uid, "elementCount");
|
|
18442
|
+
if (Me !== void 0 && (Fe = ng({
|
|
18443
|
+
count: Me,
|
|
18411
18444
|
seriesCount: x.length,
|
|
18412
18445
|
chartType: C,
|
|
18413
18446
|
chartLimits: u
|
|
18414
18447
|
})), Fe) {
|
|
18415
|
-
const
|
|
18416
|
-
if (
|
|
18448
|
+
const Ee = bd(S, x);
|
|
18449
|
+
if (Ee.length > 0 && (bC(i.series, Ee), i.feedLegend(), ie = !0), sg(x[0])) {
|
|
18417
18450
|
const { binTemporalData: pe } = x[0], { unit: nt, size: It } = x[0].temporalBinning ?? {};
|
|
18418
18451
|
pe === !1 && nt !== void 0 && It !== void 0 && Y(i.uid, { timeIntervalInfo: { unit: nt, size: It } });
|
|
18419
18452
|
}
|
|
18420
18453
|
} else {
|
|
18421
|
-
let
|
|
18454
|
+
let Ee;
|
|
18422
18455
|
switch (C) {
|
|
18423
18456
|
case b.BarSeries:
|
|
18424
18457
|
case b.ComboLineAndBarSeries:
|
|
18425
|
-
|
|
18458
|
+
Ee = bi.BarElementExceedsLimit;
|
|
18426
18459
|
break;
|
|
18427
18460
|
case b.LineSeries:
|
|
18428
|
-
|
|
18461
|
+
Ee = bi.LineChartExceedsLimit;
|
|
18429
18462
|
break;
|
|
18430
18463
|
case b.BoxPlotSeries:
|
|
18431
|
-
|
|
18464
|
+
Ee = bi.BoxPlotExceedsLimit;
|
|
18432
18465
|
break;
|
|
18433
18466
|
}
|
|
18434
18467
|
await da({
|
|
18435
18468
|
chart: i,
|
|
18436
|
-
invalidType:
|
|
18437
|
-
elementCount:
|
|
18469
|
+
invalidType: Ee,
|
|
18470
|
+
elementCount: Me,
|
|
18438
18471
|
seriesCount: x.length,
|
|
18439
18472
|
chartConfig: e,
|
|
18440
18473
|
errorStrings: l
|
|
@@ -18454,32 +18487,32 @@ async function RA(t) {
|
|
|
18454
18487
|
chart: i,
|
|
18455
18488
|
chartData: F ? q ?? i.data : i.data,
|
|
18456
18489
|
chartConfig: e
|
|
18457
|
-
}), F || (i.validateData(), C === b.BoxPlotSeries && i.series.each((
|
|
18458
|
-
|
|
18490
|
+
}), F || (i.validateData(), C === b.BoxPlotSeries && i.series.each((Me) => {
|
|
18491
|
+
Me instanceof ue && !(Me instanceof Ct) && Me.id.includes(me.Outliers) && Me.validateData();
|
|
18459
18492
|
})));
|
|
18460
18493
|
const gi = F && H && "bins" in H ? H : void 0, Ue = H && "trendLinePoints" in H ? H : I(i.uid, "trendLineData");
|
|
18461
18494
|
H = {
|
|
18462
18495
|
dataItems: F ? q ?? i.data : i.data,
|
|
18463
18496
|
timeIntervalInfo: I(i.uid, "timeIntervalInfo"),
|
|
18464
18497
|
meanLines: I(i.uid, "boxPlotMeanLinesData"),
|
|
18465
|
-
outliers: F ? H?.outliers : i.series.values.find((
|
|
18498
|
+
outliers: F ? H?.outliers : i.series.values.find((Me) => !(Me instanceof Ct) && Me instanceof ue)?.data,
|
|
18466
18499
|
trendLinePoints: Ue?.trendLinePoints,
|
|
18467
18500
|
r2: Ue?.r2,
|
|
18468
18501
|
...gi
|
|
18469
18502
|
}, (F || j) && xi({ data: H, seriesConfig: e.series, htmlContainer: i.htmlContainer });
|
|
18470
18503
|
const La = /* @__PURE__ */ new Map();
|
|
18471
|
-
e.series.forEach((
|
|
18472
|
-
La.set(
|
|
18504
|
+
e.series.forEach((Me, Ee) => {
|
|
18505
|
+
La.set(Me.id, Ee);
|
|
18473
18506
|
});
|
|
18474
18507
|
const Fa = Qi({ chartConfig: e, queryObject: n });
|
|
18475
18508
|
if (!F || Fe) {
|
|
18476
|
-
const
|
|
18509
|
+
const Me = qe(e), Ee = Am({
|
|
18477
18510
|
chart: i,
|
|
18478
|
-
data:
|
|
18511
|
+
data: Me ? H : q,
|
|
18479
18512
|
config: e,
|
|
18480
18513
|
hideEmptySeries: o?.hideEmptySeries ?? L.options.hideEmptySeries
|
|
18481
18514
|
});
|
|
18482
|
-
if (e =
|
|
18515
|
+
if (e = Ee.updatedConfig, D = Ee.seriesFilteredOut, (F || G) && C !== b.HistogramSeries) {
|
|
18483
18516
|
const nt = qe(e), It = H && nt && "meanLines" in H ? H.meanLines : q ?? i.data, { colorMatchApplied: oa, rendererFieldNames: Aa } = await qa({
|
|
18484
18517
|
data: It,
|
|
18485
18518
|
queryObject: n,
|
|
@@ -18505,7 +18538,7 @@ async function RA(t) {
|
|
|
18505
18538
|
errorStrings: l
|
|
18506
18539
|
});
|
|
18507
18540
|
const pe = C === b.BoxPlotSeries && (wg(x, S) || $g(x, S));
|
|
18508
|
-
(i.series === void 0 || i.series.length === 0 || k || D ||
|
|
18541
|
+
(i.series === void 0 || i.series.length === 0 || k || D || Ee.seriesFilteredOut || N || (C === b.BarSeries || C === b.LineSeries || C === b.RadarSeries || C === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || C !== b.HistogramSeries && ne || M || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
18509
18542
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
18510
18543
|
pe || T.boxPlot.showMeanChanged) && (!F && ($ || pe || ne) && i.invalidateData(), await Tm({
|
|
18511
18544
|
chart: i,
|
|
@@ -19030,7 +19063,7 @@ async function vc(t) {
|
|
|
19030
19063
|
}
|
|
19031
19064
|
)), i;
|
|
19032
19065
|
}
|
|
19033
|
-
const HA = ({ message: t, heading: e, options: i }) => Zo`<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 ? Zo`<div slot=title>${e}</div>` : null}${t !== void 0 ? Zo`<div slot=message>${t}</div>` : null}</calcite-alert>`, GA = Mm`.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}`;
|
|
19066
|
+
const HA = ({ message: t, heading: e, options: i }) => Zo`<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 ? Zo`<div slot=title>${e}</div>` : null}${t !== void 0 ? Zo`<div slot=message>${t}</div>` : null}</calcite-alert>`, GA = Mm`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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}`;
|
|
19034
19067
|
class XA extends Om {
|
|
19035
19068
|
constructor() {
|
|
19036
19069
|
super(), this._messages = bl(), this.chartRef = Nm(), this.commonStrings = bl({ name: "common", blocking: !0 }), this.dataUpdateNeededProps = [
|
|
@@ -19042,7 +19075,7 @@ class XA extends Om {
|
|
|
19042
19075
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === Go(this.layer).id;
|
|
19043
19076
|
this.syncSelection && n && e.target !== this.el && !mo(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
19044
19077
|
selectionOIDs: a.selectionOIDs,
|
|
19045
|
-
selectionSource:
|
|
19078
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
19046
19079
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
19047
19080
|
}, this.configPanelNumberChange = (e) => {
|
|
19048
19081
|
const i = e, { panelNumber: a, modelList: o } = i.detail;
|
|
@@ -19211,7 +19244,7 @@ class XA extends Om {
|
|
|
19211
19244
|
const e = this.getSelectionFromLayerView();
|
|
19212
19245
|
e && (this.selectionData = {
|
|
19213
19246
|
selectionOIDs: e,
|
|
19214
|
-
selectionSource:
|
|
19247
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
19215
19248
|
});
|
|
19216
19249
|
}
|
|
19217
19250
|
this.debouncedChartUpdate = hh.promise(async () => {
|
|
@@ -19279,7 +19312,7 @@ class XA extends Om {
|
|
|
19279
19312
|
const e = this.getSelectionFromLayerView();
|
|
19280
19313
|
e && (this.selectionData = {
|
|
19281
19314
|
selectionOIDs: e,
|
|
19282
|
-
selectionSource:
|
|
19315
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
19283
19316
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model }));
|
|
19284
19317
|
}
|
|
19285
19318
|
handleDataProcessComplete(e) {
|
|
@@ -19426,7 +19459,7 @@ class XA extends Om {
|
|
|
19426
19459
|
}
|
|
19427
19460
|
setSelectionInLayerView() {
|
|
19428
19461
|
let e;
|
|
19429
|
-
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource ===
|
|
19462
|
+
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === Pe.ClearSelection, a = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
19430
19463
|
i ? e = [] : a && this.selectionData && (e = this.selectionData.selectionOIDs);
|
|
19431
19464
|
const o = this.view;
|
|
19432
19465
|
e && o !== void 0 && "selectionManager" in o && "setSelection" in o.selectionManager && o.selectionManager.setSelection(this.layer, e);
|